diff --git a/packages/dbgpt-app/src/dbgpt_app/knowledge/api.py b/packages/dbgpt-app/src/dbgpt_app/knowledge/api.py index f51b8ed82..3ccd69ad5 100644 --- a/packages/dbgpt-app/src/dbgpt_app/knowledge/api.py +++ b/packages/dbgpt-app/src/dbgpt_app/knowledge/api.py @@ -563,7 +563,7 @@ async def document_summary(request: DocumentSummaryRequest): if not chat.prompt_template.stream_out: return StreamingResponse( - no_stream_generator(chat), + no_stream_generator(chat, request.model_name), headers=headers, media_type="text/event-stream", ) diff --git a/packages/dbgpt-app/src/dbgpt_app/openapi/api_v1/api_v1.py b/packages/dbgpt-app/src/dbgpt_app/openapi/api_v1/api_v1.py index bb5ff5158..3c42b9f03 100644 --- a/packages/dbgpt-app/src/dbgpt_app/openapi/api_v1/api_v1.py +++ b/packages/dbgpt-app/src/dbgpt_app/openapi/api_v1/api_v1.py @@ -17,14 +17,14 @@ from dbgpt.configs import TAG_KEY_KNOWLEDGE_CHAT_DOMAIN_TYPE from dbgpt.core import ModelOutput from dbgpt.core.awel import BaseOperator, CommonLLMHttpRequestBody from dbgpt.core.awel.dag.dag_manager import DAGManager -from dbgpt.core.awel.util.chat_util import safe_chat_stream_with_dag_task +from dbgpt.core.awel.util.chat_util import ( + _v1_create_completion_response, + safe_chat_stream_with_dag_task, +) from dbgpt.core.interface.file import FileStorageClient from dbgpt.core.schema.api import ( - ChatCompletionResponse, - ChatCompletionResponseChoice, ChatCompletionResponseStreamChoice, ChatCompletionStreamResponse, - ChatMessage, DeltaMessage, UsageInfo, ) @@ -545,10 +545,6 @@ async def chat_completions( model=dialogue.model_name, messages=dialogue.user_input, stream=True, - # context=flow_ctx, - # temperature= - # max_new_tokens= - # enable_vis= conv_uid=dialogue.conv_uid, span_id=root_tracer.get_current_span_id(), chat_mode=dialogue.chat_mode, @@ -577,7 +573,7 @@ async def chat_completions( if not chat.prompt_template.stream_out: return StreamingResponse( - no_stream_generator(chat), + no_stream_generator(chat, dialogue.model_name, dialogue.conv_uid), headers=headers, media_type="text/event-stream", ) @@ -699,10 +695,11 @@ async def flow_stream_generator(func, incremental: bool, model_name: str): yield "data: [DONE]\n\n" -async def no_stream_generator(chat): +async def no_stream_generator(chat, model_name: str, conv_uid: Optional[str] = None): with root_tracer.start_span("no_stream_generator"): msg = await chat.nostream_call() - yield f"data: {msg}\n\n" + stream_id = conv_uid or f"chatcmpl-{str(uuid.uuid1())}" + yield _v1_create_completion_response(msg, None, model_name, stream_id) async def stream_generator( @@ -711,7 +708,7 @@ async def stream_generator( model_name: str, text_output: bool = True, openai_format: bool = False, - conv_uid: str = None, + conv_uid: Optional[str] = None, ): """Generate streaming responses @@ -766,32 +763,20 @@ async def stream_generator( ) yield f"data: {_content}\n\n" else: - choice_data = ChatCompletionResponseChoice( - index=0, - message=ChatMessage( - role="assistant", - content=output.text, - reasoning_content=output.thinking_text, - ), - ) if output.usage: usage = UsageInfo(**output.usage) else: usage = UsageInfo() - _content = ChatCompletionResponse( - id=stream_id, - choices=[choice_data], - model=model_name, - usage=usage, + _content = _v1_create_completion_response( + text, think_text, model_name, stream_id, usage ) - _content = json.dumps( - chunk.dict(exclude_unset=True), ensure_ascii=False - ) - yield f"data: {_content}\n\n" + yield _content else: msg = chunk.replace("\ufffd", "") - msg = msg.replace("\n", "\\n") - yield f"data:{msg}\n\n" + _content = _v1_create_completion_response( + msg, None, model_name, stream_id + ) + yield _content await asyncio.sleep(0.02) if incremental: yield "data: [DONE]\n\n" @@ -866,7 +851,11 @@ async def chat_with_domain_flow(dialogue: ConversationVo, domain_type: str): if text: text = text.replace("\n", "\\n") if output.error_code != 0: - yield f"data:[SERVER_ERROR]{text}\n\n" + yield _v1_create_completion_response( + f"[SERVER_ERROR]{text}", None, dialogue.model_name, dialogue.conv_uid + ) break else: - yield f"data:{text}\n\n" + yield _v1_create_completion_response( + text, None, dialogue.model_name, dialogue.conv_uid + ) diff --git a/packages/dbgpt-app/src/dbgpt_app/scene/base_chat.py b/packages/dbgpt-app/src/dbgpt_app/scene/base_chat.py index 236f68160..b8c4b0254 100644 --- a/packages/dbgpt-app/src/dbgpt_app/scene/base_chat.py +++ b/packages/dbgpt-app/src/dbgpt_app/scene/base_chat.py @@ -435,8 +435,6 @@ class BaseChat(ABC): text_msg = model_output.text if model_output.has_text else "" view_msg = self.stream_plugin_call(text_msg) view_msg = model_output.gen_text_with_thinking(new_text=view_msg) - view_msg = view_msg.replace("\n", "\\n") - if text_output: full_text = view_msg # Return the incremental text @@ -603,7 +601,7 @@ class BaseChat(ABC): view_message = parsed_output.gen_text_with_thinking( new_text=view_message ) - return ai_response_text, view_message.replace("\n", "\\n") + return ai_response_text, view_message except BaseAppException as e: raise ContextAppException(e.message, e.view, model_output) from e diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/404.html b/packages/dbgpt-app/src/dbgpt_app/static/web/404.html index 094f42a7d..5e1bd64cc 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/404.html +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/404.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/404/index.html b/packages/dbgpt-app/src/dbgpt_app/static/web/404/index.html index 094f42a7d..5e1bd64cc 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/404/index.html +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/404/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/data/AFpptyKx8zPgsLS_So3BR/construct/prompt/add.json b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/data/gv0k09BrvWkKGZ4Em_Hmf/construct/prompt/add.json similarity index 100% rename from packages/dbgpt-app/src/dbgpt_app/static/web/_next/data/AFpptyKx8zPgsLS_So3BR/construct/prompt/add.json rename to packages/dbgpt-app/src/dbgpt_app/static/web/_next/data/gv0k09BrvWkKGZ4Em_Hmf/construct/prompt/add.json diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/data/AFpptyKx8zPgsLS_So3BR/construct/prompt/edit.json b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/data/gv0k09BrvWkKGZ4Em_Hmf/construct/prompt/edit.json similarity index 100% rename from packages/dbgpt-app/src/dbgpt_app/static/web/_next/data/AFpptyKx8zPgsLS_So3BR/construct/prompt/edit.json rename to packages/dbgpt-app/src/dbgpt_app/static/web/_next/data/gv0k09BrvWkKGZ4Em_Hmf/construct/prompt/edit.json diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/2640.571431981db12d58.js b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/2640.8960666e27506a9c.js similarity index 99% rename from packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/2640.571431981db12d58.js rename to packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/2640.8960666e27506a9c.js index 96f2e247c..28aee9bb6 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/2640.571431981db12d58.js +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/2640.8960666e27506a9c.js @@ -1,4 +1,4 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2640],{34971:function(e,t){"use strict";t.Z=function(e,t,n){return en?n:e}},24960:function(e,t,n){"use strict";var r=n(44002);t.Z=function(e){return Array.isArray?Array.isArray(e):(0,r.Z)(e,"Array")}},52176:function(e,t,n){"use strict";var r=n(44002);t.Z=function(e){return(0,r.Z)(e,"Boolean")}},55265:function(e,t){"use strict";t.Z=function(e){return"function"==typeof e}},82993:function(e,t){"use strict";t.Z=function(e){return null==e}},23198:function(e,t,n){"use strict";function r(e,t,n){return void 0===n&&(n=1e-5),Math.abs(e-t)1&&(E*=w=Math.sqrt(w),v*=w);var x=E*E,I=v*v,R=(o===l?-1:1)*Math.sqrt(Math.abs((x*I-x*C*C-I*k*k)/(x*C*C+I*k*k)));g=R*E*C/v+(b+T)/2,m=-(R*v)*k/E+(y+S)/2,f=Math.asin(((y-m)/v*1e9>>0)/1e9),h=Math.asin(((S-m)/v*1e9>>0)/1e9),f=bh&&(f-=2*Math.PI),!l&&h>f&&(h-=2*Math.PI)}var N=h-f;if(Math.abs(N)>A){var L=h,D=T,P=S;_=e(T=g+E*Math.cos(h=f+A*(l&&h>f?1:-1)),S=m+v*Math.sin(h),E,v,i,0,l,D,P,[h,L,g,m])}N=h-f;var M=Math.cos(f),F=Math.cos(h),B=Math.tan(N/4),j=4/3*E*B,U=4/3*v*B,G=[b,y],H=[b+j*Math.sin(f),y-U*M],z=[T+j*Math.sin(h),S-U*F],$=[T,S];if(H[0]=2*G[0]-H[0],H[1]=2*G[1]-H[1],p)return H.concat(z,$,_);_=H.concat(z,$,_);for(var W=[],Z=0,Y=_.length;Z7){e[n].shift();for(var r=e[n],a=n;r.length;)t[n]="A",e.splice(a+=1,0,["C"].concat(r.splice(0,6)));e.splice(n,1)}}(p,f,b),g=p.length,"Z"===h&&m.push(b),l=(n=p[b]).length,d.x1=+n[l-2],d.y1=+n[l-1],d.x2=+n[l-4]||d.x1,d.y2=+n[l-3]||d.y1}return t?[p,m]:p}},19586:function(e,t,n){"use strict";n.d(t,{R:function(){return r}});var r={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0}},33554:function(e,t,n){"use strict";n.d(t,{z:function(){return r}});var r={x1:0,y1:0,x2:0,y2:0,x:0,y:0,qx:null,qy:null}},54947:function(e,t,n){"use strict";function r(e){return e.map(function(e){return Array.isArray(e)?[].concat(e):e})}n.d(t,{U:function(){return r}})},94918:function(e,t,n){"use strict";n.d(t,{A:function(){return f}});var r=n(97582),a=n(65336),i=n(33554),o=n(60310),s=n(97153),l=n(19586);function c(e){for(var t=e.pathValue[e.segmentStart],n=t.toLowerCase(),r=e.data;r.length>=l.R[n]&&("m"===n&&r.length>2?(e.segments.push([t].concat(r.splice(0,2))),n="l",t="m"===t?"l":"L"):e.segments.push([t].concat(r.splice(0,l.R[n]))),l.R[n]););}function u(e){return e>=48&&e<=57}function p(e){for(var t,n=e.pathValue,r=e.max;e.index=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].includes(t));)e.index+=1}var d=function(e){this.pathValue=e,this.segments=[],this.max=e.length,this.index=0,this.param=0,this.segmentStart=0,this.data=[],this.err=""};function f(e){if((0,a.y)(e))return[].concat(e);for(var t=function(e){if((0,o.b)(e))return[].concat(e);var t=function(e){if((0,s.n)(e))return[].concat(e);var t=new d(e);for(p(t);t.index0;s-=1){if((32|a)==97&&(3===s||4===s)?function(e){var t=e.index,n=e.pathValue,r=n.charCodeAt(t);if(48===r){e.param=0,e.index+=1;return}if(49===r){e.param=1,e.index+=1;return}e.err='[path-util]: invalid Arc flag "'+n[t]+'", expecting 0 or 1 at index '+t}(e):function(e){var t,n=e.max,r=e.pathValue,a=e.index,i=a,o=!1,s=!1,l=!1,c=!1;if(i>=n){e.err="[path-util]: Invalid path value at index "+i+', "pathValue" is missing param';return}if((43===(t=r.charCodeAt(i))||45===t)&&(i+=1,t=r.charCodeAt(i)),!u(t)&&46!==t){e.err="[path-util]: Invalid path value at index "+i+', "'+r[i]+'" is not a number';return}if(46!==t){if(o=48===t,i+=1,t=r.charCodeAt(i),o&&i=e.max||!((o=n.charCodeAt(e.index))>=48&&o<=57||43===o||45===o||46===o))break}c(e)}(t);return t.err?t.err:t.segments}(e),n=0,r=0,a=0,i=0;return t.map(function(e){var t,o=e.slice(1).map(Number),s=e[0],l=s.toUpperCase();if("M"===s)return n=o[0],r=o[1],a=n,i=r,["M",n,r];if(s!==l)switch(l){case"A":t=[l,o[0],o[1],o[2],o[3],o[4],o[5]+n,o[6]+r];break;case"V":t=[l,o[0]+r];break;case"H":t=[l,o[0]+n];break;default:t=[l].concat(o.map(function(e,t){return e+(t%2?r:n)}))}else t=[l].concat(o);var c=t.length;switch(l){case"Z":n=a,r=i;break;case"H":n=t[1];break;case"V":r=t[1];break;default:n=t[c-2],r=t[c-1],"M"===l&&(a=n,i=r)}return t})}(e),n=(0,r.pi)({},i.z),f=0;f=h[t],g[t]-=m?1:0,m?e.ss:[e.s]}).flat()});return b[0].length===b[1].length?b:e(b[0],b[1],f)}}});var r=n(50944),a=n(51777);function i(e){return e.map(function(e,t,n){var i,o,s,l,c,u,p,d,f,h,g,m,b=t&&n[t-1].slice(-2).concat(e.slice(1)),y=t?(0,a.S)(b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7],b[8],{bbox:!1}).length:0;return m=t?y?(void 0===i&&(i=.5),o=b.slice(0,2),s=b.slice(2,4),l=b.slice(4,6),c=b.slice(6,8),u=(0,r.k)(o,s,i),p=(0,r.k)(s,l,i),d=(0,r.k)(l,c,i),f=(0,r.k)(u,p,i),h=(0,r.k)(p,d,i),g=(0,r.k)(f,h,i),[["C"].concat(u,f,g),["C"].concat(h,d,c)]):[e,e]:[e],{s:e,ss:m,l:y}})}},46516:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var r=n(27872);function a(e){var t,n,a;return t=0,n=0,a=0,(0,r.Y)(e).map(function(e){if("M"===e[0])return t=e[1],n=e[2],0;var r,i,o,s=e.slice(1),l=s[0],c=s[1],u=s[2],p=s[3],d=s[4],f=s[5];return i=t,a=3*((f-(o=n))*(l+u)-(d-i)*(c+p)+c*(i-u)-l*(o-p)+f*(u+i/3)-d*(p+o/3))/20,t=(r=e.slice(-2))[0],n=r[1],a}).reduce(function(e,t){return e+t},0)>=0}},90046:function(e,t,n){"use strict";n.d(t,{r:function(){return i}});var r=n(97582),a=n(10992);function i(e,t,n){return(0,a.s)(e,t,(0,r.pi)((0,r.pi)({},n),{bbox:!1,length:!0})).point}},91952:function(e,t,n){"use strict";n.d(t,{g:function(){return a}});var r=n(58076);function a(e,t){var n,a,i=e.length-1,o=[],s=0,l=(a=(n=e.length)-1,e.map(function(t,r){return e.map(function(t,i){var o=r+i;return 0===i||e[o]&&"M"===e[o][0]?["M"].concat(e[o].slice(-2)):(o>=n&&(o-=a),e[o])})}));return l.forEach(function(n,a){e.slice(1).forEach(function(n,o){s+=(0,r.y)(e[(a+o)%i].slice(-2),t[o%i].slice(-2))}),o[a]=s,s=0}),l[o.indexOf(Math.min.apply(null,o))]}},62436:function(e,t,n){"use strict";n.d(t,{D:function(){return i}});var r=n(97582),a=n(10992);function i(e,t){return(0,a.s)(e,void 0,(0,r.pi)((0,r.pi)({},t),{bbox:!1,length:!0})).length}},60310:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var r=n(97153);function a(e){return(0,r.n)(e)&&e.every(function(e){var t=e[0];return t===t.toUpperCase()})}},65336:function(e,t,n){"use strict";n.d(t,{y:function(){return a}});var r=n(60310);function a(e){return(0,r.b)(e)&&e.every(function(e){var t=e[0];return"ACLMQZ".includes(t)})}},97153:function(e,t,n){"use strict";n.d(t,{n:function(){return a}});var r=n(19586);function a(e){return Array.isArray(e)&&e.every(function(e){var t=e[0].toLowerCase();return r.R[t]===e.length-1&&"achlmqstvz".includes(t)})}},50944:function(e,t,n){"use strict";function r(e,t,n){var r=e[0],a=e[1];return[r+(t[0]-r)*n,a+(t[1]-a)*n]}n.d(t,{k:function(){return r}})},10992:function(e,t,n){"use strict";n.d(t,{s:function(){return c}});var r=n(94918),a=n(50944),i=n(58076);function o(e,t,n,r,o){var s=(0,i.y)([e,t],[n,r]),l={x:0,y:0};if("number"==typeof o){if(o<=0)l={x:e,y:t};else if(o>=s)l={x:n,y:r};else{var c=(0,a.k)([e,t],[n,r],o/s);l={x:c[0],y:c[1]}}}return{length:s,point:l,min:{x:Math.min(e,n),y:Math.min(t,r)},max:{x:Math.max(e,n),y:Math.max(t,r)}}}function s(e,t){var n=e.x,r=e.y,a=t.x,i=t.y,o=Math.sqrt((Math.pow(n,2)+Math.pow(r,2))*(Math.pow(a,2)+Math.pow(i,2)));return(n*i-r*a<0?-1:1)*Math.acos((n*a+r*i)/o)}var l=n(51777);function c(e,t,n){for(var a,c,u,p,d,f,h,g,m,b=(0,r.A)(e),y="number"==typeof t,E=[],v=0,T=0,S=0,A=0,O=[],_=[],k=0,C={x:0,y:0},w=C,x=C,I=C,R=0,N=0,L=b.length;N1&&(b*=g(A),y*=g(A));var O=(Math.pow(b,2)*Math.pow(y,2)-Math.pow(b,2)*Math.pow(S.y,2)-Math.pow(y,2)*Math.pow(S.x,2))/(Math.pow(b,2)*Math.pow(S.y,2)+Math.pow(y,2)*Math.pow(S.x,2)),_=(i!==l?1:-1)*g(O=O<0?0:O),k={x:_*(b*S.y/y),y:_*(-(y*S.x)/b)},C={x:h(E)*k.x-f(E)*k.y+(e+c)/2,y:f(E)*k.x+h(E)*k.y+(t+u)/2},w={x:(S.x-k.x)/b,y:(S.y-k.y)/y},x=s({x:1,y:0},w),I=s(w,{x:(-S.x-k.x)/b,y:(-S.y-k.y)/y});!l&&I>0?I-=2*m:l&&I<0&&(I+=2*m);var R=x+(I%=2*m)*p,N=b*h(R),L=y*f(R);return{x:h(E)*N-f(E)*L+C.x,y:f(E)*N+h(E)*L+C.y}}(e,t,n,r,a,l,c,u,p,x/v)).x,A=h.y,m&&w.push({x:S,y:A}),y&&(O+=(0,i.y)(k,[S,A])),k=[S,A],T&&O>=d&&d>_[2]){var I=(O-d)/(O-_[2]);C={x:k[0]*(1-I)+_[0]*I,y:k[1]*(1-I)+_[1]*I}}_=[S,A,O]}return T&&d>=O&&(C={x:u,y:p}),{length:O,point:C,min:{x:Math.min.apply(null,w.map(function(e){return e.x})),y:Math.min.apply(null,w.map(function(e){return e.y}))},max:{x:Math.max.apply(null,w.map(function(e){return e.x})),y:Math.max.apply(null,w.map(function(e){return e.y}))}}}(E[0],E[1],E[2],E[3],E[4],E[5],E[6],E[7],E[8],(t||0)-R,n||{})).length,C=c.min,w=c.max,x=c.point):"C"===g?(k=(u=(0,l.S)(E[0],E[1],E[2],E[3],E[4],E[5],E[6],E[7],(t||0)-R,n||{})).length,C=u.min,w=u.max,x=u.point):"Q"===g?(k=(p=function(e,t,n,r,a,o,s,l){var c,u=l.bbox,p=void 0===u||u,d=l.length,f=void 0===d||d,h=l.sampleSize,g=void 0===h?10:h,m="number"==typeof s,b=e,y=t,E=0,v=[b,y,0],T=[b,y],S={x:0,y:0},A=[{x:b,y:y}];m&&s<=0&&(S={x:b,y:y});for(var O=0;O<=g;O+=1){if(b=(c=function(e,t,n,r,a,i,o){var s=1-o;return{x:Math.pow(s,2)*e+2*s*o*n+Math.pow(o,2)*a,y:Math.pow(s,2)*t+2*s*o*r+Math.pow(o,2)*i}}(e,t,n,r,a,o,O/g)).x,y=c.y,p&&A.push({x:b,y:y}),f&&(E+=(0,i.y)(T,[b,y])),T=[b,y],m&&E>=s&&s>v[2]){var _=(E-s)/(E-v[2]);S={x:T[0]*(1-_)+v[0]*_,y:T[1]*(1-_)+v[1]*_}}v=[b,y,E]}return m&&s>=E&&(S={x:a,y:o}),{length:E,point:S,min:{x:Math.min.apply(null,A.map(function(e){return e.x})),y:Math.min.apply(null,A.map(function(e){return e.y}))},max:{x:Math.max.apply(null,A.map(function(e){return e.x})),y:Math.max.apply(null,A.map(function(e){return e.y}))}}}(E[0],E[1],E[2],E[3],E[4],E[5],(t||0)-R,n||{})).length,C=p.min,w=p.max,x=p.point):"Z"===g&&(k=(d=o((E=[v,T,S,A])[0],E[1],E[2],E[3],(t||0)-R)).length,C=d.min,w=d.max,x=d.point),y&&R=t&&(I=x),_.push(w),O.push(C),R+=k,v=(f="Z"!==g?m.slice(-2):[S,A])[0],T=f[1];return y&&t>=R&&(I={x:v,y:T}),{length:R,point:I,min:{x:Math.min.apply(null,O.map(function(e){return e.x})),y:Math.min.apply(null,O.map(function(e){return e.y}))},max:{x:Math.max.apply(null,_.map(function(e){return e.x})),y:Math.max.apply(null,_.map(function(e){return e.y}))}}}},51777:function(e,t,n){"use strict";n.d(t,{S:function(){return a}});var r=n(58076);function a(e,t,n,a,i,o,s,l,c,u){var p,d=u.bbox,f=void 0===d||d,h=u.length,g=void 0===h||h,m=u.sampleSize,b=void 0===m?10:m,y="number"==typeof c,E=e,v=t,T=0,S=[E,v,0],A=[E,v],O={x:0,y:0},_=[{x:E,y:v}];y&&c<=0&&(O={x:E,y:v});for(var k=0;k<=b;k+=1){if(E=(p=function(e,t,n,r,a,i,o,s,l){var c=1-l;return{x:Math.pow(c,3)*e+3*Math.pow(c,2)*l*n+3*c*Math.pow(l,2)*a+Math.pow(l,3)*o,y:Math.pow(c,3)*t+3*Math.pow(c,2)*l*r+3*c*Math.pow(l,2)*i+Math.pow(l,3)*s}}(e,t,n,a,i,o,s,l,k/b)).x,v=p.y,f&&_.push({x:E,y:v}),g&&(T+=(0,r.y)(A,[E,v])),A=[E,v],y&&T>=c&&c>S[2]){var C=(T-c)/(T-S[2]);O={x:A[0]*(1-C)+S[0]*C,y:A[1]*(1-C)+S[1]*C}}S=[E,v,T]}return y&&c>=T&&(O={x:s,y:l}),{length:T,point:O,min:{x:Math.min.apply(null,_.map(function(e){return e.x})),y:Math.min.apply(null,_.map(function(e){return e.y}))},max:{x:Math.max.apply(null,_.map(function(e){return e.x})),y:Math.max.apply(null,_.map(function(e){return e.y}))}}}},4503:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function i(e,t,r,i,o){if("function"!=typeof r)throw TypeError("The listener must be a function");var s=new a(r,i||e,o),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function o(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,a=[];if(0===this._eventsCount)return a;for(r in e=this._events)t.call(e,r)&&a.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?a.concat(Object.getOwnPropertySymbols(e)):a},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var a=0,i=r.length,o=Array(i);a=n?k.text.primary:_.text.primary;return t}let x=({color:e,name:t,mainShade:n=500,lightShade:i=300,darkShade:o=700})=>{if(!(e=(0,r.Z)({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw Error((0,u.Z)(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw Error((0,u.Z)(12,t?` (${t})`:"",JSON.stringify(e.main)));return C(e,"light",i,a),C(e,"dark",o,a),e.contrastText||(e.contrastText=w(e.main)),e},I=(0,p.Z)((0,r.Z)({common:(0,r.Z)({},m),mode:t,primary:x({color:s,name:"primary"}),secondary:x({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:x({color:c,name:"error"}),warning:x({color:h,name:"warning"}),info:x({color:d,name:"info"}),success:x({color:f,name:"success"}),grey:b,contrastThreshold:n,getContrastText:w,augmentColor:x,tonalOffset:a},{dark:k,light:_}[t]),o);return I}(a),R=(0,h.Z)(e),U=(0,p.Z)(R,{mixins:(t=R.breakpoints,(0,r.Z)({toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}}},n)),palette:c,shadows:N.slice(),typography:function(e,t){let n="function"==typeof t?t(e):t,{fontFamily:a=I,fontSize:o=14,fontWeightLight:s=300,fontWeightRegular:l=400,fontWeightMedium:c=500,fontWeightBold:u=700,htmlFontSize:d=16,allVariants:f,pxToRem:h}=n,g=(0,i.Z)(n,w),m=o/14,b=h||(e=>`${e/d*m}rem`),y=(e,t,n,i,o)=>(0,r.Z)({fontFamily:a,fontWeight:e,fontSize:b(t),lineHeight:n},a===I?{letterSpacing:`${Math.round(1e5*(i/t))/1e5}em`}:{},o,f),E={h1:y(s,96,1.167,-1.5),h2:y(s,60,1.2,-.5),h3:y(l,48,1.167,0),h4:y(l,34,1.235,.25),h5:y(l,24,1.334,0),h6:y(c,20,1.6,.15),subtitle1:y(l,16,1.75,.15),subtitle2:y(c,14,1.57,.1),body1:y(l,16,1.5,.15),body2:y(l,14,1.43,.15),button:y(c,14,1.75,.4,x),caption:y(l,12,1.66,.4),overline:y(l,12,2.66,1,x),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,p.Z)((0,r.Z)({htmlFontSize:d,pxToRem:b,fontFamily:a,fontSize:o,fontWeightLight:s,fontWeightRegular:l,fontWeightMedium:c,fontWeightBold:u},E),g,{clone:!1})}(c,s),transitions:function(e){let t=(0,r.Z)({},D,e.easing),n=(0,r.Z)({},P,e.duration);return(0,r.Z)({getAutoHeightDuration:F,create:(e=["all"],r={})=>{let{duration:a=n.standard,easing:o=t.easeInOut,delay:s=0}=r;return(0,i.Z)(r,L),(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof a?a:M(a)} ${o} ${"string"==typeof s?s:M(s)}`).join(",")}},e,{easing:t,duration:n})}(o),zIndex:(0,r.Z)({},B)});return(U=[].reduce((e,t)=>(0,p.Z)(e,t),U=(0,p.Z)(U,l))).unstable_sxConfig=(0,r.Z)({},d.Z,null==l?void 0:l.unstable_sxConfig),U.unstable_sx=function(e){return(0,f.Z)({sx:e,theme:this})},U}();var G="$$material",H=n(58128);let z=(0,H.ZP)({themeId:G,defaultTheme:U,rootShouldForwardProp:e=>"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e&&"classes"!==e});var $=n(1977),W=n(8027);function Z(e){return(0,W.ZP)("MuiSvgIcon",e)}(0,$.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var Y=n(85893);let V=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],q=e=>{let{color:t,fontSize:n,classes:r}=e,a={root:["root","inherit"!==t&&`color${l(t)}`,`fontSize${l(n)}`]};return(0,s.Z)(a,Z,r)},K=z("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${l(n.color)}`],t[`fontSize${l(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,a,i,o,s,l,c,u,p,d,f,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(a=e.transitions)||null==(a=a.duration)?void 0:a.shorter}),fontSize:({inherit:"inherit",small:(null==(i=e.typography)||null==(o=i.pxToRem)?void 0:o.call(i,20))||"1.25rem",medium:(null==(s=e.typography)||null==(l=s.pxToRem)?void 0:l.call(s,24))||"1.5rem",large:(null==(c=e.typography)||null==(u=c.pxToRem)?void 0:u.call(c,35))||"2.1875rem"})[t.fontSize],color:null!=(p=null==(d=(e.vars||e).palette)||null==(d=d[t.color])?void 0:d.main)?p:({action:null==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.active,disabled:null==(h=(e.vars||e).palette)||null==(h=h.action)?void 0:h.disabled,inherit:void 0})[t.color]}}),X=a.forwardRef(function(e,t){let n=function({props:e,name:t}){return(0,c.Z)({props:e,name:t,defaultTheme:U,themeId:G})}({props:e,name:"MuiSvgIcon"}),{children:s,className:l,color:u="inherit",component:p="svg",fontSize:d="medium",htmlColor:f,inheritViewBox:h=!1,titleAccess:g,viewBox:m="0 0 24 24"}=n,b=(0,i.Z)(n,V),y=a.isValidElement(s)&&"svg"===s.type,E=(0,r.Z)({},n,{color:u,component:p,fontSize:d,instanceFontSize:e.fontSize,inheritViewBox:h,viewBox:m,hasSvgAsChild:y}),v={};h||(v.viewBox=m);let T=q(E);return(0,Y.jsxs)(K,(0,r.Z)({as:p,className:(0,o.Z)(T.root,l),focusable:"false",color:f,"aria-hidden":!g||void 0,role:g?"img":void 0,ref:t},v,b,y&&s.props,{ownerState:E,children:[y?s.props.children:s,g?(0,Y.jsx)("title",{children:g}):null]}))});function Q(e,t){function n(n,a){return(0,Y.jsx)(X,(0,r.Z)({"data-testid":`${t}Icon`,ref:a},n,{children:e}))}return n.muiName=X.muiName,a.memo(a.forwardRef(n))}X.muiName="SvgIcon"},2101:function(e,t,n){"use strict";var r=n(64836);t._j=function(e,t){if(e=s(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return l(e)},t.mi=function(e,t){let n=c(e),r=c(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)},t.$n=function(e,t){if(e=s(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return l(e)};var a=r(n(743)),i=r(n(49425));function o(e,t=0,n=1){return(0,i.default)(e,t,n)}function s(e){let t;if(e.type)return e;if("#"===e.charAt(0))return s(function(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map(e=>e+e)),n?`rgb${4===n.length?"a":""}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));let n=e.indexOf("("),r=e.substring(0,n);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw Error((0,a.default)(9,e));let i=e.substring(n+1,e.length-1);if("color"===r){if(t=(i=i.split(" ")).shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(t))throw Error((0,a.default)(10,t))}else i=i.split(",");return{type:r,values:i=i.map(e=>parseFloat(e)),colorSpace:t}}function l(e){let{type:t,colorSpace:n}=e,{values:r}=e;return -1!==t.indexOf("rgb")?r=r.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),`${t}(${r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`})`}function c(e){let t="hsl"===(e=s(e)).type||"hsla"===e.type?s(function(e){e=s(e);let{values:t}=e,n=t[0],r=t[1]/100,a=t[2]/100,i=r*Math.min(a,1-a),o=(e,t=(e+n/30)%12)=>a-i*Math.max(Math.min(t-3,9-t,1),-1),c="rgb",u=[Math.round(255*o(0)),Math.round(255*o(8)),Math.round(255*o(4))];return"hsla"===e.type&&(c+="a",u.push(t[3])),l({type:c,values:u})}(e)).values:e.values;return Number((.2126*(t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)))[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}},58128:function(e,t,n){"use strict";var r=n(64836);t.ZP=function(e={}){let{themeId:t,defaultTheme:n=g,rootShouldForwardProp:r=h,slotShouldForwardProp:l=h}=e,u=e=>(0,c.default)((0,a.default)({},e,{theme:b((0,a.default)({},e,{defaultTheme:n,themeId:t}))}));return u.__mui_systemSx=!0,(e,c={})=>{var p;let f;(0,o.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));let{name:g,slot:E,skipVariantsResolver:v,skipSx:T,overridesResolver:S=(p=m(E))?(e,t)=>t[p]:null}=c,A=(0,i.default)(c,d),O=void 0!==v?v:E&&"Root"!==E&&"root"!==E||!1,_=T||!1,k=h;"Root"===E||"root"===E?k=r:E?k=l:"string"==typeof e&&e.charCodeAt(0)>96&&(k=void 0);let C=(0,o.default)(e,(0,a.default)({shouldForwardProp:k,label:f},A)),w=e=>"function"==typeof e&&e.__emotion_real!==e||(0,s.isPlainObject)(e)?r=>y(e,(0,a.default)({},r,{theme:b({theme:r.theme,defaultTheme:n,themeId:t})})):e,x=(r,...i)=>{let o=w(r),s=i?i.map(w):[];g&&S&&s.push(e=>{let r=b((0,a.default)({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[g]||!r.components[g].styleOverrides)return null;let i=r.components[g].styleOverrides,o={};return Object.entries(i).forEach(([t,n])=>{o[t]=y(n,(0,a.default)({},e,{theme:r}))}),S(e,o)}),g&&!O&&s.push(e=>{var r;let i=b((0,a.default)({},e,{defaultTheme:n,themeId:t})),o=null==i||null==(r=i.components)||null==(r=r[g])?void 0:r.variants;return y({variants:o},(0,a.default)({},e,{theme:i}))}),_||s.push(u);let l=s.length-i.length;if(Array.isArray(r)&&l>0){let e=Array(l).fill("");(o=[...r,...e]).raw=[...r.raw,...e]}let c=C(o,...s);return e.muiName&&(c.muiName=e.muiName),c};return C.withConfig&&(x.withConfig=C.withConfig),x}};var a=r(n(10434)),i=r(n(7071)),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(23534)),s=n(211);r(n(99698)),r(n(37889));var l=r(n(19926)),c=r(n(386));let u=["ownerState"],p=["variants"],d=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function h(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}let g=(0,l.default)(),m=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function b({defaultTheme:e,theme:t,themeId:n}){return 0===Object.keys(t).length?e:t[n]||t}function y(e,t){let{ownerState:n}=t,r=(0,i.default)(t,u),o="function"==typeof e?e((0,a.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(e=>y(e,(0,a.default)({ownerState:n},r)));if(o&&"object"==typeof o&&Array.isArray(o.variants)){let{variants:e=[]}=o,t=(0,i.default)(o,p),s=t;return e.forEach(e=>{let t=!0;"function"==typeof e.props?t=e.props((0,a.default)({ownerState:n},r,n)):Object.keys(e.props).forEach(a=>{(null==n?void 0:n[a])!==e.props[a]&&r[a]!==e.props[a]&&(t=!1)}),t&&(Array.isArray(s)||(s=[s]),s.push("function"==typeof e.style?e.style((0,a.default)({ownerState:n},r,n)):e.style))}),s}return o}},19926:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},private_createBreakpoints:function(){return a.Z},unstable_applyStyles:function(){return i.Z}});var r=n(88647),a=n(41512),i=n(57064)},386:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},extendSxProp:function(){return a.Z},unstable_createStyleFunctionSx:function(){return r.n},unstable_defaultSxConfig:function(){return i.Z}});var r=n(86523),a=n(39707),i=n(44920)},99698:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(62908)},49425:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r}});var r=function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}},211:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},isPlainObject:function(){return r.P}});var r=n(68027)},743:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(78758)},37889:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return l},getFunctionName:function(){return i}});var r=n(59864);let a=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function i(e){let t=`${e}`.match(a),n=t&&t[1];return n||""}function o(e,t=""){return e.displayName||e.name||i(e)||t}function s(e,t,n){let r=o(t);return e.displayName||(""!==r?`${n}(${r})`:n)}function l(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return o(e,"Component");if("object"==typeof e)switch(e.$$typeof){case r.ForwardRef:return s(e,e.render,"ForwardRef");case r.Memo:return s(e,e.type,"memo")}}}},57020:function(e,t,n){"use strict";n.d(t,{Z:function(){return eT}});var r=n(67294),a=n(99611),i=n(93967),o=n.n(i),s=n(87462),l=n(1413),c=n(4942),u=n(97685),p=n(71002),d=n(45987),f=n(27678),h=n(21770),g=n(40974),m=n(64019),b=n(15105),y=n(2788),E=n(29372),v=r.createContext(null),T=function(e){var t=e.visible,n=e.maskTransitionName,a=e.getContainer,i=e.prefixCls,s=e.rootClassName,u=e.icons,p=e.countRender,d=e.showSwitch,f=e.showProgress,h=e.current,g=e.transform,m=e.count,T=e.scale,S=e.minScale,A=e.maxScale,O=e.closeIcon,_=e.onSwitchLeft,k=e.onSwitchRight,C=e.onClose,w=e.onZoomIn,x=e.onZoomOut,I=e.onRotateRight,R=e.onRotateLeft,N=e.onFlipX,L=e.onFlipY,D=e.onReset,P=e.toolbarRender,M=e.zIndex,F=e.image,B=(0,r.useContext)(v),j=u.rotateLeft,U=u.rotateRight,G=u.zoomIn,H=u.zoomOut,z=u.close,$=u.left,W=u.right,Z=u.flipX,Y=u.flipY,V="".concat(i,"-operations-operation");r.useEffect(function(){var e=function(e){e.keyCode===b.Z.ESC&&C()};return t&&window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}},[t]);var q=[{icon:Y,onClick:L,type:"flipY"},{icon:Z,onClick:N,type:"flipX"},{icon:j,onClick:R,type:"rotateLeft"},{icon:U,onClick:I,type:"rotateRight"},{icon:H,onClick:x,type:"zoomOut",disabled:T<=S},{icon:G,onClick:w,type:"zoomIn",disabled:T===A}].map(function(e){var t,n=e.icon,a=e.onClick,s=e.type,l=e.disabled;return r.createElement("div",{className:o()(V,(t={},(0,c.Z)(t,"".concat(i,"-operations-operation-").concat(s),!0),(0,c.Z)(t,"".concat(i,"-operations-operation-disabled"),!!l),t)),onClick:a,key:s},n)}),K=r.createElement("div",{className:"".concat(i,"-operations")},q);return r.createElement(E.ZP,{visible:t,motionName:n},function(e){var t=e.className,n=e.style;return r.createElement(y.Z,{open:!0,getContainer:null!=a?a:document.body},r.createElement("div",{className:o()("".concat(i,"-operations-wrapper"),t,s),style:(0,l.Z)((0,l.Z)({},n),{},{zIndex:M})},null===O?null:r.createElement("button",{className:"".concat(i,"-close"),onClick:C},O||z),d&&r.createElement(r.Fragment,null,r.createElement("div",{className:o()("".concat(i,"-switch-left"),(0,c.Z)({},"".concat(i,"-switch-left-disabled"),0===h)),onClick:_},$),r.createElement("div",{className:o()("".concat(i,"-switch-right"),(0,c.Z)({},"".concat(i,"-switch-right-disabled"),h===m-1)),onClick:k},W)),r.createElement("div",{className:"".concat(i,"-footer")},f&&r.createElement("div",{className:"".concat(i,"-progress")},p?p(h+1,m):"".concat(h+1," / ").concat(m)),P?P(K,(0,l.Z)((0,l.Z)({icons:{flipYIcon:q[0],flipXIcon:q[1],rotateLeftIcon:q[2],rotateRightIcon:q[3],zoomOutIcon:q[4],zoomInIcon:q[5]},actions:{onFlipY:L,onFlipX:N,onRotateLeft:R,onRotateRight:I,onZoomOut:x,onZoomIn:w,onReset:D,onClose:C},transform:g},B?{current:h,total:m}:{}),{},{image:F})):K)))})},S=n(91881),A=n(75164),O={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1},_=n(80334);function k(e,t,n,r){var a=t+n,i=(n-r)/2;if(n>r){if(t>0)return(0,c.Z)({},e,i);if(t<0&&ar)return(0,c.Z)({},e,t<0?i:-i);return{}}function C(e,t,n,r){var a=(0,f.g1)(),i=a.width,o=a.height,s=null;return e<=i&&t<=o?s={x:0,y:0}:(e>i||t>o)&&(s=(0,l.Z)((0,l.Z)({},k("x",n,e,i)),k("y",r,t,o))),s}function w(e){var t=e.src,n=e.isCustomPlaceholder,a=e.fallback,i=(0,r.useState)(n?"loading":"normal"),o=(0,u.Z)(i,2),s=o[0],l=o[1],c=(0,r.useRef)(!1),p="error"===s;(0,r.useEffect)(function(){var e=!0;return new Promise(function(e){var n=document.createElement("img");n.onerror=function(){return e(!1)},n.onload=function(){return e(!0)},n.src=t}).then(function(t){!t&&e&&l("error")}),function(){e=!1}},[t]),(0,r.useEffect)(function(){n&&!c.current?l("loading"):p&&l("normal")},[t]);var d=function(){l("normal")};return[function(e){c.current=!1,"loading"===s&&null!=e&&e.complete&&(e.naturalWidth||e.naturalHeight)&&(c.current=!0,d())},p&&a?{src:a}:{onLoad:d,src:t},s]}function x(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}var I=["fallback","src","imgRef"],R=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],N=function(e){var t=e.fallback,n=e.src,a=e.imgRef,i=(0,d.Z)(e,I),o=w({src:n,fallback:t}),l=(0,u.Z)(o,2),c=l[0],p=l[1];return r.createElement("img",(0,s.Z)({ref:function(e){a.current=e,c(e)}},i,p))},L=function(e){var t,n,a,i,p,h,y,E,k,w,I,L,D,P,M,F,B,j,U,G,H,z,$,W,Z,Y,V,q,K=e.prefixCls,X=e.src,Q=e.alt,J=e.imageInfo,ee=e.fallback,et=e.movable,en=void 0===et||et,er=e.onClose,ea=e.visible,ei=e.icons,eo=e.rootClassName,es=e.closeIcon,el=e.getContainer,ec=e.current,eu=void 0===ec?0:ec,ep=e.count,ed=void 0===ep?1:ep,ef=e.countRender,eh=e.scaleStep,eg=void 0===eh?.5:eh,em=e.minScale,eb=void 0===em?1:em,ey=e.maxScale,eE=void 0===ey?50:ey,ev=e.transitionName,eT=e.maskTransitionName,eS=void 0===eT?"fade":eT,eA=e.imageRender,eO=e.imgCommonProps,e_=e.toolbarRender,ek=e.onTransform,eC=e.onChange,ew=(0,d.Z)(e,R),ex=(0,r.useRef)(),eI=(0,r.useContext)(v),eR=eI&&ed>1,eN=eI&&ed>=1,eL=(0,r.useState)(!0),eD=(0,u.Z)(eL,2),eP=eD[0],eM=eD[1],eF=(t=(0,r.useRef)(null),n=(0,r.useRef)([]),a=(0,r.useState)(O),p=(i=(0,u.Z)(a,2))[0],h=i[1],y=function(e,r){null===t.current&&(n.current=[],t.current=(0,A.Z)(function(){h(function(e){var a=e;return n.current.forEach(function(e){a=(0,l.Z)((0,l.Z)({},a),e)}),t.current=null,null==ek||ek({transform:a,action:r}),a})})),n.current.push((0,l.Z)((0,l.Z)({},p),e))},{transform:p,resetTransform:function(e){h(O),(0,S.Z)(O,p)||null==ek||ek({transform:O,action:e})},updateTransform:y,dispatchZoomChange:function(e,t,n,r,a){var i=ex.current,o=i.width,s=i.height,l=i.offsetWidth,c=i.offsetHeight,u=i.offsetLeft,d=i.offsetTop,h=e,g=p.scale*e;g>eE?(g=eE,h=eE/p.scale):g0&&(t=1/t),eG(t,"wheel",e.clientX,e.clientY)}}}),ez=eH.isMoving,e$=eH.onMouseDown,eW=eH.onWheel,eZ=(U=eB.rotate,G=eB.scale,H=eB.x,z=eB.y,$=(0,r.useState)(!1),Z=(W=(0,u.Z)($,2))[0],Y=W[1],V=(0,r.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),q=function(e){V.current=(0,l.Z)((0,l.Z)({},V.current),e)},(0,r.useEffect)(function(){var e;return ea&&en&&(e=(0,m.Z)(window,"touchmove",function(e){return e.preventDefault()},{passive:!1})),function(){var t;null===(t=e)||void 0===t||t.remove()}},[ea,en]),{isTouching:Z,onTouchStart:function(e){if(en){e.stopPropagation(),Y(!0);var t=e.touches,n=void 0===t?[]:t;n.length>1?q({point1:{x:n[0].clientX,y:n[0].clientY},point2:{x:n[1].clientX,y:n[1].clientY},eventType:"touchZoom"}):q({point1:{x:n[0].clientX-H,y:n[0].clientY-z},eventType:"move"})}},onTouchMove:function(e){var t=e.touches,n=void 0===t?[]:t,r=V.current,a=r.point1,i=r.point2,o=r.eventType;if(n.length>1&&"touchZoom"===o){var s={x:n[0].clientX,y:n[0].clientY},l={x:n[1].clientX,y:n[1].clientY},c=function(e,t,n,r){var a=x(e,n),i=x(t,r);if(0===a&&0===i)return[e.x,e.y];var o=a/(a+i);return[e.x+o*(t.x-e.x),e.y+o*(t.y-e.y)]}(a,i,s,l),p=(0,u.Z)(c,2),d=p[0],f=p[1];eG(x(s,l)/x(a,i),"touchZoom",d,f,!0),q({point1:s,point2:l,eventType:"touchZoom"})}else"move"===o&&(eU({x:n[0].clientX-a.x,y:n[0].clientY-a.y},"move"),q({eventType:"move"}))},onTouchEnd:function(){if(ea){if(Z&&Y(!1),q({eventType:"none"}),eb>G)return eU({x:0,y:0,scale:eb},"touchZoom");var e=ex.current.offsetWidth*G,t=ex.current.offsetHeight*G,n=ex.current.getBoundingClientRect(),r=n.left,a=n.top,i=U%180!=0,o=C(i?t:e,i?e:t,r,a);o&&eU((0,l.Z)({},o),"dragRebound")}}}),eY=eZ.isTouching,eV=eZ.onTouchStart,eq=eZ.onTouchMove,eK=eZ.onTouchEnd,eX=eB.rotate,eQ=eB.scale,eJ=o()((0,c.Z)({},"".concat(K,"-moving"),ez));(0,r.useEffect)(function(){eP||eM(!0)},[eP]);var e0=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu>0&&(eM(!1),ej("prev"),null==eC||eC(eu-1,eu))},e1=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu({position:e||"absolute",inset:0}),eu=e=>{let{iconCls:t,motionDurationSlow:n,paddingXXS:r,marginXXS:a,prefixCls:i,colorTextLightSolid:o}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:o,background:new en.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${i}-mask-info`]:Object.assign(Object.assign({},ea.vS),{padding:`0 ${(0,et.bf)(r)}`,[t]:{marginInlineEnd:a,svg:{verticalAlign:"baseline"}}})}},ep=e=>{let{previewCls:t,modalMaskBg:n,paddingSM:r,marginXL:a,margin:i,paddingLG:o,previewOperationColorDisabled:s,previewOperationHoverColor:l,motionDurationSlow:c,iconCls:u,colorTextLightSolid:p}=e,d=new en.C(n).setAlpha(.1),f=d.clone().setAlpha(.2);return{[`${t}-footer`]:{position:"fixed",bottom:a,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor,transform:"translateX(-50%)"},[`${t}-progress`]:{marginBottom:i},[`${t}-close`]:{position:"fixed",top:a,right:{_skip_check_:!0,value:a},display:"flex",color:p,backgroundColor:d.toRgbString(),borderRadius:"50%",padding:r,outline:0,border:0,cursor:"pointer",transition:`all ${c}`,"&:hover":{backgroundColor:f.toRgbString()},[`& > ${u}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,et.bf)(o)}`,backgroundColor:d.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:r,padding:r,cursor:"pointer",transition:`all ${c}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${u}`]:{color:l},"&-disabled":{color:s,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${u}`]:{fontSize:e.previewOperationSize}}}}},ed=e=>{let{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:r,previewCls:a,zIndexPopup:i,motionDurationSlow:o}=e,s=new en.C(t).setAlpha(.1),l=s.clone().setAlpha(.2);return{[`${a}-switch-left, ${a}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(i).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:s.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${o}`,userSelect:"none","&:hover":{background:l.toRgbString()},"&-disabled":{"&, &:hover":{color:r,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${a}-switch-left`]:{insetInlineStart:e.marginSM},[`${a}-switch-right`]:{insetInlineEnd:e.marginSM}}},ef=e=>{let{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:a}=e;return[{[`${a}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:Object.assign(Object.assign({},ec()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${r} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},ec()),{transition:`transform ${r} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${a}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${a}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal()},"&":[ep(e),ed(e)]}]},eh=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},eu(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},ec())}}},eg=e=>{let{previewCls:t}=e;return{[`${t}-root`]:(0,ei._y)(e,"zoom"),"&":(0,eo.J$)(e,!0)}};var em=(0,es.I$)("Image",e=>{let t=`${e.componentCls}-preview`,n=(0,el.IX)(e,{previewCls:t,modalMaskBg:new en.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[eh(n),ef(n),(0,er.QA)((0,el.IX)(n,{componentCls:t})),eg(n)]},e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new en.C(e.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new en.C(e.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new en.C(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:1.5*e.fontSizeIcon})),eb=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ey={rotateLeft:r.createElement(K.Z,null),rotateRight:r.createElement(X.Z,null),zoomIn:r.createElement(J.Z,null),zoomOut:r.createElement(ee.Z,null),close:r.createElement(Y.Z,null),left:r.createElement(V.Z,null),right:r.createElement(q.Z,null),flipX:r.createElement(Q.Z,null),flipY:r.createElement(Q.Z,{rotate:90})};var eE=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ev=e=>{var t;let{prefixCls:n,preview:i,className:s,rootClassName:l,style:c}=e,u=eE(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:p,locale:d=Z.Z,getPopupContainer:f,image:h}=r.useContext($.E_),g=p("image",n),m=p(),b=d.Image||Z.Z.Image,y=(0,W.Z)(g),[E,v,T]=em(g,y),S=o()(l,v,T,y),A=o()(s,v,null==h?void 0:h.className),[O]=(0,H.Cn)("ImagePreview","object"==typeof i?i.zIndex:void 0),_=r.useMemo(()=>{var e;if(!1===i)return i;let t="object"==typeof i?i:{},{getContainer:n,closeIcon:o}=t,s=eE(t,["getContainer","closeIcon"]);return Object.assign(Object.assign({mask:r.createElement("div",{className:`${g}-mask-info`},r.createElement(a.Z,null),null==b?void 0:b.preview),icons:ey},s),{getContainer:null!=n?n:f,transitionName:(0,z.m)(m,"zoom",t.transitionName),maskTransitionName:(0,z.m)(m,"fade",t.maskTransitionName),zIndex:O,closeIcon:null!=o?o:null===(e=null==h?void 0:h.preview)||void 0===e?void 0:e.closeIcon})},[i,b,null===(t=null==h?void 0:h.preview)||void 0===t?void 0:t.closeIcon]),k=Object.assign(Object.assign({},null==h?void 0:h.style),c);return E(r.createElement(G,Object.assign({prefixCls:g,preview:_,rootClassName:S,className:A,style:k},u)))};ev.PreviewGroup=e=>{var{previewPrefixCls:t,preview:n}=e,a=eb(e,["previewPrefixCls","preview"]);let{getPrefixCls:i}=r.useContext($.E_),s=i("image",t),l=`${s}-preview`,c=i(),u=(0,W.Z)(s),[p,d,f]=em(s,u),[h]=(0,H.Cn)("ImagePreview","object"==typeof n?n.zIndex:void 0),g=r.useMemo(()=>{var e;if(!1===n)return n;let t="object"==typeof n?n:{},r=o()(d,f,u,null!==(e=t.rootClassName)&&void 0!==e?e:"");return Object.assign(Object.assign({},t),{transitionName:(0,z.m)(c,"zoom",t.transitionName),maskTransitionName:(0,z.m)(c,"fade",t.maskTransitionName),rootClassName:r,zIndex:h})},[n]);return p(r.createElement(G.PreviewGroup,Object.assign({preview:g,previewPrefixCls:l,icons:ey},a)))};var eT=ev},62502:function(e,t,n){"use strict";var r=n(15575),a=n(64977),i=n(72869),o=n(32473).Q,s=n(24395).Q;e.exports=function(e,t,n){var a=n?function(e){for(var t,n=e.length,r=-1,a={};++r4&&h.slice(0,4)===o&&s.test(t)&&("-"===t.charAt(4)?g=o+(n=t.slice(5).replace(l,p)).charAt(0).toUpperCase()+n.slice(1):(f=(d=t).slice(4),t=l.test(f)?d:("-"!==(f=f.replace(c,u)).charAt(0)&&(f="-"+f),o+f)),m=a),new m(g,t))};var s=/^data[-\w.:]+$/i,l=/-[a-z]/g,c=/[A-Z]/g;function u(e){return"-"+e.toLowerCase()}function p(e){return e.charAt(1).toUpperCase()}},48055:function(e,t,n){"use strict";var r=n(26230),a=n(13970),i=n(10629),o=n(647),s=n(91305),l=n(22537);e.exports=r([i,a,o,s,l])},91305:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=r.booleanish,o=r.number,s=r.spaceSeparated;e.exports=a({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:i,ariaAutoComplete:null,ariaBusy:i,ariaChecked:i,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:s,ariaCurrent:null,ariaDescribedBy:s,ariaDetails:null,ariaDisabled:i,ariaDropEffect:s,ariaErrorMessage:null,ariaExpanded:i,ariaFlowTo:s,ariaGrabbed:i,ariaHasPopup:null,ariaHidden:i,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s,ariaLevel:o,ariaLive:null,ariaModal:i,ariaMultiLine:i,ariaMultiSelectable:i,ariaOrientation:null,ariaOwns:s,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:i,ariaReadOnly:i,ariaRelevant:null,ariaRequired:i,ariaRoleDescription:s,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:i,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}})},22537:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=n(19348),o=r.boolean,s=r.overloadedBoolean,l=r.booleanish,c=r.number,u=r.spaceSeparated,p=r.commaSeparated;e.exports=a({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:i,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:p,acceptCharset:u,accessKey:u,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:u,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:u,cols:c,colSpan:null,content:null,contentEditable:l,controls:o,controlsList:u,coords:c|p,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:s,draggable:l,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:u,height:c,hidden:o,high:c,href:null,hrefLang:null,htmlFor:u,httpEquiv:u,id:null,imageSizes:null,imageSrcSet:p,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:u,itemRef:u,itemScope:o,itemType:u,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:u,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:u,required:o,reversed:o,rows:c,rowSpan:c,sandbox:u,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:c,sizes:null,slot:null,span:c,spellCheck:l,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:l,width:c,wrap:null,align:null,aLink:null,archive:u,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:l,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}})},19348:function(e,t,n){"use strict";var r=n(21098);e.exports=function(e,t){return r(e,t.toLowerCase())}},21098:function(e){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},47589:function(e,t,n){"use strict";var r=n(64977),a=n(16038),i=n(78444);e.exports=function(e){var t,n,o=e.space,s=e.mustUseProperty||[],l=e.attributes||{},c=e.properties,u=e.transform,p={},d={};for(t in c)n=new i(t,u(l,t),c[t],o),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),p[t]=n,d[r(t)]=t,d[r(n.attribute)]=t;return new a(p,d,o)}},78444:function(e,t,n){"use strict";var r=n(40313),a=n(61422);e.exports=s,s.prototype=new r,s.prototype.defined=!0;var i=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=i.length;function s(e,t,n,s){var l,c,u,p=-1;for(s&&(this.space=s),r.call(this,e,t);++p=97&&t<=122||t>=65&&t<=90}},7961:function(e,t,n){"use strict";var r=n(46260),a=n(46195);e.exports=function(e){return r(e)||a(e)}},46195:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},79480:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}},85813:function(e,t,n){"use strict";n.d(t,{r:function(){return _6}});var r,a,i,o,s,l,c,u,p,d,f,h,g,m,b,y,E,v,T,S,A,O,_,k,C,w,x,I,R,N,L,D,P,M,F,B,j,U,G,H,z,$,W,Z,Y,V,q,K,X,Q,J,ee,et,en,er,ea={};n.r(ea),n.d(ea,{area:function(){return cf},bottom:function(){return cT},bottomLeft:function(){return cT},bottomRight:function(){return cT},inside:function(){return cT},left:function(){return cT},outside:function(){return c_},right:function(){return cT},spider:function(){return cR},surround:function(){return cL},top:function(){return cT},topLeft:function(){return cT},topRight:function(){return cT}});var ei={};n.r(ei),n.d(ei,{interpolateBlues:function(){return uD.interpolateBlues},interpolateBrBG:function(){return uD.interpolateBrBG},interpolateBuGn:function(){return uD.interpolateBuGn},interpolateBuPu:function(){return uD.interpolateBuPu},interpolateCividis:function(){return uD.interpolateCividis},interpolateCool:function(){return uD.interpolateCool},interpolateCubehelixDefault:function(){return uD.interpolateCubehelixDefault},interpolateGnBu:function(){return uD.interpolateGnBu},interpolateGreens:function(){return uD.interpolateGreens},interpolateGreys:function(){return uD.interpolateGreys},interpolateInferno:function(){return uD.interpolateInferno},interpolateMagma:function(){return uD.interpolateMagma},interpolateOrRd:function(){return uD.interpolateOrRd},interpolateOranges:function(){return uD.interpolateOranges},interpolatePRGn:function(){return uD.interpolatePRGn},interpolatePiYG:function(){return uD.interpolatePiYG},interpolatePlasma:function(){return uD.interpolatePlasma},interpolatePuBu:function(){return uD.interpolatePuBu},interpolatePuBuGn:function(){return uD.interpolatePuBuGn},interpolatePuOr:function(){return uD.interpolatePuOr},interpolatePuRd:function(){return uD.interpolatePuRd},interpolatePurples:function(){return uD.interpolatePurples},interpolateRainbow:function(){return uD.interpolateRainbow},interpolateRdBu:function(){return uD.interpolateRdBu},interpolateRdGy:function(){return uD.interpolateRdGy},interpolateRdPu:function(){return uD.interpolateRdPu},interpolateRdYlBu:function(){return uD.interpolateRdYlBu},interpolateRdYlGn:function(){return uD.interpolateRdYlGn},interpolateReds:function(){return uD.interpolateReds},interpolateSinebow:function(){return uD.interpolateSinebow},interpolateSpectral:function(){return uD.interpolateSpectral},interpolateTurbo:function(){return uD.interpolateTurbo},interpolateViridis:function(){return uD.interpolateViridis},interpolateWarm:function(){return uD.interpolateWarm},interpolateYlGn:function(){return uD.interpolateYlGn},interpolateYlGnBu:function(){return uD.interpolateYlGnBu},interpolateYlOrBr:function(){return uD.interpolateYlOrBr},interpolateYlOrRd:function(){return uD.interpolateYlOrRd},schemeAccent:function(){return uD.schemeAccent},schemeBlues:function(){return uD.schemeBlues},schemeBrBG:function(){return uD.schemeBrBG},schemeBuGn:function(){return uD.schemeBuGn},schemeBuPu:function(){return uD.schemeBuPu},schemeCategory10:function(){return uD.schemeCategory10},schemeDark2:function(){return uD.schemeDark2},schemeGnBu:function(){return uD.schemeGnBu},schemeGreens:function(){return uD.schemeGreens},schemeGreys:function(){return uD.schemeGreys},schemeOrRd:function(){return uD.schemeOrRd},schemeOranges:function(){return uD.schemeOranges},schemePRGn:function(){return uD.schemePRGn},schemePaired:function(){return uD.schemePaired},schemePastel1:function(){return uD.schemePastel1},schemePastel2:function(){return uD.schemePastel2},schemePiYG:function(){return uD.schemePiYG},schemePuBu:function(){return uD.schemePuBu},schemePuBuGn:function(){return uD.schemePuBuGn},schemePuOr:function(){return uD.schemePuOr},schemePuRd:function(){return uD.schemePuRd},schemePurples:function(){return uD.schemePurples},schemeRdBu:function(){return uD.schemeRdBu},schemeRdGy:function(){return uD.schemeRdGy},schemeRdPu:function(){return uD.schemeRdPu},schemeRdYlBu:function(){return uD.schemeRdYlBu},schemeRdYlGn:function(){return uD.schemeRdYlGn},schemeReds:function(){return uD.schemeReds},schemeSet1:function(){return uD.schemeSet1},schemeSet2:function(){return uD.schemeSet2},schemeSet3:function(){return uD.schemeSet3},schemeSpectral:function(){return uD.schemeSpectral},schemeTableau10:function(){return uD.schemeTableau10},schemeYlGn:function(){return uD.schemeYlGn},schemeYlGnBu:function(){return uD.schemeYlGnBu},schemeYlOrBr:function(){return uD.schemeYlOrBr},schemeYlOrRd:function(){return uD.schemeYlOrRd}});var eo={};n.r(eo);var es={};n.r(es),n.d(es,{geoAlbers:function(){return Ta.Z},geoAlbersUsa:function(){return Tr.Z},geoAzimuthalEqualArea:function(){return Ti.Z},geoAzimuthalEqualAreaRaw:function(){return Ti.l},geoAzimuthalEquidistant:function(){return To.Z},geoAzimuthalEquidistantRaw:function(){return To.N},geoConicConformal:function(){return Ts.Z},geoConicConformalRaw:function(){return Ts.l},geoConicEqualArea:function(){return Tl.Z},geoConicEqualAreaRaw:function(){return Tl.v},geoConicEquidistant:function(){return Tc.Z},geoConicEquidistantRaw:function(){return Tc.o},geoEqualEarth:function(){return Tu.Z},geoEqualEarthRaw:function(){return Tu.i},geoEquirectangular:function(){return Tp.Z},geoEquirectangularRaw:function(){return Tp.k},geoGnomonic:function(){return Td.Z},geoGnomonicRaw:function(){return Td.M},geoIdentity:function(){return Tf.Z},geoMercator:function(){return Tg.ZP},geoMercatorRaw:function(){return Tg.hk},geoNaturalEarth1:function(){return Tm.Z},geoNaturalEarth1Raw:function(){return Tm.K},geoOrthographic:function(){return Tb.Z},geoOrthographicRaw:function(){return Tb.I},geoProjection:function(){return Th.Z},geoProjectionMutator:function(){return Th.r},geoStereographic:function(){return Ty.Z},geoStereographicRaw:function(){return Ty.T},geoTransverseMercator:function(){return TE.Z},geoTransverseMercatorRaw:function(){return TE.F}});var el={};n.r(el),n.d(el,{frequency:function(){return Sh},id:function(){return Sg},name:function(){return Sm},weight:function(){return Sf}});var ec=n(74902),eu=n(1413),ep=n(87462),ed=n(97685),ef=n(45987),eh=n(50888),eg=n(96486),em=n(67294),eb=function(){return(eb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n-1&&!e.return)switch(e.type){case ek:e.return=function e(t,n,r){var a;switch(a=n,45^eD(t,0)?(((a<<2^eD(t,0))<<2^eD(t,1))<<2^eD(t,2))<<2^eD(t,3):0){case 5103:return eA+"print-"+t+t;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 eA+t+t;case 4789:return eS+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return eA+t+eS+t+eT+t+t;case 5936:switch(eD(t,n+11)){case 114:return eA+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return eA+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return eA+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return eA+t+eT+t+t;case 6165:return eA+t+eT+"flex-"+t+t;case 5187:return eA+t+eN(t,/(\w+).+(:[^]+)/,eA+"box-$1$2"+eT+"flex-$1$2")+t;case 5443:return eA+t+eT+"flex-item-"+eN(t,/flex-|-self/g,"")+(eR(t,/flex-|baseline/)?"":eT+"grid-row-"+eN(t,/flex-|-self/g,""))+t;case 4675:return eA+t+eT+"flex-line-pack"+eN(t,/align-content|flex-|-self/g,"")+t;case 5548:return eA+t+eT+eN(t,"shrink","negative")+t;case 5292:return eA+t+eT+eN(t,"basis","preferred-size")+t;case 6060:return eA+"box-"+eN(t,"-grow","")+eA+t+eT+eN(t,"grow","positive")+t;case 4554:return eA+eN(t,/([^-])(transform)/g,"$1"+eA+"$2")+t;case 6187:return eN(eN(eN(t,/(zoom-|grab)/,eA+"$1"),/(image-set)/,eA+"$1"),t,"")+t;case 5495:case 3959:return eN(t,/(image-set\([^]*)/,eA+"$1$`$1");case 4968:return eN(eN(t,/(.+:)(flex-)?(.*)/,eA+"box-pack:$3"+eT+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+eA+t+t;case 4200:if(!eR(t,/flex-|baseline/))return eT+"grid-column-align"+eP(t,n)+t;break;case 2592:case 3360:return eT+eN(t,"template-","")+t;case 4384:case 3616:if(r&&r.some(function(e,t){return n=t,eR(e.props,/grid-\w+-end/)}))return~eL(t+(r=r[n].value),"span",0)?t:eT+eN(t,"-start","")+t+eT+"grid-row-span:"+(~eL(r,"span",0)?eR(r,/\d+/):+eR(r,/\d+/)-+eR(t,/\d+/))+";";return eT+eN(t,"-start","")+t;case 4896:case 4128:return r&&r.some(function(e){return eR(e.props,/grid-\w+-start/)})?t:eT+eN(eN(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return eN(t,/(.+)-inline(.+)/,eA+"$1$2")+t;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(eM(t)-1-n>6)switch(eD(t,n+1)){case 109:if(45!==eD(t,n+4))break;case 102:return eN(t,/(.+:)(.+)-([^]+)/,"$1"+eA+"$2-$3$1"+eS+(108==eD(t,n+3)?"$3":"$2-$3"))+t;case 115:return~eL(t,"stretch",0)?e(eN(t,"stretch","fill-available"),n,r)+t:t}break;case 5152:case 5920:return eN(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(e,n,r,a,i,o,s){return eT+n+":"+r+s+(a?eT+n+"-span:"+(i?o:+o-+r)+s:"")+t});case 4949:if(121===eD(t,n+6))return eN(t,":",":"+eA)+t;break;case 6444:switch(eD(t,45===eD(t,14)?18:11)){case 120:return eN(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+eA+(45===eD(t,14)?"inline-":"")+"box$3$1"+eA+"$2$3$1"+eT+"$2box$3")+t;case 100:return eN(t,":",":"+eT)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return eN(t,"scroll-","scroll-snap-")+t}return t}(e.value,e.length,n);return;case eC:return eQ([eZ(e,{value:eN(e.value,"@","@"+eA)})],r);case e_:if(e.length)return(n=e.props).map(function(t){switch(eR(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":eY(eZ(e,{props:[eN(t,/:(read-\w+)/,":"+eS+"$1")]})),eY(eZ(e,{props:[t]})),eI(e,{props:eB(n,r)});break;case"::placeholder":eY(eZ(e,{props:[eN(t,/:(plac\w+)/,":"+eA+"input-$1")]})),eY(eZ(e,{props:[eN(t,/:(plac\w+)/,":"+eS+"$1")]})),eY(eZ(e,{props:[eN(t,/:(plac\w+)/,eT+"input-$1")]})),eY(eZ(e,{props:[t]})),eI(e,{props:eB(n,r)})}return""}).join("")}}function e1(e,t,n,r,a,i,o,s,l,c,u,p){for(var d=a-1,f=0===a?i:[""],h=f.length,g=0,m=0,b=0;g0?f[y]+" "+E:eN(E,/&\f/g,f[y])).trim())&&(l[b++]=v);return eW(e,t,n,0===a?e_:s,l,c,u,p)}function e2(e,t,n,r,a){return eW(e,t,n,ek,eP(e,0,r),eP(e,r+1,-1),r,a)}var e3=n(94371),e5=n(83454),e4=void 0!==e5&&void 0!==e5.env&&(e5.env.REACT_APP_SC_ATTR||e5.env.SC_ATTR)||"data-styled",e6="active",e9="data-styled-version",e8="6.1.15",e7="/*!sc*/\n",te="undefined"!=typeof window&&"HTMLElement"in window,tt=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==e5&&void 0!==e5.env&&void 0!==e5.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==e5.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==e5.env.REACT_APP_SC_DISABLE_SPEEDY&&e5.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==e5&&void 0!==e5.env&&void 0!==e5.env.SC_DISABLE_SPEEDY&&""!==e5.env.SC_DISABLE_SPEEDY&&"false"!==e5.env.SC_DISABLE_SPEEDY&&e5.env.SC_DISABLE_SPEEDY),tn=Object.freeze([]),tr=Object.freeze({}),ta=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),ti=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,to=/(^-|-$)/g;function ts(e){return e.replace(ti,"-").replace(to,"")}var tl=/(a)(d)/gi,tc=function(e){return String.fromCharCode(e+(e>25?39:97))};function tu(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=tc(t%52)+n;return(tc(t%52)+n).replace(tl,"$1-$2")}var tp,td=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},tf=function(e){return td(5381,e)};function th(e){return"string"==typeof e}var tg="function"==typeof Symbol&&Symbol.for,tm=tg?Symbol.for("react.memo"):60115,tb=tg?Symbol.for("react.forward_ref"):60112,ty={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},tE={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},tv={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},tT=((tp={})[tb]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},tp[tm]=tv,tp);function tS(e){return("type"in e&&e.type.$$typeof)===tm?tv:"$$typeof"in e?tT[e.$$typeof]:ty}var tA=Object.defineProperty,tO=Object.getOwnPropertyNames,t_=Object.getOwnPropertySymbols,tk=Object.getOwnPropertyDescriptor,tC=Object.getPrototypeOf,tw=Object.prototype;function tx(e){return"function"==typeof e}function tI(e){return"object"==typeof e&&"styledComponentId"in e}function tR(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function tN(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r0?" Args: ".concat(t.join(", ")):""))}var tM=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,a=r;e>=a;)if((a<<=1)<0)throw tP(16,"".concat(e));this.groupSizes=new Uint32Array(a),this.groupSizes.set(n),this.length=a;for(var i=r;i=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),a=r+n,i=r;i=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(l+="".concat(e,","))}),r+="".concat(o).concat(s,'{content:"').concat(l,'"}').concat(e7)}}})(a);return r}(r)})}return e.registerId=function(e){return tU(e)},e.prototype.rehydrate=function(){!this.server&&te&&tZ(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(eb(eb({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){var e,t,n,r;return this.tag||(this.tag=(n=(t=this.options).useCSSOMInjection,r=t.target,e=t.isServer?new tK(r):n?new tV(r):new tq(r),new tM(e)))},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(tU(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(tU(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(tU(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),t0=/&/g,t1=/^\s*\/\/.*$/gm;function t2(e){var t,n,r,a=void 0===e?tr:e,i=a.options,o=void 0===i?tr:i,s=a.plugins,l=void 0===s?tn:s,c=function(e,r,a){return a.startsWith(n)&&a.endsWith(n)&&a.replaceAll(n,"").length>0?".".concat(t):e},u=l.slice();u.push(function(e){e.type===e_&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(t0,n).replace(r,c))}),o.prefix&&u.push(e0),u.push(eJ);var p=function(e,a,i,s){void 0===a&&(a=""),void 0===i&&(i=""),void 0===s&&(s="&"),t=s,n=a,r=RegExp("\\".concat(n,"\\b"),"g");var l,c,p,d,f,h=e.replace(t1,""),g=(f=function e(t,n,r,a,i,o,s,l,c){for(var u,p=0,d=0,f=s,h=0,g=0,m=0,b=1,y=1,E=1,v=0,T="",S=i,A=o,O=a,_=T;y;)switch(m=v,v=eV()){case 40:if(108!=m&&58==eD(_,f-1)){-1!=eL(_+=eN(eX(v),"&","&\f"),"&\f",ew(p?l[p-1]:0))&&(E=-1);break}case 34:case 39:case 91:_+=eX(v);break;case 9:case 10:case 13:case 32:_+=function(e){for(;ez=eq();)if(ez<33)eV();else break;return eK(e)>2||eK(ez)>3?"":" "}(m);break;case 92:_+=function(e,t){for(var n;--t&&eV()&&!(ez<48)&&!(ez>102)&&(!(ez>57)||!(ez<65))&&(!(ez>70)||!(ez<97)););return n=eH+(t<6&&32==eq()&&32==eV()),eP(e$,e,n)}(eH-1,7);continue;case 47:switch(eq()){case 42:case 47:eF(eW(u=function(e,t){for(;eV();)if(e+ez===57)break;else if(e+ez===84&&47===eq())break;return"/*"+eP(e$,t,eH-1)+"*"+ex(47===e?e:eV())}(eV(),eH),n,r,eO,ex(ez),eP(u,2,-2),0,c),c);break;default:_+="/"}break;case 123*b:l[p++]=eM(_)*E;case 125*b:case 59:case 0:switch(v){case 0:case 125:y=0;case 59+d:-1==E&&(_=eN(_,/\f/g,"")),g>0&&eM(_)-f&&eF(g>32?e2(_+";",a,r,f-1,c):e2(eN(_," ","")+";",a,r,f-2,c),c);break;case 59:_+=";";default:if(eF(O=e1(_,n,r,p,d,i,l,T,S=[],A=[],f,o),o),123===v){if(0===d)e(_,n,O,O,S,o,f,l,A);else switch(99===h&&110===eD(_,3)?100:h){case 100:case 108:case 109:case 115:e(t,O,O,a&&eF(e1(t,O,O,0,0,i,l,T,i,S=[],f,A),A),i,A,f,l,a?S:A);break;default:e(_,O,O,O,[""],A,0,l,A)}}}p=d=g=0,b=E=1,T=_="",f=s;break;case 58:f=1+eM(_),g=m;default:if(b<1){if(123==v)--b;else if(125==v&&0==b++&&125==(ez=eH>0?eD(e$,--eH):0,eU--,10===ez&&(eU=1,ej--),ez))continue}switch(_+=ex(v),v*b){case 38:E=d>0?1:(_+="\f",-1);break;case 44:l[p++]=(eM(_)-1)*E,E=1;break;case 64:45===eq()&&(_+=eX(eV())),h=eq(),d=f=eM(T=_+=function(e){for(;!eK(eq());)eV();return eP(e$,e,eH)}(eH)),v++;break;case 45:45===m&&2==eM(_)&&(b=0)}}return o}("",null,null,null,[""],(d=p=i||a?"".concat(i," ").concat(a," { ").concat(h," }"):h,ej=eU=1,eG=eM(e$=d),eH=0,p=[]),0,[0],p),e$="",f);o.namespace&&(g=function e(t,n){return t.map(function(t){return"rule"===t.type&&(t.value="".concat(n," ").concat(t.value),t.value=t.value.replaceAll(",",",".concat(n," ")),t.props=t.props.map(function(e){return"".concat(n," ").concat(e)})),Array.isArray(t.children)&&"@keyframes"!==t.type&&(t.children=e(t.children,n)),t})}(g,o.namespace));var m=[];return eQ(g,(c=(l=u.concat(function(e){var t;!e.root&&(e=e.return)&&(t=e,m.push(t))})).length,function(e,t,n,r){for(var a="",i=0;i="A"&&r<="Z"?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var nt=function(e){return null==e||!1===e||""===e},nn=function(e){var t=[];for(var n in e){var r=e[n];e.hasOwnProperty(n)&&!nt(r)&&(Array.isArray(r)&&r.isCss||tx(r)?t.push("".concat(ne(n),":"),r,";"):tL(r)?t.push.apply(t,ey(ey(["".concat(n," {")],nn(r),!1),["}"],!1)):t.push("".concat(ne(n),": ").concat(null==r||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||n in e3.Z||n.startsWith("--")?String(r).trim():"".concat(r,"px"),";")))}return t};function nr(e,t,n,r){return nt(e)?[]:tI(e)?[".".concat(e.styledComponentId)]:tx(e)?!tx(e)||e.prototype&&e.prototype.isReactComponent||!t?[e]:nr(e(t),t,n,r):e instanceof t7?n?(e.inject(n,r),[e.getName(r)]):[e]:tL(e)?nn(e):Array.isArray(e)?Array.prototype.concat.apply(tn,e.map(function(e){return nr(e,t,n,r)})):[e.toString()]}function na(e){for(var t=0;t>>0);if(!t.hasNameForId(this.componentId,i)){var o=n(a,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,o)}r=tR(r,i),this.staticRulesId=i}}else{for(var s=td(this.baseHash,n.hash),l="",c=0;c>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,n(l,".".concat(d),void 0,this.componentId)),r=tR(r,d)}}return r},e}(),ns=em.createContext(void 0);ns.Consumer;var nl={};function nc(e,t,n){var r,a,i,o,s=tI(e),l=!th(e),c=t.attrs,u=void 0===c?tn:c,p=t.componentId,d=void 0===p?(r=t.displayName,a=t.parentComponentId,nl[i="string"!=typeof r?"sc":ts(r)]=(nl[i]||0)+1,o="".concat(i,"-").concat(tu(tf(e8+i+nl[i])>>>0)),a?"".concat(a,"-").concat(o):o):p,f=t.displayName,h=void 0===f?th(e)?"styled.".concat(e):"Styled(".concat(e.displayName||e.name||"Component",")"):f,g=t.displayName&&t.componentId?"".concat(ts(t.displayName),"-").concat(t.componentId):t.componentId||d,m=s&&e.attrs?e.attrs.concat(u).filter(Boolean):u,b=t.shouldForwardProp;if(s&&e.shouldForwardProp){var y=e.shouldForwardProp;if(t.shouldForwardProp){var E=t.shouldForwardProp;b=function(e,t){return y(e,t)&&E(e,t)}}else b=y}var v=new no(n,g,s?e.componentStyle:void 0);function T(e,t){return function(e,t,n){var r,a,i=e.attrs,o=e.componentStyle,s=e.defaultProps,l=e.foldedComponentIds,c=e.styledComponentId,u=e.target,p=em.useContext(ns),d=t9(),f=e.shouldForwardProp||d.shouldForwardProp,h=(void 0===(r=s)&&(r=tr),t.theme!==r.theme&&t.theme||p||r.theme||tr),g=function(e,t,n){for(var r,a=eb(eb({},t),{className:void 0,theme:n}),i=0;i2&&tJ.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=n.nc,a=tN([r&&'nonce="'.concat(r,'"'),"".concat(e4,'="true"'),"".concat(e9,'="').concat(e8,'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(e.sealed)throw tP(2);return e._emitSheetCSS()},this.getStyleElement=function(){if(e.sealed)throw tP(2);var t,r=e.instance.toString();if(!r)return[];var a=((t={})[e4]="",t[e9]=e8,t.dangerouslySetInnerHTML={__html:r},t),i=n.nc;return i&&(a.nonce=i),[em.createElement("style",eb({},a,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new tJ({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw tP(2);return em.createElement(t8,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw tP(3)}}();var nh=n(4942),ng=n(73935),nm=n.t(ng,2),nb=function(){return(nb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=18&&(J=ny.createRoot)}catch(e){}function nT(e){var t=ny.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"==typeof t&&(t.usingClientEntryPoint=e)}var nS="__rc_react_root__",nA=new Map;"undefined"!=typeof document&&nA.set("tooltip",document.createElement("div"));var nO=function(e,t){void 0===t&&(t=!1);var n=null;if(t)n=nA.get("tooltip");else if(n=document.createElement("div"),null==e?void 0:e.key){var r=nA.get(e.key);r?n=r:nA.set(e.key,n)}return!function(e,t){if(J){var n;nT(!0),n=t[nS]||J(t),nT(!1),n.render(e),t[nS]=n;return}nv(e,t)}(e,n),n},n_=function(e){if("undefined"==typeof document)return"loading";var t=e.attachShadow({mode:"open"}),n=document.createElement("div"),r=document.createElement("style");r.innerHTML=".loading {\n display: inline-block;\n position: relative;\n width: 80px;\n height: 80px;\n }\n .loading div {\n position: absolute;\n top: 33px;\n width: 13px;\n height: 13px;\n border-radius: 50%;\n background: #ccc;\n animation-timing-function: cubic-bezier(0, 1, 1, 0);\n }\n .loading div:nth-child(1) {\n left: 8px;\n animation: loading1 0.6s infinite;\n }\n .loading div:nth-child(2) {\n left: 8px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(3) {\n left: 32px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(4) {\n left: 56px;\n animation: loading3 0.6s infinite;\n }\n @keyframes loading1 {\n 0% {\n transform: scale(0);\n }\n 100% {\n transform: scale(1);\n }\n }\n @keyframes loading3 {\n 0% {\n transform: scale(1);\n }\n 100% {\n transform: scale(0);\n }\n }\n @keyframes loading2 {\n 0% {\n transform: translate(0, 0);\n }\n 100% {\n transform: translate(24px, 0);\n }\n }\n ",n.classList.add("loading"),n.innerHTML="
",t.appendChild(r),t.appendChild(n)},nk=function(e){var t=e.loadingTemplate,n=e.theme,r=em.useRef(null);return em.useEffect(function(){!t&&r.current&&n_(r.current)},[]),em.createElement("div",{className:"charts-loading-container",style:{position:"absolute",width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",left:0,top:0,zIndex:99,backgroundColor:"dark"===(void 0===n?"light":n)?"rgb(20, 20, 20)":"rgb(255, 255, 255)"}},t||em.createElement("div",{ref:r}))},nC=(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),nw=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={hasError:!1},t.renderError=function(e){var n=t.props.errorTemplate;return"function"==typeof n?n(e):n||em.createElement("h5",null,"组件出错了,请核查后重试: ",e.message)},t}return nC(t,e),t.getDerivedStateFromError=function(e){return{hasError:!0,error:e}},t.getDerivedStateFromProps=function(e,t){return t.children!==e.children?{children:e.children,hasError:!1,error:void 0}:null},t.prototype.render=function(){return this.state.hasError?this.renderError(this.state.error):em.createElement(em.Fragment,null,this.props.children)},t}(em.Component),nx=function(e,t,n){if(n||2==arguments.length)for(var r,a=0,i=t.length;a90)return this;this.computeMatrix()}return this._getAxes(),this.type===nN.iM.ORBITING||this.type===nN.iM.EXPLORING?this._getPosition():this.type===nN.iM.TRACKING&&this._getFocalPoint(),this._update(),this}},{key:"pan",value:function(e,t){var n=(0,nN.O4)(e,t,0),r=nG.d9(this.position);return nG.IH(r,r,nG.bA(nG.Ue(),this.right,n[0])),nG.IH(r,r,nG.bA(nG.Ue(),this.up,n[1])),this._setPosition(r),this.triggerUpdate(),this}},{key:"dolly",value:function(e){var t=this.forward,n=nG.d9(this.position),r=e*this.dollyingStep;return r=Math.max(Math.min(this.distance+e*this.dollyingStep,this.maxDistance),this.minDistance)-this.distance,n[0]+=r*t[0],n[1]+=r*t[1],n[2]+=r*t[2],this._setPosition(n),this.type===nN.iM.ORBITING||this.type===nN.iM.EXPLORING?this._getDistance():this.type===nN.iM.TRACKING&&nG.IH(this.focalPoint,n,this.distanceVector),this.triggerUpdate(),this}},{key:"cancelLandmarkAnimation",value:function(){void 0!==this.landmarkAnimationID&&this.canvas.cancelAnimationFrame(this.landmarkAnimationID)}},{key:"createLandmark",value:function(e){var t,n,r,a,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=i.position,s=void 0===o?this.position:o,l=i.focalPoint,c=void 0===l?this.focalPoint:l,u=i.roll,p=i.zoom,d=new nN.GZ.CameraContribution;d.setType(this.type,void 0),d.setPosition(s[0],null!==(t=s[1])&&void 0!==t?t:this.position[1],null!==(n=s[2])&&void 0!==n?n:this.position[2]),d.setFocalPoint(c[0],null!==(r=c[1])&&void 0!==r?r:this.focalPoint[1],null!==(a=c[2])&&void 0!==a?a:this.focalPoint[2]),d.setRoll(null!=u?u:this.roll),d.setZoom(null!=p?p:this.zoom);var f={name:e,matrix:nU.clone(d.getWorldTransform()),right:nG.d9(d.right),up:nG.d9(d.up),forward:nG.d9(d.forward),position:nG.d9(d.getPosition()),focalPoint:nG.d9(d.getFocalPoint()),distanceVector:nG.d9(d.getDistanceVector()),distance:d.getDistance(),dollyingStep:d.getDollyingStep(),azimuth:d.getAzimuth(),elevation:d.getElevation(),roll:d.getRoll(),relAzimuth:d.relAzimuth,relElevation:d.relElevation,relRoll:d.relRoll,zoom:d.getZoom()};return this.landmarks.push(f),f}},{key:"gotoLandmark",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=nB(e,"String")?this.landmarks.find(function(t){return t.name===e}):e;if(r){var a,i=nB(n,"Number")?{duration:n}:n,o=i.easing,s=void 0===o?"linear":o,l=i.duration,c=void 0===l?100:l,u=i.easingFunction,p=i.onfinish,d=void 0===p?void 0:p,f=i.onframe,h=void 0===f?void 0:f;this.cancelLandmarkAnimation();var g=r.position,m=r.focalPoint,b=r.zoom,y=r.roll,E=(void 0===u?void 0:u)||nN.GZ.EasingFunction(s),v=function(){t.setFocalPoint(m),t.setPosition(g),t.setRoll(y),t.setZoom(b),t.computeMatrix(),t.triggerUpdate(),null==d||d()};if(0===c)return v();var T=function(e){void 0===a&&(a=e);var n=e-a;if(n>=c){v();return}var r=E(n/c),i=nG.Ue(),o=nG.Ue(),s=1,l=0;if(nG.t7(i,t.focalPoint,m,r),nG.t7(o,t.position,g,r),l=t.roll*(1-r)+y*r,s=t.zoom*(1-r)+b*r,t.setFocalPoint(i),t.setPosition(o),t.setRoll(l),t.setZoom(s),nG.TK(i,m)+nG.TK(o,g)<=.01&&void 0===b&&void 0===y)return v();t.computeMatrix(),t.triggerUpdate(),nn?n:e},nZ={}.toString,nY=function(e){return null==e},nV=function(e){function t(e,n,r,a){var i;return(0,nL.Z)(this,t),(i=(0,nP.Z)(this,t,[e])).currentTime=r,i.timelineTime=a,i.target=n,i.type="finish",i.bubbles=!1,i.currentTarget=n,i.defaultPrevented=!1,i.eventPhase=i.AT_TARGET,i.timeStamp=Date.now(),i.currentTime=r,i.timelineTime=a,i}return(0,nM.Z)(t,e),(0,nD.Z)(t)}(nN.xA),nq=0,nK=(0,nD.Z)(function e(t,n){var r;(0,nL.Z)(this,e),this.currentTimePending=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._playbackRate=1,this._inTimeline=!0,this.effect=t,t.animation=this,this.timeline=n,this.id="".concat(nq++),this._inEffect=!!this.effect.update(0),this._totalDuration=Number(null===(r=this.effect)||void 0===r?void 0:r.getComputedTiming().endTime),this._holdTime=0,this._paused=!1,this.oldPlayState="idle",this.updatePromises()},[{key:"pending",get:function(){return null===this._startTime&&!this._paused&&0!==this.playbackRate||this.currentTimePending}},{key:"playState",get:function(){return this._idle?"idle":this._isFinished?"finished":this._paused?"paused":"running"}},{key:"ready",get:function(){var e=this;return this.readyPromise||(-1===this.timeline.animationsWithPromises.indexOf(this)&&this.timeline.animationsWithPromises.push(this),this.readyPromise=new Promise(function(t,n){e.resolveReadyPromise=function(){t(e)},e.rejectReadyPromise=function(){n(Error())}}),this.pending||this.resolveReadyPromise()),this.readyPromise}},{key:"finished",get:function(){var e=this;return this.finishedPromise||(-1===this.timeline.animationsWithPromises.indexOf(this)&&this.timeline.animationsWithPromises.push(this),this.finishedPromise=new Promise(function(t,n){e.resolveFinishedPromise=function(){t(e)},e.rejectFinishedPromise=function(){n(Error())}}),"finished"===this.playState&&this.resolveFinishedPromise()),this.finishedPromise}},{key:"currentTime",get:function(){return this.updatePromises(),this._idle||this.currentTimePending?null:this._currentTime},set:function(e){if(!isNaN(e=Number(e))){if(this.timeline.restart(),!this._paused&&null!==this._startTime){var t;this._startTime=Number(null===(t=this.timeline)||void 0===t?void 0:t.currentTime)-e/this.playbackRate}this.currentTimePending=!1,this._currentTime!==e&&(this._idle&&(this._idle=!1,this._paused=!0),this.tickCurrentTime(e,!0),this.timeline.applyDirtiedAnimation(this))}}},{key:"startTime",get:function(){return this._startTime},set:function(e){null!==e&&(this.updatePromises(),!isNaN(e=Number(e))&&(this._paused||this._idle||(this._startTime=e,this.tickCurrentTime((Number(this.timeline.currentTime)-this._startTime)*this.playbackRate),this.timeline.applyDirtiedAnimation(this),this.updatePromises())))}},{key:"playbackRate",get:function(){return this._playbackRate},set:function(e){if(e!==this._playbackRate){this.updatePromises();var t=this.currentTime;this._playbackRate=e,this.startTime=null,"paused"!==this.playState&&"idle"!==this.playState&&(this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this)),null!==t&&(this.currentTime=t),this.updatePromises()}}},{key:"_isFinished",get:function(){return!this._idle&&(this._playbackRate>0&&Number(this._currentTime)>=this._totalDuration||this._playbackRate<0&&0>=Number(this._currentTime))}},{key:"totalDuration",get:function(){return this._totalDuration}},{key:"_needsTick",get:function(){return this.pending||"running"===this.playState||!this._finishedFlag}},{key:"updatePromises",value:function(){var e=this.oldPlayState,t=this.pending?"pending":this.playState;return this.readyPromise&&t!==e&&("idle"===t?(this.rejectReadyPromise(),this.readyPromise=void 0):"pending"===e?this.resolveReadyPromise():"pending"===t&&(this.readyPromise=void 0)),this.finishedPromise&&t!==e&&("idle"===t?(this.rejectFinishedPromise(),this.finishedPromise=void 0):"finished"===t?this.resolveFinishedPromise():"finished"===e&&(this.finishedPromise=void 0)),this.oldPlayState=t,this.readyPromise||this.finishedPromise}},{key:"play",value:function(){this.updatePromises(),this._paused=!1,(this._isFinished||this._idle)&&(this.rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this),-1===this.timeline.animations.indexOf(this)&&this.timeline.animations.push(this),this.updatePromises()}},{key:"pause",value:function(){this.updatePromises(),this.currentTime&&(this._holdTime=this.currentTime),this._isFinished||this._paused||this._idle?this._idle&&(this.rewind(),this._idle=!1):this.currentTimePending=!0,this._startTime=null,this._paused=!0,this.updatePromises()}},{key:"finish",value:function(){this.updatePromises(),this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this.currentTimePending=!1,this.timeline.applyDirtiedAnimation(this),this.updatePromises())}},{key:"cancel",value:function(){var e=this;if(this.updatePromises(),this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this.effect.update(null),this.timeline.applyDirtiedAnimation(this),this.updatePromises(),this.oncancel)){var t=new nV(null,this,this.currentTime,null);setTimeout(function(){e.oncancel(t)})}}},{key:"reverse",value:function(){this.updatePromises();var e=this.currentTime;this.playbackRate*=-1,this.play(),null!==e&&(this.currentTime=e),this.updatePromises()}},{key:"updatePlaybackRate",value:function(e){this.playbackRate=e}},{key:"targetAnimations",value:function(){var e;return(null===(e=this.effect)||void 0===e?void 0:e.target).getAnimations()}},{key:"markTarget",value:function(){var e=this.targetAnimations();-1===e.indexOf(this)&&e.push(this)}},{key:"unmarkTarget",value:function(){var e=this.targetAnimations(),t=e.indexOf(this);-1!==t&&e.splice(t,1)}},{key:"tick",value:function(e,t){this._idle||this._paused||(null===this._startTime?t&&(this.startTime=e-this._currentTime/this.playbackRate):this._isFinished||this.tickCurrentTime((e-this._startTime)*this.playbackRate)),t&&(this.currentTimePending=!1,this.fireEvents(e))}},{key:"rewind",value:function(){if(this.playbackRate>=0)this.currentTime=0;else if(this._totalDuration<1/0)this.currentTime=this._totalDuration;else throw Error("Unable to rewind negative playback rate animation with infinite duration")}},{key:"persist",value:function(){throw Error(nN.jf)}},{key:"addEventListener",value:function(e,t,n){throw Error(nN.jf)}},{key:"removeEventListener",value:function(e,t,n){throw Error(nN.jf)}},{key:"dispatchEvent",value:function(e){throw Error(nN.jf)}},{key:"commitStyles",value:function(){throw Error(nN.jf)}},{key:"ensureAlive",value:function(){var e,t;this.playbackRate<0&&0===this.currentTime?this._inEffect=!!(null!==(e=this.effect)&&void 0!==e&&e.update(-1)):this._inEffect=!!(null!==(t=this.effect)&&void 0!==t&&t.update(this.currentTime)),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,this.timeline.animations.push(this))}},{key:"tickCurrentTime",value:function(e,t){e!==this._currentTime&&(this._currentTime=e,this._isFinished&&!t&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this.ensureAlive())}},{key:"fireEvents",value:function(e){var t=this;if(this._isFinished){if(!this._finishedFlag){if(this.onfinish){var n=new nV(null,this,this.currentTime,e);setTimeout(function(){t.onfinish&&t.onfinish(n)})}this._finishedFlag=!0}}else{if(this.onframe&&"running"===this.playState){var r=new nV(null,this,this.currentTime,e);this.onframe(r)}this._finishedFlag=!1}}}]),nX="function"==typeof Float32Array,nQ=function(e,t){return 1-3*t+3*e},nJ=function(e,t){return 3*t-6*e},n0=function(e){return 3*e},n1=function(e,t,n){return((nQ(t,n)*e+nJ(t,n))*e+n0(t))*e},n2=function(e,t,n){return 3*nQ(t,n)*e*e+2*nJ(t,n)*e+n0(t)},n3=function(e,t,n,r,a){var i,o,s=0;do(i=n1(o=t+(n-t)/2,r,a)-e)>0?n=o:t=o;while(Math.abs(i)>1e-7&&++s<10);return o},n5=function(e,t,n,r){for(var a=0;a<4;++a){var i=n2(t,n,r);if(0===i)break;var o=n1(t,n,r)-e;t-=o/i}return t},n4=function(e,t,n,r){if(!(e>=0&&e<=1&&n>=0&&n<=1))throw Error("bezier x values must be in [0, 1] range");if(e===t&&n===r)return function(e){return e};for(var a=nX?new Float32Array(11):Array(11),i=0;i<11;++i)a[i]=n1(.1*i,e,n);var o=function(t){for(var r=0,i=1;10!==i&&a[i]<=t;++i)r+=.1;var o=r+(t-a[--i])/(a[i+1]-a[i])*.1,s=n2(o,e,n);return s>=.001?n5(t,o,e,n):0===s?o:n3(t,r,r+.1,e,n)};return function(e){return 0===e||1===e?e:n1(o(e),t,r)}},n6=function(e){return Math.pow(e,2)},n9=function(e){return Math.pow(e,3)},n8=function(e){return Math.pow(e,4)},n7=function(e){return Math.pow(e,5)},re=function(e){return Math.pow(e,6)},rt=function(e){return 1-Math.cos(e*Math.PI/2)},rn=function(e){return 1-Math.sqrt(1-e*e)},rr=function(e){return e*e*(3*e-2)},ra=function(e){for(var t,n=4;e<((t=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*t-2)/22-e,2)},ri=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,n$.Z)(t,2),r=n[0],a=n[1],i=nW(Number(void 0===r?1:r),1,10),o=nW(Number(void 0===a?.5:a),.1,2);return 0===e||1===e?e:-i*Math.pow(2,10*(e-1))*Math.sin((e-1-o/(2*Math.PI)*Math.asin(1/i))*(2*Math.PI)/o)},ro=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,r=(0,n$.Z)(t,4),a=r[0],i=void 0===a?1:a,o=r[1],s=void 0===o?100:o,l=r[2],c=void 0===l?10:l,u=r[3],p=void 0===u?0:u;i=nW(i,.1,1e3),s=nW(s,.1,1e3),c=nW(c,.1,1e3),p=nW(p,.1,1e3);var d=Math.sqrt(s/i),f=c/(2*Math.sqrt(s*i)),h=f<1?d*Math.sqrt(1-f*f):0,g=f<1?(f*d+-p)/h:-p+d,m=n?n*e/1e3:e;return(m=f<1?Math.exp(-m*f*d)*(1*Math.cos(h*m)+g*Math.sin(h*m)):(1+g*m)*Math.exp(-m*d),0===e||1===e)?e:1-m},rs=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,n$.Z)(t,2),r=n[0],a=void 0===r?10:r;return("start"===n[1]?Math.ceil:Math.floor)(nW(e,0,1)*a)/a},rl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,n$.Z)(t,4);return n4(n[0],n[1],n[2],n[3])(e)},rc=n4(.42,0,1,1),ru=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return 1-e(1-t,n,r)}},rp=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return t<.5?e(2*t,n,r)/2:1-e(-2*t+2,n,r)/2}},rd=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return t<.5?(1-e(1-2*t,n,r))/2:(e(2*t-1,n,r)+1)/2}},rf={steps:rs,"step-start":function(e){return rs(e,[1,"start"])},"step-end":function(e){return rs(e,[1,"end"])},linear:function(e){return e},"cubic-bezier":rl,ease:function(e){return rl(e,[.25,.1,.25,1])},in:rc,out:ru(rc),"in-out":rp(rc),"out-in":rd(rc),"in-quad":n6,"out-quad":ru(n6),"in-out-quad":rp(n6),"out-in-quad":rd(n6),"in-cubic":n9,"out-cubic":ru(n9),"in-out-cubic":rp(n9),"out-in-cubic":rd(n9),"in-quart":n8,"out-quart":ru(n8),"in-out-quart":rp(n8),"out-in-quart":rd(n8),"in-quint":n7,"out-quint":ru(n7),"in-out-quint":rp(n7),"out-in-quint":rd(n7),"in-expo":re,"out-expo":ru(re),"in-out-expo":rp(re),"out-in-expo":rd(re),"in-sine":rt,"out-sine":ru(rt),"in-out-sine":rp(rt),"out-in-sine":rd(rt),"in-circ":rn,"out-circ":ru(rn),"in-out-circ":rp(rn),"out-in-circ":rd(rn),"in-back":rr,"out-back":ru(rr),"in-out-back":rp(rr),"out-in-back":rd(rr),"in-bounce":ra,"out-bounce":ru(ra),"in-out-bounce":rp(ra),"out-in-bounce":rd(ra),"in-elastic":ri,"out-elastic":ru(ri),"in-out-elastic":rp(ri),"out-in-elastic":rd(ri),spring:ro,"spring-in":ro,"spring-out":ru(ro),"spring-in-out":rp(ro),"spring-out-in":rd(ro)},rh=function(e){var t;return("-"===(t=(t=e).replace(/([A-Z])/g,function(e){return"-".concat(e.toLowerCase())})).charAt(0)?t.substring(1):t).replace(/^ease-/,"").replace(/(\(|\s).+/,"").toLowerCase().trim()},rg=function(e){return e};function rm(e,t){return function(n){if(n>=1)return 1;var r=1/e;return(n+=t*r)-n%r}}var rb="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",ry=new RegExp("cubic-bezier\\(".concat(rb,",").concat(rb,",").concat(rb,",").concat(rb,"\\)")),rE=/steps\(\s*(\d+)\s*\)/,rv=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/;function rT(e){var t=ry.exec(e);if(t)return n4.apply(void 0,(0,nz.Z)(t.slice(1).map(Number)));var n=rE.exec(e);if(n)return rm(Number(n[1]),0);var r=rv.exec(e);return r?rm(Number(r[1]),{start:1,middle:.5,end:0}[r[2]]):rf[rh(e)]||rf.linear}function rS(e){return"offset"!==e&&"easing"!==e&&"composite"!==e&&"computedOffset"!==e}var rA=function(e,t,n){return function(r){var a,i=function e(t,n,r){if("number"==typeof t&&"number"==typeof n)return t*(1-r)+n*r;if("boolean"==typeof t&&"boolean"==typeof n||"string"==typeof t&&"string"==typeof n)return r<.5?t:n;if(Array.isArray(t)&&Array.isArray(n)){for(var a=t.length,i=n.length,o=Math.max(a,i),s=[],l=0;l1)throw Error("Keyframe offsets must be between 0 and 1.");n.computedOffset=a}}else if("composite"===r&&-1===["replace","add","accumulate","auto"].indexOf(a))throw Error("".concat(a," compositing is not supported"));n[r]=a}return void 0===n.offset&&(n.offset=null),void 0===n.easing&&(n.easing=(null==t?void 0:t.easing)||"linear"),void 0===n.composite&&(n.composite="auto"),n}),r=!0,a=-1/0,i=0;i=0&&1>=Number(e.offset)}),r||function(){var e,t,r=n.length;n[r-1].computedOffset=Number(null!==(e=n[r-1].offset)&&void 0!==e?e:1),r>1&&(n[0].computedOffset=Number(null!==(t=n[0].offset)&&void 0!==t?t:0));for(var a=0,i=Number(n[0].computedOffset),o=1;o=e.applyFrom&&t=Math.min(n.delay+e+n.endDelay,r)?2:3}(e,t,n),u=function(e,t,n,r,a){switch(r){case 1:if("backwards"===t||"both"===t)return 0;return null;case 3:return n-a;case 2:if("forwards"===t||"both"===t)return e;return null;case 0:return null}}(e,n.fill,t,c,n.delay);if(null===u)return null;var p="auto"===n.duration?0:n.duration,d=(r=n.iterations,a=n.iterationStart,0===p?1!==c&&(a+=r):a+=u/p,a),f=(i=n.iterationStart,o=n.iterations,0==(s=d===1/0?i%1:d%1)&&2===c&&0!==o&&(0!==u||0===p)&&(s=1),s),h=(l=n.iterations,2===c&&l===1/0?1/0:1===f?Math.floor(d)-1:Math.floor(d)),g=function(e,t,n){var r=e;if("normal"!==e&&"reverse"!==e){var a=t;"alternate-reverse"===e&&(a+=1),r="normal",a!==1/0&&a%2!=0&&(r="reverse")}return"normal"===r?n:1-n}(n.direction,h,f);return n.currentIteration=h,n.progress=g,n.easingFunction(g)}(this.timing.activeDuration,e,this.timing),null!==this.timeFraction)}},{key:"getKeyframes",value:function(){return this.normalizedKeyframes}},{key:"setKeyframes",value:function(e){this.normalizedKeyframes=r_(e)}},{key:"getComputedTiming",value:function(){return this.computedTiming}},{key:"getTiming",value:function(){return this.timing}},{key:"updateTiming",value:function(e){var t=this;Object.keys(e||{}).forEach(function(n){t.timing[n]=e[n]})}}]);function rx(e,t){return Number(e.id)-Number(t.id)}var rI=(0,nD.Z)(function e(t){var n=this;(0,nL.Z)(this,e),this.animations=[],this.ticking=!1,this.timelineTicking=!1,this.hasRestartedThisFrame=!1,this.animationsWithPromises=[],this.inTick=!1,this.pendingEffects=[],this.currentTime=null,this.rafId=0,this.rafCallbacks=[],this.webAnimationsNextTick=function(e){n.currentTime=e,n.discardAnimations(),0===n.animations.length?n.timelineTicking=!1:n.requestAnimationFrame(n.webAnimationsNextTick)},this.processRafCallbacks=function(e){var t=n.rafCallbacks;n.rafCallbacks=[],et.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let rN=(e,t,n)=>[["M",e-n,t],["A",n,n,0,1,0,e+n,t],["A",n,n,0,1,0,e-n,t],["Z"]];rN.style=["fill"];let rL=rN.bind(void 0);rL.style=["stroke","lineWidth"];let rD=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t-n],["L",e+n,t+n],["L",e-n,t+n],["Z"]];rD.style=["fill"];let rP=rD.bind(void 0);rP.style=["fill"];let rM=rD.bind(void 0);rM.style=["stroke","lineWidth"];let rF=(e,t,n)=>{let r=.618*n;return[["M",e-r,t],["L",e,t-n],["L",e+r,t],["L",e,t+n],["Z"]]};rF.style=["fill"];let rB=rF.bind(void 0);rB.style=["stroke","lineWidth"];let rj=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t+r],["L",e,t-r],["L",e+n,t+r],["Z"]]};rj.style=["fill"];let rU=rj.bind(void 0);rU.style=["stroke","lineWidth"];let rG=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t-r],["L",e+n,t-r],["L",e,t+r],["Z"]]};rG.style=["fill"];let rH=rG.bind(void 0);rH.style=["stroke","lineWidth"];let rz=(e,t,n)=>{let r=n/2*Math.sqrt(3);return[["M",e,t-n],["L",e+r,t-n/2],["L",e+r,t+n/2],["L",e,t+n],["L",e-r,t+n/2],["L",e-r,t-n/2],["Z"]]};rz.style=["fill"];let r$=rz.bind(void 0);r$.style=["stroke","lineWidth"];let rW=(e,t,n)=>{let r=n-1.5;return[["M",e-n,t-r],["L",e+n,t+r],["L",e+n,t-r],["L",e-n,t+r],["Z"]]};rW.style=["fill"];let rZ=rW.bind(void 0);rZ.style=["stroke","lineWidth"];let rY=(e,t,n)=>[["M",e,t+n],["L",e,t-n]];rY.style=["stroke","lineWidth"];let rV=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t+n],["M",e+n,t-n],["L",e-n,t+n]];rV.style=["stroke","lineWidth"];let rq=(e,t,n)=>[["M",e-n/2,t-n],["L",e+n/2,t-n],["M",e,t-n],["L",e,t+n],["M",e-n/2,t+n],["L",e+n/2,t+n]];rq.style=["stroke","lineWidth"];let rK=(e,t,n)=>[["M",e-n,t],["L",e+n,t],["M",e,t-n],["L",e,t+n]];rK.style=["stroke","lineWidth"];let rX=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rX.style=["stroke","lineWidth"];let rQ=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rQ.style=["stroke","lineWidth"];let rJ=rQ.bind(void 0);rJ.style=["stroke","lineWidth"];let r0=(e,t,n)=>[["M",e-n,t],["A",n/2,n/2,0,1,1,e,t],["A",n/2,n/2,0,1,0,e+n,t]];r0.style=["stroke","lineWidth"];let r1=(e,t,n)=>[["M",e-n-1,t-2.5],["L",e,t-2.5],["L",e,t+2.5],["L",e+n+1,t+2.5]];r1.style=["stroke","lineWidth"];let r2=(e,t,n)=>[["M",e-n-1,t+2.5],["L",e,t+2.5],["L",e,t-2.5],["L",e+n+1,t-2.5]];r2.style=["stroke","lineWidth"];let r3=(e,t,n)=>[["M",e-(n+1),t+2.5],["L",e-n/2,t+2.5],["L",e-n/2,t-2.5],["L",e+n/2,t-2.5],["L",e+n/2,t+2.5],["L",e+n+1,t+2.5]];r3.style=["stroke","lineWidth"];let r5=(e,t,n)=>[["M",e-5,t+2.5],["L",e-5,t],["L",e,t],["L",e,t-3],["L",e,t+3],["L",e+6.5,t+3]];r5.style=["stroke","lineWidth"];let r4=new Map([["bowtie",rW],["cross",rV],["dash",rJ],["diamond",rF],["dot",rQ],["hexagon",rz],["hollowBowtie",rZ],["hollowDiamond",rB],["hollowHexagon",r$],["hollowPoint",rL],["hollowSquare",rM],["hollowTriangle",rU],["hollowTriangleDown",rH],["hv",r1],["hvh",r3],["hyphen",rX],["line",rY],["plus",rK],["point",rN],["rect",rP],["smooth",r0],["square",rD],["tick",rq],["triangleDown",rG],["triangle",rj],["vh",r2],["vhv",r5]]),r6={};function r9(e,t){if(e.startsWith("symbol.")){var n;n=e.split(".").pop(),r4.set(n,t)}else Object.assign(r6,{[e]:t})}var r8=n(88998);/*! +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2640],{34971:function(e,t){"use strict";t.Z=function(e,t,n){return en?n:e}},24960:function(e,t,n){"use strict";var r=n(44002);t.Z=function(e){return Array.isArray?Array.isArray(e):(0,r.Z)(e,"Array")}},52176:function(e,t,n){"use strict";var r=n(44002);t.Z=function(e){return(0,r.Z)(e,"Boolean")}},55265:function(e,t){"use strict";t.Z=function(e){return"function"==typeof e}},82993:function(e,t){"use strict";t.Z=function(e){return null==e}},23198:function(e,t,n){"use strict";function r(e,t,n){return void 0===n&&(n=1e-5),Math.abs(e-t)1&&(E*=w=Math.sqrt(w),v*=w);var x=E*E,I=v*v,R=(o===l?-1:1)*Math.sqrt(Math.abs((x*I-x*C*C-I*k*k)/(x*C*C+I*k*k)));g=R*E*C/v+(b+T)/2,m=-(R*v)*k/E+(y+S)/2,f=Math.asin(((y-m)/v*1e9>>0)/1e9),h=Math.asin(((S-m)/v*1e9>>0)/1e9),f=bh&&(f-=2*Math.PI),!l&&h>f&&(h-=2*Math.PI)}var N=h-f;if(Math.abs(N)>A){var L=h,D=T,P=S;_=e(T=g+E*Math.cos(h=f+A*(l&&h>f?1:-1)),S=m+v*Math.sin(h),E,v,i,0,l,D,P,[h,L,g,m])}N=h-f;var M=Math.cos(f),F=Math.cos(h),B=Math.tan(N/4),j=4/3*E*B,U=4/3*v*B,G=[b,y],H=[b+j*Math.sin(f),y-U*M],z=[T+j*Math.sin(h),S-U*F],$=[T,S];if(H[0]=2*G[0]-H[0],H[1]=2*G[1]-H[1],p)return H.concat(z,$,_);_=H.concat(z,$,_);for(var W=[],Z=0,Y=_.length;Z7){e[n].shift();for(var r=e[n],a=n;r.length;)t[n]="A",e.splice(a+=1,0,["C"].concat(r.splice(0,6)));e.splice(n,1)}}(p,f,b),g=p.length,"Z"===h&&m.push(b),l=(n=p[b]).length,d.x1=+n[l-2],d.y1=+n[l-1],d.x2=+n[l-4]||d.x1,d.y2=+n[l-3]||d.y1}return t?[p,m]:p}},19586:function(e,t,n){"use strict";n.d(t,{R:function(){return r}});var r={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0}},33554:function(e,t,n){"use strict";n.d(t,{z:function(){return r}});var r={x1:0,y1:0,x2:0,y2:0,x:0,y:0,qx:null,qy:null}},54947:function(e,t,n){"use strict";function r(e){return e.map(function(e){return Array.isArray(e)?[].concat(e):e})}n.d(t,{U:function(){return r}})},94918:function(e,t,n){"use strict";n.d(t,{A:function(){return f}});var r=n(97582),a=n(65336),i=n(33554),o=n(60310),s=n(97153),l=n(19586);function c(e){for(var t=e.pathValue[e.segmentStart],n=t.toLowerCase(),r=e.data;r.length>=l.R[n]&&("m"===n&&r.length>2?(e.segments.push([t].concat(r.splice(0,2))),n="l",t="m"===t?"l":"L"):e.segments.push([t].concat(r.splice(0,l.R[n]))),l.R[n]););}function u(e){return e>=48&&e<=57}function p(e){for(var t,n=e.pathValue,r=e.max;e.index=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].includes(t));)e.index+=1}var d=function(e){this.pathValue=e,this.segments=[],this.max=e.length,this.index=0,this.param=0,this.segmentStart=0,this.data=[],this.err=""};function f(e){if((0,a.y)(e))return[].concat(e);for(var t=function(e){if((0,o.b)(e))return[].concat(e);var t=function(e){if((0,s.n)(e))return[].concat(e);var t=new d(e);for(p(t);t.index0;s-=1){if((32|a)==97&&(3===s||4===s)?function(e){var t=e.index,n=e.pathValue,r=n.charCodeAt(t);if(48===r){e.param=0,e.index+=1;return}if(49===r){e.param=1,e.index+=1;return}e.err='[path-util]: invalid Arc flag "'+n[t]+'", expecting 0 or 1 at index '+t}(e):function(e){var t,n=e.max,r=e.pathValue,a=e.index,i=a,o=!1,s=!1,l=!1,c=!1;if(i>=n){e.err="[path-util]: Invalid path value at index "+i+', "pathValue" is missing param';return}if((43===(t=r.charCodeAt(i))||45===t)&&(i+=1,t=r.charCodeAt(i)),!u(t)&&46!==t){e.err="[path-util]: Invalid path value at index "+i+', "'+r[i]+'" is not a number';return}if(46!==t){if(o=48===t,i+=1,t=r.charCodeAt(i),o&&i=e.max||!((o=n.charCodeAt(e.index))>=48&&o<=57||43===o||45===o||46===o))break}c(e)}(t);return t.err?t.err:t.segments}(e),n=0,r=0,a=0,i=0;return t.map(function(e){var t,o=e.slice(1).map(Number),s=e[0],l=s.toUpperCase();if("M"===s)return n=o[0],r=o[1],a=n,i=r,["M",n,r];if(s!==l)switch(l){case"A":t=[l,o[0],o[1],o[2],o[3],o[4],o[5]+n,o[6]+r];break;case"V":t=[l,o[0]+r];break;case"H":t=[l,o[0]+n];break;default:t=[l].concat(o.map(function(e,t){return e+(t%2?r:n)}))}else t=[l].concat(o);var c=t.length;switch(l){case"Z":n=a,r=i;break;case"H":n=t[1];break;case"V":r=t[1];break;default:n=t[c-2],r=t[c-1],"M"===l&&(a=n,i=r)}return t})}(e),n=(0,r.pi)({},i.z),f=0;f=h[t],g[t]-=m?1:0,m?e.ss:[e.s]}).flat()});return b[0].length===b[1].length?b:e(b[0],b[1],f)}}});var r=n(50944),a=n(51777);function i(e){return e.map(function(e,t,n){var i,o,s,l,c,u,p,d,f,h,g,m,b=t&&n[t-1].slice(-2).concat(e.slice(1)),y=t?(0,a.S)(b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7],b[8],{bbox:!1}).length:0;return m=t?y?(void 0===i&&(i=.5),o=b.slice(0,2),s=b.slice(2,4),l=b.slice(4,6),c=b.slice(6,8),u=(0,r.k)(o,s,i),p=(0,r.k)(s,l,i),d=(0,r.k)(l,c,i),f=(0,r.k)(u,p,i),h=(0,r.k)(p,d,i),g=(0,r.k)(f,h,i),[["C"].concat(u,f,g),["C"].concat(h,d,c)]):[e,e]:[e],{s:e,ss:m,l:y}})}},46516:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var r=n(27872);function a(e){var t,n,a;return t=0,n=0,a=0,(0,r.Y)(e).map(function(e){if("M"===e[0])return t=e[1],n=e[2],0;var r,i,o,s=e.slice(1),l=s[0],c=s[1],u=s[2],p=s[3],d=s[4],f=s[5];return i=t,a=3*((f-(o=n))*(l+u)-(d-i)*(c+p)+c*(i-u)-l*(o-p)+f*(u+i/3)-d*(p+o/3))/20,t=(r=e.slice(-2))[0],n=r[1],a}).reduce(function(e,t){return e+t},0)>=0}},90046:function(e,t,n){"use strict";n.d(t,{r:function(){return i}});var r=n(97582),a=n(10992);function i(e,t,n){return(0,a.s)(e,t,(0,r.pi)((0,r.pi)({},n),{bbox:!1,length:!0})).point}},91952:function(e,t,n){"use strict";n.d(t,{g:function(){return a}});var r=n(58076);function a(e,t){var n,a,i=e.length-1,o=[],s=0,l=(a=(n=e.length)-1,e.map(function(t,r){return e.map(function(t,i){var o=r+i;return 0===i||e[o]&&"M"===e[o][0]?["M"].concat(e[o].slice(-2)):(o>=n&&(o-=a),e[o])})}));return l.forEach(function(n,a){e.slice(1).forEach(function(n,o){s+=(0,r.y)(e[(a+o)%i].slice(-2),t[o%i].slice(-2))}),o[a]=s,s=0}),l[o.indexOf(Math.min.apply(null,o))]}},62436:function(e,t,n){"use strict";n.d(t,{D:function(){return i}});var r=n(97582),a=n(10992);function i(e,t){return(0,a.s)(e,void 0,(0,r.pi)((0,r.pi)({},t),{bbox:!1,length:!0})).length}},60310:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var r=n(97153);function a(e){return(0,r.n)(e)&&e.every(function(e){var t=e[0];return t===t.toUpperCase()})}},65336:function(e,t,n){"use strict";n.d(t,{y:function(){return a}});var r=n(60310);function a(e){return(0,r.b)(e)&&e.every(function(e){var t=e[0];return"ACLMQZ".includes(t)})}},97153:function(e,t,n){"use strict";n.d(t,{n:function(){return a}});var r=n(19586);function a(e){return Array.isArray(e)&&e.every(function(e){var t=e[0].toLowerCase();return r.R[t]===e.length-1&&"achlmqstvz".includes(t)})}},50944:function(e,t,n){"use strict";function r(e,t,n){var r=e[0],a=e[1];return[r+(t[0]-r)*n,a+(t[1]-a)*n]}n.d(t,{k:function(){return r}})},10992:function(e,t,n){"use strict";n.d(t,{s:function(){return c}});var r=n(94918),a=n(50944),i=n(58076);function o(e,t,n,r,o){var s=(0,i.y)([e,t],[n,r]),l={x:0,y:0};if("number"==typeof o){if(o<=0)l={x:e,y:t};else if(o>=s)l={x:n,y:r};else{var c=(0,a.k)([e,t],[n,r],o/s);l={x:c[0],y:c[1]}}}return{length:s,point:l,min:{x:Math.min(e,n),y:Math.min(t,r)},max:{x:Math.max(e,n),y:Math.max(t,r)}}}function s(e,t){var n=e.x,r=e.y,a=t.x,i=t.y,o=Math.sqrt((Math.pow(n,2)+Math.pow(r,2))*(Math.pow(a,2)+Math.pow(i,2)));return(n*i-r*a<0?-1:1)*Math.acos((n*a+r*i)/o)}var l=n(51777);function c(e,t,n){for(var a,c,u,p,d,f,h,g,m,b=(0,r.A)(e),y="number"==typeof t,E=[],v=0,T=0,S=0,A=0,O=[],_=[],k=0,C={x:0,y:0},w=C,x=C,I=C,R=0,N=0,L=b.length;N1&&(b*=g(A),y*=g(A));var O=(Math.pow(b,2)*Math.pow(y,2)-Math.pow(b,2)*Math.pow(S.y,2)-Math.pow(y,2)*Math.pow(S.x,2))/(Math.pow(b,2)*Math.pow(S.y,2)+Math.pow(y,2)*Math.pow(S.x,2)),_=(i!==l?1:-1)*g(O=O<0?0:O),k={x:_*(b*S.y/y),y:_*(-(y*S.x)/b)},C={x:h(E)*k.x-f(E)*k.y+(e+c)/2,y:f(E)*k.x+h(E)*k.y+(t+u)/2},w={x:(S.x-k.x)/b,y:(S.y-k.y)/y},x=s({x:1,y:0},w),I=s(w,{x:(-S.x-k.x)/b,y:(-S.y-k.y)/y});!l&&I>0?I-=2*m:l&&I<0&&(I+=2*m);var R=x+(I%=2*m)*p,N=b*h(R),L=y*f(R);return{x:h(E)*N-f(E)*L+C.x,y:f(E)*N+h(E)*L+C.y}}(e,t,n,r,a,l,c,u,p,x/v)).x,A=h.y,m&&w.push({x:S,y:A}),y&&(O+=(0,i.y)(k,[S,A])),k=[S,A],T&&O>=d&&d>_[2]){var I=(O-d)/(O-_[2]);C={x:k[0]*(1-I)+_[0]*I,y:k[1]*(1-I)+_[1]*I}}_=[S,A,O]}return T&&d>=O&&(C={x:u,y:p}),{length:O,point:C,min:{x:Math.min.apply(null,w.map(function(e){return e.x})),y:Math.min.apply(null,w.map(function(e){return e.y}))},max:{x:Math.max.apply(null,w.map(function(e){return e.x})),y:Math.max.apply(null,w.map(function(e){return e.y}))}}}(E[0],E[1],E[2],E[3],E[4],E[5],E[6],E[7],E[8],(t||0)-R,n||{})).length,C=c.min,w=c.max,x=c.point):"C"===g?(k=(u=(0,l.S)(E[0],E[1],E[2],E[3],E[4],E[5],E[6],E[7],(t||0)-R,n||{})).length,C=u.min,w=u.max,x=u.point):"Q"===g?(k=(p=function(e,t,n,r,a,o,s,l){var c,u=l.bbox,p=void 0===u||u,d=l.length,f=void 0===d||d,h=l.sampleSize,g=void 0===h?10:h,m="number"==typeof s,b=e,y=t,E=0,v=[b,y,0],T=[b,y],S={x:0,y:0},A=[{x:b,y:y}];m&&s<=0&&(S={x:b,y:y});for(var O=0;O<=g;O+=1){if(b=(c=function(e,t,n,r,a,i,o){var s=1-o;return{x:Math.pow(s,2)*e+2*s*o*n+Math.pow(o,2)*a,y:Math.pow(s,2)*t+2*s*o*r+Math.pow(o,2)*i}}(e,t,n,r,a,o,O/g)).x,y=c.y,p&&A.push({x:b,y:y}),f&&(E+=(0,i.y)(T,[b,y])),T=[b,y],m&&E>=s&&s>v[2]){var _=(E-s)/(E-v[2]);S={x:T[0]*(1-_)+v[0]*_,y:T[1]*(1-_)+v[1]*_}}v=[b,y,E]}return m&&s>=E&&(S={x:a,y:o}),{length:E,point:S,min:{x:Math.min.apply(null,A.map(function(e){return e.x})),y:Math.min.apply(null,A.map(function(e){return e.y}))},max:{x:Math.max.apply(null,A.map(function(e){return e.x})),y:Math.max.apply(null,A.map(function(e){return e.y}))}}}(E[0],E[1],E[2],E[3],E[4],E[5],(t||0)-R,n||{})).length,C=p.min,w=p.max,x=p.point):"Z"===g&&(k=(d=o((E=[v,T,S,A])[0],E[1],E[2],E[3],(t||0)-R)).length,C=d.min,w=d.max,x=d.point),y&&R=t&&(I=x),_.push(w),O.push(C),R+=k,v=(f="Z"!==g?m.slice(-2):[S,A])[0],T=f[1];return y&&t>=R&&(I={x:v,y:T}),{length:R,point:I,min:{x:Math.min.apply(null,O.map(function(e){return e.x})),y:Math.min.apply(null,O.map(function(e){return e.y}))},max:{x:Math.max.apply(null,_.map(function(e){return e.x})),y:Math.max.apply(null,_.map(function(e){return e.y}))}}}},51777:function(e,t,n){"use strict";n.d(t,{S:function(){return a}});var r=n(58076);function a(e,t,n,a,i,o,s,l,c,u){var p,d=u.bbox,f=void 0===d||d,h=u.length,g=void 0===h||h,m=u.sampleSize,b=void 0===m?10:m,y="number"==typeof c,E=e,v=t,T=0,S=[E,v,0],A=[E,v],O={x:0,y:0},_=[{x:E,y:v}];y&&c<=0&&(O={x:E,y:v});for(var k=0;k<=b;k+=1){if(E=(p=function(e,t,n,r,a,i,o,s,l){var c=1-l;return{x:Math.pow(c,3)*e+3*Math.pow(c,2)*l*n+3*c*Math.pow(l,2)*a+Math.pow(l,3)*o,y:Math.pow(c,3)*t+3*Math.pow(c,2)*l*r+3*c*Math.pow(l,2)*i+Math.pow(l,3)*s}}(e,t,n,a,i,o,s,l,k/b)).x,v=p.y,f&&_.push({x:E,y:v}),g&&(T+=(0,r.y)(A,[E,v])),A=[E,v],y&&T>=c&&c>S[2]){var C=(T-c)/(T-S[2]);O={x:A[0]*(1-C)+S[0]*C,y:A[1]*(1-C)+S[1]*C}}S=[E,v,T]}return y&&c>=T&&(O={x:s,y:l}),{length:T,point:O,min:{x:Math.min.apply(null,_.map(function(e){return e.x})),y:Math.min.apply(null,_.map(function(e){return e.y}))},max:{x:Math.max.apply(null,_.map(function(e){return e.x})),y:Math.max.apply(null,_.map(function(e){return e.y}))}}}},4503:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function i(e,t,r,i,o){if("function"!=typeof r)throw TypeError("The listener must be a function");var s=new a(r,i||e,o),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function o(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,a=[];if(0===this._eventsCount)return a;for(r in e=this._events)t.call(e,r)&&a.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?a.concat(Object.getOwnPropertySymbols(e)):a},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var a=0,i=r.length,o=Array(i);a=n?k.text.primary:_.text.primary;return t}let x=({color:e,name:t,mainShade:n=500,lightShade:i=300,darkShade:o=700})=>{if(!(e=(0,r.Z)({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw Error((0,u.Z)(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw Error((0,u.Z)(12,t?` (${t})`:"",JSON.stringify(e.main)));return C(e,"light",i,a),C(e,"dark",o,a),e.contrastText||(e.contrastText=w(e.main)),e},I=(0,p.Z)((0,r.Z)({common:(0,r.Z)({},m),mode:t,primary:x({color:s,name:"primary"}),secondary:x({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:x({color:c,name:"error"}),warning:x({color:h,name:"warning"}),info:x({color:d,name:"info"}),success:x({color:f,name:"success"}),grey:b,contrastThreshold:n,getContrastText:w,augmentColor:x,tonalOffset:a},{dark:k,light:_}[t]),o);return I}(a),R=(0,h.Z)(e),U=(0,p.Z)(R,{mixins:(t=R.breakpoints,(0,r.Z)({toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}}},n)),palette:c,shadows:N.slice(),typography:function(e,t){let n="function"==typeof t?t(e):t,{fontFamily:a=I,fontSize:o=14,fontWeightLight:s=300,fontWeightRegular:l=400,fontWeightMedium:c=500,fontWeightBold:u=700,htmlFontSize:d=16,allVariants:f,pxToRem:h}=n,g=(0,i.Z)(n,w),m=o/14,b=h||(e=>`${e/d*m}rem`),y=(e,t,n,i,o)=>(0,r.Z)({fontFamily:a,fontWeight:e,fontSize:b(t),lineHeight:n},a===I?{letterSpacing:`${Math.round(1e5*(i/t))/1e5}em`}:{},o,f),E={h1:y(s,96,1.167,-1.5),h2:y(s,60,1.2,-.5),h3:y(l,48,1.167,0),h4:y(l,34,1.235,.25),h5:y(l,24,1.334,0),h6:y(c,20,1.6,.15),subtitle1:y(l,16,1.75,.15),subtitle2:y(c,14,1.57,.1),body1:y(l,16,1.5,.15),body2:y(l,14,1.43,.15),button:y(c,14,1.75,.4,x),caption:y(l,12,1.66,.4),overline:y(l,12,2.66,1,x),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,p.Z)((0,r.Z)({htmlFontSize:d,pxToRem:b,fontFamily:a,fontSize:o,fontWeightLight:s,fontWeightRegular:l,fontWeightMedium:c,fontWeightBold:u},E),g,{clone:!1})}(c,s),transitions:function(e){let t=(0,r.Z)({},D,e.easing),n=(0,r.Z)({},P,e.duration);return(0,r.Z)({getAutoHeightDuration:F,create:(e=["all"],r={})=>{let{duration:a=n.standard,easing:o=t.easeInOut,delay:s=0}=r;return(0,i.Z)(r,L),(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof a?a:M(a)} ${o} ${"string"==typeof s?s:M(s)}`).join(",")}},e,{easing:t,duration:n})}(o),zIndex:(0,r.Z)({},B)});return(U=[].reduce((e,t)=>(0,p.Z)(e,t),U=(0,p.Z)(U,l))).unstable_sxConfig=(0,r.Z)({},d.Z,null==l?void 0:l.unstable_sxConfig),U.unstable_sx=function(e){return(0,f.Z)({sx:e,theme:this})},U}();var G="$$material",H=n(58128);let z=(0,H.ZP)({themeId:G,defaultTheme:U,rootShouldForwardProp:e=>"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e&&"classes"!==e});var $=n(1977),W=n(8027);function Z(e){return(0,W.ZP)("MuiSvgIcon",e)}(0,$.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var Y=n(85893);let V=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],q=e=>{let{color:t,fontSize:n,classes:r}=e,a={root:["root","inherit"!==t&&`color${l(t)}`,`fontSize${l(n)}`]};return(0,s.Z)(a,Z,r)},K=z("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${l(n.color)}`],t[`fontSize${l(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,a,i,o,s,l,c,u,p,d,f,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(a=e.transitions)||null==(a=a.duration)?void 0:a.shorter}),fontSize:({inherit:"inherit",small:(null==(i=e.typography)||null==(o=i.pxToRem)?void 0:o.call(i,20))||"1.25rem",medium:(null==(s=e.typography)||null==(l=s.pxToRem)?void 0:l.call(s,24))||"1.5rem",large:(null==(c=e.typography)||null==(u=c.pxToRem)?void 0:u.call(c,35))||"2.1875rem"})[t.fontSize],color:null!=(p=null==(d=(e.vars||e).palette)||null==(d=d[t.color])?void 0:d.main)?p:({action:null==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.active,disabled:null==(h=(e.vars||e).palette)||null==(h=h.action)?void 0:h.disabled,inherit:void 0})[t.color]}}),X=a.forwardRef(function(e,t){let n=function({props:e,name:t}){return(0,c.Z)({props:e,name:t,defaultTheme:U,themeId:G})}({props:e,name:"MuiSvgIcon"}),{children:s,className:l,color:u="inherit",component:p="svg",fontSize:d="medium",htmlColor:f,inheritViewBox:h=!1,titleAccess:g,viewBox:m="0 0 24 24"}=n,b=(0,i.Z)(n,V),y=a.isValidElement(s)&&"svg"===s.type,E=(0,r.Z)({},n,{color:u,component:p,fontSize:d,instanceFontSize:e.fontSize,inheritViewBox:h,viewBox:m,hasSvgAsChild:y}),v={};h||(v.viewBox=m);let T=q(E);return(0,Y.jsxs)(K,(0,r.Z)({as:p,className:(0,o.Z)(T.root,l),focusable:"false",color:f,"aria-hidden":!g||void 0,role:g?"img":void 0,ref:t},v,b,y&&s.props,{ownerState:E,children:[y?s.props.children:s,g?(0,Y.jsx)("title",{children:g}):null]}))});function Q(e,t){function n(n,a){return(0,Y.jsx)(X,(0,r.Z)({"data-testid":`${t}Icon`,ref:a},n,{children:e}))}return n.muiName=X.muiName,a.memo(a.forwardRef(n))}X.muiName="SvgIcon"},2101:function(e,t,n){"use strict";var r=n(64836);t._j=function(e,t){if(e=s(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return l(e)},t.mi=function(e,t){let n=c(e),r=c(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)},t.$n=function(e,t){if(e=s(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return l(e)};var a=r(n(743)),i=r(n(49425));function o(e,t=0,n=1){return(0,i.default)(e,t,n)}function s(e){let t;if(e.type)return e;if("#"===e.charAt(0))return s(function(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map(e=>e+e)),n?`rgb${4===n.length?"a":""}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));let n=e.indexOf("("),r=e.substring(0,n);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw Error((0,a.default)(9,e));let i=e.substring(n+1,e.length-1);if("color"===r){if(t=(i=i.split(" ")).shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(t))throw Error((0,a.default)(10,t))}else i=i.split(",");return{type:r,values:i=i.map(e=>parseFloat(e)),colorSpace:t}}function l(e){let{type:t,colorSpace:n}=e,{values:r}=e;return -1!==t.indexOf("rgb")?r=r.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),`${t}(${r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`})`}function c(e){let t="hsl"===(e=s(e)).type||"hsla"===e.type?s(function(e){e=s(e);let{values:t}=e,n=t[0],r=t[1]/100,a=t[2]/100,i=r*Math.min(a,1-a),o=(e,t=(e+n/30)%12)=>a-i*Math.max(Math.min(t-3,9-t,1),-1),c="rgb",u=[Math.round(255*o(0)),Math.round(255*o(8)),Math.round(255*o(4))];return"hsla"===e.type&&(c+="a",u.push(t[3])),l({type:c,values:u})}(e)).values:e.values;return Number((.2126*(t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)))[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}},58128:function(e,t,n){"use strict";var r=n(64836);t.ZP=function(e={}){let{themeId:t,defaultTheme:n=g,rootShouldForwardProp:r=h,slotShouldForwardProp:l=h}=e,u=e=>(0,c.default)((0,a.default)({},e,{theme:b((0,a.default)({},e,{defaultTheme:n,themeId:t}))}));return u.__mui_systemSx=!0,(e,c={})=>{var p;let f;(0,o.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));let{name:g,slot:E,skipVariantsResolver:v,skipSx:T,overridesResolver:S=(p=m(E))?(e,t)=>t[p]:null}=c,A=(0,i.default)(c,d),O=void 0!==v?v:E&&"Root"!==E&&"root"!==E||!1,_=T||!1,k=h;"Root"===E||"root"===E?k=r:E?k=l:"string"==typeof e&&e.charCodeAt(0)>96&&(k=void 0);let C=(0,o.default)(e,(0,a.default)({shouldForwardProp:k,label:f},A)),w=e=>"function"==typeof e&&e.__emotion_real!==e||(0,s.isPlainObject)(e)?r=>y(e,(0,a.default)({},r,{theme:b({theme:r.theme,defaultTheme:n,themeId:t})})):e,x=(r,...i)=>{let o=w(r),s=i?i.map(w):[];g&&S&&s.push(e=>{let r=b((0,a.default)({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[g]||!r.components[g].styleOverrides)return null;let i=r.components[g].styleOverrides,o={};return Object.entries(i).forEach(([t,n])=>{o[t]=y(n,(0,a.default)({},e,{theme:r}))}),S(e,o)}),g&&!O&&s.push(e=>{var r;let i=b((0,a.default)({},e,{defaultTheme:n,themeId:t})),o=null==i||null==(r=i.components)||null==(r=r[g])?void 0:r.variants;return y({variants:o},(0,a.default)({},e,{theme:i}))}),_||s.push(u);let l=s.length-i.length;if(Array.isArray(r)&&l>0){let e=Array(l).fill("");(o=[...r,...e]).raw=[...r.raw,...e]}let c=C(o,...s);return e.muiName&&(c.muiName=e.muiName),c};return C.withConfig&&(x.withConfig=C.withConfig),x}};var a=r(n(10434)),i=r(n(7071)),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(23534)),s=n(211);r(n(99698)),r(n(37889));var l=r(n(19926)),c=r(n(386));let u=["ownerState"],p=["variants"],d=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function h(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}let g=(0,l.default)(),m=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function b({defaultTheme:e,theme:t,themeId:n}){return 0===Object.keys(t).length?e:t[n]||t}function y(e,t){let{ownerState:n}=t,r=(0,i.default)(t,u),o="function"==typeof e?e((0,a.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(e=>y(e,(0,a.default)({ownerState:n},r)));if(o&&"object"==typeof o&&Array.isArray(o.variants)){let{variants:e=[]}=o,t=(0,i.default)(o,p),s=t;return e.forEach(e=>{let t=!0;"function"==typeof e.props?t=e.props((0,a.default)({ownerState:n},r,n)):Object.keys(e.props).forEach(a=>{(null==n?void 0:n[a])!==e.props[a]&&r[a]!==e.props[a]&&(t=!1)}),t&&(Array.isArray(s)||(s=[s]),s.push("function"==typeof e.style?e.style((0,a.default)({ownerState:n},r,n)):e.style))}),s}return o}},19926:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},private_createBreakpoints:function(){return a.Z},unstable_applyStyles:function(){return i.Z}});var r=n(88647),a=n(41512),i=n(57064)},386:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},extendSxProp:function(){return a.Z},unstable_createStyleFunctionSx:function(){return r.n},unstable_defaultSxConfig:function(){return i.Z}});var r=n(86523),a=n(39707),i=n(44920)},99698:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(62908)},49425:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r}});var r=function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}},211:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},isPlainObject:function(){return r.P}});var r=n(68027)},743:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(78758)},37889:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return l},getFunctionName:function(){return i}});var r=n(59864);let a=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function i(e){let t=`${e}`.match(a),n=t&&t[1];return n||""}function o(e,t=""){return e.displayName||e.name||i(e)||t}function s(e,t,n){let r=o(t);return e.displayName||(""!==r?`${n}(${r})`:n)}function l(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return o(e,"Component");if("object"==typeof e)switch(e.$$typeof){case r.ForwardRef:return s(e,e.render,"ForwardRef");case r.Memo:return s(e,e.type,"memo")}}}},57020:function(e,t,n){"use strict";n.d(t,{Z:function(){return eT}});var r=n(67294),a=n(99611),i=n(93967),o=n.n(i),s=n(87462),l=n(1413),c=n(4942),u=n(97685),p=n(71002),d=n(45987),f=n(27678),h=n(21770),g=n(40974),m=n(64019),b=n(15105),y=n(2788),E=n(29372),v=r.createContext(null),T=function(e){var t=e.visible,n=e.maskTransitionName,a=e.getContainer,i=e.prefixCls,s=e.rootClassName,u=e.icons,p=e.countRender,d=e.showSwitch,f=e.showProgress,h=e.current,g=e.transform,m=e.count,T=e.scale,S=e.minScale,A=e.maxScale,O=e.closeIcon,_=e.onSwitchLeft,k=e.onSwitchRight,C=e.onClose,w=e.onZoomIn,x=e.onZoomOut,I=e.onRotateRight,R=e.onRotateLeft,N=e.onFlipX,L=e.onFlipY,D=e.onReset,P=e.toolbarRender,M=e.zIndex,F=e.image,B=(0,r.useContext)(v),j=u.rotateLeft,U=u.rotateRight,G=u.zoomIn,H=u.zoomOut,z=u.close,$=u.left,W=u.right,Z=u.flipX,Y=u.flipY,V="".concat(i,"-operations-operation");r.useEffect(function(){var e=function(e){e.keyCode===b.Z.ESC&&C()};return t&&window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}},[t]);var q=[{icon:Y,onClick:L,type:"flipY"},{icon:Z,onClick:N,type:"flipX"},{icon:j,onClick:R,type:"rotateLeft"},{icon:U,onClick:I,type:"rotateRight"},{icon:H,onClick:x,type:"zoomOut",disabled:T<=S},{icon:G,onClick:w,type:"zoomIn",disabled:T===A}].map(function(e){var t,n=e.icon,a=e.onClick,s=e.type,l=e.disabled;return r.createElement("div",{className:o()(V,(t={},(0,c.Z)(t,"".concat(i,"-operations-operation-").concat(s),!0),(0,c.Z)(t,"".concat(i,"-operations-operation-disabled"),!!l),t)),onClick:a,key:s},n)}),K=r.createElement("div",{className:"".concat(i,"-operations")},q);return r.createElement(E.ZP,{visible:t,motionName:n},function(e){var t=e.className,n=e.style;return r.createElement(y.Z,{open:!0,getContainer:null!=a?a:document.body},r.createElement("div",{className:o()("".concat(i,"-operations-wrapper"),t,s),style:(0,l.Z)((0,l.Z)({},n),{},{zIndex:M})},null===O?null:r.createElement("button",{className:"".concat(i,"-close"),onClick:C},O||z),d&&r.createElement(r.Fragment,null,r.createElement("div",{className:o()("".concat(i,"-switch-left"),(0,c.Z)({},"".concat(i,"-switch-left-disabled"),0===h)),onClick:_},$),r.createElement("div",{className:o()("".concat(i,"-switch-right"),(0,c.Z)({},"".concat(i,"-switch-right-disabled"),h===m-1)),onClick:k},W)),r.createElement("div",{className:"".concat(i,"-footer")},f&&r.createElement("div",{className:"".concat(i,"-progress")},p?p(h+1,m):"".concat(h+1," / ").concat(m)),P?P(K,(0,l.Z)((0,l.Z)({icons:{flipYIcon:q[0],flipXIcon:q[1],rotateLeftIcon:q[2],rotateRightIcon:q[3],zoomOutIcon:q[4],zoomInIcon:q[5]},actions:{onFlipY:L,onFlipX:N,onRotateLeft:R,onRotateRight:I,onZoomOut:x,onZoomIn:w,onReset:D,onClose:C},transform:g},B?{current:h,total:m}:{}),{},{image:F})):K)))})},S=n(91881),A=n(75164),O={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1},_=n(80334);function k(e,t,n,r){var a=t+n,i=(n-r)/2;if(n>r){if(t>0)return(0,c.Z)({},e,i);if(t<0&&ar)return(0,c.Z)({},e,t<0?i:-i);return{}}function C(e,t,n,r){var a=(0,f.g1)(),i=a.width,o=a.height,s=null;return e<=i&&t<=o?s={x:0,y:0}:(e>i||t>o)&&(s=(0,l.Z)((0,l.Z)({},k("x",n,e,i)),k("y",r,t,o))),s}function w(e){var t=e.src,n=e.isCustomPlaceholder,a=e.fallback,i=(0,r.useState)(n?"loading":"normal"),o=(0,u.Z)(i,2),s=o[0],l=o[1],c=(0,r.useRef)(!1),p="error"===s;(0,r.useEffect)(function(){var e=!0;return new Promise(function(e){var n=document.createElement("img");n.onerror=function(){return e(!1)},n.onload=function(){return e(!0)},n.src=t}).then(function(t){!t&&e&&l("error")}),function(){e=!1}},[t]),(0,r.useEffect)(function(){n&&!c.current?l("loading"):p&&l("normal")},[t]);var d=function(){l("normal")};return[function(e){c.current=!1,"loading"===s&&null!=e&&e.complete&&(e.naturalWidth||e.naturalHeight)&&(c.current=!0,d())},p&&a?{src:a}:{onLoad:d,src:t},s]}function x(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}var I=["fallback","src","imgRef"],R=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],N=function(e){var t=e.fallback,n=e.src,a=e.imgRef,i=(0,d.Z)(e,I),o=w({src:n,fallback:t}),l=(0,u.Z)(o,2),c=l[0],p=l[1];return r.createElement("img",(0,s.Z)({ref:function(e){a.current=e,c(e)}},i,p))},L=function(e){var t,n,a,i,p,h,y,E,k,w,I,L,D,P,M,F,B,j,U,G,H,z,$,W,Z,Y,V,q,K=e.prefixCls,X=e.src,Q=e.alt,J=e.imageInfo,ee=e.fallback,et=e.movable,en=void 0===et||et,er=e.onClose,ea=e.visible,ei=e.icons,eo=e.rootClassName,es=e.closeIcon,el=e.getContainer,ec=e.current,eu=void 0===ec?0:ec,ep=e.count,ed=void 0===ep?1:ep,ef=e.countRender,eh=e.scaleStep,eg=void 0===eh?.5:eh,em=e.minScale,eb=void 0===em?1:em,ey=e.maxScale,eE=void 0===ey?50:ey,ev=e.transitionName,eT=e.maskTransitionName,eS=void 0===eT?"fade":eT,eA=e.imageRender,eO=e.imgCommonProps,e_=e.toolbarRender,ek=e.onTransform,eC=e.onChange,ew=(0,d.Z)(e,R),ex=(0,r.useRef)(),eI=(0,r.useContext)(v),eR=eI&&ed>1,eN=eI&&ed>=1,eL=(0,r.useState)(!0),eD=(0,u.Z)(eL,2),eP=eD[0],eM=eD[1],eF=(t=(0,r.useRef)(null),n=(0,r.useRef)([]),a=(0,r.useState)(O),p=(i=(0,u.Z)(a,2))[0],h=i[1],y=function(e,r){null===t.current&&(n.current=[],t.current=(0,A.Z)(function(){h(function(e){var a=e;return n.current.forEach(function(e){a=(0,l.Z)((0,l.Z)({},a),e)}),t.current=null,null==ek||ek({transform:a,action:r}),a})})),n.current.push((0,l.Z)((0,l.Z)({},p),e))},{transform:p,resetTransform:function(e){h(O),(0,S.Z)(O,p)||null==ek||ek({transform:O,action:e})},updateTransform:y,dispatchZoomChange:function(e,t,n,r,a){var i=ex.current,o=i.width,s=i.height,l=i.offsetWidth,c=i.offsetHeight,u=i.offsetLeft,d=i.offsetTop,h=e,g=p.scale*e;g>eE?(g=eE,h=eE/p.scale):g0&&(t=1/t),eG(t,"wheel",e.clientX,e.clientY)}}}),ez=eH.isMoving,e$=eH.onMouseDown,eW=eH.onWheel,eZ=(U=eB.rotate,G=eB.scale,H=eB.x,z=eB.y,$=(0,r.useState)(!1),Z=(W=(0,u.Z)($,2))[0],Y=W[1],V=(0,r.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),q=function(e){V.current=(0,l.Z)((0,l.Z)({},V.current),e)},(0,r.useEffect)(function(){var e;return ea&&en&&(e=(0,m.Z)(window,"touchmove",function(e){return e.preventDefault()},{passive:!1})),function(){var t;null===(t=e)||void 0===t||t.remove()}},[ea,en]),{isTouching:Z,onTouchStart:function(e){if(en){e.stopPropagation(),Y(!0);var t=e.touches,n=void 0===t?[]:t;n.length>1?q({point1:{x:n[0].clientX,y:n[0].clientY},point2:{x:n[1].clientX,y:n[1].clientY},eventType:"touchZoom"}):q({point1:{x:n[0].clientX-H,y:n[0].clientY-z},eventType:"move"})}},onTouchMove:function(e){var t=e.touches,n=void 0===t?[]:t,r=V.current,a=r.point1,i=r.point2,o=r.eventType;if(n.length>1&&"touchZoom"===o){var s={x:n[0].clientX,y:n[0].clientY},l={x:n[1].clientX,y:n[1].clientY},c=function(e,t,n,r){var a=x(e,n),i=x(t,r);if(0===a&&0===i)return[e.x,e.y];var o=a/(a+i);return[e.x+o*(t.x-e.x),e.y+o*(t.y-e.y)]}(a,i,s,l),p=(0,u.Z)(c,2),d=p[0],f=p[1];eG(x(s,l)/x(a,i),"touchZoom",d,f,!0),q({point1:s,point2:l,eventType:"touchZoom"})}else"move"===o&&(eU({x:n[0].clientX-a.x,y:n[0].clientY-a.y},"move"),q({eventType:"move"}))},onTouchEnd:function(){if(ea){if(Z&&Y(!1),q({eventType:"none"}),eb>G)return eU({x:0,y:0,scale:eb},"touchZoom");var e=ex.current.offsetWidth*G,t=ex.current.offsetHeight*G,n=ex.current.getBoundingClientRect(),r=n.left,a=n.top,i=U%180!=0,o=C(i?t:e,i?e:t,r,a);o&&eU((0,l.Z)({},o),"dragRebound")}}}),eY=eZ.isTouching,eV=eZ.onTouchStart,eq=eZ.onTouchMove,eK=eZ.onTouchEnd,eX=eB.rotate,eQ=eB.scale,eJ=o()((0,c.Z)({},"".concat(K,"-moving"),ez));(0,r.useEffect)(function(){eP||eM(!0)},[eP]);var e0=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu>0&&(eM(!1),ej("prev"),null==eC||eC(eu-1,eu))},e1=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu({position:e||"absolute",inset:0}),eu=e=>{let{iconCls:t,motionDurationSlow:n,paddingXXS:r,marginXXS:a,prefixCls:i,colorTextLightSolid:o}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:o,background:new en.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${i}-mask-info`]:Object.assign(Object.assign({},ea.vS),{padding:`0 ${(0,et.bf)(r)}`,[t]:{marginInlineEnd:a,svg:{verticalAlign:"baseline"}}})}},ep=e=>{let{previewCls:t,modalMaskBg:n,paddingSM:r,marginXL:a,margin:i,paddingLG:o,previewOperationColorDisabled:s,previewOperationHoverColor:l,motionDurationSlow:c,iconCls:u,colorTextLightSolid:p}=e,d=new en.C(n).setAlpha(.1),f=d.clone().setAlpha(.2);return{[`${t}-footer`]:{position:"fixed",bottom:a,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor,transform:"translateX(-50%)"},[`${t}-progress`]:{marginBottom:i},[`${t}-close`]:{position:"fixed",top:a,right:{_skip_check_:!0,value:a},display:"flex",color:p,backgroundColor:d.toRgbString(),borderRadius:"50%",padding:r,outline:0,border:0,cursor:"pointer",transition:`all ${c}`,"&:hover":{backgroundColor:f.toRgbString()},[`& > ${u}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,et.bf)(o)}`,backgroundColor:d.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:r,padding:r,cursor:"pointer",transition:`all ${c}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${u}`]:{color:l},"&-disabled":{color:s,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${u}`]:{fontSize:e.previewOperationSize}}}}},ed=e=>{let{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:r,previewCls:a,zIndexPopup:i,motionDurationSlow:o}=e,s=new en.C(t).setAlpha(.1),l=s.clone().setAlpha(.2);return{[`${a}-switch-left, ${a}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(i).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:s.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${o}`,userSelect:"none","&:hover":{background:l.toRgbString()},"&-disabled":{"&, &:hover":{color:r,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${a}-switch-left`]:{insetInlineStart:e.marginSM},[`${a}-switch-right`]:{insetInlineEnd:e.marginSM}}},ef=e=>{let{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:a}=e;return[{[`${a}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:Object.assign(Object.assign({},ec()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${r} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},ec()),{transition:`transform ${r} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${a}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${a}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal()},"&":[ep(e),ed(e)]}]},eh=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},eu(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},ec())}}},eg=e=>{let{previewCls:t}=e;return{[`${t}-root`]:(0,ei._y)(e,"zoom"),"&":(0,eo.J$)(e,!0)}};var em=(0,es.I$)("Image",e=>{let t=`${e.componentCls}-preview`,n=(0,el.IX)(e,{previewCls:t,modalMaskBg:new en.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[eh(n),ef(n),(0,er.QA)((0,el.IX)(n,{componentCls:t})),eg(n)]},e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new en.C(e.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new en.C(e.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new en.C(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:1.5*e.fontSizeIcon})),eb=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ey={rotateLeft:r.createElement(K.Z,null),rotateRight:r.createElement(X.Z,null),zoomIn:r.createElement(J.Z,null),zoomOut:r.createElement(ee.Z,null),close:r.createElement(Y.Z,null),left:r.createElement(V.Z,null),right:r.createElement(q.Z,null),flipX:r.createElement(Q.Z,null),flipY:r.createElement(Q.Z,{rotate:90})};var eE=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ev=e=>{var t;let{prefixCls:n,preview:i,className:s,rootClassName:l,style:c}=e,u=eE(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:p,locale:d=Z.Z,getPopupContainer:f,image:h}=r.useContext($.E_),g=p("image",n),m=p(),b=d.Image||Z.Z.Image,y=(0,W.Z)(g),[E,v,T]=em(g,y),S=o()(l,v,T,y),A=o()(s,v,null==h?void 0:h.className),[O]=(0,H.Cn)("ImagePreview","object"==typeof i?i.zIndex:void 0),_=r.useMemo(()=>{var e;if(!1===i)return i;let t="object"==typeof i?i:{},{getContainer:n,closeIcon:o}=t,s=eE(t,["getContainer","closeIcon"]);return Object.assign(Object.assign({mask:r.createElement("div",{className:`${g}-mask-info`},r.createElement(a.Z,null),null==b?void 0:b.preview),icons:ey},s),{getContainer:null!=n?n:f,transitionName:(0,z.m)(m,"zoom",t.transitionName),maskTransitionName:(0,z.m)(m,"fade",t.maskTransitionName),zIndex:O,closeIcon:null!=o?o:null===(e=null==h?void 0:h.preview)||void 0===e?void 0:e.closeIcon})},[i,b,null===(t=null==h?void 0:h.preview)||void 0===t?void 0:t.closeIcon]),k=Object.assign(Object.assign({},null==h?void 0:h.style),c);return E(r.createElement(G,Object.assign({prefixCls:g,preview:_,rootClassName:S,className:A,style:k},u)))};ev.PreviewGroup=e=>{var{previewPrefixCls:t,preview:n}=e,a=eb(e,["previewPrefixCls","preview"]);let{getPrefixCls:i}=r.useContext($.E_),s=i("image",t),l=`${s}-preview`,c=i(),u=(0,W.Z)(s),[p,d,f]=em(s,u),[h]=(0,H.Cn)("ImagePreview","object"==typeof n?n.zIndex:void 0),g=r.useMemo(()=>{var e;if(!1===n)return n;let t="object"==typeof n?n:{},r=o()(d,f,u,null!==(e=t.rootClassName)&&void 0!==e?e:"");return Object.assign(Object.assign({},t),{transitionName:(0,z.m)(c,"zoom",t.transitionName),maskTransitionName:(0,z.m)(c,"fade",t.maskTransitionName),rootClassName:r,zIndex:h})},[n]);return p(r.createElement(G.PreviewGroup,Object.assign({preview:g,previewPrefixCls:l,icons:ey},a)))};var eT=ev},62502:function(e,t,n){"use strict";var r=n(15575),a=n(64977),i=n(72869),o=n(32473).Q,s=n(24395).Q;e.exports=function(e,t,n){var a=n?function(e){for(var t,n=e.length,r=-1,a={};++r4&&h.slice(0,4)===o&&s.test(t)&&("-"===t.charAt(4)?g=o+(n=t.slice(5).replace(l,p)).charAt(0).toUpperCase()+n.slice(1):(f=(d=t).slice(4),t=l.test(f)?d:("-"!==(f=f.replace(c,u)).charAt(0)&&(f="-"+f),o+f)),m=a),new m(g,t))};var s=/^data[-\w.:]+$/i,l=/-[a-z]/g,c=/[A-Z]/g;function u(e){return"-"+e.toLowerCase()}function p(e){return e.charAt(1).toUpperCase()}},48055:function(e,t,n){"use strict";var r=n(26230),a=n(13970),i=n(10629),o=n(647),s=n(91305),l=n(22537);e.exports=r([i,a,o,s,l])},91305:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=r.booleanish,o=r.number,s=r.spaceSeparated;e.exports=a({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:i,ariaAutoComplete:null,ariaBusy:i,ariaChecked:i,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:s,ariaCurrent:null,ariaDescribedBy:s,ariaDetails:null,ariaDisabled:i,ariaDropEffect:s,ariaErrorMessage:null,ariaExpanded:i,ariaFlowTo:s,ariaGrabbed:i,ariaHasPopup:null,ariaHidden:i,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s,ariaLevel:o,ariaLive:null,ariaModal:i,ariaMultiLine:i,ariaMultiSelectable:i,ariaOrientation:null,ariaOwns:s,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:i,ariaReadOnly:i,ariaRelevant:null,ariaRequired:i,ariaRoleDescription:s,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:i,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}})},22537:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=n(19348),o=r.boolean,s=r.overloadedBoolean,l=r.booleanish,c=r.number,u=r.spaceSeparated,p=r.commaSeparated;e.exports=a({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:i,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:p,acceptCharset:u,accessKey:u,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:u,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:u,cols:c,colSpan:null,content:null,contentEditable:l,controls:o,controlsList:u,coords:c|p,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:s,draggable:l,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:u,height:c,hidden:o,high:c,href:null,hrefLang:null,htmlFor:u,httpEquiv:u,id:null,imageSizes:null,imageSrcSet:p,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:u,itemRef:u,itemScope:o,itemType:u,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:u,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:u,required:o,reversed:o,rows:c,rowSpan:c,sandbox:u,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:c,sizes:null,slot:null,span:c,spellCheck:l,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:l,width:c,wrap:null,align:null,aLink:null,archive:u,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:l,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}})},19348:function(e,t,n){"use strict";var r=n(21098);e.exports=function(e,t){return r(e,t.toLowerCase())}},21098:function(e){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},47589:function(e,t,n){"use strict";var r=n(64977),a=n(16038),i=n(78444);e.exports=function(e){var t,n,o=e.space,s=e.mustUseProperty||[],l=e.attributes||{},c=e.properties,u=e.transform,p={},d={};for(t in c)n=new i(t,u(l,t),c[t],o),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),p[t]=n,d[r(t)]=t,d[r(n.attribute)]=t;return new a(p,d,o)}},78444:function(e,t,n){"use strict";var r=n(40313),a=n(61422);e.exports=s,s.prototype=new r,s.prototype.defined=!0;var i=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=i.length;function s(e,t,n,s){var l,c,u,p=-1;for(s&&(this.space=s),r.call(this,e,t);++p=97&&t<=122||t>=65&&t<=90}},7961:function(e,t,n){"use strict";var r=n(46260),a=n(46195);e.exports=function(e){return r(e)||a(e)}},46195:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},79480:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}},85813:function(e,t,n){"use strict";n.d(t,{r:function(){return _6}});var r,a,i,o,s,l,c,u,p,d,f,h,g,m,b,y,E,v,T,S,A,O,_,k,C,w,x,I,R,N,L,D,P,M,F,B,j,U,G,H,z,$,W,Z,Y,V,q,K,X,Q,J,ee,et,en,er,ea={};n.r(ea),n.d(ea,{area:function(){return cf},bottom:function(){return cT},bottomLeft:function(){return cT},bottomRight:function(){return cT},inside:function(){return cT},left:function(){return cT},outside:function(){return c_},right:function(){return cT},spider:function(){return cR},surround:function(){return cL},top:function(){return cT},topLeft:function(){return cT},topRight:function(){return cT}});var ei={};n.r(ei),n.d(ei,{interpolateBlues:function(){return uD.interpolateBlues},interpolateBrBG:function(){return uD.interpolateBrBG},interpolateBuGn:function(){return uD.interpolateBuGn},interpolateBuPu:function(){return uD.interpolateBuPu},interpolateCividis:function(){return uD.interpolateCividis},interpolateCool:function(){return uD.interpolateCool},interpolateCubehelixDefault:function(){return uD.interpolateCubehelixDefault},interpolateGnBu:function(){return uD.interpolateGnBu},interpolateGreens:function(){return uD.interpolateGreens},interpolateGreys:function(){return uD.interpolateGreys},interpolateInferno:function(){return uD.interpolateInferno},interpolateMagma:function(){return uD.interpolateMagma},interpolateOrRd:function(){return uD.interpolateOrRd},interpolateOranges:function(){return uD.interpolateOranges},interpolatePRGn:function(){return uD.interpolatePRGn},interpolatePiYG:function(){return uD.interpolatePiYG},interpolatePlasma:function(){return uD.interpolatePlasma},interpolatePuBu:function(){return uD.interpolatePuBu},interpolatePuBuGn:function(){return uD.interpolatePuBuGn},interpolatePuOr:function(){return uD.interpolatePuOr},interpolatePuRd:function(){return uD.interpolatePuRd},interpolatePurples:function(){return uD.interpolatePurples},interpolateRainbow:function(){return uD.interpolateRainbow},interpolateRdBu:function(){return uD.interpolateRdBu},interpolateRdGy:function(){return uD.interpolateRdGy},interpolateRdPu:function(){return uD.interpolateRdPu},interpolateRdYlBu:function(){return uD.interpolateRdYlBu},interpolateRdYlGn:function(){return uD.interpolateRdYlGn},interpolateReds:function(){return uD.interpolateReds},interpolateSinebow:function(){return uD.interpolateSinebow},interpolateSpectral:function(){return uD.interpolateSpectral},interpolateTurbo:function(){return uD.interpolateTurbo},interpolateViridis:function(){return uD.interpolateViridis},interpolateWarm:function(){return uD.interpolateWarm},interpolateYlGn:function(){return uD.interpolateYlGn},interpolateYlGnBu:function(){return uD.interpolateYlGnBu},interpolateYlOrBr:function(){return uD.interpolateYlOrBr},interpolateYlOrRd:function(){return uD.interpolateYlOrRd},schemeAccent:function(){return uD.schemeAccent},schemeBlues:function(){return uD.schemeBlues},schemeBrBG:function(){return uD.schemeBrBG},schemeBuGn:function(){return uD.schemeBuGn},schemeBuPu:function(){return uD.schemeBuPu},schemeCategory10:function(){return uD.schemeCategory10},schemeDark2:function(){return uD.schemeDark2},schemeGnBu:function(){return uD.schemeGnBu},schemeGreens:function(){return uD.schemeGreens},schemeGreys:function(){return uD.schemeGreys},schemeOrRd:function(){return uD.schemeOrRd},schemeOranges:function(){return uD.schemeOranges},schemePRGn:function(){return uD.schemePRGn},schemePaired:function(){return uD.schemePaired},schemePastel1:function(){return uD.schemePastel1},schemePastel2:function(){return uD.schemePastel2},schemePiYG:function(){return uD.schemePiYG},schemePuBu:function(){return uD.schemePuBu},schemePuBuGn:function(){return uD.schemePuBuGn},schemePuOr:function(){return uD.schemePuOr},schemePuRd:function(){return uD.schemePuRd},schemePurples:function(){return uD.schemePurples},schemeRdBu:function(){return uD.schemeRdBu},schemeRdGy:function(){return uD.schemeRdGy},schemeRdPu:function(){return uD.schemeRdPu},schemeRdYlBu:function(){return uD.schemeRdYlBu},schemeRdYlGn:function(){return uD.schemeRdYlGn},schemeReds:function(){return uD.schemeReds},schemeSet1:function(){return uD.schemeSet1},schemeSet2:function(){return uD.schemeSet2},schemeSet3:function(){return uD.schemeSet3},schemeSpectral:function(){return uD.schemeSpectral},schemeTableau10:function(){return uD.schemeTableau10},schemeYlGn:function(){return uD.schemeYlGn},schemeYlGnBu:function(){return uD.schemeYlGnBu},schemeYlOrBr:function(){return uD.schemeYlOrBr},schemeYlOrRd:function(){return uD.schemeYlOrRd}});var eo={};n.r(eo);var es={};n.r(es),n.d(es,{geoAlbers:function(){return Ta.Z},geoAlbersUsa:function(){return Tr.Z},geoAzimuthalEqualArea:function(){return Ti.Z},geoAzimuthalEqualAreaRaw:function(){return Ti.l},geoAzimuthalEquidistant:function(){return To.Z},geoAzimuthalEquidistantRaw:function(){return To.N},geoConicConformal:function(){return Ts.Z},geoConicConformalRaw:function(){return Ts.l},geoConicEqualArea:function(){return Tl.Z},geoConicEqualAreaRaw:function(){return Tl.v},geoConicEquidistant:function(){return Tc.Z},geoConicEquidistantRaw:function(){return Tc.o},geoEqualEarth:function(){return Tu.Z},geoEqualEarthRaw:function(){return Tu.i},geoEquirectangular:function(){return Tp.Z},geoEquirectangularRaw:function(){return Tp.k},geoGnomonic:function(){return Td.Z},geoGnomonicRaw:function(){return Td.M},geoIdentity:function(){return Tf.Z},geoMercator:function(){return Tg.ZP},geoMercatorRaw:function(){return Tg.hk},geoNaturalEarth1:function(){return Tm.Z},geoNaturalEarth1Raw:function(){return Tm.K},geoOrthographic:function(){return Tb.Z},geoOrthographicRaw:function(){return Tb.I},geoProjection:function(){return Th.Z},geoProjectionMutator:function(){return Th.r},geoStereographic:function(){return Ty.Z},geoStereographicRaw:function(){return Ty.T},geoTransverseMercator:function(){return TE.Z},geoTransverseMercatorRaw:function(){return TE.F}});var el={};n.r(el),n.d(el,{frequency:function(){return Sh},id:function(){return Sg},name:function(){return Sm},weight:function(){return Sf}});var ec=n(74902),eu=n(1413),ep=n(87462),ed=n(97685),ef=n(45987),eh=n(50888),eg=n(96486),em=n(67294),eb=function(){return(eb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n-1&&!e.return)switch(e.type){case ek:e.return=function e(t,n,r){var a;switch(a=n,45^eD(t,0)?(((a<<2^eD(t,0))<<2^eD(t,1))<<2^eD(t,2))<<2^eD(t,3):0){case 5103:return eA+"print-"+t+t;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 eA+t+t;case 4789:return eS+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return eA+t+eS+t+eT+t+t;case 5936:switch(eD(t,n+11)){case 114:return eA+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return eA+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return eA+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return eA+t+eT+t+t;case 6165:return eA+t+eT+"flex-"+t+t;case 5187:return eA+t+eN(t,/(\w+).+(:[^]+)/,eA+"box-$1$2"+eT+"flex-$1$2")+t;case 5443:return eA+t+eT+"flex-item-"+eN(t,/flex-|-self/g,"")+(eR(t,/flex-|baseline/)?"":eT+"grid-row-"+eN(t,/flex-|-self/g,""))+t;case 4675:return eA+t+eT+"flex-line-pack"+eN(t,/align-content|flex-|-self/g,"")+t;case 5548:return eA+t+eT+eN(t,"shrink","negative")+t;case 5292:return eA+t+eT+eN(t,"basis","preferred-size")+t;case 6060:return eA+"box-"+eN(t,"-grow","")+eA+t+eT+eN(t,"grow","positive")+t;case 4554:return eA+eN(t,/([^-])(transform)/g,"$1"+eA+"$2")+t;case 6187:return eN(eN(eN(t,/(zoom-|grab)/,eA+"$1"),/(image-set)/,eA+"$1"),t,"")+t;case 5495:case 3959:return eN(t,/(image-set\([^]*)/,eA+"$1$`$1");case 4968:return eN(eN(t,/(.+:)(flex-)?(.*)/,eA+"box-pack:$3"+eT+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+eA+t+t;case 4200:if(!eR(t,/flex-|baseline/))return eT+"grid-column-align"+eP(t,n)+t;break;case 2592:case 3360:return eT+eN(t,"template-","")+t;case 4384:case 3616:if(r&&r.some(function(e,t){return n=t,eR(e.props,/grid-\w+-end/)}))return~eL(t+(r=r[n].value),"span",0)?t:eT+eN(t,"-start","")+t+eT+"grid-row-span:"+(~eL(r,"span",0)?eR(r,/\d+/):+eR(r,/\d+/)-+eR(t,/\d+/))+";";return eT+eN(t,"-start","")+t;case 4896:case 4128:return r&&r.some(function(e){return eR(e.props,/grid-\w+-start/)})?t:eT+eN(eN(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return eN(t,/(.+)-inline(.+)/,eA+"$1$2")+t;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(eM(t)-1-n>6)switch(eD(t,n+1)){case 109:if(45!==eD(t,n+4))break;case 102:return eN(t,/(.+:)(.+)-([^]+)/,"$1"+eA+"$2-$3$1"+eS+(108==eD(t,n+3)?"$3":"$2-$3"))+t;case 115:return~eL(t,"stretch",0)?e(eN(t,"stretch","fill-available"),n,r)+t:t}break;case 5152:case 5920:return eN(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(e,n,r,a,i,o,s){return eT+n+":"+r+s+(a?eT+n+"-span:"+(i?o:+o-+r)+s:"")+t});case 4949:if(121===eD(t,n+6))return eN(t,":",":"+eA)+t;break;case 6444:switch(eD(t,45===eD(t,14)?18:11)){case 120:return eN(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+eA+(45===eD(t,14)?"inline-":"")+"box$3$1"+eA+"$2$3$1"+eT+"$2box$3")+t;case 100:return eN(t,":",":"+eT)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return eN(t,"scroll-","scroll-snap-")+t}return t}(e.value,e.length,n);return;case eC:return eQ([eZ(e,{value:eN(e.value,"@","@"+eA)})],r);case e_:if(e.length)return(n=e.props).map(function(t){switch(eR(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":eY(eZ(e,{props:[eN(t,/:(read-\w+)/,":"+eS+"$1")]})),eY(eZ(e,{props:[t]})),eI(e,{props:eB(n,r)});break;case"::placeholder":eY(eZ(e,{props:[eN(t,/:(plac\w+)/,":"+eA+"input-$1")]})),eY(eZ(e,{props:[eN(t,/:(plac\w+)/,":"+eS+"$1")]})),eY(eZ(e,{props:[eN(t,/:(plac\w+)/,eT+"input-$1")]})),eY(eZ(e,{props:[t]})),eI(e,{props:eB(n,r)})}return""}).join("")}}function e1(e,t,n,r,a,i,o,s,l,c,u,p){for(var d=a-1,f=0===a?i:[""],h=f.length,g=0,m=0,b=0;g0?f[y]+" "+E:eN(E,/&\f/g,f[y])).trim())&&(l[b++]=v);return eW(e,t,n,0===a?e_:s,l,c,u,p)}function e2(e,t,n,r,a){return eW(e,t,n,ek,eP(e,0,r),eP(e,r+1,-1),r,a)}var e3=n(94371),e5=n(83454),e4=void 0!==e5&&void 0!==e5.env&&(e5.env.REACT_APP_SC_ATTR||e5.env.SC_ATTR)||"data-styled",e6="active",e9="data-styled-version",e8="6.1.15",e7="/*!sc*/\n",te="undefined"!=typeof window&&"HTMLElement"in window,tt=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==e5&&void 0!==e5.env&&void 0!==e5.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==e5.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==e5.env.REACT_APP_SC_DISABLE_SPEEDY&&e5.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==e5&&void 0!==e5.env&&void 0!==e5.env.SC_DISABLE_SPEEDY&&""!==e5.env.SC_DISABLE_SPEEDY&&"false"!==e5.env.SC_DISABLE_SPEEDY&&e5.env.SC_DISABLE_SPEEDY),tn=Object.freeze([]),tr=Object.freeze({}),ta=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),ti=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,to=/(^-|-$)/g;function ts(e){return e.replace(ti,"-").replace(to,"")}var tl=/(a)(d)/gi,tc=function(e){return String.fromCharCode(e+(e>25?39:97))};function tu(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=tc(t%52)+n;return(tc(t%52)+n).replace(tl,"$1-$2")}var tp,td=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},tf=function(e){return td(5381,e)};function th(e){return"string"==typeof e}var tg="function"==typeof Symbol&&Symbol.for,tm=tg?Symbol.for("react.memo"):60115,tb=tg?Symbol.for("react.forward_ref"):60112,ty={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},tE={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},tv={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},tT=((tp={})[tb]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},tp[tm]=tv,tp);function tS(e){return("type"in e&&e.type.$$typeof)===tm?tv:"$$typeof"in e?tT[e.$$typeof]:ty}var tA=Object.defineProperty,tO=Object.getOwnPropertyNames,t_=Object.getOwnPropertySymbols,tk=Object.getOwnPropertyDescriptor,tC=Object.getPrototypeOf,tw=Object.prototype;function tx(e){return"function"==typeof e}function tI(e){return"object"==typeof e&&"styledComponentId"in e}function tR(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function tN(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r0?" Args: ".concat(t.join(", ")):""))}var tM=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,a=r;e>=a;)if((a<<=1)<0)throw tP(16,"".concat(e));this.groupSizes=new Uint32Array(a),this.groupSizes.set(n),this.length=a;for(var i=r;i=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),a=r+n,i=r;i=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(l+="".concat(e,","))}),r+="".concat(o).concat(s,'{content:"').concat(l,'"}').concat(e7)}}})(a);return r}(r)})}return e.registerId=function(e){return tU(e)},e.prototype.rehydrate=function(){!this.server&&te&&tZ(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(eb(eb({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){var e,t,n,r;return this.tag||(this.tag=(n=(t=this.options).useCSSOMInjection,r=t.target,e=t.isServer?new tK(r):n?new tV(r):new tq(r),new tM(e)))},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(tU(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(tU(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(tU(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),t0=/&/g,t1=/^\s*\/\/.*$/gm;function t2(e){var t,n,r,a=void 0===e?tr:e,i=a.options,o=void 0===i?tr:i,s=a.plugins,l=void 0===s?tn:s,c=function(e,r,a){return a.startsWith(n)&&a.endsWith(n)&&a.replaceAll(n,"").length>0?".".concat(t):e},u=l.slice();u.push(function(e){e.type===e_&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(t0,n).replace(r,c))}),o.prefix&&u.push(e0),u.push(eJ);var p=function(e,a,i,s){void 0===a&&(a=""),void 0===i&&(i=""),void 0===s&&(s="&"),t=s,n=a,r=RegExp("\\".concat(n,"\\b"),"g");var l,c,p,d,f,h=e.replace(t1,""),g=(f=function e(t,n,r,a,i,o,s,l,c){for(var u,p=0,d=0,f=s,h=0,g=0,m=0,b=1,y=1,E=1,v=0,T="",S=i,A=o,O=a,_=T;y;)switch(m=v,v=eV()){case 40:if(108!=m&&58==eD(_,f-1)){-1!=eL(_+=eN(eX(v),"&","&\f"),"&\f",ew(p?l[p-1]:0))&&(E=-1);break}case 34:case 39:case 91:_+=eX(v);break;case 9:case 10:case 13:case 32:_+=function(e){for(;ez=eq();)if(ez<33)eV();else break;return eK(e)>2||eK(ez)>3?"":" "}(m);break;case 92:_+=function(e,t){for(var n;--t&&eV()&&!(ez<48)&&!(ez>102)&&(!(ez>57)||!(ez<65))&&(!(ez>70)||!(ez<97)););return n=eH+(t<6&&32==eq()&&32==eV()),eP(e$,e,n)}(eH-1,7);continue;case 47:switch(eq()){case 42:case 47:eF(eW(u=function(e,t){for(;eV();)if(e+ez===57)break;else if(e+ez===84&&47===eq())break;return"/*"+eP(e$,t,eH-1)+"*"+ex(47===e?e:eV())}(eV(),eH),n,r,eO,ex(ez),eP(u,2,-2),0,c),c);break;default:_+="/"}break;case 123*b:l[p++]=eM(_)*E;case 125*b:case 59:case 0:switch(v){case 0:case 125:y=0;case 59+d:-1==E&&(_=eN(_,/\f/g,"")),g>0&&eM(_)-f&&eF(g>32?e2(_+";",a,r,f-1,c):e2(eN(_," ","")+";",a,r,f-2,c),c);break;case 59:_+=";";default:if(eF(O=e1(_,n,r,p,d,i,l,T,S=[],A=[],f,o),o),123===v){if(0===d)e(_,n,O,O,S,o,f,l,A);else switch(99===h&&110===eD(_,3)?100:h){case 100:case 108:case 109:case 115:e(t,O,O,a&&eF(e1(t,O,O,0,0,i,l,T,i,S=[],f,A),A),i,A,f,l,a?S:A);break;default:e(_,O,O,O,[""],A,0,l,A)}}}p=d=g=0,b=E=1,T=_="",f=s;break;case 58:f=1+eM(_),g=m;default:if(b<1){if(123==v)--b;else if(125==v&&0==b++&&125==(ez=eH>0?eD(e$,--eH):0,eU--,10===ez&&(eU=1,ej--),ez))continue}switch(_+=ex(v),v*b){case 38:E=d>0?1:(_+="\f",-1);break;case 44:l[p++]=(eM(_)-1)*E,E=1;break;case 64:45===eq()&&(_+=eX(eV())),h=eq(),d=f=eM(T=_+=function(e){for(;!eK(eq());)eV();return eP(e$,e,eH)}(eH)),v++;break;case 45:45===m&&2==eM(_)&&(b=0)}}return o}("",null,null,null,[""],(d=p=i||a?"".concat(i," ").concat(a," { ").concat(h," }"):h,ej=eU=1,eG=eM(e$=d),eH=0,p=[]),0,[0],p),e$="",f);o.namespace&&(g=function e(t,n){return t.map(function(t){return"rule"===t.type&&(t.value="".concat(n," ").concat(t.value),t.value=t.value.replaceAll(",",",".concat(n," ")),t.props=t.props.map(function(e){return"".concat(n," ").concat(e)})),Array.isArray(t.children)&&"@keyframes"!==t.type&&(t.children=e(t.children,n)),t})}(g,o.namespace));var m=[];return eQ(g,(c=(l=u.concat(function(e){var t;!e.root&&(e=e.return)&&(t=e,m.push(t))})).length,function(e,t,n,r){for(var a="",i=0;i="A"&&r<="Z"?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var nt=function(e){return null==e||!1===e||""===e},nn=function(e){var t=[];for(var n in e){var r=e[n];e.hasOwnProperty(n)&&!nt(r)&&(Array.isArray(r)&&r.isCss||tx(r)?t.push("".concat(ne(n),":"),r,";"):tL(r)?t.push.apply(t,ey(ey(["".concat(n," {")],nn(r),!1),["}"],!1)):t.push("".concat(ne(n),": ").concat(null==r||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||n in e3.Z||n.startsWith("--")?String(r).trim():"".concat(r,"px"),";")))}return t};function nr(e,t,n,r){return nt(e)?[]:tI(e)?[".".concat(e.styledComponentId)]:tx(e)?!tx(e)||e.prototype&&e.prototype.isReactComponent||!t?[e]:nr(e(t),t,n,r):e instanceof t7?n?(e.inject(n,r),[e.getName(r)]):[e]:tL(e)?nn(e):Array.isArray(e)?Array.prototype.concat.apply(tn,e.map(function(e){return nr(e,t,n,r)})):[e.toString()]}function na(e){for(var t=0;t>>0);if(!t.hasNameForId(this.componentId,i)){var o=n(a,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,o)}r=tR(r,i),this.staticRulesId=i}}else{for(var s=td(this.baseHash,n.hash),l="",c=0;c>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,n(l,".".concat(d),void 0,this.componentId)),r=tR(r,d)}}return r},e}(),ns=em.createContext(void 0);ns.Consumer;var nl={};function nc(e,t,n){var r,a,i,o,s=tI(e),l=!th(e),c=t.attrs,u=void 0===c?tn:c,p=t.componentId,d=void 0===p?(r=t.displayName,a=t.parentComponentId,nl[i="string"!=typeof r?"sc":ts(r)]=(nl[i]||0)+1,o="".concat(i,"-").concat(tu(tf(e8+i+nl[i])>>>0)),a?"".concat(a,"-").concat(o):o):p,f=t.displayName,h=void 0===f?th(e)?"styled.".concat(e):"Styled(".concat(e.displayName||e.name||"Component",")"):f,g=t.displayName&&t.componentId?"".concat(ts(t.displayName),"-").concat(t.componentId):t.componentId||d,m=s&&e.attrs?e.attrs.concat(u).filter(Boolean):u,b=t.shouldForwardProp;if(s&&e.shouldForwardProp){var y=e.shouldForwardProp;if(t.shouldForwardProp){var E=t.shouldForwardProp;b=function(e,t){return y(e,t)&&E(e,t)}}else b=y}var v=new no(n,g,s?e.componentStyle:void 0);function T(e,t){return function(e,t,n){var r,a,i=e.attrs,o=e.componentStyle,s=e.defaultProps,l=e.foldedComponentIds,c=e.styledComponentId,u=e.target,p=em.useContext(ns),d=t9(),f=e.shouldForwardProp||d.shouldForwardProp,h=(void 0===(r=s)&&(r=tr),t.theme!==r.theme&&t.theme||p||r.theme||tr),g=function(e,t,n){for(var r,a=eb(eb({},t),{className:void 0,theme:n}),i=0;i2&&tJ.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=n.nc,a=tN([r&&'nonce="'.concat(r,'"'),"".concat(e4,'="true"'),"".concat(e9,'="').concat(e8,'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(e.sealed)throw tP(2);return e._emitSheetCSS()},this.getStyleElement=function(){if(e.sealed)throw tP(2);var t,r=e.instance.toString();if(!r)return[];var a=((t={})[e4]="",t[e9]=e8,t.dangerouslySetInnerHTML={__html:r},t),i=n.nc;return i&&(a.nonce=i),[em.createElement("style",eb({},a,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new tJ({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw tP(2);return em.createElement(t8,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw tP(3)}}();var nh=n(4942),ng=n(73935),nm=n.t(ng,2),nb=function(){return(nb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=18&&(J=ny.createRoot)}catch(e){}function nT(e){var t=ny.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"==typeof t&&(t.usingClientEntryPoint=e)}var nS="__rc_react_root__",nA=new Map;"undefined"!=typeof document&&nA.set("tooltip",document.createElement("div"));var nO=function(e,t){void 0===t&&(t=!1);var n=null;if(t)n=nA.get("tooltip");else if(n=document.createElement("div"),null==e?void 0:e.key){var r=nA.get(e.key);r?n=r:nA.set(e.key,n)}return!function(e,t){if(J){var n;nT(!0),n=t[nS]||J(t),nT(!1),n.render(e),t[nS]=n;return}nv(e,t)}(e,n),n},n_=function(e){if("undefined"==typeof document)return"loading";var t=e.attachShadow({mode:"open"}),n=document.createElement("div"),r=document.createElement("style");r.innerHTML=".loading {\n display: inline-block;\n position: relative;\n width: 80px;\n height: 80px;\n }\n .loading div {\n position: absolute;\n top: 33px;\n width: 13px;\n height: 13px;\n border-radius: 50%;\n background: #ccc;\n animation-timing-function: cubic-bezier(0, 1, 1, 0);\n }\n .loading div:nth-child(1) {\n left: 8px;\n animation: loading1 0.6s infinite;\n }\n .loading div:nth-child(2) {\n left: 8px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(3) {\n left: 32px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(4) {\n left: 56px;\n animation: loading3 0.6s infinite;\n }\n @keyframes loading1 {\n 0% {\n transform: scale(0);\n }\n 100% {\n transform: scale(1);\n }\n }\n @keyframes loading3 {\n 0% {\n transform: scale(1);\n }\n 100% {\n transform: scale(0);\n }\n }\n @keyframes loading2 {\n 0% {\n transform: translate(0, 0);\n }\n 100% {\n transform: translate(24px, 0);\n }\n }\n ",n.classList.add("loading"),n.innerHTML="
",t.appendChild(r),t.appendChild(n)},nk=function(e){var t=e.loadingTemplate,n=e.theme,r=em.useRef(null);return em.useEffect(function(){!t&&r.current&&n_(r.current)},[]),em.createElement("div",{className:"charts-loading-container",style:{position:"absolute",width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",left:0,top:0,zIndex:99,backgroundColor:"dark"===(void 0===n?"light":n)?"rgb(20, 20, 20)":"rgb(255, 255, 255)"}},t||em.createElement("div",{ref:r}))},nC=(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),nw=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={hasError:!1},t.renderError=function(e){var n=t.props.errorTemplate;return"function"==typeof n?n(e):n||em.createElement("h5",null,"组件出错了,请核查后重试: ",e.message)},t}return nC(t,e),t.getDerivedStateFromError=function(e){return{hasError:!0,error:e}},t.getDerivedStateFromProps=function(e,t){return t.children!==e.children?{children:e.children,hasError:!1,error:void 0}:null},t.prototype.render=function(){return this.state.hasError?this.renderError(this.state.error):em.createElement(em.Fragment,null,this.props.children)},t}(em.Component),nx=function(e,t,n){if(n||2==arguments.length)for(var r,a=0,i=t.length;a90)return this;this.computeMatrix()}return this._getAxes(),this.type===nN.iM.ORBITING||this.type===nN.iM.EXPLORING?this._getPosition():this.type===nN.iM.TRACKING&&this._getFocalPoint(),this._update(),this}},{key:"pan",value:function(e,t){var n=(0,nN.O4)(e,t,0),r=nG.d9(this.position);return nG.IH(r,r,nG.bA(nG.Ue(),this.right,n[0])),nG.IH(r,r,nG.bA(nG.Ue(),this.up,n[1])),this._setPosition(r),this.triggerUpdate(),this}},{key:"dolly",value:function(e){var t=this.forward,n=nG.d9(this.position),r=e*this.dollyingStep;return r=Math.max(Math.min(this.distance+e*this.dollyingStep,this.maxDistance),this.minDistance)-this.distance,n[0]+=r*t[0],n[1]+=r*t[1],n[2]+=r*t[2],this._setPosition(n),this.type===nN.iM.ORBITING||this.type===nN.iM.EXPLORING?this._getDistance():this.type===nN.iM.TRACKING&&nG.IH(this.focalPoint,n,this.distanceVector),this.triggerUpdate(),this}},{key:"cancelLandmarkAnimation",value:function(){void 0!==this.landmarkAnimationID&&this.canvas.cancelAnimationFrame(this.landmarkAnimationID)}},{key:"createLandmark",value:function(e){var t,n,r,a,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=i.position,s=void 0===o?this.position:o,l=i.focalPoint,c=void 0===l?this.focalPoint:l,u=i.roll,p=i.zoom,d=new nN.GZ.CameraContribution;d.setType(this.type,void 0),d.setPosition(s[0],null!==(t=s[1])&&void 0!==t?t:this.position[1],null!==(n=s[2])&&void 0!==n?n:this.position[2]),d.setFocalPoint(c[0],null!==(r=c[1])&&void 0!==r?r:this.focalPoint[1],null!==(a=c[2])&&void 0!==a?a:this.focalPoint[2]),d.setRoll(null!=u?u:this.roll),d.setZoom(null!=p?p:this.zoom);var f={name:e,matrix:nU.clone(d.getWorldTransform()),right:nG.d9(d.right),up:nG.d9(d.up),forward:nG.d9(d.forward),position:nG.d9(d.getPosition()),focalPoint:nG.d9(d.getFocalPoint()),distanceVector:nG.d9(d.getDistanceVector()),distance:d.getDistance(),dollyingStep:d.getDollyingStep(),azimuth:d.getAzimuth(),elevation:d.getElevation(),roll:d.getRoll(),relAzimuth:d.relAzimuth,relElevation:d.relElevation,relRoll:d.relRoll,zoom:d.getZoom()};return this.landmarks.push(f),f}},{key:"gotoLandmark",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=nB(e,"String")?this.landmarks.find(function(t){return t.name===e}):e;if(r){var a,i=nB(n,"Number")?{duration:n}:n,o=i.easing,s=void 0===o?"linear":o,l=i.duration,c=void 0===l?100:l,u=i.easingFunction,p=i.onfinish,d=void 0===p?void 0:p,f=i.onframe,h=void 0===f?void 0:f;this.cancelLandmarkAnimation();var g=r.position,m=r.focalPoint,b=r.zoom,y=r.roll,E=(void 0===u?void 0:u)||nN.GZ.EasingFunction(s),v=function(){t.setFocalPoint(m),t.setPosition(g),t.setRoll(y),t.setZoom(b),t.computeMatrix(),t.triggerUpdate(),null==d||d()};if(0===c)return v();var T=function(e){void 0===a&&(a=e);var n=e-a;if(n>=c){v();return}var r=E(n/c),i=nG.Ue(),o=nG.Ue(),s=1,l=0;if(nG.t7(i,t.focalPoint,m,r),nG.t7(o,t.position,g,r),l=t.roll*(1-r)+y*r,s=t.zoom*(1-r)+b*r,t.setFocalPoint(i),t.setPosition(o),t.setRoll(l),t.setZoom(s),nG.TK(i,m)+nG.TK(o,g)<=.01&&void 0===b&&void 0===y)return v();t.computeMatrix(),t.triggerUpdate(),nn?n:e},nZ={}.toString,nY=function(e){return null==e},nV=function(e){function t(e,n,r,a){var i;return(0,nL.Z)(this,t),(i=(0,nP.Z)(this,t,[e])).currentTime=r,i.timelineTime=a,i.target=n,i.type="finish",i.bubbles=!1,i.currentTarget=n,i.defaultPrevented=!1,i.eventPhase=i.AT_TARGET,i.timeStamp=Date.now(),i.currentTime=r,i.timelineTime=a,i}return(0,nM.Z)(t,e),(0,nD.Z)(t)}(nN.xA),nq=0,nK=(0,nD.Z)(function e(t,n){var r;(0,nL.Z)(this,e),this.currentTimePending=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._playbackRate=1,this._inTimeline=!0,this.effect=t,t.animation=this,this.timeline=n,this.id="".concat(nq++),this._inEffect=!!this.effect.update(0),this._totalDuration=Number(null===(r=this.effect)||void 0===r?void 0:r.getComputedTiming().endTime),this._holdTime=0,this._paused=!1,this.oldPlayState="idle",this.updatePromises()},[{key:"pending",get:function(){return null===this._startTime&&!this._paused&&0!==this.playbackRate||this.currentTimePending}},{key:"playState",get:function(){return this._idle?"idle":this._isFinished?"finished":this._paused?"paused":"running"}},{key:"ready",get:function(){var e=this;return this.readyPromise||(-1===this.timeline.animationsWithPromises.indexOf(this)&&this.timeline.animationsWithPromises.push(this),this.readyPromise=new Promise(function(t,n){e.resolveReadyPromise=function(){t(e)},e.rejectReadyPromise=function(){n(Error())}}),this.pending||this.resolveReadyPromise()),this.readyPromise}},{key:"finished",get:function(){var e=this;return this.finishedPromise||(-1===this.timeline.animationsWithPromises.indexOf(this)&&this.timeline.animationsWithPromises.push(this),this.finishedPromise=new Promise(function(t,n){e.resolveFinishedPromise=function(){t(e)},e.rejectFinishedPromise=function(){n(Error())}}),"finished"===this.playState&&this.resolveFinishedPromise()),this.finishedPromise}},{key:"currentTime",get:function(){return this.updatePromises(),this._idle||this.currentTimePending?null:this._currentTime},set:function(e){if(!isNaN(e=Number(e))){if(this.timeline.restart(),!this._paused&&null!==this._startTime){var t;this._startTime=Number(null===(t=this.timeline)||void 0===t?void 0:t.currentTime)-e/this.playbackRate}this.currentTimePending=!1,this._currentTime!==e&&(this._idle&&(this._idle=!1,this._paused=!0),this.tickCurrentTime(e,!0),this.timeline.applyDirtiedAnimation(this))}}},{key:"startTime",get:function(){return this._startTime},set:function(e){null!==e&&(this.updatePromises(),!isNaN(e=Number(e))&&(this._paused||this._idle||(this._startTime=e,this.tickCurrentTime((Number(this.timeline.currentTime)-this._startTime)*this.playbackRate),this.timeline.applyDirtiedAnimation(this),this.updatePromises())))}},{key:"playbackRate",get:function(){return this._playbackRate},set:function(e){if(e!==this._playbackRate){this.updatePromises();var t=this.currentTime;this._playbackRate=e,this.startTime=null,"paused"!==this.playState&&"idle"!==this.playState&&(this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this)),null!==t&&(this.currentTime=t),this.updatePromises()}}},{key:"_isFinished",get:function(){return!this._idle&&(this._playbackRate>0&&Number(this._currentTime)>=this._totalDuration||this._playbackRate<0&&0>=Number(this._currentTime))}},{key:"totalDuration",get:function(){return this._totalDuration}},{key:"_needsTick",get:function(){return this.pending||"running"===this.playState||!this._finishedFlag}},{key:"updatePromises",value:function(){var e=this.oldPlayState,t=this.pending?"pending":this.playState;return this.readyPromise&&t!==e&&("idle"===t?(this.rejectReadyPromise(),this.readyPromise=void 0):"pending"===e?this.resolveReadyPromise():"pending"===t&&(this.readyPromise=void 0)),this.finishedPromise&&t!==e&&("idle"===t?(this.rejectFinishedPromise(),this.finishedPromise=void 0):"finished"===t?this.resolveFinishedPromise():"finished"===e&&(this.finishedPromise=void 0)),this.oldPlayState=t,this.readyPromise||this.finishedPromise}},{key:"play",value:function(){this.updatePromises(),this._paused=!1,(this._isFinished||this._idle)&&(this.rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this),-1===this.timeline.animations.indexOf(this)&&this.timeline.animations.push(this),this.updatePromises()}},{key:"pause",value:function(){this.updatePromises(),this.currentTime&&(this._holdTime=this.currentTime),this._isFinished||this._paused||this._idle?this._idle&&(this.rewind(),this._idle=!1):this.currentTimePending=!0,this._startTime=null,this._paused=!0,this.updatePromises()}},{key:"finish",value:function(){this.updatePromises(),this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this.currentTimePending=!1,this.timeline.applyDirtiedAnimation(this),this.updatePromises())}},{key:"cancel",value:function(){var e=this;if(this.updatePromises(),this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this.effect.update(null),this.timeline.applyDirtiedAnimation(this),this.updatePromises(),this.oncancel)){var t=new nV(null,this,this.currentTime,null);setTimeout(function(){e.oncancel(t)})}}},{key:"reverse",value:function(){this.updatePromises();var e=this.currentTime;this.playbackRate*=-1,this.play(),null!==e&&(this.currentTime=e),this.updatePromises()}},{key:"updatePlaybackRate",value:function(e){this.playbackRate=e}},{key:"targetAnimations",value:function(){var e;return(null===(e=this.effect)||void 0===e?void 0:e.target).getAnimations()}},{key:"markTarget",value:function(){var e=this.targetAnimations();-1===e.indexOf(this)&&e.push(this)}},{key:"unmarkTarget",value:function(){var e=this.targetAnimations(),t=e.indexOf(this);-1!==t&&e.splice(t,1)}},{key:"tick",value:function(e,t){this._idle||this._paused||(null===this._startTime?t&&(this.startTime=e-this._currentTime/this.playbackRate):this._isFinished||this.tickCurrentTime((e-this._startTime)*this.playbackRate)),t&&(this.currentTimePending=!1,this.fireEvents(e))}},{key:"rewind",value:function(){if(this.playbackRate>=0)this.currentTime=0;else if(this._totalDuration<1/0)this.currentTime=this._totalDuration;else throw Error("Unable to rewind negative playback rate animation with infinite duration")}},{key:"persist",value:function(){throw Error(nN.jf)}},{key:"addEventListener",value:function(e,t,n){throw Error(nN.jf)}},{key:"removeEventListener",value:function(e,t,n){throw Error(nN.jf)}},{key:"dispatchEvent",value:function(e){throw Error(nN.jf)}},{key:"commitStyles",value:function(){throw Error(nN.jf)}},{key:"ensureAlive",value:function(){var e,t;this.playbackRate<0&&0===this.currentTime?this._inEffect=!!(null!==(e=this.effect)&&void 0!==e&&e.update(-1)):this._inEffect=!!(null!==(t=this.effect)&&void 0!==t&&t.update(this.currentTime)),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,this.timeline.animations.push(this))}},{key:"tickCurrentTime",value:function(e,t){e!==this._currentTime&&(this._currentTime=e,this._isFinished&&!t&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this.ensureAlive())}},{key:"fireEvents",value:function(e){var t=this;if(this._isFinished){if(!this._finishedFlag){if(this.onfinish){var n=new nV(null,this,this.currentTime,e);setTimeout(function(){t.onfinish&&t.onfinish(n)})}this._finishedFlag=!0}}else{if(this.onframe&&"running"===this.playState){var r=new nV(null,this,this.currentTime,e);this.onframe(r)}this._finishedFlag=!1}}}]),nX="function"==typeof Float32Array,nQ=function(e,t){return 1-3*t+3*e},nJ=function(e,t){return 3*t-6*e},n0=function(e){return 3*e},n1=function(e,t,n){return((nQ(t,n)*e+nJ(t,n))*e+n0(t))*e},n2=function(e,t,n){return 3*nQ(t,n)*e*e+2*nJ(t,n)*e+n0(t)},n3=function(e,t,n,r,a){var i,o,s=0;do(i=n1(o=t+(n-t)/2,r,a)-e)>0?n=o:t=o;while(Math.abs(i)>1e-7&&++s<10);return o},n5=function(e,t,n,r){for(var a=0;a<4;++a){var i=n2(t,n,r);if(0===i)break;var o=n1(t,n,r)-e;t-=o/i}return t},n4=function(e,t,n,r){if(!(e>=0&&e<=1&&n>=0&&n<=1))throw Error("bezier x values must be in [0, 1] range");if(e===t&&n===r)return function(e){return e};for(var a=nX?new Float32Array(11):Array(11),i=0;i<11;++i)a[i]=n1(.1*i,e,n);var o=function(t){for(var r=0,i=1;10!==i&&a[i]<=t;++i)r+=.1;var o=r+(t-a[--i])/(a[i+1]-a[i])*.1,s=n2(o,e,n);return s>=.001?n5(t,o,e,n):0===s?o:n3(t,r,r+.1,e,n)};return function(e){return 0===e||1===e?e:n1(o(e),t,r)}},n6=function(e){return Math.pow(e,2)},n9=function(e){return Math.pow(e,3)},n8=function(e){return Math.pow(e,4)},n7=function(e){return Math.pow(e,5)},re=function(e){return Math.pow(e,6)},rt=function(e){return 1-Math.cos(e*Math.PI/2)},rn=function(e){return 1-Math.sqrt(1-e*e)},rr=function(e){return e*e*(3*e-2)},ra=function(e){for(var t,n=4;e<((t=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*t-2)/22-e,2)},ri=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,n$.Z)(t,2),r=n[0],a=n[1],i=nW(Number(void 0===r?1:r),1,10),o=nW(Number(void 0===a?.5:a),.1,2);return 0===e||1===e?e:-i*Math.pow(2,10*(e-1))*Math.sin((e-1-o/(2*Math.PI)*Math.asin(1/i))*(2*Math.PI)/o)},ro=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,r=(0,n$.Z)(t,4),a=r[0],i=void 0===a?1:a,o=r[1],s=void 0===o?100:o,l=r[2],c=void 0===l?10:l,u=r[3],p=void 0===u?0:u;i=nW(i,.1,1e3),s=nW(s,.1,1e3),c=nW(c,.1,1e3),p=nW(p,.1,1e3);var d=Math.sqrt(s/i),f=c/(2*Math.sqrt(s*i)),h=f<1?d*Math.sqrt(1-f*f):0,g=f<1?(f*d+-p)/h:-p+d,m=n?n*e/1e3:e;return(m=f<1?Math.exp(-m*f*d)*(1*Math.cos(h*m)+g*Math.sin(h*m)):(1+g*m)*Math.exp(-m*d),0===e||1===e)?e:1-m},rs=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,n$.Z)(t,2),r=n[0],a=void 0===r?10:r;return("start"===n[1]?Math.ceil:Math.floor)(nW(e,0,1)*a)/a},rl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,n$.Z)(t,4);return n4(n[0],n[1],n[2],n[3])(e)},rc=n4(.42,0,1,1),ru=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return 1-e(1-t,n,r)}},rp=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return t<.5?e(2*t,n,r)/2:1-e(-2*t+2,n,r)/2}},rd=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return t<.5?(1-e(1-2*t,n,r))/2:(e(2*t-1,n,r)+1)/2}},rf={steps:rs,"step-start":function(e){return rs(e,[1,"start"])},"step-end":function(e){return rs(e,[1,"end"])},linear:function(e){return e},"cubic-bezier":rl,ease:function(e){return rl(e,[.25,.1,.25,1])},in:rc,out:ru(rc),"in-out":rp(rc),"out-in":rd(rc),"in-quad":n6,"out-quad":ru(n6),"in-out-quad":rp(n6),"out-in-quad":rd(n6),"in-cubic":n9,"out-cubic":ru(n9),"in-out-cubic":rp(n9),"out-in-cubic":rd(n9),"in-quart":n8,"out-quart":ru(n8),"in-out-quart":rp(n8),"out-in-quart":rd(n8),"in-quint":n7,"out-quint":ru(n7),"in-out-quint":rp(n7),"out-in-quint":rd(n7),"in-expo":re,"out-expo":ru(re),"in-out-expo":rp(re),"out-in-expo":rd(re),"in-sine":rt,"out-sine":ru(rt),"in-out-sine":rp(rt),"out-in-sine":rd(rt),"in-circ":rn,"out-circ":ru(rn),"in-out-circ":rp(rn),"out-in-circ":rd(rn),"in-back":rr,"out-back":ru(rr),"in-out-back":rp(rr),"out-in-back":rd(rr),"in-bounce":ra,"out-bounce":ru(ra),"in-out-bounce":rp(ra),"out-in-bounce":rd(ra),"in-elastic":ri,"out-elastic":ru(ri),"in-out-elastic":rp(ri),"out-in-elastic":rd(ri),spring:ro,"spring-in":ro,"spring-out":ru(ro),"spring-in-out":rp(ro),"spring-out-in":rd(ro)},rh=function(e){var t;return("-"===(t=(t=e).replace(/([A-Z])/g,function(e){return"-".concat(e.toLowerCase())})).charAt(0)?t.substring(1):t).replace(/^ease-/,"").replace(/(\(|\s).+/,"").toLowerCase().trim()},rg=function(e){return e};function rm(e,t){return function(n){if(n>=1)return 1;var r=1/e;return(n+=t*r)-n%r}}var rb="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",ry=new RegExp("cubic-bezier\\(".concat(rb,",").concat(rb,",").concat(rb,",").concat(rb,"\\)")),rE=/steps\(\s*(\d+)\s*\)/,rv=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/;function rT(e){var t=ry.exec(e);if(t)return n4.apply(void 0,(0,nz.Z)(t.slice(1).map(Number)));var n=rE.exec(e);if(n)return rm(Number(n[1]),0);var r=rv.exec(e);return r?rm(Number(r[1]),{start:1,middle:.5,end:0}[r[2]]):rf[rh(e)]||rf.linear}function rS(e){return"offset"!==e&&"easing"!==e&&"composite"!==e&&"computedOffset"!==e}var rA=function(e,t,n){return function(r){var a,i=function e(t,n,r){if("number"==typeof t&&"number"==typeof n)return t*(1-r)+n*r;if("boolean"==typeof t&&"boolean"==typeof n||"string"==typeof t&&"string"==typeof n)return r<.5?t:n;if(Array.isArray(t)&&Array.isArray(n)){for(var a=t.length,i=n.length,o=Math.max(a,i),s=[],l=0;l1)throw Error("Keyframe offsets must be between 0 and 1.");n.computedOffset=a}}else if("composite"===r&&-1===["replace","add","accumulate","auto"].indexOf(a))throw Error("".concat(a," compositing is not supported"));n[r]=a}return void 0===n.offset&&(n.offset=null),void 0===n.easing&&(n.easing=(null==t?void 0:t.easing)||"linear"),void 0===n.composite&&(n.composite="auto"),n}),r=!0,a=-1/0,i=0;i=0&&1>=Number(e.offset)}),r||function(){var e,t,r=n.length;n[r-1].computedOffset=Number(null!==(e=n[r-1].offset)&&void 0!==e?e:1),r>1&&(n[0].computedOffset=Number(null!==(t=n[0].offset)&&void 0!==t?t:0));for(var a=0,i=Number(n[0].computedOffset),o=1;o=e.applyFrom&&t=Math.min(n.delay+e+n.endDelay,r)?2:3}(e,t,n),u=function(e,t,n,r,a){switch(r){case 1:if("backwards"===t||"both"===t)return 0;return null;case 3:return n-a;case 2:if("forwards"===t||"both"===t)return e;return null;case 0:return null}}(e,n.fill,t,c,n.delay);if(null===u)return null;var p="auto"===n.duration?0:n.duration,d=(r=n.iterations,a=n.iterationStart,0===p?1!==c&&(a+=r):a+=u/p,a),f=(i=n.iterationStart,o=n.iterations,0==(s=d===1/0?i%1:d%1)&&2===c&&0!==o&&(0!==u||0===p)&&(s=1),s),h=(l=n.iterations,2===c&&l===1/0?1/0:1===f?Math.floor(d)-1:Math.floor(d)),g=function(e,t,n){var r=e;if("normal"!==e&&"reverse"!==e){var a=t;"alternate-reverse"===e&&(a+=1),r="normal",a!==1/0&&a%2!=0&&(r="reverse")}return"normal"===r?n:1-n}(n.direction,h,f);return n.currentIteration=h,n.progress=g,n.easingFunction(g)}(this.timing.activeDuration,e,this.timing),null!==this.timeFraction)}},{key:"getKeyframes",value:function(){return this.normalizedKeyframes}},{key:"setKeyframes",value:function(e){this.normalizedKeyframes=r_(e)}},{key:"getComputedTiming",value:function(){return this.computedTiming}},{key:"getTiming",value:function(){return this.timing}},{key:"updateTiming",value:function(e){var t=this;Object.keys(e||{}).forEach(function(n){t.timing[n]=e[n]})}}]);function rx(e,t){return Number(e.id)-Number(t.id)}var rI=(0,nD.Z)(function e(t){var n=this;(0,nL.Z)(this,e),this.animations=[],this.ticking=!1,this.timelineTicking=!1,this.hasRestartedThisFrame=!1,this.animationsWithPromises=[],this.inTick=!1,this.pendingEffects=[],this.currentTime=null,this.rafId=0,this.rafCallbacks=[],this.webAnimationsNextTick=function(e){n.currentTime=e,n.discardAnimations(),0===n.animations.length?n.timelineTicking=!1:n.requestAnimationFrame(n.webAnimationsNextTick)},this.processRafCallbacks=function(e){var t=n.rafCallbacks;n.rafCallbacks=[],et.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let rN=(e,t,n)=>[["M",e-n,t],["A",n,n,0,1,0,e+n,t],["A",n,n,0,1,0,e-n,t],["Z"]];rN.style=["fill"];let rL=rN.bind(void 0);rL.style=["stroke","lineWidth"];let rD=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t-n],["L",e+n,t+n],["L",e-n,t+n],["Z"]];rD.style=["fill"];let rP=rD.bind(void 0);rP.style=["fill"];let rM=rD.bind(void 0);rM.style=["stroke","lineWidth"];let rF=(e,t,n)=>{let r=.618*n;return[["M",e-r,t],["L",e,t-n],["L",e+r,t],["L",e,t+n],["Z"]]};rF.style=["fill"];let rB=rF.bind(void 0);rB.style=["stroke","lineWidth"];let rj=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t+r],["L",e,t-r],["L",e+n,t+r],["Z"]]};rj.style=["fill"];let rU=rj.bind(void 0);rU.style=["stroke","lineWidth"];let rG=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t-r],["L",e+n,t-r],["L",e,t+r],["Z"]]};rG.style=["fill"];let rH=rG.bind(void 0);rH.style=["stroke","lineWidth"];let rz=(e,t,n)=>{let r=n/2*Math.sqrt(3);return[["M",e,t-n],["L",e+r,t-n/2],["L",e+r,t+n/2],["L",e,t+n],["L",e-r,t+n/2],["L",e-r,t-n/2],["Z"]]};rz.style=["fill"];let r$=rz.bind(void 0);r$.style=["stroke","lineWidth"];let rW=(e,t,n)=>{let r=n-1.5;return[["M",e-n,t-r],["L",e+n,t+r],["L",e+n,t-r],["L",e-n,t+r],["Z"]]};rW.style=["fill"];let rZ=rW.bind(void 0);rZ.style=["stroke","lineWidth"];let rY=(e,t,n)=>[["M",e,t+n],["L",e,t-n]];rY.style=["stroke","lineWidth"];let rV=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t+n],["M",e+n,t-n],["L",e-n,t+n]];rV.style=["stroke","lineWidth"];let rq=(e,t,n)=>[["M",e-n/2,t-n],["L",e+n/2,t-n],["M",e,t-n],["L",e,t+n],["M",e-n/2,t+n],["L",e+n/2,t+n]];rq.style=["stroke","lineWidth"];let rK=(e,t,n)=>[["M",e-n,t],["L",e+n,t],["M",e,t-n],["L",e,t+n]];rK.style=["stroke","lineWidth"];let rX=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rX.style=["stroke","lineWidth"];let rQ=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rQ.style=["stroke","lineWidth"];let rJ=rQ.bind(void 0);rJ.style=["stroke","lineWidth"];let r0=(e,t,n)=>[["M",e-n,t],["A",n/2,n/2,0,1,1,e,t],["A",n/2,n/2,0,1,0,e+n,t]];r0.style=["stroke","lineWidth"];let r1=(e,t,n)=>[["M",e-n-1,t-2.5],["L",e,t-2.5],["L",e,t+2.5],["L",e+n+1,t+2.5]];r1.style=["stroke","lineWidth"];let r2=(e,t,n)=>[["M",e-n-1,t+2.5],["L",e,t+2.5],["L",e,t-2.5],["L",e+n+1,t-2.5]];r2.style=["stroke","lineWidth"];let r3=(e,t,n)=>[["M",e-(n+1),t+2.5],["L",e-n/2,t+2.5],["L",e-n/2,t-2.5],["L",e+n/2,t-2.5],["L",e+n/2,t+2.5],["L",e+n+1,t+2.5]];r3.style=["stroke","lineWidth"];let r5=(e,t,n)=>[["M",e-5,t+2.5],["L",e-5,t],["L",e,t],["L",e,t-3],["L",e,t+3],["L",e+6.5,t+3]];r5.style=["stroke","lineWidth"];let r4=new Map([["bowtie",rW],["cross",rV],["dash",rJ],["diamond",rF],["dot",rQ],["hexagon",rz],["hollowBowtie",rZ],["hollowDiamond",rB],["hollowHexagon",r$],["hollowPoint",rL],["hollowSquare",rM],["hollowTriangle",rU],["hollowTriangleDown",rH],["hv",r1],["hvh",r3],["hyphen",rX],["line",rY],["plus",rK],["point",rN],["rect",rP],["smooth",r0],["square",rD],["tick",rq],["triangleDown",rG],["triangle",rj],["vh",r2],["vhv",r5]]),r6={};function r9(e,t){if(e.startsWith("symbol.")){var n;n=e.split(".").pop(),r4.set(n,t)}else Object.assign(r6,{[e]:t})}var r8=n(88998);/*! * @antv/g-plugin-canvas-path-generator * @description A G plugin of path generator with Canvas2D API * @version 2.1.16 @@ -49,4 +49,4 @@ * @author Lea Verou * @namespace * @public - */var r=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},a={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=u.reach));S+=T.value.length,T=T.next){var A,O=T.value;if(n.length>t.length)return;if(!(O instanceof i)){var _=1;if(b){if(!(A=o(v,S,t,m))||A.index>=t.length)break;var k=A.index,C=A.index+A[0].length,w=S;for(w+=T.value.length;k>=w;)w+=(T=T.next).value.length;if(w-=T.value.length,S=w,T.value instanceof i)continue;for(var x=T;x!==n.tail&&(wu.reach&&(u.reach=L);var D=T.prev;R&&(D=l(n,D,R),S+=R.length),function(e,t,n){for(var r=t.next,a=0;a1){var M={cause:p+","+f,reach:L};e(t,n,r,T.prev,S,M),u&&M.reach>u.reach&&(u.reach=M.reach)}}}}}}(e,c,t,c.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(c)},hooks:{all:{},add:function(e,t){var n=a.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=a.hooks.all[e];if(n&&n.length)for(var r,i=0;r=n[i++];)r(t)}},Token:i};function i(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var i=a[1].length;a.index+=i,a[0]=a[0].slice(i)}return a}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}if(e.Prism=a,i.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach(function(t){r+=e(t,n)}),r}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},o=t.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(i.classes,o):i.classes.push(o)),a.hooks.run("wrap",i);var s="";for(var l in i.attributes)s+=" "+l+'="'+(i.attributes[l]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+s+">"+i.content+""},!e.document)return e.addEventListener&&(a.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),r=n.language,i=n.code,o=n.immediateClose;e.postMessage(a.highlight(i,a.languages[r],r)),o&&e.close()},!1)),a;var c=a.util.currentScript();function u(){a.manual||a.highlightAll()}if(c&&(a.filename=c.src,c.hasAttribute("data-manual")&&(a.manual=!0)),!a.manual){var p=document.readyState;"loading"===p||"interactive"===p&&c&&c.defer?document.addEventListener("DOMContentLoaded",u):window.requestAnimationFrame?window.requestAnimationFrame(u):window.setTimeout(u,16)}return a}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=r),void 0!==n.g&&(n.g.Prism=r)},96774:function(e){e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),o=Object.keys(t);if(i.length!==o.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;le.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}},88998:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(95778);function a(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},13643:function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,{Z:function(){return r}})},98568:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)}n.d(t,{Z:function(){return a}})},99660:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(88998);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var l=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(l&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),w(n),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;w(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:I(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),b}},t}},16200:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59312);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw a}}return s}}(e,t)||(0,r.Z)(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},27567:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(13643);function a(){return(a="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var a=function(e,t){for(;!({}).hasOwnProperty.call(e,t)&&null!==(e=(0,r.Z)(e)););return e}(e,t);if(a){var i=Object.getOwnPropertyDescriptor(a,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}}).apply(null,arguments)}function i(e,t,n,i){var o=a((0,r.Z)(1&i?e.prototype:e),t,n);return 2&i&&"function"==typeof o?function(e){return o.apply(n,e)}:o}},25585:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(59630),a=n(59312);function i(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,a.Z)(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},95778:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(2846);function a(e){var t=function(e,t){if("object"!=(0,r.Z)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=(0,r.Z)(a))return a;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.Z)(t)?t:t+""}},2846:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{Z:function(){return r}})},59312:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59630);function a(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},21129:function(e,t,n){"use strict";var r=n(4503);t.Z=r},86676:function(e,t,n){"use strict";n.d(t,{r:function(){return a}});let r=/[#.]/g;function a(e,t){let n,a;let i=e||"",o={},s=0;for(;so&&(o=i):i=1,a=r+t.length,r=n.indexOf(t,a);return o}n.d(t,{J:function(){return r}})},24557:function(e,t,n){"use strict";n.d(t,{Z:function(){return ep}});var r={};n.r(r),n.d(r,{boolean:function(){return c},booleanish:function(){return u},commaOrSpaceSeparated:function(){return g},commaSeparated:function(){return h},number:function(){return d},overloadedBoolean:function(){return p},spaceSeparated:function(){return f}});class a{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function i(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new a(n,r,t)}function o(e){return e.toLowerCase()}a.prototype.normal={},a.prototype.property={},a.prototype.space=void 0;class s{constructor(e,t){this.attribute=t,this.property=e}}s.prototype.attribute="",s.prototype.booleanish=!1,s.prototype.boolean=!1,s.prototype.commaOrSpaceSeparated=!1,s.prototype.commaSeparated=!1,s.prototype.defined=!1,s.prototype.mustUseProperty=!1,s.prototype.number=!1,s.prototype.overloadedBoolean=!1,s.prototype.property="",s.prototype.spaceSeparated=!1,s.prototype.space=void 0;let l=0,c=m(),u=m(),p=m(),d=m(),f=m(),h=m(),g=m();function m(){return 2**++l}let b=Object.keys(r);class y extends s{constructor(e,t,n,a){var i,o;let s=-1;if(super(e,t),a&&(this.space=a),"number"==typeof n)for(;++s"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function T(e,t){return t in e?e[t]:t}function S(e,t){return T(e,t.toLowerCase())}let A=E({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:h,acceptCharset:f,accessKey:f,action:null,allow:null,allowFullScreen:c,allowPaymentRequest:c,allowUserMedia:c,alt:null,as:null,async:c,autoCapitalize:null,autoComplete:f,autoFocus:c,autoPlay:c,blocking:f,capture:null,charSet:null,checked:c,cite:null,className:f,cols:d,colSpan:null,content:null,contentEditable:u,controls:c,controlsList:f,coords:d|h,crossOrigin:null,data:null,dateTime:null,decoding:null,default:c,defer:c,dir:null,dirName:null,disabled:c,download:p,draggable:u,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:c,formTarget:null,headers:f,height:d,hidden:c,high:d,href:null,hrefLang:null,htmlFor:f,httpEquiv:f,id:null,imageSizes:null,imageSrcSet:null,inert:c,inputMode:null,integrity:null,is:null,isMap:c,itemId:null,itemProp:f,itemRef:f,itemScope:c,itemType:f,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:c,low:d,manifest:null,max:null,maxLength:d,media:null,method:null,min:null,minLength:d,multiple:c,muted:c,name:null,nonce:null,noModule:c,noValidate:c,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored: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,onScrollEnd: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:c,optimum:d,pattern:null,ping:f,placeholder:null,playsInline:c,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:c,referrerPolicy:null,rel:f,required:c,reversed:c,rows:d,rowSpan:d,sandbox:f,scope:null,scoped:c,seamless:c,selected:c,shadowRootClonable:c,shadowRootDelegatesFocus:c,shadowRootMode:null,shape:null,size:d,sizes:null,slot:null,span:d,spellCheck:u,src:null,srcDoc:null,srcLang:null,srcSet:null,start:d,step:null,style:null,tabIndex:d,target:null,title:null,translate:null,type:null,typeMustMatch:c,useMap:null,value:u,width:d,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:f,axis:null,background:null,bgColor:null,border:d,borderColor:null,bottomMargin:d,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:c,declare:c,event:null,face:null,frame:null,frameBorder:null,hSpace:d,leftMargin:d,link:null,longDesc:null,lowSrc:null,marginHeight:d,marginWidth:d,noResize:c,noHref:c,noShade:c,noWrap:c,object:null,profile:null,prompt:null,rev:null,rightMargin:d,rules:null,scheme:null,scrolling:u,standby:null,summary:null,text:null,topMargin:d,valueType:null,version:null,vAlign:null,vLink:null,vSpace:d,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:c,disableRemotePlayback:c,prefix:null,property:null,results:d,security:null,unselectable:null},space:"html",transform:S}),O=E({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:g,accentHeight:d,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:d,amplitude:d,arabicForm:null,ascent:d,attributeName:null,attributeType:null,azimuth:d,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:d,by:null,calcMode:null,capHeight:d,className:f,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:d,diffuseConstant:d,direction:null,display:null,dur:null,divisor:d,dominantBaseline:null,download:c,dx:null,dy:null,edgeMode:null,editable:null,elevation:d,enableBackground:null,end:null,event:null,exponent:d,externalResourcesRequired:null,fill:null,fillOpacity:d,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:h,g2:h,glyphName:h,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:d,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:d,horizOriginX:d,horizOriginY:d,id:null,ideographic:d,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:d,k:d,k1:d,k2:d,k3:d,k4:d,kernelMatrix:g,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:d,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:d,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose: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,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:d,overlineThickness:d,paintOrder:null,panose1:null,path:null,pathLength:d,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:f,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:d,pointsAtY:d,pointsAtZ:d,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:g,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:g,rev:g,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:g,requiredFeatures:g,requiredFonts:g,requiredFormats:g,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:d,specularExponent:d,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:d,strikethroughThickness:d,string:null,stroke:null,strokeDashArray:g,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:d,strokeOpacity:d,strokeWidth:null,style:null,surfaceScale:d,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:g,tabIndex:d,tableValues:null,target:null,targetX:d,targetY:d,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:g,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:d,underlineThickness:d,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:d,values:null,vAlphabetic:d,vMathematical:d,vectorEffect:null,vHanging:d,vIdeographic:d,version:null,vertAdvY:d,vertOriginX:d,vertOriginY:d,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:d,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:T}),_=E({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),k=E({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:S}),C=E({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),w=i([v,A,_,k,C],"html"),x=i([v,O,_,k,C],"svg");var I=n(25668),R=n(86676);let N=/[A-Z]/g,L=/-[a-z]/g,D=/^data[-\w.:]+$/i;function P(e){return"-"+e.toLowerCase()}function M(e){return e.charAt(1).toUpperCase()}var F=n(50342);function B(e,t,n){let r=n?function(e){let t=new Map;for(let n of e)t.set(n.toLowerCase(),n);return t}(n):void 0;return function(n,a,...i){let l;if(null==n)l={type:"root",children:[]},i.unshift(a);else{l=(0,R.r)(n,t);let c=l.tagName.toLowerCase(),u=r?r.get(c):void 0;if(l.tagName=u||c,function(e){if(null===e||"object"!=typeof e||Array.isArray(e))return!0;if("string"!=typeof e.type)return!1;let t=Object.keys(e);for(let n of t){let t=e[n];if(t&&"object"==typeof t){if(!Array.isArray(t))return!0;for(let e of t)if("number"!=typeof e&&"string"!=typeof e)return!0}}return!!("children"in e&&Array.isArray(e.children))}(a))i.unshift(a);else for(let[t,n]of Object.entries(a))!function(e,t,n,r){let a;let i=function(e,t){let n=o(t),r=t,a=s;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&D.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(L,M);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!L.test(e)){let n=e.replace(N,P);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}a=y}return new a(r,t)}(e,n);if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;a=r}else a="boolean"==typeof r?r:"string"==typeof r?i.spaceSeparated?(0,F.Q)(r):i.commaSeparated?(0,I.Q)(r):i.commaOrSpaceSeparated?(0,F.Q)((0,I.Q)(r).join(" ")):j(i,i.property,r):Array.isArray(r)?[...r]:"style"===i.property?function(e){let t=[];for(let[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}(r):String(r);if(Array.isArray(a)){let e=[];for(let t of a)e.push(j(i,i.property,t));a=e}"className"===i.property&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}(e,l.properties,t,n)}for(let e of i)!function e(t,n){if(null==n);else if("number"==typeof n||"string"==typeof n)t.push({type:"text",value:String(n)});else if(Array.isArray(n))for(let r of n)e(t,r);else if("object"==typeof n&&"type"in n)"root"===n.type?e(t,n.children):t.push(n);else throw Error("Expected node, nodes, or string, got `"+n+"`")}(l.children,e);return"element"===l.type&&"template"===l.tagName&&(l.content={type:"root",children:l.children},l.children=[]),l}}function j(e,t,n){if("string"==typeof n){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(""===n||o(n)===o(t)))return!0}return n}let U=B(w,"div"),G=B(x,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]);var H=n(49911);function z(e,t){let n=function(e,t){switch(e.nodeType){case 1:return function(e,t){let n=e.namespaceURI,r=n===H.t.svg?G:U,a=n===H.t.html?e.tagName.toLowerCase():e.tagName,i=n===H.t.html&&"template"===a?e.content:e,o=e.getAttributeNames(),s={},l=-1;for(;++ln&&(n=e):e&&(void 0!==n&&n>-1&&l.push("\n".repeat(n)||" "),n=-1,l.push(e))}return l.join("")}(p,{whitespace:"pre"});try{a=es.ZP.renderToString(d,{...t,displayMode:c,throwOnError:!0})}catch(o){let i=o.name.toLowerCase();n.message("Could not render math with KaTeX",{ancestors:[...r,e],cause:o,place:e.position,ruleId:i,source:"rehype-katex"});try{a=es.ZP.renderToString(d,{...t,displayMode:c,strict:"ignore",throwOnError:!1})}catch{a=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(o)},children:[{type:"text",value:d}]}]}}if("string"==typeof a){let e=function(e,t){let n=t?.fragment?function(e){let t=document.createElement("template");return t.innerHTML=e,t.content}(e):W.parseFromString(e,"text/html");return z(n,{})||{type:"root",children:[]}}(a,{fragment:!0});a=e.children}let f=u.children.indexOf(p);return u.children.splice(f,1,...a),el.AM})}}},12384:function(e,t,n){"use strict";n.d(t,{Z:function(){return tJ}});var r,a,i,o,s,l,c,u,p,d,f,h,g,m,b,y,E,v,T,S,A,O,_=n(52835),k=n(24345),C=n(91634),w=n(25668),x=n(86676),I=n(26103),R=n(28051),N=n(50342);let L=new Set(["button","menu","reset","submit"]),D={}.hasOwnProperty;function P(e,t,n){let r=n&&function(e){let t={},n=-1;for(;++n1?n[e.line-2]:0)+e.column-1;if(r-1&&e<=t.length){let r=0;for(;;){let a=n[r];if(void 0===a){let e=j(t,n[r-1]);a=-1===e?t.length+1:e+1,n[r]=a}if(a>e)return{line:r+1,column:e-(r>0?n[r-1]:0)+1,offset:e};r++}}}}}(t),a=r.toPoint(0),i=r.toPoint(t.length);(0,k.ok)(a,"expected `start`"),(0,k.ok)(i,"expected `end`"),n.position={start:a,end:i}}return n}case"#documentType":return W(e,t,n={type:"doctype"}),n;case"#text":return n={type:"text",value:t.value},W(e,t,n),n;default:return function(e,t){let n=e.schema;e.schema=t.namespaceURI===U.t.svg?C.YP:C.dy;let r=-1,a={};for(;++r=55296&&e<=57343}function ei(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function eo(e){return e>=64976&&e<=65007||en.has(e)}(a=g=g||(g={})).controlCharacterInInputStream="control-character-in-input-stream",a.noncharacterInInputStream="noncharacter-in-input-stream",a.surrogateInInputStream="surrogate-in-input-stream",a.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",a.endTagWithAttributes="end-tag-with-attributes",a.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",a.unexpectedSolidusInTag="unexpected-solidus-in-tag",a.unexpectedNullCharacter="unexpected-null-character",a.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",a.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",a.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",a.missingEndTagName="missing-end-tag-name",a.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",a.unknownNamedCharacterReference="unknown-named-character-reference",a.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",a.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",a.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",a.eofBeforeTagName="eof-before-tag-name",a.eofInTag="eof-in-tag",a.missingAttributeValue="missing-attribute-value",a.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",a.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",a.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",a.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",a.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",a.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",a.missingDoctypePublicIdentifier="missing-doctype-public-identifier",a.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",a.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",a.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",a.cdataInHtmlContent="cdata-in-html-content",a.incorrectlyOpenedComment="incorrectly-opened-comment",a.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",a.eofInDoctype="eof-in-doctype",a.nestedComment="nested-comment",a.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",a.eofInComment="eof-in-comment",a.incorrectlyClosedComment="incorrectly-closed-comment",a.eofInCdata="eof-in-cdata",a.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",a.nullCharacterReference="null-character-reference",a.surrogateCharacterReference="surrogate-character-reference",a.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",a.controlCharacterReference="control-character-reference",a.noncharacterCharacterReference="noncharacter-character-reference",a.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",a.missingDoctypeName="missing-doctype-name",a.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",a.duplicateAttribute="duplicate-attribute",a.nonConformingDoctype="non-conforming-doctype",a.missingDoctype="missing-doctype",a.misplacedDoctype="misplaced-doctype",a.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",a.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",a.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",a.openElementsLeftAfterEof="open-elements-left-after-eof",a.abandonedHeadElementChild="abandoned-head-element-child",a.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",a.nestedNoscriptInHead="nested-noscript-in-head",a.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text";class es{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e){let{line:t,col:n,offset:r}=this;return{code:e,startLine:t,endLine:t,startCol:n,endCol:n,startOffset:r,endOffset:r}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let t=this.html.charCodeAt(this.pos+1);if(t>=56320&&t<=57343)return this.pos++,this._addGap(),(e-55296)*1024+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,h.EOF;return this._err(g.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,h.EOF;let n=this.html.charCodeAt(t);return n===h.CARRIAGE_RETURN?h.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,h.EOF;let e=this.html.charCodeAt(this.pos);if(e===h.CARRIAGE_RETURN)return this.isEol=!0,this.skipNextNewLine=!0,h.LINE_FEED;if(e===h.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine))return this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance();this.skipNextNewLine=!1,ea(e)&&(e=this._processSurrogate(e));let t=null===this.handler.onParseError||e>31&&e<127||e===h.LINE_FEED||e===h.CARRIAGE_RETURN||e>159&&e<64976;return t||this._checkForProblematicCharacters(e),e}_checkForProblematicCharacters(e){ei(e)?this._err(g.controlCharacterInInputStream):eo(e)&&this._err(g.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}(i=m=m||(m={}))[i.CHARACTER=0]="CHARACTER",i[i.NULL_CHARACTER=1]="NULL_CHARACTER",i[i.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",i[i.START_TAG=3]="START_TAG",i[i.END_TAG=4]="END_TAG",i[i.COMMENT=5]="COMMENT",i[i.DOCTYPE=6]="DOCTYPE",i[i.EOF=7]="EOF",i[i.HIBERNATION=8]="HIBERNATION";var ec=n(60411);(o=b=b||(b={})).HTML="http://www.w3.org/1999/xhtml",o.MATHML="http://www.w3.org/1998/Math/MathML",o.SVG="http://www.w3.org/2000/svg",o.XLINK="http://www.w3.org/1999/xlink",o.XML="http://www.w3.org/XML/1998/namespace",o.XMLNS="http://www.w3.org/2000/xmlns/",(s=y=y||(y={})).TYPE="type",s.ACTION="action",s.ENCODING="encoding",s.PROMPT="prompt",s.NAME="name",s.COLOR="color",s.FACE="face",s.SIZE="size",(l=E=E||(E={})).NO_QUIRKS="no-quirks",l.QUIRKS="quirks",l.LIMITED_QUIRKS="limited-quirks",(c=v=v||(v={})).A="a",c.ADDRESS="address",c.ANNOTATION_XML="annotation-xml",c.APPLET="applet",c.AREA="area",c.ARTICLE="article",c.ASIDE="aside",c.B="b",c.BASE="base",c.BASEFONT="basefont",c.BGSOUND="bgsound",c.BIG="big",c.BLOCKQUOTE="blockquote",c.BODY="body",c.BR="br",c.BUTTON="button",c.CAPTION="caption",c.CENTER="center",c.CODE="code",c.COL="col",c.COLGROUP="colgroup",c.DD="dd",c.DESC="desc",c.DETAILS="details",c.DIALOG="dialog",c.DIR="dir",c.DIV="div",c.DL="dl",c.DT="dt",c.EM="em",c.EMBED="embed",c.FIELDSET="fieldset",c.FIGCAPTION="figcaption",c.FIGURE="figure",c.FONT="font",c.FOOTER="footer",c.FOREIGN_OBJECT="foreignObject",c.FORM="form",c.FRAME="frame",c.FRAMESET="frameset",c.H1="h1",c.H2="h2",c.H3="h3",c.H4="h4",c.H5="h5",c.H6="h6",c.HEAD="head",c.HEADER="header",c.HGROUP="hgroup",c.HR="hr",c.HTML="html",c.I="i",c.IMG="img",c.IMAGE="image",c.INPUT="input",c.IFRAME="iframe",c.KEYGEN="keygen",c.LABEL="label",c.LI="li",c.LINK="link",c.LISTING="listing",c.MAIN="main",c.MALIGNMARK="malignmark",c.MARQUEE="marquee",c.MATH="math",c.MENU="menu",c.META="meta",c.MGLYPH="mglyph",c.MI="mi",c.MO="mo",c.MN="mn",c.MS="ms",c.MTEXT="mtext",c.NAV="nav",c.NOBR="nobr",c.NOFRAMES="noframes",c.NOEMBED="noembed",c.NOSCRIPT="noscript",c.OBJECT="object",c.OL="ol",c.OPTGROUP="optgroup",c.OPTION="option",c.P="p",c.PARAM="param",c.PLAINTEXT="plaintext",c.PRE="pre",c.RB="rb",c.RP="rp",c.RT="rt",c.RTC="rtc",c.RUBY="ruby",c.S="s",c.SCRIPT="script",c.SECTION="section",c.SELECT="select",c.SOURCE="source",c.SMALL="small",c.SPAN="span",c.STRIKE="strike",c.STRONG="strong",c.STYLE="style",c.SUB="sub",c.SUMMARY="summary",c.SUP="sup",c.TABLE="table",c.TBODY="tbody",c.TEMPLATE="template",c.TEXTAREA="textarea",c.TFOOT="tfoot",c.TD="td",c.TH="th",c.THEAD="thead",c.TITLE="title",c.TR="tr",c.TRACK="track",c.TT="tt",c.U="u",c.UL="ul",c.SVG="svg",c.VAR="var",c.WBR="wbr",c.XMP="xmp",(u=T=T||(T={}))[u.UNKNOWN=0]="UNKNOWN",u[u.A=1]="A",u[u.ADDRESS=2]="ADDRESS",u[u.ANNOTATION_XML=3]="ANNOTATION_XML",u[u.APPLET=4]="APPLET",u[u.AREA=5]="AREA",u[u.ARTICLE=6]="ARTICLE",u[u.ASIDE=7]="ASIDE",u[u.B=8]="B",u[u.BASE=9]="BASE",u[u.BASEFONT=10]="BASEFONT",u[u.BGSOUND=11]="BGSOUND",u[u.BIG=12]="BIG",u[u.BLOCKQUOTE=13]="BLOCKQUOTE",u[u.BODY=14]="BODY",u[u.BR=15]="BR",u[u.BUTTON=16]="BUTTON",u[u.CAPTION=17]="CAPTION",u[u.CENTER=18]="CENTER",u[u.CODE=19]="CODE",u[u.COL=20]="COL",u[u.COLGROUP=21]="COLGROUP",u[u.DD=22]="DD",u[u.DESC=23]="DESC",u[u.DETAILS=24]="DETAILS",u[u.DIALOG=25]="DIALOG",u[u.DIR=26]="DIR",u[u.DIV=27]="DIV",u[u.DL=28]="DL",u[u.DT=29]="DT",u[u.EM=30]="EM",u[u.EMBED=31]="EMBED",u[u.FIELDSET=32]="FIELDSET",u[u.FIGCAPTION=33]="FIGCAPTION",u[u.FIGURE=34]="FIGURE",u[u.FONT=35]="FONT",u[u.FOOTER=36]="FOOTER",u[u.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",u[u.FORM=38]="FORM",u[u.FRAME=39]="FRAME",u[u.FRAMESET=40]="FRAMESET",u[u.H1=41]="H1",u[u.H2=42]="H2",u[u.H3=43]="H3",u[u.H4=44]="H4",u[u.H5=45]="H5",u[u.H6=46]="H6",u[u.HEAD=47]="HEAD",u[u.HEADER=48]="HEADER",u[u.HGROUP=49]="HGROUP",u[u.HR=50]="HR",u[u.HTML=51]="HTML",u[u.I=52]="I",u[u.IMG=53]="IMG",u[u.IMAGE=54]="IMAGE",u[u.INPUT=55]="INPUT",u[u.IFRAME=56]="IFRAME",u[u.KEYGEN=57]="KEYGEN",u[u.LABEL=58]="LABEL",u[u.LI=59]="LI",u[u.LINK=60]="LINK",u[u.LISTING=61]="LISTING",u[u.MAIN=62]="MAIN",u[u.MALIGNMARK=63]="MALIGNMARK",u[u.MARQUEE=64]="MARQUEE",u[u.MATH=65]="MATH",u[u.MENU=66]="MENU",u[u.META=67]="META",u[u.MGLYPH=68]="MGLYPH",u[u.MI=69]="MI",u[u.MO=70]="MO",u[u.MN=71]="MN",u[u.MS=72]="MS",u[u.MTEXT=73]="MTEXT",u[u.NAV=74]="NAV",u[u.NOBR=75]="NOBR",u[u.NOFRAMES=76]="NOFRAMES",u[u.NOEMBED=77]="NOEMBED",u[u.NOSCRIPT=78]="NOSCRIPT",u[u.OBJECT=79]="OBJECT",u[u.OL=80]="OL",u[u.OPTGROUP=81]="OPTGROUP",u[u.OPTION=82]="OPTION",u[u.P=83]="P",u[u.PARAM=84]="PARAM",u[u.PLAINTEXT=85]="PLAINTEXT",u[u.PRE=86]="PRE",u[u.RB=87]="RB",u[u.RP=88]="RP",u[u.RT=89]="RT",u[u.RTC=90]="RTC",u[u.RUBY=91]="RUBY",u[u.S=92]="S",u[u.SCRIPT=93]="SCRIPT",u[u.SECTION=94]="SECTION",u[u.SELECT=95]="SELECT",u[u.SOURCE=96]="SOURCE",u[u.SMALL=97]="SMALL",u[u.SPAN=98]="SPAN",u[u.STRIKE=99]="STRIKE",u[u.STRONG=100]="STRONG",u[u.STYLE=101]="STYLE",u[u.SUB=102]="SUB",u[u.SUMMARY=103]="SUMMARY",u[u.SUP=104]="SUP",u[u.TABLE=105]="TABLE",u[u.TBODY=106]="TBODY",u[u.TEMPLATE=107]="TEMPLATE",u[u.TEXTAREA=108]="TEXTAREA",u[u.TFOOT=109]="TFOOT",u[u.TD=110]="TD",u[u.TH=111]="TH",u[u.THEAD=112]="THEAD",u[u.TITLE=113]="TITLE",u[u.TR=114]="TR",u[u.TRACK=115]="TRACK",u[u.TT=116]="TT",u[u.U=117]="U",u[u.UL=118]="UL",u[u.SVG=119]="SVG",u[u.VAR=120]="VAR",u[u.WBR=121]="WBR",u[u.XMP=122]="XMP";let eu=new Map([[v.A,T.A],[v.ADDRESS,T.ADDRESS],[v.ANNOTATION_XML,T.ANNOTATION_XML],[v.APPLET,T.APPLET],[v.AREA,T.AREA],[v.ARTICLE,T.ARTICLE],[v.ASIDE,T.ASIDE],[v.B,T.B],[v.BASE,T.BASE],[v.BASEFONT,T.BASEFONT],[v.BGSOUND,T.BGSOUND],[v.BIG,T.BIG],[v.BLOCKQUOTE,T.BLOCKQUOTE],[v.BODY,T.BODY],[v.BR,T.BR],[v.BUTTON,T.BUTTON],[v.CAPTION,T.CAPTION],[v.CENTER,T.CENTER],[v.CODE,T.CODE],[v.COL,T.COL],[v.COLGROUP,T.COLGROUP],[v.DD,T.DD],[v.DESC,T.DESC],[v.DETAILS,T.DETAILS],[v.DIALOG,T.DIALOG],[v.DIR,T.DIR],[v.DIV,T.DIV],[v.DL,T.DL],[v.DT,T.DT],[v.EM,T.EM],[v.EMBED,T.EMBED],[v.FIELDSET,T.FIELDSET],[v.FIGCAPTION,T.FIGCAPTION],[v.FIGURE,T.FIGURE],[v.FONT,T.FONT],[v.FOOTER,T.FOOTER],[v.FOREIGN_OBJECT,T.FOREIGN_OBJECT],[v.FORM,T.FORM],[v.FRAME,T.FRAME],[v.FRAMESET,T.FRAMESET],[v.H1,T.H1],[v.H2,T.H2],[v.H3,T.H3],[v.H4,T.H4],[v.H5,T.H5],[v.H6,T.H6],[v.HEAD,T.HEAD],[v.HEADER,T.HEADER],[v.HGROUP,T.HGROUP],[v.HR,T.HR],[v.HTML,T.HTML],[v.I,T.I],[v.IMG,T.IMG],[v.IMAGE,T.IMAGE],[v.INPUT,T.INPUT],[v.IFRAME,T.IFRAME],[v.KEYGEN,T.KEYGEN],[v.LABEL,T.LABEL],[v.LI,T.LI],[v.LINK,T.LINK],[v.LISTING,T.LISTING],[v.MAIN,T.MAIN],[v.MALIGNMARK,T.MALIGNMARK],[v.MARQUEE,T.MARQUEE],[v.MATH,T.MATH],[v.MENU,T.MENU],[v.META,T.META],[v.MGLYPH,T.MGLYPH],[v.MI,T.MI],[v.MO,T.MO],[v.MN,T.MN],[v.MS,T.MS],[v.MTEXT,T.MTEXT],[v.NAV,T.NAV],[v.NOBR,T.NOBR],[v.NOFRAMES,T.NOFRAMES],[v.NOEMBED,T.NOEMBED],[v.NOSCRIPT,T.NOSCRIPT],[v.OBJECT,T.OBJECT],[v.OL,T.OL],[v.OPTGROUP,T.OPTGROUP],[v.OPTION,T.OPTION],[v.P,T.P],[v.PARAM,T.PARAM],[v.PLAINTEXT,T.PLAINTEXT],[v.PRE,T.PRE],[v.RB,T.RB],[v.RP,T.RP],[v.RT,T.RT],[v.RTC,T.RTC],[v.RUBY,T.RUBY],[v.S,T.S],[v.SCRIPT,T.SCRIPT],[v.SECTION,T.SECTION],[v.SELECT,T.SELECT],[v.SOURCE,T.SOURCE],[v.SMALL,T.SMALL],[v.SPAN,T.SPAN],[v.STRIKE,T.STRIKE],[v.STRONG,T.STRONG],[v.STYLE,T.STYLE],[v.SUB,T.SUB],[v.SUMMARY,T.SUMMARY],[v.SUP,T.SUP],[v.TABLE,T.TABLE],[v.TBODY,T.TBODY],[v.TEMPLATE,T.TEMPLATE],[v.TEXTAREA,T.TEXTAREA],[v.TFOOT,T.TFOOT],[v.TD,T.TD],[v.TH,T.TH],[v.THEAD,T.THEAD],[v.TITLE,T.TITLE],[v.TR,T.TR],[v.TRACK,T.TRACK],[v.TT,T.TT],[v.U,T.U],[v.UL,T.UL],[v.SVG,T.SVG],[v.VAR,T.VAR],[v.WBR,T.WBR],[v.XMP,T.XMP]]);function ep(e){var t;return null!==(t=eu.get(e))&&void 0!==t?t:T.UNKNOWN}let ed=T,ef={[b.HTML]:new Set([ed.ADDRESS,ed.APPLET,ed.AREA,ed.ARTICLE,ed.ASIDE,ed.BASE,ed.BASEFONT,ed.BGSOUND,ed.BLOCKQUOTE,ed.BODY,ed.BR,ed.BUTTON,ed.CAPTION,ed.CENTER,ed.COL,ed.COLGROUP,ed.DD,ed.DETAILS,ed.DIR,ed.DIV,ed.DL,ed.DT,ed.EMBED,ed.FIELDSET,ed.FIGCAPTION,ed.FIGURE,ed.FOOTER,ed.FORM,ed.FRAME,ed.FRAMESET,ed.H1,ed.H2,ed.H3,ed.H4,ed.H5,ed.H6,ed.HEAD,ed.HEADER,ed.HGROUP,ed.HR,ed.HTML,ed.IFRAME,ed.IMG,ed.INPUT,ed.LI,ed.LINK,ed.LISTING,ed.MAIN,ed.MARQUEE,ed.MENU,ed.META,ed.NAV,ed.NOEMBED,ed.NOFRAMES,ed.NOSCRIPT,ed.OBJECT,ed.OL,ed.P,ed.PARAM,ed.PLAINTEXT,ed.PRE,ed.SCRIPT,ed.SECTION,ed.SELECT,ed.SOURCE,ed.STYLE,ed.SUMMARY,ed.TABLE,ed.TBODY,ed.TD,ed.TEMPLATE,ed.TEXTAREA,ed.TFOOT,ed.TH,ed.THEAD,ed.TITLE,ed.TR,ed.TRACK,ed.UL,ed.WBR,ed.XMP]),[b.MATHML]:new Set([ed.MI,ed.MO,ed.MN,ed.MS,ed.MTEXT,ed.ANNOTATION_XML]),[b.SVG]:new Set([ed.TITLE,ed.FOREIGN_OBJECT,ed.DESC]),[b.XLINK]:new Set,[b.XML]:new Set,[b.XMLNS]:new Set};function eh(e){return e===ed.H1||e===ed.H2||e===ed.H3||e===ed.H4||e===ed.H5||e===ed.H6}v.STYLE,v.SCRIPT,v.XMP,v.IFRAME,v.NOEMBED,v.NOFRAMES,v.PLAINTEXT;let eg=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);(p=S||(S={}))[p.DATA=0]="DATA",p[p.RCDATA=1]="RCDATA",p[p.RAWTEXT=2]="RAWTEXT",p[p.SCRIPT_DATA=3]="SCRIPT_DATA",p[p.PLAINTEXT=4]="PLAINTEXT",p[p.TAG_OPEN=5]="TAG_OPEN",p[p.END_TAG_OPEN=6]="END_TAG_OPEN",p[p.TAG_NAME=7]="TAG_NAME",p[p.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",p[p.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",p[p.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",p[p.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",p[p.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",p[p.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",p[p.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",p[p.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",p[p.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",p[p.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",p[p.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",p[p.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",p[p.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",p[p.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",p[p.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",p[p.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",p[p.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",p[p.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",p[p.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",p[p.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",p[p.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",p[p.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",p[p.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",p[p.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",p[p.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",p[p.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",p[p.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",p[p.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",p[p.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",p[p.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",p[p.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",p[p.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",p[p.BOGUS_COMMENT=40]="BOGUS_COMMENT",p[p.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",p[p.COMMENT_START=42]="COMMENT_START",p[p.COMMENT_START_DASH=43]="COMMENT_START_DASH",p[p.COMMENT=44]="COMMENT",p[p.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",p[p.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",p[p.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",p[p.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",p[p.COMMENT_END_DASH=49]="COMMENT_END_DASH",p[p.COMMENT_END=50]="COMMENT_END",p[p.COMMENT_END_BANG=51]="COMMENT_END_BANG",p[p.DOCTYPE=52]="DOCTYPE",p[p.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",p[p.DOCTYPE_NAME=54]="DOCTYPE_NAME",p[p.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",p[p.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",p[p.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",p[p.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",p[p.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",p[p.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",p[p.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",p[p.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",p[p.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",p[p.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",p[p.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",p[p.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",p[p.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",p[p.CDATA_SECTION=68]="CDATA_SECTION",p[p.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",p[p.CDATA_SECTION_END=70]="CDATA_SECTION_END",p[p.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",p[p.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",p[p.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",p[p.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",p[p.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",p[p.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",p[p.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",p[p.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END";let em={DATA:S.DATA,RCDATA:S.RCDATA,RAWTEXT:S.RAWTEXT,SCRIPT_DATA:S.SCRIPT_DATA,PLAINTEXT:S.PLAINTEXT,CDATA_SECTION:S.CDATA_SECTION};function eb(e){return e>=h.DIGIT_0&&e<=h.DIGIT_9}function ey(e){return e>=h.LATIN_CAPITAL_A&&e<=h.LATIN_CAPITAL_Z}function eE(e){return e>=h.LATIN_SMALL_A&&e<=h.LATIN_SMALL_Z||ey(e)}function ev(e){return eE(e)||eb(e)}function eT(e){return e>=h.LATIN_CAPITAL_A&&e<=h.LATIN_CAPITAL_F}function eS(e){return e>=h.LATIN_SMALL_A&&e<=h.LATIN_SMALL_F}function eA(e){return e===h.SPACE||e===h.LINE_FEED||e===h.TABULATION||e===h.FORM_FEED}function eO(e){return eA(e)||e===h.SOLIDUS||e===h.GREATER_THAN_SIGN}class e_{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=S.DATA,this.returnState=S.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new es(t),this.currentLocation=this.getCurrentLocation(-1)}_err(e){var t,n;null===(n=(t=this.handler).onParseError)||void 0===n||n.call(t,this.preprocessor.getError(e))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw Error("Parser was already resumed");this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(e){this.consumedAfterSnapshot-=e,this.preprocessor.retreat(e)}_reconsumeInState(e,t){this.state=e,this._callState(t)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t0&&this._err(g.endTagWithAttributes),e.selfClosing&&this._err(g.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case m.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case m.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case m.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:m.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type!==e)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=t;return}}this._createCharacterToken(e,t)}_emitCodePoint(e){let t=eA(e)?m.WHITESPACE_CHARACTER:e===h.NULL?m.NULL_CHARACTER:m.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(m.CHARACTER,e)}_matchNamedCharacterReference(e){let t=null,n=0,r=!1;for(let i=0,o=ec.HP[0];i>=0&&!((i=(0,ec.Go)(ec.HP,o,i+1,e))<0);e=this._consume()){n+=1,o=ec.HP[i];let s=o&ec.ge.VALUE_LENGTH;if(s){var a;let o=(s>>14)-1;if(e!==h.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((a=this.preprocessor.peek(1))===h.EQUALS_SIGN||ev(a))?(t=[h.AMPERSAND],i+=o):(t=0===o?[ec.HP[i]&~ec.ge.VALUE_LENGTH]:1===o?[ec.HP[++i]]:[ec.HP[++i],ec.HP[++i]],n=0,r=e!==h.SEMICOLON),0===o){this._consume();break}}}return this._unconsume(n),r&&!this.preprocessor.endOfChunkHit&&this._err(g.missingSemicolonAfterCharacterReference),this._unconsume(1),t}_isCharacterReferenceInAttribute(){return this.returnState===S.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case S.DATA:this._stateData(e);break;case S.RCDATA:this._stateRcdata(e);break;case S.RAWTEXT:this._stateRawtext(e);break;case S.SCRIPT_DATA:this._stateScriptData(e);break;case S.PLAINTEXT:this._statePlaintext(e);break;case S.TAG_OPEN:this._stateTagOpen(e);break;case S.END_TAG_OPEN:this._stateEndTagOpen(e);break;case S.TAG_NAME:this._stateTagName(e);break;case S.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case S.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case S.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case S.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case S.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case S.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case S.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case S.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case S.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case S.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case S.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case S.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case S.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case S.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case S.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case S.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case S.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case S.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case S.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case S.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case S.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case S.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case S.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case S.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case S.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case S.BOGUS_COMMENT:this._stateBogusComment(e);break;case S.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case S.COMMENT_START:this._stateCommentStart(e);break;case S.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case S.COMMENT:this._stateComment(e);break;case S.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case S.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case S.COMMENT_END:this._stateCommentEnd(e);break;case S.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case S.DOCTYPE:this._stateDoctype(e);break;case S.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case S.DOCTYPE_NAME:this._stateDoctypeName(e);break;case S.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case S.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case S.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case S.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case S.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case S.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case S.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case S.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case S.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case S.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case S.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case S.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case S.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case S.CDATA_SECTION:this._stateCdataSection(e);break;case S.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case S.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case S.CHARACTER_REFERENCE:this._stateCharacterReference(e);break;case S.NAMED_CHARACTER_REFERENCE:this._stateNamedCharacterReference(e);break;case S.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;case S.NUMERIC_CHARACTER_REFERENCE:this._stateNumericCharacterReference(e);break;case S.HEXADEMICAL_CHARACTER_REFERENCE_START:this._stateHexademicalCharacterReferenceStart(e);break;case S.HEXADEMICAL_CHARACTER_REFERENCE:this._stateHexademicalCharacterReference(e);break;case S.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(e);break;case S.NUMERIC_CHARACTER_REFERENCE_END:this._stateNumericCharacterReferenceEnd(e);break;default:throw Error("Unknown state")}}_stateData(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.TAG_OPEN;break;case h.AMPERSAND:this.returnState=S.DATA,this.state=S.CHARACTER_REFERENCE;break;case h.NULL:this._err(g.unexpectedNullCharacter),this._emitCodePoint(e);break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case h.AMPERSAND:this.returnState=S.RCDATA,this.state=S.CHARACTER_REFERENCE;break;case h.LESS_THAN_SIGN:this.state=S.RCDATA_LESS_THAN_SIGN;break;case h.NULL:this._err(g.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.RAWTEXT_LESS_THAN_SIGN;break;case h.NULL:this._err(g.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.SCRIPT_DATA_LESS_THAN_SIGN;break;case h.NULL:this._err(g.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case h.NULL:this._err(g.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(eE(e))this._createStartTagToken(),this.state=S.TAG_NAME,this._stateTagName(e);else switch(e){case h.EXCLAMATION_MARK:this.state=S.MARKUP_DECLARATION_OPEN;break;case h.SOLIDUS:this.state=S.END_TAG_OPEN;break;case h.QUESTION_MARK:this._err(g.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=S.BOGUS_COMMENT,this._stateBogusComment(e);break;case h.EOF:this._err(g.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(g.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=S.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(eE(e))this._createEndTagToken(),this.state=S.TAG_NAME,this._stateTagName(e);else switch(e){case h.GREATER_THAN_SIGN:this._err(g.missingEndTagName),this.state=S.DATA;break;case h.EOF:this._err(g.eofBeforeTagName),this._emitChars("");break;case h.NULL:this._err(g.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case h.EOF:this._err(g.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===h.SOLIDUS?this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:eE(e)?(this._emitChars("<"),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=S.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){eE(e)?(this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("");break;case h.NULL:this._err(g.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case h.EOF:this._err(g.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===h.SOLIDUS?(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(er.SCRIPT,!1)&&eO(this.preprocessor.peek(er.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e1114111)this._err(g.characterReferenceOutsideUnicodeRange),this.charRefCode=h.REPLACEMENT_CHARACTER;else if(ea(this.charRefCode))this._err(g.surrogateCharacterReference),this.charRefCode=h.REPLACEMENT_CHARACTER;else if(eo(this.charRefCode))this._err(g.noncharacterCharacterReference);else if(ei(this.charRefCode)||this.charRefCode===h.CARRIAGE_RETURN){this._err(g.controlCharacterReference);let e=eg.get(this.charRefCode);void 0!==e&&(this.charRefCode=e)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}}let ek=new Set([T.DD,T.DT,T.LI,T.OPTGROUP,T.OPTION,T.P,T.RB,T.RP,T.RT,T.RTC]),eC=new Set([...ek,T.CAPTION,T.COLGROUP,T.TBODY,T.TD,T.TFOOT,T.TH,T.THEAD,T.TR]),ew=new Map([[T.APPLET,b.HTML],[T.CAPTION,b.HTML],[T.HTML,b.HTML],[T.MARQUEE,b.HTML],[T.OBJECT,b.HTML],[T.TABLE,b.HTML],[T.TD,b.HTML],[T.TEMPLATE,b.HTML],[T.TH,b.HTML],[T.ANNOTATION_XML,b.MATHML],[T.MI,b.MATHML],[T.MN,b.MATHML],[T.MO,b.MATHML],[T.MS,b.MATHML],[T.MTEXT,b.MATHML],[T.DESC,b.SVG],[T.FOREIGN_OBJECT,b.SVG],[T.TITLE,b.SVG]]),ex=[T.H1,T.H2,T.H3,T.H4,T.H5,T.H6],eI=[T.TR,T.TEMPLATE,T.HTML],eR=[T.TBODY,T.TFOOT,T.THEAD,T.TEMPLATE,T.HTML],eN=[T.TABLE,T.TEMPLATE,T.HTML],eL=[T.TD,T.TH];class eD{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=T.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===T.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===b.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){let r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==b.HTML);this.shortenToLength(t<0?0:t)}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop=0;n--)if(e.includes(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return -1}clearBackTo(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(eN,b.HTML)}clearBackToTableBodyContext(){this.clearBackTo(eR,b.HTML)}clearBackToTableRowContext(){this.clearBackTo(eI,b.HTML)}remove(e){let t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===T.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===T.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(ew.get(n)===r)return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(eh(t)&&n===b.HTML)break;if(ew.get(t)===n)return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if((n===T.UL||n===T.OL)&&r===b.HTML||ew.get(n)===r)return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(n===T.BUTTON&&r===b.HTML||ew.get(n)===r)return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n===T.TABLE||n===T.TEMPLATE||n===T.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(n===b.HTML){if(t===T.TBODY||t===T.THEAD||t===T.TFOOT)break;if(t===T.TABLE||t===T.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n!==T.OPTION&&n!==T.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;ek.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;eC.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&eC.has(this.currentTagId);)this.pop()}}(d=A=A||(A={}))[d.Marker=0]="Marker",d[d.Element=1]="Element";let eP={type:A.Marker};class eM{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let n=[],r=t.length,a=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let e=0;e[e.name,e.value])),a=0;for(let e=0;er.get(e.name)===e.value)&&(a+=1)>=3&&this.entries.splice(t.idx,1)}}insertMarker(){this.entries.unshift(eP)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:A.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:A.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);t>=0&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(eP);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===A.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===A.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===A.Element&&t.element===e)}}function eF(e){return{nodeName:"#text",value:e,parentNode:null}}let eB={createDocument:()=>({nodeName:"#document",mode:E.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){let r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,n,r){let a=e.childNodes.find(e=>"#documentType"===e.nodeName);a?(a.name=t,a.publicId=n,a.systemId=r):eB.appendChild(e,{nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null})},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let n=e.childNodes[e.childNodes.length-1];if(eB.isTextNode(n)){n.value+=t;return}}eB.appendChild(e,eF(t))},insertTextBefore(e,t,n){let r=e.childNodes[e.childNodes.indexOf(n)-1];r&&eB.isTextNode(r)?r.value+=t:eB.insertBefore(e,eF(t),n)},adoptAttributes(e,t){let n=new Set(e.attrs.map(e=>e.name));for(let r=0;re.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},ej="html",eU=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],eG=[...eU,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],eH=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),ez=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],e$=[...ez,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function eW(e,t){return t.some(t=>e.startsWith(t))}let eZ={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},eY=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),eV=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:b.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:b.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:b.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:b.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:b.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:b.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:b.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:b.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:b.XML}],["xml:space",{prefix:"xml",name:"space",namespace:b.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:b.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:b.XMLNS}]]),eq=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),eK=new Set([T.B,T.BIG,T.BLOCKQUOTE,T.BODY,T.BR,T.CENTER,T.CODE,T.DD,T.DIV,T.DL,T.DT,T.EM,T.EMBED,T.H1,T.H2,T.H3,T.H4,T.H5,T.H6,T.HEAD,T.HR,T.I,T.IMG,T.LI,T.LISTING,T.MENU,T.META,T.NOBR,T.OL,T.P,T.PRE,T.RUBY,T.S,T.SMALL,T.SPAN,T.STRONG,T.STRIKE,T.SUB,T.SUP,T.TABLE,T.TT,T.U,T.UL,T.VAR]);function eX(e){for(let t=0;t0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null===(r=(n=this.treeAdapter).onItemPop)||void 0===r||r.call(n,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let n=e===this.document||this.treeAdapter.getNamespaceURI(e)===b.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,b.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=O.TEXT}switchToPlaintextParsing(){this.insertionMode=O.TEXT,this.originalInsertionMode=O.IN_BODY,this.tokenizer.state=em.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===v.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===b.HTML)switch(this.fragmentContextID){case T.TITLE:case T.TEXTAREA:this.tokenizer.state=em.RCDATA;break;case T.STYLE:case T.XMP:case T.IFRAME:case T.NOEMBED:case T.NOFRAMES:case T.NOSCRIPT:this.tokenizer.state=em.RAWTEXT;break;case T.SCRIPT:this.tokenizer.state=em.SCRIPT_DATA;break;case T.PLAINTEXT:this.tokenizer.state=em.PLAINTEXT}}_setDocumentType(e){let t=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){let t=this.treeAdapter.getChildNodes(this.document),n=t.find(e=>this.treeAdapter.isDocumentTypeNode(e));n&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){let n=this.treeAdapter.createElement(e,b.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,b.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(v.HTML,b.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,T.HTML)}_appendCommentNode(e,t){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let r=this.treeAdapter.getChildNodes(t),a=n?r.lastIndexOf(n):r.length,i=r[a-1],o=this.treeAdapter.getNodeSourceCodeLocation(i);if(o){let{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let n=t.location,r=this.treeAdapter.getTagName(e),a=t.type===m.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,a)}}shouldProcessStartTagTokenInForeignContent(e){let t,n;return!!this.currentNotInHTML&&(0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):{current:t,currentTagId:n}=this.openElements,(e.tagID!==T.SVG||this.treeAdapter.getTagName(t)!==v.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==b.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===T.MGLYPH||e.tagID===T.MALIGNMARK)&&!this._isIntegrationPoint(n,t,b.HTML)))}_processToken(e){switch(e.type){case m.CHARACTER:this.onCharacter(e);break;case m.NULL_CHARACTER:this.onNullCharacter(e);break;case m.COMMENT:this.onComment(e);break;case m.DOCTYPE:this.onDoctype(e);break;case m.START_TAG:this._processStartTag(e);break;case m.END_TAG:this.onEndTag(e);break;case m.EOF:this.onEof(e);break;case m.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){let r=this.treeAdapter.getNamespaceURI(t),a=this.treeAdapter.getAttrList(t);return(!n||n===b.HTML)&&function(e,t,n){if(t===b.MATHML&&e===T.ANNOTATION_XML){for(let e=0;ee.type===A.Marker||this.openElements.contains(e.element)),n=t<0?e-1:t-1;for(let e=n;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=O.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(T.P),this.openElements.popUntilTagNamePopped(T.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case T.TR:this.insertionMode=O.IN_ROW;return;case T.TBODY:case T.THEAD:case T.TFOOT:this.insertionMode=O.IN_TABLE_BODY;return;case T.CAPTION:this.insertionMode=O.IN_CAPTION;return;case T.COLGROUP:this.insertionMode=O.IN_COLUMN_GROUP;return;case T.TABLE:this.insertionMode=O.IN_TABLE;return;case T.BODY:this.insertionMode=O.IN_BODY;return;case T.FRAMESET:this.insertionMode=O.IN_FRAMESET;return;case T.SELECT:this._resetInsertionModeForSelect(e);return;case T.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case T.HTML:this.insertionMode=this.headElement?O.AFTER_HEAD:O.BEFORE_HEAD;return;case T.TD:case T.TH:if(e>0){this.insertionMode=O.IN_CELL;return}break;case T.HEAD:if(e>0){this.insertionMode=O.IN_HEAD;return}}this.insertionMode=O.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===T.TEMPLATE)break;if(e===T.TABLE){this.insertionMode=O.IN_SELECT_IN_TABLE;return}}this.insertionMode=O.IN_SELECT}_isElementCausesFosterParenting(e){return e1.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case T.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===b.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case T.TABLE:{let n=this.treeAdapter.getParentNode(t);if(n)return{parent:n,beforeElement:t};return{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){let n=this.treeAdapter.getNamespaceURI(e);return ef[n].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){this._insertCharacters(e),this.framesetOk=!1;return}switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.IN_BODY:case O.IN_CAPTION:case O.IN_CELL:case O.IN_TEMPLATE:ts(this,e);break;case O.TEXT:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tm(this,e);break;case O.IN_TABLE_TEXT:tT(this,e);break;case O.IN_COLUMN_GROUP:t_(this,e);break;case O.AFTER_BODY:tD(this,e);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){e.chars="�",this._insertCharacters(e);return}switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.TEXT:this._insertCharacters(e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tm(this,e);break;case O.IN_COLUMN_GROUP:t_(this,e);break;case O.AFTER_BODY:tD(this,e);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){e4(this,e);return}switch(this.insertionMode){case O.INITIAL:case O.BEFORE_HTML:case O.BEFORE_HEAD:case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:case O.IN_BODY:case O.IN_TABLE:case O.IN_CAPTION:case O.IN_COLUMN_GROUP:case O.IN_TABLE_BODY:case O.IN_ROW:case O.IN_CELL:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:case O.IN_TEMPLATE:case O.IN_FRAMESET:case O.AFTER_FRAMESET:e4(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case O.INITIAL:!function(e,t){e._setDocumentType(t);let n=t.forceQuirks?E.QUIRKS:function(e){if(e.name!==ej)return E.QUIRKS;let{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return E.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),eH.has(n))return E.QUIRKS;let e=null===t?eG:eU;if(eW(n,e))return E.QUIRKS;if(eW(n,e=null===t?ez:e$))return E.LIMITED_QUIRKS}return E.NO_QUIRKS}(t);t.name===ej&&null===t.publicId&&(null===t.systemId||"about:legacy-compat"===t.systemId)||e._err(t,g.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=O.BEFORE_HTML}(this,e);break;case O.BEFORE_HEAD:case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:this._err(e,g.misplacedDoctype);break;case O.IN_TABLE_TEXT:tS(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,g.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){let t=e.tagID,n=t===T.FONT&&e.attrs.some(({name:e})=>e===y.COLOR||e===y.SIZE||e===y.FACE);return n||eK.has(t)}(t))tM(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===b.MATHML?eX(t):r===b.SVG&&(function(e){let t=eq.get(e.tagName);null!=t&&(e.tagName=t,e.tagID=ep(e.tagName))}(t),eQ(t)),eJ(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e.tagID===T.HTML?(this._insertElement(e,b.HTML),this.insertionMode=O.BEFORE_HEAD):e8(this,e);break;case O.BEFORE_HEAD:!function(e,t){switch(t.tagID){case T.HTML:td(e,t);break;case T.HEAD:e._insertElement(t,b.HTML),e.headElement=e.openElements.current,e.insertionMode=O.IN_HEAD;break;default:e7(e,t)}}(this,e);break;case O.IN_HEAD:te(this,e);break;case O.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case T.HTML:td(e,t);break;case T.BASEFONT:case T.BGSOUND:case T.HEAD:case T.LINK:case T.META:case T.NOFRAMES:case T.STYLE:te(e,t);break;case T.NOSCRIPT:e._err(t,g.nestedNoscriptInHead);break;default:tr(e,t)}}(this,e);break;case O.AFTER_HEAD:!function(e,t){switch(t.tagID){case T.HTML:td(e,t);break;case T.BODY:e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=O.IN_BODY;break;case T.FRAMESET:e._insertElement(t,b.HTML),e.insertionMode=O.IN_FRAMESET;break;case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:e._err(t,g.abandonedHeadElementChild),e.openElements.push(e.headElement,T.HEAD),te(e,t),e.openElements.remove(e.headElement);break;case T.HEAD:e._err(t,g.misplacedStartTagForHeadElement);break;default:ta(e,t)}}(this,e);break;case O.IN_BODY:td(this,e);break;case O.IN_TABLE:tb(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_CAPTION:!function(e,t){let n=t.tagID;tA.has(n)?e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_TABLE,tb(e,t)):td(e,t)}(this,e);break;case O.IN_COLUMN_GROUP:tO(this,e);break;case O.IN_TABLE_BODY:tk(this,e);break;case O.IN_ROW:tw(this,e);break;case O.IN_CELL:!function(e,t){let n=t.tagID;tA.has(n)?(e.openElements.hasInTableScope(T.TD)||e.openElements.hasInTableScope(T.TH))&&(e._closeTableCell(),tw(e,t)):td(e,t)}(this,e);break;case O.IN_SELECT:tI(this,e);break;case O.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e._processStartTag(t)):tI(e,t)}(this,e);break;case O.IN_TEMPLATE:!function(e,t){switch(t.tagID){case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:te(e,t);break;case T.CAPTION:case T.COLGROUP:case T.TBODY:case T.TFOOT:case T.THEAD:e.tmplInsertionModeStack[0]=O.IN_TABLE,e.insertionMode=O.IN_TABLE,tb(e,t);break;case T.COL:e.tmplInsertionModeStack[0]=O.IN_COLUMN_GROUP,e.insertionMode=O.IN_COLUMN_GROUP,tO(e,t);break;case T.TR:e.tmplInsertionModeStack[0]=O.IN_TABLE_BODY,e.insertionMode=O.IN_TABLE_BODY,tk(e,t);break;case T.TD:case T.TH:e.tmplInsertionModeStack[0]=O.IN_ROW,e.insertionMode=O.IN_ROW,tw(e,t);break;default:e.tmplInsertionModeStack[0]=O.IN_BODY,e.insertionMode=O.IN_BODY,td(e,t)}}(this,e);break;case O.AFTER_BODY:e.tagID===T.HTML?td(this,e):tD(this,e);break;case O.IN_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:td(e,t);break;case T.FRAMESET:e._insertElement(t,b.HTML);break;case T.FRAME:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.NOFRAMES:te(e,t)}}(this,e);break;case O.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:td(e,t);break;case T.NOFRAMES:te(e,t)}}(this,e);break;case O.AFTER_AFTER_BODY:e.tagID===T.HTML?td(this,e):tP(this,e);break;case O.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:td(e,t);break;case T.NOFRAMES:te(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===T.P||t.tagID===T.BR){tM(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){let r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===b.HTML){e._endTagOutsideForeignContent(t);break}let a=e.treeAdapter.getTagName(r);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){var t;switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:!function(e,t){let n=t.tagID;(n===T.HTML||n===T.HEAD||n===T.BODY||n===T.BR)&&e8(e,t)}(this,e);break;case O.BEFORE_HEAD:!function(e,t){let n=t.tagID;n===T.HEAD||n===T.BODY||n===T.HTML||n===T.BR?e7(e,t):e._err(t,g.endTagWithoutMatchingOpenElement)}(this,e);break;case O.IN_HEAD:!function(e,t){switch(t.tagID){case T.HEAD:e.openElements.pop(),e.insertionMode=O.AFTER_HEAD;break;case T.BODY:case T.BR:case T.HTML:tn(e,t);break;case T.TEMPLATE:tt(e,t);break;default:e._err(t,g.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case T.NOSCRIPT:e.openElements.pop(),e.insertionMode=O.IN_HEAD;break;case T.BR:tr(e,t);break;default:e._err(t,g.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.AFTER_HEAD:!function(e,t){switch(t.tagID){case T.BODY:case T.HTML:case T.BR:ta(e,t);break;case T.TEMPLATE:tt(e,t);break;default:e._err(t,g.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.IN_BODY:th(this,e);break;case O.TEXT:e.tagID===T.SCRIPT&&(null===(t=this.scriptHandler)||void 0===t||t.call(this,this.openElements.current)),this.openElements.pop(),this.insertionMode=this.originalInsertionMode;break;case O.IN_TABLE:ty(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_CAPTION:!function(e,t){let n=t.tagID;switch(n){case T.CAPTION:case T.TABLE:e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_TABLE,n===T.TABLE&&ty(e,t));break;case T.BODY:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:th(e,t)}}(this,e);break;case O.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case T.COLGROUP:e.openElements.currentTagId===T.COLGROUP&&(e.openElements.pop(),e.insertionMode=O.IN_TABLE);break;case T.TEMPLATE:tt(e,t);break;case T.COL:break;default:t_(e,t)}}(this,e);break;case O.IN_TABLE_BODY:tC(this,e);break;case O.IN_ROW:tx(this,e);break;case O.IN_CELL:!function(e,t){let n=t.tagID;switch(n){case T.TD:case T.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_ROW);break;case T.TABLE:case T.TBODY:case T.TFOOT:case T.THEAD:case T.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),tx(e,t));break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:break;default:th(e,t)}}(this,e);break;case O.IN_SELECT:tR(this,e);break;case O.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e.onEndTag(t)):tR(e,t)}(this,e);break;case O.IN_TEMPLATE:e.tagID===T.TEMPLATE&&tt(this,e);break;case O.AFTER_BODY:tL(this,e);break;case O.IN_FRAMESET:e.tagID!==T.FRAMESET||this.openElements.isRootHtmlElementCurrent()||(this.openElements.pop(),this.fragmentContext||this.openElements.currentTagId===T.FRAMESET||(this.insertionMode=O.AFTER_FRAMESET));break;case O.AFTER_FRAMESET:e.tagID===T.HTML&&(this.insertionMode=O.AFTER_AFTER_FRAMESET);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onEof(e){switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.IN_BODY:case O.IN_TABLE:case O.IN_CAPTION:case O.IN_COLUMN_GROUP:case O.IN_TABLE_BODY:case O.IN_ROW:case O.IN_CELL:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:tg(this,e);break;case O.TEXT:this._err(e,g.eofInElementThatCanContainOnlyText),this.openElements.pop(),this.insertionMode=this.originalInsertionMode,this.onEof(e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_TEMPLATE:tN(this,e);break;case O.AFTER_BODY:case O.IN_FRAMESET:case O.AFTER_FRAMESET:case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:e6(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===h.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:case O.TEXT:case O.IN_COLUMN_GROUP:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:case O.IN_FRAMESET:case O.AFTER_FRAMESET:this._insertCharacters(e);break;case O.IN_BODY:case O.IN_CAPTION:case O.IN_CELL:case O.IN_TEMPLATE:case O.AFTER_BODY:case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:to(this,e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tm(this,e);break;case O.IN_TABLE_TEXT:tv(this,e)}}}function e5(e,t){for(let n=0;n<8;n++){let n=function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):tf(e,t),n}(e,t);if(!n)break;let r=function(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){let a=e.openElements.items[r];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[r])&&(n=a)}return n||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;let a=function(e,t,n){let r=t,a=e.openElements.getCommonAncestor(t);for(let i=0,o=a;o!==n;i++,o=a){a=e.openElements.getCommonAncestor(o);let n=e.activeFormattingElements.getElementEntry(o),s=n&&i>=3,l=!n||s;l?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(o)):(o=function(e,t){let n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}(e,r,n.element),i=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(a),i&&function(e,t,n){let r=e.treeAdapter.getTagName(t),a=ep(r);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(n);else{let r=e.treeAdapter.getNamespaceURI(t);a===T.TEMPLATE&&r===b.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}(e,i,a),function(e,t,n){let r=e.treeAdapter.getNamespaceURI(n.element),{token:a}=n,i=e.treeAdapter.createElement(a.tagName,r,a.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,a),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,a.tagID)}(e,r,n)}}function e4(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function e6(e,t){if(e.stopped=!0,t.location){let n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){let n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function e9(e,t){e._err(t,g.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,E.QUIRKS),e.insertionMode=O.BEFORE_HTML,e._processToken(t)}function e8(e,t){e._insertFakeRootElement(),e.insertionMode=O.BEFORE_HEAD,e._processToken(t)}function e7(e,t){e._insertFakeElement(v.HEAD,T.HEAD),e.headElement=e.openElements.current,e.insertionMode=O.IN_HEAD,e._processToken(t)}function te(e,t){switch(t.tagID){case T.HTML:td(e,t);break;case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.TITLE:e._switchToTextParsing(t,em.RCDATA);break;case T.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,em.RAWTEXT):(e._insertElement(t,b.HTML),e.insertionMode=O.IN_HEAD_NO_SCRIPT);break;case T.NOFRAMES:case T.STYLE:e._switchToTextParsing(t,em.RAWTEXT);break;case T.SCRIPT:e._switchToTextParsing(t,em.SCRIPT_DATA);break;case T.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=O.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(O.IN_TEMPLATE);break;case T.HEAD:e._err(t,g.misplacedStartTagForHeadElement);break;default:tn(e,t)}}function tt(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==T.TEMPLATE&&e._err(t,g.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,g.endTagWithoutMatchingOpenElement)}function tn(e,t){e.openElements.pop(),e.insertionMode=O.AFTER_HEAD,e._processToken(t)}function tr(e,t){let n=t.type===m.EOF?g.openElementsLeftAfterEof:g.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=O.IN_HEAD,e._processToken(t)}function ta(e,t){e._insertFakeElement(v.BODY,T.BODY),e.insertionMode=O.IN_BODY,ti(e,t)}function ti(e,t){switch(t.type){case m.CHARACTER:ts(e,t);break;case m.WHITESPACE_CHARACTER:to(e,t);break;case m.COMMENT:e4(e,t);break;case m.START_TAG:td(e,t);break;case m.END_TAG:th(e,t);break;case m.EOF:tg(e,t)}}function to(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function ts(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function tl(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function tc(e){let t=el(e,y.TYPE);return null!=t&&"hidden"===t.toLowerCase()}function tu(e,t){e._switchToTextParsing(t,em.RAWTEXT)}function tp(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML)}function td(e,t){switch(t.tagID){case T.I:case T.S:case T.B:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.SMALL:case T.STRIKE:case T.STRONG:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case T.A:!function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(v.A);n&&(e5(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),eh(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,b.HTML);break;case T.P:case T.DL:case T.OL:case T.UL:case T.DIV:case T.DIR:case T.NAV:case T.MAIN:case T.MENU:case T.ASIDE:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.DETAILS:case T.ADDRESS:case T.ARTICLE:case T.SECTION:case T.SUMMARY:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML);break;case T.LI:case T.DD:case T.DT:!function(e,t){e.framesetOk=!1;let n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let r=e.openElements.tagIDs[t];if(n===T.LI&&r===T.LI||(n===T.DD||n===T.DT)&&(r===T.DD||r===T.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==T.ADDRESS&&r!==T.DIV&&r!==T.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML)}(e,t);break;case T.BR:case T.IMG:case T.WBR:case T.AREA:case T.EMBED:case T.KEYGEN:tl(e,t);break;case T.HR:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0;break;case T.RB:case T.RTC:e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,b.HTML);break;case T.RT:case T.RP:e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(T.RTC),e._insertElement(t,b.HTML);break;case T.PRE:case T.LISTING:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.framesetOk=!1;break;case T.XMP:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,em.RAWTEXT);break;case T.SVG:e._reconstructActiveFormattingElements(),eQ(t),eJ(t),t.selfClosing?e._appendElement(t,b.SVG):e._insertElement(t,b.SVG),t.ackSelfClosing=!0;break;case T.HTML:0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs);break;case T.BASE:case T.LINK:case T.META:case T.STYLE:case T.TITLE:case T.SCRIPT:case T.BGSOUND:case T.BASEFONT:case T.TEMPLATE:te(e,t);break;case T.BODY:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t);break;case T.FORM:!function(e,t){let n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),n||(e.formElement=e.openElements.current))}(e,t);break;case T.NOBR:e._reconstructActiveFormattingElements(),e.openElements.hasInScope(T.NOBR)&&(e5(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case T.MATH:e._reconstructActiveFormattingElements(),eX(t),eJ(t),t.selfClosing?e._appendElement(t,b.MATHML):e._insertElement(t,b.MATHML),t.ackSelfClosing=!0;break;case T.TABLE:e.treeAdapter.getDocumentMode(e.document)!==E.QUIRKS&&e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=O.IN_TABLE;break;case T.INPUT:e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),tc(t)||(e.framesetOk=!1),t.ackSelfClosing=!0;break;case T.PARAM:case T.TRACK:case T.SOURCE:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.IMAGE:t.tagName=v.IMG,t.tagID=T.IMG,tl(e,t);break;case T.BUTTON:e.openElements.hasInScope(T.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1;break;case T.APPLET:case T.OBJECT:case T.MARQUEE:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1;break;case T.IFRAME:e.framesetOk=!1,e._switchToTextParsing(t,em.RAWTEXT);break;case T.SELECT:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===O.IN_TABLE||e.insertionMode===O.IN_CAPTION||e.insertionMode===O.IN_TABLE_BODY||e.insertionMode===O.IN_ROW||e.insertionMode===O.IN_CELL?O.IN_SELECT_IN_TABLE:O.IN_SELECT;break;case T.OPTION:case T.OPTGROUP:e.openElements.currentTagId===T.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML);break;case T.NOEMBED:tu(e,t);break;case T.FRAMESET:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_FRAMESET)}(e,t);break;case T.TEXTAREA:e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.tokenizer.state=em.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=O.TEXT;break;case T.NOSCRIPT:e.options.scriptingEnabled?tu(e,t):tp(e,t);break;case T.PLAINTEXT:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.tokenizer.state=em.PLAINTEXT;break;case T.COL:case T.TH:case T.TD:case T.TR:case T.HEAD:case T.FRAME:case T.TBODY:case T.TFOOT:case T.THEAD:case T.CAPTION:case T.COLGROUP:break;default:tp(e,t)}}function tf(e,t){let n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let a=e.openElements.items[t],i=e.openElements.tagIDs[t];if(r===i&&(r!==T.UNKNOWN||e.treeAdapter.getTagName(a)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(a,i))break}}function th(e,t){switch(t.tagID){case T.A:case T.B:case T.I:case T.S:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.NOBR:case T.SMALL:case T.STRIKE:case T.STRONG:e5(e,t);break;case T.P:e.openElements.hasInButtonScope(T.P)||e._insertFakeElement(v.P,T.P),e._closePElement();break;case T.DL:case T.UL:case T.OL:case T.DIR:case T.DIV:case T.NAV:case T.PRE:case T.MAIN:case T.MENU:case T.ASIDE:case T.BUTTON:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.ADDRESS:case T.ARTICLE:case T.DETAILS:case T.SECTION:case T.SUMMARY:case T.LISTING:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case T.LI:e.openElements.hasInListItemScope(T.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(T.LI),e.openElements.popUntilTagNamePopped(T.LI));break;case T.DD:case T.DT:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped());break;case T.BR:e._reconstructActiveFormattingElements(),e._insertFakeElement(v.BR,T.BR),e.openElements.pop(),e.framesetOk=!1;break;case T.BODY:!function(e,t){if(e.openElements.hasInScope(T.BODY)&&(e.insertionMode=O.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}(e,t);break;case T.HTML:e.openElements.hasInScope(T.BODY)&&(e.insertionMode=O.AFTER_BODY,tL(e,t));break;case T.FORM:!function(e){let t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(T.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(T.FORM):n&&e.openElements.remove(n))}(e);break;case T.APPLET:case T.OBJECT:case T.MARQUEE:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}(e,t);break;case T.TEMPLATE:tt(e,t);break;default:tf(e,t)}}function tg(e,t){e.tmplInsertionModeStack.length>0?tN(e,t):e6(e,t)}function tm(e,t){if(e1.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=O.IN_TABLE_TEXT,t.type){case m.CHARACTER:tT(e,t);break;case m.WHITESPACE_CHARACTER:tv(e,t)}else tE(e,t)}function tb(e,t){switch(t.tagID){case T.TD:case T.TH:case T.TR:e.openElements.clearBackToTableContext(),e._insertFakeElement(v.TBODY,T.TBODY),e.insertionMode=O.IN_TABLE_BODY,tk(e,t);break;case T.STYLE:case T.SCRIPT:case T.TEMPLATE:te(e,t);break;case T.COL:e.openElements.clearBackToTableContext(),e._insertFakeElement(v.COLGROUP,T.COLGROUP),e.insertionMode=O.IN_COLUMN_GROUP,tO(e,t);break;case T.FORM:e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,b.HTML),e.formElement=e.openElements.current,e.openElements.pop());break;case T.TABLE:e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode(),e._processStartTag(t));break;case T.TBODY:case T.TFOOT:case T.THEAD:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_TABLE_BODY;break;case T.INPUT:tc(t)?e._appendElement(t,b.HTML):tE(e,t),t.ackSelfClosing=!0;break;case T.CAPTION:e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_CAPTION;break;case T.COLGROUP:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_COLUMN_GROUP;break;default:tE(e,t)}}function ty(e,t){switch(t.tagID){case T.TABLE:e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode());break;case T.TEMPLATE:tt(e,t);break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:tE(e,t)}}function tE(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,ti(e,t),e.fosterParentingEnabled=n}function tv(e,t){e.pendingCharacterTokens.push(t)}function tT(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function tS(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0&&e.openElements.currentTagId===T.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===T.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===T.OPTGROUP&&e.openElements.pop();break;case T.OPTION:e.openElements.currentTagId===T.OPTION&&e.openElements.pop();break;case T.SELECT:e.openElements.hasInSelectScope(T.SELECT)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode());break;case T.TEMPLATE:tt(e,t)}}function tN(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):e6(e,t)}function tL(e,t){var n;if(t.tagID===T.HTML){if(e.fragmentContext||(e.insertionMode=O.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===T.HTML){e._setEndLocation(e.openElements.items[0],t);let r=e.openElements.items[1];!r||(null===(n=e.treeAdapter.getNodeSourceCodeLocation(r))||void 0===n?void 0:n.endTag)||e._setEndLocation(r,t)}}else tD(e,t)}function tD(e,t){e.insertionMode=O.IN_BODY,ti(e,t)}function tP(e,t){e.insertionMode=O.IN_BODY,ti(e,t)}function tM(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==b.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}n(43470),v.AREA,v.BASE,v.BASEFONT,v.BGSOUND,v.BR,v.COL,v.EMBED,v.FRAME,v.HR,v.IMG,v.INPUT,v.KEYGEN,v.LINK,v.META,v.PARAM,v.SOURCE,v.TRACK,v.WBR;var tF=n(3980),tB=n(21623);let tj=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),tU={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function tG(e,t){let n=function(e){let t="root"===e.type?e.children[0]:e;return!!(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName.toLowerCase()))}(e),r=q("type",{handlers:{root:tz,element:t$,text:tW,comment:tY,doctype:tZ,raw:tV},unknown:tq}),a={parser:n?new e3(tU):e3.getFragmentParser(void 0,tU),handle(e){r(e,a)},stitches:!1,options:t||{}};r(e,a),tK(a,(0,tF.Pk)());let i=n?a.parser.document:a.parser.getFragment(),o=function(e,t){let n=t||{};return z({file:n.file||void 0,location:!1,schema:"svg"===n.space?C.YP:C.dy,verbose:n.verbose||!1},e)}(i,{file:a.options.file});return(a.stitches&&(0,tB.Vn)(o,"comment",function(e,t,n){if(e.value.stitch&&n&&void 0!==t){let r=n.children;return r[t]=e.value.stitch,t}}),"root"===o.type&&1===o.children.length&&o.children[0].type===e.type)?o.children[0]:o}function tH(e,t){let n=-1;if(e)for(;++n4&&(t.parser.tokenizer.state=0);let n={type:m.CHARACTER,chars:e.value,location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tZ(e,t){let n={type:m.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tY(e,t){let n=e.value,r={type:m.COMMENT,data:n,location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function tV(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,tX(t,(0,tF.Pk)(e)),t.parser.tokenizer.write(e.value,!1),t.parser.tokenizer._runParsingLoop(),72===t.parser.tokenizer.state||78===t.parser.tokenizer.state){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;let e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function tq(e,t){if(t.options.passThrough&&t.options.passThrough.includes(e.type))!function(e,t){t.stitches=!0;let n="children"in e?(0,_.ZP)({...e,children:[]}):(0,_.ZP)(e);if("children"in e&&"children"in n){let r=tG({type:"root",children:e.children},t.options);n.children=r.children}tY({type:"comment",value:{stitch:n}},t)}(e,t);else{let t="";throw tj.has(e.type)&&(t=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),Error("Cannot compile `"+e.type+"` node"+t)}}function tK(e,t){tX(e,t);let n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=em.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function tX(e,t){if(t&&void 0!==t.offset){let n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function tQ(e){let t=(0,tF.Pk)(e)||{line:void 0,column:void 0,offset:void 0},n=(0,tF.rb)(e)||{line:void 0,column:void 0,offset:void 0},r={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset};return r}function tJ(e){return function(t,n){let r=tG(t,{...e,file:n});return r}}},78600:function(e,t,n){"use strict";function r(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,a=n.indexOf(t);for(;-1!==a;)r++,a=n.indexOf(t,a+t.length);return r}n.d(t,{Z:function(){return eQ}});var a=n(24345),i=n(15459),o=n(88718),s=n(96093);let l="phrasing",c=["autolink","link","image","label"];function u(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function p(e){this.config.enter.autolinkProtocol.call(this,e)}function d(e){this.config.exit.autolinkProtocol.call(this,e)}function f(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];(0,a.ok)("link"===t.type),t.url="http://"+this.sliceSerialize(e)}function h(e){this.config.exit.autolinkEmail.call(this,e)}function g(e){this.exit(e)}function m(e){!function(e,t,n){let r=(0,s.O)((n||{}).ignore||[]),a=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r0?{type:"text",value:i}:void 0),!1===i?r.lastIndex=n+1:(s!==n&&p.push({type:"text",value:e.value.slice(s,n)}),Array.isArray(i)?p.push(...i):i&&p.push(i),s=n+d[0].length,u=!0),!r.global)break;d=r.exec(e.value)}return u?(s?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],a=n.indexOf(")"),i=r(e,"("),o=r(e,")");for(;-1!==a&&i>o;)e+=n.slice(0,a+1),a=(n=n.slice(a+1)).indexOf(")"),o++;return[e,n]}(n+a);if(!s[0])return!1;let l={type:"link",title:null,url:o+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[l,{type:"text",value:s[1]}]:l}function y(e,t,n,r){return!(!E(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function E(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||(0,i.B8)(n)||(0,i.Xh)(n))&&(!t||47!==n)}var v=n(11098);function T(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function S(){this.buffer()}function A(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteDefinition"===n.type),n.label=t,n.identifier=(0,v.d)(this.sliceSerialize(e)).toLowerCase()}function O(e){this.exit(e)}function _(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function k(){this.buffer()}function C(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteReference"===n.type),n.label=t,n.identifier=(0,v.d)(this.sliceSerialize(e)).toLowerCase()}function w(e){this.exit(e)}function x(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteReference"),s=n.enter("reference");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),o(),i+=a.move("]")}function I(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteDefinition"),s=n.enter("label");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),i+=a.move("]:"+(e.children&&e.children.length>0?" ":"")),a.shift(4),i+=a.move(n.indentLines(n.containerFlow(e,a.current()),R)),o(),i}function R(e,t,n){return 0===t?e:(n?"":" ")+e}x.peek=function(){return"["};let N=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function L(e){this.enter({type:"delete",children:[]},e)}function D(e){this.exit(e)}function P(e,t,n,r){let a=n.createTracker(r),i=n.enter("strikethrough"),o=a.move("~~");return o+=n.containerPhrasing(e,{...a.current(),before:o,after:"~"})+a.move("~~"),i(),o}function M(e){return e.length}function F(e){let t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function B(e,t,n){return">"+(n?"":" ")+e}function j(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),c+=l.move(")"),o(),c}function q(e,t,n,r){let a=e.referenceType,i=n.enter("imageReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("!["),c=n.safe(e.alt,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let p=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===p?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(p+"]"),l}function K(e,t,n){let r=e.value||"",a="`",i=-1;for(;RegExp("(^|[^`])"+a+"([^`]|$)").test(r);)a+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i\u007F]/.test(e.url))}function Q(e,t,n,r){let a,i;let o=z(n),s='"'===o?"Quote":"Apostrophe",l=n.createTracker(r);if(X(e,n)){let t=n.stack;n.stack=[],a=n.enter("autolink");let r=l.move("<");return r+=l.move(n.containerPhrasing(e,{before:r,after:">",...l.current()}))+l.move(">"),a(),n.stack=t,r}a=n.enter("link"),i=n.enter("label");let c=l.move("[");return c+=l.move(n.containerPhrasing(e,{before:c,after:"](",...l.current()}))+l.move("]("),i(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(i=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(i=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),i(),e.title&&(i=n.enter(`title${s}`),c+=l.move(" "+o),c+=l.move(n.safe(e.title,{before:c,after:o,...l.current()}))+l.move(o),i()),c+=l.move(")"),a(),c}function J(e,t,n,r){let a=e.referenceType,i=n.enter("linkReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("["),c=n.containerPhrasing(e,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let p=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===p?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(p+"]"),l}function ee(e){let t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function et(e){let t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}Y.peek=function(){return"<"},V.peek=function(){return"!"},q.peek=function(){return"!"},K.peek=function(){return"`"},Q.peek=function(e,t,n){return X(e,n)?"<":"["},J.peek=function(){return"["};let en=(0,s.O)(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function er(e,t,n,r){let a=function(e){let t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(n),i=n.enter("strong"),o=n.createTracker(r),s=o.move(a+a);return s+=o.move(n.containerPhrasing(e,{before:s,after:a,...o.current()}))+o.move(a+a),i(),s}er.peek=function(e,t,n){return n.options.strong||"*"};let ea={blockquote:function(e,t,n,r){let a=n.enter("blockquote"),i=n.createTracker(r);i.move("> "),i.shift(2);let o=n.indentLines(n.containerFlow(e,i.current()),B);return a(),o},break:U,code:function(e,t,n,r){let a=function(e){let t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),i=e.value||"",o="`"===a?"GraveAccent":"Tilde";if(!1===n.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value)){let e=n.enter("codeIndented"),t=n.indentLines(i,H);return e(),t}let s=n.createTracker(r),l=a.repeat(Math.max((0,G.J)(i,a)+1,3)),c=n.enter("codeFenced"),u=s.move(l);if(e.lang){let t=n.enter(`codeFencedLang${o}`);u+=s.move(n.safe(e.lang,{before:u,after:" ",encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${o}`);u+=s.move(" "),u+=s.move(n.safe(e.meta,{before:u,after:"\n",encode:["`"],...s.current()})),t()}return u+=s.move("\n"),i&&(u+=s.move(i+"\n")),u+=s.move(l),c(),u},definition:function(e,t,n,r){let a=z(n),i='"'===a?"Quote":"Apostrophe",o=n.enter("definition"),s=n.enter("label"),l=n.createTracker(r),c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()}))+l.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":"\n",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),o(),c},emphasis:$,hardBreak:U,heading:function(e,t,n,r){let a;let i=Math.max(Math.min(6,e.depth||1),1),s=n.createTracker(r);if(a=!1,(0,W.Vn)(e,function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return a=!0,o.BK}),(!e.depth||e.depth<3)&&(0,Z.B)(e)&&(n.options.setext||a)){let t=n.enter("headingSetext"),r=n.enter("phrasing"),a=n.containerPhrasing(e,{...s.current(),before:"\n",after:"\n"});return r(),t(),a+"\n"+(1===i?"=":"-").repeat(a.length-(Math.max(a.lastIndexOf("\r"),a.lastIndexOf("\n"))+1))}let l="#".repeat(i),c=n.enter("headingAtx"),u=n.enter("phrasing");s.move(l+" ");let p=n.containerPhrasing(e,{before:"# ",after:"\n",...s.current()});return/^[\t ]/.test(p)&&(p="&#x"+p.charCodeAt(0).toString(16).toUpperCase()+";"+p.slice(1)),p=p?l+" "+p:l,n.options.closeAtx&&(p+=" "+l),u(),c(),p},html:Y,image:V,imageReference:q,inlineCode:K,link:Q,linkReference:J,list:function(e,t,n,r){let a=n.enter("list"),i=n.bulletCurrent,o=e.ordered?function(e){let t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):ee(n),s=e.ordered?"."===o?")":".":function(e){let t=ee(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n),l=!!t&&!!n.bulletLastUsed&&o===n.bulletLastUsed;if(!e.ordered){let t=e.children?e.children[0]:void 0;if("*"!==o&&"-"!==o||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(l=!0),et(n)===o&&t){let t=-1;for(;++t-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+i);let o=i.length+1;("tab"===a||"mixed"===a&&(t&&"list"===t.type&&t.spread||e.spread))&&(o=4*Math.ceil(o/4));let s=n.createTracker(r);s.move(i+" ".repeat(o-i.length)),s.shift(o);let l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),function(e,t,n){return t?(n?"":" ".repeat(o))+e:(n?i:i+" ".repeat(o-i.length))+e});return l(),c},paragraph:function(e,t,n,r){let a=n.enter("paragraph"),i=n.enter("phrasing"),o=n.containerPhrasing(e,r);return i(),a(),o},root:function(e,t,n,r){let a=e.children.some(function(e){return en(e)}),i=a?n.containerPhrasing:n.containerFlow;return i.call(n,e,r)},strong:er,text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){let r=(et(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}};function ei(e){let t=e._align;(0,a.ok)(t,"expected `_align` on table"),this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function eo(e){this.exit(e),this.data.inTable=void 0}function es(e){this.enter({type:"tableRow",children:[]},e)}function el(e){this.exit(e)}function ec(e){this.enter({type:"tableCell",children:[]},e)}function eu(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,ep));let n=this.stack[this.stack.length-1];(0,a.ok)("inlineCode"===n.type),n.value=t,this.exit(e)}function ep(e,t){return"|"===t?t:e}function ed(e){let t=this.stack[this.stack.length-2];(0,a.ok)("listItem"===t.type),t.checked="taskListCheckValueChecked"===e.type}function ef(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1];(0,a.ok)("paragraph"===e.type);let n=e.children[0];if(n&&"text"===n.type){let r;let a=t.children,i=-1;for(;++i0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}eO[43]=eA,eO[45]=eA,eO[46]=eA,eO[95]=eA,eO[72]=[eA,eS],eO[104]=[eA,eS],eO[87]=[eA,eT],eO[119]=[eA,eT];var eR=n(23402),eN=n(42761);let eL={tokenize:function(e,t,n){let r=this;return(0,eN.f)(e,function(e){let a=r.events[r.events.length-1];return a&&"gfmFootnoteDefinitionIndent"===a[1].type&&4===a[2].sliceSerialize(a[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function eD(e,t,n){let r;let a=this,i=a.events.length,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);for(;i--;){let e=a.events[i][1];if("labelImage"===e.type){r=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(i){if(!r||!r._balanced)return n(i);let s=(0,v.d)(a.sliceSerialize({start:r.end,end:a.now()}));return 94===s.codePointAt(0)&&o.includes(s.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(i),e.exit("gfmFootnoteCallLabelMarker"),t(i)):n(i)}}function eP(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;let i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",a,t],["exit",a,t],["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function eM(e,t,n){let r;let a=this,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),s=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),l};function l(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(l){if(s>999||93===l&&!r||null===l||91===l||(0,i.z3)(l))return n(l);if(93===l){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return o.includes((0,v.d)(a.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(l)}return(0,i.z3)(l)||(r=!0),s++,e.consume(l),92===l?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function eF(e,t,n){let r,a;let o=this,s=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]),l=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(t)}function u(t){if(l>999||93===t&&!a||null===t||91===t||(0,i.z3)(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return r=(0,v.d)(o.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),d}return(0,i.z3)(t)||(a=!0),l++,e.consume(t),92===t?p:u}function p(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}function d(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s.includes(r)||s.push(r),(0,eN.f)(e,f,"gfmFootnoteDefinitionWhitespace")):n(t)}function f(e){return t(e)}}function eB(e,t,n){return e.check(eR.w,t,e.attempt(eL,t,n))}function ej(e){e.exit("gfmFootnoteDefinition")}var eU=n(21905),eG=n(62987),eH=n(63233);class ez{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let a=0;if(0!==n||0!==r.length){for(;a0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function e$(e,t,n){let r;let a=this,o=0,s=0;return function(e){let t=a.events.length-1;for(;t>-1;){let e=a.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let r=t>-1?a.events[t][1].type:null,i="tableHead"===r||"tableRow"===r?E:l;return i===E&&a.parser.lazy[a.now().line]?n(e):i(e)};function l(t){return e.enter("tableHead"),e.enter("tableRow"),124===t||(r=!0,s+=1),c(t)}function c(t){return null===t?n(t):(0,i.Ch)(t)?s>1?(s=0,a.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),d):n(t):(0,i.xz)(t)?(0,eN.f)(e,c,"whitespace")(t):(s+=1,r&&(r=!1,o+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,c):(e.enter("data"),u(t))}function u(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),c(t)):(e.consume(t),92===t?p:u)}function p(t){return 92===t||124===t?(e.consume(t),u):u(t)}function d(t){return(a.interrupt=!1,a.parser.lazy[a.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,(0,i.xz)(t))?(0,eN.f)(e,f,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):f(t)}function f(t){return 45===t||58===t?g(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),h):n(t)}function h(t){return(0,i.xz)(t)?(0,eN.f)(e,g,"whitespace")(t):g(t)}function g(t){return 58===t?(s+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),m):45===t?(s+=1,m(t)):null===t||(0,i.Ch)(t)?y(t):n(t)}function m(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),b):(e.exit("tableDelimiterFiller"),b(n))}(t)):n(t)}function b(t){return(0,i.xz)(t)?(0,eN.f)(e,y,"whitespace")(t):y(t)}function y(a){return 124===a?f(a):null===a||(0,i.Ch)(a)?r&&o===s?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(a)):n(a):n(a)}function E(t){return e.enter("tableRow"),v(t)}function v(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),v):null===n||(0,i.Ch)(n)?(e.exit("tableRow"),t(n)):(0,i.xz)(n)?(0,eN.f)(e,v,"whitespace")(n):(e.enter("data"),T(n))}function T(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),v(t)):(e.consume(t),92===t?S:T)}function S(t){return 92===t||124===t?(e.consume(t),T):T(t)}}function eW(e,t){let n,r,a,i=-1,o=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,p=0,d=new ez;for(;++in[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",o,t]])}return void 0!==a&&(i.end=Object.assign({},eV(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function eY(e,t,n,r,a){let i=[],o=eV(t.events,n);a&&(a.end=Object.assign({},o),i.push(["exit",a,t])),r.end=Object.assign({},o),i.push(["exit",r,t]),e.add(n+1,0,i)}function eV(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}let eq={name:"tasklistCheck",tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),a):n(t)};function a(t){return(0,i.z3)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(t)}function s(r){return(0,i.Ch)(r)?t(r):(0,i.xz)(r)?e.check({tokenize:eK},t,n)(r):n(r)}}};function eK(e,t,n){return(0,eN.f)(e,function(e){return null===e?n(e):t(e)},"whitespace")}let eX={};function eQ(e){let t=e||eX,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),i=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push((0,eg.W)([{text:eO},{document:{91:{name:"gfmFootnoteDefinition",tokenize:eF,continuation:{tokenize:eB},exit:ej}},text:{91:{name:"gfmFootnoteCall",tokenize:eM},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:eD,resolveTo:eP}}},function(e){let t=(e||{}).singleTilde,n={name:"strikethrough",tokenize:function(e,n,r){let a=this.previous,i=this.events,o=0;return function(s){return 126===a&&"characterEscape"!==i[i.length-1][1].type?r(s):(e.enter("strikethroughSequenceTemporary"),function i(s){let l=(0,eG.r)(a);if(126===s)return o>1?r(s):(e.consume(s),o++,i);if(o<2&&!t)return r(s);let c=e.exit("strikethroughSequenceTemporary"),u=(0,eG.r)(s);return c._open=!u||2===u&&!!l,c._close=!l||2===l&&!!u,n(s)}(s))}},resolveAll:function(e,t){let n=-1;for(;++nl&&(l=e[c].length);++ps[p])&&(s[p]=e)}n.push(i)}i[c]=n,o[c]=a}let p=-1;if("object"==typeof n&&"length"in n)for(;++ps[p]&&(s[p]=i),f[p]=i),d[p]=o}i.splice(1,0,d),o.splice(1,0,f),c=-1;let h=[];for(;++c","Iacute":"\xcd","Icirc":"\xce","Igrave":"\xcc","Iuml":"\xcf","LT":"<","Ntilde":"\xd1","Oacute":"\xd3","Ocirc":"\xd4","Ograve":"\xd2","Oslash":"\xd8","Otilde":"\xd5","Ouml":"\xd6","QUOT":"\\"","REG":"\xae","THORN":"\xde","Uacute":"\xda","Ucirc":"\xdb","Ugrave":"\xd9","Uuml":"\xdc","Yacute":"\xdd","aacute":"\xe1","acirc":"\xe2","acute":"\xb4","aelig":"\xe6","agrave":"\xe0","amp":"&","aring":"\xe5","atilde":"\xe3","auml":"\xe4","brvbar":"\xa6","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","eacute":"\xe9","ecirc":"\xea","egrave":"\xe8","eth":"\xf0","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","iacute":"\xed","icirc":"\xee","iexcl":"\xa1","igrave":"\xec","iquest":"\xbf","iuml":"\xef","laquo":"\xab","lt":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","ntilde":"\xf1","oacute":"\xf3","ocirc":"\xf4","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","oslash":"\xf8","otilde":"\xf5","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","raquo":"\xbb","reg":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","thorn":"\xfe","times":"\xd7","uacute":"\xfa","ucirc":"\xfb","ugrave":"\xf9","uml":"\xa8","uuml":"\xfc","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')}}]); \ No newline at end of file + */var r=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},a={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=u.reach));S+=T.value.length,T=T.next){var A,O=T.value;if(n.length>t.length)return;if(!(O instanceof i)){var _=1;if(b){if(!(A=o(v,S,t,m))||A.index>=t.length)break;var k=A.index,C=A.index+A[0].length,w=S;for(w+=T.value.length;k>=w;)w+=(T=T.next).value.length;if(w-=T.value.length,S=w,T.value instanceof i)continue;for(var x=T;x!==n.tail&&(wu.reach&&(u.reach=L);var D=T.prev;R&&(D=l(n,D,R),S+=R.length),function(e,t,n){for(var r=t.next,a=0;a1){var M={cause:p+","+f,reach:L};e(t,n,r,T.prev,S,M),u&&M.reach>u.reach&&(u.reach=M.reach)}}}}}}(e,c,t,c.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(c)},hooks:{all:{},add:function(e,t){var n=a.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=a.hooks.all[e];if(n&&n.length)for(var r,i=0;r=n[i++];)r(t)}},Token:i};function i(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var i=a[1].length;a.index+=i,a[0]=a[0].slice(i)}return a}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}if(e.Prism=a,i.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach(function(t){r+=e(t,n)}),r}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},o=t.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(i.classes,o):i.classes.push(o)),a.hooks.run("wrap",i);var s="";for(var l in i.attributes)s+=" "+l+'="'+(i.attributes[l]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+s+">"+i.content+""},!e.document)return e.addEventListener&&(a.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),r=n.language,i=n.code,o=n.immediateClose;e.postMessage(a.highlight(i,a.languages[r],r)),o&&e.close()},!1)),a;var c=a.util.currentScript();function u(){a.manual||a.highlightAll()}if(c&&(a.filename=c.src,c.hasAttribute("data-manual")&&(a.manual=!0)),!a.manual){var p=document.readyState;"loading"===p||"interactive"===p&&c&&c.defer?document.addEventListener("DOMContentLoaded",u):window.requestAnimationFrame?window.requestAnimationFrame(u):window.setTimeout(u,16)}return a}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=r),void 0!==n.g&&(n.g.Prism=r)},96774:function(e){e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),o=Object.keys(t);if(i.length!==o.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;le.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}},88998:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(95778);function a(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},13643:function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,{Z:function(){return r}})},98568:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)}n.d(t,{Z:function(){return a}})},99660:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(88998);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var l=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(l&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),w(n),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;w(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:I(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),b}},t}},55054:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59312);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw a}}return s}}(e,t)||(0,r.Z)(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},27567:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(13643);function a(){return(a="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var a=function(e,t){for(;!({}).hasOwnProperty.call(e,t)&&null!==(e=(0,r.Z)(e)););return e}(e,t);if(a){var i=Object.getOwnPropertyDescriptor(a,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}}).apply(null,arguments)}function i(e,t,n,i){var o=a((0,r.Z)(1&i?e.prototype:e),t,n);return 2&i&&"function"==typeof o?function(e){return o.apply(n,e)}:o}},25585:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(59630),a=n(59312);function i(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,a.Z)(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},95778:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(2846);function a(e){var t=function(e,t){if("object"!=(0,r.Z)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=(0,r.Z)(a))return a;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.Z)(t)?t:t+""}},2846:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{Z:function(){return r}})},59312:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59630);function a(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},21129:function(e,t,n){"use strict";var r=n(4503);t.Z=r},86676:function(e,t,n){"use strict";n.d(t,{r:function(){return a}});let r=/[#.]/g;function a(e,t){let n,a;let i=e||"",o={},s=0;for(;so&&(o=i):i=1,a=r+t.length,r=n.indexOf(t,a);return o}n.d(t,{J:function(){return r}})},24557:function(e,t,n){"use strict";n.d(t,{Z:function(){return ep}});var r={};n.r(r),n.d(r,{boolean:function(){return c},booleanish:function(){return u},commaOrSpaceSeparated:function(){return g},commaSeparated:function(){return h},number:function(){return d},overloadedBoolean:function(){return p},spaceSeparated:function(){return f}});class a{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function i(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new a(n,r,t)}function o(e){return e.toLowerCase()}a.prototype.normal={},a.prototype.property={},a.prototype.space=void 0;class s{constructor(e,t){this.attribute=t,this.property=e}}s.prototype.attribute="",s.prototype.booleanish=!1,s.prototype.boolean=!1,s.prototype.commaOrSpaceSeparated=!1,s.prototype.commaSeparated=!1,s.prototype.defined=!1,s.prototype.mustUseProperty=!1,s.prototype.number=!1,s.prototype.overloadedBoolean=!1,s.prototype.property="",s.prototype.spaceSeparated=!1,s.prototype.space=void 0;let l=0,c=m(),u=m(),p=m(),d=m(),f=m(),h=m(),g=m();function m(){return 2**++l}let b=Object.keys(r);class y extends s{constructor(e,t,n,a){var i,o;let s=-1;if(super(e,t),a&&(this.space=a),"number"==typeof n)for(;++s"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function T(e,t){return t in e?e[t]:t}function S(e,t){return T(e,t.toLowerCase())}let A=E({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:h,acceptCharset:f,accessKey:f,action:null,allow:null,allowFullScreen:c,allowPaymentRequest:c,allowUserMedia:c,alt:null,as:null,async:c,autoCapitalize:null,autoComplete:f,autoFocus:c,autoPlay:c,blocking:f,capture:null,charSet:null,checked:c,cite:null,className:f,cols:d,colSpan:null,content:null,contentEditable:u,controls:c,controlsList:f,coords:d|h,crossOrigin:null,data:null,dateTime:null,decoding:null,default:c,defer:c,dir:null,dirName:null,disabled:c,download:p,draggable:u,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:c,formTarget:null,headers:f,height:d,hidden:c,high:d,href:null,hrefLang:null,htmlFor:f,httpEquiv:f,id:null,imageSizes:null,imageSrcSet:null,inert:c,inputMode:null,integrity:null,is:null,isMap:c,itemId:null,itemProp:f,itemRef:f,itemScope:c,itemType:f,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:c,low:d,manifest:null,max:null,maxLength:d,media:null,method:null,min:null,minLength:d,multiple:c,muted:c,name:null,nonce:null,noModule:c,noValidate:c,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored: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,onScrollEnd: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:c,optimum:d,pattern:null,ping:f,placeholder:null,playsInline:c,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:c,referrerPolicy:null,rel:f,required:c,reversed:c,rows:d,rowSpan:d,sandbox:f,scope:null,scoped:c,seamless:c,selected:c,shadowRootClonable:c,shadowRootDelegatesFocus:c,shadowRootMode:null,shape:null,size:d,sizes:null,slot:null,span:d,spellCheck:u,src:null,srcDoc:null,srcLang:null,srcSet:null,start:d,step:null,style:null,tabIndex:d,target:null,title:null,translate:null,type:null,typeMustMatch:c,useMap:null,value:u,width:d,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:f,axis:null,background:null,bgColor:null,border:d,borderColor:null,bottomMargin:d,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:c,declare:c,event:null,face:null,frame:null,frameBorder:null,hSpace:d,leftMargin:d,link:null,longDesc:null,lowSrc:null,marginHeight:d,marginWidth:d,noResize:c,noHref:c,noShade:c,noWrap:c,object:null,profile:null,prompt:null,rev:null,rightMargin:d,rules:null,scheme:null,scrolling:u,standby:null,summary:null,text:null,topMargin:d,valueType:null,version:null,vAlign:null,vLink:null,vSpace:d,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:c,disableRemotePlayback:c,prefix:null,property:null,results:d,security:null,unselectable:null},space:"html",transform:S}),O=E({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:g,accentHeight:d,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:d,amplitude:d,arabicForm:null,ascent:d,attributeName:null,attributeType:null,azimuth:d,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:d,by:null,calcMode:null,capHeight:d,className:f,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:d,diffuseConstant:d,direction:null,display:null,dur:null,divisor:d,dominantBaseline:null,download:c,dx:null,dy:null,edgeMode:null,editable:null,elevation:d,enableBackground:null,end:null,event:null,exponent:d,externalResourcesRequired:null,fill:null,fillOpacity:d,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:h,g2:h,glyphName:h,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:d,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:d,horizOriginX:d,horizOriginY:d,id:null,ideographic:d,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:d,k:d,k1:d,k2:d,k3:d,k4:d,kernelMatrix:g,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:d,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:d,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose: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,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:d,overlineThickness:d,paintOrder:null,panose1:null,path:null,pathLength:d,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:f,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:d,pointsAtY:d,pointsAtZ:d,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:g,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:g,rev:g,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:g,requiredFeatures:g,requiredFonts:g,requiredFormats:g,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:d,specularExponent:d,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:d,strikethroughThickness:d,string:null,stroke:null,strokeDashArray:g,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:d,strokeOpacity:d,strokeWidth:null,style:null,surfaceScale:d,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:g,tabIndex:d,tableValues:null,target:null,targetX:d,targetY:d,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:g,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:d,underlineThickness:d,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:d,values:null,vAlphabetic:d,vMathematical:d,vectorEffect:null,vHanging:d,vIdeographic:d,version:null,vertAdvY:d,vertOriginX:d,vertOriginY:d,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:d,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:T}),_=E({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),k=E({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:S}),C=E({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),w=i([v,A,_,k,C],"html"),x=i([v,O,_,k,C],"svg");var I=n(25668),R=n(86676);let N=/[A-Z]/g,L=/-[a-z]/g,D=/^data[-\w.:]+$/i;function P(e){return"-"+e.toLowerCase()}function M(e){return e.charAt(1).toUpperCase()}var F=n(50342);function B(e,t,n){let r=n?function(e){let t=new Map;for(let n of e)t.set(n.toLowerCase(),n);return t}(n):void 0;return function(n,a,...i){let l;if(null==n)l={type:"root",children:[]},i.unshift(a);else{l=(0,R.r)(n,t);let c=l.tagName.toLowerCase(),u=r?r.get(c):void 0;if(l.tagName=u||c,function(e){if(null===e||"object"!=typeof e||Array.isArray(e))return!0;if("string"!=typeof e.type)return!1;let t=Object.keys(e);for(let n of t){let t=e[n];if(t&&"object"==typeof t){if(!Array.isArray(t))return!0;for(let e of t)if("number"!=typeof e&&"string"!=typeof e)return!0}}return!!("children"in e&&Array.isArray(e.children))}(a))i.unshift(a);else for(let[t,n]of Object.entries(a))!function(e,t,n,r){let a;let i=function(e,t){let n=o(t),r=t,a=s;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&D.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(L,M);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!L.test(e)){let n=e.replace(N,P);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}a=y}return new a(r,t)}(e,n);if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;a=r}else a="boolean"==typeof r?r:"string"==typeof r?i.spaceSeparated?(0,F.Q)(r):i.commaSeparated?(0,I.Q)(r):i.commaOrSpaceSeparated?(0,F.Q)((0,I.Q)(r).join(" ")):j(i,i.property,r):Array.isArray(r)?[...r]:"style"===i.property?function(e){let t=[];for(let[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}(r):String(r);if(Array.isArray(a)){let e=[];for(let t of a)e.push(j(i,i.property,t));a=e}"className"===i.property&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}(e,l.properties,t,n)}for(let e of i)!function e(t,n){if(null==n);else if("number"==typeof n||"string"==typeof n)t.push({type:"text",value:String(n)});else if(Array.isArray(n))for(let r of n)e(t,r);else if("object"==typeof n&&"type"in n)"root"===n.type?e(t,n.children):t.push(n);else throw Error("Expected node, nodes, or string, got `"+n+"`")}(l.children,e);return"element"===l.type&&"template"===l.tagName&&(l.content={type:"root",children:l.children},l.children=[]),l}}function j(e,t,n){if("string"==typeof n){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(""===n||o(n)===o(t)))return!0}return n}let U=B(w,"div"),G=B(x,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]);var H=n(49911);function z(e,t){let n=function(e,t){switch(e.nodeType){case 1:return function(e,t){let n=e.namespaceURI,r=n===H.t.svg?G:U,a=n===H.t.html?e.tagName.toLowerCase():e.tagName,i=n===H.t.html&&"template"===a?e.content:e,o=e.getAttributeNames(),s={},l=-1;for(;++ln&&(n=e):e&&(void 0!==n&&n>-1&&l.push("\n".repeat(n)||" "),n=-1,l.push(e))}return l.join("")}(p,{whitespace:"pre"});try{a=es.ZP.renderToString(d,{...t,displayMode:c,throwOnError:!0})}catch(o){let i=o.name.toLowerCase();n.message("Could not render math with KaTeX",{ancestors:[...r,e],cause:o,place:e.position,ruleId:i,source:"rehype-katex"});try{a=es.ZP.renderToString(d,{...t,displayMode:c,strict:"ignore",throwOnError:!1})}catch{a=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(o)},children:[{type:"text",value:d}]}]}}if("string"==typeof a){let e=function(e,t){let n=t?.fragment?function(e){let t=document.createElement("template");return t.innerHTML=e,t.content}(e):W.parseFromString(e,"text/html");return z(n,{})||{type:"root",children:[]}}(a,{fragment:!0});a=e.children}let f=u.children.indexOf(p);return u.children.splice(f,1,...a),el.AM})}}},12384:function(e,t,n){"use strict";n.d(t,{Z:function(){return tJ}});var r,a,i,o,s,l,c,u,p,d,f,h,g,m,b,y,E,v,T,S,A,O,_=n(52835),k=n(24345),C=n(91634),w=n(25668),x=n(86676),I=n(26103),R=n(28051),N=n(50342);let L=new Set(["button","menu","reset","submit"]),D={}.hasOwnProperty;function P(e,t,n){let r=n&&function(e){let t={},n=-1;for(;++n1?n[e.line-2]:0)+e.column-1;if(r-1&&e<=t.length){let r=0;for(;;){let a=n[r];if(void 0===a){let e=j(t,n[r-1]);a=-1===e?t.length+1:e+1,n[r]=a}if(a>e)return{line:r+1,column:e-(r>0?n[r-1]:0)+1,offset:e};r++}}}}}(t),a=r.toPoint(0),i=r.toPoint(t.length);(0,k.ok)(a,"expected `start`"),(0,k.ok)(i,"expected `end`"),n.position={start:a,end:i}}return n}case"#documentType":return W(e,t,n={type:"doctype"}),n;case"#text":return n={type:"text",value:t.value},W(e,t,n),n;default:return function(e,t){let n=e.schema;e.schema=t.namespaceURI===U.t.svg?C.YP:C.dy;let r=-1,a={};for(;++r=55296&&e<=57343}function ei(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function eo(e){return e>=64976&&e<=65007||en.has(e)}(a=g=g||(g={})).controlCharacterInInputStream="control-character-in-input-stream",a.noncharacterInInputStream="noncharacter-in-input-stream",a.surrogateInInputStream="surrogate-in-input-stream",a.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",a.endTagWithAttributes="end-tag-with-attributes",a.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",a.unexpectedSolidusInTag="unexpected-solidus-in-tag",a.unexpectedNullCharacter="unexpected-null-character",a.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",a.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",a.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",a.missingEndTagName="missing-end-tag-name",a.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",a.unknownNamedCharacterReference="unknown-named-character-reference",a.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",a.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",a.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",a.eofBeforeTagName="eof-before-tag-name",a.eofInTag="eof-in-tag",a.missingAttributeValue="missing-attribute-value",a.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",a.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",a.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",a.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",a.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",a.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",a.missingDoctypePublicIdentifier="missing-doctype-public-identifier",a.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",a.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",a.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",a.cdataInHtmlContent="cdata-in-html-content",a.incorrectlyOpenedComment="incorrectly-opened-comment",a.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",a.eofInDoctype="eof-in-doctype",a.nestedComment="nested-comment",a.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",a.eofInComment="eof-in-comment",a.incorrectlyClosedComment="incorrectly-closed-comment",a.eofInCdata="eof-in-cdata",a.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",a.nullCharacterReference="null-character-reference",a.surrogateCharacterReference="surrogate-character-reference",a.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",a.controlCharacterReference="control-character-reference",a.noncharacterCharacterReference="noncharacter-character-reference",a.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",a.missingDoctypeName="missing-doctype-name",a.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",a.duplicateAttribute="duplicate-attribute",a.nonConformingDoctype="non-conforming-doctype",a.missingDoctype="missing-doctype",a.misplacedDoctype="misplaced-doctype",a.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",a.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",a.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",a.openElementsLeftAfterEof="open-elements-left-after-eof",a.abandonedHeadElementChild="abandoned-head-element-child",a.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",a.nestedNoscriptInHead="nested-noscript-in-head",a.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text";class es{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e){let{line:t,col:n,offset:r}=this;return{code:e,startLine:t,endLine:t,startCol:n,endCol:n,startOffset:r,endOffset:r}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let t=this.html.charCodeAt(this.pos+1);if(t>=56320&&t<=57343)return this.pos++,this._addGap(),(e-55296)*1024+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,h.EOF;return this._err(g.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,h.EOF;let n=this.html.charCodeAt(t);return n===h.CARRIAGE_RETURN?h.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,h.EOF;let e=this.html.charCodeAt(this.pos);if(e===h.CARRIAGE_RETURN)return this.isEol=!0,this.skipNextNewLine=!0,h.LINE_FEED;if(e===h.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine))return this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance();this.skipNextNewLine=!1,ea(e)&&(e=this._processSurrogate(e));let t=null===this.handler.onParseError||e>31&&e<127||e===h.LINE_FEED||e===h.CARRIAGE_RETURN||e>159&&e<64976;return t||this._checkForProblematicCharacters(e),e}_checkForProblematicCharacters(e){ei(e)?this._err(g.controlCharacterInInputStream):eo(e)&&this._err(g.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}(i=m=m||(m={}))[i.CHARACTER=0]="CHARACTER",i[i.NULL_CHARACTER=1]="NULL_CHARACTER",i[i.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",i[i.START_TAG=3]="START_TAG",i[i.END_TAG=4]="END_TAG",i[i.COMMENT=5]="COMMENT",i[i.DOCTYPE=6]="DOCTYPE",i[i.EOF=7]="EOF",i[i.HIBERNATION=8]="HIBERNATION";var ec=n(60411);(o=b=b||(b={})).HTML="http://www.w3.org/1999/xhtml",o.MATHML="http://www.w3.org/1998/Math/MathML",o.SVG="http://www.w3.org/2000/svg",o.XLINK="http://www.w3.org/1999/xlink",o.XML="http://www.w3.org/XML/1998/namespace",o.XMLNS="http://www.w3.org/2000/xmlns/",(s=y=y||(y={})).TYPE="type",s.ACTION="action",s.ENCODING="encoding",s.PROMPT="prompt",s.NAME="name",s.COLOR="color",s.FACE="face",s.SIZE="size",(l=E=E||(E={})).NO_QUIRKS="no-quirks",l.QUIRKS="quirks",l.LIMITED_QUIRKS="limited-quirks",(c=v=v||(v={})).A="a",c.ADDRESS="address",c.ANNOTATION_XML="annotation-xml",c.APPLET="applet",c.AREA="area",c.ARTICLE="article",c.ASIDE="aside",c.B="b",c.BASE="base",c.BASEFONT="basefont",c.BGSOUND="bgsound",c.BIG="big",c.BLOCKQUOTE="blockquote",c.BODY="body",c.BR="br",c.BUTTON="button",c.CAPTION="caption",c.CENTER="center",c.CODE="code",c.COL="col",c.COLGROUP="colgroup",c.DD="dd",c.DESC="desc",c.DETAILS="details",c.DIALOG="dialog",c.DIR="dir",c.DIV="div",c.DL="dl",c.DT="dt",c.EM="em",c.EMBED="embed",c.FIELDSET="fieldset",c.FIGCAPTION="figcaption",c.FIGURE="figure",c.FONT="font",c.FOOTER="footer",c.FOREIGN_OBJECT="foreignObject",c.FORM="form",c.FRAME="frame",c.FRAMESET="frameset",c.H1="h1",c.H2="h2",c.H3="h3",c.H4="h4",c.H5="h5",c.H6="h6",c.HEAD="head",c.HEADER="header",c.HGROUP="hgroup",c.HR="hr",c.HTML="html",c.I="i",c.IMG="img",c.IMAGE="image",c.INPUT="input",c.IFRAME="iframe",c.KEYGEN="keygen",c.LABEL="label",c.LI="li",c.LINK="link",c.LISTING="listing",c.MAIN="main",c.MALIGNMARK="malignmark",c.MARQUEE="marquee",c.MATH="math",c.MENU="menu",c.META="meta",c.MGLYPH="mglyph",c.MI="mi",c.MO="mo",c.MN="mn",c.MS="ms",c.MTEXT="mtext",c.NAV="nav",c.NOBR="nobr",c.NOFRAMES="noframes",c.NOEMBED="noembed",c.NOSCRIPT="noscript",c.OBJECT="object",c.OL="ol",c.OPTGROUP="optgroup",c.OPTION="option",c.P="p",c.PARAM="param",c.PLAINTEXT="plaintext",c.PRE="pre",c.RB="rb",c.RP="rp",c.RT="rt",c.RTC="rtc",c.RUBY="ruby",c.S="s",c.SCRIPT="script",c.SECTION="section",c.SELECT="select",c.SOURCE="source",c.SMALL="small",c.SPAN="span",c.STRIKE="strike",c.STRONG="strong",c.STYLE="style",c.SUB="sub",c.SUMMARY="summary",c.SUP="sup",c.TABLE="table",c.TBODY="tbody",c.TEMPLATE="template",c.TEXTAREA="textarea",c.TFOOT="tfoot",c.TD="td",c.TH="th",c.THEAD="thead",c.TITLE="title",c.TR="tr",c.TRACK="track",c.TT="tt",c.U="u",c.UL="ul",c.SVG="svg",c.VAR="var",c.WBR="wbr",c.XMP="xmp",(u=T=T||(T={}))[u.UNKNOWN=0]="UNKNOWN",u[u.A=1]="A",u[u.ADDRESS=2]="ADDRESS",u[u.ANNOTATION_XML=3]="ANNOTATION_XML",u[u.APPLET=4]="APPLET",u[u.AREA=5]="AREA",u[u.ARTICLE=6]="ARTICLE",u[u.ASIDE=7]="ASIDE",u[u.B=8]="B",u[u.BASE=9]="BASE",u[u.BASEFONT=10]="BASEFONT",u[u.BGSOUND=11]="BGSOUND",u[u.BIG=12]="BIG",u[u.BLOCKQUOTE=13]="BLOCKQUOTE",u[u.BODY=14]="BODY",u[u.BR=15]="BR",u[u.BUTTON=16]="BUTTON",u[u.CAPTION=17]="CAPTION",u[u.CENTER=18]="CENTER",u[u.CODE=19]="CODE",u[u.COL=20]="COL",u[u.COLGROUP=21]="COLGROUP",u[u.DD=22]="DD",u[u.DESC=23]="DESC",u[u.DETAILS=24]="DETAILS",u[u.DIALOG=25]="DIALOG",u[u.DIR=26]="DIR",u[u.DIV=27]="DIV",u[u.DL=28]="DL",u[u.DT=29]="DT",u[u.EM=30]="EM",u[u.EMBED=31]="EMBED",u[u.FIELDSET=32]="FIELDSET",u[u.FIGCAPTION=33]="FIGCAPTION",u[u.FIGURE=34]="FIGURE",u[u.FONT=35]="FONT",u[u.FOOTER=36]="FOOTER",u[u.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",u[u.FORM=38]="FORM",u[u.FRAME=39]="FRAME",u[u.FRAMESET=40]="FRAMESET",u[u.H1=41]="H1",u[u.H2=42]="H2",u[u.H3=43]="H3",u[u.H4=44]="H4",u[u.H5=45]="H5",u[u.H6=46]="H6",u[u.HEAD=47]="HEAD",u[u.HEADER=48]="HEADER",u[u.HGROUP=49]="HGROUP",u[u.HR=50]="HR",u[u.HTML=51]="HTML",u[u.I=52]="I",u[u.IMG=53]="IMG",u[u.IMAGE=54]="IMAGE",u[u.INPUT=55]="INPUT",u[u.IFRAME=56]="IFRAME",u[u.KEYGEN=57]="KEYGEN",u[u.LABEL=58]="LABEL",u[u.LI=59]="LI",u[u.LINK=60]="LINK",u[u.LISTING=61]="LISTING",u[u.MAIN=62]="MAIN",u[u.MALIGNMARK=63]="MALIGNMARK",u[u.MARQUEE=64]="MARQUEE",u[u.MATH=65]="MATH",u[u.MENU=66]="MENU",u[u.META=67]="META",u[u.MGLYPH=68]="MGLYPH",u[u.MI=69]="MI",u[u.MO=70]="MO",u[u.MN=71]="MN",u[u.MS=72]="MS",u[u.MTEXT=73]="MTEXT",u[u.NAV=74]="NAV",u[u.NOBR=75]="NOBR",u[u.NOFRAMES=76]="NOFRAMES",u[u.NOEMBED=77]="NOEMBED",u[u.NOSCRIPT=78]="NOSCRIPT",u[u.OBJECT=79]="OBJECT",u[u.OL=80]="OL",u[u.OPTGROUP=81]="OPTGROUP",u[u.OPTION=82]="OPTION",u[u.P=83]="P",u[u.PARAM=84]="PARAM",u[u.PLAINTEXT=85]="PLAINTEXT",u[u.PRE=86]="PRE",u[u.RB=87]="RB",u[u.RP=88]="RP",u[u.RT=89]="RT",u[u.RTC=90]="RTC",u[u.RUBY=91]="RUBY",u[u.S=92]="S",u[u.SCRIPT=93]="SCRIPT",u[u.SECTION=94]="SECTION",u[u.SELECT=95]="SELECT",u[u.SOURCE=96]="SOURCE",u[u.SMALL=97]="SMALL",u[u.SPAN=98]="SPAN",u[u.STRIKE=99]="STRIKE",u[u.STRONG=100]="STRONG",u[u.STYLE=101]="STYLE",u[u.SUB=102]="SUB",u[u.SUMMARY=103]="SUMMARY",u[u.SUP=104]="SUP",u[u.TABLE=105]="TABLE",u[u.TBODY=106]="TBODY",u[u.TEMPLATE=107]="TEMPLATE",u[u.TEXTAREA=108]="TEXTAREA",u[u.TFOOT=109]="TFOOT",u[u.TD=110]="TD",u[u.TH=111]="TH",u[u.THEAD=112]="THEAD",u[u.TITLE=113]="TITLE",u[u.TR=114]="TR",u[u.TRACK=115]="TRACK",u[u.TT=116]="TT",u[u.U=117]="U",u[u.UL=118]="UL",u[u.SVG=119]="SVG",u[u.VAR=120]="VAR",u[u.WBR=121]="WBR",u[u.XMP=122]="XMP";let eu=new Map([[v.A,T.A],[v.ADDRESS,T.ADDRESS],[v.ANNOTATION_XML,T.ANNOTATION_XML],[v.APPLET,T.APPLET],[v.AREA,T.AREA],[v.ARTICLE,T.ARTICLE],[v.ASIDE,T.ASIDE],[v.B,T.B],[v.BASE,T.BASE],[v.BASEFONT,T.BASEFONT],[v.BGSOUND,T.BGSOUND],[v.BIG,T.BIG],[v.BLOCKQUOTE,T.BLOCKQUOTE],[v.BODY,T.BODY],[v.BR,T.BR],[v.BUTTON,T.BUTTON],[v.CAPTION,T.CAPTION],[v.CENTER,T.CENTER],[v.CODE,T.CODE],[v.COL,T.COL],[v.COLGROUP,T.COLGROUP],[v.DD,T.DD],[v.DESC,T.DESC],[v.DETAILS,T.DETAILS],[v.DIALOG,T.DIALOG],[v.DIR,T.DIR],[v.DIV,T.DIV],[v.DL,T.DL],[v.DT,T.DT],[v.EM,T.EM],[v.EMBED,T.EMBED],[v.FIELDSET,T.FIELDSET],[v.FIGCAPTION,T.FIGCAPTION],[v.FIGURE,T.FIGURE],[v.FONT,T.FONT],[v.FOOTER,T.FOOTER],[v.FOREIGN_OBJECT,T.FOREIGN_OBJECT],[v.FORM,T.FORM],[v.FRAME,T.FRAME],[v.FRAMESET,T.FRAMESET],[v.H1,T.H1],[v.H2,T.H2],[v.H3,T.H3],[v.H4,T.H4],[v.H5,T.H5],[v.H6,T.H6],[v.HEAD,T.HEAD],[v.HEADER,T.HEADER],[v.HGROUP,T.HGROUP],[v.HR,T.HR],[v.HTML,T.HTML],[v.I,T.I],[v.IMG,T.IMG],[v.IMAGE,T.IMAGE],[v.INPUT,T.INPUT],[v.IFRAME,T.IFRAME],[v.KEYGEN,T.KEYGEN],[v.LABEL,T.LABEL],[v.LI,T.LI],[v.LINK,T.LINK],[v.LISTING,T.LISTING],[v.MAIN,T.MAIN],[v.MALIGNMARK,T.MALIGNMARK],[v.MARQUEE,T.MARQUEE],[v.MATH,T.MATH],[v.MENU,T.MENU],[v.META,T.META],[v.MGLYPH,T.MGLYPH],[v.MI,T.MI],[v.MO,T.MO],[v.MN,T.MN],[v.MS,T.MS],[v.MTEXT,T.MTEXT],[v.NAV,T.NAV],[v.NOBR,T.NOBR],[v.NOFRAMES,T.NOFRAMES],[v.NOEMBED,T.NOEMBED],[v.NOSCRIPT,T.NOSCRIPT],[v.OBJECT,T.OBJECT],[v.OL,T.OL],[v.OPTGROUP,T.OPTGROUP],[v.OPTION,T.OPTION],[v.P,T.P],[v.PARAM,T.PARAM],[v.PLAINTEXT,T.PLAINTEXT],[v.PRE,T.PRE],[v.RB,T.RB],[v.RP,T.RP],[v.RT,T.RT],[v.RTC,T.RTC],[v.RUBY,T.RUBY],[v.S,T.S],[v.SCRIPT,T.SCRIPT],[v.SECTION,T.SECTION],[v.SELECT,T.SELECT],[v.SOURCE,T.SOURCE],[v.SMALL,T.SMALL],[v.SPAN,T.SPAN],[v.STRIKE,T.STRIKE],[v.STRONG,T.STRONG],[v.STYLE,T.STYLE],[v.SUB,T.SUB],[v.SUMMARY,T.SUMMARY],[v.SUP,T.SUP],[v.TABLE,T.TABLE],[v.TBODY,T.TBODY],[v.TEMPLATE,T.TEMPLATE],[v.TEXTAREA,T.TEXTAREA],[v.TFOOT,T.TFOOT],[v.TD,T.TD],[v.TH,T.TH],[v.THEAD,T.THEAD],[v.TITLE,T.TITLE],[v.TR,T.TR],[v.TRACK,T.TRACK],[v.TT,T.TT],[v.U,T.U],[v.UL,T.UL],[v.SVG,T.SVG],[v.VAR,T.VAR],[v.WBR,T.WBR],[v.XMP,T.XMP]]);function ep(e){var t;return null!==(t=eu.get(e))&&void 0!==t?t:T.UNKNOWN}let ed=T,ef={[b.HTML]:new Set([ed.ADDRESS,ed.APPLET,ed.AREA,ed.ARTICLE,ed.ASIDE,ed.BASE,ed.BASEFONT,ed.BGSOUND,ed.BLOCKQUOTE,ed.BODY,ed.BR,ed.BUTTON,ed.CAPTION,ed.CENTER,ed.COL,ed.COLGROUP,ed.DD,ed.DETAILS,ed.DIR,ed.DIV,ed.DL,ed.DT,ed.EMBED,ed.FIELDSET,ed.FIGCAPTION,ed.FIGURE,ed.FOOTER,ed.FORM,ed.FRAME,ed.FRAMESET,ed.H1,ed.H2,ed.H3,ed.H4,ed.H5,ed.H6,ed.HEAD,ed.HEADER,ed.HGROUP,ed.HR,ed.HTML,ed.IFRAME,ed.IMG,ed.INPUT,ed.LI,ed.LINK,ed.LISTING,ed.MAIN,ed.MARQUEE,ed.MENU,ed.META,ed.NAV,ed.NOEMBED,ed.NOFRAMES,ed.NOSCRIPT,ed.OBJECT,ed.OL,ed.P,ed.PARAM,ed.PLAINTEXT,ed.PRE,ed.SCRIPT,ed.SECTION,ed.SELECT,ed.SOURCE,ed.STYLE,ed.SUMMARY,ed.TABLE,ed.TBODY,ed.TD,ed.TEMPLATE,ed.TEXTAREA,ed.TFOOT,ed.TH,ed.THEAD,ed.TITLE,ed.TR,ed.TRACK,ed.UL,ed.WBR,ed.XMP]),[b.MATHML]:new Set([ed.MI,ed.MO,ed.MN,ed.MS,ed.MTEXT,ed.ANNOTATION_XML]),[b.SVG]:new Set([ed.TITLE,ed.FOREIGN_OBJECT,ed.DESC]),[b.XLINK]:new Set,[b.XML]:new Set,[b.XMLNS]:new Set};function eh(e){return e===ed.H1||e===ed.H2||e===ed.H3||e===ed.H4||e===ed.H5||e===ed.H6}v.STYLE,v.SCRIPT,v.XMP,v.IFRAME,v.NOEMBED,v.NOFRAMES,v.PLAINTEXT;let eg=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);(p=S||(S={}))[p.DATA=0]="DATA",p[p.RCDATA=1]="RCDATA",p[p.RAWTEXT=2]="RAWTEXT",p[p.SCRIPT_DATA=3]="SCRIPT_DATA",p[p.PLAINTEXT=4]="PLAINTEXT",p[p.TAG_OPEN=5]="TAG_OPEN",p[p.END_TAG_OPEN=6]="END_TAG_OPEN",p[p.TAG_NAME=7]="TAG_NAME",p[p.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",p[p.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",p[p.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",p[p.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",p[p.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",p[p.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",p[p.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",p[p.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",p[p.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",p[p.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",p[p.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",p[p.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",p[p.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",p[p.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",p[p.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",p[p.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",p[p.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",p[p.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",p[p.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",p[p.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",p[p.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",p[p.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",p[p.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",p[p.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",p[p.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",p[p.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",p[p.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",p[p.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",p[p.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",p[p.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",p[p.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",p[p.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",p[p.BOGUS_COMMENT=40]="BOGUS_COMMENT",p[p.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",p[p.COMMENT_START=42]="COMMENT_START",p[p.COMMENT_START_DASH=43]="COMMENT_START_DASH",p[p.COMMENT=44]="COMMENT",p[p.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",p[p.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",p[p.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",p[p.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",p[p.COMMENT_END_DASH=49]="COMMENT_END_DASH",p[p.COMMENT_END=50]="COMMENT_END",p[p.COMMENT_END_BANG=51]="COMMENT_END_BANG",p[p.DOCTYPE=52]="DOCTYPE",p[p.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",p[p.DOCTYPE_NAME=54]="DOCTYPE_NAME",p[p.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",p[p.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",p[p.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",p[p.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",p[p.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",p[p.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",p[p.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",p[p.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",p[p.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",p[p.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",p[p.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",p[p.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",p[p.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",p[p.CDATA_SECTION=68]="CDATA_SECTION",p[p.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",p[p.CDATA_SECTION_END=70]="CDATA_SECTION_END",p[p.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",p[p.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",p[p.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",p[p.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",p[p.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",p[p.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",p[p.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",p[p.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END";let em={DATA:S.DATA,RCDATA:S.RCDATA,RAWTEXT:S.RAWTEXT,SCRIPT_DATA:S.SCRIPT_DATA,PLAINTEXT:S.PLAINTEXT,CDATA_SECTION:S.CDATA_SECTION};function eb(e){return e>=h.DIGIT_0&&e<=h.DIGIT_9}function ey(e){return e>=h.LATIN_CAPITAL_A&&e<=h.LATIN_CAPITAL_Z}function eE(e){return e>=h.LATIN_SMALL_A&&e<=h.LATIN_SMALL_Z||ey(e)}function ev(e){return eE(e)||eb(e)}function eT(e){return e>=h.LATIN_CAPITAL_A&&e<=h.LATIN_CAPITAL_F}function eS(e){return e>=h.LATIN_SMALL_A&&e<=h.LATIN_SMALL_F}function eA(e){return e===h.SPACE||e===h.LINE_FEED||e===h.TABULATION||e===h.FORM_FEED}function eO(e){return eA(e)||e===h.SOLIDUS||e===h.GREATER_THAN_SIGN}class e_{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=S.DATA,this.returnState=S.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new es(t),this.currentLocation=this.getCurrentLocation(-1)}_err(e){var t,n;null===(n=(t=this.handler).onParseError)||void 0===n||n.call(t,this.preprocessor.getError(e))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw Error("Parser was already resumed");this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(e){this.consumedAfterSnapshot-=e,this.preprocessor.retreat(e)}_reconsumeInState(e,t){this.state=e,this._callState(t)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t0&&this._err(g.endTagWithAttributes),e.selfClosing&&this._err(g.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case m.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case m.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case m.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:m.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type!==e)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=t;return}}this._createCharacterToken(e,t)}_emitCodePoint(e){let t=eA(e)?m.WHITESPACE_CHARACTER:e===h.NULL?m.NULL_CHARACTER:m.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(m.CHARACTER,e)}_matchNamedCharacterReference(e){let t=null,n=0,r=!1;for(let i=0,o=ec.HP[0];i>=0&&!((i=(0,ec.Go)(ec.HP,o,i+1,e))<0);e=this._consume()){n+=1,o=ec.HP[i];let s=o&ec.ge.VALUE_LENGTH;if(s){var a;let o=(s>>14)-1;if(e!==h.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((a=this.preprocessor.peek(1))===h.EQUALS_SIGN||ev(a))?(t=[h.AMPERSAND],i+=o):(t=0===o?[ec.HP[i]&~ec.ge.VALUE_LENGTH]:1===o?[ec.HP[++i]]:[ec.HP[++i],ec.HP[++i]],n=0,r=e!==h.SEMICOLON),0===o){this._consume();break}}}return this._unconsume(n),r&&!this.preprocessor.endOfChunkHit&&this._err(g.missingSemicolonAfterCharacterReference),this._unconsume(1),t}_isCharacterReferenceInAttribute(){return this.returnState===S.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case S.DATA:this._stateData(e);break;case S.RCDATA:this._stateRcdata(e);break;case S.RAWTEXT:this._stateRawtext(e);break;case S.SCRIPT_DATA:this._stateScriptData(e);break;case S.PLAINTEXT:this._statePlaintext(e);break;case S.TAG_OPEN:this._stateTagOpen(e);break;case S.END_TAG_OPEN:this._stateEndTagOpen(e);break;case S.TAG_NAME:this._stateTagName(e);break;case S.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case S.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case S.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case S.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case S.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case S.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case S.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case S.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case S.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case S.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case S.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case S.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case S.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case S.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case S.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case S.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case S.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case S.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case S.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case S.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case S.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case S.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case S.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case S.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case S.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case S.BOGUS_COMMENT:this._stateBogusComment(e);break;case S.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case S.COMMENT_START:this._stateCommentStart(e);break;case S.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case S.COMMENT:this._stateComment(e);break;case S.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case S.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case S.COMMENT_END:this._stateCommentEnd(e);break;case S.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case S.DOCTYPE:this._stateDoctype(e);break;case S.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case S.DOCTYPE_NAME:this._stateDoctypeName(e);break;case S.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case S.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case S.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case S.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case S.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case S.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case S.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case S.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case S.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case S.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case S.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case S.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case S.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case S.CDATA_SECTION:this._stateCdataSection(e);break;case S.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case S.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case S.CHARACTER_REFERENCE:this._stateCharacterReference(e);break;case S.NAMED_CHARACTER_REFERENCE:this._stateNamedCharacterReference(e);break;case S.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;case S.NUMERIC_CHARACTER_REFERENCE:this._stateNumericCharacterReference(e);break;case S.HEXADEMICAL_CHARACTER_REFERENCE_START:this._stateHexademicalCharacterReferenceStart(e);break;case S.HEXADEMICAL_CHARACTER_REFERENCE:this._stateHexademicalCharacterReference(e);break;case S.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(e);break;case S.NUMERIC_CHARACTER_REFERENCE_END:this._stateNumericCharacterReferenceEnd(e);break;default:throw Error("Unknown state")}}_stateData(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.TAG_OPEN;break;case h.AMPERSAND:this.returnState=S.DATA,this.state=S.CHARACTER_REFERENCE;break;case h.NULL:this._err(g.unexpectedNullCharacter),this._emitCodePoint(e);break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case h.AMPERSAND:this.returnState=S.RCDATA,this.state=S.CHARACTER_REFERENCE;break;case h.LESS_THAN_SIGN:this.state=S.RCDATA_LESS_THAN_SIGN;break;case h.NULL:this._err(g.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.RAWTEXT_LESS_THAN_SIGN;break;case h.NULL:this._err(g.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.SCRIPT_DATA_LESS_THAN_SIGN;break;case h.NULL:this._err(g.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case h.NULL:this._err(g.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(eE(e))this._createStartTagToken(),this.state=S.TAG_NAME,this._stateTagName(e);else switch(e){case h.EXCLAMATION_MARK:this.state=S.MARKUP_DECLARATION_OPEN;break;case h.SOLIDUS:this.state=S.END_TAG_OPEN;break;case h.QUESTION_MARK:this._err(g.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=S.BOGUS_COMMENT,this._stateBogusComment(e);break;case h.EOF:this._err(g.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(g.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=S.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(eE(e))this._createEndTagToken(),this.state=S.TAG_NAME,this._stateTagName(e);else switch(e){case h.GREATER_THAN_SIGN:this._err(g.missingEndTagName),this.state=S.DATA;break;case h.EOF:this._err(g.eofBeforeTagName),this._emitChars("");break;case h.NULL:this._err(g.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case h.EOF:this._err(g.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===h.SOLIDUS?this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:eE(e)?(this._emitChars("<"),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=S.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){eE(e)?(this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("");break;case h.NULL:this._err(g.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case h.EOF:this._err(g.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===h.SOLIDUS?(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(er.SCRIPT,!1)&&eO(this.preprocessor.peek(er.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e1114111)this._err(g.characterReferenceOutsideUnicodeRange),this.charRefCode=h.REPLACEMENT_CHARACTER;else if(ea(this.charRefCode))this._err(g.surrogateCharacterReference),this.charRefCode=h.REPLACEMENT_CHARACTER;else if(eo(this.charRefCode))this._err(g.noncharacterCharacterReference);else if(ei(this.charRefCode)||this.charRefCode===h.CARRIAGE_RETURN){this._err(g.controlCharacterReference);let e=eg.get(this.charRefCode);void 0!==e&&(this.charRefCode=e)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}}let ek=new Set([T.DD,T.DT,T.LI,T.OPTGROUP,T.OPTION,T.P,T.RB,T.RP,T.RT,T.RTC]),eC=new Set([...ek,T.CAPTION,T.COLGROUP,T.TBODY,T.TD,T.TFOOT,T.TH,T.THEAD,T.TR]),ew=new Map([[T.APPLET,b.HTML],[T.CAPTION,b.HTML],[T.HTML,b.HTML],[T.MARQUEE,b.HTML],[T.OBJECT,b.HTML],[T.TABLE,b.HTML],[T.TD,b.HTML],[T.TEMPLATE,b.HTML],[T.TH,b.HTML],[T.ANNOTATION_XML,b.MATHML],[T.MI,b.MATHML],[T.MN,b.MATHML],[T.MO,b.MATHML],[T.MS,b.MATHML],[T.MTEXT,b.MATHML],[T.DESC,b.SVG],[T.FOREIGN_OBJECT,b.SVG],[T.TITLE,b.SVG]]),ex=[T.H1,T.H2,T.H3,T.H4,T.H5,T.H6],eI=[T.TR,T.TEMPLATE,T.HTML],eR=[T.TBODY,T.TFOOT,T.THEAD,T.TEMPLATE,T.HTML],eN=[T.TABLE,T.TEMPLATE,T.HTML],eL=[T.TD,T.TH];class eD{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=T.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===T.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===b.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){let r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==b.HTML);this.shortenToLength(t<0?0:t)}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop=0;n--)if(e.includes(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return -1}clearBackTo(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(eN,b.HTML)}clearBackToTableBodyContext(){this.clearBackTo(eR,b.HTML)}clearBackToTableRowContext(){this.clearBackTo(eI,b.HTML)}remove(e){let t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===T.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===T.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(ew.get(n)===r)return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(eh(t)&&n===b.HTML)break;if(ew.get(t)===n)return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if((n===T.UL||n===T.OL)&&r===b.HTML||ew.get(n)===r)return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(n===T.BUTTON&&r===b.HTML||ew.get(n)===r)return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n===T.TABLE||n===T.TEMPLATE||n===T.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(n===b.HTML){if(t===T.TBODY||t===T.THEAD||t===T.TFOOT)break;if(t===T.TABLE||t===T.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n!==T.OPTION&&n!==T.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;ek.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;eC.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&eC.has(this.currentTagId);)this.pop()}}(d=A=A||(A={}))[d.Marker=0]="Marker",d[d.Element=1]="Element";let eP={type:A.Marker};class eM{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let n=[],r=t.length,a=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let e=0;e[e.name,e.value])),a=0;for(let e=0;er.get(e.name)===e.value)&&(a+=1)>=3&&this.entries.splice(t.idx,1)}}insertMarker(){this.entries.unshift(eP)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:A.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:A.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);t>=0&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(eP);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===A.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===A.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===A.Element&&t.element===e)}}function eF(e){return{nodeName:"#text",value:e,parentNode:null}}let eB={createDocument:()=>({nodeName:"#document",mode:E.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){let r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,n,r){let a=e.childNodes.find(e=>"#documentType"===e.nodeName);a?(a.name=t,a.publicId=n,a.systemId=r):eB.appendChild(e,{nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null})},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let n=e.childNodes[e.childNodes.length-1];if(eB.isTextNode(n)){n.value+=t;return}}eB.appendChild(e,eF(t))},insertTextBefore(e,t,n){let r=e.childNodes[e.childNodes.indexOf(n)-1];r&&eB.isTextNode(r)?r.value+=t:eB.insertBefore(e,eF(t),n)},adoptAttributes(e,t){let n=new Set(e.attrs.map(e=>e.name));for(let r=0;re.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},ej="html",eU=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],eG=[...eU,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],eH=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),ez=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],e$=[...ez,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function eW(e,t){return t.some(t=>e.startsWith(t))}let eZ={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},eY=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),eV=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:b.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:b.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:b.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:b.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:b.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:b.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:b.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:b.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:b.XML}],["xml:space",{prefix:"xml",name:"space",namespace:b.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:b.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:b.XMLNS}]]),eq=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),eK=new Set([T.B,T.BIG,T.BLOCKQUOTE,T.BODY,T.BR,T.CENTER,T.CODE,T.DD,T.DIV,T.DL,T.DT,T.EM,T.EMBED,T.H1,T.H2,T.H3,T.H4,T.H5,T.H6,T.HEAD,T.HR,T.I,T.IMG,T.LI,T.LISTING,T.MENU,T.META,T.NOBR,T.OL,T.P,T.PRE,T.RUBY,T.S,T.SMALL,T.SPAN,T.STRONG,T.STRIKE,T.SUB,T.SUP,T.TABLE,T.TT,T.U,T.UL,T.VAR]);function eX(e){for(let t=0;t0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null===(r=(n=this.treeAdapter).onItemPop)||void 0===r||r.call(n,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let n=e===this.document||this.treeAdapter.getNamespaceURI(e)===b.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,b.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=O.TEXT}switchToPlaintextParsing(){this.insertionMode=O.TEXT,this.originalInsertionMode=O.IN_BODY,this.tokenizer.state=em.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===v.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===b.HTML)switch(this.fragmentContextID){case T.TITLE:case T.TEXTAREA:this.tokenizer.state=em.RCDATA;break;case T.STYLE:case T.XMP:case T.IFRAME:case T.NOEMBED:case T.NOFRAMES:case T.NOSCRIPT:this.tokenizer.state=em.RAWTEXT;break;case T.SCRIPT:this.tokenizer.state=em.SCRIPT_DATA;break;case T.PLAINTEXT:this.tokenizer.state=em.PLAINTEXT}}_setDocumentType(e){let t=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){let t=this.treeAdapter.getChildNodes(this.document),n=t.find(e=>this.treeAdapter.isDocumentTypeNode(e));n&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){let n=this.treeAdapter.createElement(e,b.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,b.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(v.HTML,b.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,T.HTML)}_appendCommentNode(e,t){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let r=this.treeAdapter.getChildNodes(t),a=n?r.lastIndexOf(n):r.length,i=r[a-1],o=this.treeAdapter.getNodeSourceCodeLocation(i);if(o){let{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let n=t.location,r=this.treeAdapter.getTagName(e),a=t.type===m.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,a)}}shouldProcessStartTagTokenInForeignContent(e){let t,n;return!!this.currentNotInHTML&&(0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):{current:t,currentTagId:n}=this.openElements,(e.tagID!==T.SVG||this.treeAdapter.getTagName(t)!==v.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==b.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===T.MGLYPH||e.tagID===T.MALIGNMARK)&&!this._isIntegrationPoint(n,t,b.HTML)))}_processToken(e){switch(e.type){case m.CHARACTER:this.onCharacter(e);break;case m.NULL_CHARACTER:this.onNullCharacter(e);break;case m.COMMENT:this.onComment(e);break;case m.DOCTYPE:this.onDoctype(e);break;case m.START_TAG:this._processStartTag(e);break;case m.END_TAG:this.onEndTag(e);break;case m.EOF:this.onEof(e);break;case m.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){let r=this.treeAdapter.getNamespaceURI(t),a=this.treeAdapter.getAttrList(t);return(!n||n===b.HTML)&&function(e,t,n){if(t===b.MATHML&&e===T.ANNOTATION_XML){for(let e=0;ee.type===A.Marker||this.openElements.contains(e.element)),n=t<0?e-1:t-1;for(let e=n;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=O.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(T.P),this.openElements.popUntilTagNamePopped(T.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case T.TR:this.insertionMode=O.IN_ROW;return;case T.TBODY:case T.THEAD:case T.TFOOT:this.insertionMode=O.IN_TABLE_BODY;return;case T.CAPTION:this.insertionMode=O.IN_CAPTION;return;case T.COLGROUP:this.insertionMode=O.IN_COLUMN_GROUP;return;case T.TABLE:this.insertionMode=O.IN_TABLE;return;case T.BODY:this.insertionMode=O.IN_BODY;return;case T.FRAMESET:this.insertionMode=O.IN_FRAMESET;return;case T.SELECT:this._resetInsertionModeForSelect(e);return;case T.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case T.HTML:this.insertionMode=this.headElement?O.AFTER_HEAD:O.BEFORE_HEAD;return;case T.TD:case T.TH:if(e>0){this.insertionMode=O.IN_CELL;return}break;case T.HEAD:if(e>0){this.insertionMode=O.IN_HEAD;return}}this.insertionMode=O.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===T.TEMPLATE)break;if(e===T.TABLE){this.insertionMode=O.IN_SELECT_IN_TABLE;return}}this.insertionMode=O.IN_SELECT}_isElementCausesFosterParenting(e){return e1.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case T.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===b.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case T.TABLE:{let n=this.treeAdapter.getParentNode(t);if(n)return{parent:n,beforeElement:t};return{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){let n=this.treeAdapter.getNamespaceURI(e);return ef[n].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){this._insertCharacters(e),this.framesetOk=!1;return}switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.IN_BODY:case O.IN_CAPTION:case O.IN_CELL:case O.IN_TEMPLATE:ts(this,e);break;case O.TEXT:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tm(this,e);break;case O.IN_TABLE_TEXT:tT(this,e);break;case O.IN_COLUMN_GROUP:t_(this,e);break;case O.AFTER_BODY:tD(this,e);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){e.chars="�",this._insertCharacters(e);return}switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.TEXT:this._insertCharacters(e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tm(this,e);break;case O.IN_COLUMN_GROUP:t_(this,e);break;case O.AFTER_BODY:tD(this,e);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){e4(this,e);return}switch(this.insertionMode){case O.INITIAL:case O.BEFORE_HTML:case O.BEFORE_HEAD:case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:case O.IN_BODY:case O.IN_TABLE:case O.IN_CAPTION:case O.IN_COLUMN_GROUP:case O.IN_TABLE_BODY:case O.IN_ROW:case O.IN_CELL:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:case O.IN_TEMPLATE:case O.IN_FRAMESET:case O.AFTER_FRAMESET:e4(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case O.INITIAL:!function(e,t){e._setDocumentType(t);let n=t.forceQuirks?E.QUIRKS:function(e){if(e.name!==ej)return E.QUIRKS;let{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return E.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),eH.has(n))return E.QUIRKS;let e=null===t?eG:eU;if(eW(n,e))return E.QUIRKS;if(eW(n,e=null===t?ez:e$))return E.LIMITED_QUIRKS}return E.NO_QUIRKS}(t);t.name===ej&&null===t.publicId&&(null===t.systemId||"about:legacy-compat"===t.systemId)||e._err(t,g.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=O.BEFORE_HTML}(this,e);break;case O.BEFORE_HEAD:case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:this._err(e,g.misplacedDoctype);break;case O.IN_TABLE_TEXT:tS(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,g.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){let t=e.tagID,n=t===T.FONT&&e.attrs.some(({name:e})=>e===y.COLOR||e===y.SIZE||e===y.FACE);return n||eK.has(t)}(t))tM(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===b.MATHML?eX(t):r===b.SVG&&(function(e){let t=eq.get(e.tagName);null!=t&&(e.tagName=t,e.tagID=ep(e.tagName))}(t),eQ(t)),eJ(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e.tagID===T.HTML?(this._insertElement(e,b.HTML),this.insertionMode=O.BEFORE_HEAD):e8(this,e);break;case O.BEFORE_HEAD:!function(e,t){switch(t.tagID){case T.HTML:td(e,t);break;case T.HEAD:e._insertElement(t,b.HTML),e.headElement=e.openElements.current,e.insertionMode=O.IN_HEAD;break;default:e7(e,t)}}(this,e);break;case O.IN_HEAD:te(this,e);break;case O.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case T.HTML:td(e,t);break;case T.BASEFONT:case T.BGSOUND:case T.HEAD:case T.LINK:case T.META:case T.NOFRAMES:case T.STYLE:te(e,t);break;case T.NOSCRIPT:e._err(t,g.nestedNoscriptInHead);break;default:tr(e,t)}}(this,e);break;case O.AFTER_HEAD:!function(e,t){switch(t.tagID){case T.HTML:td(e,t);break;case T.BODY:e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=O.IN_BODY;break;case T.FRAMESET:e._insertElement(t,b.HTML),e.insertionMode=O.IN_FRAMESET;break;case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:e._err(t,g.abandonedHeadElementChild),e.openElements.push(e.headElement,T.HEAD),te(e,t),e.openElements.remove(e.headElement);break;case T.HEAD:e._err(t,g.misplacedStartTagForHeadElement);break;default:ta(e,t)}}(this,e);break;case O.IN_BODY:td(this,e);break;case O.IN_TABLE:tb(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_CAPTION:!function(e,t){let n=t.tagID;tA.has(n)?e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_TABLE,tb(e,t)):td(e,t)}(this,e);break;case O.IN_COLUMN_GROUP:tO(this,e);break;case O.IN_TABLE_BODY:tk(this,e);break;case O.IN_ROW:tw(this,e);break;case O.IN_CELL:!function(e,t){let n=t.tagID;tA.has(n)?(e.openElements.hasInTableScope(T.TD)||e.openElements.hasInTableScope(T.TH))&&(e._closeTableCell(),tw(e,t)):td(e,t)}(this,e);break;case O.IN_SELECT:tI(this,e);break;case O.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e._processStartTag(t)):tI(e,t)}(this,e);break;case O.IN_TEMPLATE:!function(e,t){switch(t.tagID){case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:te(e,t);break;case T.CAPTION:case T.COLGROUP:case T.TBODY:case T.TFOOT:case T.THEAD:e.tmplInsertionModeStack[0]=O.IN_TABLE,e.insertionMode=O.IN_TABLE,tb(e,t);break;case T.COL:e.tmplInsertionModeStack[0]=O.IN_COLUMN_GROUP,e.insertionMode=O.IN_COLUMN_GROUP,tO(e,t);break;case T.TR:e.tmplInsertionModeStack[0]=O.IN_TABLE_BODY,e.insertionMode=O.IN_TABLE_BODY,tk(e,t);break;case T.TD:case T.TH:e.tmplInsertionModeStack[0]=O.IN_ROW,e.insertionMode=O.IN_ROW,tw(e,t);break;default:e.tmplInsertionModeStack[0]=O.IN_BODY,e.insertionMode=O.IN_BODY,td(e,t)}}(this,e);break;case O.AFTER_BODY:e.tagID===T.HTML?td(this,e):tD(this,e);break;case O.IN_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:td(e,t);break;case T.FRAMESET:e._insertElement(t,b.HTML);break;case T.FRAME:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.NOFRAMES:te(e,t)}}(this,e);break;case O.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:td(e,t);break;case T.NOFRAMES:te(e,t)}}(this,e);break;case O.AFTER_AFTER_BODY:e.tagID===T.HTML?td(this,e):tP(this,e);break;case O.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:td(e,t);break;case T.NOFRAMES:te(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===T.P||t.tagID===T.BR){tM(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){let r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===b.HTML){e._endTagOutsideForeignContent(t);break}let a=e.treeAdapter.getTagName(r);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){var t;switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:!function(e,t){let n=t.tagID;(n===T.HTML||n===T.HEAD||n===T.BODY||n===T.BR)&&e8(e,t)}(this,e);break;case O.BEFORE_HEAD:!function(e,t){let n=t.tagID;n===T.HEAD||n===T.BODY||n===T.HTML||n===T.BR?e7(e,t):e._err(t,g.endTagWithoutMatchingOpenElement)}(this,e);break;case O.IN_HEAD:!function(e,t){switch(t.tagID){case T.HEAD:e.openElements.pop(),e.insertionMode=O.AFTER_HEAD;break;case T.BODY:case T.BR:case T.HTML:tn(e,t);break;case T.TEMPLATE:tt(e,t);break;default:e._err(t,g.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case T.NOSCRIPT:e.openElements.pop(),e.insertionMode=O.IN_HEAD;break;case T.BR:tr(e,t);break;default:e._err(t,g.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.AFTER_HEAD:!function(e,t){switch(t.tagID){case T.BODY:case T.HTML:case T.BR:ta(e,t);break;case T.TEMPLATE:tt(e,t);break;default:e._err(t,g.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.IN_BODY:th(this,e);break;case O.TEXT:e.tagID===T.SCRIPT&&(null===(t=this.scriptHandler)||void 0===t||t.call(this,this.openElements.current)),this.openElements.pop(),this.insertionMode=this.originalInsertionMode;break;case O.IN_TABLE:ty(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_CAPTION:!function(e,t){let n=t.tagID;switch(n){case T.CAPTION:case T.TABLE:e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_TABLE,n===T.TABLE&&ty(e,t));break;case T.BODY:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:th(e,t)}}(this,e);break;case O.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case T.COLGROUP:e.openElements.currentTagId===T.COLGROUP&&(e.openElements.pop(),e.insertionMode=O.IN_TABLE);break;case T.TEMPLATE:tt(e,t);break;case T.COL:break;default:t_(e,t)}}(this,e);break;case O.IN_TABLE_BODY:tC(this,e);break;case O.IN_ROW:tx(this,e);break;case O.IN_CELL:!function(e,t){let n=t.tagID;switch(n){case T.TD:case T.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_ROW);break;case T.TABLE:case T.TBODY:case T.TFOOT:case T.THEAD:case T.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),tx(e,t));break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:break;default:th(e,t)}}(this,e);break;case O.IN_SELECT:tR(this,e);break;case O.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e.onEndTag(t)):tR(e,t)}(this,e);break;case O.IN_TEMPLATE:e.tagID===T.TEMPLATE&&tt(this,e);break;case O.AFTER_BODY:tL(this,e);break;case O.IN_FRAMESET:e.tagID!==T.FRAMESET||this.openElements.isRootHtmlElementCurrent()||(this.openElements.pop(),this.fragmentContext||this.openElements.currentTagId===T.FRAMESET||(this.insertionMode=O.AFTER_FRAMESET));break;case O.AFTER_FRAMESET:e.tagID===T.HTML&&(this.insertionMode=O.AFTER_AFTER_FRAMESET);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onEof(e){switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.IN_BODY:case O.IN_TABLE:case O.IN_CAPTION:case O.IN_COLUMN_GROUP:case O.IN_TABLE_BODY:case O.IN_ROW:case O.IN_CELL:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:tg(this,e);break;case O.TEXT:this._err(e,g.eofInElementThatCanContainOnlyText),this.openElements.pop(),this.insertionMode=this.originalInsertionMode,this.onEof(e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_TEMPLATE:tN(this,e);break;case O.AFTER_BODY:case O.IN_FRAMESET:case O.AFTER_FRAMESET:case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:e6(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===h.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:case O.TEXT:case O.IN_COLUMN_GROUP:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:case O.IN_FRAMESET:case O.AFTER_FRAMESET:this._insertCharacters(e);break;case O.IN_BODY:case O.IN_CAPTION:case O.IN_CELL:case O.IN_TEMPLATE:case O.AFTER_BODY:case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:to(this,e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tm(this,e);break;case O.IN_TABLE_TEXT:tv(this,e)}}}function e5(e,t){for(let n=0;n<8;n++){let n=function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):tf(e,t),n}(e,t);if(!n)break;let r=function(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){let a=e.openElements.items[r];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[r])&&(n=a)}return n||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;let a=function(e,t,n){let r=t,a=e.openElements.getCommonAncestor(t);for(let i=0,o=a;o!==n;i++,o=a){a=e.openElements.getCommonAncestor(o);let n=e.activeFormattingElements.getElementEntry(o),s=n&&i>=3,l=!n||s;l?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(o)):(o=function(e,t){let n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}(e,r,n.element),i=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(a),i&&function(e,t,n){let r=e.treeAdapter.getTagName(t),a=ep(r);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(n);else{let r=e.treeAdapter.getNamespaceURI(t);a===T.TEMPLATE&&r===b.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}(e,i,a),function(e,t,n){let r=e.treeAdapter.getNamespaceURI(n.element),{token:a}=n,i=e.treeAdapter.createElement(a.tagName,r,a.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,a),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,a.tagID)}(e,r,n)}}function e4(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function e6(e,t){if(e.stopped=!0,t.location){let n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){let n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function e9(e,t){e._err(t,g.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,E.QUIRKS),e.insertionMode=O.BEFORE_HTML,e._processToken(t)}function e8(e,t){e._insertFakeRootElement(),e.insertionMode=O.BEFORE_HEAD,e._processToken(t)}function e7(e,t){e._insertFakeElement(v.HEAD,T.HEAD),e.headElement=e.openElements.current,e.insertionMode=O.IN_HEAD,e._processToken(t)}function te(e,t){switch(t.tagID){case T.HTML:td(e,t);break;case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.TITLE:e._switchToTextParsing(t,em.RCDATA);break;case T.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,em.RAWTEXT):(e._insertElement(t,b.HTML),e.insertionMode=O.IN_HEAD_NO_SCRIPT);break;case T.NOFRAMES:case T.STYLE:e._switchToTextParsing(t,em.RAWTEXT);break;case T.SCRIPT:e._switchToTextParsing(t,em.SCRIPT_DATA);break;case T.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=O.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(O.IN_TEMPLATE);break;case T.HEAD:e._err(t,g.misplacedStartTagForHeadElement);break;default:tn(e,t)}}function tt(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==T.TEMPLATE&&e._err(t,g.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,g.endTagWithoutMatchingOpenElement)}function tn(e,t){e.openElements.pop(),e.insertionMode=O.AFTER_HEAD,e._processToken(t)}function tr(e,t){let n=t.type===m.EOF?g.openElementsLeftAfterEof:g.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=O.IN_HEAD,e._processToken(t)}function ta(e,t){e._insertFakeElement(v.BODY,T.BODY),e.insertionMode=O.IN_BODY,ti(e,t)}function ti(e,t){switch(t.type){case m.CHARACTER:ts(e,t);break;case m.WHITESPACE_CHARACTER:to(e,t);break;case m.COMMENT:e4(e,t);break;case m.START_TAG:td(e,t);break;case m.END_TAG:th(e,t);break;case m.EOF:tg(e,t)}}function to(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function ts(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function tl(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function tc(e){let t=el(e,y.TYPE);return null!=t&&"hidden"===t.toLowerCase()}function tu(e,t){e._switchToTextParsing(t,em.RAWTEXT)}function tp(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML)}function td(e,t){switch(t.tagID){case T.I:case T.S:case T.B:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.SMALL:case T.STRIKE:case T.STRONG:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case T.A:!function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(v.A);n&&(e5(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),eh(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,b.HTML);break;case T.P:case T.DL:case T.OL:case T.UL:case T.DIV:case T.DIR:case T.NAV:case T.MAIN:case T.MENU:case T.ASIDE:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.DETAILS:case T.ADDRESS:case T.ARTICLE:case T.SECTION:case T.SUMMARY:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML);break;case T.LI:case T.DD:case T.DT:!function(e,t){e.framesetOk=!1;let n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let r=e.openElements.tagIDs[t];if(n===T.LI&&r===T.LI||(n===T.DD||n===T.DT)&&(r===T.DD||r===T.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==T.ADDRESS&&r!==T.DIV&&r!==T.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML)}(e,t);break;case T.BR:case T.IMG:case T.WBR:case T.AREA:case T.EMBED:case T.KEYGEN:tl(e,t);break;case T.HR:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0;break;case T.RB:case T.RTC:e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,b.HTML);break;case T.RT:case T.RP:e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(T.RTC),e._insertElement(t,b.HTML);break;case T.PRE:case T.LISTING:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.framesetOk=!1;break;case T.XMP:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,em.RAWTEXT);break;case T.SVG:e._reconstructActiveFormattingElements(),eQ(t),eJ(t),t.selfClosing?e._appendElement(t,b.SVG):e._insertElement(t,b.SVG),t.ackSelfClosing=!0;break;case T.HTML:0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs);break;case T.BASE:case T.LINK:case T.META:case T.STYLE:case T.TITLE:case T.SCRIPT:case T.BGSOUND:case T.BASEFONT:case T.TEMPLATE:te(e,t);break;case T.BODY:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t);break;case T.FORM:!function(e,t){let n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),n||(e.formElement=e.openElements.current))}(e,t);break;case T.NOBR:e._reconstructActiveFormattingElements(),e.openElements.hasInScope(T.NOBR)&&(e5(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case T.MATH:e._reconstructActiveFormattingElements(),eX(t),eJ(t),t.selfClosing?e._appendElement(t,b.MATHML):e._insertElement(t,b.MATHML),t.ackSelfClosing=!0;break;case T.TABLE:e.treeAdapter.getDocumentMode(e.document)!==E.QUIRKS&&e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=O.IN_TABLE;break;case T.INPUT:e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),tc(t)||(e.framesetOk=!1),t.ackSelfClosing=!0;break;case T.PARAM:case T.TRACK:case T.SOURCE:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.IMAGE:t.tagName=v.IMG,t.tagID=T.IMG,tl(e,t);break;case T.BUTTON:e.openElements.hasInScope(T.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1;break;case T.APPLET:case T.OBJECT:case T.MARQUEE:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1;break;case T.IFRAME:e.framesetOk=!1,e._switchToTextParsing(t,em.RAWTEXT);break;case T.SELECT:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===O.IN_TABLE||e.insertionMode===O.IN_CAPTION||e.insertionMode===O.IN_TABLE_BODY||e.insertionMode===O.IN_ROW||e.insertionMode===O.IN_CELL?O.IN_SELECT_IN_TABLE:O.IN_SELECT;break;case T.OPTION:case T.OPTGROUP:e.openElements.currentTagId===T.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML);break;case T.NOEMBED:tu(e,t);break;case T.FRAMESET:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_FRAMESET)}(e,t);break;case T.TEXTAREA:e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.tokenizer.state=em.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=O.TEXT;break;case T.NOSCRIPT:e.options.scriptingEnabled?tu(e,t):tp(e,t);break;case T.PLAINTEXT:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.tokenizer.state=em.PLAINTEXT;break;case T.COL:case T.TH:case T.TD:case T.TR:case T.HEAD:case T.FRAME:case T.TBODY:case T.TFOOT:case T.THEAD:case T.CAPTION:case T.COLGROUP:break;default:tp(e,t)}}function tf(e,t){let n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let a=e.openElements.items[t],i=e.openElements.tagIDs[t];if(r===i&&(r!==T.UNKNOWN||e.treeAdapter.getTagName(a)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(a,i))break}}function th(e,t){switch(t.tagID){case T.A:case T.B:case T.I:case T.S:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.NOBR:case T.SMALL:case T.STRIKE:case T.STRONG:e5(e,t);break;case T.P:e.openElements.hasInButtonScope(T.P)||e._insertFakeElement(v.P,T.P),e._closePElement();break;case T.DL:case T.UL:case T.OL:case T.DIR:case T.DIV:case T.NAV:case T.PRE:case T.MAIN:case T.MENU:case T.ASIDE:case T.BUTTON:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.ADDRESS:case T.ARTICLE:case T.DETAILS:case T.SECTION:case T.SUMMARY:case T.LISTING:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case T.LI:e.openElements.hasInListItemScope(T.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(T.LI),e.openElements.popUntilTagNamePopped(T.LI));break;case T.DD:case T.DT:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped());break;case T.BR:e._reconstructActiveFormattingElements(),e._insertFakeElement(v.BR,T.BR),e.openElements.pop(),e.framesetOk=!1;break;case T.BODY:!function(e,t){if(e.openElements.hasInScope(T.BODY)&&(e.insertionMode=O.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}(e,t);break;case T.HTML:e.openElements.hasInScope(T.BODY)&&(e.insertionMode=O.AFTER_BODY,tL(e,t));break;case T.FORM:!function(e){let t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(T.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(T.FORM):n&&e.openElements.remove(n))}(e);break;case T.APPLET:case T.OBJECT:case T.MARQUEE:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}(e,t);break;case T.TEMPLATE:tt(e,t);break;default:tf(e,t)}}function tg(e,t){e.tmplInsertionModeStack.length>0?tN(e,t):e6(e,t)}function tm(e,t){if(e1.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=O.IN_TABLE_TEXT,t.type){case m.CHARACTER:tT(e,t);break;case m.WHITESPACE_CHARACTER:tv(e,t)}else tE(e,t)}function tb(e,t){switch(t.tagID){case T.TD:case T.TH:case T.TR:e.openElements.clearBackToTableContext(),e._insertFakeElement(v.TBODY,T.TBODY),e.insertionMode=O.IN_TABLE_BODY,tk(e,t);break;case T.STYLE:case T.SCRIPT:case T.TEMPLATE:te(e,t);break;case T.COL:e.openElements.clearBackToTableContext(),e._insertFakeElement(v.COLGROUP,T.COLGROUP),e.insertionMode=O.IN_COLUMN_GROUP,tO(e,t);break;case T.FORM:e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,b.HTML),e.formElement=e.openElements.current,e.openElements.pop());break;case T.TABLE:e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode(),e._processStartTag(t));break;case T.TBODY:case T.TFOOT:case T.THEAD:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_TABLE_BODY;break;case T.INPUT:tc(t)?e._appendElement(t,b.HTML):tE(e,t),t.ackSelfClosing=!0;break;case T.CAPTION:e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_CAPTION;break;case T.COLGROUP:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_COLUMN_GROUP;break;default:tE(e,t)}}function ty(e,t){switch(t.tagID){case T.TABLE:e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode());break;case T.TEMPLATE:tt(e,t);break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:tE(e,t)}}function tE(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,ti(e,t),e.fosterParentingEnabled=n}function tv(e,t){e.pendingCharacterTokens.push(t)}function tT(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function tS(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0&&e.openElements.currentTagId===T.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===T.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===T.OPTGROUP&&e.openElements.pop();break;case T.OPTION:e.openElements.currentTagId===T.OPTION&&e.openElements.pop();break;case T.SELECT:e.openElements.hasInSelectScope(T.SELECT)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode());break;case T.TEMPLATE:tt(e,t)}}function tN(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):e6(e,t)}function tL(e,t){var n;if(t.tagID===T.HTML){if(e.fragmentContext||(e.insertionMode=O.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===T.HTML){e._setEndLocation(e.openElements.items[0],t);let r=e.openElements.items[1];!r||(null===(n=e.treeAdapter.getNodeSourceCodeLocation(r))||void 0===n?void 0:n.endTag)||e._setEndLocation(r,t)}}else tD(e,t)}function tD(e,t){e.insertionMode=O.IN_BODY,ti(e,t)}function tP(e,t){e.insertionMode=O.IN_BODY,ti(e,t)}function tM(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==b.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}n(43470),v.AREA,v.BASE,v.BASEFONT,v.BGSOUND,v.BR,v.COL,v.EMBED,v.FRAME,v.HR,v.IMG,v.INPUT,v.KEYGEN,v.LINK,v.META,v.PARAM,v.SOURCE,v.TRACK,v.WBR;var tF=n(3980),tB=n(21623);let tj=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),tU={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function tG(e,t){let n=function(e){let t="root"===e.type?e.children[0]:e;return!!(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName.toLowerCase()))}(e),r=q("type",{handlers:{root:tz,element:t$,text:tW,comment:tY,doctype:tZ,raw:tV},unknown:tq}),a={parser:n?new e3(tU):e3.getFragmentParser(void 0,tU),handle(e){r(e,a)},stitches:!1,options:t||{}};r(e,a),tK(a,(0,tF.Pk)());let i=n?a.parser.document:a.parser.getFragment(),o=function(e,t){let n=t||{};return z({file:n.file||void 0,location:!1,schema:"svg"===n.space?C.YP:C.dy,verbose:n.verbose||!1},e)}(i,{file:a.options.file});return(a.stitches&&(0,tB.Vn)(o,"comment",function(e,t,n){if(e.value.stitch&&n&&void 0!==t){let r=n.children;return r[t]=e.value.stitch,t}}),"root"===o.type&&1===o.children.length&&o.children[0].type===e.type)?o.children[0]:o}function tH(e,t){let n=-1;if(e)for(;++n4&&(t.parser.tokenizer.state=0);let n={type:m.CHARACTER,chars:e.value,location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tZ(e,t){let n={type:m.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tY(e,t){let n=e.value,r={type:m.COMMENT,data:n,location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function tV(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,tX(t,(0,tF.Pk)(e)),t.parser.tokenizer.write(e.value,!1),t.parser.tokenizer._runParsingLoop(),72===t.parser.tokenizer.state||78===t.parser.tokenizer.state){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;let e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function tq(e,t){if(t.options.passThrough&&t.options.passThrough.includes(e.type))!function(e,t){t.stitches=!0;let n="children"in e?(0,_.ZP)({...e,children:[]}):(0,_.ZP)(e);if("children"in e&&"children"in n){let r=tG({type:"root",children:e.children},t.options);n.children=r.children}tY({type:"comment",value:{stitch:n}},t)}(e,t);else{let t="";throw tj.has(e.type)&&(t=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),Error("Cannot compile `"+e.type+"` node"+t)}}function tK(e,t){tX(e,t);let n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=em.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function tX(e,t){if(t&&void 0!==t.offset){let n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function tQ(e){let t=(0,tF.Pk)(e)||{line:void 0,column:void 0,offset:void 0},n=(0,tF.rb)(e)||{line:void 0,column:void 0,offset:void 0},r={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset};return r}function tJ(e){return function(t,n){let r=tG(t,{...e,file:n});return r}}},78600:function(e,t,n){"use strict";function r(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,a=n.indexOf(t);for(;-1!==a;)r++,a=n.indexOf(t,a+t.length);return r}n.d(t,{Z:function(){return eQ}});var a=n(24345),i=n(15459),o=n(88718),s=n(96093);let l="phrasing",c=["autolink","link","image","label"];function u(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function p(e){this.config.enter.autolinkProtocol.call(this,e)}function d(e){this.config.exit.autolinkProtocol.call(this,e)}function f(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];(0,a.ok)("link"===t.type),t.url="http://"+this.sliceSerialize(e)}function h(e){this.config.exit.autolinkEmail.call(this,e)}function g(e){this.exit(e)}function m(e){!function(e,t,n){let r=(0,s.O)((n||{}).ignore||[]),a=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r0?{type:"text",value:i}:void 0),!1===i?r.lastIndex=n+1:(s!==n&&p.push({type:"text",value:e.value.slice(s,n)}),Array.isArray(i)?p.push(...i):i&&p.push(i),s=n+d[0].length,u=!0),!r.global)break;d=r.exec(e.value)}return u?(s?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],a=n.indexOf(")"),i=r(e,"("),o=r(e,")");for(;-1!==a&&i>o;)e+=n.slice(0,a+1),a=(n=n.slice(a+1)).indexOf(")"),o++;return[e,n]}(n+a);if(!s[0])return!1;let l={type:"link",title:null,url:o+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[l,{type:"text",value:s[1]}]:l}function y(e,t,n,r){return!(!E(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function E(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||(0,i.B8)(n)||(0,i.Xh)(n))&&(!t||47!==n)}var v=n(11098);function T(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function S(){this.buffer()}function A(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteDefinition"===n.type),n.label=t,n.identifier=(0,v.d)(this.sliceSerialize(e)).toLowerCase()}function O(e){this.exit(e)}function _(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function k(){this.buffer()}function C(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteReference"===n.type),n.label=t,n.identifier=(0,v.d)(this.sliceSerialize(e)).toLowerCase()}function w(e){this.exit(e)}function x(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteReference"),s=n.enter("reference");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),o(),i+=a.move("]")}function I(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteDefinition"),s=n.enter("label");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),i+=a.move("]:"+(e.children&&e.children.length>0?" ":"")),a.shift(4),i+=a.move(n.indentLines(n.containerFlow(e,a.current()),R)),o(),i}function R(e,t,n){return 0===t?e:(n?"":" ")+e}x.peek=function(){return"["};let N=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function L(e){this.enter({type:"delete",children:[]},e)}function D(e){this.exit(e)}function P(e,t,n,r){let a=n.createTracker(r),i=n.enter("strikethrough"),o=a.move("~~");return o+=n.containerPhrasing(e,{...a.current(),before:o,after:"~"})+a.move("~~"),i(),o}function M(e){return e.length}function F(e){let t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function B(e,t,n){return">"+(n?"":" ")+e}function j(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),c+=l.move(")"),o(),c}function q(e,t,n,r){let a=e.referenceType,i=n.enter("imageReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("!["),c=n.safe(e.alt,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let p=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===p?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(p+"]"),l}function K(e,t,n){let r=e.value||"",a="`",i=-1;for(;RegExp("(^|[^`])"+a+"([^`]|$)").test(r);)a+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i\u007F]/.test(e.url))}function Q(e,t,n,r){let a,i;let o=z(n),s='"'===o?"Quote":"Apostrophe",l=n.createTracker(r);if(X(e,n)){let t=n.stack;n.stack=[],a=n.enter("autolink");let r=l.move("<");return r+=l.move(n.containerPhrasing(e,{before:r,after:">",...l.current()}))+l.move(">"),a(),n.stack=t,r}a=n.enter("link"),i=n.enter("label");let c=l.move("[");return c+=l.move(n.containerPhrasing(e,{before:c,after:"](",...l.current()}))+l.move("]("),i(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(i=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(i=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),i(),e.title&&(i=n.enter(`title${s}`),c+=l.move(" "+o),c+=l.move(n.safe(e.title,{before:c,after:o,...l.current()}))+l.move(o),i()),c+=l.move(")"),a(),c}function J(e,t,n,r){let a=e.referenceType,i=n.enter("linkReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("["),c=n.containerPhrasing(e,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let p=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===p?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(p+"]"),l}function ee(e){let t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function et(e){let t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}Y.peek=function(){return"<"},V.peek=function(){return"!"},q.peek=function(){return"!"},K.peek=function(){return"`"},Q.peek=function(e,t,n){return X(e,n)?"<":"["},J.peek=function(){return"["};let en=(0,s.O)(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function er(e,t,n,r){let a=function(e){let t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(n),i=n.enter("strong"),o=n.createTracker(r),s=o.move(a+a);return s+=o.move(n.containerPhrasing(e,{before:s,after:a,...o.current()}))+o.move(a+a),i(),s}er.peek=function(e,t,n){return n.options.strong||"*"};let ea={blockquote:function(e,t,n,r){let a=n.enter("blockquote"),i=n.createTracker(r);i.move("> "),i.shift(2);let o=n.indentLines(n.containerFlow(e,i.current()),B);return a(),o},break:U,code:function(e,t,n,r){let a=function(e){let t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),i=e.value||"",o="`"===a?"GraveAccent":"Tilde";if(!1===n.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value)){let e=n.enter("codeIndented"),t=n.indentLines(i,H);return e(),t}let s=n.createTracker(r),l=a.repeat(Math.max((0,G.J)(i,a)+1,3)),c=n.enter("codeFenced"),u=s.move(l);if(e.lang){let t=n.enter(`codeFencedLang${o}`);u+=s.move(n.safe(e.lang,{before:u,after:" ",encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${o}`);u+=s.move(" "),u+=s.move(n.safe(e.meta,{before:u,after:"\n",encode:["`"],...s.current()})),t()}return u+=s.move("\n"),i&&(u+=s.move(i+"\n")),u+=s.move(l),c(),u},definition:function(e,t,n,r){let a=z(n),i='"'===a?"Quote":"Apostrophe",o=n.enter("definition"),s=n.enter("label"),l=n.createTracker(r),c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()}))+l.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":"\n",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),o(),c},emphasis:$,hardBreak:U,heading:function(e,t,n,r){let a;let i=Math.max(Math.min(6,e.depth||1),1),s=n.createTracker(r);if(a=!1,(0,W.Vn)(e,function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return a=!0,o.BK}),(!e.depth||e.depth<3)&&(0,Z.B)(e)&&(n.options.setext||a)){let t=n.enter("headingSetext"),r=n.enter("phrasing"),a=n.containerPhrasing(e,{...s.current(),before:"\n",after:"\n"});return r(),t(),a+"\n"+(1===i?"=":"-").repeat(a.length-(Math.max(a.lastIndexOf("\r"),a.lastIndexOf("\n"))+1))}let l="#".repeat(i),c=n.enter("headingAtx"),u=n.enter("phrasing");s.move(l+" ");let p=n.containerPhrasing(e,{before:"# ",after:"\n",...s.current()});return/^[\t ]/.test(p)&&(p="&#x"+p.charCodeAt(0).toString(16).toUpperCase()+";"+p.slice(1)),p=p?l+" "+p:l,n.options.closeAtx&&(p+=" "+l),u(),c(),p},html:Y,image:V,imageReference:q,inlineCode:K,link:Q,linkReference:J,list:function(e,t,n,r){let a=n.enter("list"),i=n.bulletCurrent,o=e.ordered?function(e){let t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):ee(n),s=e.ordered?"."===o?")":".":function(e){let t=ee(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n),l=!!t&&!!n.bulletLastUsed&&o===n.bulletLastUsed;if(!e.ordered){let t=e.children?e.children[0]:void 0;if("*"!==o&&"-"!==o||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(l=!0),et(n)===o&&t){let t=-1;for(;++t-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+i);let o=i.length+1;("tab"===a||"mixed"===a&&(t&&"list"===t.type&&t.spread||e.spread))&&(o=4*Math.ceil(o/4));let s=n.createTracker(r);s.move(i+" ".repeat(o-i.length)),s.shift(o);let l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),function(e,t,n){return t?(n?"":" ".repeat(o))+e:(n?i:i+" ".repeat(o-i.length))+e});return l(),c},paragraph:function(e,t,n,r){let a=n.enter("paragraph"),i=n.enter("phrasing"),o=n.containerPhrasing(e,r);return i(),a(),o},root:function(e,t,n,r){let a=e.children.some(function(e){return en(e)}),i=a?n.containerPhrasing:n.containerFlow;return i.call(n,e,r)},strong:er,text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){let r=(et(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}};function ei(e){let t=e._align;(0,a.ok)(t,"expected `_align` on table"),this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function eo(e){this.exit(e),this.data.inTable=void 0}function es(e){this.enter({type:"tableRow",children:[]},e)}function el(e){this.exit(e)}function ec(e){this.enter({type:"tableCell",children:[]},e)}function eu(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,ep));let n=this.stack[this.stack.length-1];(0,a.ok)("inlineCode"===n.type),n.value=t,this.exit(e)}function ep(e,t){return"|"===t?t:e}function ed(e){let t=this.stack[this.stack.length-2];(0,a.ok)("listItem"===t.type),t.checked="taskListCheckValueChecked"===e.type}function ef(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1];(0,a.ok)("paragraph"===e.type);let n=e.children[0];if(n&&"text"===n.type){let r;let a=t.children,i=-1;for(;++i0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}eO[43]=eA,eO[45]=eA,eO[46]=eA,eO[95]=eA,eO[72]=[eA,eS],eO[104]=[eA,eS],eO[87]=[eA,eT],eO[119]=[eA,eT];var eR=n(23402),eN=n(42761);let eL={tokenize:function(e,t,n){let r=this;return(0,eN.f)(e,function(e){let a=r.events[r.events.length-1];return a&&"gfmFootnoteDefinitionIndent"===a[1].type&&4===a[2].sliceSerialize(a[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function eD(e,t,n){let r;let a=this,i=a.events.length,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);for(;i--;){let e=a.events[i][1];if("labelImage"===e.type){r=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(i){if(!r||!r._balanced)return n(i);let s=(0,v.d)(a.sliceSerialize({start:r.end,end:a.now()}));return 94===s.codePointAt(0)&&o.includes(s.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(i),e.exit("gfmFootnoteCallLabelMarker"),t(i)):n(i)}}function eP(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;let i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",a,t],["exit",a,t],["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function eM(e,t,n){let r;let a=this,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),s=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),l};function l(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(l){if(s>999||93===l&&!r||null===l||91===l||(0,i.z3)(l))return n(l);if(93===l){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return o.includes((0,v.d)(a.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(l)}return(0,i.z3)(l)||(r=!0),s++,e.consume(l),92===l?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function eF(e,t,n){let r,a;let o=this,s=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]),l=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(t)}function u(t){if(l>999||93===t&&!a||null===t||91===t||(0,i.z3)(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return r=(0,v.d)(o.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),d}return(0,i.z3)(t)||(a=!0),l++,e.consume(t),92===t?p:u}function p(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}function d(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s.includes(r)||s.push(r),(0,eN.f)(e,f,"gfmFootnoteDefinitionWhitespace")):n(t)}function f(e){return t(e)}}function eB(e,t,n){return e.check(eR.w,t,e.attempt(eL,t,n))}function ej(e){e.exit("gfmFootnoteDefinition")}var eU=n(21905),eG=n(62987),eH=n(63233);class ez{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let a=0;if(0!==n||0!==r.length){for(;a0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function e$(e,t,n){let r;let a=this,o=0,s=0;return function(e){let t=a.events.length-1;for(;t>-1;){let e=a.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let r=t>-1?a.events[t][1].type:null,i="tableHead"===r||"tableRow"===r?E:l;return i===E&&a.parser.lazy[a.now().line]?n(e):i(e)};function l(t){return e.enter("tableHead"),e.enter("tableRow"),124===t||(r=!0,s+=1),c(t)}function c(t){return null===t?n(t):(0,i.Ch)(t)?s>1?(s=0,a.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),d):n(t):(0,i.xz)(t)?(0,eN.f)(e,c,"whitespace")(t):(s+=1,r&&(r=!1,o+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,c):(e.enter("data"),u(t))}function u(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),c(t)):(e.consume(t),92===t?p:u)}function p(t){return 92===t||124===t?(e.consume(t),u):u(t)}function d(t){return(a.interrupt=!1,a.parser.lazy[a.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,(0,i.xz)(t))?(0,eN.f)(e,f,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):f(t)}function f(t){return 45===t||58===t?g(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),h):n(t)}function h(t){return(0,i.xz)(t)?(0,eN.f)(e,g,"whitespace")(t):g(t)}function g(t){return 58===t?(s+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),m):45===t?(s+=1,m(t)):null===t||(0,i.Ch)(t)?y(t):n(t)}function m(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),b):(e.exit("tableDelimiterFiller"),b(n))}(t)):n(t)}function b(t){return(0,i.xz)(t)?(0,eN.f)(e,y,"whitespace")(t):y(t)}function y(a){return 124===a?f(a):null===a||(0,i.Ch)(a)?r&&o===s?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(a)):n(a):n(a)}function E(t){return e.enter("tableRow"),v(t)}function v(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),v):null===n||(0,i.Ch)(n)?(e.exit("tableRow"),t(n)):(0,i.xz)(n)?(0,eN.f)(e,v,"whitespace")(n):(e.enter("data"),T(n))}function T(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),v(t)):(e.consume(t),92===t?S:T)}function S(t){return 92===t||124===t?(e.consume(t),T):T(t)}}function eW(e,t){let n,r,a,i=-1,o=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,p=0,d=new ez;for(;++in[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",o,t]])}return void 0!==a&&(i.end=Object.assign({},eV(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function eY(e,t,n,r,a){let i=[],o=eV(t.events,n);a&&(a.end=Object.assign({},o),i.push(["exit",a,t])),r.end=Object.assign({},o),i.push(["exit",r,t]),e.add(n+1,0,i)}function eV(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}let eq={name:"tasklistCheck",tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),a):n(t)};function a(t){return(0,i.z3)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(t)}function s(r){return(0,i.Ch)(r)?t(r):(0,i.xz)(r)?e.check({tokenize:eK},t,n)(r):n(r)}}};function eK(e,t,n){return(0,eN.f)(e,function(e){return null===e?n(e):t(e)},"whitespace")}let eX={};function eQ(e){let t=e||eX,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),i=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push((0,eg.W)([{text:eO},{document:{91:{name:"gfmFootnoteDefinition",tokenize:eF,continuation:{tokenize:eB},exit:ej}},text:{91:{name:"gfmFootnoteCall",tokenize:eM},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:eD,resolveTo:eP}}},function(e){let t=(e||{}).singleTilde,n={name:"strikethrough",tokenize:function(e,n,r){let a=this.previous,i=this.events,o=0;return function(s){return 126===a&&"characterEscape"!==i[i.length-1][1].type?r(s):(e.enter("strikethroughSequenceTemporary"),function i(s){let l=(0,eG.r)(a);if(126===s)return o>1?r(s):(e.consume(s),o++,i);if(o<2&&!t)return r(s);let c=e.exit("strikethroughSequenceTemporary"),u=(0,eG.r)(s);return c._open=!u||2===u&&!!l,c._close=!l||2===l&&!!u,n(s)}(s))}},resolveAll:function(e,t){let n=-1;for(;++nl&&(l=e[c].length);++ps[p])&&(s[p]=e)}n.push(i)}i[c]=n,o[c]=a}let p=-1;if("object"==typeof n&&"length"in n)for(;++ps[p]&&(s[p]=i),f[p]=i),d[p]=o}i.splice(1,0,d),o.splice(1,0,f),c=-1;let h=[];for(;++c","Iacute":"\xcd","Icirc":"\xce","Igrave":"\xcc","Iuml":"\xcf","LT":"<","Ntilde":"\xd1","Oacute":"\xd3","Ocirc":"\xd4","Ograve":"\xd2","Oslash":"\xd8","Otilde":"\xd5","Ouml":"\xd6","QUOT":"\\"","REG":"\xae","THORN":"\xde","Uacute":"\xda","Ucirc":"\xdb","Ugrave":"\xd9","Uuml":"\xdc","Yacute":"\xdd","aacute":"\xe1","acirc":"\xe2","acute":"\xb4","aelig":"\xe6","agrave":"\xe0","amp":"&","aring":"\xe5","atilde":"\xe3","auml":"\xe4","brvbar":"\xa6","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","eacute":"\xe9","ecirc":"\xea","egrave":"\xe8","eth":"\xf0","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","iacute":"\xed","icirc":"\xee","iexcl":"\xa1","igrave":"\xec","iquest":"\xbf","iuml":"\xef","laquo":"\xab","lt":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","ntilde":"\xf1","oacute":"\xf3","ocirc":"\xf4","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","oslash":"\xf8","otilde":"\xf5","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","raquo":"\xbb","reg":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","thorn":"\xfe","times":"\xd7","uacute":"\xfa","ucirc":"\xfb","ugrave":"\xf9","uml":"\xa8","uuml":"\xfc","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')}}]); \ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/2913-315ad705b1306902.js b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/2913-19ce7fd997956492.js similarity index 100% rename from packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/2913-315ad705b1306902.js rename to packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/2913-19ce7fd997956492.js diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/3013.7a7894c4ca605cd4.js b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/3013.294ad5538f307ee9.js similarity index 56% rename from packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/3013.7a7894c4ca605cd4.js rename to packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/3013.294ad5538f307ee9.js index 63aad6c6c..5994c8604 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/3013.7a7894c4ca605cd4.js +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/3013.294ad5538f307ee9.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3013],{89035:function(e,t,a){a.d(t,{Z:function(){return c}});var n=a(87462),l=a(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M516 673c0 4.4 3.4 8 7.5 8h185c4.1 0 7.5-3.6 7.5-8v-48c0-4.4-3.4-8-7.5-8h-185c-4.1 0-7.5 3.6-7.5 8v48zm-194.9 6.1l192-161c3.8-3.2 3.8-9.1 0-12.3l-192-160.9A7.95 7.95 0 00308 351v62.7c0 2.4 1 4.6 2.9 6.1L420.7 512l-109.8 92.2a8.1 8.1 0 00-2.9 6.1V673c0 6.8 7.9 10.5 13.1 6.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"code",theme:"outlined"},s=a(13401),c=l.forwardRef(function(e,t){return l.createElement(s.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},15381:function(e,t,a){a.d(t,{Z:function(){return c}});var n=a(87462),l=a(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h129.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM184 456V172h81v284h-81zm627.2 160.4H496.8l9.6 198.4c.6 11.9-4.7 23.1-14.6 30.5-6.1 4.5-13.6 6.8-21.1 6.7a44.28 44.28 0 01-42.2-32.3L329 459.2V172h415.4a56.85 56.85 0 0133.6 51.8c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-14 25.5 21.9 19a56.76 56.76 0 0119.6 43c0 19.1-11 37.5-28.8 48.4z"}}]},name:"dislike",theme:"outlined"},s=a(13401),c=l.forwardRef(function(e,t){return l.createElement(s.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},65429:function(e,t,a){a.d(t,{Z:function(){return c}});var n=a(87462),l=a(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},s=a(13401),c=l.forwardRef(function(e,t){return l.createElement(s.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},50228:function(e,t,a){a.d(t,{Z:function(){return c}});var n=a(87462),l=a(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 328a60 60 0 10120 0 60 60 0 10-120 0zM852 64H172c-17.7 0-32 14.3-32 32v660c0 17.7 14.3 32 32 32h680c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-32 660H204V128h616v596zM604 328a60 60 0 10120 0 60 60 0 10-120 0zm250.2 556H169.8c-16.5 0-29.8 14.3-29.8 32v36c0 4.4 3.3 8 7.4 8h729.1c4.1 0 7.4-3.6 7.4-8v-36c.1-17.7-13.2-32-29.7-32zM664 508H360c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"robot",theme:"outlined"},s=a(13401),c=l.forwardRef(function(e,t){return l.createElement(s.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},27496:function(e,t,a){a.d(t,{Z:function(){return c}});var n=a(87462),l=a(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},s=a(13401),c=l.forwardRef(function(e,t){return l.createElement(s.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},94668:function(e,t,a){a.d(t,{Z:function(){return c}});var n=a(87462),l=a(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},s=a(13401),c=l.forwardRef(function(e,t){return l.createElement(s.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},2440:function(e,t,a){var n=a(25519);t.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(n.C9))&&void 0!==e?e:"")}},88331:function(e,t,a){a.r(t),a.d(t,{default:function(){return W}});var n=a(85893),l=a(41468),r=a(76212),s=a(74434),c=a(28516),i=a(25519),o=a(24019),d=a(50888),u=a(97937),m=a(63606),f=a(57132),x=a(89035),p=a(32975),v=a(45360),h=a(93967),g=a.n(h),y=a(25675),w=a.n(y),j=a(39332),b=a(67294),_=a(67421),Z=a(65429),k=a(15381),N=a(65654),C=a(66309),S=a(25278),z=a(14726),M=a(55241),V=a(96074),P=a(20640),E=a.n(P);let H=e=>{let{list:t,loading:a,feedback:l,setFeedbackOpen:r}=e,{t:s}=(0,_.$G)(),[c,i]=(0,b.useState)([]),[o,d]=(0,b.useState)("");return(0,n.jsxs)("div",{className:"flex flex-col",children:[(0,n.jsx)("div",{className:"flex flex-1 flex-wrap w-72",children:null==t?void 0:t.map(e=>{let t=c.findIndex(t=>t.reason_type===e.reason_type)>-1;return(0,n.jsx)(C.Z,{className:"text-xs text-[#525964] mb-2 p-1 px-2 rounded-md cursor-pointer ".concat(t?"border-[#0c75fc] text-[#0c75fc]":""),onClick:()=>{i(t=>{let a=t.findIndex(t=>t.reason_type===e.reason_type);return a>-1?[...t.slice(0,a),...t.slice(a+1)]:[...t,e]})},children:e.reason},e.reason_type)})}),(0,n.jsx)(S.default.TextArea,{placeholder:s("feedback_tip"),className:"w-64 h-20 resize-none mb-2",value:o,onChange:e=>d(e.target.value.trim())}),(0,n.jsxs)("div",{className:"flex gap-2 justify-end",children:[(0,n.jsx)(z.ZP,{className:"w-16 h-8",onClick:()=>{r(!1)},children:"取消"}),(0,n.jsx)(z.ZP,{type:"primary",className:"min-w-16 h-8",onClick:async()=>{let e=c.map(e=>e.reason_type);await (null==l?void 0:l({feedback_type:"unlike",reason_types:e,remark:o}))},loading:a,children:"确认"})]})]})};var R=e=>{var t,a;let{content:l}=e,{t:s}=(0,_.$G)(),c=(0,j.useSearchParams)(),i=null!==(a=null==c?void 0:c.get("id"))&&void 0!==a?a:"",[o,d]=v.ZP.useMessage(),[u,m]=(0,b.useState)(!1),[x,p]=(0,b.useState)(null==l?void 0:null===(t=l.feedback)||void 0===t?void 0:t.feedback_type),[h,y]=(0,b.useState)(),w=async e=>{let t=null==e?void 0:e.replace(/\trelations:.*/g,""),a=E()(t);a?t?o.open({type:"success",content:s("copy_success")}):o.open({type:"warning",content:s("copy_nothing")}):o.open({type:"error",content:s("copy_failed")})},{run:C,loading:S}=(0,N.Z)(async e=>await (0,r.Vx)((0,r.zx)({conv_uid:i,message_id:l.order+"",feedback_type:e.feedback_type,reason_types:e.reason_types,remark:e.remark})),{manual:!0,onSuccess:e=>{let[,t]=e;p(null==t?void 0:t.feedback_type),v.ZP.success("反馈成功"),m(!1)}}),{run:z}=(0,N.Z)(async()=>await (0,r.Vx)((0,r.Jr)()),{manual:!0,onSuccess:e=>{let[,t]=e;y(t||[]),t&&m(!0)}}),{run:P}=(0,N.Z)(async()=>await (0,r.Vx)((0,r.Ir)({conv_uid:i,message_id:(null==l?void 0:l.order)+""})),{manual:!0,onSuccess:e=>{let[,t]=e;t&&(p("none"),v.ZP.success("操作成功"))}});return(0,n.jsxs)(n.Fragment,{children:[d,(0,n.jsxs)("div",{className:"flex flex-1 items-center text-sm px-4",children:[(0,n.jsxs)("div",{className:"flex gap-3",children:[(0,n.jsx)(Z.Z,{className:g()("cursor-pointer",{"text-[#0C75FC]":"like"===x}),onClick:async()=>{if("like"===x){await P();return}await C({feedback_type:"like"})}}),(0,n.jsx)(M.Z,{placement:"bottom",autoAdjustOverflow:!0,destroyTooltipOnHide:!0,content:(0,n.jsx)(H,{setFeedbackOpen:m,feedback:C,list:h||[],loading:S}),trigger:"click",open:u,children:(0,n.jsx)(k.Z,{className:g()("cursor-pointer",{"text-[#0C75FC]":"unlike"===x}),onClick:async()=>{if("unlike"===x){await P();return}await z()}})})]}),(0,n.jsx)(V.Z,{type:"vertical"}),(0,n.jsx)(f.Z,{className:"cursor-pointer",onClick:()=>w(l.context)})]})]})},O=a(50228),B=a(48218),L=a(39718),$=(0,b.memo)(e=>{var t;let{model:a}=e,l=(0,j.useSearchParams)(),r=null!==(t=null==l?void 0:l.get("scene"))&&void 0!==t?t:"";return"chat_agent"===r?(0,n.jsx)("div",{className:"flex items-center justify-center w-8 h-8 rounded-full bg-white dark:bg-[rgba(255,255,255,0.16)]",children:(0,n.jsx)(B.Z,{scene:r})}):a?(0,n.jsx)(L.Z,{width:32,height:32,model:a}):(0,n.jsx)("div",{className:"flex items-center justify-center w-8 h-8 rounded-full bg-white dark:bg-[rgba(255,255,255,0.16)]",children:(0,n.jsx)(O.Z,{})})});let A=()=>{var e;let t=JSON.parse(null!==(e=localStorage.getItem(i.C9))&&void 0!==e?e:"");return t.avatar_url?(0,n.jsx)(w(),{className:"rounded-full border border-gray-200 object-contain bg-white inline-block",width:32,height:32,src:null==t?void 0:t.avatar_url,alt:null==t?void 0:t.nick_name}):(0,n.jsx)("div",{className:"flex items-center justify-center w-8 h-8 rounded-full bg-gradient-to-tr from-[#31afff] to-[#1677ff] text-xs text-white",children:null==t?void 0:t.nick_name})},I={todo:{bgClass:"bg-gray-500",icon:(0,n.jsx)(o.Z,{className:"ml-2"})},runing:{bgClass:"bg-blue-500",icon:(0,n.jsx)(d.Z,{className:"ml-2"})},failed:{bgClass:"bg-red-500",icon:(0,n.jsx)(u.Z,{className:"ml-2"})},completed:{bgClass:"bg-green-500",icon:(0,n.jsx)(m.Z,{className:"ml-2"})}},J=e=>e.replaceAll("\\n","\n").replace(/]+)>/gi,"").replace(/]+)>/gi,""),F=e=>null==e?void 0:e.replace(/]+)>/gi,"
").replace(/]+)>/gi,"");var T=(0,b.memo)(e=>{var t;let{content:a,onLinkClick:l}=e,{t:r}=(0,_.$G)(),s=(0,j.useSearchParams)(),i=null!==(t=null==s?void 0:s.get("scene"))&&void 0!==t?t:"",{context:o,model_name:d,role:u,thinking:m}=a,h=(0,b.useMemo)(()=>"view"===u,[u]),{value:y,cachePluginContext:w}=(0,b.useMemo)(()=>{if("string"!=typeof o)return{relations:[],value:"",cachePluginContext:[]};let[e,t]=o.split(" relations:"),a=t?t.split(","):[],n=[],l=0,r=e.replace(/]*>[^<]*<\/dbgpt-view>/gi,e=>{try{var t;let a=e.replaceAll("\n","\\n").replace(/<[^>]*>|<\/[^>]*>/gm,""),r=JSON.parse(a),s="".concat(l,"");return n.push({...r,result:J(null!==(t=r.result)&&void 0!==t?t:"")}),l++,s}catch(t){return console.log(t.message,t),e}});return{relations:a,cachePluginContext:n,value:r}},[o]),Z=(0,b.useMemo)(()=>({"custom-view"(e){var t;let{children:a}=e,l=+a.toString();if(!w[l])return a;let{name:r,status:s,err_msg:i,result:o}=w[l],{bgClass:d,icon:u}=null!==(t=I[s])&&void 0!==t?t:{};return(0,n.jsxs)("div",{className:"bg-white dark:bg-[#212121] rounded-lg overflow-hidden my-2 flex flex-col lg:max-w-[80%]",children:[(0,n.jsxs)("div",{className:g()("flex px-4 md:px-6 py-2 items-center text-white text-sm",d),children:[r,u]}),o?(0,n.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm",children:(0,n.jsx)(p.Z,{components:c.ZP,...c.dx,children:(0,c.CE)(null!=o?o:"")})}):(0,n.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm",children:i})]})}}),[w]);return(0,n.jsxs)("div",{className:"flex flex-1 gap-3 mt-6",children:[(0,n.jsx)("div",{className:"flex flex-shrink-0 items-start",children:h?(0,n.jsx)($,{model:d}):(0,n.jsx)(A,{})}),(0,n.jsxs)("div",{className:"flex ".concat("chat_agent"!==i||m?"":"flex-1"," overflow-hidden"),children:[!h&&(0,n.jsxs)("div",{className:"flex flex-1 relative group",children:[(0,n.jsx)("div",{className:"flex-1 text-sm text-[#1c2533] dark:text-white",style:{whiteSpace:"pre-wrap",wordBreak:"break-word"},children:"string"==typeof o&&(0,n.jsx)("div",{children:(0,n.jsx)(p.Z,{components:{...c.ZP,img:e=>{let{src:t,alt:a,...l}=e;return(0,n.jsx)("img",{src:t,alt:a||"image",className:"max-w-full md:max-w-[80%] lg:max-w-[70%] object-contain",style:{maxHeight:"200px"},...l})}},...c.dx,children:(0,c.CE)(J(y))})})}),"string"==typeof o&&o.trim()&&(0,n.jsx)("div",{className:"absolute right-0 top-0 opacity-0 group-hover:opacity-100 transition-opacity duration-200",children:(0,n.jsx)("button",{className:"flex items-center justify-center w-8 h-8 text-[#525964] dark:text-[rgba(255,255,255,0.6)] hover:text-[#1677ff] dark:hover:text-white transition-colors",onClick:()=>{"string"==typeof o&&navigator.clipboard.writeText(o).then(()=>{v.ZP.success(r("copy_to_clipboard_success"))}).catch(e=>{console.error(r("copy_to_clipboard_failed"),e),v.ZP.error(r("copy_to_clipboard_failed"))})},title:r("copy_to_clipboard"),children:(0,n.jsx)(f.Z,{})})})]}),h&&(0,n.jsxs)("div",{className:"flex flex-1 flex-col w-full",children:[(0,n.jsxs)("div",{className:"bg-white dark:bg-[rgba(255,255,255,0.16)] p-4 rounded-2xl rounded-tl-none mb-2",children:["object"==typeof o&&(0,n.jsxs)("div",{children:["[".concat(o.template_name,"]: "),(0,n.jsxs)("span",{className:"text-theme-primary cursor-pointer",onClick:l,children:[(0,n.jsx)(x.Z,{className:"mr-1"}),o.template_introduce||"More Details"]})]}),"string"==typeof o&&"chat_agent"===i&&(0,n.jsx)(p.Z,{components:c.ZP,...c.dx,children:(0,c.CE)(F(y))}),"string"==typeof o&&"chat_agent"!==i&&(0,n.jsx)("div",{children:(0,n.jsx)(p.Z,{components:{...c.ZP,...Z},...c.dx,children:(0,c.CE)(J(y))})}),m&&!o&&(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)("span",{className:"flex text-sm text-[#1c2533] dark:text-white",children:r("thinking")}),(0,n.jsxs)("div",{className:"flex",children:[(0,n.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse1"}),(0,n.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse2"}),(0,n.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse3"})]})]})]}),(0,n.jsx)(R,{content:a})]})]})]})}),U=a(57249),D=a(62418),G=a(2093),q=a(85576),K=a(96486),Q=a(25934),W=()=>{var e;let t=(0,j.useSearchParams)(),a=null!==(e=null==t?void 0:t.get("id"))&&void 0!==e?e:"",{currentDialogInfo:c,model:i}=(0,b.useContext)(l.p),{history:o,handleChat:d,refreshDialogList:u,setAppInfo:m,setModelValue:f,setTemperatureValue:x,setMaxNewTokensValue:p,setResourceValue:v}=(0,b.useContext)(U.ChatContentContext),[h,g]=(0,b.useState)(!1),[y,w]=(0,b.useState)(""),_=(0,b.useMemo)(()=>{let e=(0,K.cloneDeep)(o);return e.filter(e=>["view","human"].includes(e.role)).map(e=>({...e,key:(0,Q.Z)()}))},[o]);return(0,G.Z)(async()=>{let e=(0,D.a_)();if(e&&e.id===a){let[,a]=await (0,r.Vx)((0,r.BN)({...c}));if(a){var t,n,l,s,o,h,g,y,w;let r=(null==a?void 0:null===(t=a.param_need)||void 0===t?void 0:t.map(e=>e.type))||[],c=(null===(n=null==a?void 0:null===(l=a.param_need)||void 0===l?void 0:l.filter(e=>"model"===e.type)[0])||void 0===n?void 0:n.value)||i,j=(null===(s=null==a?void 0:null===(o=a.param_need)||void 0===o?void 0:o.filter(e=>"temperature"===e.type)[0])||void 0===s?void 0:s.value)||.6,b=(null===(h=null==a?void 0:null===(g=a.param_need)||void 0===g?void 0:g.filter(e=>"max_new_tokens"===e.type)[0])||void 0===h?void 0:h.value)||4e3,_=null===(y=null==a?void 0:null===(w=a.param_need)||void 0===w?void 0:w.filter(e=>"resource"===e.type)[0])||void 0===y?void 0:y.bind_value;m(a||{}),x(j||.6),p(b||4e3),f(c),v(_),await d(e.message,{app_code:null==a?void 0:a.app_code,model_name:c,...(null==r?void 0:r.includes("temperature"))&&{temperature:j},...(null==r?void 0:r.includes("max_new_tokens"))&&{max_new_tokens:b},...r.includes("resource")&&{select_param:"string"==typeof _?_:JSON.stringify(_)}}),await u(),localStorage.removeItem(D.rU)}}},[a,c]),(0,n.jsxs)("div",{className:"flex flex-col w-5/6 mx-auto",children:[!!_.length&&_.map((e,t)=>(0,n.jsx)(T,{content:e,onLinkClick:()=>{g(!0),w(JSON.stringify(null==e?void 0:e.context,null,2))}},t)),(0,n.jsx)(q.default,{title:"JSON Editor",open:h,width:"60%",cancelButtonProps:{hidden:!0},onOk:()=>{g(!1)},onCancel:()=>{g(!1)},children:(0,n.jsx)(s.Z,{className:"w-full h-[500px]",language:"json",value:y})})]})}},25934:function(e,t,a){a.d(t,{Z:function(){return d}});var n,l=new Uint8Array(16);function r(){if(!n&&!(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(l)}for(var s=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,c=[],i=0;i<256;++i)c.push((i+256).toString(16).substr(1));var o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=(c[e[t+0]]+c[e[t+1]]+c[e[t+2]]+c[e[t+3]]+"-"+c[e[t+4]]+c[e[t+5]]+"-"+c[e[t+6]]+c[e[t+7]]+"-"+c[e[t+8]]+c[e[t+9]]+"-"+c[e[t+10]]+c[e[t+11]]+c[e[t+12]]+c[e[t+13]]+c[e[t+14]]+c[e[t+15]]).toLowerCase();if(!("string"==typeof a&&s.test(a)))throw TypeError("Stringified UUID is invalid");return a},d=function(e,t,a){var n=(e=e||{}).random||(e.rng||r)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){a=a||0;for(var l=0;l<16;++l)t[a+l]=n[l];return t}return o(n)}}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3013],{89035:function(e,t,a){a.d(t,{Z:function(){return c}});var n=a(87462),l=a(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M516 673c0 4.4 3.4 8 7.5 8h185c4.1 0 7.5-3.6 7.5-8v-48c0-4.4-3.4-8-7.5-8h-185c-4.1 0-7.5 3.6-7.5 8v48zm-194.9 6.1l192-161c3.8-3.2 3.8-9.1 0-12.3l-192-160.9A7.95 7.95 0 00308 351v62.7c0 2.4 1 4.6 2.9 6.1L420.7 512l-109.8 92.2a8.1 8.1 0 00-2.9 6.1V673c0 6.8 7.9 10.5 13.1 6.1zM880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"code",theme:"outlined"},s=a(13401),c=l.forwardRef(function(e,t){return l.createElement(s.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},15381:function(e,t,a){a.d(t,{Z:function(){return c}});var n=a(87462),l=a(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h129.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM184 456V172h81v284h-81zm627.2 160.4H496.8l9.6 198.4c.6 11.9-4.7 23.1-14.6 30.5-6.1 4.5-13.6 6.8-21.1 6.7a44.28 44.28 0 01-42.2-32.3L329 459.2V172h415.4a56.85 56.85 0 0133.6 51.8c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-14 25.5 21.9 19a56.76 56.76 0 0119.6 43c0 19.1-11 37.5-28.8 48.4z"}}]},name:"dislike",theme:"outlined"},s=a(13401),c=l.forwardRef(function(e,t){return l.createElement(s.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},65429:function(e,t,a){a.d(t,{Z:function(){return c}});var n=a(87462),l=a(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},s=a(13401),c=l.forwardRef(function(e,t){return l.createElement(s.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},50228:function(e,t,a){a.d(t,{Z:function(){return c}});var n=a(87462),l=a(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 328a60 60 0 10120 0 60 60 0 10-120 0zM852 64H172c-17.7 0-32 14.3-32 32v660c0 17.7 14.3 32 32 32h680c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-32 660H204V128h616v596zM604 328a60 60 0 10120 0 60 60 0 10-120 0zm250.2 556H169.8c-16.5 0-29.8 14.3-29.8 32v36c0 4.4 3.3 8 7.4 8h729.1c4.1 0 7.4-3.6 7.4-8v-36c.1-17.7-13.2-32-29.7-32zM664 508H360c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"robot",theme:"outlined"},s=a(13401),c=l.forwardRef(function(e,t){return l.createElement(s.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},27496:function(e,t,a){a.d(t,{Z:function(){return c}});var n=a(87462),l=a(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},s=a(13401),c=l.forwardRef(function(e,t){return l.createElement(s.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},94668:function(e,t,a){a.d(t,{Z:function(){return c}});var n=a(87462),l=a(67294),r={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},s=a(13401),c=l.forwardRef(function(e,t){return l.createElement(s.Z,(0,n.Z)({},e,{ref:t,icon:r}))})},2440:function(e,t,a){var n=a(25519);t.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(n.C9))&&void 0!==e?e:"")}},88331:function(e,t,a){a.r(t),a.d(t,{default:function(){return W}});var n=a(85893),l=a(41468),r=a(76212),s=a(74434),c=a(28516),i=a(25519),o=a(24019),d=a(50888),u=a(97937),m=a(63606),f=a(57132),x=a(89035),p=a(32975),v=a(45360),h=a(93967),g=a.n(h),y=a(25675),w=a.n(y),j=a(39332),b=a(67294),_=a(67421),Z=a(65429),k=a(15381),N=a(65654),C=a(66309),S=a(25278),z=a(14726),M=a(55241),V=a(96074),P=a(20640),E=a.n(P);let H=e=>{let{list:t,loading:a,feedback:l,setFeedbackOpen:r}=e,{t:s}=(0,_.$G)(),[c,i]=(0,b.useState)([]),[o,d]=(0,b.useState)("");return(0,n.jsxs)("div",{className:"flex flex-col",children:[(0,n.jsx)("div",{className:"flex flex-1 flex-wrap w-72",children:null==t?void 0:t.map(e=>{let t=c.findIndex(t=>t.reason_type===e.reason_type)>-1;return(0,n.jsx)(C.Z,{className:"text-xs text-[#525964] mb-2 p-1 px-2 rounded-md cursor-pointer ".concat(t?"border-[#0c75fc] text-[#0c75fc]":""),onClick:()=>{i(t=>{let a=t.findIndex(t=>t.reason_type===e.reason_type);return a>-1?[...t.slice(0,a),...t.slice(a+1)]:[...t,e]})},children:e.reason},e.reason_type)})}),(0,n.jsx)(S.default.TextArea,{placeholder:s("feedback_tip"),className:"w-64 h-20 resize-none mb-2",value:o,onChange:e=>d(e.target.value.trim())}),(0,n.jsxs)("div",{className:"flex gap-2 justify-end",children:[(0,n.jsx)(z.ZP,{className:"w-16 h-8",onClick:()=>{r(!1)},children:"取消"}),(0,n.jsx)(z.ZP,{type:"primary",className:"min-w-16 h-8",onClick:async()=>{let e=c.map(e=>e.reason_type);await (null==l?void 0:l({feedback_type:"unlike",reason_types:e,remark:o}))},loading:a,children:"确认"})]})]})};var R=e=>{var t,a;let{content:l}=e,{t:s}=(0,_.$G)(),c=(0,j.useSearchParams)(),i=null!==(a=null==c?void 0:c.get("id"))&&void 0!==a?a:"",[o,d]=v.ZP.useMessage(),[u,m]=(0,b.useState)(!1),[x,p]=(0,b.useState)(null==l?void 0:null===(t=l.feedback)||void 0===t?void 0:t.feedback_type),[h,y]=(0,b.useState)(),w=async e=>{let t=null==e?void 0:e.replace(/\trelations:.*/g,""),a=E()(t);a?t?o.open({type:"success",content:s("copy_success")}):o.open({type:"warning",content:s("copy_nothing")}):o.open({type:"error",content:s("copy_failed")})},{run:C,loading:S}=(0,N.Z)(async e=>await (0,r.Vx)((0,r.zx)({conv_uid:i,message_id:l.order+"",feedback_type:e.feedback_type,reason_types:e.reason_types,remark:e.remark})),{manual:!0,onSuccess:e=>{let[,t]=e;p(null==t?void 0:t.feedback_type),v.ZP.success("反馈成功"),m(!1)}}),{run:z}=(0,N.Z)(async()=>await (0,r.Vx)((0,r.Jr)()),{manual:!0,onSuccess:e=>{let[,t]=e;y(t||[]),t&&m(!0)}}),{run:P}=(0,N.Z)(async()=>await (0,r.Vx)((0,r.Ir)({conv_uid:i,message_id:(null==l?void 0:l.order)+""})),{manual:!0,onSuccess:e=>{let[,t]=e;t&&(p("none"),v.ZP.success("操作成功"))}});return(0,n.jsxs)(n.Fragment,{children:[d,(0,n.jsxs)("div",{className:"flex flex-1 items-center text-sm px-4",children:[(0,n.jsxs)("div",{className:"flex gap-3",children:[(0,n.jsx)(Z.Z,{className:g()("cursor-pointer",{"text-[#0C75FC]":"like"===x}),onClick:async()=>{if("like"===x){await P();return}await C({feedback_type:"like"})}}),(0,n.jsx)(M.Z,{placement:"bottom",autoAdjustOverflow:!0,destroyTooltipOnHide:!0,content:(0,n.jsx)(H,{setFeedbackOpen:m,feedback:C,list:h||[],loading:S}),trigger:"click",open:u,children:(0,n.jsx)(k.Z,{className:g()("cursor-pointer",{"text-[#0C75FC]":"unlike"===x}),onClick:async()=>{if("unlike"===x){await P();return}await z()}})})]}),(0,n.jsx)(V.Z,{type:"vertical"}),(0,n.jsx)(f.Z,{className:"cursor-pointer",onClick:()=>w(l.context)})]})]})},O=a(50228),B=a(48218),L=a(39718),$=(0,b.memo)(e=>{var t;let{model:a}=e,l=(0,j.useSearchParams)(),r=null!==(t=null==l?void 0:l.get("scene"))&&void 0!==t?t:"";return"chat_agent"===r?(0,n.jsx)("div",{className:"flex items-center justify-center w-8 h-8 rounded-full bg-white dark:bg-[rgba(255,255,255,0.16)]",children:(0,n.jsx)(B.Z,{scene:r})}):a?(0,n.jsx)(L.Z,{width:32,height:32,model:a}):(0,n.jsx)("div",{className:"flex items-center justify-center w-8 h-8 rounded-full bg-white dark:bg-[rgba(255,255,255,0.16)]",children:(0,n.jsx)(O.Z,{})})});let I=()=>{var e;let t=JSON.parse(null!==(e=localStorage.getItem(i.C9))&&void 0!==e?e:"");return t.avatar_url?(0,n.jsx)(w(),{className:"rounded-full border border-gray-200 object-contain bg-white inline-block",width:32,height:32,src:null==t?void 0:t.avatar_url,alt:null==t?void 0:t.nick_name}):(0,n.jsx)("div",{className:"flex items-center justify-center w-8 h-8 rounded-full bg-gradient-to-tr from-[#31afff] to-[#1677ff] text-xs text-white",children:null==t?void 0:t.nick_name})},J={todo:{bgClass:"bg-gray-500",icon:(0,n.jsx)(o.Z,{className:"ml-2"})},runing:{bgClass:"bg-blue-500",icon:(0,n.jsx)(d.Z,{className:"ml-2"})},failed:{bgClass:"bg-red-500",icon:(0,n.jsx)(u.Z,{className:"ml-2"})},completed:{bgClass:"bg-green-500",icon:(0,n.jsx)(m.Z,{className:"ml-2"})}},A=e=>e.replace(/]+)>/gi,"
").replace(/]+)>/gi,""),F=e=>null==e?void 0:e.replace(/]+)>/gi,"
").replace(/]+)>/gi,"");var T=(0,b.memo)(e=>{var t;let{content:a,onLinkClick:l}=e,{t:r}=(0,_.$G)(),s=(0,j.useSearchParams)(),i=null!==(t=null==s?void 0:s.get("scene"))&&void 0!==t?t:"",{context:o,model_name:d,role:u,thinking:m}=a,h=(0,b.useMemo)(()=>"view"===u,[u]),{value:y,cachePluginContext:w}=(0,b.useMemo)(()=>{if("string"!=typeof o)return{relations:[],value:"",cachePluginContext:[]};let[e,t]=o.split(" relations:"),a=t?t.split(","):[],n=[],l=0,r=e.replace(/]*>[^<]*<\/dbgpt-view>/gi,e=>{try{var t;let a=e.replaceAll("\n","\\n").replace(/<[^>]*>|<\/[^>]*>/gm,""),r=JSON.parse(a),s="".concat(l,"");return n.push({...r,result:A(null!==(t=r.result)&&void 0!==t?t:"")}),l++,s}catch(t){return console.log(t.message,t),e}});return{relations:a,cachePluginContext:n,value:r}},[o]),Z=(0,b.useMemo)(()=>({"custom-view"(e){var t;let{children:a}=e,l=+a.toString();if(!w[l])return a;let{name:r,status:s,err_msg:i,result:o}=w[l],{bgClass:d,icon:u}=null!==(t=J[s])&&void 0!==t?t:{};return(0,n.jsxs)("div",{className:"bg-white dark:bg-[#212121] rounded-lg overflow-hidden my-2 flex flex-col lg:max-w-[80%]",children:[(0,n.jsxs)("div",{className:g()("flex px-4 md:px-6 py-2 items-center text-white text-sm",d),children:[r,u]}),o?(0,n.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm",children:(0,n.jsx)(p.Z,{components:c.ZP,...c.dx,children:(0,c.CE)(null!=o?o:"")})}):(0,n.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm",children:i})]})}}),[w]);return(0,n.jsxs)("div",{className:"flex flex-1 gap-3 mt-6",children:[(0,n.jsx)("div",{className:"flex flex-shrink-0 items-start",children:h?(0,n.jsx)($,{model:d}):(0,n.jsx)(I,{})}),(0,n.jsxs)("div",{className:"flex ".concat("chat_agent"!==i||m?"":"flex-1"," overflow-hidden"),children:[!h&&(0,n.jsxs)("div",{className:"flex flex-1 relative group",children:[(0,n.jsx)("div",{className:"flex-1 text-sm text-[#1c2533] dark:text-white",style:{whiteSpace:"pre-wrap",wordBreak:"break-word"},children:"string"==typeof o&&(0,n.jsx)("div",{children:(0,n.jsx)(p.Z,{components:{...c.ZP,img:e=>{let{src:t,alt:a,...l}=e;return(0,n.jsx)("img",{src:t,alt:a||"image",className:"max-w-full md:max-w-[80%] lg:max-w-[70%] object-contain",style:{maxHeight:"200px"},...l})}},...c.dx,children:(0,c.CE)(A(y))})})}),"string"==typeof o&&o.trim()&&(0,n.jsx)("div",{className:"absolute right-0 top-0 opacity-0 group-hover:opacity-100 transition-opacity duration-200",children:(0,n.jsx)("button",{className:"flex items-center justify-center w-8 h-8 text-[#525964] dark:text-[rgba(255,255,255,0.6)] hover:text-[#1677ff] dark:hover:text-white transition-colors",onClick:()=>{"string"==typeof o&&navigator.clipboard.writeText(o).then(()=>{v.ZP.success(r("copy_to_clipboard_success"))}).catch(e=>{console.error(r("copy_to_clipboard_failed"),e),v.ZP.error(r("copy_to_clipboard_failed"))})},title:r("copy_to_clipboard"),children:(0,n.jsx)(f.Z,{})})})]}),h&&(0,n.jsxs)("div",{className:"flex flex-1 flex-col w-full",children:[(0,n.jsxs)("div",{className:"bg-white dark:bg-[rgba(255,255,255,0.16)] p-4 rounded-2xl rounded-tl-none mb-2",children:["object"==typeof o&&(0,n.jsxs)("div",{children:["[".concat(o.template_name,"]: "),(0,n.jsxs)("span",{className:"text-theme-primary cursor-pointer",onClick:l,children:[(0,n.jsx)(x.Z,{className:"mr-1"}),o.template_introduce||"More Details"]})]}),"string"==typeof o&&"chat_agent"===i&&(0,n.jsx)(p.Z,{components:c.ZP,...c.dx,children:(0,c.CE)(F(y))}),"string"==typeof o&&"chat_agent"!==i&&(0,n.jsx)("div",{children:(0,n.jsx)(p.Z,{components:{...c.ZP,...Z},...c.dx,children:(0,c.CE)(A(y))})}),m&&!o&&(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)("span",{className:"flex text-sm text-[#1c2533] dark:text-white",children:r("thinking")}),(0,n.jsxs)("div",{className:"flex",children:[(0,n.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse1"}),(0,n.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse2"}),(0,n.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse3"})]})]})]}),(0,n.jsx)(R,{content:a})]})]})]})}),U=a(57249),D=a(62418),G=a(2093),q=a(85576),K=a(96486),Q=a(25934),W=()=>{var e;let t=(0,j.useSearchParams)(),a=null!==(e=null==t?void 0:t.get("id"))&&void 0!==e?e:"",{currentDialogInfo:c,model:i}=(0,b.useContext)(l.p),{history:o,handleChat:d,refreshDialogList:u,setAppInfo:m,setModelValue:f,setTemperatureValue:x,setMaxNewTokensValue:p,setResourceValue:v}=(0,b.useContext)(U.ChatContentContext),[h,g]=(0,b.useState)(!1),[y,w]=(0,b.useState)(""),_=(0,b.useMemo)(()=>{let e=(0,K.cloneDeep)(o);return e.filter(e=>["view","human"].includes(e.role)).map(e=>({...e,key:(0,Q.Z)()}))},[o]);return(0,G.Z)(async()=>{let e=(0,D.a_)();if(e&&e.id===a){let[,a]=await (0,r.Vx)((0,r.BN)({...c}));if(a){var t,n,l,s,o,h,g,y,w;let r=(null==a?void 0:null===(t=a.param_need)||void 0===t?void 0:t.map(e=>e.type))||[],c=(null===(n=null==a?void 0:null===(l=a.param_need)||void 0===l?void 0:l.filter(e=>"model"===e.type)[0])||void 0===n?void 0:n.value)||i,j=(null===(s=null==a?void 0:null===(o=a.param_need)||void 0===o?void 0:o.filter(e=>"temperature"===e.type)[0])||void 0===s?void 0:s.value)||.6,b=(null===(h=null==a?void 0:null===(g=a.param_need)||void 0===g?void 0:g.filter(e=>"max_new_tokens"===e.type)[0])||void 0===h?void 0:h.value)||4e3,_=null===(y=null==a?void 0:null===(w=a.param_need)||void 0===w?void 0:w.filter(e=>"resource"===e.type)[0])||void 0===y?void 0:y.bind_value;m(a||{}),x(j||.6),p(b||4e3),f(c),v(_),await d(e.message,{app_code:null==a?void 0:a.app_code,model_name:c,...(null==r?void 0:r.includes("temperature"))&&{temperature:j},...(null==r?void 0:r.includes("max_new_tokens"))&&{max_new_tokens:b},...r.includes("resource")&&{select_param:"string"==typeof _?_:JSON.stringify(_)}}),await u(),localStorage.removeItem(D.rU)}}},[a,c]),(0,n.jsxs)("div",{className:"flex flex-col w-5/6 mx-auto",children:[!!_.length&&_.map((e,t)=>(0,n.jsx)(T,{content:e,onLinkClick:()=>{g(!0),w(JSON.stringify(null==e?void 0:e.context,null,2))}},t)),(0,n.jsx)(q.default,{title:"JSON Editor",open:h,width:"60%",cancelButtonProps:{hidden:!0},onOk:()=>{g(!1)},onCancel:()=>{g(!1)},children:(0,n.jsx)(s.Z,{className:"w-full h-[500px]",language:"json",value:y})})]})}},25934:function(e,t,a){a.d(t,{Z:function(){return d}});var n,l=new Uint8Array(16);function r(){if(!n&&!(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(l)}for(var s=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,c=[],i=0;i<256;++i)c.push((i+256).toString(16).substr(1));var o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=(c[e[t+0]]+c[e[t+1]]+c[e[t+2]]+c[e[t+3]]+"-"+c[e[t+4]]+c[e[t+5]]+"-"+c[e[t+6]]+c[e[t+7]]+"-"+c[e[t+8]]+c[e[t+9]]+"-"+c[e[t+10]]+c[e[t+11]]+c[e[t+12]]+c[e[t+13]]+c[e[t+14]]+c[e[t+15]]).toLowerCase();if(!("string"==typeof a&&s.test(a)))throw TypeError("Stringified UUID is invalid");return a},d=function(e,t,a){var n=(e=e||{}).random||(e.rng||r)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){a=a||0;for(var l=0;l<16;++l)t[a+l]=n[l];return t}return o(n)}}}]); \ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/3768-a1233e692564aca7.js b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/3768-deadababc1a231b3.js similarity index 100% rename from packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/3768-a1233e692564aca7.js rename to packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/3768-deadababc1a231b3.js diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/3913-71196f8d0847b406.js b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/3913-50cdfc0c798fc2d4.js similarity index 100% rename from packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/3913-71196f8d0847b406.js rename to packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/3913-50cdfc0c798fc2d4.js diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/5653-90637fdb7cef3adb.js b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/5653-6a30e52c900d4cd6.js similarity index 99% rename from packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/5653-90637fdb7cef3adb.js rename to packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/5653-6a30e52c900d4cd6.js index 0b3846a3e..14ff00157 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/5653-90637fdb7cef3adb.js +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/5653-6a30e52c900d4cd6.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5653],{45605:function(e,t,n){n.d(t,{Z:function(){return c}});var r=n(87462),l=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"},a=n(13401),c=l.forwardRef(function(e,t){return l.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},6171:function(e,t,n){n.d(t,{Z:function(){return c}});var r=n(87462),l=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},a=n(13401),c=l.forwardRef(function(e,t){return l.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},88484:function(e,t,n){n.d(t,{Z:function(){return c}});var r=n(87462),l=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},a=n(13401),c=l.forwardRef(function(e,t){return l.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},98065:function(e,t,n){function r(e){return["small","middle","large"].includes(e)}function l(e){return!!e&&"number"==typeof e&&!Number.isNaN(e)}n.d(t,{T:function(){return l},n:function(){return r}})},86738:function(e,t,n){n.d(t,{Z:function(){return w}});var r=n(67294),l=n(21640),o=n(93967),a=n.n(o),c=n(21770),i=n(98423),s=n(53124),u=n(55241),p=n(86743),d=n(81643),m=n(14726),f=n(33671),g=n(10110),v=n(24457),b=n(66330),y=n(83559);let O=e=>{let{componentCls:t,iconCls:n,antCls:r,zIndexPopup:l,colorText:o,colorWarning:a,marginXXS:c,marginXS:i,fontSize:s,fontWeightStrong:u,colorTextHeading:p}=e;return{[t]:{zIndex:l,[`&${r}-popover`]:{fontSize:s},[`${t}-message`]:{marginBottom:i,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${t}-message-icon ${n}`]:{color:a,fontSize:s,lineHeight:1,marginInlineEnd:i},[`${t}-title`]:{fontWeight:u,color:p,"&:only-child":{fontWeight:"normal"}},[`${t}-description`]:{marginTop:c,color:o}},[`${t}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:i}}}}};var h=(0,y.I$)("Popconfirm",e=>O(e),e=>{let{zIndexPopupBase:t}=e;return{zIndexPopup:t+60}},{resetStyle:!1}),$=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let C=e=>{let{prefixCls:t,okButtonProps:n,cancelButtonProps:o,title:a,description:c,cancelText:i,okText:u,okType:b="primary",icon:y=r.createElement(l.Z,null),showCancel:O=!0,close:h,onConfirm:$,onCancel:C,onPopupClick:x}=e,{getPrefixCls:E}=r.useContext(s.E_),[w]=(0,g.Z)("Popconfirm",v.Z.Popconfirm),j=(0,d.Z)(a),k=(0,d.Z)(c);return r.createElement("div",{className:`${t}-inner-content`,onClick:x},r.createElement("div",{className:`${t}-message`},y&&r.createElement("span",{className:`${t}-message-icon`},y),r.createElement("div",{className:`${t}-message-text`},j&&r.createElement("div",{className:`${t}-title`},j),k&&r.createElement("div",{className:`${t}-description`},k))),r.createElement("div",{className:`${t}-buttons`},O&&r.createElement(m.ZP,Object.assign({onClick:C,size:"small"},o),i||(null==w?void 0:w.cancelText)),r.createElement(p.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,f.nx)(b)),n),actionFn:$,close:h,prefixCls:E("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},u||(null==w?void 0:w.okText))))};var x=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let E=r.forwardRef((e,t)=>{var n,o;let{prefixCls:p,placement:d="top",trigger:m="click",okType:f="primary",icon:g=r.createElement(l.Z,null),children:v,overlayClassName:b,onOpenChange:y,onVisibleChange:O}=e,$=x(e,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange"]),{getPrefixCls:E}=r.useContext(s.E_),[w,j]=(0,c.Z)(!1,{value:null!==(n=e.open)&&void 0!==n?n:e.visible,defaultValue:null!==(o=e.defaultOpen)&&void 0!==o?o:e.defaultVisible}),k=(e,t)=>{j(e,!0),null==O||O(e),null==y||y(e,t)},S=E("popconfirm",p),N=a()(S,b),[P]=h(S);return P(r.createElement(u.Z,Object.assign({},(0,i.Z)($,["title"]),{trigger:m,placement:d,onOpenChange:(t,n)=>{let{disabled:r=!1}=e;r||k(t,n)},open:w,ref:t,overlayClassName:N,content:r.createElement(C,Object.assign({okType:f,icon:g},e,{prefixCls:S,close:e=>{k(!1,e)},onConfirm:t=>{var n;return null===(n=e.onConfirm)||void 0===n?void 0:n.call(void 0,t)},onCancel:t=>{var n;k(!1,t),null===(n=e.onCancel)||void 0===n||n.call(void 0,t)}})),"data-popover-inject":!0}),v))});E._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,placement:n,className:l,style:o}=e,c=$(e,["prefixCls","placement","className","style"]),{getPrefixCls:i}=r.useContext(s.E_),u=i("popconfirm",t),[p]=h(u);return p(r.createElement(b.ZP,{placement:n,className:a()(u,l),style:o,content:r.createElement(C,Object.assign({prefixCls:u},c))}))};var w=E},42075:function(e,t,n){n.d(t,{Z:function(){return v}});var r=n(67294),l=n(93967),o=n.n(l),a=n(50344),c=n(98065),i=n(53124),s=n(4173);let u=r.createContext({latestIndex:0}),p=u.Provider;var d=e=>{let{className:t,index:n,children:l,split:o,style:a}=e,{latestIndex:c}=r.useContext(u);return null==l?null:r.createElement(r.Fragment,null,r.createElement("div",{className:t,style:a},l),nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let g=r.forwardRef((e,t)=>{var n,l,s;let{getPrefixCls:u,space:g,direction:v}=r.useContext(i.E_),{size:b=null!==(n=null==g?void 0:g.size)&&void 0!==n?n:"small",align:y,className:O,rootClassName:h,children:$,direction:C="horizontal",prefixCls:x,split:E,style:w,wrap:j=!1,classNames:k,styles:S}=e,N=f(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[P,Z]=Array.isArray(b)?b:[b,b],I=(0,c.n)(Z),z=(0,c.n)(P),T=(0,c.T)(Z),B=(0,c.T)(P),M=(0,a.Z)($,{keepEmpty:!0}),H=void 0===y&&"horizontal"===C?"center":y,R=u("space",x),[D,L,_]=(0,m.Z)(R),A=o()(R,null==g?void 0:g.className,L,`${R}-${C}`,{[`${R}-rtl`]:"rtl"===v,[`${R}-align-${H}`]:H,[`${R}-gap-row-${Z}`]:I,[`${R}-gap-col-${P}`]:z},O,h,_),F=o()(`${R}-item`,null!==(l=null==k?void 0:k.item)&&void 0!==l?l:null===(s=null==g?void 0:g.classNames)||void 0===s?void 0:s.item),V=0,W=M.map((e,t)=>{var n,l;null!=e&&(V=t);let o=(null==e?void 0:e.key)||`${F}-${t}`;return r.createElement(d,{className:F,key:o,index:t,split:E,style:null!==(n=null==S?void 0:S.item)&&void 0!==n?n:null===(l=null==g?void 0:g.styles)||void 0===l?void 0:l.item},e)}),q=r.useMemo(()=>({latestIndex:V}),[V]);if(0===M.length)return null;let G={};return j&&(G.flexWrap="wrap"),!z&&B&&(G.columnGap=P),!I&&T&&(G.rowGap=Z),D(r.createElement("div",Object.assign({ref:t,className:A,style:Object.assign(Object.assign(Object.assign({},G),null==g?void 0:g.style),w)},N),r.createElement(p,{value:q},W)))});g.Compact=s.ZP;var v=g},55054:function(e,t,n){n.d(t,{Z:function(){return x}});var r=n(67294),l=n(57838),o=n(96159),a=n(93967),c=n.n(a),i=n(64217),s=n(53124),u=n(48054),p=e=>{let t;let{value:n,formatter:l,precision:o,decimalSeparator:a,groupSeparator:c="",prefixCls:i}=e;if("function"==typeof l)t=l(n);else{let e=String(n),l=e.match(/^(-?)(\d*)(\.(\d+))?$/);if(l&&"-"!==e){let e=l[1],n=l[2]||"0",s=l[4]||"";n=n.replace(/\B(?=(\d{3})+(?!\d))/g,c),"number"==typeof o&&(s=s.padEnd(o,"0").slice(0,o>0?o:0)),s&&(s=`${a}${s}`),t=[r.createElement("span",{key:"int",className:`${i}-content-value-int`},e,n),s&&r.createElement("span",{key:"decimal",className:`${i}-content-value-decimal`},s)]}else t=e}return r.createElement("span",{className:`${i}-content-value`},t)},d=n(14747),m=n(83559),f=n(83262);let g=e=>{let{componentCls:t,marginXXS:n,padding:r,colorTextDescription:l,titleFontSize:o,colorTextHeading:a,contentFontSize:c,fontFamily:i}=e;return{[t]:Object.assign(Object.assign({},(0,d.Wf)(e)),{[`${t}-title`]:{marginBottom:n,color:l,fontSize:o},[`${t}-skeleton`]:{paddingTop:r},[`${t}-content`]:{color:a,fontSize:c,fontFamily:i,[`${t}-content-value`]:{display:"inline-block",direction:"ltr"},[`${t}-content-prefix, ${t}-content-suffix`]:{display:"inline-block"},[`${t}-content-prefix`]:{marginInlineEnd:n},[`${t}-content-suffix`]:{marginInlineStart:n}}})}};var v=(0,m.I$)("Statistic",e=>{let t=(0,f.IX)(e,{});return[g(t)]},e=>{let{fontSizeHeading3:t,fontSize:n}=e;return{titleFontSize:n,contentFontSize:t}}),b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n},y=e=>{let{prefixCls:t,className:n,rootClassName:l,style:o,valueStyle:a,value:d=0,title:m,valueRender:f,prefix:g,suffix:y,loading:O=!1,formatter:h,precision:$,decimalSeparator:C=".",groupSeparator:x=",",onMouseEnter:E,onMouseLeave:w}=e,j=b(e,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:k,direction:S,statistic:N}=r.useContext(s.E_),P=k("statistic",t),[Z,I,z]=v(P),T=r.createElement(p,{decimalSeparator:C,groupSeparator:x,prefixCls:P,formatter:h,precision:$,value:d}),B=c()(P,{[`${P}-rtl`]:"rtl"===S},null==N?void 0:N.className,n,l,I,z),M=(0,i.Z)(j,{aria:!0,data:!0});return Z(r.createElement("div",Object.assign({},M,{className:B,style:Object.assign(Object.assign({},null==N?void 0:N.style),o),onMouseEnter:E,onMouseLeave:w}),m&&r.createElement("div",{className:`${P}-title`},m),r.createElement(u.Z,{paragraph:!1,loading:O,className:`${P}-skeleton`},r.createElement("div",{style:a,className:`${P}-content`},g&&r.createElement("span",{className:`${P}-content-prefix`},g),f?f(T):T,y&&r.createElement("span",{className:`${P}-content-suffix`},y)))))};let O=[["Y",31536e6],["M",2592e6],["D",864e5],["H",36e5],["m",6e4],["s",1e3],["S",1]];var h=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let $=1e3/30;var C=r.memo(e=>{let{value:t,format:n="HH:mm:ss",onChange:a,onFinish:c}=e,i=h(e,["value","format","onChange","onFinish"]),s=(0,l.Z)(),u=r.useRef(null),p=()=>{null==c||c(),u.current&&(clearInterval(u.current),u.current=null)},d=()=>{let e=new Date(t).getTime();e>=Date.now()&&(u.current=setInterval(()=>{s(),null==a||a(e-Date.now()),e(d(),()=>{u.current&&(clearInterval(u.current),u.current=null)}),[t]),r.createElement(y,Object.assign({},i,{value:t,valueRender:e=>(0,o.Tm)(e,{title:void 0}),formatter:(e,t)=>(function(e,t){let{format:n=""}=t,r=new Date(e).getTime(),l=Date.now();return function(e,t){let n=e,r=/\[[^\]]*]/g,l=(t.match(r)||[]).map(e=>e.slice(1,-1)),o=t.replace(r,"[]"),a=O.reduce((e,t)=>{let[r,l]=t;if(e.includes(r)){let t=Math.floor(n/l);return n-=t*l,e.replace(RegExp(`${r}+`,"g"),e=>{let n=e.length;return t.toString().padStart(n,"0")})}return e},o),c=0;return a.replace(r,()=>{let e=l[c];return c+=1,e})}(Math.max(r-l,0),n)})(e,Object.assign(Object.assign({},t),{format:n}))}))});y.Countdown=C;var x=y},49867:function(e,t,n){n.d(t,{N:function(){return r}});let r=e=>({color:e.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}})},66309:function(e,t,n){n.d(t,{Z:function(){return P}});var r=n(67294),l=n(93967),o=n.n(l),a=n(98423),c=n(98787),i=n(69760),s=n(96159),u=n(45353),p=n(53124),d=n(25446),m=n(10274),f=n(14747),g=n(83262),v=n(83559);let b=e=>{let{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:l,calc:o}=e,a=o(r).sub(n).equal(),c=o(t).sub(n).equal();return{[l]:Object.assign(Object.assign({},(0,f.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:a,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,d.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${l}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${l}-close-icon`]:{marginInlineStart:c,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${l}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${l}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:a}}),[`${l}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},y=e=>{let{lineWidth:t,fontSizeIcon:n,calc:r}=e,l=e.fontSizeSM,o=(0,g.IX)(e,{tagFontSize:l,tagLineHeight:(0,d.bf)(r(e.lineHeightSM).mul(l).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return o},O=e=>({defaultBg:new m.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var h=(0,v.I$)("Tag",e=>{let t=y(e);return b(t)},O),$=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let C=r.forwardRef((e,t)=>{let{prefixCls:n,style:l,className:a,checked:c,onChange:i,onClick:s}=e,u=$(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:d,tag:m}=r.useContext(p.E_),f=d("tag",n),[g,v,b]=h(f),y=o()(f,`${f}-checkable`,{[`${f}-checkable-checked`]:c},null==m?void 0:m.className,a,v,b);return g(r.createElement("span",Object.assign({},u,{ref:t,style:Object.assign(Object.assign({},l),null==m?void 0:m.style),className:y,onClick:e=>{null==i||i(!c),null==s||s(e)}})))});var x=n(98719);let E=e=>(0,x.Z)(e,(t,n)=>{let{textColor:r,lightBorderColor:l,lightColor:o,darkColor:a}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:o,borderColor:l,"&-inverse":{color:e.colorTextLightSolid,background:a,borderColor:a},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var w=(0,v.bk)(["Tag","preset"],e=>{let t=y(e);return E(t)},O);let j=(e,t,n)=>{let r=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var k=(0,v.bk)(["Tag","status"],e=>{let t=y(e);return[j(t,"success","Success"),j(t,"processing","Info"),j(t,"error","Error"),j(t,"warning","Warning")]},O),S=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let N=r.forwardRef((e,t)=>{let{prefixCls:n,className:l,rootClassName:d,style:m,children:f,icon:g,color:v,onClose:b,bordered:y=!0,visible:O}=e,$=S(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:C,direction:x,tag:E}=r.useContext(p.E_),[j,N]=r.useState(!0),P=(0,a.Z)($,["closeIcon","closable"]);r.useEffect(()=>{void 0!==O&&N(O)},[O]);let Z=(0,c.o2)(v),I=(0,c.yT)(v),z=Z||I,T=Object.assign(Object.assign({backgroundColor:v&&!z?v:void 0},null==E?void 0:E.style),m),B=C("tag",n),[M,H,R]=h(B),D=o()(B,null==E?void 0:E.className,{[`${B}-${v}`]:z,[`${B}-has-color`]:v&&!z,[`${B}-hidden`]:!j,[`${B}-rtl`]:"rtl"===x,[`${B}-borderless`]:!y},l,d,H,R),L=e=>{e.stopPropagation(),null==b||b(e),e.defaultPrevented||N(!1)},[,_]=(0,i.Z)((0,i.w)(e),(0,i.w)(E),{closable:!1,closeIconRender:e=>{let t=r.createElement("span",{className:`${B}-close-icon`,onClick:L},e);return(0,s.wm)(e,t,e=>({onClick:t=>{var n;null===(n=null==e?void 0:e.onClick)||void 0===n||n.call(e,t),L(t)},className:o()(null==e?void 0:e.className,`${B}-close-icon`)}))}}),A="function"==typeof $.onClick||f&&"a"===f.type,F=g||null,V=F?r.createElement(r.Fragment,null,F,f&&r.createElement("span",null,f)):f,W=r.createElement("span",Object.assign({},P,{ref:t,className:D,style:T}),V,_,Z&&r.createElement(w,{key:"preset",prefixCls:B}),I&&r.createElement(k,{key:"status",prefixCls:B}));return M(A?r.createElement(u.Z,{component:"Tag"},W):W)});N.CheckableTag=C;var P=N},79370:function(e,t,n){n.d(t,{G:function(){return a}});var r=n(98924),l=function(e){if((0,r.Z)()&&window.document.documentElement){var t=Array.isArray(e)?e:[e],n=window.document.documentElement;return t.some(function(e){return e in n.style})}return!1},o=function(e,t){if(!l(e))return!1;var n=document.createElement("div"),r=n.style[e];return n.style[e]=t,n.style[e]!==r};function a(e,t){return Array.isArray(e)||void 0===t?l(e):o(e,t)}},36459:function(e,t,n){n.d(t,{Z:function(){return r}});function r(e){if(null==e)throw TypeError("Cannot destructure "+e)}}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5653],{45605:function(e,t,n){n.d(t,{Z:function(){return c}});var r=n(87462),l=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"},a=n(13401),c=l.forwardRef(function(e,t){return l.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},6171:function(e,t,n){n.d(t,{Z:function(){return c}});var r=n(87462),l=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},a=n(13401),c=l.forwardRef(function(e,t){return l.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},88484:function(e,t,n){n.d(t,{Z:function(){return c}});var r=n(87462),l=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},a=n(13401),c=l.forwardRef(function(e,t){return l.createElement(a.Z,(0,r.Z)({},e,{ref:t,icon:o}))})},98065:function(e,t,n){function r(e){return["small","middle","large"].includes(e)}function l(e){return!!e&&"number"==typeof e&&!Number.isNaN(e)}n.d(t,{T:function(){return l},n:function(){return r}})},86738:function(e,t,n){n.d(t,{Z:function(){return w}});var r=n(67294),l=n(21640),o=n(93967),a=n.n(o),c=n(21770),i=n(98423),s=n(53124),u=n(55241),p=n(86743),d=n(81643),m=n(14726),f=n(33671),g=n(10110),v=n(24457),b=n(66330),y=n(83559);let O=e=>{let{componentCls:t,iconCls:n,antCls:r,zIndexPopup:l,colorText:o,colorWarning:a,marginXXS:c,marginXS:i,fontSize:s,fontWeightStrong:u,colorTextHeading:p}=e;return{[t]:{zIndex:l,[`&${r}-popover`]:{fontSize:s},[`${t}-message`]:{marginBottom:i,display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${t}-message-icon ${n}`]:{color:a,fontSize:s,lineHeight:1,marginInlineEnd:i},[`${t}-title`]:{fontWeight:u,color:p,"&:only-child":{fontWeight:"normal"}},[`${t}-description`]:{marginTop:c,color:o}},[`${t}-buttons`]:{textAlign:"end",whiteSpace:"nowrap",button:{marginInlineStart:i}}}}};var h=(0,y.I$)("Popconfirm",e=>O(e),e=>{let{zIndexPopupBase:t}=e;return{zIndexPopup:t+60}},{resetStyle:!1}),$=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let C=e=>{let{prefixCls:t,okButtonProps:n,cancelButtonProps:o,title:a,description:c,cancelText:i,okText:u,okType:b="primary",icon:y=r.createElement(l.Z,null),showCancel:O=!0,close:h,onConfirm:$,onCancel:C,onPopupClick:x}=e,{getPrefixCls:E}=r.useContext(s.E_),[w]=(0,g.Z)("Popconfirm",v.Z.Popconfirm),j=(0,d.Z)(a),k=(0,d.Z)(c);return r.createElement("div",{className:`${t}-inner-content`,onClick:x},r.createElement("div",{className:`${t}-message`},y&&r.createElement("span",{className:`${t}-message-icon`},y),r.createElement("div",{className:`${t}-message-text`},j&&r.createElement("div",{className:`${t}-title`},j),k&&r.createElement("div",{className:`${t}-description`},k))),r.createElement("div",{className:`${t}-buttons`},O&&r.createElement(m.ZP,Object.assign({onClick:C,size:"small"},o),i||(null==w?void 0:w.cancelText)),r.createElement(p.Z,{buttonProps:Object.assign(Object.assign({size:"small"},(0,f.nx)(b)),n),actionFn:$,close:h,prefixCls:E("btn"),quitOnNullishReturnValue:!0,emitEvent:!0},u||(null==w?void 0:w.okText))))};var x=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let E=r.forwardRef((e,t)=>{var n,o;let{prefixCls:p,placement:d="top",trigger:m="click",okType:f="primary",icon:g=r.createElement(l.Z,null),children:v,overlayClassName:b,onOpenChange:y,onVisibleChange:O}=e,$=x(e,["prefixCls","placement","trigger","okType","icon","children","overlayClassName","onOpenChange","onVisibleChange"]),{getPrefixCls:E}=r.useContext(s.E_),[w,j]=(0,c.Z)(!1,{value:null!==(n=e.open)&&void 0!==n?n:e.visible,defaultValue:null!==(o=e.defaultOpen)&&void 0!==o?o:e.defaultVisible}),k=(e,t)=>{j(e,!0),null==O||O(e),null==y||y(e,t)},S=E("popconfirm",p),N=a()(S,b),[P]=h(S);return P(r.createElement(u.Z,Object.assign({},(0,i.Z)($,["title"]),{trigger:m,placement:d,onOpenChange:(t,n)=>{let{disabled:r=!1}=e;r||k(t,n)},open:w,ref:t,overlayClassName:N,content:r.createElement(C,Object.assign({okType:f,icon:g},e,{prefixCls:S,close:e=>{k(!1,e)},onConfirm:t=>{var n;return null===(n=e.onConfirm)||void 0===n?void 0:n.call(void 0,t)},onCancel:t=>{var n;k(!1,t),null===(n=e.onCancel)||void 0===n||n.call(void 0,t)}})),"data-popover-inject":!0}),v))});E._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,placement:n,className:l,style:o}=e,c=$(e,["prefixCls","placement","className","style"]),{getPrefixCls:i}=r.useContext(s.E_),u=i("popconfirm",t),[p]=h(u);return p(r.createElement(b.ZP,{placement:n,className:a()(u,l),style:o,content:r.createElement(C,Object.assign({prefixCls:u},c))}))};var w=E},42075:function(e,t,n){n.d(t,{Z:function(){return v}});var r=n(67294),l=n(93967),o=n.n(l),a=n(50344),c=n(98065),i=n(53124),s=n(4173);let u=r.createContext({latestIndex:0}),p=u.Provider;var d=e=>{let{className:t,index:n,children:l,split:o,style:a}=e,{latestIndex:c}=r.useContext(u);return null==l?null:r.createElement(r.Fragment,null,r.createElement("div",{className:t,style:a},l),nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let g=r.forwardRef((e,t)=>{var n,l,s;let{getPrefixCls:u,space:g,direction:v}=r.useContext(i.E_),{size:b=null!==(n=null==g?void 0:g.size)&&void 0!==n?n:"small",align:y,className:O,rootClassName:h,children:$,direction:C="horizontal",prefixCls:x,split:E,style:w,wrap:j=!1,classNames:k,styles:S}=e,N=f(e,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[P,Z]=Array.isArray(b)?b:[b,b],I=(0,c.n)(Z),z=(0,c.n)(P),T=(0,c.T)(Z),B=(0,c.T)(P),M=(0,a.Z)($,{keepEmpty:!0}),H=void 0===y&&"horizontal"===C?"center":y,R=u("space",x),[D,L,_]=(0,m.Z)(R),A=o()(R,null==g?void 0:g.className,L,`${R}-${C}`,{[`${R}-rtl`]:"rtl"===v,[`${R}-align-${H}`]:H,[`${R}-gap-row-${Z}`]:I,[`${R}-gap-col-${P}`]:z},O,h,_),F=o()(`${R}-item`,null!==(l=null==k?void 0:k.item)&&void 0!==l?l:null===(s=null==g?void 0:g.classNames)||void 0===s?void 0:s.item),V=0,W=M.map((e,t)=>{var n,l;null!=e&&(V=t);let o=(null==e?void 0:e.key)||`${F}-${t}`;return r.createElement(d,{className:F,key:o,index:t,split:E,style:null!==(n=null==S?void 0:S.item)&&void 0!==n?n:null===(l=null==g?void 0:g.styles)||void 0===l?void 0:l.item},e)}),q=r.useMemo(()=>({latestIndex:V}),[V]);if(0===M.length)return null;let G={};return j&&(G.flexWrap="wrap"),!z&&B&&(G.columnGap=P),!I&&T&&(G.rowGap=Z),D(r.createElement("div",Object.assign({ref:t,className:A,style:Object.assign(Object.assign(Object.assign({},G),null==g?void 0:g.style),w)},N),r.createElement(p,{value:q},W)))});g.Compact=s.ZP;var v=g},57913:function(e,t,n){n.d(t,{Z:function(){return x}});var r=n(67294),l=n(57838),o=n(96159),a=n(93967),c=n.n(a),i=n(64217),s=n(53124),u=n(48054),p=e=>{let t;let{value:n,formatter:l,precision:o,decimalSeparator:a,groupSeparator:c="",prefixCls:i}=e;if("function"==typeof l)t=l(n);else{let e=String(n),l=e.match(/^(-?)(\d*)(\.(\d+))?$/);if(l&&"-"!==e){let e=l[1],n=l[2]||"0",s=l[4]||"";n=n.replace(/\B(?=(\d{3})+(?!\d))/g,c),"number"==typeof o&&(s=s.padEnd(o,"0").slice(0,o>0?o:0)),s&&(s=`${a}${s}`),t=[r.createElement("span",{key:"int",className:`${i}-content-value-int`},e,n),s&&r.createElement("span",{key:"decimal",className:`${i}-content-value-decimal`},s)]}else t=e}return r.createElement("span",{className:`${i}-content-value`},t)},d=n(14747),m=n(83559),f=n(83262);let g=e=>{let{componentCls:t,marginXXS:n,padding:r,colorTextDescription:l,titleFontSize:o,colorTextHeading:a,contentFontSize:c,fontFamily:i}=e;return{[t]:Object.assign(Object.assign({},(0,d.Wf)(e)),{[`${t}-title`]:{marginBottom:n,color:l,fontSize:o},[`${t}-skeleton`]:{paddingTop:r},[`${t}-content`]:{color:a,fontSize:c,fontFamily:i,[`${t}-content-value`]:{display:"inline-block",direction:"ltr"},[`${t}-content-prefix, ${t}-content-suffix`]:{display:"inline-block"},[`${t}-content-prefix`]:{marginInlineEnd:n},[`${t}-content-suffix`]:{marginInlineStart:n}}})}};var v=(0,m.I$)("Statistic",e=>{let t=(0,f.IX)(e,{});return[g(t)]},e=>{let{fontSizeHeading3:t,fontSize:n}=e;return{titleFontSize:n,contentFontSize:t}}),b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n},y=e=>{let{prefixCls:t,className:n,rootClassName:l,style:o,valueStyle:a,value:d=0,title:m,valueRender:f,prefix:g,suffix:y,loading:O=!1,formatter:h,precision:$,decimalSeparator:C=".",groupSeparator:x=",",onMouseEnter:E,onMouseLeave:w}=e,j=b(e,["prefixCls","className","rootClassName","style","valueStyle","value","title","valueRender","prefix","suffix","loading","formatter","precision","decimalSeparator","groupSeparator","onMouseEnter","onMouseLeave"]),{getPrefixCls:k,direction:S,statistic:N}=r.useContext(s.E_),P=k("statistic",t),[Z,I,z]=v(P),T=r.createElement(p,{decimalSeparator:C,groupSeparator:x,prefixCls:P,formatter:h,precision:$,value:d}),B=c()(P,{[`${P}-rtl`]:"rtl"===S},null==N?void 0:N.className,n,l,I,z),M=(0,i.Z)(j,{aria:!0,data:!0});return Z(r.createElement("div",Object.assign({},M,{className:B,style:Object.assign(Object.assign({},null==N?void 0:N.style),o),onMouseEnter:E,onMouseLeave:w}),m&&r.createElement("div",{className:`${P}-title`},m),r.createElement(u.Z,{paragraph:!1,loading:O,className:`${P}-skeleton`},r.createElement("div",{style:a,className:`${P}-content`},g&&r.createElement("span",{className:`${P}-content-prefix`},g),f?f(T):T,y&&r.createElement("span",{className:`${P}-content-suffix`},y)))))};let O=[["Y",31536e6],["M",2592e6],["D",864e5],["H",36e5],["m",6e4],["s",1e3],["S",1]];var h=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let $=1e3/30;var C=r.memo(e=>{let{value:t,format:n="HH:mm:ss",onChange:a,onFinish:c}=e,i=h(e,["value","format","onChange","onFinish"]),s=(0,l.Z)(),u=r.useRef(null),p=()=>{null==c||c(),u.current&&(clearInterval(u.current),u.current=null)},d=()=>{let e=new Date(t).getTime();e>=Date.now()&&(u.current=setInterval(()=>{s(),null==a||a(e-Date.now()),e(d(),()=>{u.current&&(clearInterval(u.current),u.current=null)}),[t]),r.createElement(y,Object.assign({},i,{value:t,valueRender:e=>(0,o.Tm)(e,{title:void 0}),formatter:(e,t)=>(function(e,t){let{format:n=""}=t,r=new Date(e).getTime(),l=Date.now();return function(e,t){let n=e,r=/\[[^\]]*]/g,l=(t.match(r)||[]).map(e=>e.slice(1,-1)),o=t.replace(r,"[]"),a=O.reduce((e,t)=>{let[r,l]=t;if(e.includes(r)){let t=Math.floor(n/l);return n-=t*l,e.replace(RegExp(`${r}+`,"g"),e=>{let n=e.length;return t.toString().padStart(n,"0")})}return e},o),c=0;return a.replace(r,()=>{let e=l[c];return c+=1,e})}(Math.max(r-l,0),n)})(e,Object.assign(Object.assign({},t),{format:n}))}))});y.Countdown=C;var x=y},49867:function(e,t,n){n.d(t,{N:function(){return r}});let r=e=>({color:e.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"&:focus, &:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive}})},66309:function(e,t,n){n.d(t,{Z:function(){return P}});var r=n(67294),l=n(93967),o=n.n(l),a=n(98423),c=n(98787),i=n(69760),s=n(96159),u=n(45353),p=n(53124),d=n(25446),m=n(10274),f=n(14747),g=n(83262),v=n(83559);let b=e=>{let{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:l,calc:o}=e,a=o(r).sub(n).equal(),c=o(t).sub(n).equal();return{[l]:Object.assign(Object.assign({},(0,f.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:a,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,d.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${l}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${l}-close-icon`]:{marginInlineStart:c,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${l}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${l}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:a}}),[`${l}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},y=e=>{let{lineWidth:t,fontSizeIcon:n,calc:r}=e,l=e.fontSizeSM,o=(0,g.IX)(e,{tagFontSize:l,tagLineHeight:(0,d.bf)(r(e.lineHeightSM).mul(l).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return o},O=e=>({defaultBg:new m.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var h=(0,v.I$)("Tag",e=>{let t=y(e);return b(t)},O),$=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let C=r.forwardRef((e,t)=>{let{prefixCls:n,style:l,className:a,checked:c,onChange:i,onClick:s}=e,u=$(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:d,tag:m}=r.useContext(p.E_),f=d("tag",n),[g,v,b]=h(f),y=o()(f,`${f}-checkable`,{[`${f}-checkable-checked`]:c},null==m?void 0:m.className,a,v,b);return g(r.createElement("span",Object.assign({},u,{ref:t,style:Object.assign(Object.assign({},l),null==m?void 0:m.style),className:y,onClick:e=>{null==i||i(!c),null==s||s(e)}})))});var x=n(98719);let E=e=>(0,x.Z)(e,(t,n)=>{let{textColor:r,lightBorderColor:l,lightColor:o,darkColor:a}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:o,borderColor:l,"&-inverse":{color:e.colorTextLightSolid,background:a,borderColor:a},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var w=(0,v.bk)(["Tag","preset"],e=>{let t=y(e);return E(t)},O);let j=(e,t,n)=>{let r=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var k=(0,v.bk)(["Tag","status"],e=>{let t=y(e);return[j(t,"success","Success"),j(t,"processing","Info"),j(t,"error","Error"),j(t,"warning","Warning")]},O),S=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var l=0,r=Object.getOwnPropertySymbols(e);lt.indexOf(r[l])&&Object.prototype.propertyIsEnumerable.call(e,r[l])&&(n[r[l]]=e[r[l]]);return n};let N=r.forwardRef((e,t)=>{let{prefixCls:n,className:l,rootClassName:d,style:m,children:f,icon:g,color:v,onClose:b,bordered:y=!0,visible:O}=e,$=S(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:C,direction:x,tag:E}=r.useContext(p.E_),[j,N]=r.useState(!0),P=(0,a.Z)($,["closeIcon","closable"]);r.useEffect(()=>{void 0!==O&&N(O)},[O]);let Z=(0,c.o2)(v),I=(0,c.yT)(v),z=Z||I,T=Object.assign(Object.assign({backgroundColor:v&&!z?v:void 0},null==E?void 0:E.style),m),B=C("tag",n),[M,H,R]=h(B),D=o()(B,null==E?void 0:E.className,{[`${B}-${v}`]:z,[`${B}-has-color`]:v&&!z,[`${B}-hidden`]:!j,[`${B}-rtl`]:"rtl"===x,[`${B}-borderless`]:!y},l,d,H,R),L=e=>{e.stopPropagation(),null==b||b(e),e.defaultPrevented||N(!1)},[,_]=(0,i.Z)((0,i.w)(e),(0,i.w)(E),{closable:!1,closeIconRender:e=>{let t=r.createElement("span",{className:`${B}-close-icon`,onClick:L},e);return(0,s.wm)(e,t,e=>({onClick:t=>{var n;null===(n=null==e?void 0:e.onClick)||void 0===n||n.call(e,t),L(t)},className:o()(null==e?void 0:e.className,`${B}-close-icon`)}))}}),A="function"==typeof $.onClick||f&&"a"===f.type,F=g||null,V=F?r.createElement(r.Fragment,null,F,f&&r.createElement("span",null,f)):f,W=r.createElement("span",Object.assign({},P,{ref:t,className:D,style:T}),V,_,Z&&r.createElement(w,{key:"preset",prefixCls:B}),I&&r.createElement(k,{key:"status",prefixCls:B}));return M(A?r.createElement(u.Z,{component:"Tag"},W):W)});N.CheckableTag=C;var P=N},79370:function(e,t,n){n.d(t,{G:function(){return a}});var r=n(98924),l=function(e){if((0,r.Z)()&&window.document.documentElement){var t=Array.isArray(e)?e:[e],n=window.document.documentElement;return t.some(function(e){return e in n.style})}return!1},o=function(e,t){if(!l(e))return!1;var n=document.createElement("div"),r=n.style[e];return n.style[e]=t,n.style[e]!==r};function a(e,t){return Array.isArray(e)||void 0===t?l(e):o(e,t)}},36459:function(e,t,n){n.d(t,{Z:function(){return r}});function r(e){if(null==e)throw TypeError("Cannot destructure "+e)}}}]); \ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/5789-f9781f2a8d365444.js b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/5789-9438e4ced8168bb8.js similarity index 100% rename from packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/5789-f9781f2a8d365444.js rename to packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/5789-9438e4ced8168bb8.js diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/6818.52f4bee4d956512a.js b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/6818.52f4bee4d956512a.js new file mode 100644 index 000000000..720215b42 --- /dev/null +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/6818.52f4bee4d956512a.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6818],{15381:function(e,a,t){t.d(a,{Z:function(){return r}});var l=t(87462),s=t(67294),n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h129.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM184 456V172h81v284h-81zm627.2 160.4H496.8l9.6 198.4c.6 11.9-4.7 23.1-14.6 30.5-6.1 4.5-13.6 6.8-21.1 6.7a44.28 44.28 0 01-42.2-32.3L329 459.2V172h415.4a56.85 56.85 0 0133.6 51.8c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-14 25.5 21.9 19a56.76 56.76 0 0119.6 43c0 19.1-11 37.5-28.8 48.4z"}}]},name:"dislike",theme:"outlined"},c=t(13401),r=s.forwardRef(function(e,a){return s.createElement(c.Z,(0,l.Z)({},e,{ref:a,icon:n}))})},65429:function(e,a,t){t.d(a,{Z:function(){return r}});var l=t(87462),s=t(67294),n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},c=t(13401),r=s.forwardRef(function(e,a){return s.createElement(c.Z,(0,l.Z)({},e,{ref:a,icon:n}))})},7332:function(e,a,t){t.r(a);var l=t(85893),s=t(39718),n=t(18102),c=t(96074),r=t(93967),i=t.n(r),o=t(67294),u=t(73913),d=t(32966);a.default=(0,o.memo)(e=>{let{message:a,index:t}=e,{scene:r}=(0,o.useContext)(u.MobileChatContext),{context:x,model_name:m,role:f,thinking:p}=a,h=(0,o.useMemo)(()=>"view"===f,[f]),v=(0,o.useRef)(null),{value:g}=(0,o.useMemo)(()=>{if("string"!=typeof x)return{relations:[],value:"",cachePluginContext:[]};let[e,a]=x.split(" relations:"),t=a?a.split(","):[],l=[],s=0,n=e.replace(/]*>[^<]*<\/dbgpt-view>/gi,e=>{try{var a;let t=e.replaceAll("\n","\\n").replace(/<[^>]*>|<\/[^>]*>/gm,""),n=JSON.parse(t),c="".concat(s,"");return l.push({...n,result:w(null!==(a=n.result)&&void 0!==a?a:"")}),s++,c}catch(a){return console.log(a.message,a),e}});return{relations:t,cachePluginContext:l,value:n}},[x]),w=e=>e.replace(/]+)>/gi,"
").replace(/]+)>/gi,"");return(0,l.jsxs)("div",{className:i()("flex w-full",{"justify-end":!h}),ref:v,children:[!h&&(0,l.jsx)("div",{className:"flex bg-[#0C75FC] text-white p-3 rounded-xl rounded-br-none",children:x}),h&&(0,l.jsxs)("div",{className:"flex max-w-full flex-col flex-wrap bg-white dark:bg-[rgba(255,255,255,0.16)] p-3 rounded-xl rounded-bl-none",children:["string"==typeof x&&"chat_agent"===r&&(0,l.jsx)(n.default,{children:null==g?void 0:g.replace(/]+)>/gi,"
").replace(/]+)>/gi,"")}),"string"==typeof x&&"chat_agent"!==r&&(0,l.jsx)(n.default,{children:w(g)}),p&&!x&&(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)("span",{className:"flex text-sm text-[#1c2533] dark:text-white",children:"思考中"}),(0,l.jsxs)("div",{className:"flex",children:[(0,l.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse1"}),(0,l.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse2"}),(0,l.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse3"})]})]}),!p&&(0,l.jsx)(c.Z,{className:"my-2"}),(0,l.jsxs)("div",{className:i()("opacity-0 h-0 w-0",{"opacity-100 flex items-center justify-between gap-6 w-auto h-auto":!p}),children:[(0,l.jsx)(d.default,{content:a,index:t,chatDialogRef:v}),"chat_agent"!==r&&(0,l.jsxs)("div",{className:"flex gap-1 items-center",children:[(0,l.jsx)(s.Z,{width:14,height:14,model:m}),(0,l.jsx)("span",{className:"text-xs text-gray-500",children:m})]})]})]})]})})},36818:function(e,a,t){t.r(a);var l=t(85893),s=t(67294),n=t(73913),c=t(7332);a.default=(0,s.memo)(()=>{let{history:e}=(0,s.useContext)(n.MobileChatContext),a=(0,s.useMemo)(()=>e.filter(e=>["view","human"].includes(e.role)),[e]);return(0,l.jsx)("div",{className:"flex flex-col gap-4",children:!!a.length&&a.map((e,a)=>(0,l.jsx)(c.default,{message:e,index:a},e.context+a))})})},5583:function(e,a,t){t.r(a);var l=t(85893),s=t(85265),n=t(66309),c=t(25278),r=t(14726),i=t(67294);a.default=e=>{let{open:a,setFeedbackOpen:t,list:o,feedback:u,loading:d}=e,[x,m]=(0,i.useState)([]),[f,p]=(0,i.useState)("");return(0,l.jsx)(s.Z,{title:"你的反馈助我进步",placement:"bottom",open:a,onClose:()=>t(!1),destroyOnClose:!0,height:"auto",children:(0,l.jsxs)("div",{className:"flex flex-col w-full gap-4",children:[(0,l.jsx)("div",{className:"flex w-full flex-wrap gap-2",children:null==o?void 0:o.map(e=>{let a=x.findIndex(a=>a.reason_type===e.reason_type)>-1;return(0,l.jsx)(n.Z,{className:"text-sm text-[#525964] p-1 px-2 rounded-md cursor-pointer ".concat(a?"border-[#0c75fc] text-[#0c75fc]":""),onClick:()=>{m(a=>{let t=a.findIndex(a=>a.reason_type===e.reason_type);return t>-1?[...a.slice(0,t),...a.slice(t+1)]:[...a,e]})},children:e.reason},e.reason_type)})}),(0,l.jsx)(c.default.TextArea,{placeholder:"描述一下具体问题或更优的答案",className:"h-24 resize-none mb-2",value:f,onChange:e=>p(e.target.value.trim())}),(0,l.jsxs)("div",{className:"flex gap-2 justify-end",children:[(0,l.jsx)(r.ZP,{className:"w-16 h-8",onClick:()=>{t(!1)},children:"取消"}),(0,l.jsx)(r.ZP,{type:"primary",className:"min-w-16 h-8",onClick:async()=>{let e=x.map(e=>e.reason_type);await (null==u?void 0:u({feedback_type:"unlike",reason_types:e,remark:f}))},loading:d,children:"确认"})]})]})})}},32966:function(e,a,t){t.r(a);var l=t(85893),s=t(76212),n=t(65429),c=t(15381),r=t(57132),i=t(65654),o=t(31418),u=t(96074),d=t(14726),x=t(93967),m=t.n(x),f=t(20640),p=t.n(f),h=t(67294),v=t(73913),g=t(5583);a.default=e=>{var a;let{content:t,index:x,chatDialogRef:f}=e,{conv_uid:w,history:j,scene:y}=(0,h.useContext)(v.MobileChatContext),{message:b}=o.Z.useApp(),[k,C]=(0,h.useState)(!1),[N,_]=(0,h.useState)(null==t?void 0:null===(a=t.feedback)||void 0===a?void 0:a.feedback_type),[Z,M]=(0,h.useState)([]),S=async e=>{var a;let t=null==e?void 0:e.replace(/\trelations:.*/g,""),l=p()((null===(a=f.current)||void 0===a?void 0:a.textContent)||t);l?t?b.success("复制成功"):b.warning("内容复制为空"):b.error("复制失败")},{run:z,loading:V}=(0,i.Z)(async e=>await (0,s.Vx)((0,s.zx)({conv_uid:w,message_id:t.order+"",feedback_type:e.feedback_type,reason_types:e.reason_types,remark:e.remark})),{manual:!0,onSuccess:e=>{let[,a]=e;_(null==a?void 0:a.feedback_type),b.success("反馈成功"),C(!1)}}),{run:H}=(0,i.Z)(async()=>await (0,s.Vx)((0,s.Ir)({conv_uid:w,message_id:(null==t?void 0:t.order)+""})),{manual:!0,onSuccess:e=>{let[,a]=e;a&&(_("none"),b.success("操作成功"))}}),{run:A}=(0,i.Z)(async()=>await (0,s.Vx)((0,s.Jr)()),{manual:!0,onSuccess:e=>{let[,a]=e;M(a||[]),a&&C(!0)}}),{run:E,loading:F}=(0,i.Z)(async()=>await (0,s.Vx)((0,s.Ty)({conv_id:w,round_index:0})),{manual:!0,onSuccess:()=>{b.success("操作成功")}});return(0,l.jsxs)("div",{className:"flex items-center text-sm",children:[(0,l.jsxs)("div",{className:"flex gap-3",children:[(0,l.jsx)(n.Z,{className:m()("cursor-pointer",{"text-[#0C75FC]":"like"===N}),onClick:async()=>{if("like"===N){await H();return}await z({feedback_type:"like"})}}),(0,l.jsx)(c.Z,{className:m()("cursor-pointer",{"text-[#0C75FC]":"unlike"===N}),onClick:async()=>{if("unlike"===N){await H();return}await A()}}),(0,l.jsx)(g.default,{open:k,setFeedbackOpen:C,list:Z,feedback:z,loading:V})]}),(0,l.jsx)(u.Z,{type:"vertical"}),(0,l.jsxs)("div",{className:"flex items-center gap-3",children:[(0,l.jsx)(r.Z,{className:"cursor-pointer",onClick:()=>S(t.context)}),j.length-1===x&&"chat_agent"===y&&(0,l.jsx)(d.ZP,{loading:F,size:"small",onClick:async()=>{await E()},className:"text-xs",children:"终止话题"})]})]})}}}]); \ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/6818.629e5d3f1163878f.js b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/6818.629e5d3f1163878f.js deleted file mode 100644 index 2cea01eec..000000000 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/6818.629e5d3f1163878f.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6818],{15381:function(e,a,t){t.d(a,{Z:function(){return r}});var l=t(87462),s=t(67294),n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h129.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM184 456V172h81v284h-81zm627.2 160.4H496.8l9.6 198.4c.6 11.9-4.7 23.1-14.6 30.5-6.1 4.5-13.6 6.8-21.1 6.7a44.28 44.28 0 01-42.2-32.3L329 459.2V172h415.4a56.85 56.85 0 0133.6 51.8c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-14 25.5 21.9 19a56.76 56.76 0 0119.6 43c0 19.1-11 37.5-28.8 48.4z"}}]},name:"dislike",theme:"outlined"},c=t(13401),r=s.forwardRef(function(e,a){return s.createElement(c.Z,(0,l.Z)({},e,{ref:a,icon:n}))})},65429:function(e,a,t){t.d(a,{Z:function(){return r}});var l=t(87462),s=t(67294),n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},c=t(13401),r=s.forwardRef(function(e,a){return s.createElement(c.Z,(0,l.Z)({},e,{ref:a,icon:n}))})},7332:function(e,a,t){t.r(a);var l=t(85893),s=t(39718),n=t(18102),c=t(96074),r=t(93967),i=t.n(r),o=t(67294),u=t(73913),d=t(32966);a.default=(0,o.memo)(e=>{let{message:a,index:t}=e,{scene:r}=(0,o.useContext)(u.MobileChatContext),{context:x,model_name:m,role:f,thinking:p}=a,h=(0,o.useMemo)(()=>"view"===f,[f]),v=(0,o.useRef)(null),{value:g}=(0,o.useMemo)(()=>{if("string"!=typeof x)return{relations:[],value:"",cachePluginContext:[]};let[e,a]=x.split(" relations:"),t=a?a.split(","):[],l=[],s=0,n=e.replace(/]*>[^<]*<\/dbgpt-view>/gi,e=>{try{var a;let t=e.replaceAll("\n","\\n").replace(/<[^>]*>|<\/[^>]*>/gm,""),n=JSON.parse(t),c="".concat(s,"");return l.push({...n,result:w(null!==(a=n.result)&&void 0!==a?a:"")}),s++,c}catch(a){return console.log(a.message,a),e}});return{relations:t,cachePluginContext:l,value:n}},[x]),w=e=>e.replaceAll("\\n","\n").replace(/]+)>/gi,"
").replace(/]+)>/gi,"");return(0,l.jsxs)("div",{className:i()("flex w-full",{"justify-end":!h}),ref:v,children:[!h&&(0,l.jsx)("div",{className:"flex bg-[#0C75FC] text-white p-3 rounded-xl rounded-br-none",children:x}),h&&(0,l.jsxs)("div",{className:"flex max-w-full flex-col flex-wrap bg-white dark:bg-[rgba(255,255,255,0.16)] p-3 rounded-xl rounded-bl-none",children:["string"==typeof x&&"chat_agent"===r&&(0,l.jsx)(n.default,{children:null==g?void 0:g.replace(/]+)>/gi,"
").replace(/]+)>/gi,"")}),"string"==typeof x&&"chat_agent"!==r&&(0,l.jsx)(n.default,{children:w(g)}),p&&!x&&(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)("span",{className:"flex text-sm text-[#1c2533] dark:text-white",children:"思考中"}),(0,l.jsxs)("div",{className:"flex",children:[(0,l.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse1"}),(0,l.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse2"}),(0,l.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse3"})]})]}),!p&&(0,l.jsx)(c.Z,{className:"my-2"}),(0,l.jsxs)("div",{className:i()("opacity-0 h-0 w-0",{"opacity-100 flex items-center justify-between gap-6 w-auto h-auto":!p}),children:[(0,l.jsx)(d.default,{content:a,index:t,chatDialogRef:v}),"chat_agent"!==r&&(0,l.jsxs)("div",{className:"flex gap-1 items-center",children:[(0,l.jsx)(s.Z,{width:14,height:14,model:m}),(0,l.jsx)("span",{className:"text-xs text-gray-500",children:m})]})]})]})]})})},36818:function(e,a,t){t.r(a);var l=t(85893),s=t(67294),n=t(73913),c=t(7332);a.default=(0,s.memo)(()=>{let{history:e}=(0,s.useContext)(n.MobileChatContext),a=(0,s.useMemo)(()=>e.filter(e=>["view","human"].includes(e.role)),[e]);return(0,l.jsx)("div",{className:"flex flex-col gap-4",children:!!a.length&&a.map((e,a)=>(0,l.jsx)(c.default,{message:e,index:a},e.context+a))})})},5583:function(e,a,t){t.r(a);var l=t(85893),s=t(85265),n=t(66309),c=t(25278),r=t(14726),i=t(67294);a.default=e=>{let{open:a,setFeedbackOpen:t,list:o,feedback:u,loading:d}=e,[x,m]=(0,i.useState)([]),[f,p]=(0,i.useState)("");return(0,l.jsx)(s.Z,{title:"你的反馈助我进步",placement:"bottom",open:a,onClose:()=>t(!1),destroyOnClose:!0,height:"auto",children:(0,l.jsxs)("div",{className:"flex flex-col w-full gap-4",children:[(0,l.jsx)("div",{className:"flex w-full flex-wrap gap-2",children:null==o?void 0:o.map(e=>{let a=x.findIndex(a=>a.reason_type===e.reason_type)>-1;return(0,l.jsx)(n.Z,{className:"text-sm text-[#525964] p-1 px-2 rounded-md cursor-pointer ".concat(a?"border-[#0c75fc] text-[#0c75fc]":""),onClick:()=>{m(a=>{let t=a.findIndex(a=>a.reason_type===e.reason_type);return t>-1?[...a.slice(0,t),...a.slice(t+1)]:[...a,e]})},children:e.reason},e.reason_type)})}),(0,l.jsx)(c.default.TextArea,{placeholder:"描述一下具体问题或更优的答案",className:"h-24 resize-none mb-2",value:f,onChange:e=>p(e.target.value.trim())}),(0,l.jsxs)("div",{className:"flex gap-2 justify-end",children:[(0,l.jsx)(r.ZP,{className:"w-16 h-8",onClick:()=>{t(!1)},children:"取消"}),(0,l.jsx)(r.ZP,{type:"primary",className:"min-w-16 h-8",onClick:async()=>{let e=x.map(e=>e.reason_type);await (null==u?void 0:u({feedback_type:"unlike",reason_types:e,remark:f}))},loading:d,children:"确认"})]})]})})}},32966:function(e,a,t){t.r(a);var l=t(85893),s=t(76212),n=t(65429),c=t(15381),r=t(57132),i=t(65654),o=t(31418),u=t(96074),d=t(14726),x=t(93967),m=t.n(x),f=t(20640),p=t.n(f),h=t(67294),v=t(73913),g=t(5583);a.default=e=>{var a;let{content:t,index:x,chatDialogRef:f}=e,{conv_uid:w,history:j,scene:y}=(0,h.useContext)(v.MobileChatContext),{message:b}=o.Z.useApp(),[k,C]=(0,h.useState)(!1),[N,_]=(0,h.useState)(null==t?void 0:null===(a=t.feedback)||void 0===a?void 0:a.feedback_type),[Z,M]=(0,h.useState)([]),S=async e=>{var a;let t=null==e?void 0:e.replace(/\trelations:.*/g,""),l=p()((null===(a=f.current)||void 0===a?void 0:a.textContent)||t);l?t?b.success("复制成功"):b.warning("内容复制为空"):b.error("复制失败")},{run:z,loading:V}=(0,i.Z)(async e=>await (0,s.Vx)((0,s.zx)({conv_uid:w,message_id:t.order+"",feedback_type:e.feedback_type,reason_types:e.reason_types,remark:e.remark})),{manual:!0,onSuccess:e=>{let[,a]=e;_(null==a?void 0:a.feedback_type),b.success("反馈成功"),C(!1)}}),{run:A}=(0,i.Z)(async()=>await (0,s.Vx)((0,s.Ir)({conv_uid:w,message_id:(null==t?void 0:t.order)+""})),{manual:!0,onSuccess:e=>{let[,a]=e;a&&(_("none"),b.success("操作成功"))}}),{run:H}=(0,i.Z)(async()=>await (0,s.Vx)((0,s.Jr)()),{manual:!0,onSuccess:e=>{let[,a]=e;M(a||[]),a&&C(!0)}}),{run:E,loading:F}=(0,i.Z)(async()=>await (0,s.Vx)((0,s.Ty)({conv_id:w,round_index:0})),{manual:!0,onSuccess:()=>{b.success("操作成功")}});return(0,l.jsxs)("div",{className:"flex items-center text-sm",children:[(0,l.jsxs)("div",{className:"flex gap-3",children:[(0,l.jsx)(n.Z,{className:m()("cursor-pointer",{"text-[#0C75FC]":"like"===N}),onClick:async()=>{if("like"===N){await A();return}await z({feedback_type:"like"})}}),(0,l.jsx)(c.Z,{className:m()("cursor-pointer",{"text-[#0C75FC]":"unlike"===N}),onClick:async()=>{if("unlike"===N){await A();return}await H()}}),(0,l.jsx)(g.default,{open:k,setFeedbackOpen:C,list:Z,feedback:z,loading:V})]}),(0,l.jsx)(u.Z,{type:"vertical"}),(0,l.jsxs)("div",{className:"flex items-center gap-3",children:[(0,l.jsx)(r.Z,{className:"cursor-pointer",onClick:()=>S(t.context)}),j.length-1===x&&"chat_agent"===y&&(0,l.jsx)(d.ZP,{loading:F,size:"small",onClick:async()=>{await E()},className:"text-xs",children:"终止话题"})]})]})}}}]); \ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/7249-0360e5143d1c0a16.js b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/7249-0360e5143d1c0a16.js new file mode 100644 index 000000000..a46d9c8bc --- /dev/null +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/7249-0360e5143d1c0a16.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7249],{23430:function(e,t,l){"use strict";var a=l(85893),r=l(25675),n=l.n(r);t.Z=function(e){let{src:t,label:l,width:r,height:s,className:o}=e;return(0,a.jsx)(n(),{className:"w-11 h-11 rounded-full mr-4 border border-gray-200 object-contain bg-white ".concat(o),width:r||44,height:s||44,src:t,alt:l||"db-icon"})}},86600:function(e,t,l){"use strict";var a=l(85893),r=l(30119),n=l(65654),s=l(2487),o=l(83062),i=l(45360),c=l(28459),d=l(55241),u=l(99859),m=l(34041),p=l(12652),h=l(67294),x=l(67421);let f=e=>{let{data:t,loading:l,submit:r,close:n}=e,{t:i}=(0,x.$G)(),c=e=>()=>{r(e),n()};return(0,a.jsx)("div",{style:{maxHeight:400,overflow:"auto"},children:(0,a.jsx)(s.Z,{dataSource:null==t?void 0:t.data,loading:l,rowKey:e=>e.prompt_name,renderItem:e=>(0,a.jsx)(s.Z.Item,{onClick:c(e),children:(0,a.jsx)(o.Z,{title:e.content,children:(0,a.jsx)(s.Z.Item.Meta,{style:{cursor:"copy"},title:e.prompt_name,description:i("Prompt_Info_Scene")+":".concat(e.chat_scene,",")+i("Prompt_Info_Sub_Scene")+":".concat(e.sub_chat_scene)})})},e.prompt_name)})})};t.Z=e=>{let{submit:t,chat_scene:l}=e,{t:s}=(0,x.$G)(),[g,v]=(0,h.useState)(!1),[_,b]=(0,h.useState)("common"),{data:j,loading:w,run:y}=(0,n.Z)(()=>{let e={};return"common"!==_&&(e.prompt_type=_),l&&(e.chat_scene=l),(0,r.PR)("/prompt/list",e)},{refreshDeps:[_,l],onError:e=>{i.ZP.error(null==e?void 0:e.message)},manual:!0});return(0,h.useEffect)(()=>{g&&y()},[g,_,l,y]),(0,a.jsx)(c.ZP,{theme:{components:{Popover:{minWidth:250}}},children:(0,a.jsx)(d.Z,{title:(0,a.jsx)(u.default.Item,{label:"Prompt "+s("Type"),children:(0,a.jsx)(m.default,{style:{width:150},value:_,onChange:e=>{b(e)},options:[{label:s("Public")+" Prompts",value:"common"},{label:s("Private")+" Prompts",value:"private"}]})}),content:(0,a.jsx)(f,{data:j,loading:w,submit:t,close:()=>{v(!1)}}),placement:"topRight",trigger:"click",open:g,onOpenChange:e=>{v(e)},children:(0,a.jsx)(o.Z,{title:s("Click_Select")+" Prompt",children:(0,a.jsx)(p.Z,{className:"right-4 md:right-6 bottom-[180px] md:bottom-[160px] z-[998]"})})})})}},43446:function(e,t,l){"use strict";var a=l(41468),r=l(64371),n=l(62418),s=l(25519),o=l(1375),i=l(45360),c=l(67294),d=l(83454);t.Z=e=>{let{queryAgentURL:t="/api/v1/chat/completions",app_code:l}=e,[u,m]=(0,c.useState)({}),{scene:p}=(0,c.useContext)(a.p),h=(0,c.useCallback)(async e=>{let{data:a,chatId:c,onMessage:u,onClose:h,onDone:x,onError:f,ctrl:g}=e;if(g&&m(g),!(null==a?void 0:a.user_input)&&!(null==a?void 0:a.doc_id)){i.ZP.warning(r.Z.t("no_context_tip"));return}let v={conv_uid:c,app_code:l};a&&Object.keys(a).forEach(e=>{v[e]=a[e]}),console.log("DEBUG - API request params:",v),console.log("DEBUG - prompt_code in params:",v.prompt_code),console.log("DEBUG - data object received:",a);try{var _,b;let e=JSON.stringify(v);console.log("DEBUG - API request body:",e),await (0,o.L)("".concat(null!==(_=d.env.API_BASE_URL)&&void 0!==_?_:"").concat(t),{method:"POST",headers:{"Content-Type":"application/json",[s.gp]:null!==(b=(0,n.n5)())&&void 0!==b?b:""},body:e,signal:g?g.signal:null,openWhenHidden:!0,async onopen(e){e.ok&&e.headers.get("content-type")===o.a||"application/json"!==e.headers.get("content-type")||e.json().then(e=>{null==u||u(e),null==x||x(),g&&g.abort()})},onclose(){g&&g.abort(),null==h||h()},onerror(e){throw Error(e)},onmessage:e=>{let t=e.data;try{if("chat_agent"===p)t=JSON.parse(t).vis;else{var l,r,n;a=JSON.parse(e.data),t=null===(l=a.choices)||void 0===l?void 0:null===(r=l[0])||void 0===r?void 0:null===(n=r.message)||void 0===n?void 0:n.content}}catch(e){t.replaceAll("\\n","\n")}"string"==typeof t?"[DONE]"===t?null==x||x():(null==t?void 0:t.startsWith("[ERROR]"))?null==f||f(null==t?void 0:t.replace("[ERROR]","")):null==u||u(t):(null==u||u(t),null==x||x())}})}catch(e){g&&g.abort(),null==f||f("Sorry, We meet some error, please try agin later.",e)}},[t,l,p]);return{chat:h,ctrl:u}}},48218:function(e,t,l){"use strict";var a=l(85893),r=l(82353),n=l(16165),s=l(67294);t.Z=e=>{let{width:t,height:l,scene:o}=e,i=(0,s.useCallback)(()=>{switch(o){case"chat_knowledge":return r.je;case"chat_with_db_execute":return r.zM;case"chat_excel":return r.DL;case"chat_with_db_qa":case"chat_dba":return r.RD;case"chat_dashboard":return r.In;case"chat_agent":return r.si;case"chat_normal":return r.O7;default:return}},[o]);return(0,a.jsx)(n.Z,{className:"w-".concat(t||7," h-").concat(l||7),component:i()})}},70065:function(e,t,l){"use strict";var a=l(91321);let r=(0,a.Z)({scriptUrl:"//at.alicdn.com/t/a/font_4440880_ljyggdw605.js"});t.Z=r},91467:function(e,t,l){"use strict";l.d(t,{TH:function(){return x},ZS:function(){return f}});var a=l(85893),r=l(89705),n=l(83062),s=l(96074),o=l(45030),i=l(85418),c=l(93967),d=l.n(c),u=l(36609),m=l(25675),p=l.n(m);l(67294);var h=l(48218);l(11873);let x=e=>{let{onClick:t,Icon:l="/pictures/card_chat.png",text:r=(0,u.t)("start_chat")}=e;return"string"==typeof l&&(l=(0,a.jsx)(p(),{src:l,alt:l,width:17,height:15})),(0,a.jsxs)("div",{className:"flex items-center gap-1 text-default",onClick:e=>{e.stopPropagation(),t&&t()},children:[l,(0,a.jsx)("span",{children:r})]})},f=e=>{let{menu:t}=e;return(0,a.jsx)(i.Z,{menu:t,getPopupContainer:e=>e.parentNode,placement:"bottomRight",autoAdjustOverflow:!1,children:(0,a.jsx)(r.Z,{className:"p-2 hover:bg-white hover:dark:bg-black rounded-md"})})};t.ZP=e=>{let{RightTop:t,Tags:l,LeftBottom:r,RightBottom:i,onClick:c,rightTopHover:u=!0,logo:m,name:x,description:f,className:g,scene:v,code:_}=e;return"string"==typeof f&&(f=(0,a.jsx)("p",{className:"line-clamp-2 relative bottom-4 text-ellipsis min-h-[42px] text-sm text-[#525964] dark:text-[rgba(255,255,255,0.65)]",children:f})),(0,a.jsx)("div",{className:d()("hover-underline-gradient flex justify-center mt-6 relative group w-1/3 px-2 mb-6",g),children:(0,a.jsxs)("div",{onClick:c,className:"backdrop-filter backdrop-blur-lg cursor-pointer bg-white bg-opacity-70 border-2 border-white rounded-lg shadow p-4 relative w-full h-full dark:border-[#6f7f95] dark:bg-[#6f7f95] dark:bg-opacity-60",children:[(0,a.jsxs)("div",{className:"flex items-end relative bottom-8 justify-between w-full",children:[(0,a.jsxs)("div",{className:"flex items-end gap-4 w-11/12 flex-1",children:[(0,a.jsx)("div",{className:"bg-white rounded-lg shadow-sm w-14 h-14 flex items-center p-3",children:v?(0,a.jsx)(h.Z,{scene:v,width:14,height:14}):m&&(0,a.jsx)(p(),{src:m,width:44,height:44,alt:x,className:"w-8 min-w-8 rounded-full max-w-none"})}),(0,a.jsx)("div",{className:"flex-1",children:x.length>6?(0,a.jsx)(n.Z,{title:x,children:(0,a.jsx)("span",{className:"line-clamp-1 text-ellipsis font-semibold text-base",style:{maxWidth:"60%"},children:x})}):(0,a.jsx)("span",{className:"line-clamp-1 text-ellipsis font-semibold text-base",style:{maxWidth:"60%"},children:x})})]}),(0,a.jsx)("span",{className:d()("shrink-0",{hidden:u,"group-hover:block":u}),onClick:e=>{e.stopPropagation()},children:t})]}),f,(0,a.jsx)("div",{className:"relative bottom-2",children:l}),(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsx)("div",{children:r}),(0,a.jsx)("div",{children:i})]}),_&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.Z,{className:"my-3"}),(0,a.jsx)(o.Z.Text,{copyable:!0,className:"absolute bottom-1 right-4 text-xs text-gray-500",children:_})]})]})})}},57249:function(e,t,l){"use strict";l.r(t),l.d(t,{ChatContentContext:function(){return eM},default:function(){return eT}});var a=l(85893),r=l(41468),n=l(76212),s=l(86600),o=l(43446),i=l(50888),c=l(90598),d=l(75750),u=l(58638),m=l(45360),p=l(66309),h=l(45030),x=l(74330),f=l(20640),g=l.n(f),v=l(67294),_=l(67421),b=l(65654),j=l(48218);let w=["magenta","orange","geekblue","purple","cyan","green"];var y=e=>{var t,l,r,s,o,f;let{isScrollToTop:y}=e,{appInfo:N,refreshAppInfo:k,handleChat:Z,scrollRef:S,temperatureValue:C,resourceValue:P,currentDialogue:R}=(0,v.useContext)(eM),{t:E}=(0,_.$G)(),M=(0,v.useMemo)(()=>{var e;return(null==N?void 0:null===(e=N.team_context)||void 0===e?void 0:e.chat_scene)||"chat_agent"},[N]),T=(0,v.useMemo)(()=>(null==N?void 0:N.is_collected)==="true",[N]),{run:I,loading:O}=(0,b.Z)(async()=>{let[e]=await (0,n.Vx)(T?(0,n.gD)({app_code:N.app_code}):(0,n.mo)({app_code:N.app_code}));if(!e)return await k()},{manual:!0}),V=(0,v.useMemo)(()=>{var e;return(null===(e=N.param_need)||void 0===e?void 0:e.map(e=>e.type))||[]},[N.param_need]);if(!Object.keys(N).length)return null;let L=async()=>{let e=g()(location.href);m.ZP[e?"success":"error"](e?E("copy_success"):E("copy_failed"))};return(0,a.jsx)("div",{className:"h-20 mt-6 ".concat((null==N?void 0:N.recommend_questions)&&(null==N?void 0:null===(t=N.recommend_questions)||void 0===t?void 0:t.length)>0?"mb-6":""," sticky top-0 bg-transparent z-30 transition-all duration-400 ease-in-out"),children:y?(0,a.jsxs)("header",{className:"flex items-center justify-between w-full h-14 bg-[#ffffffb7] dark:bg-[rgba(41,63,89,0.4)] px-8 transition-all duration-500 ease-in-out",children:[(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)("div",{className:"flex items-center justify-center w-8 h-8 rounded-lg mr-2 bg-white",children:(0,a.jsx)(j.Z,{scene:M})}),(0,a.jsxs)("div",{className:"flex items-center text-base text-[#1c2533] dark:text-[rgba(255,255,255,0.85)] font-semibold gap-2",children:[(0,a.jsx)("span",{children:null==N?void 0:N.app_name}),(0,a.jsxs)("div",{className:"flex gap-1",children:[(null==N?void 0:N.team_mode)&&(0,a.jsx)(p.Z,{color:"green",children:null==N?void 0:N.team_mode}),(null==N?void 0:null===(l=N.team_context)||void 0===l?void 0:l.chat_scene)&&(0,a.jsx)(p.Z,{color:"cyan",children:null==N?void 0:null===(r=N.team_context)||void 0===r?void 0:r.chat_scene})]})]})]}),(0,a.jsxs)("div",{className:"flex gap-8",onClick:async()=>{await I()},children:[O?(0,a.jsx)(x.Z,{spinning:O,indicator:(0,a.jsx)(i.Z,{style:{fontSize:24},spin:!0})}):(0,a.jsx)(a.Fragment,{children:T?(0,a.jsx)(c.Z,{style:{fontSize:18},className:"text-yellow-400 cursor-pointer"}):(0,a.jsx)(d.Z,{style:{fontSize:18,cursor:"pointer"}})}),(0,a.jsx)(u.Z,{className:"text-lg",onClick:e=>{e.stopPropagation(),L()}})]})]}):(0,a.jsxs)("header",{className:"flex items-center justify-between w-5/6 h-full px-6 bg-[#ffffff99] border dark:bg-[rgba(255,255,255,0.1)] dark:border-[rgba(255,255,255,0.1)] rounded-2xl mx-auto transition-all duration-400 ease-in-out relative",children:[(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)("div",{className:"flex w-12 h-12 justify-center items-center rounded-xl mr-4 bg-white",children:(0,a.jsx)(j.Z,{scene:M,width:16,height:16})}),(0,a.jsxs)("div",{className:"flex flex-col flex-1",children:[(0,a.jsxs)("div",{className:"flex items-center text-base text-[#1c2533] dark:text-[rgba(255,255,255,0.85)] font-semibold gap-2",children:[(0,a.jsx)("span",{children:null==N?void 0:N.app_name}),(0,a.jsxs)("div",{className:"flex gap-1",children:[(null==N?void 0:N.team_mode)&&(0,a.jsx)(p.Z,{color:"green",children:null==N?void 0:N.team_mode}),(null==N?void 0:null===(s=N.team_context)||void 0===s?void 0:s.chat_scene)&&(0,a.jsx)(p.Z,{color:"cyan",children:null==N?void 0:null===(o=N.team_context)||void 0===o?void 0:o.chat_scene})]})]}),(0,a.jsx)(h.Z.Text,{className:"text-sm text-[#525964] dark:text-[rgba(255,255,255,0.65)] leading-6",ellipsis:{tooltip:!0},children:null==N?void 0:N.app_describe})]})]}),(0,a.jsxs)("div",{className:"flex items-center gap-4",children:[(0,a.jsx)("div",{onClick:async()=>{await I()},className:"flex items-center justify-center w-10 h-10 bg-[#ffffff99] dark:bg-[rgba(255,255,255,0.2)] border border-white dark:border-[rgba(255,255,255,0.2)] rounded-[50%] cursor-pointer",children:O?(0,a.jsx)(x.Z,{spinning:O,indicator:(0,a.jsx)(i.Z,{style:{fontSize:24},spin:!0})}):(0,a.jsx)(a.Fragment,{children:T?(0,a.jsx)(c.Z,{style:{fontSize:18},className:"text-yellow-400 cursor-pointer"}):(0,a.jsx)(d.Z,{style:{fontSize:18,cursor:"pointer"}})})}),(0,a.jsx)("div",{onClick:L,className:"flex items-center justify-center w-10 h-10 bg-[#ffffff99] dark:bg-[rgba(255,255,255,0.2)] border border-white dark:border-[rgba(255,255,255,0.2)] rounded-[50%] cursor-pointer",children:(0,a.jsx)(u.Z,{className:"text-lg"})})]}),!!(null==N?void 0:null===(f=N.recommend_questions)||void 0===f?void 0:f.length)&&(0,a.jsxs)("div",{className:"absolute bottom-[-40px] left-0",children:[(0,a.jsx)("span",{className:"text-sm text-[#525964] dark:text-[rgba(255,255,255,0.65)] leading-6",children:"或许你想问:"}),N.recommend_questions.map((e,t)=>(0,a.jsx)(p.Z,{color:w[t],className:"text-xs p-1 px-2 cursor-pointer",onClick:async()=>{Z((null==e?void 0:e.question)||"",{app_code:N.app_code,...V.includes("temperature")&&{temperature:C},...V.includes("resource")&&{select_param:"string"==typeof P?P:JSON.stringify(P)||R.select_param}}),setTimeout(()=>{var e,t;null===(e=S.current)||void 0===e||e.scrollTo({top:null===(t=S.current)||void 0===t?void 0:t.scrollHeight,behavior:"smooth"})},0)},children:e.question},e.id))]})]})})},N=l(62635),k=l(66017),Z=l(5152),S=l.n(Z);let C=S()(()=>Promise.all([l.e(7034),l.e(6106),l.e(8674),l.e(3166),l.e(2837),l.e(2168),l.e(8163),l.e(1265),l.e(7728),l.e(4567),l.e(2398),l.e(9773),l.e(4035),l.e(1154),l.e(2510),l.e(3345),l.e(9202),l.e(5265),l.e(2640),l.e(3764),l.e(5e3),l.e(3768),l.e(5789),l.e(3913),l.e(4434),l.e(3013)]).then(l.bind(l,88331)),{loadableGenerated:{webpack:()=>[88331]},ssr:!1});var P=(0,v.forwardRef)((e,t)=>{let{className:l}=e,r=(0,v.useRef)(null),[n,s]=(0,v.useState)(!1),[o,i]=(0,v.useState)(!1),[c,d]=(0,v.useState)(!0),[u,m]=(0,v.useState)(!1),{history:p}=(0,v.useContext)(eM),h=(0,v.useRef)(!0),x=(0,v.useRef)(null);(0,v.useImperativeHandle)(t,()=>r.current);let f=(0,v.useCallback)(()=>{var e;if(!r.current)return;let t=r.current,l=t.scrollTop,a=t.scrollHeight,n=t.clientHeight,o=Number(null==t?void 0:null===(e=t.dataset)||void 0===e?void 0:e.lastScrollTop)||0,c=l>o?"down":"up";t.dataset.lastScrollTop=String(l),h.current="down"===c,d(l<=20),m(l+n>=a-20),l>=74?s(!0):s(!1);let u=a>n;i(u)},[]);(0,v.useEffect)(()=>{let e=r.current;if(e){e.addEventListener("scroll",f);let t=e.scrollHeight>e.clientHeight;i(t)}return()=>{e&&e.removeEventListener("scroll",f)}},[f]);let g=(0,v.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!r.current||!e&&!h.current)return;let t=r.current,{scrollTop:l,scrollHeight:a,clientHeight:n}=t;(l+n>=a-Math.max(50,.1*n)||e)&&(x.current&&cancelAnimationFrame(x.current),x.current=requestAnimationFrame(()=>{r.current&&r.current.scrollTo({top:r.current.scrollHeight,behavior:e?"smooth":"auto"}),x.current=null}))},[]),_=(0,v.useMemo)(()=>{let e=p[p.length-1];return e?{context:e.context,thinking:e.thinking}:null},[p]),b=(0,v.useRef)(p.length);(0,v.useEffect)(()=>{let e=p.length,t=e>b.current;t?(g(!0),b.current=e):g(!1)},[p.length,g]),(0,v.useEffect)(()=>{p.length===b.current&&g(!1)},[null==_?void 0:_.context,null==_?void 0:_.thinking,p.length,g]),(0,v.useEffect)(()=>()=>{x.current&&cancelAnimationFrame(x.current)},[]);let j=(0,v.useCallback)(()=>{r.current&&r.current.scrollTo({top:0,behavior:"smooth"})},[]),w=(0,v.useCallback)(()=>{r.current&&r.current.scrollTo({top:r.current.scrollHeight,behavior:"smooth"})},[]);return(0,a.jsxs)("div",{className:"flex flex-1 overflow-hidden relative ".concat(l||""),children:[(0,a.jsxs)("div",{ref:r,className:"h-full w-full mx-auto overflow-y-auto",children:[(0,a.jsx)(y,{isScrollToTop:n}),(0,a.jsx)(C,{})]}),o&&(0,a.jsxs)("div",{className:"absolute right-4 md:right-6 bottom-[120px] md:bottom-[100px] flex flex-col gap-2 z-[999]",children:[!c&&(0,a.jsx)("button",{onClick:j,className:"w-9 h-9 md:w-10 md:h-10 bg-white dark:bg-[rgba(255,255,255,0.2)] border border-gray-200 dark:border-[rgba(255,255,255,0.2)] rounded-full flex items-center justify-center shadow-md hover:shadow-lg transition-all duration-200","aria-label":"Scroll to top",children:(0,a.jsx)(N.Z,{className:"text-[#525964] dark:text-[rgba(255,255,255,0.85)] text-sm md:text-base"})}),!u&&(0,a.jsx)("button",{onClick:w,className:"w-9 h-9 md:w-10 md:h-10 bg-white dark:bg-[rgba(255,255,255,0.2)] border border-gray-200 dark:border-[rgba(255,255,255,0.2)] rounded-full flex items-center justify-center shadow-md hover:shadow-lg transition-all duration-200","aria-label":"Scroll to bottom",children:(0,a.jsx)(k.Z,{className:"text-[#525964] dark:text-[rgba(255,255,255,0.85)] text-sm md:text-base"})})]})]})}),R=l(89546),E=l(91467),M=l(7134),T=l(32983),I=l(25675),O=l.n(I),V=l(11163),L=l(70065),z=e=>{let{apps:t,refresh:l,loading:s,type:o}=e,i=async e=>{let[t]=await (0,n.Vx)("true"===e.is_collected?(0,n.gD)({app_code:e.app_code}):(0,n.mo)({app_code:e.app_code}));t||l()},{setAgent:u,model:m,setCurrentDialogInfo:p}=(0,v.useContext)(r.p),h=(0,V.useRouter)(),f=async e=>{if("native_app"===e.team_mode){let{chat_scene:t=""}=e.team_context,[,l]=await (0,n.Vx)((0,n.sW)({chat_mode:t}));l&&(null==p||p({chat_scene:l.chat_mode,app_code:e.app_code}),localStorage.setItem("cur_dialog_info",JSON.stringify({chat_scene:l.chat_mode,app_code:e.app_code})),h.push("/chat?scene=".concat(t,"&id=").concat(l.conv_uid).concat(m?"&model=".concat(m):"")))}else{let[,t]=await (0,n.Vx)((0,n.sW)({chat_mode:"chat_agent"}));t&&(null==p||p({chat_scene:t.chat_mode,app_code:e.app_code}),localStorage.setItem("cur_dialog_info",JSON.stringify({chat_scene:t.chat_mode,app_code:e.app_code})),null==u||u(e.app_code),h.push("/chat/?scene=chat_agent&id=".concat(t.conv_uid).concat(m?"&model=".concat(m):"")))}};return s?(0,a.jsx)(x.Z,{size:"large",className:"flex items-center justify-center h-full",spinning:s}):(0,a.jsx)("div",{className:"flex flex-wrap mt-4 w-full overflow-y-auto ",children:(null==t?void 0:t.length)>0?t.map(e=>{var t;return(0,a.jsx)(E.ZP,{name:e.app_name,description:e.app_describe,onClick:()=>f(e),RightTop:"true"===e.is_collected?(0,a.jsx)(c.Z,{onClick:t=>{t.stopPropagation(),i(e)},style:{height:"21px",cursor:"pointer",color:"#f9c533"}}):(0,a.jsx)(d.Z,{onClick:t=>{t.stopPropagation(),i(e)},style:{height:"21px",cursor:"pointer"}}),LeftBottom:(0,a.jsxs)("div",{className:"flex gap-8 items-center text-gray-500 text-sm",children:[e.owner_name&&(0,a.jsxs)("div",{className:"flex gap-1 items-center",children:[(0,a.jsx)(M.C,{src:null==e?void 0:e.owner_avatar_url,className:"bg-gradient-to-tr from-[#31afff] to-[#1677ff] cursor-pointer",children:e.owner_name}),(0,a.jsx)("span",{children:e.owner_name})]}),"used"!==o&&(0,a.jsxs)("div",{className:"flex items-start gap-1",children:[(0,a.jsx)(L.Z,{type:"icon-hot",className:"text-lg"}),(0,a.jsx)("span",{className:"text-[#878c93]",children:e.hot_value})]})]}),scene:(null==e?void 0:null===(t=e.team_context)||void 0===t?void 0:t.chat_scene)||"chat_agent"},e.app_code)}):(0,a.jsx)(T.Z,{image:(0,a.jsx)(O(),{src:"/pictures/empty.png",alt:"empty",width:142,height:133,className:"w-[142px] h-[133px]"}),className:"flex justify-center items-center w-full h-full min-h-[200px]"})})},A=l(62418),D=l(25278),G=l(14726),H=l(93967),q=l.n(H),J=function(){let{setCurrentDialogInfo:e}=(0,v.useContext)(r.p),{t}=(0,_.$G)(),l=(0,V.useRouter)(),[s,o]=(0,v.useState)(""),[i,c]=(0,v.useState)(!1),[d,u]=(0,v.useState)(!1),m=async()=>{let[,t]=await (0,n.Vx)((0,n.sW)({chat_mode:"chat_normal"}));t&&(null==e||e({chat_scene:t.chat_mode,app_code:t.chat_mode}),localStorage.setItem("cur_dialog_info",JSON.stringify({chat_scene:t.chat_mode,app_code:t.chat_mode})),localStorage.setItem(A.rU,JSON.stringify({id:t.conv_uid,message:s})),l.push("/chat/?scene=chat_normal&id=".concat(t.conv_uid))),o("")};return(0,a.jsxs)("div",{className:"flex flex-1 h-12 p-2 pl-4 items-center justify-between bg-white dark:bg-[#242733] dark:border-[#6f7f95] rounded-xl border-t border-b border-l border-r ".concat(i?"border-[#0c75fc]":""),children:[(0,a.jsx)(D.default.TextArea,{placeholder:t("input_tips"),className:"w-full resize-none border-0 p-0 focus:shadow-none",value:s,autoSize:{minRows:1},onKeyDown:e=>{"Enter"===e.key&&!e.shiftKey&&!d&&(e.preventDefault(),s.trim()&&m())},onChange:e=>{o(e.target.value)},onFocus:()=>{c(!0)},onBlur:()=>c(!1),onCompositionStart:()=>u(!0),onCompositionEnd:()=>u(!1)}),(0,a.jsx)(G.ZP,{type:"primary",className:q()("flex items-center justify-center w-14 h-8 rounded-lg text-sm bg-button-gradient border-0",{"opacity-40 cursor-not-allowed":!s.trim()}),onClick:()=>{s.trim()&&m()},children:t("sent")})]})},U=l(28459),W=l(92783),$=l(36609),B=function(){let{setCurrentDialogInfo:e,model:t}=(0,v.useContext)(r.p),l=(0,V.useRouter)(),[s,o]=(0,v.useState)({app_list:[],total_count:0}),[i,c]=(0,v.useState)("recommend"),d=e=>(0,n.Vx)((0,n.yk)({...e,page_no:"1",page_size:"6"})),u=e=>(0,n.Vx)((0,n.mW)({page_no:"1",page_size:"6",...e})),{run:m,loading:p,refresh:h}=(0,b.Z)(async e=>{switch(i){case"recommend":return await u({});case"used":return await d({is_recent_used:"true",need_owner_info:"true",...e&&{app_name:e}});default:return[]}},{manual:!0,onSuccess:e=>{let[t,l]=e;if("recommend"===i)return o({app_list:l,total_count:(null==l?void 0:l.length)||0});o(l||{})},debounceWait:500});(0,v.useEffect)(()=>{m()},[i,m]);let x=[{value:"recommend",label:(0,$.t)("recommend_apps")},{value:"used",label:(0,$.t)("used_apps")}],{data:f}=(0,b.Z)(async()=>{let[,e]=await (0,n.Vx)((0,R.A)({is_hot_question:"true"}));return null!=e?e:[]});return(0,a.jsx)(U.ZP,{theme:{components:{Button:{defaultBorderColor:"white"},Segmented:{itemSelectedBg:"#2867f5",itemSelectedColor:"white"}}},children:(0,a.jsxs)("div",{className:"px-28 py-10 h-full flex flex-col justify-between",children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex justify-between",children:[(0,a.jsx)(W.Z,{className:"backdrop-filter h-10 backdrop-blur-lg bg-white bg-opacity-30 border border-white rounded-lg shadow p-1 dark:border-[#6f7f95] dark:bg-[#6f7f95] dark:bg-opacity-60",options:x,value:i,onChange:e=>{c(e)}}),(0,a.jsxs)("span",{className:"flex items-center text-gray-500 gap-1 dark:text-slate-300",children:[(0,a.jsx)("span",{children:(0,$.t)("app_in_mind")}),(0,a.jsxs)("span",{className:"flex items-center cursor-pointer",onClick:()=>{l.push("/")},children:[(0,a.jsx)(O(),{src:"/pictures/explore_active.png",alt:"construct_image",width:24,height:24},"image_explore"),(0,a.jsx)("span",{className:"text-default",children:(0,$.t)("explore")})]}),(0,a.jsx)("span",{children:(0,$.t)("Discover_more")})]})]}),(0,a.jsx)(z,{apps:(null==s?void 0:s.app_list)||[],loading:p,refresh:h,type:i}),f&&f.length>0&&(0,a.jsxs)("div",{children:[(0,a.jsx)("h2",{className:"font-medium text-xl my-4",children:(0,$.t)("help")}),(0,a.jsx)("div",{className:"flex justify-start gap-4",children:f.map(r=>(0,a.jsxs)("span",{className:"flex gap-4 items-center backdrop-filter backdrop-blur-lg cursor-pointer bg-white bg-opacity-70 border-0 rounded-lg shadow p-2 relative dark:bg-[#6f7f95] dark:bg-opacity-60",onClick:async()=>{let[,a]=await (0,n.Vx)((0,n.sW)({chat_mode:"chat_knowledge",model:t}));a&&(null==e||e({chat_scene:a.chat_mode,app_code:r.app_code}),localStorage.setItem("cur_dialog_info",JSON.stringify({chat_scene:a.chat_mode,app_code:r.app_code})),localStorage.setItem(A.rU,JSON.stringify({id:a.conv_uid,message:r.question})),l.push("/chat/?scene=".concat(a.chat_mode,"&id=").concat(null==a?void 0:a.conv_uid)))},children:[(0,a.jsx)("span",{children:r.question}),(0,a.jsx)(O(),{src:"/icons/send.png",alt:"construct_image",width:20,height:20},"image_explore")]},r.id))})]})]}),(0,a.jsx)("div",{children:(0,a.jsx)(J,{})})]})})},F=l(39332),K=l(30159),X=l(87740),Y=l(52645),Q=l(83062),ee=l(11186),et=l(55241),el=l(30568),ea=l(13457),er=(0,v.memo)(e=>{let{maxNewTokensValue:t,setMaxNewTokensValue:l}=e,{appInfo:r}=(0,v.useContext)(eM),{t:n}=(0,_.$G)(),s=(0,v.useMemo)(()=>{var e;return(null===(e=r.param_need)||void 0===e?void 0:e.map(e=>e.type))||[]},[r.param_need]);if(!s.includes("max_new_tokens"))return(0,a.jsx)(Q.Z,{title:n("max_new_tokens_tip"),children:(0,a.jsx)("div",{className:"flex w-8 h-8 items-center justify-center rounded-md hover:bg-[rgb(221,221,221,0.6)] cursor-pointer",children:(0,a.jsx)(ee.Z,{className:"text-xl cursor-not-allowed opacity-30"})})});let o=e=>{null===e||isNaN(e)||l(e)},i=e=>{l(e)};return(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)(et.Z,{arrow:!1,trigger:["click"],placement:"topLeft",content:()=>(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(el.Z,{className:"w-32",min:1,max:20480,step:1,onChange:i,value:"number"==typeof t?t:4e3}),(0,a.jsx)(ea.Z,{size:"small",className:"w-20",min:1,max:20480,step:1,onChange:o,value:t})]}),children:(0,a.jsx)(Q.Z,{title:n("max_new_tokens"),placement:"bottom",arrow:!1,children:(0,a.jsx)("div",{className:"flex w-8 h-8 items-center justify-center rounded-md hover:bg-[rgb(221,221,221,0.6)] cursor-pointer",children:(0,a.jsx)(ee.Z,{})})})}),(0,a.jsx)("span",{className:"text-sm ml-2",children:t})]})}),en=l(42952),es=l(34041),eo=l(39718),ei=(0,v.memo)(()=>{let{modelList:e}=(0,v.useContext)(r.p),{appInfo:t,modelValue:l,setModelValue:n}=(0,v.useContext)(eM),{t:s}=(0,_.$G)(),o=(0,v.useMemo)(()=>{var e;return(null===(e=t.param_need)||void 0===e?void 0:e.map(e=>e.type))||[]},[t.param_need]);return o.includes("model")?(0,a.jsx)(es.default,{value:l,placeholder:s("choose_model"),className:"h-8 rounded-3xl",onChange:e=>{n(e)},popupMatchSelectWidth:300,children:e.map(e=>(0,a.jsx)(es.default.Option,{children:(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)(eo.Z,{model:e}),(0,a.jsx)("span",{className:"ml-2",children:e})]})},e))}):(0,a.jsx)(Q.Z,{title:s("model_tip"),children:(0,a.jsx)("div",{className:"flex w-8 h-8 items-center justify-center rounded-md hover:bg-[rgb(221,221,221,0.6)]",children:(0,a.jsx)(en.Z,{className:"text-xl cursor-not-allowed opacity-30"})})})}),ec=l(23430),ed=l(90725),eu=l(83266),em=l(2093),ep=l(23799),eh=(0,v.memo)(e=>{var t,l,r,s;let{fileList:o,setFileList:i,setLoading:c,fileName:d}=e,{setResourceValue:u,appInfo:m,refreshHistory:p,refreshDialogList:h,modelValue:x,resourceValue:f}=(0,v.useContext)(eM),{temperatureValue:g,maxNewTokensValue:j}=(0,v.useContext)(eM),w=(0,F.useSearchParams)(),y=null!==(t=null==w?void 0:w.get("scene"))&&void 0!==t?t:"",N=null!==(l=null==w?void 0:w.get("id"))&&void 0!==l?l:"",{t:k}=(0,_.$G)(),[Z,S]=(0,v.useState)([]),C=(0,v.useMemo)(()=>{var e;return(null===(e=m.param_need)||void 0===e?void 0:e.map(e=>e.type))||[]},[m.param_need]),P=(0,v.useMemo)(()=>{var e,t;return C.includes("resource")&&(null===(e=null===(t=m.param_need)||void 0===t?void 0:t.filter(e=>"resource"===e.type)[0])||void 0===e?void 0:e.value)==="database"},[m.param_need,C]),R=(0,v.useMemo)(()=>{var e,t;return C.includes("resource")&&(null===(e=null===(t=m.param_need)||void 0===t?void 0:t.filter(e=>"resource"===e.type)[0])||void 0===e?void 0:e.value)==="knowledge"},[m.param_need,C]),E=(0,v.useMemo)(()=>{var e;return null===(e=m.param_need)||void 0===e?void 0:e.find(e=>"resource"===e.type)},[m.param_need]),{run:M,loading:T}=(0,b.Z)(async()=>await (0,n.Vx)((0,n.vD)(y)),{manual:!0,onSuccess:e=>{let[,t]=e;S(null!=t?t:[])}});(0,em.Z)(async()=>{(P||R)&&!(null==E?void 0:E.bind_value)&&await M()},[P,R,E]);let I=(0,v.useMemo)(()=>{var e;return null===(e=Z.map)||void 0===e?void 0:e.call(Z,e=>({label:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(ec.Z,{width:24,height:24,src:A.S$[e.type].icon,label:A.S$[e.type].label,className:"w-[1.5em] h-[1.5em] mr-1 inline-block mt-[-4px]"}),e.param]}),value:e.param}))},[Z]),O=(0,v.useCallback)(async()=>{let e=new FormData;e.append("doc_files",null==o?void 0:o[0]),c(!0);let[t,l]=await (0,n.Vx)((0,n.qn)({convUid:N,chatMode:y,data:e,model:x,temperatureValue:g,maxNewTokensValue:j,config:{timeout:36e5}})).finally(()=>{c(!1)});l&&(u(l),await p(),await h())},[N,o,x,h,p,y,c,u]);if(!C.includes("resource"))return(0,a.jsx)(Q.Z,{title:k("extend_tip"),children:(0,a.jsx)("div",{className:"flex w-8 h-8 items-center justify-center rounded-md hover:bg-[rgb(221,221,221,0.6)]",children:(0,a.jsx)(ed.Z,{className:"text-lg cursor-not-allowed opacity-30"})})});switch(null==E?void 0:E.value){case"excel_file":case"text_file":case"image_file":case"audio_file":case"video_file":{let e="chat_excel"===y&&(!!d||!!(null===(r=o[0])||void 0===r?void 0:r.name)),t=k("chat_excel"===y?"file_tip":"file_upload_tip");return(0,a.jsx)(ep.default,{name:"file",accept:(()=>{switch(null==E?void 0:E.value){case"excel_file":return".csv,.xlsx,.xls";case"text_file":return".txt,.doc,.docx,.pdf,.md";case"image_file":return".jpg,.jpeg,.png,.gif,.bmp,.webp";case"audio_file":return".mp3,.wav,.ogg,.aac";case"video_file":return".mp4,.wav,.wav";default:return""}})(),fileList:o,showUploadList:!1,beforeUpload:(e,t)=>{null==i||i(t)},customRequest:O,disabled:e,children:(0,a.jsx)(Q.Z,{title:t,arrow:!1,placement:"bottom",children:(0,a.jsx)("div",{className:"flex w-8 h-8 items-center justify-center rounded-md hover:bg-[rgb(221,221,221,0.6)]",children:(0,a.jsx)(eu.Z,{className:q()("text-xl",{"cursor-pointer":!e})})})})})}case"database":case"knowledge":case"plugin":case"awel_flow":return f||u(null==I?void 0:null===(s=I[0])||void 0===s?void 0:s.value),(0,a.jsx)(es.default,{value:f,className:"w-52 h-8 rounded-3xl",onChange:e=>{u(e)},disabled:!!(null==E?void 0:E.bind_value),loading:T,options:I})}}),ex=(0,v.memo)(e=>{let{temperatureValue:t,setTemperatureValue:l}=e,{appInfo:r}=(0,v.useContext)(eM),{t:n}=(0,_.$G)(),s=(0,v.useMemo)(()=>{var e;return(null===(e=r.param_need)||void 0===e?void 0:e.map(e=>e.type))||[]},[r.param_need]);if(!s.includes("temperature"))return(0,a.jsx)(Q.Z,{title:n("temperature_tip"),children:(0,a.jsx)("div",{className:"flex w-8 h-8 items-center justify-center rounded-md hover:bg-[rgb(221,221,221,0.6)] cursor-pointer",children:(0,a.jsx)(ee.Z,{className:"text-xl cursor-not-allowed opacity-30"})})});let o=e=>{isNaN(e)||l(e)};return(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)(et.Z,{arrow:!1,trigger:["click"],placement:"topLeft",content:()=>(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(el.Z,{className:"w-20",min:0,max:1,step:.1,onChange:o,value:"number"==typeof t?t:0}),(0,a.jsx)(ea.Z,{size:"small",className:"w-14",min:0,max:1,step:.1,onChange:o,value:t})]}),children:(0,a.jsx)(Q.Z,{title:n("temperature"),placement:"bottom",arrow:!1,children:(0,a.jsx)("div",{className:"flex w-8 h-8 items-center justify-center rounded-md hover:bg-[rgb(221,221,221,0.6)] cursor-pointer",children:(0,a.jsx)(ee.Z,{})})})}),(0,a.jsx)("span",{className:"text-sm ml-2",children:t})]})}),ef=e=>{let{ctrl:t}=e,{t:l}=(0,_.$G)(),{history:r,scrollRef:s,canAbort:o,replyLoading:c,currentDialogue:d,appInfo:u,temperatureValue:m,maxNewTokensValue:p,resourceValue:h,setTemperatureValue:f,setMaxNewTokensValue:g,refreshHistory:b,setCanAbort:j,setReplyLoading:w,handleChat:y}=(0,v.useContext)(eM),[N,k]=(0,v.useState)([]),[Z,S]=(0,v.useState)(!1),[C,P]=(0,v.useState)(!1),R=(0,v.useMemo)(()=>{var e;return(null===(e=u.param_need)||void 0===e?void 0:e.map(e=>e.type))||[]},[u.param_need]),E=(0,v.useMemo)(()=>[{tip:l("stop_replying"),icon:(0,a.jsx)(K.Z,{className:q()({"text-[#0c75fc]":o})}),can_use:o,key:"abort",onClick:()=>{o&&(t.abort(),setTimeout(()=>{j(!1),w(!1)},100))}},{tip:l("answer_again"),icon:(0,a.jsx)(X.Z,{}),can_use:!c&&r.length>0,key:"redo",onClick:async()=>{var e,t;let l=null===(e=null===(t=r.filter(e=>"human"===e.role))||void 0===t?void 0:t.slice(-1))||void 0===e?void 0:e[0];y((null==l?void 0:l.context)||"",{app_code:u.app_code,...R.includes("temperature")&&{temperature:m},...R.includes("max_new_tokens")&&{max_new_tokens:p},...R.includes("resource")&&{select_param:"string"==typeof h?h:JSON.stringify(h)||d.select_param}}),setTimeout(()=>{var e,t;null===(e=s.current)||void 0===e||e.scrollTo({top:null===(t=s.current)||void 0===t?void 0:t.scrollHeight,behavior:"smooth"})},0)}},{tip:l("erase_memory"),icon:C?(0,a.jsx)(x.Z,{spinning:C,indicator:(0,a.jsx)(i.Z,{style:{fontSize:20}})}):(0,a.jsx)(Y.Z,{}),can_use:r.length>0,key:"clear",onClick:async()=>{C||(P(!0),await (0,n.Vx)((0,n.zR)(d.conv_uid)).finally(async()=>{await b(),P(!1)}))}}],[l,o,c,r,C,t,j,w,y,u.app_code,R,m,h,d.select_param,d.conv_uid,s,b]),M=(0,v.useMemo)(()=>{try{if(h){if("string"==typeof h)return JSON.parse(h).file_name||"";return h.file_name||""}return JSON.parse(d.select_param).file_name||""}catch(e){return""}},[h,d.select_param]);return(0,a.jsxs)("div",{className:"flex flex-col mb-2",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between h-full w-full",children:[(0,a.jsxs)("div",{className:"flex gap-3 text-lg",children:[(0,a.jsx)(ei,{}),(0,a.jsx)(eh,{fileList:N,setFileList:k,setLoading:S,fileName:M}),(0,a.jsx)(ex,{temperatureValue:m,setTemperatureValue:f}),(0,a.jsx)(er,{maxNewTokensValue:p,setMaxNewTokensValue:g})]}),(0,a.jsx)("div",{className:"flex gap-1",children:(0,a.jsx)(a.Fragment,{children:E.map(e=>(0,a.jsx)(Q.Z,{title:e.tip,arrow:!1,placement:"bottom",children:(0,a.jsx)("div",{className:"flex w-8 h-8 items-center justify-center rounded-md hover:bg-[rgb(221,221,221,0.6)] text-lg ".concat(e.can_use?"cursor-pointer":"opacity-30 cursor-not-allowed"),onClick:()=>{var t;null===(t=e.onClick)||void 0===t||t.call(e)},children:e.icon})},e.key))})})]}),(0,a.jsx)(()=>{let e=(0,A.Ev)(h)||(0,A.Ev)(d.select_param)||[];return 0===e.length?null:(0,a.jsx)("div",{className:"group/item flex flex-wrap gap-2 mt-2",children:e.map((e,t)=>{var l,r;if("image_url"===e.type&&(null===(l=e.image_url)||void 0===l?void 0:l.url)){let l=e.image_url.fileName,r=(0,A.Hb)(e.image_url.url);return(0,a.jsxs)("div",{className:"flex flex-col border border-[#e3e4e6] dark:border-[rgba(255,255,255,0.6)] rounded-lg p-2",children:[(0,a.jsx)("div",{className:"w-32 h-32 mb-2 overflow-hidden flex items-center justify-center bg-gray-100 dark:bg-gray-800 rounded",children:(0,a.jsx)("img",{src:r,alt:l||"Preview",className:"max-w-full max-h-full object-contain"})}),(0,a.jsx)("div",{className:"flex items-center",children:(0,a.jsx)("span",{className:"text-sm text-[#1c2533] dark:text-white line-clamp-1",children:l})})]},"img-".concat(t))}if("file_url"===e.type&&(null===(r=e.file_url)||void 0===r?void 0:r.url)){let l=e.file_url.file_name;return(0,a.jsx)("div",{className:"flex items-center justify-between border border-[#e3e4e6] dark:border-[rgba(255,255,255,0.6)] rounded-lg p-2",children:(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)(O(),{src:"/icons/chat/excel.png",width:20,height:20,alt:"file-icon",className:"mr-2"}),(0,a.jsx)("span",{className:"text-sm text-[#1c2533] dark:text-white line-clamp-1",children:l})]})},"file-".concat(t))}return null})})},{}),(0,a.jsx)(x.Z,{spinning:Z,indicator:(0,a.jsx)(i.Z,{style:{fontSize:24},spin:!0})})]})},eg=(0,v.forwardRef)((e,t)=>{var l,r;let{ctrl:n}=e,{t:s}=(0,_.$G)(),{replyLoading:o,handleChat:c,appInfo:d,currentDialogue:u,temperatureValue:m,maxNewTokensValue:p,resourceValue:h,setResourceValue:f,refreshDialogList:g}=(0,v.useContext)(eM),b=(0,F.useSearchParams)(),j=null!==(l=null==b?void 0:b.get("scene"))&&void 0!==l?l:"",w=null!==(r=null==b?void 0:b.get("select_param"))&&void 0!==r?r:"",[y,N]=(0,v.useState)(""),[k,Z]=(0,v.useState)(!1),[S,C]=(0,v.useState)(!1),P=(0,v.useRef)(0),R=(0,v.useMemo)(()=>{var e;return(null===(e=d.param_need)||void 0===e?void 0:e.map(e=>e.type))||[]},[d.param_need]),E=async()=>{let e;P.current++,N("");let t=(0,A.Ev)(h);if(t.length>0){"chat_excel"!==j&&f(null);let l=[...t];l.push({type:"text",text:y}),e={role:"user",content:l}}else e=y;let l={app_code:d.app_code||"",...R.includes("temperature")&&{temperature:m},...R.includes("max_new_tokens")&&{max_new_tokens:p},select_param:w,...R.includes("resource")&&{select_param:"string"==typeof h?h:JSON.stringify(h)||u.select_param}};await c(e,l),1===P.current&&await g()};return(0,v.useImperativeHandle)(t,()=>({setUserInput:N})),(0,a.jsx)("div",{className:"flex flex-col w-5/6 mx-auto pt-4 pb-6 bg-transparent",children:(0,a.jsxs)("div",{className:"flex flex-1 flex-col bg-white dark:bg-[rgba(255,255,255,0.16)] px-5 py-4 pt-2 rounded-xl relative border-t border-b border-l border-r dark:border-[rgba(255,255,255,0.6)] ".concat(k?"border-[#0c75fc]":""),id:"input-panel",children:[(0,a.jsx)(ef,{ctrl:n}),(0,a.jsx)(D.default.TextArea,{placeholder:s("input_tips"),className:"w-full h-20 resize-none border-0 p-0 focus:shadow-none dark:bg-transparent",value:y,onKeyDown:e=>{"Enter"===e.key&&!e.shiftKey&&!S&&(e.preventDefault(),y.trim()&&!o&&E())},onChange:e=>{N(e.target.value)},onFocus:()=>{Z(!0)},onBlur:()=>Z(!1),onCompositionStart:()=>C(!0),onCompositionEnd:()=>C(!1)}),(0,a.jsx)(G.ZP,{type:"primary",className:q()("flex items-center justify-center w-14 h-8 rounded-lg text-sm absolute right-4 bottom-3 bg-button-gradient border-0",{"cursor-not-allowed":!y.trim()}),onClick:()=>{!o&&y.trim()&&E()},children:o?(0,a.jsx)(x.Z,{spinning:o,indicator:(0,a.jsx)(i.Z,{className:"text-white"})}):s("sent")})]})})}),ev=l(20046),e_=l(48689),eb=l(14313),ej=l(94155),ew=l(21612),ey=l(85576),eN=l(86250);let{Sider:ek}=ew.default,eZ={display:"flex",alignItems:"center",justifyContent:"center",width:16,height:48,position:"absolute",top:"50%",transform:"translateY(-50%)",border:"1px solid #d6d8da",borderRadius:8,right:-8},eS=e=>{var t,l;let{item:s,refresh:o,historyLoading:i}=e,{t:c}=(0,_.$G)(),d=(0,F.useRouter)(),u=(0,F.useSearchParams)(),p=null!==(t=null==u?void 0:u.get("id"))&&void 0!==t?t:"",x=null!==(l=null==u?void 0:u.get("scene"))&&void 0!==l?l:"",{setCurrentDialogInfo:f}=(0,v.useContext)(r.p),b=(0,v.useMemo)(()=>s.default?s.default&&!p&&!x:s.conv_uid===p&&s.chat_mode===x,[p,x,s]),j=()=>{ey.default.confirm({title:c("delete_chat"),content:c("delete_chat_confirm"),centered:!0,onOk:async()=>{let[e]=await (0,n.Vx)((0,n.MX)(s.conv_uid));e||(await (null==o?void 0:o()),s.conv_uid===p&&d.push("/chat"))}})};return(0,a.jsxs)(eN.Z,{align:"center",className:"group/item w-full h-12 p-3 rounded-lg hover:bg-white dark:hover:bg-theme-dark cursor-pointer mb-2 relative ".concat(b?"bg-white dark:bg-theme-dark bg-opacity-100":""),onClick:()=>{i||(s.default||null==f||f({chat_scene:s.chat_mode,app_code:s.app_code}),localStorage.setItem("cur_dialog_info",JSON.stringify({chat_scene:s.chat_mode,app_code:s.app_code})),d.push(s.default?"/chat":"?scene=".concat(s.chat_mode,"&id=").concat(s.conv_uid)))},children:[(0,a.jsx)(Q.Z,{title:s.chat_mode,children:(0,a.jsx)("div",{className:"flex items-center justify-center w-8 h-8 rounded-lg mr-3 bg-white",children:s.icon})}),(0,a.jsx)("div",{className:"flex flex-1 line-clamp-1",children:(0,a.jsx)(h.Z.Text,{ellipsis:{tooltip:!0},children:s.label})}),!s.default&&(0,a.jsxs)("div",{className:"flex gap-1 ml-1",children:[(0,a.jsx)("div",{className:"group-hover/item:opacity-100 cursor-pointer opacity-0",onClick:e=>{e.stopPropagation()},children:(0,a.jsx)(ev.Z,{style:{fontSize:16},onClick:()=>{let e=g()("".concat(location.origin,"/chat?scene=").concat(s.chat_mode,"&id=").concat(s.conv_uid));m.ZP[e?"success":"error"](e?c("copy_success"):c("copy_failed"))}})}),(0,a.jsx)("div",{className:"group-hover/item:opacity-100 cursor-pointer opacity-0",onClick:e=>{e.stopPropagation(),j()},children:(0,a.jsx)(e_.Z,{style:{fontSize:16}})})]}),(0,a.jsx)("div",{className:" w-1 rounded-sm bg-[#0c75fc] absolute top-1/2 left-0 -translate-y-1/2 transition-all duration-500 ease-in-out ".concat(b?"h-5":"w-0 h-0")})]})};var eC=e=>{var t;let{dialogueList:l=[],refresh:n,historyLoading:s,listLoading:o,order:i}=e,c=(0,F.useSearchParams)(),d=null!==(t=null==c?void 0:c.get("scene"))&&void 0!==t?t:"",{t:u}=(0,_.$G)(),{mode:m}=(0,v.useContext)(r.p),[p,h]=(0,v.useState)("chat_dashboard"===d),f=(0,v.useMemo)(()=>p?{...eZ,right:-16,borderRadius:"0px 8px 8px 0",borderLeft:"1px solid #d5e5f6"}:{...eZ,borderLeft:"1px solid #d6d8da"},[p]),g=(0,v.useMemo)(()=>{let e=l[1]||[];return(null==e?void 0:e.length)>0?e.map(e=>({...e,label:e.user_input||e.select_param,key:e.conv_uid,icon:(0,a.jsx)(j.Z,{scene:e.chat_mode}),default:!1})):[]},[l]);return(0,a.jsx)(ek,{className:"bg-[#ffffff80] border-r border-[#d5e5f6] dark:bg-[#ffffff29] dark:border-[#ffffff66]",theme:m,width:280,collapsible:!0,collapsed:p,collapsedWidth:0,trigger:p?(0,a.jsx)(eb.Z,{className:"text-base"}):(0,a.jsx)(ej.Z,{className:"text-base"}),zeroWidthTriggerStyle:f,onCollapse:e=>h(e),children:(0,a.jsxs)("div",{className:"flex flex-col h-full w-full bg-transparent px-4 pt-6 ",children:[(0,a.jsx)("div",{className:"w-full text-base font-semibold text-[#1c2533] dark:text-[rgba(255,255,255,0.85)] mb-4 line-clamp-1",children:u("dialog_list")}),(0,a.jsxs)(eN.Z,{flex:1,vertical:!0,className:"overflow-y-auto",children:[(0,a.jsx)(eS,{item:{label:u("assistant"),key:"default",icon:(0,a.jsx)(O(),{src:"/LOGO_SMALL.png",alt:"default",width:24,height:24,className:"flex-1"}),default:!0},order:i}),(0,a.jsx)(x.Z,{spinning:o,className:"mt-2",children:!!(null==g?void 0:g.length)&&g.map(e=>(0,a.jsx)(eS,{item:e,refresh:n,historyLoading:s,order:i},null==e?void 0:e.key))})]})]})})};let eP=S()(()=>Promise.all([l.e(7034),l.e(6106),l.e(8674),l.e(3166),l.e(2837),l.e(2168),l.e(8163),l.e(4567),l.e(9773),l.e(4035),l.e(1154),l.e(3764),l.e(5e3),l.e(3768),l.e(4434),l.e(2800)]).then(l.bind(l,96307)),{loadableGenerated:{webpack:()=>[96307]},ssr:!1}),eR=S()(()=>Promise.all([l.e(7034),l.e(6106),l.e(8674),l.e(3166),l.e(2837),l.e(2168),l.e(8163),l.e(1265),l.e(7728),l.e(4567),l.e(2398),l.e(9773),l.e(4035),l.e(1154),l.e(2510),l.e(3345),l.e(9202),l.e(5265),l.e(2640),l.e(3764),l.e(5e3),l.e(4019),l.e(3768),l.e(5789),l.e(3913),l.e(4434),l.e(8624)]).then(l.bind(l,8334)),{loadableGenerated:{webpack:()=>[8334]},ssr:!1}),{Content:eE}=ew.default,eM=(0,v.createContext)({history:[],replyLoading:!1,scrollRef:{current:null},canAbort:!1,chartsData:[],agent:"",currentDialogue:{},appInfo:{},temperatureValue:.5,maxNewTokensValue:1024,resourceValue:{},modelValue:"",setModelValue:()=>{},setResourceValue:()=>{},setTemperatureValue:()=>{},setMaxNewTokensValue:()=>{},setAppInfo:()=>{},setAgent:()=>{},setCanAbort:()=>{},setReplyLoading:()=>{},refreshDialogList:()=>{},refreshHistory:()=>{},refreshAppInfo:()=>{},setHistory:()=>{},handleChat:()=>Promise.resolve()});var eT=()=>{var e,t,l,i;let{model:c,currentDialogInfo:d}=(0,v.useContext)(r.p),{isContract:u,setIsContract:m,setIsMenuExpand:p}=(0,v.useContext)(r.p),{chat:h,ctrl:f}=(0,o.Z)({app_code:d.app_code||""}),g=(0,F.useSearchParams)(),_=null!==(e=null==g?void 0:g.get("id"))&&void 0!==e?e:"",j=null!==(t=null==g?void 0:g.get("scene"))&&void 0!==t?t:"",w=null!==(l=null==g?void 0:g.get("knowledge_id"))&&void 0!==l?l:"",y=null!==(i=null==g?void 0:g.get("db_name"))&&void 0!==i?i:"",N=(0,v.useRef)(null),k=(0,v.useRef)(1),Z=(0,v.useRef)(null),S=(0,v.useRef)(void 0),[C,R]=(0,v.useState)([]),[E]=(0,v.useState)(),[M,T]=(0,v.useState)(!1),[I,O]=(0,v.useState)(!1),[V,L]=(0,v.useState)(""),[z,D]=(0,v.useState)({}),[G,H]=(0,v.useState)(),[q,J]=(0,v.useState)(),[U,W]=(0,v.useState)(),[$,K]=(0,v.useState)("");(0,v.useEffect)(()=>{var e,t,l,a,r,n,s,o;H((null===(e=null==z?void 0:null===(t=z.param_need)||void 0===t?void 0:t.filter(e=>"temperature"===e.type)[0])||void 0===e?void 0:e.value)||.6),J((null===(l=null==z?void 0:null===(a=z.param_need)||void 0===a?void 0:a.filter(e=>"max_new_tokens"===e.type)[0])||void 0===l?void 0:l.value)||4e3),K((null===(r=null==z?void 0:null===(n=z.param_need)||void 0===n?void 0:n.filter(e=>"model"===e.type)[0])||void 0===r?void 0:r.value)||c),W(w||y||(null===(s=null==z?void 0:null===(o=z.param_need)||void 0===o?void 0:o.filter(e=>"resource"===e.type)[0])||void 0===s?void 0:s.bind_value))},[z,y,w,c]),(0,v.useEffect)(()=>{p("chat_dashboard"!==j),_&&j&&m(!1)},[_,j,m,p]);let X=(0,v.useMemo)(()=>!_&&!j,[_,j]),{data:Y=[],refresh:Q,loading:ee}=(0,b.Z)(async()=>await (0,n.Vx)((0,n.iP)())),{run:et,refresh:el}=(0,b.Z)(async()=>await (0,n.Vx)((0,n.BN)({...d})),{manual:!0,onSuccess:e=>{let[,t]=e;D(t||{})}}),ea=(0,v.useMemo)(()=>{let[,e]=Y;return(null==e?void 0:e.find(e=>e.conv_uid===_))||{}},[_,Y]);(0,v.useEffect)(()=>{let e=(0,A.a_)();d.chat_scene!==j||X||e&&e.message||et()},[_,d,X,et,j]);let{run:er,loading:en,refresh:es}=(0,b.Z)(async()=>await (0,n.Vx)((0,n.$i)(_)),{manual:!0,onSuccess:e=>{let[,t]=e,l=null==t?void 0:t.filter(e=>"view"===e.role);l&&l.length>0&&(k.current=l[l.length-1].order+1),R(t||[])}}),eo=(0,v.useCallback)((e,t)=>new Promise(l=>{let a=(0,A.a_)(),r=new AbortController;if(T(!0),C&&C.length>0){var n,s;let e=null==C?void 0:C.filter(e=>"view"===e.role),t=null==C?void 0:C.filter(e=>"human"===e.role);k.current=((null===(n=e[e.length-1])||void 0===n?void 0:n.order)||(null===(s=t[t.length-1])||void 0===s?void 0:s.order))+1}let o="";if("string"==typeof e)o=e;else{let t=e.content||[],l=t.filter(e=>"text"===e.type),a=t.filter(e=>"text"!==e.type);l.length>0&&(o=l.map(e=>e.text).join(" "));let r=a.map(e=>{if("image_url"===e.type){var t,l;let a=(null===(t=e.image_url)||void 0===t?void 0:t.url)||"",r=(0,A.Hb)(a),n=(null===(l=e.image_url)||void 0===l?void 0:l.fileName)||"image";return"\n![".concat(n,"](").concat(r,")")}if("video"!==e.type)return"\n[".concat(e.type," attachment]");{let t=e.video||"",l=(0,A.Hb)(t);return"\n[Video](".concat(l,")")}}).join("\n");r&&(o=o+"\n"+r)}let i=[...a&&a.id===_?[]:C,{role:"human",context:o,model_name:(null==t?void 0:t.model_name)||$,order:k.current,time_stamp:0},{role:"view",context:"",model_name:(null==t?void 0:t.model_name)||$,order:k.current,time_stamp:0,thinking:!0}],c=i.length-1;R([...i]);let d={chat_mode:j,model_name:$,user_input:e};if(t&&Object.assign(d,t),"chat_dashboard"!==j){let e=S.current||localStorage.getItem("dbgpt_prompt_code_".concat(_));e&&(d.prompt_code=e,localStorage.removeItem("dbgpt_prompt_code_".concat(_)))}h({data:d,ctrl:r,chatId:_,onMessage:e=>{O(!0),(null==t?void 0:t.incremental)?(i[c].context+=e,i[c].thinking=!1):(i[c].context=e,i[c].thinking=!1),R([...i])},onDone:()=>{T(!1),O(!1),l()},onClose:()=>{T(!1),O(!1),l()},onError:e=>{T(!1),O(!1),i[c].context=e,i[c].thinking=!1,R([...i]),l()}})}),[_,C,$,h,j]);return(0,em.Z)(async()=>{if(X)return;let e=(0,A.a_)();e&&e.id===_||await er()},[_,j,er]),(0,v.useEffect)(()=>{X&&(k.current=1,R([]))},[X]),(0,a.jsx)(eM.Provider,{value:{history:C,replyLoading:M,scrollRef:N,canAbort:I,chartsData:E||[],agent:V,currentDialogue:ea,appInfo:z,temperatureValue:G,maxNewTokensValue:q,resourceValue:U,modelValue:$,setModelValue:K,setResourceValue:W,setTemperatureValue:H,setMaxNewTokensValue:J,setAppInfo:D,setAgent:L,setCanAbort:O,setReplyLoading:T,handleChat:eo,refreshDialogList:Q,refreshHistory:es,refreshAppInfo:el,setHistory:R},children:(0,a.jsx)(eN.Z,{flex:1,children:(0,a.jsxs)(ew.default,{className:"bg-gradient-light bg-cover bg-center dark:bg-gradient-dark",children:[(0,a.jsx)(eC,{refresh:Q,dialogueList:Y,listLoading:ee,historyLoading:en,order:k}),(0,a.jsxs)(ew.default,{className:"bg-transparent",children:["chat_dashboard"===j?u?(0,a.jsx)(eP,{}):(0,a.jsx)(eR,{}):X?(0,a.jsx)(eE,{children:(0,a.jsx)(B,{})}):(0,a.jsx)(x.Z,{spinning:en,className:"w-full h-full m-auto",children:(0,a.jsxs)(eE,{className:"flex flex-col h-screen",children:[(0,a.jsx)(P,{ref:N,className:"flex-1"}),(0,a.jsx)(eg,{ref:Z,ctrl:f})]})}),(0,a.jsx)(s.Z,{submit:e=>{if("chat_dashboard"===j)localStorage.setItem("dbgpt_prompt_code_".concat(_),e.prompt_code);else{var t,l;null===(t=Z.current)||void 0===t||null===(l=t.setUserInput)||void 0===l||l.call(t,e.content),S.current=e.prompt_code,localStorage.setItem("dbgpt_prompt_code_".concat(_),e.prompt_code)}},chat_scene:j})]})]})})})}},30119:function(e,t,l){"use strict";l.d(t,{Tk:function(){return d},PR:function(){return u}});var a,r=l(62418),n=l(45360);l(96486);var s=l(87066),o=l(83454);let i=s.default.create({baseURL:null!==(a=o.env.API_BASE_URL)&&void 0!==a?a:""});i.defaults.timeout=1e4,i.interceptors.response.use(e=>e.data,e=>Promise.reject(e));let c={"content-type":"application/json","User-Id":(0,r.n5)()},d=(e,t)=>{if(t){let l=Object.keys(t).filter(e=>void 0!==t[e]&&""!==t[e]).map(e=>"".concat(e,"=").concat(t[e])).join("&");l&&(e+="?".concat(l))}return i.get("/api"+e,{headers:c}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})},u=(e,t)=>i.post(e,t,{headers:c}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})},11873:function(){}}]); \ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/7249-0ff5dbe1a85d4957.js b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/7249-0ff5dbe1a85d4957.js deleted file mode 100644 index 947416e3e..000000000 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/7249-0ff5dbe1a85d4957.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7249],{23430:function(e,t,l){"use strict";var a=l(85893),r=l(25675),n=l.n(r);t.Z=function(e){let{src:t,label:l,width:r,height:s,className:o}=e;return(0,a.jsx)(n(),{className:"w-11 h-11 rounded-full mr-4 border border-gray-200 object-contain bg-white ".concat(o),width:r||44,height:s||44,src:t,alt:l||"db-icon"})}},86600:function(e,t,l){"use strict";var a=l(85893),r=l(30119),n=l(65654),s=l(2487),o=l(83062),i=l(45360),c=l(28459),d=l(55241),u=l(99859),m=l(34041),p=l(12652),h=l(67294),x=l(67421);let f=e=>{let{data:t,loading:l,submit:r,close:n}=e,{t:i}=(0,x.$G)(),c=e=>()=>{r(e),n()};return(0,a.jsx)("div",{style:{maxHeight:400,overflow:"auto"},children:(0,a.jsx)(s.Z,{dataSource:null==t?void 0:t.data,loading:l,rowKey:e=>e.prompt_name,renderItem:e=>(0,a.jsx)(s.Z.Item,{onClick:c(e),children:(0,a.jsx)(o.Z,{title:e.content,children:(0,a.jsx)(s.Z.Item.Meta,{style:{cursor:"copy"},title:e.prompt_name,description:i("Prompt_Info_Scene")+":".concat(e.chat_scene,",")+i("Prompt_Info_Sub_Scene")+":".concat(e.sub_chat_scene)})})},e.prompt_name)})})};t.Z=e=>{let{submit:t,chat_scene:l}=e,{t:s}=(0,x.$G)(),[g,v]=(0,h.useState)(!1),[_,b]=(0,h.useState)("common"),{data:j,loading:w,run:y}=(0,n.Z)(()=>{let e={};return"common"!==_&&(e.prompt_type=_),l&&(e.chat_scene=l),(0,r.PR)("/prompt/list",e)},{refreshDeps:[_,l],onError:e=>{i.ZP.error(null==e?void 0:e.message)},manual:!0});return(0,h.useEffect)(()=>{g&&y()},[g,_,l,y]),(0,a.jsx)(c.ZP,{theme:{components:{Popover:{minWidth:250}}},children:(0,a.jsx)(d.Z,{title:(0,a.jsx)(u.default.Item,{label:"Prompt "+s("Type"),children:(0,a.jsx)(m.default,{style:{width:150},value:_,onChange:e=>{b(e)},options:[{label:s("Public")+" Prompts",value:"common"},{label:s("Private")+" Prompts",value:"private"}]})}),content:(0,a.jsx)(f,{data:j,loading:w,submit:t,close:()=>{v(!1)}}),placement:"topRight",trigger:"click",open:g,onOpenChange:e=>{v(e)},children:(0,a.jsx)(o.Z,{title:s("Click_Select")+" Prompt",children:(0,a.jsx)(p.Z,{className:"right-4 md:right-6 bottom-[180px] md:bottom-[160px] z-[998]"})})})})}},43446:function(e,t,l){"use strict";var a=l(41468),r=l(64371),n=l(62418),s=l(25519),o=l(1375),i=l(45360),c=l(67294),d=l(83454);t.Z=e=>{let{queryAgentURL:t="/api/v1/chat/completions",app_code:l}=e,[u,m]=(0,c.useState)({}),{scene:p}=(0,c.useContext)(a.p),h=(0,c.useCallback)(async e=>{let{data:a,chatId:c,onMessage:u,onClose:h,onDone:x,onError:f,ctrl:g}=e;if(g&&m(g),!(null==a?void 0:a.user_input)&&!(null==a?void 0:a.doc_id)){i.ZP.warning(r.Z.t("no_context_tip"));return}let v={conv_uid:c,app_code:l};a&&Object.keys(a).forEach(e=>{v[e]=a[e]}),console.log("DEBUG - API request params:",v),console.log("DEBUG - prompt_code in params:",v.prompt_code),console.log("DEBUG - data object received:",a);try{var _,b;let e=JSON.stringify(v);console.log("DEBUG - API request body:",e),await (0,o.L)("".concat(null!==(_=d.env.API_BASE_URL)&&void 0!==_?_:"").concat(t),{method:"POST",headers:{"Content-Type":"application/json",[s.gp]:null!==(b=(0,n.n5)())&&void 0!==b?b:""},body:e,signal:g?g.signal:null,openWhenHidden:!0,async onopen(e){e.ok&&e.headers.get("content-type")===o.a||"application/json"!==e.headers.get("content-type")||e.json().then(e=>{null==u||u(e),null==x||x(),g&&g.abort()})},onclose(){g&&g.abort(),null==h||h()},onerror(e){throw Error(e)},onmessage:e=>{let t=e.data;try{t="chat_agent"===p?JSON.parse(t).vis:JSON.parse(t)}catch(e){t.replaceAll("\\n","\n")}"string"==typeof t?"[DONE]"===t?null==x||x():(null==t?void 0:t.startsWith("[ERROR]"))?null==f||f(null==t?void 0:t.replace("[ERROR]","")):null==u||u(t):(null==u||u(t),null==x||x())}})}catch(e){g&&g.abort(),null==f||f("Sorry, We meet some error, please try agin later.",e)}},[t,l,p]);return{chat:h,ctrl:u}}},48218:function(e,t,l){"use strict";var a=l(85893),r=l(82353),n=l(16165),s=l(67294);t.Z=e=>{let{width:t,height:l,scene:o}=e,i=(0,s.useCallback)(()=>{switch(o){case"chat_knowledge":return r.je;case"chat_with_db_execute":return r.zM;case"chat_excel":return r.DL;case"chat_with_db_qa":case"chat_dba":return r.RD;case"chat_dashboard":return r.In;case"chat_agent":return r.si;case"chat_normal":return r.O7;default:return}},[o]);return(0,a.jsx)(n.Z,{className:"w-".concat(t||7," h-").concat(l||7),component:i()})}},70065:function(e,t,l){"use strict";var a=l(91321);let r=(0,a.Z)({scriptUrl:"//at.alicdn.com/t/a/font_4440880_ljyggdw605.js"});t.Z=r},91467:function(e,t,l){"use strict";l.d(t,{TH:function(){return x},ZS:function(){return f}});var a=l(85893),r=l(89705),n=l(83062),s=l(96074),o=l(45030),i=l(85418),c=l(93967),d=l.n(c),u=l(36609),m=l(25675),p=l.n(m);l(67294);var h=l(48218);l(11873);let x=e=>{let{onClick:t,Icon:l="/pictures/card_chat.png",text:r=(0,u.t)("start_chat")}=e;return"string"==typeof l&&(l=(0,a.jsx)(p(),{src:l,alt:l,width:17,height:15})),(0,a.jsxs)("div",{className:"flex items-center gap-1 text-default",onClick:e=>{e.stopPropagation(),t&&t()},children:[l,(0,a.jsx)("span",{children:r})]})},f=e=>{let{menu:t}=e;return(0,a.jsx)(i.Z,{menu:t,getPopupContainer:e=>e.parentNode,placement:"bottomRight",autoAdjustOverflow:!1,children:(0,a.jsx)(r.Z,{className:"p-2 hover:bg-white hover:dark:bg-black rounded-md"})})};t.ZP=e=>{let{RightTop:t,Tags:l,LeftBottom:r,RightBottom:i,onClick:c,rightTopHover:u=!0,logo:m,name:x,description:f,className:g,scene:v,code:_}=e;return"string"==typeof f&&(f=(0,a.jsx)("p",{className:"line-clamp-2 relative bottom-4 text-ellipsis min-h-[42px] text-sm text-[#525964] dark:text-[rgba(255,255,255,0.65)]",children:f})),(0,a.jsx)("div",{className:d()("hover-underline-gradient flex justify-center mt-6 relative group w-1/3 px-2 mb-6",g),children:(0,a.jsxs)("div",{onClick:c,className:"backdrop-filter backdrop-blur-lg cursor-pointer bg-white bg-opacity-70 border-2 border-white rounded-lg shadow p-4 relative w-full h-full dark:border-[#6f7f95] dark:bg-[#6f7f95] dark:bg-opacity-60",children:[(0,a.jsxs)("div",{className:"flex items-end relative bottom-8 justify-between w-full",children:[(0,a.jsxs)("div",{className:"flex items-end gap-4 w-11/12 flex-1",children:[(0,a.jsx)("div",{className:"bg-white rounded-lg shadow-sm w-14 h-14 flex items-center p-3",children:v?(0,a.jsx)(h.Z,{scene:v,width:14,height:14}):m&&(0,a.jsx)(p(),{src:m,width:44,height:44,alt:x,className:"w-8 min-w-8 rounded-full max-w-none"})}),(0,a.jsx)("div",{className:"flex-1",children:x.length>6?(0,a.jsx)(n.Z,{title:x,children:(0,a.jsx)("span",{className:"line-clamp-1 text-ellipsis font-semibold text-base",style:{maxWidth:"60%"},children:x})}):(0,a.jsx)("span",{className:"line-clamp-1 text-ellipsis font-semibold text-base",style:{maxWidth:"60%"},children:x})})]}),(0,a.jsx)("span",{className:d()("shrink-0",{hidden:u,"group-hover:block":u}),onClick:e=>{e.stopPropagation()},children:t})]}),f,(0,a.jsx)("div",{className:"relative bottom-2",children:l}),(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsx)("div",{children:r}),(0,a.jsx)("div",{children:i})]}),_&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.Z,{className:"my-3"}),(0,a.jsx)(o.Z.Text,{copyable:!0,className:"absolute bottom-1 right-4 text-xs text-gray-500",children:_})]})]})})}},57249:function(e,t,l){"use strict";l.r(t),l.d(t,{ChatContentContext:function(){return eM},default:function(){return eT}});var a=l(85893),r=l(41468),n=l(76212),s=l(86600),o=l(43446),i=l(50888),c=l(90598),d=l(75750),u=l(58638),m=l(45360),p=l(66309),h=l(45030),x=l(74330),f=l(20640),g=l.n(f),v=l(67294),_=l(67421),b=l(65654),j=l(48218);let w=["magenta","orange","geekblue","purple","cyan","green"];var y=e=>{var t,l,r,s,o,f;let{isScrollToTop:y}=e,{appInfo:N,refreshAppInfo:k,handleChat:Z,scrollRef:S,temperatureValue:C,resourceValue:P,currentDialogue:R}=(0,v.useContext)(eM),{t:E}=(0,_.$G)(),M=(0,v.useMemo)(()=>{var e;return(null==N?void 0:null===(e=N.team_context)||void 0===e?void 0:e.chat_scene)||"chat_agent"},[N]),T=(0,v.useMemo)(()=>(null==N?void 0:N.is_collected)==="true",[N]),{run:I,loading:O}=(0,b.Z)(async()=>{let[e]=await (0,n.Vx)(T?(0,n.gD)({app_code:N.app_code}):(0,n.mo)({app_code:N.app_code}));if(!e)return await k()},{manual:!0}),V=(0,v.useMemo)(()=>{var e;return(null===(e=N.param_need)||void 0===e?void 0:e.map(e=>e.type))||[]},[N.param_need]);if(!Object.keys(N).length)return null;let L=async()=>{let e=g()(location.href);m.ZP[e?"success":"error"](e?E("copy_success"):E("copy_failed"))};return(0,a.jsx)("div",{className:"h-20 mt-6 ".concat((null==N?void 0:N.recommend_questions)&&(null==N?void 0:null===(t=N.recommend_questions)||void 0===t?void 0:t.length)>0?"mb-6":""," sticky top-0 bg-transparent z-30 transition-all duration-400 ease-in-out"),children:y?(0,a.jsxs)("header",{className:"flex items-center justify-between w-full h-14 bg-[#ffffffb7] dark:bg-[rgba(41,63,89,0.4)] px-8 transition-all duration-500 ease-in-out",children:[(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)("div",{className:"flex items-center justify-center w-8 h-8 rounded-lg mr-2 bg-white",children:(0,a.jsx)(j.Z,{scene:M})}),(0,a.jsxs)("div",{className:"flex items-center text-base text-[#1c2533] dark:text-[rgba(255,255,255,0.85)] font-semibold gap-2",children:[(0,a.jsx)("span",{children:null==N?void 0:N.app_name}),(0,a.jsxs)("div",{className:"flex gap-1",children:[(null==N?void 0:N.team_mode)&&(0,a.jsx)(p.Z,{color:"green",children:null==N?void 0:N.team_mode}),(null==N?void 0:null===(l=N.team_context)||void 0===l?void 0:l.chat_scene)&&(0,a.jsx)(p.Z,{color:"cyan",children:null==N?void 0:null===(r=N.team_context)||void 0===r?void 0:r.chat_scene})]})]})]}),(0,a.jsxs)("div",{className:"flex gap-8",onClick:async()=>{await I()},children:[O?(0,a.jsx)(x.Z,{spinning:O,indicator:(0,a.jsx)(i.Z,{style:{fontSize:24},spin:!0})}):(0,a.jsx)(a.Fragment,{children:T?(0,a.jsx)(c.Z,{style:{fontSize:18},className:"text-yellow-400 cursor-pointer"}):(0,a.jsx)(d.Z,{style:{fontSize:18,cursor:"pointer"}})}),(0,a.jsx)(u.Z,{className:"text-lg",onClick:e=>{e.stopPropagation(),L()}})]})]}):(0,a.jsxs)("header",{className:"flex items-center justify-between w-5/6 h-full px-6 bg-[#ffffff99] border dark:bg-[rgba(255,255,255,0.1)] dark:border-[rgba(255,255,255,0.1)] rounded-2xl mx-auto transition-all duration-400 ease-in-out relative",children:[(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)("div",{className:"flex w-12 h-12 justify-center items-center rounded-xl mr-4 bg-white",children:(0,a.jsx)(j.Z,{scene:M,width:16,height:16})}),(0,a.jsxs)("div",{className:"flex flex-col flex-1",children:[(0,a.jsxs)("div",{className:"flex items-center text-base text-[#1c2533] dark:text-[rgba(255,255,255,0.85)] font-semibold gap-2",children:[(0,a.jsx)("span",{children:null==N?void 0:N.app_name}),(0,a.jsxs)("div",{className:"flex gap-1",children:[(null==N?void 0:N.team_mode)&&(0,a.jsx)(p.Z,{color:"green",children:null==N?void 0:N.team_mode}),(null==N?void 0:null===(s=N.team_context)||void 0===s?void 0:s.chat_scene)&&(0,a.jsx)(p.Z,{color:"cyan",children:null==N?void 0:null===(o=N.team_context)||void 0===o?void 0:o.chat_scene})]})]}),(0,a.jsx)(h.Z.Text,{className:"text-sm text-[#525964] dark:text-[rgba(255,255,255,0.65)] leading-6",ellipsis:{tooltip:!0},children:null==N?void 0:N.app_describe})]})]}),(0,a.jsxs)("div",{className:"flex items-center gap-4",children:[(0,a.jsx)("div",{onClick:async()=>{await I()},className:"flex items-center justify-center w-10 h-10 bg-[#ffffff99] dark:bg-[rgba(255,255,255,0.2)] border border-white dark:border-[rgba(255,255,255,0.2)] rounded-[50%] cursor-pointer",children:O?(0,a.jsx)(x.Z,{spinning:O,indicator:(0,a.jsx)(i.Z,{style:{fontSize:24},spin:!0})}):(0,a.jsx)(a.Fragment,{children:T?(0,a.jsx)(c.Z,{style:{fontSize:18},className:"text-yellow-400 cursor-pointer"}):(0,a.jsx)(d.Z,{style:{fontSize:18,cursor:"pointer"}})})}),(0,a.jsx)("div",{onClick:L,className:"flex items-center justify-center w-10 h-10 bg-[#ffffff99] dark:bg-[rgba(255,255,255,0.2)] border border-white dark:border-[rgba(255,255,255,0.2)] rounded-[50%] cursor-pointer",children:(0,a.jsx)(u.Z,{className:"text-lg"})})]}),!!(null==N?void 0:null===(f=N.recommend_questions)||void 0===f?void 0:f.length)&&(0,a.jsxs)("div",{className:"absolute bottom-[-40px] left-0",children:[(0,a.jsx)("span",{className:"text-sm text-[#525964] dark:text-[rgba(255,255,255,0.65)] leading-6",children:"或许你想问:"}),N.recommend_questions.map((e,t)=>(0,a.jsx)(p.Z,{color:w[t],className:"text-xs p-1 px-2 cursor-pointer",onClick:async()=>{Z((null==e?void 0:e.question)||"",{app_code:N.app_code,...V.includes("temperature")&&{temperature:C},...V.includes("resource")&&{select_param:"string"==typeof P?P:JSON.stringify(P)||R.select_param}}),setTimeout(()=>{var e,t;null===(e=S.current)||void 0===e||e.scrollTo({top:null===(t=S.current)||void 0===t?void 0:t.scrollHeight,behavior:"smooth"})},0)},children:e.question},e.id))]})]})})},N=l(62635),k=l(66017),Z=l(5152),S=l.n(Z);let C=S()(()=>Promise.all([l.e(7034),l.e(6106),l.e(8674),l.e(3166),l.e(2837),l.e(2168),l.e(8163),l.e(1265),l.e(7728),l.e(4567),l.e(2398),l.e(9773),l.e(4035),l.e(1154),l.e(2510),l.e(3345),l.e(9202),l.e(5265),l.e(2640),l.e(3764),l.e(5e3),l.e(3768),l.e(5789),l.e(3913),l.e(4434),l.e(3013)]).then(l.bind(l,88331)),{loadableGenerated:{webpack:()=>[88331]},ssr:!1});var P=(0,v.forwardRef)((e,t)=>{let{className:l}=e,r=(0,v.useRef)(null),[n,s]=(0,v.useState)(!1),[o,i]=(0,v.useState)(!1),[c,d]=(0,v.useState)(!0),[u,m]=(0,v.useState)(!1),{history:p}=(0,v.useContext)(eM),h=(0,v.useRef)(!0),x=(0,v.useRef)(null);(0,v.useImperativeHandle)(t,()=>r.current);let f=(0,v.useCallback)(()=>{var e;if(!r.current)return;let t=r.current,l=t.scrollTop,a=t.scrollHeight,n=t.clientHeight,o=Number(null==t?void 0:null===(e=t.dataset)||void 0===e?void 0:e.lastScrollTop)||0,c=l>o?"down":"up";t.dataset.lastScrollTop=String(l),h.current="down"===c,d(l<=20),m(l+n>=a-20),l>=74?s(!0):s(!1);let u=a>n;i(u)},[]);(0,v.useEffect)(()=>{let e=r.current;if(e){e.addEventListener("scroll",f);let t=e.scrollHeight>e.clientHeight;i(t)}return()=>{e&&e.removeEventListener("scroll",f)}},[f]);let g=(0,v.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!r.current||!e&&!h.current)return;let t=r.current,{scrollTop:l,scrollHeight:a,clientHeight:n}=t;(l+n>=a-Math.max(50,.1*n)||e)&&(x.current&&cancelAnimationFrame(x.current),x.current=requestAnimationFrame(()=>{r.current&&r.current.scrollTo({top:r.current.scrollHeight,behavior:e?"smooth":"auto"}),x.current=null}))},[]),_=(0,v.useMemo)(()=>{let e=p[p.length-1];return e?{context:e.context,thinking:e.thinking}:null},[p]),b=(0,v.useRef)(p.length);(0,v.useEffect)(()=>{let e=p.length,t=e>b.current;t?(g(!0),b.current=e):g(!1)},[p.length,g]),(0,v.useEffect)(()=>{p.length===b.current&&g(!1)},[null==_?void 0:_.context,null==_?void 0:_.thinking,p.length,g]),(0,v.useEffect)(()=>()=>{x.current&&cancelAnimationFrame(x.current)},[]);let j=(0,v.useCallback)(()=>{r.current&&r.current.scrollTo({top:0,behavior:"smooth"})},[]),w=(0,v.useCallback)(()=>{r.current&&r.current.scrollTo({top:r.current.scrollHeight,behavior:"smooth"})},[]);return(0,a.jsxs)("div",{className:"flex flex-1 overflow-hidden relative ".concat(l||""),children:[(0,a.jsxs)("div",{ref:r,className:"h-full w-full mx-auto overflow-y-auto",children:[(0,a.jsx)(y,{isScrollToTop:n}),(0,a.jsx)(C,{})]}),o&&(0,a.jsxs)("div",{className:"absolute right-4 md:right-6 bottom-[120px] md:bottom-[100px] flex flex-col gap-2 z-[999]",children:[!c&&(0,a.jsx)("button",{onClick:j,className:"w-9 h-9 md:w-10 md:h-10 bg-white dark:bg-[rgba(255,255,255,0.2)] border border-gray-200 dark:border-[rgba(255,255,255,0.2)] rounded-full flex items-center justify-center shadow-md hover:shadow-lg transition-all duration-200","aria-label":"Scroll to top",children:(0,a.jsx)(N.Z,{className:"text-[#525964] dark:text-[rgba(255,255,255,0.85)] text-sm md:text-base"})}),!u&&(0,a.jsx)("button",{onClick:w,className:"w-9 h-9 md:w-10 md:h-10 bg-white dark:bg-[rgba(255,255,255,0.2)] border border-gray-200 dark:border-[rgba(255,255,255,0.2)] rounded-full flex items-center justify-center shadow-md hover:shadow-lg transition-all duration-200","aria-label":"Scroll to bottom",children:(0,a.jsx)(k.Z,{className:"text-[#525964] dark:text-[rgba(255,255,255,0.85)] text-sm md:text-base"})})]})]})}),R=l(89546),E=l(91467),M=l(7134),T=l(32983),I=l(25675),O=l.n(I),V=l(11163),L=l(70065),z=e=>{let{apps:t,refresh:l,loading:s,type:o}=e,i=async e=>{let[t]=await (0,n.Vx)("true"===e.is_collected?(0,n.gD)({app_code:e.app_code}):(0,n.mo)({app_code:e.app_code}));t||l()},{setAgent:u,model:m,setCurrentDialogInfo:p}=(0,v.useContext)(r.p),h=(0,V.useRouter)(),f=async e=>{if("native_app"===e.team_mode){let{chat_scene:t=""}=e.team_context,[,l]=await (0,n.Vx)((0,n.sW)({chat_mode:t}));l&&(null==p||p({chat_scene:l.chat_mode,app_code:e.app_code}),localStorage.setItem("cur_dialog_info",JSON.stringify({chat_scene:l.chat_mode,app_code:e.app_code})),h.push("/chat?scene=".concat(t,"&id=").concat(l.conv_uid).concat(m?"&model=".concat(m):"")))}else{let[,t]=await (0,n.Vx)((0,n.sW)({chat_mode:"chat_agent"}));t&&(null==p||p({chat_scene:t.chat_mode,app_code:e.app_code}),localStorage.setItem("cur_dialog_info",JSON.stringify({chat_scene:t.chat_mode,app_code:e.app_code})),null==u||u(e.app_code),h.push("/chat/?scene=chat_agent&id=".concat(t.conv_uid).concat(m?"&model=".concat(m):"")))}};return s?(0,a.jsx)(x.Z,{size:"large",className:"flex items-center justify-center h-full",spinning:s}):(0,a.jsx)("div",{className:"flex flex-wrap mt-4 w-full overflow-y-auto ",children:(null==t?void 0:t.length)>0?t.map(e=>{var t;return(0,a.jsx)(E.ZP,{name:e.app_name,description:e.app_describe,onClick:()=>f(e),RightTop:"true"===e.is_collected?(0,a.jsx)(c.Z,{onClick:t=>{t.stopPropagation(),i(e)},style:{height:"21px",cursor:"pointer",color:"#f9c533"}}):(0,a.jsx)(d.Z,{onClick:t=>{t.stopPropagation(),i(e)},style:{height:"21px",cursor:"pointer"}}),LeftBottom:(0,a.jsxs)("div",{className:"flex gap-8 items-center text-gray-500 text-sm",children:[e.owner_name&&(0,a.jsxs)("div",{className:"flex gap-1 items-center",children:[(0,a.jsx)(M.C,{src:null==e?void 0:e.owner_avatar_url,className:"bg-gradient-to-tr from-[#31afff] to-[#1677ff] cursor-pointer",children:e.owner_name}),(0,a.jsx)("span",{children:e.owner_name})]}),"used"!==o&&(0,a.jsxs)("div",{className:"flex items-start gap-1",children:[(0,a.jsx)(L.Z,{type:"icon-hot",className:"text-lg"}),(0,a.jsx)("span",{className:"text-[#878c93]",children:e.hot_value})]})]}),scene:(null==e?void 0:null===(t=e.team_context)||void 0===t?void 0:t.chat_scene)||"chat_agent"},e.app_code)}):(0,a.jsx)(T.Z,{image:(0,a.jsx)(O(),{src:"/pictures/empty.png",alt:"empty",width:142,height:133,className:"w-[142px] h-[133px]"}),className:"flex justify-center items-center w-full h-full min-h-[200px]"})})},A=l(62418),D=l(25278),G=l(14726),H=l(93967),q=l.n(H),J=function(){let{setCurrentDialogInfo:e}=(0,v.useContext)(r.p),{t}=(0,_.$G)(),l=(0,V.useRouter)(),[s,o]=(0,v.useState)(""),[i,c]=(0,v.useState)(!1),[d,u]=(0,v.useState)(!1),m=async()=>{let[,t]=await (0,n.Vx)((0,n.sW)({chat_mode:"chat_normal"}));t&&(null==e||e({chat_scene:t.chat_mode,app_code:t.chat_mode}),localStorage.setItem("cur_dialog_info",JSON.stringify({chat_scene:t.chat_mode,app_code:t.chat_mode})),localStorage.setItem(A.rU,JSON.stringify({id:t.conv_uid,message:s})),l.push("/chat/?scene=chat_normal&id=".concat(t.conv_uid))),o("")};return(0,a.jsxs)("div",{className:"flex flex-1 h-12 p-2 pl-4 items-center justify-between bg-white dark:bg-[#242733] dark:border-[#6f7f95] rounded-xl border-t border-b border-l border-r ".concat(i?"border-[#0c75fc]":""),children:[(0,a.jsx)(D.default.TextArea,{placeholder:t("input_tips"),className:"w-full resize-none border-0 p-0 focus:shadow-none",value:s,autoSize:{minRows:1},onKeyDown:e=>{"Enter"===e.key&&!e.shiftKey&&!d&&(e.preventDefault(),s.trim()&&m())},onChange:e=>{o(e.target.value)},onFocus:()=>{c(!0)},onBlur:()=>c(!1),onCompositionStart:()=>u(!0),onCompositionEnd:()=>u(!1)}),(0,a.jsx)(G.ZP,{type:"primary",className:q()("flex items-center justify-center w-14 h-8 rounded-lg text-sm bg-button-gradient border-0",{"opacity-40 cursor-not-allowed":!s.trim()}),onClick:()=>{s.trim()&&m()},children:t("sent")})]})},U=l(28459),W=l(92783),$=l(36609),B=function(){let{setCurrentDialogInfo:e,model:t}=(0,v.useContext)(r.p),l=(0,V.useRouter)(),[s,o]=(0,v.useState)({app_list:[],total_count:0}),[i,c]=(0,v.useState)("recommend"),d=e=>(0,n.Vx)((0,n.yk)({...e,page_no:"1",page_size:"6"})),u=e=>(0,n.Vx)((0,n.mW)({page_no:"1",page_size:"6",...e})),{run:m,loading:p,refresh:h}=(0,b.Z)(async e=>{switch(i){case"recommend":return await u({});case"used":return await d({is_recent_used:"true",need_owner_info:"true",...e&&{app_name:e}});default:return[]}},{manual:!0,onSuccess:e=>{let[t,l]=e;if("recommend"===i)return o({app_list:l,total_count:(null==l?void 0:l.length)||0});o(l||{})},debounceWait:500});(0,v.useEffect)(()=>{m()},[i,m]);let x=[{value:"recommend",label:(0,$.t)("recommend_apps")},{value:"used",label:(0,$.t)("used_apps")}],{data:f}=(0,b.Z)(async()=>{let[,e]=await (0,n.Vx)((0,R.A)({is_hot_question:"true"}));return null!=e?e:[]});return(0,a.jsx)(U.ZP,{theme:{components:{Button:{defaultBorderColor:"white"},Segmented:{itemSelectedBg:"#2867f5",itemSelectedColor:"white"}}},children:(0,a.jsxs)("div",{className:"px-28 py-10 h-full flex flex-col justify-between",children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex justify-between",children:[(0,a.jsx)(W.Z,{className:"backdrop-filter h-10 backdrop-blur-lg bg-white bg-opacity-30 border border-white rounded-lg shadow p-1 dark:border-[#6f7f95] dark:bg-[#6f7f95] dark:bg-opacity-60",options:x,value:i,onChange:e=>{c(e)}}),(0,a.jsxs)("span",{className:"flex items-center text-gray-500 gap-1 dark:text-slate-300",children:[(0,a.jsx)("span",{children:(0,$.t)("app_in_mind")}),(0,a.jsxs)("span",{className:"flex items-center cursor-pointer",onClick:()=>{l.push("/")},children:[(0,a.jsx)(O(),{src:"/pictures/explore_active.png",alt:"construct_image",width:24,height:24},"image_explore"),(0,a.jsx)("span",{className:"text-default",children:(0,$.t)("explore")})]}),(0,a.jsx)("span",{children:(0,$.t)("Discover_more")})]})]}),(0,a.jsx)(z,{apps:(null==s?void 0:s.app_list)||[],loading:p,refresh:h,type:i}),f&&f.length>0&&(0,a.jsxs)("div",{children:[(0,a.jsx)("h2",{className:"font-medium text-xl my-4",children:(0,$.t)("help")}),(0,a.jsx)("div",{className:"flex justify-start gap-4",children:f.map(r=>(0,a.jsxs)("span",{className:"flex gap-4 items-center backdrop-filter backdrop-blur-lg cursor-pointer bg-white bg-opacity-70 border-0 rounded-lg shadow p-2 relative dark:bg-[#6f7f95] dark:bg-opacity-60",onClick:async()=>{let[,a]=await (0,n.Vx)((0,n.sW)({chat_mode:"chat_knowledge",model:t}));a&&(null==e||e({chat_scene:a.chat_mode,app_code:r.app_code}),localStorage.setItem("cur_dialog_info",JSON.stringify({chat_scene:a.chat_mode,app_code:r.app_code})),localStorage.setItem(A.rU,JSON.stringify({id:a.conv_uid,message:r.question})),l.push("/chat/?scene=".concat(a.chat_mode,"&id=").concat(null==a?void 0:a.conv_uid)))},children:[(0,a.jsx)("span",{children:r.question}),(0,a.jsx)(O(),{src:"/icons/send.png",alt:"construct_image",width:20,height:20},"image_explore")]},r.id))})]})]}),(0,a.jsx)("div",{children:(0,a.jsx)(J,{})})]})})},F=l(39332),K=l(30159),X=l(87740),Y=l(52645),Q=l(83062),ee=l(11186),et=l(55241),el=l(30568),ea=l(13457),er=(0,v.memo)(e=>{let{maxNewTokensValue:t,setMaxNewTokensValue:l}=e,{appInfo:r}=(0,v.useContext)(eM),{t:n}=(0,_.$G)(),s=(0,v.useMemo)(()=>{var e;return(null===(e=r.param_need)||void 0===e?void 0:e.map(e=>e.type))||[]},[r.param_need]);if(!s.includes("max_new_tokens"))return(0,a.jsx)(Q.Z,{title:n("max_new_tokens_tip"),children:(0,a.jsx)("div",{className:"flex w-8 h-8 items-center justify-center rounded-md hover:bg-[rgb(221,221,221,0.6)] cursor-pointer",children:(0,a.jsx)(ee.Z,{className:"text-xl cursor-not-allowed opacity-30"})})});let o=e=>{null===e||isNaN(e)||l(e)},i=e=>{l(e)};return(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)(et.Z,{arrow:!1,trigger:["click"],placement:"topLeft",content:()=>(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(el.Z,{className:"w-32",min:1,max:20480,step:1,onChange:i,value:"number"==typeof t?t:4e3}),(0,a.jsx)(ea.Z,{size:"small",className:"w-20",min:1,max:20480,step:1,onChange:o,value:t})]}),children:(0,a.jsx)(Q.Z,{title:n("max_new_tokens"),placement:"bottom",arrow:!1,children:(0,a.jsx)("div",{className:"flex w-8 h-8 items-center justify-center rounded-md hover:bg-[rgb(221,221,221,0.6)] cursor-pointer",children:(0,a.jsx)(ee.Z,{})})})}),(0,a.jsx)("span",{className:"text-sm ml-2",children:t})]})}),en=l(42952),es=l(34041),eo=l(39718),ei=(0,v.memo)(()=>{let{modelList:e}=(0,v.useContext)(r.p),{appInfo:t,modelValue:l,setModelValue:n}=(0,v.useContext)(eM),{t:s}=(0,_.$G)(),o=(0,v.useMemo)(()=>{var e;return(null===(e=t.param_need)||void 0===e?void 0:e.map(e=>e.type))||[]},[t.param_need]);return o.includes("model")?(0,a.jsx)(es.default,{value:l,placeholder:s("choose_model"),className:"h-8 rounded-3xl",onChange:e=>{n(e)},popupMatchSelectWidth:300,children:e.map(e=>(0,a.jsx)(es.default.Option,{children:(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)(eo.Z,{model:e}),(0,a.jsx)("span",{className:"ml-2",children:e})]})},e))}):(0,a.jsx)(Q.Z,{title:s("model_tip"),children:(0,a.jsx)("div",{className:"flex w-8 h-8 items-center justify-center rounded-md hover:bg-[rgb(221,221,221,0.6)]",children:(0,a.jsx)(en.Z,{className:"text-xl cursor-not-allowed opacity-30"})})})}),ec=l(23430),ed=l(90725),eu=l(83266),em=l(2093),ep=l(23799),eh=(0,v.memo)(e=>{var t,l,r,s;let{fileList:o,setFileList:i,setLoading:c,fileName:d}=e,{setResourceValue:u,appInfo:m,refreshHistory:p,refreshDialogList:h,modelValue:x,resourceValue:f}=(0,v.useContext)(eM),{temperatureValue:g,maxNewTokensValue:j}=(0,v.useContext)(eM),w=(0,F.useSearchParams)(),y=null!==(t=null==w?void 0:w.get("scene"))&&void 0!==t?t:"",N=null!==(l=null==w?void 0:w.get("id"))&&void 0!==l?l:"",{t:k}=(0,_.$G)(),[Z,S]=(0,v.useState)([]),C=(0,v.useMemo)(()=>{var e;return(null===(e=m.param_need)||void 0===e?void 0:e.map(e=>e.type))||[]},[m.param_need]),P=(0,v.useMemo)(()=>{var e,t;return C.includes("resource")&&(null===(e=null===(t=m.param_need)||void 0===t?void 0:t.filter(e=>"resource"===e.type)[0])||void 0===e?void 0:e.value)==="database"},[m.param_need,C]),R=(0,v.useMemo)(()=>{var e,t;return C.includes("resource")&&(null===(e=null===(t=m.param_need)||void 0===t?void 0:t.filter(e=>"resource"===e.type)[0])||void 0===e?void 0:e.value)==="knowledge"},[m.param_need,C]),E=(0,v.useMemo)(()=>{var e;return null===(e=m.param_need)||void 0===e?void 0:e.find(e=>"resource"===e.type)},[m.param_need]),{run:M,loading:T}=(0,b.Z)(async()=>await (0,n.Vx)((0,n.vD)(y)),{manual:!0,onSuccess:e=>{let[,t]=e;S(null!=t?t:[])}});(0,em.Z)(async()=>{(P||R)&&!(null==E?void 0:E.bind_value)&&await M()},[P,R,E]);let I=(0,v.useMemo)(()=>{var e;return null===(e=Z.map)||void 0===e?void 0:e.call(Z,e=>({label:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(ec.Z,{width:24,height:24,src:A.S$[e.type].icon,label:A.S$[e.type].label,className:"w-[1.5em] h-[1.5em] mr-1 inline-block mt-[-4px]"}),e.param]}),value:e.param}))},[Z]),O=(0,v.useCallback)(async()=>{let e=new FormData;e.append("doc_files",null==o?void 0:o[0]),c(!0);let[t,l]=await (0,n.Vx)((0,n.qn)({convUid:N,chatMode:y,data:e,model:x,temperatureValue:g,maxNewTokensValue:j,config:{timeout:36e5}})).finally(()=>{c(!1)});l&&(u(l),await p(),await h())},[N,o,x,h,p,y,c,u]);if(!C.includes("resource"))return(0,a.jsx)(Q.Z,{title:k("extend_tip"),children:(0,a.jsx)("div",{className:"flex w-8 h-8 items-center justify-center rounded-md hover:bg-[rgb(221,221,221,0.6)]",children:(0,a.jsx)(ed.Z,{className:"text-lg cursor-not-allowed opacity-30"})})});switch(null==E?void 0:E.value){case"excel_file":case"text_file":case"image_file":case"audio_file":case"video_file":{let e="chat_excel"===y&&(!!d||!!(null===(r=o[0])||void 0===r?void 0:r.name)),t=k("chat_excel"===y?"file_tip":"file_upload_tip");return(0,a.jsx)(ep.default,{name:"file",accept:(()=>{switch(null==E?void 0:E.value){case"excel_file":return".csv,.xlsx,.xls";case"text_file":return".txt,.doc,.docx,.pdf,.md";case"image_file":return".jpg,.jpeg,.png,.gif,.bmp,.webp";case"audio_file":return".mp3,.wav,.ogg,.aac";case"video_file":return".mp4,.wav,.wav";default:return""}})(),fileList:o,showUploadList:!1,beforeUpload:(e,t)=>{null==i||i(t)},customRequest:O,disabled:e,children:(0,a.jsx)(Q.Z,{title:t,arrow:!1,placement:"bottom",children:(0,a.jsx)("div",{className:"flex w-8 h-8 items-center justify-center rounded-md hover:bg-[rgb(221,221,221,0.6)]",children:(0,a.jsx)(eu.Z,{className:q()("text-xl",{"cursor-pointer":!e})})})})})}case"database":case"knowledge":case"plugin":case"awel_flow":return f||u(null==I?void 0:null===(s=I[0])||void 0===s?void 0:s.value),(0,a.jsx)(es.default,{value:f,className:"w-52 h-8 rounded-3xl",onChange:e=>{u(e)},disabled:!!(null==E?void 0:E.bind_value),loading:T,options:I})}}),ex=(0,v.memo)(e=>{let{temperatureValue:t,setTemperatureValue:l}=e,{appInfo:r}=(0,v.useContext)(eM),{t:n}=(0,_.$G)(),s=(0,v.useMemo)(()=>{var e;return(null===(e=r.param_need)||void 0===e?void 0:e.map(e=>e.type))||[]},[r.param_need]);if(!s.includes("temperature"))return(0,a.jsx)(Q.Z,{title:n("temperature_tip"),children:(0,a.jsx)("div",{className:"flex w-8 h-8 items-center justify-center rounded-md hover:bg-[rgb(221,221,221,0.6)] cursor-pointer",children:(0,a.jsx)(ee.Z,{className:"text-xl cursor-not-allowed opacity-30"})})});let o=e=>{isNaN(e)||l(e)};return(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)(et.Z,{arrow:!1,trigger:["click"],placement:"topLeft",content:()=>(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(el.Z,{className:"w-20",min:0,max:1,step:.1,onChange:o,value:"number"==typeof t?t:0}),(0,a.jsx)(ea.Z,{size:"small",className:"w-14",min:0,max:1,step:.1,onChange:o,value:t})]}),children:(0,a.jsx)(Q.Z,{title:n("temperature"),placement:"bottom",arrow:!1,children:(0,a.jsx)("div",{className:"flex w-8 h-8 items-center justify-center rounded-md hover:bg-[rgb(221,221,221,0.6)] cursor-pointer",children:(0,a.jsx)(ee.Z,{})})})}),(0,a.jsx)("span",{className:"text-sm ml-2",children:t})]})}),ef=e=>{let{ctrl:t}=e,{t:l}=(0,_.$G)(),{history:r,scrollRef:s,canAbort:o,replyLoading:c,currentDialogue:d,appInfo:u,temperatureValue:m,maxNewTokensValue:p,resourceValue:h,setTemperatureValue:f,setMaxNewTokensValue:g,refreshHistory:b,setCanAbort:j,setReplyLoading:w,handleChat:y}=(0,v.useContext)(eM),[N,k]=(0,v.useState)([]),[Z,S]=(0,v.useState)(!1),[C,P]=(0,v.useState)(!1),R=(0,v.useMemo)(()=>{var e;return(null===(e=u.param_need)||void 0===e?void 0:e.map(e=>e.type))||[]},[u.param_need]),E=(0,v.useMemo)(()=>[{tip:l("stop_replying"),icon:(0,a.jsx)(K.Z,{className:q()({"text-[#0c75fc]":o})}),can_use:o,key:"abort",onClick:()=>{o&&(t.abort(),setTimeout(()=>{j(!1),w(!1)},100))}},{tip:l("answer_again"),icon:(0,a.jsx)(X.Z,{}),can_use:!c&&r.length>0,key:"redo",onClick:async()=>{var e,t;let l=null===(e=null===(t=r.filter(e=>"human"===e.role))||void 0===t?void 0:t.slice(-1))||void 0===e?void 0:e[0];y((null==l?void 0:l.context)||"",{app_code:u.app_code,...R.includes("temperature")&&{temperature:m},...R.includes("max_new_tokens")&&{max_new_tokens:p},...R.includes("resource")&&{select_param:"string"==typeof h?h:JSON.stringify(h)||d.select_param}}),setTimeout(()=>{var e,t;null===(e=s.current)||void 0===e||e.scrollTo({top:null===(t=s.current)||void 0===t?void 0:t.scrollHeight,behavior:"smooth"})},0)}},{tip:l("erase_memory"),icon:C?(0,a.jsx)(x.Z,{spinning:C,indicator:(0,a.jsx)(i.Z,{style:{fontSize:20}})}):(0,a.jsx)(Y.Z,{}),can_use:r.length>0,key:"clear",onClick:async()=>{C||(P(!0),await (0,n.Vx)((0,n.zR)(d.conv_uid)).finally(async()=>{await b(),P(!1)}))}}],[l,o,c,r,C,t,j,w,y,u.app_code,R,m,h,d.select_param,d.conv_uid,s,b]),M=(0,v.useMemo)(()=>{try{if(h){if("string"==typeof h)return JSON.parse(h).file_name||"";return h.file_name||""}return JSON.parse(d.select_param).file_name||""}catch(e){return""}},[h,d.select_param]);return(0,a.jsxs)("div",{className:"flex flex-col mb-2",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between h-full w-full",children:[(0,a.jsxs)("div",{className:"flex gap-3 text-lg",children:[(0,a.jsx)(ei,{}),(0,a.jsx)(eh,{fileList:N,setFileList:k,setLoading:S,fileName:M}),(0,a.jsx)(ex,{temperatureValue:m,setTemperatureValue:f}),(0,a.jsx)(er,{maxNewTokensValue:p,setMaxNewTokensValue:g})]}),(0,a.jsx)("div",{className:"flex gap-1",children:(0,a.jsx)(a.Fragment,{children:E.map(e=>(0,a.jsx)(Q.Z,{title:e.tip,arrow:!1,placement:"bottom",children:(0,a.jsx)("div",{className:"flex w-8 h-8 items-center justify-center rounded-md hover:bg-[rgb(221,221,221,0.6)] text-lg ".concat(e.can_use?"cursor-pointer":"opacity-30 cursor-not-allowed"),onClick:()=>{var t;null===(t=e.onClick)||void 0===t||t.call(e)},children:e.icon})},e.key))})})]}),(0,a.jsx)(()=>{let e=(0,A.Ev)(h)||(0,A.Ev)(d.select_param)||[];return 0===e.length?null:(0,a.jsx)("div",{className:"group/item flex flex-wrap gap-2 mt-2",children:e.map((e,t)=>{var l,r;if("image_url"===e.type&&(null===(l=e.image_url)||void 0===l?void 0:l.url)){let l=e.image_url.fileName,r=(0,A.Hb)(e.image_url.url);return(0,a.jsxs)("div",{className:"flex flex-col border border-[#e3e4e6] dark:border-[rgba(255,255,255,0.6)] rounded-lg p-2",children:[(0,a.jsx)("div",{className:"w-32 h-32 mb-2 overflow-hidden flex items-center justify-center bg-gray-100 dark:bg-gray-800 rounded",children:(0,a.jsx)("img",{src:r,alt:l||"Preview",className:"max-w-full max-h-full object-contain"})}),(0,a.jsx)("div",{className:"flex items-center",children:(0,a.jsx)("span",{className:"text-sm text-[#1c2533] dark:text-white line-clamp-1",children:l})})]},"img-".concat(t))}if("file_url"===e.type&&(null===(r=e.file_url)||void 0===r?void 0:r.url)){let l=e.file_url.file_name;return(0,a.jsx)("div",{className:"flex items-center justify-between border border-[#e3e4e6] dark:border-[rgba(255,255,255,0.6)] rounded-lg p-2",children:(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)(O(),{src:"/icons/chat/excel.png",width:20,height:20,alt:"file-icon",className:"mr-2"}),(0,a.jsx)("span",{className:"text-sm text-[#1c2533] dark:text-white line-clamp-1",children:l})]})},"file-".concat(t))}return null})})},{}),(0,a.jsx)(x.Z,{spinning:Z,indicator:(0,a.jsx)(i.Z,{style:{fontSize:24},spin:!0})})]})},eg=(0,v.forwardRef)((e,t)=>{var l,r;let{ctrl:n}=e,{t:s}=(0,_.$G)(),{replyLoading:o,handleChat:c,appInfo:d,currentDialogue:u,temperatureValue:m,maxNewTokensValue:p,resourceValue:h,setResourceValue:f,refreshDialogList:g}=(0,v.useContext)(eM),b=(0,F.useSearchParams)(),j=null!==(l=null==b?void 0:b.get("scene"))&&void 0!==l?l:"",w=null!==(r=null==b?void 0:b.get("select_param"))&&void 0!==r?r:"",[y,N]=(0,v.useState)(""),[k,Z]=(0,v.useState)(!1),[S,C]=(0,v.useState)(!1),P=(0,v.useRef)(0),R=(0,v.useMemo)(()=>{var e;return(null===(e=d.param_need)||void 0===e?void 0:e.map(e=>e.type))||[]},[d.param_need]),E=async()=>{let e;P.current++,N("");let t=(0,A.Ev)(h);if(t.length>0){"chat_excel"!==j&&f(null);let l=[...t];l.push({type:"text",text:y}),e={role:"user",content:l}}else e=y;let l={app_code:d.app_code||"",...R.includes("temperature")&&{temperature:m},...R.includes("max_new_tokens")&&{max_new_tokens:p},select_param:w,...R.includes("resource")&&{select_param:"string"==typeof h?h:JSON.stringify(h)||u.select_param}};await c(e,l),1===P.current&&await g()};return(0,v.useImperativeHandle)(t,()=>({setUserInput:N})),(0,a.jsx)("div",{className:"flex flex-col w-5/6 mx-auto pt-4 pb-6 bg-transparent",children:(0,a.jsxs)("div",{className:"flex flex-1 flex-col bg-white dark:bg-[rgba(255,255,255,0.16)] px-5 py-4 pt-2 rounded-xl relative border-t border-b border-l border-r dark:border-[rgba(255,255,255,0.6)] ".concat(k?"border-[#0c75fc]":""),id:"input-panel",children:[(0,a.jsx)(ef,{ctrl:n}),(0,a.jsx)(D.default.TextArea,{placeholder:s("input_tips"),className:"w-full h-20 resize-none border-0 p-0 focus:shadow-none dark:bg-transparent",value:y,onKeyDown:e=>{"Enter"===e.key&&!e.shiftKey&&!S&&(e.preventDefault(),y.trim()&&!o&&E())},onChange:e=>{N(e.target.value)},onFocus:()=>{Z(!0)},onBlur:()=>Z(!1),onCompositionStart:()=>C(!0),onCompositionEnd:()=>C(!1)}),(0,a.jsx)(G.ZP,{type:"primary",className:q()("flex items-center justify-center w-14 h-8 rounded-lg text-sm absolute right-4 bottom-3 bg-button-gradient border-0",{"cursor-not-allowed":!y.trim()}),onClick:()=>{!o&&y.trim()&&E()},children:o?(0,a.jsx)(x.Z,{spinning:o,indicator:(0,a.jsx)(i.Z,{className:"text-white"})}):s("sent")})]})})}),ev=l(20046),e_=l(48689),eb=l(14313),ej=l(94155),ew=l(21612),ey=l(85576),eN=l(86250);let{Sider:ek}=ew.default,eZ={display:"flex",alignItems:"center",justifyContent:"center",width:16,height:48,position:"absolute",top:"50%",transform:"translateY(-50%)",border:"1px solid #d6d8da",borderRadius:8,right:-8},eS=e=>{var t,l;let{item:s,refresh:o,historyLoading:i}=e,{t:c}=(0,_.$G)(),d=(0,F.useRouter)(),u=(0,F.useSearchParams)(),p=null!==(t=null==u?void 0:u.get("id"))&&void 0!==t?t:"",x=null!==(l=null==u?void 0:u.get("scene"))&&void 0!==l?l:"",{setCurrentDialogInfo:f}=(0,v.useContext)(r.p),b=(0,v.useMemo)(()=>s.default?s.default&&!p&&!x:s.conv_uid===p&&s.chat_mode===x,[p,x,s]),j=()=>{ey.default.confirm({title:c("delete_chat"),content:c("delete_chat_confirm"),centered:!0,onOk:async()=>{let[e]=await (0,n.Vx)((0,n.MX)(s.conv_uid));e||(await (null==o?void 0:o()),s.conv_uid===p&&d.push("/chat"))}})};return(0,a.jsxs)(eN.Z,{align:"center",className:"group/item w-full h-12 p-3 rounded-lg hover:bg-white dark:hover:bg-theme-dark cursor-pointer mb-2 relative ".concat(b?"bg-white dark:bg-theme-dark bg-opacity-100":""),onClick:()=>{i||(s.default||null==f||f({chat_scene:s.chat_mode,app_code:s.app_code}),localStorage.setItem("cur_dialog_info",JSON.stringify({chat_scene:s.chat_mode,app_code:s.app_code})),d.push(s.default?"/chat":"?scene=".concat(s.chat_mode,"&id=").concat(s.conv_uid)))},children:[(0,a.jsx)(Q.Z,{title:s.chat_mode,children:(0,a.jsx)("div",{className:"flex items-center justify-center w-8 h-8 rounded-lg mr-3 bg-white",children:s.icon})}),(0,a.jsx)("div",{className:"flex flex-1 line-clamp-1",children:(0,a.jsx)(h.Z.Text,{ellipsis:{tooltip:!0},children:s.label})}),!s.default&&(0,a.jsxs)("div",{className:"flex gap-1 ml-1",children:[(0,a.jsx)("div",{className:"group-hover/item:opacity-100 cursor-pointer opacity-0",onClick:e=>{e.stopPropagation()},children:(0,a.jsx)(ev.Z,{style:{fontSize:16},onClick:()=>{let e=g()("".concat(location.origin,"/chat?scene=").concat(s.chat_mode,"&id=").concat(s.conv_uid));m.ZP[e?"success":"error"](e?c("copy_success"):c("copy_failed"))}})}),(0,a.jsx)("div",{className:"group-hover/item:opacity-100 cursor-pointer opacity-0",onClick:e=>{e.stopPropagation(),j()},children:(0,a.jsx)(e_.Z,{style:{fontSize:16}})})]}),(0,a.jsx)("div",{className:" w-1 rounded-sm bg-[#0c75fc] absolute top-1/2 left-0 -translate-y-1/2 transition-all duration-500 ease-in-out ".concat(b?"h-5":"w-0 h-0")})]})};var eC=e=>{var t;let{dialogueList:l=[],refresh:n,historyLoading:s,listLoading:o,order:i}=e,c=(0,F.useSearchParams)(),d=null!==(t=null==c?void 0:c.get("scene"))&&void 0!==t?t:"",{t:u}=(0,_.$G)(),{mode:m}=(0,v.useContext)(r.p),[p,h]=(0,v.useState)("chat_dashboard"===d),f=(0,v.useMemo)(()=>p?{...eZ,right:-16,borderRadius:"0px 8px 8px 0",borderLeft:"1px solid #d5e5f6"}:{...eZ,borderLeft:"1px solid #d6d8da"},[p]),g=(0,v.useMemo)(()=>{let e=l[1]||[];return(null==e?void 0:e.length)>0?e.map(e=>({...e,label:e.user_input||e.select_param,key:e.conv_uid,icon:(0,a.jsx)(j.Z,{scene:e.chat_mode}),default:!1})):[]},[l]);return(0,a.jsx)(ek,{className:"bg-[#ffffff80] border-r border-[#d5e5f6] dark:bg-[#ffffff29] dark:border-[#ffffff66]",theme:m,width:280,collapsible:!0,collapsed:p,collapsedWidth:0,trigger:p?(0,a.jsx)(eb.Z,{className:"text-base"}):(0,a.jsx)(ej.Z,{className:"text-base"}),zeroWidthTriggerStyle:f,onCollapse:e=>h(e),children:(0,a.jsxs)("div",{className:"flex flex-col h-full w-full bg-transparent px-4 pt-6 ",children:[(0,a.jsx)("div",{className:"w-full text-base font-semibold text-[#1c2533] dark:text-[rgba(255,255,255,0.85)] mb-4 line-clamp-1",children:u("dialog_list")}),(0,a.jsxs)(eN.Z,{flex:1,vertical:!0,className:"overflow-y-auto",children:[(0,a.jsx)(eS,{item:{label:u("assistant"),key:"default",icon:(0,a.jsx)(O(),{src:"/LOGO_SMALL.png",alt:"default",width:24,height:24,className:"flex-1"}),default:!0},order:i}),(0,a.jsx)(x.Z,{spinning:o,className:"mt-2",children:!!(null==g?void 0:g.length)&&g.map(e=>(0,a.jsx)(eS,{item:e,refresh:n,historyLoading:s,order:i},null==e?void 0:e.key))})]})]})})};let eP=S()(()=>Promise.all([l.e(7034),l.e(6106),l.e(8674),l.e(3166),l.e(2837),l.e(2168),l.e(8163),l.e(4567),l.e(9773),l.e(4035),l.e(1154),l.e(3764),l.e(5e3),l.e(3768),l.e(4434),l.e(2800)]).then(l.bind(l,96307)),{loadableGenerated:{webpack:()=>[96307]},ssr:!1}),eR=S()(()=>Promise.all([l.e(7034),l.e(6106),l.e(8674),l.e(3166),l.e(2837),l.e(2168),l.e(8163),l.e(1265),l.e(7728),l.e(4567),l.e(2398),l.e(9773),l.e(4035),l.e(1154),l.e(2510),l.e(3345),l.e(9202),l.e(5265),l.e(2640),l.e(3764),l.e(5e3),l.e(4019),l.e(3768),l.e(5789),l.e(3913),l.e(4434),l.e(8624)]).then(l.bind(l,8334)),{loadableGenerated:{webpack:()=>[8334]},ssr:!1}),{Content:eE}=ew.default,eM=(0,v.createContext)({history:[],replyLoading:!1,scrollRef:{current:null},canAbort:!1,chartsData:[],agent:"",currentDialogue:{},appInfo:{},temperatureValue:.5,maxNewTokensValue:1024,resourceValue:{},modelValue:"",setModelValue:()=>{},setResourceValue:()=>{},setTemperatureValue:()=>{},setMaxNewTokensValue:()=>{},setAppInfo:()=>{},setAgent:()=>{},setCanAbort:()=>{},setReplyLoading:()=>{},refreshDialogList:()=>{},refreshHistory:()=>{},refreshAppInfo:()=>{},setHistory:()=>{},handleChat:()=>Promise.resolve()});var eT=()=>{var e,t,l,i;let{model:c,currentDialogInfo:d}=(0,v.useContext)(r.p),{isContract:u,setIsContract:m,setIsMenuExpand:p}=(0,v.useContext)(r.p),{chat:h,ctrl:f}=(0,o.Z)({app_code:d.app_code||""}),g=(0,F.useSearchParams)(),_=null!==(e=null==g?void 0:g.get("id"))&&void 0!==e?e:"",j=null!==(t=null==g?void 0:g.get("scene"))&&void 0!==t?t:"",w=null!==(l=null==g?void 0:g.get("knowledge_id"))&&void 0!==l?l:"",y=null!==(i=null==g?void 0:g.get("db_name"))&&void 0!==i?i:"",N=(0,v.useRef)(null),k=(0,v.useRef)(1),Z=(0,v.useRef)(null),S=(0,v.useRef)(void 0),[C,R]=(0,v.useState)([]),[E]=(0,v.useState)(),[M,T]=(0,v.useState)(!1),[I,O]=(0,v.useState)(!1),[V,L]=(0,v.useState)(""),[z,D]=(0,v.useState)({}),[G,H]=(0,v.useState)(),[q,J]=(0,v.useState)(),[U,W]=(0,v.useState)(),[$,K]=(0,v.useState)("");(0,v.useEffect)(()=>{var e,t,l,a,r,n,s,o;H((null===(e=null==z?void 0:null===(t=z.param_need)||void 0===t?void 0:t.filter(e=>"temperature"===e.type)[0])||void 0===e?void 0:e.value)||.6),J((null===(l=null==z?void 0:null===(a=z.param_need)||void 0===a?void 0:a.filter(e=>"max_new_tokens"===e.type)[0])||void 0===l?void 0:l.value)||4e3),K((null===(r=null==z?void 0:null===(n=z.param_need)||void 0===n?void 0:n.filter(e=>"model"===e.type)[0])||void 0===r?void 0:r.value)||c),W(w||y||(null===(s=null==z?void 0:null===(o=z.param_need)||void 0===o?void 0:o.filter(e=>"resource"===e.type)[0])||void 0===s?void 0:s.bind_value))},[z,y,w,c]),(0,v.useEffect)(()=>{p("chat_dashboard"!==j),_&&j&&m(!1)},[_,j,m,p]);let X=(0,v.useMemo)(()=>!_&&!j,[_,j]),{data:Y=[],refresh:Q,loading:ee}=(0,b.Z)(async()=>await (0,n.Vx)((0,n.iP)())),{run:et,refresh:el}=(0,b.Z)(async()=>await (0,n.Vx)((0,n.BN)({...d})),{manual:!0,onSuccess:e=>{let[,t]=e;D(t||{})}}),ea=(0,v.useMemo)(()=>{let[,e]=Y;return(null==e?void 0:e.find(e=>e.conv_uid===_))||{}},[_,Y]);(0,v.useEffect)(()=>{let e=(0,A.a_)();d.chat_scene!==j||X||e&&e.message||et()},[_,d,X,et,j]);let{run:er,loading:en,refresh:es}=(0,b.Z)(async()=>await (0,n.Vx)((0,n.$i)(_)),{manual:!0,onSuccess:e=>{let[,t]=e,l=null==t?void 0:t.filter(e=>"view"===e.role);l&&l.length>0&&(k.current=l[l.length-1].order+1),R(t||[])}}),eo=(0,v.useCallback)((e,t)=>new Promise(l=>{let a=(0,A.a_)(),r=new AbortController;if(T(!0),C&&C.length>0){var n,s;let e=null==C?void 0:C.filter(e=>"view"===e.role),t=null==C?void 0:C.filter(e=>"human"===e.role);k.current=((null===(n=e[e.length-1])||void 0===n?void 0:n.order)||(null===(s=t[t.length-1])||void 0===s?void 0:s.order))+1}let o="";if("string"==typeof e)o=e;else{let t=e.content||[],l=t.filter(e=>"text"===e.type),a=t.filter(e=>"text"!==e.type);l.length>0&&(o=l.map(e=>e.text).join(" "));let r=a.map(e=>{if("image_url"===e.type){var t,l;let a=(null===(t=e.image_url)||void 0===t?void 0:t.url)||"",r=(0,A.Hb)(a),n=(null===(l=e.image_url)||void 0===l?void 0:l.fileName)||"image";return"\n![".concat(n,"](").concat(r,")")}if("video"!==e.type)return"\n[".concat(e.type," attachment]");{let t=e.video||"",l=(0,A.Hb)(t);return"\n[Video](".concat(l,")")}}).join("\n");r&&(o=o+"\n"+r)}let i=[...a&&a.id===_?[]:C,{role:"human",context:o,model_name:(null==t?void 0:t.model_name)||$,order:k.current,time_stamp:0},{role:"view",context:"",model_name:(null==t?void 0:t.model_name)||$,order:k.current,time_stamp:0,thinking:!0}],c=i.length-1;R([...i]);let d={chat_mode:j,model_name:$,user_input:e};if(t&&Object.assign(d,t),"chat_dashboard"!==j){let e=S.current||localStorage.getItem("dbgpt_prompt_code_".concat(_));e&&(d.prompt_code=e,localStorage.removeItem("dbgpt_prompt_code_".concat(_)))}h({data:d,ctrl:r,chatId:_,onMessage:e=>{O(!0),(null==t?void 0:t.incremental)?(i[c].context+=e,i[c].thinking=!1):(i[c].context=e,i[c].thinking=!1),R([...i])},onDone:()=>{T(!1),O(!1),l()},onClose:()=>{T(!1),O(!1),l()},onError:e=>{T(!1),O(!1),i[c].context=e,i[c].thinking=!1,R([...i]),l()}})}),[_,C,$,h,j]);return(0,em.Z)(async()=>{if(X)return;let e=(0,A.a_)();e&&e.id===_||await er()},[_,j,er]),(0,v.useEffect)(()=>{X&&(k.current=1,R([]))},[X]),(0,a.jsx)(eM.Provider,{value:{history:C,replyLoading:M,scrollRef:N,canAbort:I,chartsData:E||[],agent:V,currentDialogue:ea,appInfo:z,temperatureValue:G,maxNewTokensValue:q,resourceValue:U,modelValue:$,setModelValue:K,setResourceValue:W,setTemperatureValue:H,setMaxNewTokensValue:J,setAppInfo:D,setAgent:L,setCanAbort:O,setReplyLoading:T,handleChat:eo,refreshDialogList:Q,refreshHistory:es,refreshAppInfo:el,setHistory:R},children:(0,a.jsx)(eN.Z,{flex:1,children:(0,a.jsxs)(ew.default,{className:"bg-gradient-light bg-cover bg-center dark:bg-gradient-dark",children:[(0,a.jsx)(eC,{refresh:Q,dialogueList:Y,listLoading:ee,historyLoading:en,order:k}),(0,a.jsxs)(ew.default,{className:"bg-transparent",children:["chat_dashboard"===j?u?(0,a.jsx)(eP,{}):(0,a.jsx)(eR,{}):X?(0,a.jsx)(eE,{children:(0,a.jsx)(B,{})}):(0,a.jsx)(x.Z,{spinning:en,className:"w-full h-full m-auto",children:(0,a.jsxs)(eE,{className:"flex flex-col h-screen",children:[(0,a.jsx)(P,{ref:N,className:"flex-1"}),(0,a.jsx)(eg,{ref:Z,ctrl:f})]})}),(0,a.jsx)(s.Z,{submit:e=>{if("chat_dashboard"===j)localStorage.setItem("dbgpt_prompt_code_".concat(_),e.prompt_code);else{var t,l;null===(t=Z.current)||void 0===t||null===(l=t.setUserInput)||void 0===l||l.call(t,e.content),S.current=e.prompt_code,localStorage.setItem("dbgpt_prompt_code_".concat(_),e.prompt_code)}},chat_scene:j})]})]})})})}},30119:function(e,t,l){"use strict";l.d(t,{Tk:function(){return d},PR:function(){return u}});var a,r=l(62418),n=l(45360);l(96486);var s=l(87066),o=l(83454);let i=s.default.create({baseURL:null!==(a=o.env.API_BASE_URL)&&void 0!==a?a:""});i.defaults.timeout=1e4,i.interceptors.response.use(e=>e.data,e=>Promise.reject(e));let c={"content-type":"application/json","User-Id":(0,r.n5)()},d=(e,t)=>{if(t){let l=Object.keys(t).filter(e=>void 0!==t[e]&&""!==t[e]).map(e=>"".concat(e,"=").concat(t[e])).join("&");l&&(e+="?".concat(l))}return i.get("/api"+e,{headers:c}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})},u=(e,t)=>i.post(e,t,{headers:c}).then(e=>e).catch(e=>{n.ZP.error(e),Promise.reject(e)})},11873:function(){}}]); \ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/83cd118e-742d8c871037221a.js b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/83cd118e-4096a239f8273fef.js similarity index 99% rename from packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/83cd118e-742d8c871037221a.js rename to packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/83cd118e-4096a239f8273fef.js index cc10bdc74..d530af5e9 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/83cd118e-742d8c871037221a.js +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/83cd118e-4096a239f8273fef.js @@ -1 +1 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7728],{445:function(t,e,n){n.d(e,{$6:function(){return ax},$p:function(){return iN},Aw:function(){return ro},Cd:function(){return r3},Cm:function(){return eA},Dk:function(){return rg},E9:function(){return tL},Ee:function(){return ae},F6:function(){return tT},G$:function(){return nW},G0:function(){return iQ},GL:function(){return eY},GZ:function(){return rX},I8:function(){return tb},L1:function(){return iC},N1:function(){return n7},NB:function(){return ru},O4:function(){return tB},Oi:function(){return ib},Pj:function(){return r8},R:function(){return nr},RV:function(){return rJ},Rr:function(){return rd},Rx:function(){return e3},UL:function(){return ac},V1:function(){return t5},Vl:function(){return tY},Xz:function(){return aP},YR:function(){return nD},ZA:function(){return r7},_O:function(){return tG},aH:function(){return au},b_:function(){return r6},bn:function(){return tE},gz:function(){return nw},h0:function(){return t8},iM:function(){return tQ},jB:function(){return rh},jf:function(){return tD},k9:function(){return at},lu:function(){return no},mN:function(){return tA},mg:function(){return as},o6:function(){return e4},qA:function(){return na},s$:function(){return r5},ux:function(){return av},x1:function(){return ai},xA:function(){return rn},xv:function(){return ad},y$:function(){return aa}});var i,r,a,o,s,l,u,c,h,d,f,v,p,g,y,m,k,E,x,T,b,N,w,S,P,M=n(99660),C=n(82808),A=n(11350),R=n(25585),Z=n(51963),O=n(98568),L=n(16200),I=n(21129),D=n(77160),_=n(98333),G=n(85975),F=n(35600),B=n(32945),U=n(31437),Y=n(85407),V=n(58076),X=n(82993),H=n(70465),z=n(34971),W=n(62436),j=n(1010),q=n(82817),$=n(23198),K=n(81773),J=n(94918),Q=n(27872),tt=n(30501),te=n(46516),tn=n(76686),ti=n(54947),tr=n(91952),ta=n(58159),to=n(24960),ts=n(52176),tl=n(55265),tu=n(92989),tc=n(90046),th=n(88998),td=n(27567),tf=n(11702),tv=n(43586),tp=n(39506),tg=n(29885),ty=n(88294),tm=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self&&self,{exports:{}});tm.exports=function(){function t(t,e,n){var i=t[e];t[e]=t[n],t[n]=i}function e(t,e){return te?1:0}var n=function(t){void 0===t&&(t=9),this._maxEntries=Math.max(4,t),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),this.clear()};function i(t,e){r(t,0,t.children.length,e,t)}function r(t,e,n,i,r){r||(r=d(null)),r.minX=1/0,r.minY=1/0,r.maxX=-1/0,r.maxY=-1/0;for(var o=e;o=t.minX&&e.maxY>=t.minY}function d(t){return{children:t,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function f(n,i,r,a,o){for(var s=[i,r];s.length;)if(r=s.pop(),i=s.pop(),!(r-i<=a)){var l=i+Math.ceil((r-i)/a/2)*a;(function e(n,i,r,a,o){for(;a>r;){if(a-r>600){var s=a-r+1,l=i-r+1,u=Math.log(s),c=.5*Math.exp(2*u/3),h=.5*Math.sqrt(u*c*(s-c)/s)*(l-s/2<0?-1:1),d=Math.max(r,Math.floor(i-l*c/s+h)),f=Math.min(a,Math.floor(i+(s-l)*c/s+h));e(n,i,d,f,o)}var v=n[i],p=r,g=a;for(t(n,r,i),o(n[a],v)>0&&t(n,r,a);po(n[p],v);)p++;for(;o(n[g],v)>0;)g--}0===o(n[r],v)?t(n,r,g):t(n,++g,a),g<=i&&(r=g+1),i<=g&&(a=g-1)}})(n,l,i||0,r||n.length-1,o||e),s.push(i,l,l,r)}}return n.prototype.all=function(){return this._all(this.data,[])},n.prototype.search=function(t){var e=this.data,n=[];if(!h(t,e))return n;for(var i=this.toBBox,r=[];e;){for(var a=0;a=0;)if(r[e].children.length>this._maxEntries)this._split(r,e),e--;else break;this._adjustParentBBoxes(i,r,e)},n.prototype._split=function(t,e){var n=t[e],r=n.children.length,a=this._minEntries;this._chooseSplitAxis(n,a,r);var o=this._chooseSplitIndex(n,a,r),s=d(n.children.splice(o,n.children.length-o));s.height=n.height,s.leaf=n.leaf,i(n,this.toBBox),i(s,this.toBBox),e?t[e-1].children.push(s):this._splitRoot(n,s)},n.prototype._splitRoot=function(t,e){this.data=d([t,e]),this.data.height=t.height+1,this.data.leaf=!1,i(this.data,this.toBBox)},n.prototype._chooseSplitIndex=function(t,e,n){for(var i,a=1/0,o=1/0,s=e;s<=n-e;s++){var u=r(t,0,s,this.toBBox),c=r(t,s,n,this.toBBox),h=function(t,e){var n=Math.max(t.minX,e.minX),i=Math.max(t.minY,e.minY);return Math.max(0,Math.min(t.maxX,e.maxX)-n)*Math.max(0,Math.min(t.maxY,e.maxY)-i)}(u,c),d=l(u)+l(c);h=e;f--){var v=t.children[f];a(l,t.leaf?o(v):v),c+=u(l)}return c},n.prototype._adjustParentBBoxes=function(t,e,n){for(var i=n;i>=0;i--)a(e[i],t)},n.prototype._condense=function(t){for(var e=t.length-1,n=void 0;e>=0;e--)0===t[e].children.length?e>0?(n=t[e-1].children).splice(n.indexOf(t[e]),1):this.clear():i(t[e],this.toBBox)},n}();var tk=tm.exports,tE=((i={}).GROUP="g",i.FRAGMENT="fragment",i.CIRCLE="circle",i.ELLIPSE="ellipse",i.IMAGE="image",i.RECT="rect",i.LINE="line",i.POLYLINE="polyline",i.POLYGON="polygon",i.TEXT="text",i.PATH="path",i.HTML="html",i.MESH="mesh",i),tx=((r={})[r.ZERO=0]="ZERO",r[r.NEGATIVE_ONE=1]="NEGATIVE_ONE",r),tT=(0,A.Z)(function t(){(0,C.Z)(this,t),this.plugins=[]},[{key:"addRenderingPlugin",value:function(t){this.plugins.push(t),this.context.renderingPlugins.push(t)}},{key:"removeAllRenderingPlugins",value:function(){var t=this;this.plugins.forEach(function(e){var n=t.context.renderingPlugins.indexOf(e);n>=0&&t.context.renderingPlugins.splice(n,1)})}}]),tb=(0,A.Z)(function t(e){(0,C.Z)(this,t),this.clipSpaceNearZ=tx.NEGATIVE_ONE,this.plugins=[],this.config=(0,M.Z)({enableDirtyCheck:!0,enableCulling:!1,enableAutoRendering:!0,enableDirtyRectangleRendering:!0,enableDirtyRectangleRenderingDebug:!1,enableSizeAttenuation:!0,enableRenderingOptimization:!1},e)},[{key:"registerPlugin",value:function(t){-1===this.plugins.findIndex(function(e){return e===t})&&this.plugins.push(t)}},{key:"unregisterPlugin",value:function(t){var e=this.plugins.findIndex(function(e){return e===t});e>-1&&this.plugins.splice(e,1)}},{key:"getPlugins",value:function(){return this.plugins}},{key:"getPlugin",value:function(t){return this.plugins.find(function(e){return e.name===t})}},{key:"getConfig",value:function(){return this.config}},{key:"setConfig",value:function(t){Object.assign(this.config,t)}}]),tN=D.IH,tw=D.JG,tS=D.Fp,tP=D.VV,tM=D.bA,tC=D.lu,tA=function(){function t(){(0,C.Z)(this,t),this.center=[0,0,0],this.halfExtents=[0,0,0],this.min=[0,0,0],this.max=[0,0,0]}return(0,A.Z)(t,[{key:"update",value:function(t,e){tw(this.center,t),tw(this.halfExtents,e),tC(this.min,this.center,this.halfExtents),tN(this.max,this.center,this.halfExtents)}},{key:"setMinMax",value:function(t,e){tN(this.center,e,t),tM(this.center,this.center,.5),tC(this.halfExtents,e,t),tM(this.halfExtents,this.halfExtents,.5),tw(this.min,t),tw(this.max,e)}},{key:"getMin",value:function(){return this.min}},{key:"getMax",value:function(){return this.max}},{key:"add",value:function(e){if(!t.isEmpty(e)){if(t.isEmpty(this)){this.setMinMax(e.getMin(),e.getMax());return}var n=this.center,i=n[0],r=n[1],a=n[2],o=this.halfExtents,s=o[0],l=o[1],u=o[2],c=i-s,h=i+s,d=r-l,f=r+l,v=a-u,p=a+u,g=e.center,y=g[0],m=g[1],k=g[2],E=e.halfExtents,x=E[0],T=E[1],b=E[2],N=y-x,w=y+x,S=m-T,P=m+T,M=k-b,C=k+b;Nh&&(h=w),Sf&&(f=P),Mp&&(p=C),n[0]=(c+h)*.5,n[1]=(d+f)*.5,n[2]=(v+p)*.5,o[0]=(h-c)*.5,o[1]=(f-d)*.5,o[2]=(p-v)*.5,this.min[0]=c,this.min[1]=d,this.min[2]=v,this.max[0]=h,this.max[1]=f,this.max[2]=p}}},{key:"setFromTransformedAABB",value:function(t,e){var n=this.center,i=this.halfExtents,r=t.center,a=t.halfExtents,o=e[0],s=e[4],l=e[8],u=e[1],c=e[5],h=e[9],d=e[2],f=e[6],v=e[10],p=Math.abs(o),g=Math.abs(s),y=Math.abs(l),m=Math.abs(u),k=Math.abs(c),E=Math.abs(h),x=Math.abs(d),T=Math.abs(f),b=Math.abs(v);n[0]=e[12]+o*r[0]+s*r[1]+l*r[2],n[1]=e[13]+u*r[0]+c*r[1]+h*r[2],n[2]=e[14]+d*r[0]+f*r[1]+v*r[2],i[0]=p*a[0]+g*a[1]+y*a[2],i[1]=m*a[0]+k*a[1]+E*a[2],i[2]=x*a[0]+T*a[1]+b*a[2],tC(this.min,n,i),tN(this.max,n,i)}},{key:"intersects",value:function(t){var e=this.getMax(),n=this.getMin(),i=t.getMax(),r=t.getMin();return n[0]<=i[0]&&e[0]>=r[0]&&n[1]<=i[1]&&e[1]>=r[1]&&n[2]<=i[2]&&e[2]>=r[2]}},{key:"intersection",value:function(e){if(!this.intersects(e))return null;var n=new t,i=tS([0,0,0],this.getMin(),e.getMin()),r=tP([0,0,0],this.getMax(),e.getMax());return n.setMinMax(i,r),n}},{key:"getNegativeFarPoint",value:function(t){return 273===t.pnVertexFlag?tw([0,0,0],this.min):272===t.pnVertexFlag?[this.min[0],this.min[1],this.max[2]]:257===t.pnVertexFlag?[this.min[0],this.max[1],this.min[2]]:256===t.pnVertexFlag?[this.min[0],this.max[1],this.max[2]]:17===t.pnVertexFlag?[this.max[0],this.min[1],this.min[2]]:16===t.pnVertexFlag?[this.max[0],this.min[1],this.max[2]]:1===t.pnVertexFlag?[this.max[0],this.max[1],this.min[2]]:[this.max[0],this.max[1],this.max[2]]}},{key:"getPositiveFarPoint",value:function(t){return 273===t.pnVertexFlag?tw([0,0,0],this.max):272===t.pnVertexFlag?[this.max[0],this.max[1],this.min[2]]:257===t.pnVertexFlag?[this.max[0],this.min[1],this.max[2]]:256===t.pnVertexFlag?[this.max[0],this.min[1],this.min[2]]:17===t.pnVertexFlag?[this.min[0],this.max[1],this.max[2]]:16===t.pnVertexFlag?[this.min[0],this.max[1],this.min[2]]:1===t.pnVertexFlag?[this.min[0],this.min[1],this.max[2]]:[this.min[0],this.min[1],this.min[2]]}}],[{key:"isEmpty",value:function(t){return!t||0===t.halfExtents[0]&&0===t.halfExtents[1]&&0===t.halfExtents[2]}}])}(),tR=(0,A.Z)(function t(e,n){(0,C.Z)(this,t),this.distance=e||0,this.normal=n||D.al(0,1,0),this.updatePNVertexFlag()},[{key:"updatePNVertexFlag",value:function(){this.pnVertexFlag=(Number(this.normal[0]>=0)<<8)+(Number(this.normal[1]>=0)<<4)+Number(this.normal[2]>=0)}},{key:"distanceToPoint",value:function(t){return D.AK(t,this.normal)-this.distance}},{key:"normalize",value:function(){var t=1/D.Zh(this.normal);D.bA(this.normal,this.normal,t),this.distance*=t}},{key:"intersectsLine",value:function(t,e,n){var i=this.distanceToPoint(t),r=i/(i-this.distanceToPoint(e)),a=r>=0&&r<=1;return a&&n&&D.t7(n,t,e,r),a}}]),tZ=((a={})[a.OUTSIDE=4294967295]="OUTSIDE",a[a.INSIDE=0]="INSIDE",a[a.INDETERMINATE=2147483647]="INDETERMINATE",a),tO=(0,A.Z)(function t(e){if((0,C.Z)(this,t),this.planes=[],e)this.planes=e;else for(var n=0;n<6;n++)this.planes.push(new tR)},[{key:"extractFromVPMatrix",value:function(t){var e=(0,L.Z)(t,16),n=e[0],i=e[1],r=e[2],a=e[3],o=e[4],s=e[5],l=e[6],u=e[7],c=e[8],h=e[9],d=e[10],f=e[11],v=e[12],p=e[13],g=e[14],y=e[15];D.t8(this.planes[0].normal,a-n,u-o,f-c),this.planes[0].distance=y-v,D.t8(this.planes[1].normal,a+n,u+o,f+c),this.planes[1].distance=y+v,D.t8(this.planes[2].normal,a+i,u+s,f+h),this.planes[2].distance=y+p,D.t8(this.planes[3].normal,a-i,u-s,f-h),this.planes[3].distance=y-p,D.t8(this.planes[4].normal,a-r,u-l,f-d),this.planes[4].distance=y-g,D.t8(this.planes[5].normal,a+r,u+l,f+d),this.planes[5].distance=y+g,this.planes.forEach(function(t){t.normalize(),t.updatePNVertexFlag()})}}]),tL=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;(0,C.Z)(this,t),this.x=0,this.y=0,this.x=e,this.y=n}return(0,A.Z)(t,[{key:"clone",value:function(){return new t(this.x,this.y)}},{key:"copyFrom",value:function(t){this.x=t.x,this.y=t.y}}])}(),tI=function(){function t(e,n,i,r){(0,C.Z)(this,t),this.x=e,this.y=n,this.width=i,this.height=r,this.left=e,this.right=e+i,this.top=n,this.bottom=n+r}return(0,A.Z)(t,[{key:"toJSON",value:function(){}}],[{key:"fromRect",value:function(e){return new t(e.x,e.y,e.width,e.height)}},{key:"applyTransform",value:function(e,n){var i=_.al(e.x,e.y,0,1),r=_.al(e.x+e.width,e.y,0,1),a=_.al(e.x,e.y+e.height,0,1),o=_.al(e.x+e.width,e.y+e.height,0,1),s=_.Ue(),l=_.Ue(),u=_.Ue(),c=_.Ue();_.fF(s,i,n),_.fF(l,r,n),_.fF(u,a,n),_.fF(c,o,n);var h=Math.min(s[0],l[0],u[0],c[0]),d=Math.min(s[1],l[1],u[1],c[1]),f=Math.max(s[0],l[0],u[0],c[0]),v=Math.max(s[1],l[1],u[1],c[1]);return t.fromRect({x:h,y:d,width:f-h,height:v-d})}}])}(),tD="Method not implemented.",t_="Use document.documentElement instead.";function tG(t){return void 0===t?0:t>360||t<-360?t%360:t}var tF=D.Ue();function tB(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=!(arguments.length>3)||void 0===arguments[3]||arguments[3];return Array.isArray(t)&&3===t.length?i?D.d9(t):D.JG(tF,t):(0,Y.Z)(t)?i?D.al(t,e,n):D.t8(tF,t,e,n):i?D.al(t[0],t[1]||e,t[2]||n):D.t8(tF,t[0],t[1]||e,t[2]||n)}var tU=Math.PI/180;function tY(t){return t*tU}var tV=180/Math.PI,tX=Math.PI/2;function tH(t,e){var n,i,r,a,o,s,l,u,c,h,d,f,v,p,g,y,m;return 16===e.length?(r=G.getScaling(D.Ue(),e),o=(a=(0,L.Z)(r,3))[0],s=a[1],l=a[2],(u=Math.asin(-e[2]/o))-tX?(n=Math.atan2(e[6]/s,e[10]/l),i=Math.atan2(e[1]/o,e[0]/o)):(i=0,n=-Math.atan2(e[4]/s,e[5]/s)):(i=0,n=Math.atan2(e[4]/s,e[5]/s)),t[0]=n,t[1]=u,t[2]=i,t):(c=e[0],h=e[1],d=e[2],f=e[3],y=c*c+(v=h*h)+(p=d*d)+(g=f*f),(m=c*f-h*d)>.499995*y?(t[0]=tX,t[1]=2*Math.atan2(h,c),t[2]=0):m<-.499995*y?(t[0]=-tX,t[1]=2*Math.atan2(h,c),t[2]=0):(t[0]=Math.asin(2*(c*d-f*h)),t[1]=Math.atan2(2*(c*f+h*d),1-2*(p+g)),t[2]=Math.atan2(2*(c*h+d*f),1-2*(v+p))),t)}function tz(t){var e=t[0],n=t[1],i=t[3],r=t[4],a=Math.sqrt(e*e+n*n),o=Math.sqrt(i*i+r*r);if(e*r-n*i<0&&(e7&&void 0!==arguments[7]&&arguments[7],c=2*a,h=n-e,d=i-r,f=o-a,v=o*a;u?(s=-o/f,l=-v/f):(s=-(o+a)/f,l=-2*v/f),t[0]=c/h,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=c/d,t[6]=0,t[7]=0,t[8]=(n+e)/h,t[9]=(i+r)/d,t[10]=s,t[11]=-1,t[12]=0,t[13]=0,t[14]=l,t[15]=0}(this.projectionMatrix,l,l+s,a-o,a,t,this.far,this.clipSpaceNearZ===tx.ZERO),G.invert(this.projectionMatrixInverse,this.projectionMatrix),this.triggerUpdate(),this}},{key:"setOrthographic",value:function(t,e,n,i,r,a){this.projectionMode=t1.ORTHOGRAPHIC,this.rright=e,this.left=t,this.top=n,this.bottom=i,this.near=r,this.far=a;var o,s=(this.rright-this.left)/(2*this.zoom),l=(this.top-this.bottom)/(2*this.zoom),u=(this.rright+this.left)/2,c=(this.top+this.bottom)/2,h=u-s,d=u+s,f=c+l,v=c-l;if(null!==(o=this.view)&&void 0!==o&&o.enabled){var p=(this.rright-this.left)/this.view.fullWidth/this.zoom,g=(this.top-this.bottom)/this.view.fullHeight/this.zoom;h+=p*this.view.offsetX,d=h+p*this.view.width,f-=g*this.view.offsetY,v=f-g*this.view.height}return this.clipSpaceNearZ===tx.NEGATIVE_ONE?G.ortho(this.projectionMatrix,h,d,f,v,r,a):G.orthoZO(this.projectionMatrix,h,d,f,v,r,a),G.invert(this.projectionMatrixInverse,this.projectionMatrix),this._getOrthoMatrix(),this.triggerUpdate(),this}},{key:"setPosition",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.position[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.position[2],i=tB(t,e,n);return this._setPosition(i),this.setFocalPoint(this.focalPoint),this.triggerUpdate(),this}},{key:"setFocalPoint",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.focalPoint[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.focalPoint[2],i=D.al(0,1,0);if(this.focalPoint=tB(t,e,n),this.trackingMode===t0.CINEMATIC){var r=D.$X(D.Ue(),this.focalPoint,this.position);t=r[0],e=r[1],n=r[2];var a=Math.asin(e/D.kE(r))*tV,o=90+Math.atan2(n,t)*tV,s=G.create();G.rotateY(s,s,o*tU),G.rotateX(s,s,a*tU),i=D.fF(D.Ue(),[0,1,0],s)}return G.invert(this.matrix,G.lookAt(G.create(),this.position,this.focalPoint,i)),this._getAxes(),this._getDistance(),this._getAngles(),this.triggerUpdate(),this}},{key:"getDistance",value:function(){return this.distance}},{key:"getDistanceVector",value:function(){return this.distanceVector}},{key:"setDistance",value:function(t){if(this.distance===t||t<0)return this;this.distance=t,this.distance<2e-4&&(this.distance=2e-4),this.dollyingStep=this.distance/100;var e=D.Ue();t=this.distance;var n=this.forward,i=this.focalPoint;return e[0]=t*n[0]+i[0],e[1]=t*n[1]+i[1],e[2]=t*n[2]+i[2],this._setPosition(e),this.triggerUpdate(),this}},{key:"setMaxDistance",value:function(t){return this.maxDistance=t,this}},{key:"setMinDistance",value:function(t){return this.minDistance=t,this}},{key:"setAzimuth",value:function(t){return this.azimuth=tG(t),this.computeMatrix(),this._getAxes(),this.type===tQ.ORBITING||this.type===tQ.EXPLORING?this._getPosition():this.type===tQ.TRACKING&&this._getFocalPoint(),this.triggerUpdate(),this}},{key:"getAzimuth",value:function(){return this.azimuth}},{key:"setElevation",value:function(t){return this.elevation=tG(t),this.computeMatrix(),this._getAxes(),this.type===tQ.ORBITING||this.type===tQ.EXPLORING?this._getPosition():this.type===tQ.TRACKING&&this._getFocalPoint(),this.triggerUpdate(),this}},{key:"getElevation",value:function(){return this.elevation}},{key:"setRoll",value:function(t){return this.roll=tG(t),this.computeMatrix(),this._getAxes(),this.type===tQ.ORBITING||this.type===tQ.EXPLORING?this._getPosition():this.type===tQ.TRACKING&&this._getFocalPoint(),this.triggerUpdate(),this}},{key:"getRoll",value:function(){return this.roll}},{key:"_update",value:function(){this._getAxes(),this._getPosition(),this._getDistance(),this._getAngles(),this._getOrthoMatrix(),this.triggerUpdate()}},{key:"computeMatrix",value:function(){var t=B.yY(B.Ue(),[0,0,1],this.roll*tU);G.identity(this.matrix);var e=B.yY(B.Ue(),[1,0,0],(this.rotateWorld&&this.type!==tQ.TRACKING||this.type===tQ.TRACKING?1:-1)*this.elevation*tU),n=B.yY(B.Ue(),[0,1,0],(this.rotateWorld&&this.type!==tQ.TRACKING||this.type===tQ.TRACKING?1:-1)*this.azimuth*tU),i=B.Jp(B.Ue(),n,e);i=B.Jp(B.Ue(),i,t);var r=G.fromQuat(G.create(),i);this.type===tQ.ORBITING||this.type===tQ.EXPLORING?(G.translate(this.matrix,this.matrix,this.focalPoint),G.multiply(this.matrix,this.matrix,r),G.translate(this.matrix,this.matrix,[0,0,this.distance])):this.type===tQ.TRACKING&&(G.translate(this.matrix,this.matrix,this.position),G.multiply(this.matrix,this.matrix,r))}},{key:"_setPosition",value:function(t,e,n){this.position=tB(t,e,n);var i=this.matrix;i[12]=this.position[0],i[13]=this.position[1],i[14]=this.position[2],i[15]=1,this._getOrthoMatrix()}},{key:"_getAxes",value:function(){D.JG(this.right,tB(_.fF(_.Ue(),[1,0,0,0],this.matrix))),D.JG(this.up,tB(_.fF(_.Ue(),[0,1,0,0],this.matrix))),D.JG(this.forward,tB(_.fF(_.Ue(),[0,0,1,0],this.matrix))),D.Fv(this.right,this.right),D.Fv(this.up,this.up),D.Fv(this.forward,this.forward)}},{key:"_getAngles",value:function(){var t=this.distanceVector[0],e=this.distanceVector[1],n=this.distanceVector[2],i=D.kE(this.distanceVector);if(0===i){this.elevation=0,this.azimuth=0;return}this.type===tQ.TRACKING?(this.elevation=Math.asin(e/i)*tV,this.azimuth=Math.atan2(-t,-n)*tV):this.rotateWorld?(this.elevation=Math.asin(e/i)*tV,this.azimuth=Math.atan2(-t,-n)*tV):(this.elevation=-(Math.asin(e/i)*tV),this.azimuth=-(Math.atan2(-t,-n)*tV))}},{key:"_getPosition",value:function(){D.JG(this.position,tB(_.fF(_.Ue(),[0,0,0,1],this.matrix))),this._getDistance()}},{key:"_getFocalPoint",value:function(){D.kK(this.distanceVector,[0,0,-this.distance],F.xO(F.Ue(),this.matrix)),D.IH(this.focalPoint,this.position,this.distanceVector),this._getDistance()}},{key:"_getDistance",value:function(){this.distanceVector=D.$X(D.Ue(),this.focalPoint,this.position),this.distance=D.kE(this.distanceVector),this.dollyingStep=this.distance/100}},{key:"_getOrthoMatrix",value:function(){if(this.projectionMode===t1.ORTHOGRAPHIC){var t=this.position,e=B.yY(B.Ue(),[0,0,1],-this.roll*Math.PI/180);G.fromRotationTranslationScaleOrigin(this.orthoMatrix,e,D.al((this.rright-this.left)/2-t[0],(this.top-this.bottom)/2-t[1],0),D.al(this.zoom,this.zoom,1),t)}}},{key:"triggerUpdate",value:function(){if(this.enableUpdate){var t=this.getViewTransform(),e=G.multiply(G.create(),this.getPerspective(),t);this.getFrustum().extractFromVPMatrix(e),this.eventEmitter.emit(t2.UPDATED)}}},{key:"rotate",value:function(t,e,n){throw Error(tD)}},{key:"pan",value:function(t,e){throw Error(tD)}},{key:"dolly",value:function(t){throw Error(tD)}},{key:"createLandmark",value:function(t,e){throw Error(tD)}},{key:"gotoLandmark",value:function(t,e){throw Error(tD)}},{key:"cancelLandmarkAnimation",value:function(){throw Error(tD)}}]),t3=((u={})[u.Standard=0]="Standard",u),t4=((c={})[c.ADDED=0]="ADDED",c[c.REMOVED=1]="REMOVED",c[c.Z_INDEX_CHANGED=2]="Z_INDEX_CHANGED",c),t6={absolutePath:[],hasArc:!1,segments:[],polygons:[],polylines:[],curve:null,totalLength:0,rect:new tI(0,0,0,0)},t8=((h={}).COORDINATE="",h.COLOR="",h.PAINT="",h.NUMBER="",h.ANGLE="",h.OPACITY_VALUE="",h.SHADOW_BLUR="",h.LENGTH="",h.PERCENTAGE="",h.LENGTH_PERCENTAGE=" | ",h.LENGTH_PERCENTAGE_12="[ | ]{1,2}",h.LENGTH_PERCENTAGE_14="[ | ]{1,4}",h.LIST_OF_POINTS="",h.PATH="",h.FILTER="",h.Z_INDEX="",h.OFFSET_DISTANCE="",h.DEFINED_PATH="",h.MARKER="",h.TRANSFORM="",h.TRANSFORM_ORIGIN="",h.TEXT="",h.TEXT_TRANSFORM="",h);function t7(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function t9(t,e){var n=Object.create(t.prototype);for(var i in e)n[i]=e[i];return n}function et(){}var ee="\\s*([+-]?\\d+)\\s*",en="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",ei="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",er=/^#([0-9a-f]{3,8})$/,ea=RegExp(`^rgb\\(${ee},${ee},${ee}\\)$`),eo=RegExp(`^rgb\\(${ei},${ei},${ei}\\)$`),es=RegExp(`^rgba\\(${ee},${ee},${ee},${en}\\)$`),el=RegExp(`^rgba\\(${ei},${ei},${ei},${en}\\)$`),eu=RegExp(`^hsl\\(${en},${ei},${ei}\\)$`),ec=RegExp(`^hsla\\(${en},${ei},${ei},${en}\\)$`),eh={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function ed(){return this.rgb().formatHex()}function ef(){return this.rgb().formatRgb()}function ev(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=er.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?ep(e):3===n?new ey(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?eg(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?eg(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=ea.exec(t))?new ey(e[1],e[2],e[3],1):(e=eo.exec(t))?new ey(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=es.exec(t))?eg(e[1],e[2],e[3],e[4]):(e=el.exec(t))?eg(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=eu.exec(t))?eb(e[1],e[2]/100,e[3]/100,1):(e=ec.exec(t))?eb(e[1],e[2]/100,e[3]/100,e[4]):eh.hasOwnProperty(t)?ep(eh[t]):"transparent"===t?new ey(NaN,NaN,NaN,0):null}function ep(t){return new ey(t>>16&255,t>>8&255,255&t,1)}function eg(t,e,n,i){return i<=0&&(t=e=n=NaN),new ey(t,e,n,i)}function ey(t,e,n,i){this.r=+t,this.g=+e,this.b=+n,this.opacity=+i}function em(){return`#${eT(this.r)}${eT(this.g)}${eT(this.b)}`}function ek(){let t=eE(this.opacity);return`${1===t?"rgb(":"rgba("}${ex(this.r)}, ${ex(this.g)}, ${ex(this.b)}${1===t?")":`, ${t})`}`}function eE(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function ex(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function eT(t){return((t=ex(t))<16?"0":"")+t.toString(16)}function eb(t,e,n,i){return i<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new ew(t,e,n,i)}function eN(t){if(t instanceof ew)return new ew(t.h,t.s,t.l,t.opacity);if(t instanceof et||(t=ev(t)),!t)return new ew;if(t instanceof ew)return t;var e=(t=t.rgb()).r/255,n=t.g/255,i=t.b/255,r=Math.min(e,n,i),a=Math.max(e,n,i),o=NaN,s=a-r,l=(a+r)/2;return s?(o=e===a?(n-i)/s+(n0&&l<1?0:o,new ew(o,s,l,t.opacity)}function ew(t,e,n,i){this.h=+t,this.s=+e,this.l=+n,this.opacity=+i}function eS(t){return(t=(t||0)%360)<0?t+360:t}function eP(t){return Math.max(0,Math.min(1,t||0))}function eM(t,e,n){return(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)*255}function eC(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw TypeError("Expected a function");var n=function(){for(var i=arguments.length,r=Array(i),a=0;a=240?t-240:t+120,r,i),eM(t,r,i),eM(t<120?t+240:t-120,r,i),this.opacity)},clamp(){return new ew(eS(this.h),eP(this.s),eP(this.l),eE(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let t=eE(this.opacity);return`${1===t?"hsl(":"hsla("}${eS(this.h)}, ${100*eP(this.s)}%, ${100*eP(this.l)}%${1===t?")":`, ${t})`}`}})),eC.Cache=Map,eC.cacheList=[],eC.clearCache=function(){eC.cacheList.forEach(function(t){return t.clear()})};var eA=((d={})[d.kUnknown=0]="kUnknown",d[d.kNumber=1]="kNumber",d[d.kPercentage=2]="kPercentage",d[d.kEms=3]="kEms",d[d.kPixels=4]="kPixels",d[d.kRems=5]="kRems",d[d.kDegrees=6]="kDegrees",d[d.kRadians=7]="kRadians",d[d.kGradians=8]="kGradians",d[d.kTurns=9]="kTurns",d[d.kMilliseconds=10]="kMilliseconds",d[d.kSeconds=11]="kSeconds",d[d.kInteger=12]="kInteger",d),eR=((f={})[f.kUNumber=0]="kUNumber",f[f.kUPercent=1]="kUPercent",f[f.kULength=2]="kULength",f[f.kUAngle=3]="kUAngle",f[f.kUTime=4]="kUTime",f[f.kUOther=5]="kUOther",f),eZ=((v={})[v.kYes=0]="kYes",v[v.kNo=1]="kNo",v),eO=((p={})[p.kYes=0]="kYes",p[p.kNo=1]="kNo",p),eL=[{name:"em",unit_type:eA.kEms},{name:"px",unit_type:eA.kPixels},{name:"deg",unit_type:eA.kDegrees},{name:"rad",unit_type:eA.kRadians},{name:"grad",unit_type:eA.kGradians},{name:"ms",unit_type:eA.kMilliseconds},{name:"s",unit_type:eA.kSeconds},{name:"rem",unit_type:eA.kRems},{name:"turn",unit_type:eA.kTurns}],eI=((g={})[g.kUnknownType=0]="kUnknownType",g[g.kUnparsedType=1]="kUnparsedType",g[g.kKeywordType=2]="kKeywordType",g[g.kUnitType=3]="kUnitType",g[g.kSumType=4]="kSumType",g[g.kProductType=5]="kProductType",g[g.kNegateType=6]="kNegateType",g[g.kInvertType=7]="kInvertType",g[g.kMinType=8]="kMinType",g[g.kMaxType=9]="kMaxType",g[g.kClampType=10]="kClampType",g[g.kTransformType=11]="kTransformType",g[g.kPositionType=12]="kPositionType",g[g.kURLImageType=13]="kURLImageType",g[g.kColorType=14]="kColorType",g[g.kUnsupportedColorType=15]="kUnsupportedColorType",g),eD=function(t){switch(t){case eA.kNumber:case eA.kInteger:return eR.kUNumber;case eA.kPercentage:return eR.kUPercent;case eA.kPixels:return eR.kULength;case eA.kMilliseconds:case eA.kSeconds:return eR.kUTime;case eA.kDegrees:case eA.kRadians:case eA.kGradians:case eA.kTurns:return eR.kUAngle;default:return eR.kUOther}},e_=function(t){switch(t){case eR.kUNumber:return eA.kNumber;case eR.kULength:return eA.kPixels;case eR.kUPercent:return eA.kPercentage;case eR.kUTime:return eA.kSeconds;case eR.kUAngle:return eA.kDegrees;default:return eA.kUnknown}},eG=function(t){var e=1;switch(t){case eA.kPixels:case eA.kDegrees:case eA.kSeconds:break;case eA.kMilliseconds:e=.001;break;case eA.kRadians:e=180/Math.PI;break;case eA.kGradians:e=.9;break;case eA.kTurns:e=360}return e},eF=function(t){switch(t){case eA.kNumber:case eA.kInteger:break;case eA.kPercentage:return"%";case eA.kEms:return"em";case eA.kRems:return"rem";case eA.kPixels:return"px";case eA.kDegrees:return"deg";case eA.kRadians:return"rad";case eA.kGradians:return"grad";case eA.kMilliseconds:return"ms";case eA.kSeconds:return"s";case eA.kTurns:return"turn"}return""},eB=(0,A.Z)(function t(){(0,C.Z)(this,t)},[{key:"toString",value:function(){return this.buildCSSText(eZ.kNo,eO.kNo,"")}},{key:"isNumericValue",value:function(){return this.getType()>=eI.kUnitType&&this.getType()<=eI.kClampType}}],[{key:"isAngle",value:function(t){return t===eA.kDegrees||t===eA.kRadians||t===eA.kGradians||t===eA.kTurns}},{key:"isLength",value:function(t){return t>=eA.kEms&&t1&&void 0!==arguments[1]?arguments[1]:"";return(Number.isFinite(t)?"NaN":t>0?"infinity":"-infinity")+e},ez=function(t){return e_(eD(t))},eW=function(t){function e(t){var n,i,r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:eA.kNumber;return(0,C.Z)(this,e),i=(0,Z.Z)(this,e),r="string"==typeof a?(n=a)?"number"===n?eA.kNumber:"percent"===n||"%"===n?eA.kPercentage:eL.find(function(t){return t.name===n}).unit_type:eA.kUnknown:a,i.unit=r,i.value=t,i}return(0,O.Z)(e,t),(0,A.Z)(e,[{key:"clone",value:function(){return new e(this.value,this.unit)}},{key:"equals",value:function(t){return this.value===t.value&&this.unit===t.unit}},{key:"getType",value:function(){return eI.kUnitType}},{key:"convertTo",value:function(t){if(this.unit===t)return new e(this.value,this.unit);var n=ez(this.unit);if(n!==ez(t)||n===eA.kUnknown)return null;var i=eG(this.unit)/eG(t);return new e(this.value*i,t)}},{key:"buildCSSText",value:function(t,e,n){var i;switch(this.unit){case eA.kUnknown:break;case eA.kInteger:i=Number(this.value).toFixed(0);break;case eA.kNumber:case eA.kPercentage:case eA.kEms:case eA.kRems:case eA.kPixels:case eA.kDegrees:case eA.kRadians:case eA.kGradians:case eA.kMilliseconds:case eA.kSeconds:case eA.kTurns:var r=this.value,a=eF(this.unit);if(r<-999999||r>999999){var o=eF(this.unit);i=!Number.isFinite(r)||Number.isNaN(r)?eH(r,o):r+(o||"")}else i="".concat(r).concat(a)}return n+i}}])}(eB),ej=new eW(0,"px");new eW(1,"px");var eq=new eW(0,"deg"),e$=function(t){function e(t,n,i){var r,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return(0,C.Z)(this,e),(r=(0,Z.Z)(this,e,["rgb"])).r=t,r.g=n,r.b=i,r.alpha=a,r.isNone=o,r}return(0,O.Z)(e,t),(0,A.Z)(e,[{key:"clone",value:function(){return new e(this.r,this.g,this.b,this.alpha)}},{key:"buildCSSText",value:function(t,e,n){return"".concat(n,"rgba(").concat(this.r,",").concat(this.g,",").concat(this.b,",").concat(this.alpha,")")}}])}(eU),eK=new eX("unset"),eJ={"":eK,unset:eK,initial:new eX("initial"),inherit:new eX("inherit")},eQ=new e$(0,0,0,0,!0),e0=new e$(0,0,0,0),e1=eC(function(t,e,n,i){return new e$(t,e,n,i)},function(t,e,n,i){return"rgba(".concat(t,",").concat(e,",").concat(n,",").concat(i,")")}),e2=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:eA.kNumber;return new eW(t,e)};new eW(50,"%");var e5=function(){var t={linearGradient:/^(linear\-gradient)/i,repeatingLinearGradient:/^(repeating\-linear\-gradient)/i,radialGradient:/^(radial\-gradient)/i,repeatingRadialGradient:/^(repeating\-radial\-gradient)/i,conicGradient:/^(conic\-gradient)/i,sideOrCorner:/^to (left (top|bottom)|right (top|bottom)|top (left|right)|bottom (left|right)|left|right|top|bottom)/i,extentKeywords:/^(closest\-side|closest\-corner|farthest\-side|farthest\-corner|contain|cover)/,positionKeywords:/^(left|center|right|top|bottom)/i,pixelValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,percentageValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/,emValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,angleValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,startCall:/^\(/,endCall:/^\)/,comma:/^,/,hexColor:/^\#([0-9a-fA-F]+)/,literalColor:/^([a-zA-Z]+)/,rgbColor:/^rgb/i,rgbaColor:/^rgba/i,number:/^(([0-9]*\.[0-9]+)|([0-9]+\.?))/},e="";function n(t){throw Error("".concat(e,": ").concat(t))}function i(){return r("linear-gradient",t.linearGradient,o)||r("repeating-linear-gradient",t.repeatingLinearGradient,o)||r("radial-gradient",t.radialGradient,s)||r("repeating-radial-gradient",t.repeatingRadialGradient,s)||r("conic-gradient",t.conicGradient,s)}function r(e,i,r){return a(i,function(i){var a=r();return a&&!m(t.comma)&&n("Missing comma before color stops"),{type:e,orientation:a,colorStops:d(f)}})}function a(e,i){var r=m(e);if(r){m(t.startCall)||n("Missing (");var a=i(r);return m(t.endCall)||n("Missing )"),a}}function o(){return y("directional",t.sideOrCorner,1)||y("angular",t.angleValue,1)}function s(){var n,i,r=l();return r&&((n=[]).push(r),i=e,m(t.comma)&&((r=l())?n.push(r):e=i)),n}function l(){var t,e,n=((t=y("shape",/^(circle)/i,0))&&(t.style=g()||u()),t||((e=y("shape",/^(ellipse)/i,0))&&(e.style=p()||u()),e));if(n)n.at=c();else{var i=u();if(i){n=i;var r=c();r&&(n.at=r)}else{var a=h();a&&(n={type:"default-radial",at:a})}}return n}function u(){return y("extent-keyword",t.extentKeywords,1)}function c(){if(y("position",/^at/,0)){var t=h();return t||n("Missing positioning value"),t}}function h(){var t={x:p(),y:p()};if(t.x||t.y)return{type:"position",value:t}}function d(e){var i=e(),r=[];if(i)for(r.push(i);m(t.comma);)(i=e())?r.push(i):n("One extra comma");return r}function f(){var e=y("hex",t.hexColor,1)||a(t.rgbaColor,function(){return{type:"rgba",value:d(v)}})||a(t.rgbColor,function(){return{type:"rgb",value:d(v)}})||y("literal",t.literalColor,0);return e||n("Expected color definition"),e.length=p(),e}function v(){return m(t.number)[1]}function p(){return y("%",t.percentageValue,1)||y("position-keyword",t.positionKeywords,1)||g()}function g(){return y("px",t.pixelValue,1)||y("em",t.emValue,1)}function y(t,e,n){var i=m(e);if(i)return{type:t,value:i[n]}}function m(t){var n=/^[\n\r\t\s]+/.exec(e);n&&k(n[0].length);var i=t.exec(e);return i&&k(i[0].length),i}function k(t){e=e.substring(t)}return function(t){var r;return e=t,r=d(i),e.length>0&&n("Invalid input not EOF"),r}}();function e3(t,e,n,i){var r=i.value*tU,a=0+e/2,o=0+n/2,s=Math.abs(e*Math.cos(r))+Math.abs(n*Math.sin(r));return{x1:t[0]+a-Math.cos(r)*s/2,y1:t[1]+o-Math.sin(r)*s/2,x2:t[0]+a+Math.cos(r)*s/2,y2:t[1]+o+Math.sin(r)*s/2}}function e4(t,e,n,i,r,a){var o=i.value,s=r.value;i.unit===eA.kPercentage&&(o=i.value/100*e),r.unit===eA.kPercentage&&(s=r.value/100*n);var l=Math.max((0,V.y)([0,0],[o,s]),(0,V.y)([0,n],[o,s]),(0,V.y)([e,n],[o,s]),(0,V.y)([e,0],[o,s]));return a&&(a instanceof eW?l=a.value:a instanceof eX&&("closest-side"===a.value?l=Math.min(o,e-o,s,n-s):"farthest-side"===a.value?l=Math.max(o,e-o,s,n-s):"closest-corner"===a.value&&(l=Math.min((0,V.y)([0,0],[o,s]),(0,V.y)([0,n],[o,s]),(0,V.y)([e,n],[o,s]),(0,V.y)([e,0],[o,s]))))),{x:o+t[0],y:s+t[1],r:l}}var e6=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,e8=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,e7=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,e9=/[\d.]+:(#[^\s]+|[^\)]+\))/gi,nt={left:180,top:-90,bottom:90,right:0,"left top":225,"top left":225,"left bottom":135,"bottom left":135,"right top":-45,"top right":-45,"right bottom":45,"bottom right":45},ne=eC(function(t){return e2("angular"===t.type?Number(t.value):nt[t.value]||0,"deg")}),nn=eC(function(t){var e=50,n=50,i="%",r="%";if((null==t?void 0:t.type)==="position"){var a=t.value,o=a.x,s=a.y;(null==o?void 0:o.type)==="position-keyword"&&("left"===o.value?e=0:"center"===o.value?e=50:"right"===o.value?e=100:"top"===o.value?n=0:"bottom"===o.value&&(n=100)),(null==s?void 0:s.type)==="position-keyword"&&("left"===s.value?e=0:"center"===s.value?n=50:"right"===s.value?e=100:"top"===s.value?n=0:"bottom"===s.value&&(n=100)),((null==o?void 0:o.type)==="px"||(null==o?void 0:o.type)==="%"||(null==o?void 0:o.type)==="em")&&(i=null==o?void 0:o.type,e=Number(o.value)),((null==s?void 0:s.type)==="px"||(null==s?void 0:s.type)==="%"||(null==s?void 0:s.type)==="em")&&(r=null==s?void 0:s.type,n=Number(s.value))}return{cx:e2(e,i),cy:e2(n,r)}}),ni=eC(function(t){if(t.indexOf("linear")>-1||t.indexOf("radial")>-1)return e5(t).map(function(t){var e=t.type,n=t.orientation,i=t.colorStops;!function(t){var e=t.length;t[e-1].length=null!==(a=t[e-1].length)&&void 0!==a?a:{type:"%",value:"100"},e>1&&(t[0].length=null!==(o=t[0].length)&&void 0!==o?o:{type:"%",value:"0"});for(var n=0,i=Number(t[0].length.value),r=1;r=0)return e2(Number(e),"px");if("deg".search(t)>=0)return e2(Number(e),"deg")}var n=[];e=e.replace(t,function(t){return n.push(t),"U".concat(t)});var i="U(".concat(t.source,")");return n.map(function(t){return e2(Number(e.replace(RegExp("U".concat(t),"g"),"").replace(RegExp(i,"g"),"*0")),t)})[0]}var nu=function(t){return nl(/px/g,t)},nc=eC(nu);eC(function(t){return nl(RegExp("%","g"),t)});var nh=function(t){return(0,Y.Z)(t)||isFinite(Number(t))?e2(Number(t)||0,"px"):nl(RegExp("px|%|em|rem","g"),t)},nd=eC(nh),nf=function(t){return nl(RegExp("deg|rad|grad|turn","g"),t)},nv=eC(nf);function np(t){var e=0;return t.unit===eA.kDegrees?e=t.value:t.unit===eA.kRadians?e=Number(t.value)*tV:t.unit===eA.kTurns?e=360*Number(t.value):t.value&&(e=t.value),e}function ng(t,e){var n;return(Array.isArray(t)?n=t.map(function(t){return Number(t)}):(0,H.Z)(t)?n=t.split(" ").map(function(t){return Number(t)}):(0,Y.Z)(t)&&(n=[t]),2===e)?1===n.length?[n[0],n[0]]:[n[0],n[1]]:4===e?1===n.length?[n[0],n[0],n[0],n[0]]:2===n.length?[n[0],n[1],n[0],n[1]]:3===n.length?[n[0],n[1],n[2],n[1]]:[n[0],n[1],n[2],n[3]]:"even"===e&&n.length%2==1?[].concat((0,R.Z)(n),(0,R.Z)(n)):n}function ny(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(t.unit===eA.kPixels)return Number(t.value);if(t.unit===eA.kPercentage&&n){var r=n.nodeName===tE.GROUP?n.getLocalBounds():n.getGeometryBounds();return(i?r.min[e]:0)+t.value/100*r.halfExtents[e]*2}return 0}var nm=["blur","brightness","drop-shadow","contrast","grayscale","sepia","saturate","hue-rotate","invert"];function nk(t){return t.toString()}var nE=function(t){return"number"==typeof t?e2(t):/^\s*[-+]?(\d*\.)?\d+\s*$/.test(t)?e2(Number(t)):e2(0)},nx=eC(nE);function nT(t,e){return[t,e,nk]}function nb(t,e){return function(n,i){return[n,i,function(n){return nk((0,z.Z)(n,t,e))}]}}function nN(t,e){if(t.length===e.length)return[t,e,function(t){return t}]}function nw(t){return 0===t.parsedStyle.d.totalLength&&(t.parsedStyle.d.totalLength=(0,W.D)(t.parsedStyle.d.absolutePath)),t.parsedStyle.d.totalLength}function nS(t,e){return t[0]===e[0]&&t[1]===e[1]}function nP(t,e){var n=t.prePoint,i=t.currentPoint,r=t.nextPoint,a=Math.pow(i[0]-n[0],2)+Math.pow(i[1]-n[1],2),o=Math.pow(i[0]-r[0],2)+Math.pow(i[1]-r[1],2),s=Math.acos((a+o-(Math.pow(n[0]-r[0],2)+Math.pow(n[1]-r[1],2)))/(2*Math.sqrt(a)*Math.sqrt(o)));if(!s||0===Math.sin(s)||(0,$.Z)(s,0))return{xExtra:0,yExtra:0};var l=Math.abs(Math.atan2(r[1]-i[1],r[0]-i[0])),u=Math.abs(Math.atan2(r[0]-i[0],r[1]-i[1]));return{xExtra:Math.cos(s/2-(l=l>Math.PI/2?Math.PI-l:l))*(e/2*(1/Math.sin(s/2)))-e/2||0,yExtra:Math.cos((u=u>Math.PI/2?Math.PI-u:u)-s/2)*(e/2*(1/Math.sin(s/2)))-e/2||0}}function nM(t,e){return[e[0]+(e[0]-t[0]),e[1]+(e[1]-t[1])]}eC(function(t){return(0,H.Z)(t)?t.split(" ").map(nx):t.map(nx)});var nC=function(t,e){var n=t.x*e.x+t.y*e.y,i=Math.sqrt((Math.pow(t.x,2)+Math.pow(t.y,2))*(Math.pow(e.x,2)+Math.pow(e.y,2)));return(t.x*e.y-t.y*e.x<0?-1:1)*Math.acos(n/i)},nA=function(t,e,n,i,r,a,o,s){e=Math.abs(e),n=Math.abs(n);var l=(i=(0,K.Z)(i,360))*tU;if(t.x===o.x&&t.y===o.y)return{x:t.x,y:t.y,ellipticalArcAngle:0};if(0===e||0===n)return{x:0,y:0,ellipticalArcAngle:0};var u=(t.x-o.x)/2,c=(t.y-o.y)/2,h={x:Math.cos(l)*u+Math.sin(l)*c,y:-Math.sin(l)*u+Math.cos(l)*c},d=Math.pow(h.x,2)/Math.pow(e,2)+Math.pow(h.y,2)/Math.pow(n,2);d>1&&(e*=Math.sqrt(d),n*=Math.sqrt(d));var f=(Math.pow(e,2)*Math.pow(n,2)-Math.pow(e,2)*Math.pow(h.y,2)-Math.pow(n,2)*Math.pow(h.x,2))/(Math.pow(e,2)*Math.pow(h.y,2)+Math.pow(n,2)*Math.pow(h.x,2)),v=(r!==a?1:-1)*Math.sqrt(f=f<0?0:f),p={x:v*(e*h.y/n),y:v*(-(n*h.x)/e)},g={x:Math.cos(l)*p.x-Math.sin(l)*p.y+(t.x+o.x)/2,y:Math.sin(l)*p.x+Math.cos(l)*p.y+(t.y+o.y)/2},y={x:(h.x-p.x)/e,y:(h.y-p.y)/n},m=nC({x:1,y:0},y),k=nC(y,{x:(-h.x-p.x)/e,y:(-h.y-p.y)/n});!a&&k>0?k-=2*Math.PI:a&&k<0&&(k+=2*Math.PI);var E=m+(k%=2*Math.PI)*s,x=e*Math.cos(E),T=n*Math.sin(E);return{x:Math.cos(l)*x-Math.sin(l)*T+g.x,y:Math.sin(l)*x+Math.cos(l)*T+g.y,ellipticalArcStartAngle:m,ellipticalArcEndAngle:m+k,ellipticalArcAngle:E,ellipticalArcCenter:g,resultantRx:e,resultantRy:n}};function nR(t,e){var n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],i=t.arcParams,r=i.rx,a=void 0===r?0:r,o=i.ry,s=void 0===o?0:o,l=i.xRotation,u=i.arcFlag,c=i.sweepFlag,h=nA({x:t.prePoint[0],y:t.prePoint[1]},a,s,l,!!u,!!c,{x:t.currentPoint[0],y:t.currentPoint[1]},e),d=nA({x:t.prePoint[0],y:t.prePoint[1]},a,s,l,!!u,!!c,{x:t.currentPoint[0],y:t.currentPoint[1]},n?e+.005:e-.005),f=d.x-h.x,v=d.y-h.y,p=Math.sqrt(f*f+v*v);return{x:-f/p,y:-v/p}}function nZ(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function nO(t,e){return nZ(t)*nZ(e)?(t[0]*e[0]+t[1]*e[1])/(nZ(t)*nZ(e)):1}function nL(t,e){return(t[0]*e[1]1&&void 0!==arguments[1]?arguments[1]:t.getLocalTransform(),a=[];switch(t.nodeName){case tE.LINE:var o=t.parsedStyle,s=o.x1,l=o.y1,u=o.x2,c=o.y2;a=[["M",void 0===s?0:s,void 0===l?0:l],["L",void 0===u?0:u,void 0===c?0:c]];break;case tE.CIRCLE:var h=t.parsedStyle,d=h.r,f=void 0===d?0:d,v=h.cx,p=void 0===v?0:v,g=h.cy;a=nI(f,f,p,void 0===g?0:g);break;case tE.ELLIPSE:var y=t.parsedStyle,m=y.rx,k=void 0===m?0:m,E=y.ry,x=void 0===E?0:E,T=y.cx,b=void 0===T?0:T,N=y.cy;a=nI(k,x,b,void 0===N?0:N);break;case tE.POLYLINE:case tE.POLYGON:e=t.parsedStyle.points.points,n=t.nodeName===tE.POLYGON,i=e.map(function(t,e){return[0===e?"M":"L",t[0],t[1]]}),n&&i.push(["Z"]),a=i;break;case tE.RECT:var w=t.parsedStyle,S=w.width,P=void 0===S?0:S,M=w.height,C=void 0===M?0:M,A=w.x,Z=void 0===A?0:A,O=w.y,I=void 0===O?0:O,_=w.radius;a=function(t,e,n,i,r){if(r){var a=(0,L.Z)(r,4),o=a[0],s=a[1],l=a[2],u=a[3],c=t>0?1:-1,h=e>0?1:-1,d=c+h!==0?1:0;return[["M",c*o+n,i],["L",t-c*s+n,i],s?["A",s,s,0,0,d,t+n,h*s+i]:null,["L",t+n,e-h*l+i],l?["A",l,l,0,0,d,t+n-c*l,e+i]:null,["L",n+c*u,e+i],u?["A",u,u,0,0,d,n,e+i-h*u]:null,["L",n,h*o+i],o?["A",o,o,0,0,d,c*o+n,i]:null,["Z"]].filter(function(t){return t})}return[["M",n,i],["L",n+t,i],["L",n+t,i+e],["L",n,i+e],["Z"]]}(P,C,Z,I,_&&_.some(function(t){return 0!==t})&&_.map(function(t){return(0,z.Z)(t,0,Math.min(Math.abs(P)/2,Math.abs(C)/2))}));break;case tE.PATH:var G=t.parsedStyle.d.absolutePath;a=(0,R.Z)(G)}if(a.length)return a.reduce(function(t,e){var n="";if("M"===e[0]||"L"===e[0]){var i=D.al(e[1],e[2],0);r&&D.fF(i,i,r),n="".concat(e[0]).concat(i[0],",").concat(i[1])}else if("Z"===e[0])n=e[0];else if("C"===e[0]){var a=D.al(e[1],e[2],0),o=D.al(e[3],e[4],0),s=D.al(e[5],e[6],0);r&&(D.fF(a,a,r),D.fF(o,o,r),D.fF(s,s,r)),n="".concat(e[0]).concat(a[0],",").concat(a[1],",").concat(o[0],",").concat(o[1],",").concat(s[0],",").concat(s[1])}else if("A"===e[0]){var l=D.al(e[6],e[7],0);r&&D.fF(l,l,r),n="".concat(e[0]).concat(e[1],",").concat(e[2],",").concat(e[3],",").concat(e[4],",").concat(e[5],",").concat(l[0],",").concat(l[1])}else if("Q"===e[0]){var u=D.al(e[1],e[2],0),c=D.al(e[3],e[4],0);r&&(D.fF(u,u,r),D.fF(c,c,r)),n="".concat(e[0]).concat(e[1],",").concat(e[2],",").concat(e[3],",").concat(e[4],"}")}return t+n},"")}var n_=function(t){if(""===t||Array.isArray(t)&&0===t.length)return{absolutePath:[],hasArc:!1,segments:[],polygons:[],polylines:[],curve:null,totalLength:0,rect:{x:0,y:0,width:0,height:0}};try{e=(0,J.A)(t)}catch(n){e=(0,J.A)(""),console.error("[g]: Invalid SVG Path definition: ".concat(t))}!function(t){for(var e=0;e0&&n.push(i),{polygons:e,polylines:n}}(e),r=i.polygons,a=i.polylines,o=function(t){for(var e=[],n=null,i=null,r=null,a=0,o=t.length,s=0;s1&&(n*=Math.sqrt(f),i*=Math.sqrt(f));var v=n*n*(d*d)+i*i*(h*h),p=v?Math.sqrt((n*n*(i*i)-v)/v):1;a===o&&(p*=-1),isNaN(p)&&(p=0);var g=i?p*n*d/i:0,y=n?-(p*i)*h/n:0,m=(s+u)/2+Math.cos(r)*g-Math.sin(r)*y,k=(l+c)/2+Math.sin(r)*g+Math.cos(r)*y,E=[(h-g)/n,(d-y)/i],x=[(-1*h-g)/n,(-1*d-y)/i],T=nL([1,0],E),b=nL(E,x);return -1>=nO(E,x)&&(b=Math.PI),nO(E,x)>=1&&(b=0),0===o&&b>0&&(b-=2*Math.PI),1===o&&b<0&&(b+=2*Math.PI),{cx:m,cy:k,rx:nS(t,[u,c])?0:n,ry:nS(t,[u,c])?0:i,startAngle:T,endAngle:T+b,xRotation:r,arcFlag:a,sweepFlag:o}}(n,l);c.arcParams=h}if("Z"===u)n=r,i=t[a+1];else{var d=l.length;n=[l[d-2],l[d-1]]}i&&"Z"===i[0]&&(i=t[a],e[a]&&(e[a].prePoint=n)),c.currentPoint=n,e[a]&&nS(n,e[a].currentPoint)&&(e[a].prePoint=c.prePoint);var f=i?[i[i.length-2],i[i.length-1]]:null;c.nextPoint=f;var v=c.prePoint;if(["L","H","V"].includes(u))c.startTangent=[v[0]-n[0],v[1]-n[1]],c.endTangent=[n[0]-v[0],n[1]-v[1]];else if("Q"===u){var p=[l[1],l[2]];c.startTangent=[v[0]-p[0],v[1]-p[1]],c.endTangent=[n[0]-p[0],n[1]-p[1]]}else if("T"===u){var g=e[s-1],y=nM(g.currentPoint,v);"Q"===g.command?(c.command="Q",c.startTangent=[v[0]-y[0],v[1]-y[1]],c.endTangent=[n[0]-y[0],n[1]-y[1]]):(c.command="TL",c.startTangent=[v[0]-n[0],v[1]-n[1]],c.endTangent=[n[0]-v[0],n[1]-v[1]])}else if("C"===u){var m=[l[1],l[2]],k=[l[3],l[4]];c.startTangent=[v[0]-m[0],v[1]-m[1]],c.endTangent=[n[0]-k[0],n[1]-k[1]],0===c.startTangent[0]&&0===c.startTangent[1]&&(c.startTangent=[m[0]-k[0],m[1]-k[1]]),0===c.endTangent[0]&&0===c.endTangent[1]&&(c.endTangent=[k[0]-m[0],k[1]-m[1]])}else if("S"===u){var E=e[s-1],x=nM(E.currentPoint,v),T=[l[1],l[2]];"C"===E.command?(c.command="C",c.startTangent=[v[0]-x[0],v[1]-x[1]],c.endTangent=[n[0]-T[0],n[1]-T[1]]):(c.command="SQ",c.startTangent=[v[0]-T[0],v[1]-T[1]],c.endTangent=[n[0]-T[0],n[1]-T[1]])}else if("A"===u){var b=nR(c,0),N=b.x,w=b.y,S=nR(c,1,!1),P=S.x,M=S.y;c.startTangent=[N,w],c.endTangent=[P,M]}e.push(c)}return e}(e),s=function(t,e){for(var n=[],i=[],r=[],a=0;aMath.abs(G.determinant(tj))))){var o=tW[3],s=tW[7],l=tW[11],u=tW[12],c=tW[13],h=tW[14],d=tW[15];if(0!==o||0!==s||0!==l){if(tq[0]=o,tq[1]=s,tq[2]=l,tq[3]=d,!G.invert(tj,tj))return;G.transpose(tj,tj),_.fF(r,tq,tj)}else r[0]=r[1]=r[2]=0,r[3]=1;if(e[0]=u,e[1]=c,e[2]=h,t$[0][0]=tW[0],t$[0][1]=tW[1],t$[0][2]=tW[2],t$[1][0]=tW[4],t$[1][1]=tW[5],t$[1][2]=tW[6],t$[2][0]=tW[8],t$[2][1]=tW[9],t$[2][2]=tW[10],n[0]=D.kE(t$[0]),D.Fv(t$[0],t$[0]),i[0]=D.AK(t$[0],t$[1]),tJ(t$[1],t$[1],t$[0],1,-i[0]),n[1]=D.kE(t$[1]),D.Fv(t$[1],t$[1]),i[0]/=n[1],i[1]=D.AK(t$[0],t$[2]),tJ(t$[2],t$[2],t$[0],1,-i[1]),i[2]=D.AK(t$[1],t$[2]),tJ(t$[2],t$[2],t$[1],1,-i[2]),n[2]=D.kE(t$[2]),D.Fv(t$[2],t$[2]),i[1]/=n[2],i[2]/=n[2],D.kC(tK,t$[1],t$[2]),0>D.AK(t$[0],tK))for(var f=0;f<3;f++)n[f]*=-1,t$[f][0]*=-1,t$[f][1]*=-1,t$[f][2]*=-1;a[0]=.5*Math.sqrt(Math.max(1+t$[0][0]-t$[1][1]-t$[2][2],0)),a[1]=.5*Math.sqrt(Math.max(1-t$[0][0]+t$[1][1]-t$[2][2],0)),a[2]=.5*Math.sqrt(Math.max(1-t$[0][0]-t$[1][1]+t$[2][2],0)),a[3]=.5*Math.sqrt(Math.max(1+t$[0][0]+t$[1][1]+t$[2][2],0)),t$[2][1]>t$[1][2]&&(a[0]=-a[0]),t$[0][2]>t$[2][0]&&(a[1]=-a[1]),t$[1][0]>t$[0][1]&&(a[2]=-a[2])}}(0===t.length?[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]:t.map(nq).reduce(n$),e,n,i,r,a),[[e,n,i,a,r]]}var nJ=function(){function t(t,e){for(var n=[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]],i=0;i<4;i++)for(var r=0;r<4;r++)for(var a=0;a<4;a++)n[i][r]+=e[i][a]*t[a][r];return n}return function(e,n,i,r,a){for(var o,s=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]],l=0;l<4;l++)s[l][3]=a[l];for(var u=0;u<3;u++)for(var c=0;c<3;c++)s[3][u]+=e[c]*s[c][u];var h=r[0],d=r[1],f=r[2],v=r[3],p=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];p[0][0]=1-2*(d*d+f*f),p[0][1]=2*(h*d-f*v),p[0][2]=2*(h*f+d*v),p[1][0]=2*(h*d+f*v),p[1][1]=1-2*(h*h+f*f),p[1][2]=2*(d*f-h*v),p[2][0]=2*(h*f-d*v),p[2][1]=2*(d*f+h*v),p[2][2]=1-2*(h*h+d*d),s=t(s,p);var g=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];i[2]&&(g[2][1]=i[2],s=t(s,g)),i[1]&&(g[2][1]=0,g[2][0]=i[0],s=t(s,g)),i[0]&&(g[2][0]=0,g[1][0]=i[0],s=t(s,g));for(var y=0;y<3;y++)for(var m=0;m<3;m++)s[y][m]*=n[y];return 0===(o=s)[0][2]&&0===o[0][3]&&0===o[1][2]&&0===o[1][3]&&0===o[2][0]&&0===o[2][1]&&1===o[2][2]&&0===o[2][3]&&0===o[3][2]&&1===o[3][3]?[s[0][0],s[0][1],s[1][0],s[1][1],s[3][0],s[3][1]]:s[0].concat(s[1],s[2],s[3])}}();function nQ(t){return t.toFixed(6).replace(".000000","")}function n0(t,e){var n,i;return(t.decompositionPair!==e&&(t.decompositionPair=e,n=nK(t)),e.decompositionPair!==t&&(e.decompositionPair=t,i=nK(e)),null===n[0]||null===i[0])?[[!1],[!0],function(n){return n?e[0].d:t[0].d}]:(n[0].push(0),i[0].push(1),[n,i,function(t){var e=function(t,e,n){var i=function(t,e){for(var n=0,i=0;i4&&void 0!==arguments[4]?arguments[4]:0,a="",o=t.value||0,s=e.value||0,l=ez(t.unit),u=t.convertTo(l),c=e.convertTo(l);return u&&c?(o=u.value,s=c.value,a=eF(t.unit)):(eW.isLength(t.unit)||eW.isLength(e.unit))&&(o=ny(t,r,n),s=ny(e,r,n),a="px"),[o,s,function(t){return i&&(t=Math.max(t,0)),t+a}]}(d[T],f[T],n,!1,T);k[T]=b[0],E[T]=b[1],x.push(b[2])}a.push(k),o.push(E),s.push([g,x])}if(i){var N=a;a=o,o=N}return[a,o,function(t){return t.map(function(t,e){var n=t.map(function(t,n){return s[e][1][n](t)}).join(",");return"matrix"===s[e][0]&&16===n.split(",").length&&(s[e][0]="matrix3d"),"matrix3d"===s[e][0]&&6===n.split(",").length&&(s[e][0]="matrix"),"".concat(s[e][0],"(").concat(n,")")}).join(" ")}]}var n3=eC(function(t){if((0,H.Z)(t)){if("text-anchor"===t)return[e2(0,"px"),e2(0,"px")];var e=t.split(" ");return(1===e.length&&("top"===e[0]||"bottom"===e[0]?(e[1]=e[0],e[0]="center"):e[1]="center"),2!==e.length)?null:[nd(n4(e[0])),nd(n4(e[1]))]}return[e2(t[0]||0,"px"),e2(t[1]||0,"px")]});function n4(t){return"center"===t?"50%":"left"===t||"top"===t?"0%":"right"===t||"bottom"===t?"100%":t}var n6=[{n:"display",k:["none"]},{n:"opacity",int:!0,inh:!0,d:"1",syntax:t8.OPACITY_VALUE},{n:"fillOpacity",int:!0,inh:!0,d:"1",syntax:t8.OPACITY_VALUE},{n:"strokeOpacity",int:!0,inh:!0,d:"1",syntax:t8.OPACITY_VALUE},{n:"fill",int:!0,k:["none"],d:"none",syntax:t8.PAINT},{n:"fillRule",k:["nonzero","evenodd"],d:"nonzero"},{n:"stroke",int:!0,k:["none"],d:"none",syntax:t8.PAINT,l:!0},{n:"shadowType",k:["inner","outer","both"],d:"outer",l:!0},{n:"shadowColor",int:!0,syntax:t8.COLOR},{n:"shadowOffsetX",int:!0,l:!0,d:"0",syntax:t8.LENGTH_PERCENTAGE},{n:"shadowOffsetY",int:!0,l:!0,d:"0",syntax:t8.LENGTH_PERCENTAGE},{n:"shadowBlur",int:!0,l:!0,d:"0",syntax:t8.SHADOW_BLUR},{n:"lineWidth",int:!0,inh:!0,d:"1",l:!0,a:["strokeWidth"],syntax:t8.LENGTH_PERCENTAGE},{n:"increasedLineWidthForHitTesting",inh:!0,d:"0",l:!0,syntax:t8.LENGTH_PERCENTAGE},{n:"lineJoin",inh:!0,l:!0,a:["strokeLinejoin"],k:["miter","bevel","round"],d:"miter"},{n:"lineCap",inh:!0,l:!0,a:["strokeLinecap"],k:["butt","round","square"],d:"butt"},{n:"lineDash",int:!0,inh:!0,k:["none"],a:["strokeDasharray"],syntax:t8.LENGTH_PERCENTAGE_12},{n:"lineDashOffset",int:!0,inh:!0,d:"0",a:["strokeDashoffset"],syntax:t8.LENGTH_PERCENTAGE},{n:"offsetPath",syntax:t8.DEFINED_PATH},{n:"offsetDistance",int:!0,syntax:t8.OFFSET_DISTANCE},{n:"dx",int:!0,l:!0,d:"0",syntax:t8.LENGTH_PERCENTAGE},{n:"dy",int:!0,l:!0,d:"0",syntax:t8.LENGTH_PERCENTAGE},{n:"zIndex",ind:!0,int:!0,d:"0",k:["auto"],syntax:t8.Z_INDEX},{n:"visibility",k:["visible","hidden"],ind:!0,inh:!0,int:!0,d:"visible"},{n:"pointerEvents",inh:!0,k:["none","auto","stroke","fill","painted","visible","visiblestroke","visiblefill","visiblepainted","all"],d:"auto"},{n:"filter",ind:!0,l:!0,k:["none"],d:"none",syntax:t8.FILTER},{n:"clipPath",syntax:t8.DEFINED_PATH},{n:"textPath",syntax:t8.DEFINED_PATH},{n:"textPathSide",k:["left","right"],d:"left"},{n:"textPathStartOffset",l:!0,d:"0",syntax:t8.LENGTH_PERCENTAGE},{n:"transform",p:100,int:!0,k:["none"],d:"none",syntax:t8.TRANSFORM},{n:"transformOrigin",p:100,d:"0 0",l:!0,syntax:t8.TRANSFORM_ORIGIN},{n:"cx",int:!0,l:!0,d:"0",syntax:t8.COORDINATE},{n:"cy",int:!0,l:!0,d:"0",syntax:t8.COORDINATE},{n:"cz",int:!0,l:!0,d:"0",syntax:t8.COORDINATE},{n:"r",int:!0,l:!0,d:"0",syntax:t8.LENGTH_PERCENTAGE},{n:"rx",int:!0,l:!0,d:"0",syntax:t8.LENGTH_PERCENTAGE},{n:"ry",int:!0,l:!0,d:"0",syntax:t8.LENGTH_PERCENTAGE},{n:"x",int:!0,l:!0,d:"0",syntax:t8.COORDINATE},{n:"y",int:!0,l:!0,d:"0",syntax:t8.COORDINATE},{n:"z",int:!0,l:!0,d:"0",syntax:t8.COORDINATE},{n:"width",int:!0,l:!0,k:["auto","fit-content","min-content","max-content"],d:"0",syntax:t8.LENGTH_PERCENTAGE},{n:"height",int:!0,l:!0,k:["auto","fit-content","min-content","max-content"],d:"0",syntax:t8.LENGTH_PERCENTAGE},{n:"radius",int:!0,l:!0,d:"0",syntax:t8.LENGTH_PERCENTAGE_14},{n:"x1",int:!0,l:!0,syntax:t8.COORDINATE},{n:"y1",int:!0,l:!0,syntax:t8.COORDINATE},{n:"z1",int:!0,l:!0,syntax:t8.COORDINATE},{n:"x2",int:!0,l:!0,syntax:t8.COORDINATE},{n:"y2",int:!0,l:!0,syntax:t8.COORDINATE},{n:"z2",int:!0,l:!0,syntax:t8.COORDINATE},{n:"d",int:!0,l:!0,d:"",syntax:t8.PATH,p:50},{n:"points",int:!0,l:!0,syntax:t8.LIST_OF_POINTS,p:50},{n:"text",l:!0,d:"",syntax:t8.TEXT,p:50},{n:"textTransform",l:!0,inh:!0,k:["capitalize","uppercase","lowercase","none"],d:"none",syntax:t8.TEXT_TRANSFORM,p:51},{n:"font",l:!0},{n:"fontSize",int:!0,inh:!0,d:"16px",l:!0,syntax:t8.LENGTH_PERCENTAGE},{n:"fontFamily",l:!0,inh:!0,d:"sans-serif"},{n:"fontStyle",l:!0,inh:!0,k:["normal","italic","oblique"],d:"normal"},{n:"fontWeight",l:!0,inh:!0,k:["normal","bold","bolder","lighter"],d:"normal"},{n:"fontVariant",l:!0,inh:!0,k:["normal","small-caps"],d:"normal"},{n:"lineHeight",l:!0,syntax:t8.LENGTH,int:!0,d:"0"},{n:"letterSpacing",l:!0,syntax:t8.LENGTH,int:!0,d:"0"},{n:"miterLimit",l:!0,syntax:t8.NUMBER,d:function(t){return t===tE.PATH||t===tE.POLYGON||t===tE.POLYLINE?"4":"10"}},{n:"wordWrap",l:!0},{n:"wordWrapWidth",l:!0},{n:"maxLines",l:!0},{n:"textOverflow",l:!0,d:"clip"},{n:"leading",l:!0},{n:"textBaseline",l:!0,inh:!0,k:["top","hanging","middle","alphabetic","ideographic","bottom"],d:"alphabetic"},{n:"textAlign",l:!0,inh:!0,k:["start","center","middle","end","left","right"],d:"start"},{n:"markerStart",syntax:t8.MARKER},{n:"markerEnd",syntax:t8.MARKER},{n:"markerMid",syntax:t8.MARKER},{n:"markerStartOffset",syntax:t8.LENGTH,l:!0,int:!0,d:"0"},{n:"markerEndOffset",syntax:t8.LENGTH,l:!0,int:!0,d:"0"}],n8=new Set(n6.filter(function(t){return!!t.l}).map(function(t){return t.n})),n7={},n9=(0,A.Z)(function t(e){var n=this;(0,C.Z)(this,t),this.runtime=e,n6.forEach(function(t){n.registerMetadata(t)})},[{key:"registerMetadata",value:function(t){[t.n].concat((0,R.Z)(t.a||[])).forEach(function(e){n7[e]=t})}},{key:"getPropertySyntax",value:function(t){return this.runtime.CSSPropertySyntaxFactory[t]}},{key:"processProperties",value:function(t,e){var n,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{skipUpdateAttribute:!1,skipParse:!1,forceUpdateGeometry:!1,usedAttributes:[],memoize:!0};Object.assign(t.attributes,e);var r=t.parsedStyle.clipPath,a=t.parsedStyle.offsetPath;!function(t,e){var n=it(t);for(var i in e)n.has(i)&&(t.parsedStyle[i]=e[i])}(t,e);var o=!!i.forceUpdateGeometry;if(!o){for(var s in e)if(n8.has(s)){o=!0;break}}var l=it(t);l.has("fill")&&e.fill&&(t.parsedStyle.fill=no(e.fill)),l.has("stroke")&&e.stroke&&(t.parsedStyle.stroke=no(e.stroke)),l.has("shadowColor")&&e.shadowColor&&(t.parsedStyle.shadowColor=no(e.shadowColor)),l.has("filter")&&e.filter&&(t.parsedStyle.filter=function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if("none"===(e=e.toLowerCase().trim()))return[];for(var n=/\s*([\w-]+)\(([^)]*)\)/g,i=[],r=0;(t=n.exec(e))&&t.index===r;)if(r=t.index+t[0].length,nm.indexOf(t[1])>-1&&i.push({name:t[1],params:t[2].split(" ").map(function(t){return nl(/deg|rad|grad|turn|px|%/g,t)||no(t)})}),n.lastIndex===e.length)return i;return[]}(e.filter)),l.has("radius")&&!(0,X.Z)(e.radius)&&(t.parsedStyle.radius=ng(e.radius,4)),l.has("lineDash")&&!(0,X.Z)(e.lineDash)&&(t.parsedStyle.lineDash=ng(e.lineDash,"even")),l.has("points")&&e.points&&(t.parsedStyle.points=(n=e.points,{points:(0,H.Z)(n)?n.split(" ").map(function(t){var e=t.split(","),n=(0,L.Z)(e,2),i=n[0],r=n[1];return[Number(i),Number(r)]}):n,totalLength:0,segments:[]})),l.has("d")&&""===e.d&&(t.parsedStyle.d=(0,M.Z)({},t6)),l.has("d")&&e.d&&(t.parsedStyle.d=nF(e.d)),l.has("textTransform")&&e.textTransform&&this.runtime.CSSPropertySyntaxFactory[t8.TEXT_TRANSFORM].calculator(null,null,{value:e.textTransform},t,null),l.has("clipPath")&&!(0,ta.Z)(e.clipPath)&&this.runtime.CSSPropertySyntaxFactory[t8.DEFINED_PATH].calculator("clipPath",r,e.clipPath,t,this.runtime),l.has("offsetPath")&&e.offsetPath&&this.runtime.CSSPropertySyntaxFactory[t8.DEFINED_PATH].calculator("offsetPath",a,e.offsetPath,t,this.runtime),l.has("transform")&&e.transform&&(t.parsedStyle.transform=nW(e.transform)),l.has("transformOrigin")&&e.transformOrigin&&(t.parsedStyle.transformOrigin=n3(e.transformOrigin)),l.has("markerStart")&&e.markerStart&&(t.parsedStyle.markerStart=this.runtime.CSSPropertySyntaxFactory[t8.MARKER].calculator(null,e.markerStart,e.markerStart,null,null)),l.has("markerEnd")&&e.markerEnd&&(t.parsedStyle.markerEnd=this.runtime.CSSPropertySyntaxFactory[t8.MARKER].calculator(null,e.markerEnd,e.markerEnd,null,null)),l.has("markerMid")&&e.markerMid&&(t.parsedStyle.markerMid=this.runtime.CSSPropertySyntaxFactory[t8.MARKER].calculator("",e.markerMid,e.markerMid,null,null)),l.has("zIndex")&&!(0,X.Z)(e.zIndex)&&this.runtime.CSSPropertySyntaxFactory[t8.Z_INDEX].postProcessor(t),l.has("offsetDistance")&&!(0,X.Z)(e.offsetDistance)&&this.runtime.CSSPropertySyntaxFactory[t8.OFFSET_DISTANCE].postProcessor(t),l.has("transform")&&e.transform&&this.runtime.CSSPropertySyntaxFactory[t8.TRANSFORM].postProcessor(t),l.has("transformOrigin")&&e.transformOrigin&&this.runtime.CSSPropertySyntaxFactory[t8.TRANSFORM_ORIGIN].postProcessor(t),o&&(t.geometry.dirty=!0,t.renderable.boundsDirty=!0,t.renderable.renderBoundsDirty=!0,i.forceUpdateGeometry||this.runtime.sceneGraphService.dirtifyToRoot(t))}},{key:"updateGeometry",value:function(t){var e=t.nodeName,n=this.runtime.geometryUpdaterFactory[e];if(n){var i=t.geometry;i.contentBounds||(i.contentBounds=new tA),i.renderBounds||(i.renderBounds=new tA);var r=t.parsedStyle,a=n.update(r,t),o=a.cx,s=a.cy,l=a.cz,u=a.hwidth,c=void 0===u?0:u,h=a.hheight,d=void 0===h?0:h,f=a.hdepth,v=[Math.abs(c),Math.abs(d),void 0===f?0:f],p=r.stroke,g=r.lineWidth,y=r.increasedLineWidthForHitTesting,m=r.shadowType,k=void 0===m?"outer":m,E=r.shadowColor,x=r.filter,T=r.transformOrigin,b=[void 0===o?0:o,void 0===s?0:s,void 0===l?0:l];i.contentBounds.update(b,v);var N=e===tE.POLYLINE||e===tE.POLYGON||e===tE.PATH?Math.SQRT2:.5;if(p&&!p.isNone){var w=(((void 0===g?1:g)||0)+((void 0===y?0:y)||0))*N;v[0]+=w,v[1]+=w}if(i.renderBounds.update(b,v),E&&k&&"inner"!==k){var S=i.renderBounds,P=S.min,M=S.max,C=r.shadowBlur,A=r.shadowOffsetX,R=r.shadowOffsetY,Z=C||0,O=A||0,L=R||0,I=P[0]-Z+O,_=M[0]+Z+O,G=P[1]-Z+L,F=M[1]+Z+L;P[0]=Math.min(P[0],I),M[0]=Math.max(M[0],_),P[1]=Math.min(P[1],G),M[1]=Math.max(M[1],F),i.renderBounds.setMinMax(P,M)}(void 0===x?[]:x).forEach(function(t){var e=t.name,n=t.params;if("blur"===e){var r=n[0].value;i.renderBounds.update(i.renderBounds.center,D.IH(i.renderBounds.halfExtents,i.renderBounds.halfExtents,[r,r,0]))}else if("drop-shadow"===e){var a=n[0].value,o=n[1].value,s=n[2].value,l=i.renderBounds,u=l.min,c=l.max,h=u[0]-s+a,d=c[0]+s+a,f=u[1]-s+o,v=c[1]+s+o;u[0]=Math.min(u[0],h),c[0]=Math.max(c[0],d),u[1]=Math.min(u[1],f),c[1]=Math.max(c[1],v),i.renderBounds.setMinMax(u,c)}}),t.geometry.dirty=!1;var B=d<0,U=(c<0?-1:1)*(T?ny(T[0],0,t,!0):0),Y=(B?-1:1)*(T?ny(T[1],1,t,!0):0);(U||Y)&&t.setOrigin(U,Y)}}},{key:"updateSizeAttenuation",value:function(t,e){t.style.isSizeAttenuation?(t.style.rawLineWidth||(t.style.rawLineWidth=t.style.lineWidth),t.style.lineWidth=(t.style.rawLineWidth||1)/e,t.nodeName===tE.CIRCLE&&(t.style.rawR||(t.style.rawR=t.style.r),t.style.r=(t.style.rawR||1)/e)):(t.style.rawLineWidth&&(t.style.lineWidth=t.style.rawLineWidth,delete t.style.rawLineWidth),t.nodeName===tE.CIRCLE&&t.style.rawR&&(t.style.r=t.style.rawR,delete t.style.rawR))}}]);function it(t){return t.constructor.PARSED_STYLE_LIST}var ie=(0,A.Z)(function t(){(0,C.Z)(this,t),this.mixer=nT},[{key:"calculator",value:function(t,e,n,i){return np(n)}}]),ii=(0,A.Z)(function t(){(0,C.Z)(this,t)},[{key:"calculator",value:function(t,e,n,i,r){return n instanceof eX&&(n=null),r.sceneGraphService.updateDisplayObjectDependency(t,e,n,i),"clipPath"===t&&i.forEach(function(t){0===t.childNodes.length&&r.sceneGraphService.dirtifyToRoot(t)}),n}}]),ir=(0,A.Z)(function t(){(0,C.Z)(this,t),this.parser=no,this.mixer=ns},[{key:"calculator",value:function(t,e,n,i){return n instanceof eX?"none"===n.value?eQ:e0:n}}]),ia=(0,A.Z)(function t(){(0,C.Z)(this,t)},[{key:"calculator",value:function(t,e,n){return n instanceof eX?[]:n}}]);function io(t){var e=t.parsedStyle.fontSize;return(0,X.Z)(e)?null:e}var is=(0,A.Z)(function t(){(0,C.Z)(this,t),this.mixer=nT},[{key:"calculator",value:function(t,e,n,i,r){if((0,Y.Z)(n))return n;if(!eW.isRelativeUnit(n.unit))return n.value;if(n.unit===eA.kPercentage)return 0;if(n.unit===eA.kEms){if(i.parentNode){var a,o=io(i.parentNode);if(o)return o*n.value}return 0}if(n.unit===eA.kRems){if(null!=i&&null!==(a=i.ownerDocument)&&void 0!==a&&a.documentElement){var s=io(i.ownerDocument.documentElement);if(s)return s*n.value}return 0}}}]),il=(0,A.Z)(function t(){(0,C.Z)(this,t),this.mixer=nN},[{key:"calculator",value:function(t,e,n){return n.map(function(t){return t.value})}}]),iu=(0,A.Z)(function t(){(0,C.Z)(this,t),this.mixer=nN},[{key:"calculator",value:function(t,e,n){return n.map(function(t){return t.value})}}]),ic=(0,A.Z)(function t(){(0,C.Z)(this,t)},[{key:"calculator",value:function(t,e,n,i){n instanceof eX&&(n=null);var r,a=null===(r=n)||void 0===r?void 0:r.cloneNode(!0);return a&&(a.style.isMarker=!0),a}}]),ih=(0,A.Z)(function t(){(0,C.Z)(this,t),this.mixer=nT},[{key:"calculator",value:function(t,e,n){return n.value}}]),id=(0,A.Z)(function t(){(0,C.Z)(this,t),this.mixer=nb(0,1)},[{key:"calculator",value:function(t,e,n){return n.value}},{key:"postProcessor",value:function(t){var e=t.parsedStyle,n=e.offsetPath,i=e.offsetDistance;if(n){var r=n.nodeName;if(r===tE.LINE||r===tE.PATH||r===tE.POLYLINE){var a=n.getPoint(i);a&&t.setLocalPosition(a.x,a.y)}}}}]),iv=(0,A.Z)(function t(){(0,C.Z)(this,t),this.mixer=nb(0,1)},[{key:"calculator",value:function(t,e,n){return n.value}}]),ip=(0,A.Z)(function t(){(0,C.Z)(this,t),this.parser=nF,this.mixer=nB},[{key:"calculator",value:function(t,e,n){return n instanceof eX&&"unset"===n.value?{absolutePath:[],hasArc:!1,segments:[],polygons:[],polylines:[],curve:null,totalLength:0,rect:new tI(0,0,0,0)}:n}}]),ig=(0,A.Z)(function t(){(0,C.Z)(this,t),this.mixer=nU}),iy=function(t){function e(){var t;(0,C.Z)(this,e);for(var n=arguments.length,i=Array(n),r=0;r0&&void 0!==arguments[0]?arguments[0]:"auto",e=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,i=!1,r=!1,a=!!e&&!e.isNone,o=!!n&&!n.isNone;return"visiblepainted"===t||"painted"===t||"auto"===t?(i=a,r=o):"visiblefill"===t||"fill"===t?i=!0:"visiblestroke"===t||"stroke"===t?r=!0:("visible"===t||"all"===t)&&(i=!0,r=!0),[i,r]}var iA=1,iR="object"==typeof self&&self.self===self?self:"object"==typeof n.g&&n.g.global===n.g?n.g:{},iZ=Date.now(),iO={},iL=Date.now(),iI=function(t){if("function"!=typeof t)throw TypeError("".concat(t," is not a function"));var e=Date.now(),n=e-iL,i=iA++;return iO[i]=t,Object.keys(iO).length>1||setTimeout(function(){iL=e;var t=iO;iO={},Object.keys(t).forEach(function(e){return t[e](iR.performance&&"function"==typeof iR.performance.now?iR.performance.now():Date.now()-iZ)})},n>16?0:16-n),i},iD=function(t){return"string"!=typeof t?iI:""===t?iR.requestAnimationFrame:iR["".concat(t,"RequestAnimationFrame")]},i_=function(t,e){for(var n=0;void 0!==t[n];){if(e(t[n]))return t[n];n+=1}}(["","webkit","moz","ms","o"],function(t){return!!iD(t)}),iG=iD(i_),iF="string"!=typeof i_?function(t){delete iO[t]}:""===i_?iR.cancelAnimationFrame:iR["".concat(i_,"CancelAnimationFrame")]||iR["".concat(i_,"CancelRequestAnimationFrame")];iR.requestAnimationFrame=iG,iR.cancelAnimationFrame=iF;var iB=(0,A.Z)(function t(){(0,C.Z)(this,t),this.callbacks=[]},[{key:"getCallbacksNum",value:function(){return this.callbacks.length}},{key:"tapPromise",value:function(t,e){this.callbacks.push(e)}},{key:"promise",value:function(){for(var t=arguments.length,e=Array(t),n=0;n1&&void 0!==arguments[1]&&arguments[1],i=rs.get(this);if(!i&&(i=this.document?this:this.defaultView?this.defaultView:null===(e=this.ownerDocument)||void 0===e?void 0:e.defaultView)&&rs.set(this,i),i){if(t.manager=i.getEventService(),!t.manager)return!1;t.defaultPrevented=!1,t.path?t.path.length=0:t.page=[],n||(t.target=this),t.manager.dispatchEvent(t,t.type,n)}else this.emitter.emit(t.type,t);return!t.defaultPrevented}}]),ru=function(t){function e(){var t;(0,C.Z)(this,e);for(var n=arguments.length,i=Array(n),r=0;r0&&void 0!==arguments[0]?arguments[0]:{};return this.parentNode?this.parentNode.getRootNode(t):t.composed&&this.host?this.host.getRootNode(t):this}},{key:"hasChildNodes",value:function(){return this.childNodes.length>0}},{key:"isDefaultNamespace",value:function(t){throw Error(tD)}},{key:"lookupNamespaceURI",value:function(t){throw Error(tD)}},{key:"lookupPrefix",value:function(t){throw Error(tD)}},{key:"normalize",value:function(){throw Error(tD)}},{key:"isEqualNode",value:function(t){return this===t}},{key:"isSameNode",value:function(t){return this.isEqualNode(t)}},{key:"parent",get:function(){return this.parentNode}},{key:"parentElement",get:function(){return null}},{key:"nextSibling",get:function(){return null}},{key:"previousSibling",get:function(){return null}},{key:"firstChild",get:function(){return this.childNodes.length>0?this.childNodes[0]:null}},{key:"lastChild",get:function(){return this.childNodes.length>0?this.childNodes[this.childNodes.length-1]:null}},{key:"compareDocumentPosition",value:function(t){if(t===this)return 0;for(var n,i=t,r=this,a=[i],o=[r];null!==(n=i.parentNode)&&void 0!==n?n:r.parentNode;)i=i.parentNode?(a.push(i.parentNode),i.parentNode):i,r=r.parentNode?(o.push(r.parentNode),r.parentNode):r;if(i!==r)return e.DOCUMENT_POSITION_DISCONNECTED|e.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC|e.DOCUMENT_POSITION_PRECEDING;var s=a.length>o.length?a:o,l=s===a?o:a;if(s[s.length-l.length]===l[0])return s===a?e.DOCUMENT_POSITION_CONTAINED_BY|e.DOCUMENT_POSITION_FOLLOWING:e.DOCUMENT_POSITION_CONTAINS|e.DOCUMENT_POSITION_PRECEDING;for(var u=s.length-l.length,c=l.length-1;c>=0;c--){var h=l[c],d=s[u+c];if(d!==h){var f=h.parentNode.childNodes;if(f.indexOf(h)0&&e;)e=e.parentNode,t--;return e}},{key:"forEach",value:function(t){for(var e=[this];e.length>0;){var n=e.pop();if(!1===t(n))break;for(var i=n.childNodes.length-1;i>=0;i--)e.push(n.childNodes[i])}}}],[{key:"isNode",value:function(t){return!!t.childNodes}}])}(rl);ru.DOCUMENT_POSITION_DISCONNECTED=1,ru.DOCUMENT_POSITION_PRECEDING=2,ru.DOCUMENT_POSITION_FOLLOWING=4,ru.DOCUMENT_POSITION_CONTAINS=8,ru.DOCUMENT_POSITION_CONTAINED_BY=16,ru.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC=32;var rc=(0,A.Z)(function t(e,n){var i=this;(0,C.Z)(this,t),this.nativeHTMLMap=new WeakMap,this.cursor="default",this.mappingTable={},this.mappingState={trackingData:{}},this.eventPool=new Map,this.tmpMatrix=G.create(),this.tmpVec3=D.Ue(),this.onPointerDown=function(t){var e=i.createPointerEvent(t);if(i.dispatchEvent(e,"pointerdown"),"touch"===e.pointerType)i.dispatchEvent(e,"touchstart");else if("mouse"===e.pointerType||"pen"===e.pointerType){var n=2===e.button;i.dispatchEvent(e,n?"rightdown":"mousedown")}i.trackingData(t.pointerId).pressTargetsByButton[t.button]=e.composedPath(),i.freeEvent(e)},this.onPointerUp=function(t){var e=iP.now(),n=i.createPointerEvent(t,void 0,void 0,i.context.config.alwaysTriggerPointerEventOnCanvas?i.rootTarget:void 0);if(i.dispatchEvent(n,"pointerup"),"touch"===n.pointerType)i.dispatchEvent(n,"touchend");else if("mouse"===n.pointerType||"pen"===n.pointerType){var r=2===n.button;i.dispatchEvent(n,r?"rightup":"mouseup")}var a=i.trackingData(t.pointerId),o=i.findMountedTarget(a.pressTargetsByButton[t.button]),s=o;if(o&&!n.composedPath().includes(o)){for(var l=o;l&&!n.composedPath().includes(l);){if(n.currentTarget=l,i.notifyTarget(n,"pointerupoutside"),"touch"===n.pointerType)i.notifyTarget(n,"touchendoutside");else if("mouse"===n.pointerType||"pen"===n.pointerType){var u=2===n.button;i.notifyTarget(n,u?"rightupoutside":"mouseupoutside")}ru.isNode(l)&&(l=l.parentNode)}delete a.pressTargetsByButton[t.button],s=l}if(s){var c,h=i.clonePointerEvent(n,"click");h.target=s,h.path=[],a.clicksByButton[t.button]||(a.clicksByButton[t.button]={clickCount:0,target:h.target,timeStamp:e});var d=i.context.renderingContext.root.ownerDocument.defaultView,f=a.clicksByButton[t.button];f.target===h.target&&e-f.timeStamp=1;i--)if(t.currentTarget=n[i],this.notifyTarget(t,e),t.propagationStopped||t.propagationImmediatelyStopped)return;if(t.eventPhase=t.AT_TARGET,t.currentTarget=t.target,this.notifyTarget(t,e),!t.propagationStopped&&!t.propagationImmediatelyStopped){var r=n.indexOf(t.currentTarget);t.eventPhase=t.BUBBLING_PHASE;for(var a=r+1;ar||n>a?null:!o&&this.pickHandler(t)||this.rootTarget||null}},{key:"isNativeEventFromCanvas",value:function(t,e){var n,i=null==e?void 0:e.target;if(null!==(n=i)&&void 0!==n&&n.shadowRoot&&(i=e.composedPath()[0]),i){if(i===t)return!0;if(t&&t.contains)return t.contains(i)}return null!=e&&!!e.composedPath&&e.composedPath().indexOf(t)>-1}},{key:"getExistedHTML",value:function(t){if(t.nativeEvent.composedPath)for(var e=0,n=t.nativeEvent.composedPath();e=0;n--){var i=t[n];if(i===this.rootTarget||ru.isNode(i)&&i.parentNode===e)e=t[n];else break}return e}},{key:"getCursor",value:function(t){for(var e=t;e;){var n=!!e.getAttribute&&e.getAttribute("cursor");if(n)return n;e=ru.isNode(e)&&e.parentNode}}}]),rh=(0,A.Z)(function t(){(0,C.Z)(this,t)},[{key:"getOrCreateCanvas",value:function(t,e){if(this.canvas)return this.canvas;if(t||rX.offscreenCanvas)this.canvas=t||rX.offscreenCanvas,this.context=this.canvas.getContext("2d",(0,M.Z)({willReadFrequently:!0},e));else try{this.canvas=new window.OffscreenCanvas(0,0),this.context=this.canvas.getContext("2d",(0,M.Z)({willReadFrequently:!0},e)),this.context&&this.context.measureText||(this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d"))}catch(t){this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d",(0,M.Z)({willReadFrequently:!0},e))}return this.canvas.width=10,this.canvas.height=10,this.canvas}},{key:"getOrCreateContext",value:function(t,e){return this.context||this.getOrCreateCanvas(t,e),this.context}}],[{key:"createCanvas",value:function(){try{return new window.OffscreenCanvas(0,0)}catch(t){}try{return document.createElement("canvas")}catch(t){}return null}}]),rd=((k={})[k.CAMERA_CHANGED=0]="CAMERA_CHANGED",k[k.DISPLAY_OBJECT_CHANGED=1]="DISPLAY_OBJECT_CHANGED",k[k.NONE=2]="NONE",k),rf=(0,A.Z)(function t(e,n){(0,C.Z)(this,t),this.inited=!1,this.stats={total:0,rendered:0},this.zIndexCounter=0,this.hooks={init:new iY,initAsync:new iB,dirtycheck:new iV,cull:new iV,beginFrame:new iY,beforeRender:new iY,render:new iY,afterRender:new iY,endFrame:new iY,destroy:new iY,pick:new iU,pickSync:new iV,pointerDown:new iY,pointerUp:new iY,pointerMove:new iY,pointerOut:new iY,pointerOver:new iY,pointerWheel:new iY,pointerCancel:new iY,click:new iY},this.globalRuntime=e,this.context=n},[{key:"init",value:function(t){var e=this,n=(0,M.Z)((0,M.Z)({},this.globalRuntime),this.context);this.context.renderingPlugins.forEach(function(t){t.apply(n,e.globalRuntime)}),this.hooks.init.call(),0===this.hooks.initAsync.getCallbacksNum()?(this.inited=!0,t()):this.hooks.initAsync.promise().then(function(){e.inited=!0,t()}).catch(function(t){})}},{key:"getStats",value:function(){return this.stats}},{key:"disableDirtyRectangleRendering",value:function(){return!this.context.config.renderer.getConfig().enableDirtyRectangleRendering||this.context.renderingContext.renderReasons.has(rd.CAMERA_CHANGED)}},{key:"render",value:function(t,e,n){var i=this;this.stats.total=0,this.stats.rendered=0,this.zIndexCounter=0;var r=this.context.renderingContext;if(this.globalRuntime.sceneGraphService.syncHierarchy(r.root),this.globalRuntime.sceneGraphService.triggerPendingEvents(),r.renderReasons.size&&this.inited){r.dirtyRectangleRenderingDisabled=this.disableDirtyRectangleRendering();var a=1===r.renderReasons.size&&r.renderReasons.has(rd.CAMERA_CHANGED),o=!t.disableRenderHooks||!(t.disableRenderHooks&&a);o&&this.renderDisplayObject(r.root,t,r),this.hooks.beginFrame.call(e),o&&r.renderListCurrentFrame.forEach(function(t){i.hooks.beforeRender.call(t),i.hooks.render.call(t),i.hooks.afterRender.call(t)}),this.hooks.endFrame.call(e),r.renderListCurrentFrame=[],r.renderReasons.clear(),n()}}},{key:"renderDisplayObject",value:function(t,e,n){for(var i=this,r=e.renderer.getConfig(),a=r.enableDirtyCheck,o=r.enableCulling,s=[t];s.length>0;){var l=s.pop();!function(t){var e=t.renderable,r=t.sortable,s=a?e.dirty||n.dirtyRectangleRenderingDisabled?t:null:t;if(s){var l=o?i.hooks.cull.call(s,i.context.camera):s;l&&(i.stats.rendered+=1,n.renderListCurrentFrame.push(l))}e.dirty=!1,r.renderOrder=i.zIndexCounter,i.zIndexCounter+=1,i.stats.total+=1,r.dirty&&(i.sort(t,r),r.dirty=!1,r.dirtyChildren=[],r.dirtyReason=void 0)}(l);for(var u=l.sortable.sorted||l.childNodes,c=u.length-1;c>=0;c--)s.push(u[c])}}},{key:"sort",value:function(t,e){e.sorted&&e.dirtyReason!==t4.Z_INDEX_CHANGED?e.dirtyChildren.forEach(function(n){if(-1===t.childNodes.indexOf(n)){var i=e.sorted.indexOf(n);i>=0&&e.sorted.splice(i,1)}else if(0===e.sorted.length)e.sorted.push(n);else{var r=function(t,e){for(var n=0,i=t.length;n>>1;0>iT(t[r],e)?n=r+1:i=r}return n}(e.sorted,n);e.sorted.splice(r,0,n)}}):e.sorted=t.childNodes.slice().sort(iT)}},{key:"destroy",value:function(){this.inited=!1,this.hooks.destroy.call(),this.globalRuntime.sceneGraphService.clearPendingEvents()}},{key:"dirtify",value:function(){this.context.renderingContext.renderReasons.add(rd.DISPLAY_OBJECT_CHANGED)}}]),rv=/\[\s*(.*)=(.*)\s*\]/,rp=(0,A.Z)(function t(){(0,C.Z)(this,t)},[{key:"selectOne",value:function(t,e){var n=this;if(t.startsWith("."))return e.find(function(e){return((null==e?void 0:e.classList)||[]).indexOf(n.getIdOrClassname(t))>-1});if(t.startsWith("#"))return e.find(function(e){return e.id===n.getIdOrClassname(t)});if(t.startsWith("[")){var i=this.getAttribute(t),r=i.name,a=i.value;return r?e.find(function(t){return e!==t&&("name"===r?t.name===a:n.attributeToString(t,r)===a)}):null}return e.find(function(n){return e!==n&&n.nodeName===t})}},{key:"selectAll",value:function(t,e){var n=this;if(t.startsWith("."))return e.findAll(function(i){return e!==i&&((null==i?void 0:i.classList)||[]).indexOf(n.getIdOrClassname(t))>-1});if(t.startsWith("#"))return e.findAll(function(i){return e!==i&&i.id===n.getIdOrClassname(t)});if(t.startsWith("[")){var i=this.getAttribute(t),r=i.name,a=i.value;return r?e.findAll(function(t){return e!==t&&("name"===r?t.name===a:n.attributeToString(t,r)===a)}):[]}return e.findAll(function(n){return e!==n&&n.nodeName===t})}},{key:"is",value:function(t,e){if(t.startsWith("."))return e.className===this.getIdOrClassname(t);if(t.startsWith("#"))return e.id===this.getIdOrClassname(t);if(t.startsWith("[")){var n=this.getAttribute(t),i=n.name,r=n.value;return"name"===i?e.name===r:this.attributeToString(e,i)===r}return e.nodeName===t}},{key:"getIdOrClassname",value:function(t){return t.substring(1)}},{key:"getAttribute",value:function(t){var e=t.match(rv),n="",i="";return e&&e.length>2&&(n=e[1].replace(/"/g,""),i=e[2].replace(/"/g,"")),{name:n,value:i}}},{key:"attributeToString",value:function(t,e){if(!t.getAttribute)return"";var n=t.getAttribute(e);return(0,X.Z)(n)?"":n.toString?n.toString():""}}]),rg=((E={}).ATTR_MODIFIED="DOMAttrModified",E.INSERTED="DOMNodeInserted",E.MOUNTED="DOMNodeInsertedIntoDocument",E.REMOVED="removed",E.UNMOUNTED="DOMNodeRemovedFromDocument",E.REPARENT="reparent",E.DESTROY="destroy",E.BOUNDS_CHANGED="bounds-changed",E.CULLED="culled",E),ry=function(t){function e(t,n,i,r,a,o,s,l){var u;return(0,C.Z)(this,e),(u=(0,Z.Z)(this,e,[null])).relatedNode=n,u.prevValue=i,u.newValue=r,u.attrName=a,u.attrChange=o,u.prevParsedValue=s,u.newParsedValue=l,u.type=t,u}return(0,O.Z)(e,t),(0,A.Z)(e)}(rn);function rm(t){var e=t.renderable;e&&(e.renderBoundsDirty=!0,e.boundsDirty=!0)}ry.ADDITION=2,ry.MODIFICATION=1,ry.REMOVAL=3;var rk=new ry(rg.REPARENT,null,"","","",0,"",""),rE=U.Ue(),rx=D.Ue(),rT=D.al(1,1,1),rb=G.create(),rN=U.Ue(),rw=D.Ue(),rS=G.create(),rP=B.Ue(),rM=D.Ue(),rC=B.Ue(),rA=D.Ue(),rR=D.Ue(),rZ=D.Ue(),rO=G.create(),rL=B.Ue(),rI=B.Ue(),rD=B.Ue(),r_={affectChildren:!0},rG=(0,A.Z)(function t(e){(0,C.Z)(this,t),this.pendingEvents=new Map,this.boundsChangedEvent=new ro(rg.BOUNDS_CHANGED),this.displayObjectDependencyMap=new WeakMap,this.runtime=e},[{key:"matches",value:function(t,e){return this.runtime.sceneGraphSelector.is(t,e)}},{key:"querySelector",value:function(t,e){return this.runtime.sceneGraphSelector.selectOne(t,e)}},{key:"querySelectorAll",value:function(t,e){return this.runtime.sceneGraphSelector.selectAll(t,e)}},{key:"attach",value:function(t,e,n){var i,r=!1;t.parentNode&&(r=t.parentNode!==e,this.detach(t));var a=t.nodeName===tE.FRAGMENT,o=iM(e);t.parentNode=e;var s=a?t.childNodes:[t];(0,Y.Z)(n)?s.forEach(function(t){e.childNodes.splice(n,0,t),t.parentNode=e}):s.forEach(function(t){e.childNodes.push(t),t.parentNode=e});var l=e.sortable;if((null!=l&&null!==(i=l.sorted)&&void 0!==i&&i.length||t.parsedStyle.zIndex)&&(-1===l.dirtyChildren.indexOf(t)&&l.dirtyChildren.push(t),l.dirty=!0,l.dirtyReason=t4.ADDED),!o){if(a)this.dirtifyFragment(t);else{var u=t.transformable;u&&this.dirtifyWorld(t,u)}r&&t.dispatchEvent(rk)}}},{key:"detach",value:function(t){if(t.parentNode){var e,n,i=t.transformable,r=t.parentNode.sortable;(null!=r&&null!==(e=r.sorted)&&void 0!==e&&e.length||null!==(n=t.style)&&void 0!==n&&n.zIndex)&&(-1===r.dirtyChildren.indexOf(t)&&r.dirtyChildren.push(t),r.dirty=!0,r.dirtyReason=t4.REMOVED);var a=t.parentNode.childNodes.indexOf(t);a>-1&&t.parentNode.childNodes.splice(a,1),i&&this.dirtifyWorld(t,i),t.parentNode=null}}},{key:"getOrigin",value:function(t){return t.getGeometryBounds(),t.transformable.origin}},{key:"setOrigin",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;"number"==typeof e&&(e=[e,n,i]);var r=t.transformable;if(e[0]!==r.origin[0]||e[1]!==r.origin[1]||e[2]!==r.origin[2]){var a=r.origin;a[0]=e[0],a[1]=e[1],a[2]=e[2]||0,this.dirtifyLocal(t,r)}}},{key:"rotate",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;"number"==typeof e&&(e=D.al(e,n,i));var r=t.transformable;if(null!==t.parentNode&&t.parentNode.transformable){B.Su(rP,e[0],e[1],e[2]);var a=this.getRotation(t),o=this.getRotation(t.parentNode);B.JG(rD,o),B.U_(rD,rD),B.Jp(rP,rD,rP),B.Jp(r.localRotation,rP,a),B.Fv(r.localRotation,r.localRotation),this.dirtifyLocal(t,r)}else this.rotateLocal(t,e)}},{key:"rotateLocal",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;"number"==typeof e&&(e=D.al(e,n,i));var r=t.transformable;B.Su(rI,e[0],e[1],e[2]),B.dC(r.localRotation,r.localRotation,rI),this.dirtifyLocal(t,r)}},{key:"setEulerAngles",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;"number"==typeof e&&(e=D.al(e,n,i));var r=t.transformable;if(null!==t.parentNode&&t.parentNode.transformable){B.Su(r.localRotation,e[0],e[1],e[2]);var a=this.getRotation(t.parentNode);B.JG(rL,B.U_(rP,a)),B.dC(r.localRotation,r.localRotation,rL),this.dirtifyLocal(t,r)}else this.setLocalEulerAngles(t,e)}},{key:"setLocalEulerAngles",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=!(arguments.length>4)||void 0===arguments[4]||arguments[4];"number"==typeof e&&(e=D.al(e,n,i));var a=t.transformable;B.Su(a.localRotation,e[0],e[1],e[2]),r&&this.dirtifyLocal(t,a)}},{key:"translateLocal",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;"number"==typeof e&&(e=D.al(e,n,i));var r=t.transformable;D.fS(e,rx)||(D.VC(e,e,r.localRotation),D.IH(r.localPosition,r.localPosition,e),this.dirtifyLocal(t,r))}},{key:"setPosition",value:function(t,e){var n,i=t.transformable;if(rZ[0]=e[0],rZ[1]=e[1],rZ[2]=null!==(n=e[2])&&void 0!==n?n:0,!D.fS(this.getPosition(t),rZ)){if(D.JG(i.position,rZ),null!==t.parentNode&&t.parentNode.transformable){var r=t.parentNode.transformable;G.copy(rO,r.worldTransform),G.invert(rO,rO),D.fF(i.localPosition,rZ,rO)}else D.JG(i.localPosition,rZ);this.dirtifyLocal(t,i)}}},{key:"setLocalPosition",value:function(t,e){var n,i=!(arguments.length>2)||void 0===arguments[2]||arguments[2],r=t.transformable;rR[0]=e[0],rR[1]=e[1],rR[2]=null!==(n=e[2])&&void 0!==n?n:0,!D.fS(r.localPosition,rR)&&(D.JG(r.localPosition,rR),i&&this.dirtifyLocal(t,r))}},{key:"scaleLocal",value:function(t,e){var n,i=t.transformable;D.Jp(i.localScale,i.localScale,D.t8(rw,e[0],e[1],null!==(n=e[2])&&void 0!==n?n:1)),this.dirtifyLocal(t,i)}},{key:"setLocalScale",value:function(t,e){var n,i=!(arguments.length>2)||void 0===arguments[2]||arguments[2],r=t.transformable;D.t8(rw,e[0],e[1],null!==(n=e[2])&&void 0!==n?n:r.localScale[2]),!D.fS(rw,r.localScale)&&(D.JG(r.localScale,rw),i&&this.dirtifyLocal(t,r))}},{key:"translate",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;"number"==typeof e&&(e=D.t8(rw,e,n,i)),D.fS(e,rx)||(D.IH(rw,this.getPosition(t),e),this.setPosition(t,rw))}},{key:"setRotation",value:function(t,e,n,i,r){var a=t.transformable;if("number"==typeof e&&(e=B.al(e,n,i,r)),null!==t.parentNode&&t.parentNode.transformable){var o=this.getRotation(t.parentNode);B.JG(rP,o),B.U_(rP,rP),B.Jp(a.localRotation,rP,e),B.Fv(a.localRotation,a.localRotation),this.dirtifyLocal(t,a)}else this.setLocalRotation(t,e)}},{key:"setLocalRotation",value:function(t,e,n,i,r){var a=!(arguments.length>5)||void 0===arguments[5]||arguments[5];"number"==typeof e&&(e=B.t8(rP,e,n,i,r));var o=t.transformable;B.JG(o.localRotation,e),a&&this.dirtifyLocal(t,o)}},{key:"setLocalSkew",value:function(t,e,n){var i=!(arguments.length>3)||void 0===arguments[3]||arguments[3];"number"==typeof e&&(e=U.t8(rN,e,n));var r=t.transformable;U.JG(r.localSkew,e),i&&this.dirtifyLocal(t,r)}},{key:"dirtifyLocal",value:function(t,e){iM(t)||e.localDirtyFlag||(e.localDirtyFlag=!0,e.dirtyFlag||this.dirtifyWorld(t,e))}},{key:"dirtifyWorld",value:function(t,e){e.dirtyFlag||this.unfreezeParentToRoot(t),this.dirtifyWorldInternal(t,e),this.dirtifyToRoot(t,!0)}},{key:"dirtifyFragment",value:function(t){var e=t.transformable;e&&(e.frozen=!1,e.dirtyFlag=!0,e.localDirtyFlag=!0);var n=t.renderable;n&&(n.renderBoundsDirty=!0,n.boundsDirty=!0,n.dirty=!0);for(var i=t.childNodes.length,r=0;r1&&void 0!==arguments[1]&&arguments[1],n=t;for(n.renderable&&(n.renderable.dirty=!0);n;)rm(n),n=n.parentNode;e&&t.forEach(function(t){rm(t)}),this.informDependentDisplayObjects(t),this.pendingEvents.set(t,e)}},{key:"updateDisplayObjectDependency",value:function(t,e,n,i){if(e&&e!==n){var r=this.displayObjectDependencyMap.get(e);if(r&&r[t]){var a=r[t].indexOf(i);r[t].splice(a,1)}}if(n){var o=this.displayObjectDependencyMap.get(n);o||(this.displayObjectDependencyMap.set(n,{}),o=this.displayObjectDependencyMap.get(n)),o[t]||(o[t]=[]),o[t].push(i)}}},{key:"informDependentDisplayObjects",value:function(t){var e=this,n=this.displayObjectDependencyMap.get(t);n&&Object.keys(n).forEach(function(t){n[t].forEach(function(n){e.dirtifyToRoot(n,!0),n.dispatchEvent(new ry(rg.ATTR_MODIFIED,n,e,e,t,ry.MODIFICATION,e,e)),n.isCustomElement&&n.isConnected&&n.attributeChangedCallback&&n.attributeChangedCallback(t,e,e)})})}},{key:"getPosition",value:function(t){var e=t.transformable;return G.getTranslation(e.position,this.getWorldTransform(t,e))}},{key:"getRotation",value:function(t){var e=t.transformable;return G.getRotation(e.rotation,this.getWorldTransform(t,e))}},{key:"getScale",value:function(t){var e=t.transformable;return G.getScaling(e.scaling,this.getWorldTransform(t,e))}},{key:"getWorldTransform",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.transformable;return(e.localDirtyFlag||e.dirtyFlag)&&(t.parentNode&&t.parentNode.transformable&&this.getWorldTransform(t.parentNode),this.sync(t,e)),e.worldTransform}},{key:"getLocalPosition",value:function(t){return t.transformable.localPosition}},{key:"getLocalRotation",value:function(t){return t.transformable.localRotation}},{key:"getLocalScale",value:function(t){return t.transformable.localScale}},{key:"getLocalSkew",value:function(t){return t.transformable.localSkew}},{key:"calcLocalTransform",value:function(t){if(0!==t.localSkew[0]||0!==t.localSkew[1]){G.fromRotationTranslationScaleOrigin(t.localTransform,t.localRotation,t.localPosition,D.al(1,1,1),t.origin),(0!==t.localSkew[0]||0!==t.localSkew[1])&&(G.identity(rS),rS[4]=Math.tan(t.localSkew[0]),rS[1]=Math.tan(t.localSkew[1]),G.multiply(t.localTransform,t.localTransform,rS));var e=G.fromRotationTranslationScaleOrigin(rS,B.t8(rP,0,0,0,1),D.t8(rw,1,1,1),t.localScale,t.origin);G.multiply(t.localTransform,t.localTransform,e)}else{var n=t.localTransform,i=t.localPosition,r=t.localRotation,a=t.localScale,o=t.origin,s=0!==i[0]||0!==i[1]||0!==i[2],l=1!==r[3]||0!==r[0]||0!==r[1]||0!==r[2],u=1!==a[0]||1!==a[1]||1!==a[2],c=0!==o[0]||0!==o[1]||0!==o[2];l||u||c?G.fromRotationTranslationScaleOrigin(n,r,i,a,o):s?G.fromTranslation(n,i):G.identity(n)}}},{key:"getLocalTransform",value:function(t){var e=t.transformable;return e.localDirtyFlag&&(this.calcLocalTransform(e),e.localDirtyFlag=!1),e.localTransform}},{key:"setLocalTransform",value:function(t,e){var n=G.getTranslation(rM,e),i=G.getRotation(rC,e),r=G.getScaling(rA,e);this.setLocalScale(t,r,!1),this.setLocalPosition(t,n,!1),this.setLocalRotation(t,i,void 0,void 0,void 0,!1),this.dirtifyLocal(t,t.transformable)}},{key:"resetLocalTransform",value:function(t){this.setLocalScale(t,rT,!1),this.setLocalPosition(t,rx,!1),this.setLocalEulerAngles(t,rx,void 0,void 0,!1),this.setLocalSkew(t,rE,void 0,!1),this.dirtifyLocal(t,t.transformable)}},{key:"getTransformedGeometryBounds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0,i=this.getGeometryBounds(t,e);if(!tA.isEmpty(i)){var r=n||new tA;return r.setFromTransformedAABB(i,this.getWorldTransform(t)),r}return null}},{key:"getGeometryBounds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.geometry;return n.dirty&&rX.styleValueRegistry.updateGeometry(t),(e?n.renderBounds:n.contentBounds||null)||new tA}},{key:"getBounds",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=t.renderable;if(!i.boundsDirty&&!n&&i.bounds)return i.bounds;if(!i.renderBoundsDirty&&n&&i.renderBounds)return i.renderBounds;var r=n?i.renderBounds:i.bounds,a=this.getTransformedGeometryBounds(t,n,r);if(t.childNodes.forEach(function(t){var i=e.getBounds(t,n);i&&(a?a.add(i):(a=r||new tA).update(i.center,i.halfExtents))}),a||(a=new tA),n){var o=ib(t);if(o){var s=o.parsedStyle.clipPath.getBounds(n);a?s&&(a=s.intersection(a)):a.update(s.center,s.halfExtents)}}return n?(i.renderBounds=a,i.renderBoundsDirty=!1):(i.bounds=a,i.boundsDirty=!1),a}},{key:"getLocalBounds",value:function(t){if(t.parentNode){var e=rb;t.parentNode.transformable&&(e=G.invert(rS,this.getWorldTransform(t.parentNode)));var n=this.getBounds(t);if(!tA.isEmpty(n)){var i=new tA;return i.setFromTransformedAABB(n,e),i}}return this.getBounds(t)}},{key:"getBoundingClientRect",value:function(t){var e,n,i=this.getGeometryBounds(t);tA.isEmpty(i)||(n=new tA).setFromTransformedAABB(i,this.getWorldTransform(t));var r=null===(e=t.ownerDocument)||void 0===e||null===(e=e.defaultView)||void 0===e?void 0:e.getContextService().getBoundingClientRect();if(n){var a=n.getMin(),o=(0,L.Z)(a,2),s=o[0],l=o[1],u=n.getMax(),c=(0,L.Z)(u,2),h=c[0],d=c[1];return new tI(s+((null==r?void 0:r.left)||0),l+((null==r?void 0:r.top)||0),h-s,d-l)}return new tI((null==r?void 0:r.left)||0,(null==r?void 0:r.top)||0,0,0)}},{key:"dirtifyWorldInternal",value:function(t,e){var n=this;if(!e.dirtyFlag){e.dirtyFlag=!0,e.frozen=!1,t.childNodes.forEach(function(t){var e=t.transformable;e.dirtyFlag||n.dirtifyWorldInternal(t,e)});var i=t.renderable;i&&(i.renderBoundsDirty=!0,i.boundsDirty=!0,i.dirty=!0)}}},{key:"syncHierarchy",value:function(t){var e=t.transformable;if(!e.frozen){e.frozen=!0,(e.localDirtyFlag||e.dirtyFlag)&&this.sync(t,e);for(var n=t.childNodes,i=0;is;--d){for(var g=0;g=0;h--){var d=c[h].trim();!iH.test(d)&&0>iX.indexOf(d)&&(d='"'.concat(d,'"')),c[h]=d}return"".concat(void 0===r?"normal":r," ").concat(o," ").concat(l," ").concat(u," ").concat(c.join(","))}(e),k=this.measureFont(m,n);0===k.fontSize&&(k.fontSize=r,k.ascent=r);var E=this.runtime.offscreenCanvasCreator.getOrCreateContext(n);E.font=m,e.isOverflowing=!1;var x=(void 0!==a&&a?this.wordWrap(t,e,n):t).split(/(?:\r\n|\r|\n)/),T=Array(x.length),b=0;if(p){p.getTotalLength();for(var N=0;Ni&&e>n;)e-=1,t=t.slice(0,-1);return{lineTxt:t,txtLastCharIndex:e}}function b(t,e){if(!(x<=0)&&!(x>d)){if(!p[t]){p[t]=f;return}var n=T(p[t],e,m+1,d-x);p[t]=n.lineTxt+f}}for(var N=0;N=u){e.isOverflowing=!0,N0&&y+M>d){var C=T(p[g],N-1,m+1,d);if(C.txtLastCharIndex!==N-1){if(p[g]=C.lineTxt,C.txtLastCharIndex===v.length-1)break;w=v[N=C.txtLastCharIndex+1],S=v[N-1],P=v[N+1],M=E(w)}if(g+1>=u){e.isOverflowing=!0,b(g,N-1);break}if(m=N-1,y=0,p[g+=1]="",this.isBreakingSpace(w))continue;this.canBreakInLastChar(w)||(p=this.trimToBreakable(p),y=this.sumTextWidthByCache(p[g]||"",E)),this.shouldBreakByKinsokuShorui(w,P)&&(p=this.trimByKinsokuShorui(p),y+=E(S||""))}y+=M,p[g]=(p[g]||"")+w}return p.join("\n")}},{key:"isBreakingSpace",value:function(t){return"string"==typeof t&&rF.BreakingSpaces.indexOf(t.charCodeAt(0))>=0}},{key:"isNewline",value:function(t){return"string"==typeof t&&rF.Newlines.indexOf(t.charCodeAt(0))>=0}},{key:"trimToBreakable",value:function(t){var e=(0,R.Z)(t),n=e[e.length-2],i=this.findBreakableIndex(n);if(-1===i||!n)return e;var r=n.slice(i,i+1),a=this.isBreakingSpace(r),o=i+1,s=i+(a?0:1);return e[e.length-1]+=n.slice(o,n.length),e[e.length-2]=n.slice(0,s),e}},{key:"canBreakInLastChar",value:function(t){return!(t&&rB.test(t))}},{key:"sumTextWidthByCache",value:function(t,e){return t.split("").reduce(function(t,n){return t+e(n)},0)}},{key:"findBreakableIndex",value:function(t){for(var e=t.length-1;e>=0;e--)if(!rB.test(t[e]))return e;return -1}},{key:"getFromCache",value:function(t,e,n,i){var r=n[t];if("number"!=typeof r){var a=t.length*e;r=i.measureText(t).width+a,n[t]=r}return r}}]),rX={},rH=(T=new i7,b=new i8,x={},(0,th.Z)((0,th.Z)((0,th.Z)((0,th.Z)((0,th.Z)((0,th.Z)((0,th.Z)((0,th.Z)((0,th.Z)((0,th.Z)(x,tE.FRAGMENT,null),tE.CIRCLE,new i5),tE.ELLIPSE,new i3),tE.RECT,T),tE.IMAGE,T),tE.GROUP,new rt),tE.LINE,new i4),tE.TEXT,new i9(rX)),tE.POLYLINE,b),tE.POLYGON,b),(0,th.Z)((0,th.Z)((0,th.Z)(x,tE.PATH,new i6),tE.HTML,new re),tE.MESH,null)),rz=(w=new ir,S=new is,N={},(0,th.Z)((0,th.Z)((0,th.Z)((0,th.Z)((0,th.Z)((0,th.Z)((0,th.Z)((0,th.Z)((0,th.Z)((0,th.Z)(N,t8.PERCENTAGE,null),t8.NUMBER,new ih),t8.ANGLE,new ie),t8.DEFINED_PATH,new ii),t8.PAINT,w),t8.COLOR,w),t8.FILTER,new ia),t8.LENGTH,S),t8.LENGTH_PERCENTAGE,S),t8.LENGTH_PERCENTAGE_12,new il),(0,th.Z)((0,th.Z)((0,th.Z)((0,th.Z)((0,th.Z)((0,th.Z)((0,th.Z)((0,th.Z)((0,th.Z)((0,th.Z)(N,t8.LENGTH_PERCENTAGE_14,new iu),t8.COORDINATE,new is),t8.OFFSET_DISTANCE,new id),t8.OPACITY_VALUE,new iv),t8.PATH,new ip),t8.LIST_OF_POINTS,new ig),t8.SHADOW_BLUR,new iy),t8.TEXT,new im),t8.TEXT_TRANSFORM,new ik),t8.TRANSFORM,new i0),(0,th.Z)((0,th.Z)((0,th.Z)(N,t8.TRANSFORM_ORIGIN,new i1),t8.Z_INDEX,new i2),t8.MARKER,new ic));rX.CameraContribution=t5,rX.AnimationTimeline=null,rX.EasingFunction=null,rX.offscreenCanvasCreator=new rh,rX.sceneGraphSelector=new rp,rX.sceneGraphService=new rG(rX),rX.textService=new rV(rX),rX.geometryUpdaterFactory=rH,rX.CSSPropertySyntaxFactory=rz,rX.styleValueRegistry=new n9(rX),rX.layoutRegistry=null,rX.globalThis="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:{},rX.enableStyleSyntax=!0,rX.enableSizeAttenuation=!1;var rW=0,rj=new ry(rg.INSERTED,null,"","","",0,"",""),rq=new ry(rg.REMOVED,null,"","","",0,"",""),r$=new ro(rg.DESTROY),rK=function(t){function e(){var t;(0,C.Z)(this,e);for(var n=arguments.length,i=Array(n),r=0;r=0;t--){var e=this.childNodes[t];this.removeChild(e)}}},{key:"destroyChildren",value:function(){for(var t=this.childNodes.length-1;t>=0;t--){var e=this.childNodes[t];e.childNodes.length>0&&e.destroyChildren(),e.destroy()}}},{key:"matches",value:function(t){return rX.sceneGraphService.matches(t,this)}},{key:"getElementById",value:function(t){return rX.sceneGraphService.querySelector("#".concat(t),this)}},{key:"getElementsByName",value:function(t){return rX.sceneGraphService.querySelectorAll('[name="'.concat(t,'"]'),this)}},{key:"getElementsByClassName",value:function(t){return rX.sceneGraphService.querySelectorAll(".".concat(t),this)}},{key:"getElementsByTagName",value:function(t){return rX.sceneGraphService.querySelectorAll(t,this)}},{key:"querySelector",value:function(t){return rX.sceneGraphService.querySelector(t,this)}},{key:"querySelectorAll",value:function(t){return rX.sceneGraphService.querySelectorAll(t,this)}},{key:"closest",value:function(t){var e=this;do{if(rX.sceneGraphService.matches(t,e))return e;e=e.parentElement}while(null!==e);return null}},{key:"find",value:function(t){var e=this,n=null;return this.forEach(function(i){return!(i!==e&&t(i))||(n=i,!1)}),n}},{key:"findAll",value:function(t){var e=this,n=[];return this.forEach(function(i){i!==e&&t(i)&&n.push(i)}),n}},{key:"after",value:function(){var t=this;if(this.parentNode){for(var e=this.parentNode.childNodes.indexOf(this),n=arguments.length,i=Array(n),r=0;r0&&void 0!==arguments[0]?arguments[0]:{};rX.styleValueRegistry.processProperties(this,t,{forceUpdateGeometry:!0}),this.renderable.dirty=!0}},{key:"setAttribute",value:function(t,n){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=!(arguments.length>3)||void 0===arguments[3]||arguments[3];!(0,ta.Z)(n)&&(i||n!==this.attributes[t])&&(this.internalSetAttribute(t,n,{memoize:r}),(0,td.Z)(e,"setAttribute",this,3)([t,n]))}},{key:"internalSetAttribute",value:function(t,e){var n,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.renderable,a=this.attributes[t],o=this.parsedStyle[t];rX.styleValueRegistry.processProperties(this,(0,th.Z)({},t,e),i),r.dirty=!0;var s=this.parsedStyle[t];this.isConnected&&(r0.relatedNode=this,r0.prevValue=a,r0.newValue=e,r0.attrName=t,r0.prevParsedValue=o,r0.newParsedValue=s,this.isMutationObserved?this.dispatchEvent(r0):(r0.target=this,this.ownerDocument.defaultView.dispatchEvent(r0,!0))),(this.isCustomElement&&this.isConnected||!this.isCustomElement)&&(null===(n=this.attributeChangedCallback)||void 0===n||n.call(this,t,a,e,o,s))}},{key:"getBBox",value:function(){var t=this.getBounds(),e=t.getMin(),n=(0,L.Z)(e,2),i=n[0],r=n[1],a=t.getMax(),o=(0,L.Z)(a,2),s=o[0],l=o[1];return new tI(i,r,s-i,l-r)}},{key:"setOrigin",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return rX.sceneGraphService.setOrigin(this,tB(t,e,n,!1)),this}},{key:"getOrigin",value:function(){return rX.sceneGraphService.getOrigin(this)}},{key:"setPosition",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return rX.sceneGraphService.setPosition(this,tB(t,e,n,!1)),this}},{key:"setLocalPosition",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return rX.sceneGraphService.setLocalPosition(this,tB(t,e,n,!1)),this}},{key:"translate",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return rX.sceneGraphService.translate(this,tB(t,e,n,!1)),this}},{key:"translateLocal",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return rX.sceneGraphService.translateLocal(this,tB(t,e,n,!1)),this}},{key:"getPosition",value:function(){return rX.sceneGraphService.getPosition(this)}},{key:"getLocalPosition",value:function(){return rX.sceneGraphService.getLocalPosition(this)}},{key:"scale",value:function(t,e,n){return this.scaleLocal(t,e,n)}},{key:"scaleLocal",value:function(t,e,n){return"number"==typeof t&&(e=e||t,n=n||t,t=tB(t,e,n,!1)),rX.sceneGraphService.scaleLocal(this,t),this}},{key:"setLocalScale",value:function(t,e,n){return"number"==typeof t&&(e=e||t,n=n||t,t=tB(t,e,n,!1)),rX.sceneGraphService.setLocalScale(this,t),this}},{key:"getLocalScale",value:function(){return rX.sceneGraphService.getLocalScale(this)}},{key:"getScale",value:function(){return rX.sceneGraphService.getScale(this)}},{key:"getEulerAngles",value:function(){var t=tH(r1,rX.sceneGraphService.getWorldTransform(this));return(0,L.Z)(t,3)[2]*tV}},{key:"getLocalEulerAngles",value:function(){var t=tH(r1,rX.sceneGraphService.getLocalRotation(this));return(0,L.Z)(t,3)[2]*tV}},{key:"setEulerAngles",value:function(t){return rX.sceneGraphService.setEulerAngles(this,0,0,t),this}},{key:"setLocalEulerAngles",value:function(t){return rX.sceneGraphService.setLocalEulerAngles(this,0,0,t),this}},{key:"rotateLocal",value:function(t,e,n){return(0,X.Z)(e)&&(0,X.Z)(n)?rX.sceneGraphService.rotateLocal(this,0,0,t):rX.sceneGraphService.rotateLocal(this,t,e,n),this}},{key:"rotate",value:function(t,e,n){return(0,X.Z)(e)&&(0,X.Z)(n)?rX.sceneGraphService.rotate(this,0,0,t):rX.sceneGraphService.rotate(this,t,e,n),this}},{key:"setRotation",value:function(t,e,n,i){return rX.sceneGraphService.setRotation(this,t,e,n,i),this}},{key:"setLocalRotation",value:function(t,e,n,i){return rX.sceneGraphService.setLocalRotation(this,t,e,n,i),this}},{key:"setLocalSkew",value:function(t,e){return rX.sceneGraphService.setLocalSkew(this,t,e),this}},{key:"getRotation",value:function(){return rX.sceneGraphService.getRotation(this)}},{key:"getLocalRotation",value:function(){return rX.sceneGraphService.getLocalRotation(this)}},{key:"getLocalSkew",value:function(){return rX.sceneGraphService.getLocalSkew(this)}},{key:"getLocalTransform",value:function(){return rX.sceneGraphService.getLocalTransform(this)}},{key:"getWorldTransform",value:function(){return rX.sceneGraphService.getWorldTransform(this)}},{key:"setLocalTransform",value:function(t){return rX.sceneGraphService.setLocalTransform(this,t),this}},{key:"resetLocalTransform",value:function(){rX.sceneGraphService.resetLocalTransform(this)}},{key:"getAnimations",value:function(){return this.activeAnimations}},{key:"animate",value:function(t,e){var n,i=null===(n=this.ownerDocument)||void 0===n?void 0:n.timeline;return i?i.play(this,t,e):null}},{key:"isVisible",value:function(){var t;return(null===(t=this.parsedStyle)||void 0===t?void 0:t.visibility)!=="hidden"}},{key:"interactive",get:function(){return this.isInteractive()},set:function(t){this.style.pointerEvents=t?"auto":"none"}},{key:"isInteractive",value:function(){var t;return(null===(t=this.parsedStyle)||void 0===t?void 0:t.pointerEvents)!=="none"}},{key:"isCulled",value:function(){return!!(this.cullable&&this.cullable.enable&&!this.cullable.visible)}},{key:"toFront",value:function(){return this.parentNode&&(this.style.zIndex=Math.max.apply(Math,(0,R.Z)(this.parentNode.children.map(function(t){return Number(t.style.zIndex)})))+1),this}},{key:"toBack",value:function(){return this.parentNode&&(this.style.zIndex=Math.min.apply(Math,(0,R.Z)(this.parentNode.children.map(function(t){return Number(t.style.zIndex)})))-1),this}},{key:"getConfig",value:function(){return this.config}},{key:"attr",value:function(){for(var t=this,e=arguments.length,n=Array(e),i=0;i1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return this.setPosition(t,e,n),this}},{key:"move",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return this.setPosition(t,e,n),this}},{key:"setZIndex",value:function(t){return this.style.zIndex=t,this}}])}(rK);r5.PARSED_STYLE_LIST=new Set(["class","className","clipPath","cursor","display","draggable","droppable","fill","fillOpacity","fillRule","filter","increasedLineWidthForHitTesting","lineCap","lineDash","lineDashOffset","lineJoin","lineWidth","miterLimit","hitArea","offsetDistance","offsetPath","offsetX","offsetY","opacity","pointerEvents","shadowColor","shadowType","shadowBlur","shadowOffsetX","shadowOffsetY","stroke","strokeOpacity","strokeWidth","strokeLinecap","strokeLineJoin","strokeDasharray","strokeDashoffset","transform","transformOrigin","textTransform","visibility","zIndex"]);var r3=function(t){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,C.Z)(this,e),(0,Z.Z)(this,e,[(0,M.Z)({type:tE.CIRCLE},t)])}return(0,O.Z)(e,t),(0,A.Z)(e)}(r5);r3.PARSED_STYLE_LIST=new Set([].concat((0,R.Z)(r5.PARSED_STYLE_LIST),["cx","cy","cz","r","isBillboard","isSizeAttenuation"]));var r4=["style"],r6=function(t){function e(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=n.style,r=(0,ty.Z)(n,r4);return(0,C.Z)(this,e),(t=(0,Z.Z)(this,e,[(0,M.Z)({style:i},r)])).isCustomElement=!0,t}return(0,O.Z)(e,t),(0,A.Z)(e)}(r5);r6.PARSED_STYLE_LIST=new Set(["class","className","clipPath","cursor","draggable","droppable","opacity","pointerEvents","transform","transformOrigin","zIndex","visibility"]);var r8=function(t){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,C.Z)(this,e),(0,Z.Z)(this,e,[(0,M.Z)({type:tE.ELLIPSE},t)])}return(0,O.Z)(e,t),(0,A.Z)(e)}(r5);r8.PARSED_STYLE_LIST=new Set([].concat((0,R.Z)(r5.PARSED_STYLE_LIST),["cx","cy","cz","rx","ry","isBillboard","isSizeAttenuation"])),function(t){function e(){return(0,C.Z)(this,e),(0,Z.Z)(this,e,[{type:tE.FRAGMENT}])}return(0,O.Z)(e,t),(0,A.Z)(e)}(r5).PARSED_STYLE_LIST=new Set(["class","className"]);var r7=function(t){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,C.Z)(this,e),(0,Z.Z)(this,e,[(0,M.Z)({type:tE.GROUP},t)])}return(0,O.Z)(e,t),(0,A.Z)(e)}(r5);r7.PARSED_STYLE_LIST=new Set(["class","className","clipPath","cursor","draggable","droppable","opacity","pointerEvents","transform","transformOrigin","zIndex","visibility"]);var r9=["style"],at=function(t){function e(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=n.style,r=(0,ty.Z)(n,r9);return(0,C.Z)(this,e),(t=(0,Z.Z)(this,e,[(0,M.Z)({type:tE.HTML,style:i},r)])).cullable.enable=!1,t}return(0,O.Z)(e,t),(0,A.Z)(e,[{key:"getDomElement",value:function(){return this.parsedStyle.$el}},{key:"getClientRects",value:function(){return[this.getBoundingClientRect()]}},{key:"getLocalBounds",value:function(){if(this.parentNode){var t=G.invert(G.create(),this.parentNode.getWorldTransform()),e=this.getBounds();if(!tA.isEmpty(e)){var n=new tA;return n.setFromTransformedAABB(e,t),n}}return this.getBounds()}}])}(r5);at.PARSED_STYLE_LIST=new Set([].concat((0,R.Z)(r5.PARSED_STYLE_LIST),["x","y","$el","innerHTML","width","height"]));var ae=function(t){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,C.Z)(this,e),(0,Z.Z)(this,e,[(0,M.Z)({type:tE.IMAGE},t)])}return(0,O.Z)(e,t),(0,A.Z)(e)}(r5);ae.PARSED_STYLE_LIST=new Set([].concat((0,R.Z)(r5.PARSED_STYLE_LIST),["x","y","z","src","width","height","isBillboard","billboardRotation","isSizeAttenuation","keepAspectRatio"]));var an=["style"],ai=function(t){function e(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=n.style,r=(0,ty.Z)(n,an);(0,C.Z)(this,e),(t=(0,Z.Z)(this,e,[(0,M.Z)({type:tE.LINE,style:(0,M.Z)({x1:0,y1:0,x2:0,y2:0,z1:0,z2:0},i)},r)])).markerStartAngle=0,t.markerEndAngle=0;var a=t.parsedStyle,o=a.markerStart,s=a.markerEnd;return o&&rJ(o)&&(t.markerStartAngle=o.getLocalEulerAngles(),t.appendChild(o)),s&&rJ(s)&&(t.markerEndAngle=s.getLocalEulerAngles(),t.appendChild(s)),t.transformMarker(!0),t.transformMarker(!1),t}return(0,O.Z)(e,t),(0,A.Z)(e,[{key:"attributeChangedCallback",value:function(t,e,n,i,r){"x1"===t||"y1"===t||"x2"===t||"y2"===t||"markerStartOffset"===t||"markerEndOffset"===t?(this.transformMarker(!0),this.transformMarker(!1)):"markerStart"===t?(i&&rJ(i)&&(this.markerStartAngle=0,i.remove()),r&&rJ(r)&&(this.markerStartAngle=r.getLocalEulerAngles(),this.appendChild(r),this.transformMarker(!0))):"markerEnd"===t&&(i&&rJ(i)&&(this.markerEndAngle=0,i.remove()),r&&rJ(r)&&(this.markerEndAngle=r.getLocalEulerAngles(),this.appendChild(r),this.transformMarker(!1)))}},{key:"transformMarker",value:function(t){var e,n,i,r,a,o,s=this.parsedStyle,l=s.markerStart,u=s.markerEnd,c=s.markerStartOffset,h=s.markerEndOffset,d=s.x1,f=s.x2,v=s.y1,p=s.y2,g=t?l:u;if(g&&rJ(g)){var y=0;t?(i=d,r=v,e=f-d,n=p-v,a=c||0,o=this.markerStartAngle):(i=f,r=p,e=d-f,n=v-p,a=h||0,o=this.markerEndAngle),y=Math.atan2(n,e),g.setLocalEulerAngles(180*y/Math.PI+o),g.setLocalPosition(i+Math.cos(y)*a,r+Math.sin(y)*a)}}},{key:"getPoint",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.parsedStyle,i=n.x1,r=n.y1,a=n.x2,o=n.y2,s=(0,tf.U4)(i,r,a,o,t),l=s.x,u=s.y,c=D.fF(D.Ue(),D.al(l,u,0),e?this.getWorldTransform():this.getLocalTransform());return new tL(c[0],c[1])}},{key:"getPointAtLength",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this.getPoint(t/this.getTotalLength(),e)}},{key:"getTotalLength",value:function(){var t=this.parsedStyle,e=t.x1,n=t.y1,i=t.x2,r=t.y2;return(0,tf.Xk)(e,n,i,r)}}])}(r5);ai.PARSED_STYLE_LIST=new Set([].concat((0,R.Z)(r5.PARSED_STYLE_LIST),["x1","y1","x2","y2","z1","z2","isBillboard","isSizeAttenuation","markerStart","markerEnd","markerStartOffset","markerEndOffset"]));var ar=["style"],aa=function(t){function e(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=n.style,r=(0,ty.Z)(n,ar);(0,C.Z)(this,e),(t=(0,Z.Z)(this,e,[(0,M.Z)({type:tE.PATH,style:i,initialParsedStyle:{miterLimit:4,d:(0,M.Z)({},t6)}},r)])).markerStartAngle=0,t.markerEndAngle=0,t.markerMidList=[];var a=t.parsedStyle,o=a.markerStart,s=a.markerEnd,l=a.markerMid;return o&&rJ(o)&&(t.markerStartAngle=o.getLocalEulerAngles(),t.appendChild(o)),l&&rJ(l)&&t.placeMarkerMid(l),s&&rJ(s)&&(t.markerEndAngle=s.getLocalEulerAngles(),t.appendChild(s)),t.transformMarker(!0),t.transformMarker(!1),t}return(0,O.Z)(e,t),(0,A.Z)(e,[{key:"attributeChangedCallback",value:function(t,e,n,i,r){"d"===t?(this.transformMarker(!0),this.transformMarker(!1),this.placeMarkerMid(this.parsedStyle.markerMid)):"markerStartOffset"===t||"markerEndOffset"===t?(this.transformMarker(!0),this.transformMarker(!1)):"markerStart"===t?(i&&rJ(i)&&(this.markerStartAngle=0,i.remove()),r&&rJ(r)&&(this.markerStartAngle=r.getLocalEulerAngles(),this.appendChild(r),this.transformMarker(!0))):"markerEnd"===t?(i&&rJ(i)&&(this.markerEndAngle=0,i.remove()),r&&rJ(r)&&(this.markerEndAngle=r.getLocalEulerAngles(),this.appendChild(r),this.transformMarker(!1))):"markerMid"===t&&this.placeMarkerMid(r)}},{key:"transformMarker",value:function(t){var e,n,i,r,a,o,s=this.parsedStyle,l=s.markerStart,u=s.markerEnd,c=s.markerStartOffset,h=s.markerEndOffset,d=t?l:u;if(d&&rJ(d)){var f=0;if(t){var v=this.getStartTangent(),p=(0,L.Z)(v,2),g=p[0],y=p[1];i=y[0],r=y[1],e=g[0]-y[0],n=g[1]-y[1],a=c||0,o=this.markerStartAngle}else{var m=this.getEndTangent(),k=(0,L.Z)(m,2),E=k[0],x=k[1];i=x[0],r=x[1],e=E[0]-x[0],n=E[1]-x[1],a=h||0,o=this.markerEndAngle}f=Math.atan2(n,e),d.setLocalEulerAngles(180*f/Math.PI+o),d.setLocalPosition(i+Math.cos(f)*a,r+Math.sin(f)*a)}}},{key:"placeMarkerMid",value:function(t){var e=this.parsedStyle.d.segments;if(this.markerMidList.forEach(function(t){t.remove()}),t&&rJ(t))for(var n=1;n1&&void 0!==arguments[1]&&arguments[1],n=this.parsedStyle.d.absolutePath,i=(0,tc.r)(n,t),r=i.x,a=i.y,o=D.fF(D.Ue(),D.al(r,a,0),e?this.getWorldTransform():this.getLocalTransform());return new tL(o[0],o[1])}},{key:"getPoint",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this.getPointAtLength(t*nw(this),e)}},{key:"getStartTangent",value:function(){var t=this.parsedStyle.d.segments,e=[];if(t.length>1){var n=t[0].currentPoint,i=t[1].currentPoint,r=t[1].startTangent;e=[],r?(e.push([n[0]-r[0],n[1]-r[1]]),e.push([n[0],n[1]])):(e.push([i[0],i[1]]),e.push([n[0],n[1]]))}return e}},{key:"getEndTangent",value:function(){var t=this.parsedStyle.d.segments,e=t.length,n=[];if(e>1){var i=t[e-2].currentPoint,r=t[e-1].currentPoint,a=t[e-1].endTangent;n=[],a?(n.push([r[0]-a[0],r[1]-a[1]]),n.push([r[0],r[1]])):(n.push([i[0],i[1]]),n.push([r[0],r[1]]))}return n}}])}(r5);aa.PARSED_STYLE_LIST=new Set([].concat((0,R.Z)(r5.PARSED_STYLE_LIST),["d","markerStart","markerMid","markerEnd","markerStartOffset","markerEndOffset","isBillboard","isSizeAttenuation"]));var ao=["style"],as=function(t){function e(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=n.style,r=(0,ty.Z)(n,ao);(0,C.Z)(this,e),(t=(0,Z.Z)(this,e,[(0,M.Z)({type:tE.POLYGON,style:i,initialParsedStyle:{points:{points:[],totalLength:0,segments:[]},miterLimit:4,isClosed:!0}},r)])).markerStartAngle=0,t.markerEndAngle=0,t.markerMidList=[];var a=t.parsedStyle,o=a.markerStart,s=a.markerEnd,l=a.markerMid;return o&&rJ(o)&&(t.markerStartAngle=o.getLocalEulerAngles(),t.appendChild(o)),l&&rJ(l)&&t.placeMarkerMid(l),s&&rJ(s)&&(t.markerEndAngle=s.getLocalEulerAngles(),t.appendChild(s)),t.transformMarker(!0),t.transformMarker(!1),t}return(0,O.Z)(e,t),(0,A.Z)(e,[{key:"attributeChangedCallback",value:function(t,e,n,i,r){"points"===t?(this.transformMarker(!0),this.transformMarker(!1),this.placeMarkerMid(this.parsedStyle.markerMid)):"markerStartOffset"===t||"markerEndOffset"===t?(this.transformMarker(!0),this.transformMarker(!1)):"markerStart"===t?(i&&rJ(i)&&(this.markerStartAngle=0,i.remove()),r&&rJ(r)&&(this.markerStartAngle=r.getLocalEulerAngles(),this.appendChild(r),this.transformMarker(!0))):"markerEnd"===t?(i&&rJ(i)&&(this.markerEndAngle=0,i.remove()),r&&rJ(r)&&(this.markerEndAngle=r.getLocalEulerAngles(),this.appendChild(r),this.transformMarker(!1))):"markerMid"===t&&this.placeMarkerMid(r)}},{key:"transformMarker",value:function(t){var e,n,i,r,a,o,s=this.parsedStyle,l=s.markerStart,u=s.markerEnd,c=s.markerStartOffset,h=s.markerEndOffset,d=(s.points||{}).points,f=t?l:u;if(f&&rJ(f)&&d){var v=0;if(i=d[0][0],r=d[0][1],t)e=d[1][0]-d[0][0],n=d[1][1]-d[0][1],a=c||0,o=this.markerStartAngle;else{var p=d.length;this.parsedStyle.isClosed?(e=d[p-1][0]-d[0][0],n=d[p-1][1]-d[0][1]):(i=d[p-1][0],r=d[p-1][1],e=d[p-2][0]-d[p-1][0],n=d[p-2][1]-d[p-1][1]),a=h||0,o=this.markerEndAngle}v=Math.atan2(n,e),f.setLocalEulerAngles(180*v/Math.PI+o),f.setLocalPosition(i+Math.cos(v)*a,r+Math.sin(v)*a)}}},{key:"placeMarkerMid",value:function(t){var e=(this.parsedStyle.points||{}).points;if(this.markerMidList.forEach(function(t){t.remove()}),this.markerMidList=[],t&&rJ(t)&&e)for(var n=1;n<(this.parsedStyle.isClosed?e.length:e.length-1);n++){var i=e[n][0],r=e[n][1],a=1===n?t:t.cloneNode(!0);this.markerMidList.push(a),this.appendChild(a),a.setLocalPosition(i,r)}}}])}(r5);as.PARSED_STYLE_LIST=new Set([].concat((0,R.Z)(r5.PARSED_STYLE_LIST),["points","markerStart","markerMid","markerEnd","markerStartOffset","markerEndOffset","isClosed","isBillboard","isSizeAttenuation"]));var al=["style"],au=function(t){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.style,i=(0,ty.Z)(t,al);return(0,C.Z)(this,e),(0,Z.Z)(this,e,[(0,M.Z)({type:tE.POLYLINE,style:n,initialParsedStyle:{points:{points:[],totalLength:0,segments:[]},miterLimit:4,isClosed:!1}},i)])}return(0,O.Z)(e,t),(0,A.Z)(e,[{key:"getTotalLength",value:function(){return 0===this.parsedStyle.points.totalLength&&(this.parsedStyle.points.totalLength=(0,tf.hE)(this.parsedStyle.points.points)),this.parsedStyle.points.totalLength}},{key:"getPointAtLength",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this.getPoint(t/this.getTotalLength(),e)}},{key:"getPoint",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.parsedStyle.points.points;if(0===this.parsedStyle.points.segments.length){var i,r=[],a=0,o=this.getTotalLength();n.forEach(function(t,e){n[e+1]&&((i=[0,0])[0]=a/o,a+=(0,tf.Xk)(t[0],t[1],n[e+1][0],n[e+1][1]),i[1]=a/o,r.push(i))}),this.parsedStyle.points.segments=r}var s=0,l=0;this.parsedStyle.points.segments.forEach(function(e,n){t>=e[0]&&t<=e[1]&&(s=(t-e[0])/(e[1]-e[0]),l=n)});var u=(0,tf.U4)(n[l][0],n[l][1],n[l+1][0],n[l+1][1],s),c=u.x,h=u.y,d=D.fF(D.Ue(),D.al(c,h,0),e?this.getWorldTransform():this.getLocalTransform());return new tL(d[0],d[1])}},{key:"getStartTangent",value:function(){var t=this.parsedStyle.points.points,e=[];return e.push([t[1][0],t[1][1]]),e.push([t[0][0],t[0][1]]),e}},{key:"getEndTangent",value:function(){var t=this.parsedStyle.points.points,e=t.length-1,n=[];return n.push([t[e-1][0],t[e-1][1]]),n.push([t[e][0],t[e][1]]),n}}])}(as);au.PARSED_STYLE_LIST=new Set([].concat((0,R.Z)(as.PARSED_STYLE_LIST),["points","markerStart","markerMid","markerEnd","markerStartOffset","markerEndOffset","isBillboard"]));var ac=function(t){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,C.Z)(this,e),(0,Z.Z)(this,e,[(0,M.Z)({type:tE.RECT},t)])}return(0,O.Z)(e,t),(0,A.Z)(e)}(r5);ac.PARSED_STYLE_LIST=new Set([].concat((0,R.Z)(r5.PARSED_STYLE_LIST),["x","y","z","width","height","isBillboard","isSizeAttenuation","radius"]));var ah=["style"],ad=function(t){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.style,i=(0,ty.Z)(t,ah);return(0,C.Z)(this,e),(0,Z.Z)(this,e,[(0,M.Z)({type:tE.TEXT,style:(0,M.Z)({fill:"black"},n)},i)])}return(0,O.Z)(e,t),(0,A.Z)(e,[{key:"getComputedTextLength",value:function(){var t;return this.getGeometryBounds(),(null===(t=this.parsedStyle.metrics)||void 0===t?void 0:t.maxLineWidth)||0}},{key:"getLineBoundingRects",value:function(){var t;return this.getGeometryBounds(),(null===(t=this.parsedStyle.metrics)||void 0===t?void 0:t.lineMetrics)||[]}},{key:"isOverflowing",value:function(){return this.getGeometryBounds(),!!this.parsedStyle.isOverflowing}}])}(r5);ad.PARSED_STYLE_LIST=new Set([].concat((0,R.Z)(r5.PARSED_STYLE_LIST),["x","y","z","isBillboard","billboardRotation","isSizeAttenuation","text","textAlign","textBaseline","fontStyle","fontSize","fontFamily","fontWeight","fontVariant","lineHeight","letterSpacing","leading","wordWrap","wordWrapWidth","maxLines","textOverflow","isOverflowing","textPath","textDecorationLine","textDecorationColor","textDecorationStyle","textPathSide","textPathStartOffset","metrics","dx","dy"]));var af=(0,A.Z)(function t(){(0,C.Z)(this,t),this.registry={},this.define(tE.CIRCLE,r3),this.define(tE.ELLIPSE,r8),this.define(tE.RECT,ac),this.define(tE.IMAGE,ae),this.define(tE.LINE,ai),this.define(tE.GROUP,r7),this.define(tE.PATH,aa),this.define(tE.POLYGON,as),this.define(tE.POLYLINE,au),this.define(tE.TEXT,ad),this.define(tE.HTML,at)},[{key:"define",value:function(t,e){this.registry[t]=e}},{key:"get",value:function(t){return this.registry[t]}}]),av={number:function(t){return new eW(t)},percent:function(t){return new eW(t,"%")},px:function(t){return new eW(t,"px")},em:function(t){return new eW(t,"em")},rem:function(t){return new eW(t,"rem")},deg:function(t){return new eW(t,"deg")},grad:function(t){return new eW(t,"grad")},rad:function(t){return new eW(t,"rad")},turn:function(t){return new eW(t,"turn")},s:function(t){return new eW(t,"s")},ms:function(t){return new eW(t,"ms")},registerProperty:function(t){var e=t.name,n=t.inherits,i=t.interpolable,r=t.initialValue,a=t.syntax;rX.styleValueRegistry.registerMetadata({n:e,inh:n,int:i,d:r,syntax:a})},registerLayout:function(t,e){rX.layoutRegistry.registerLayout(t,e)}},ap=function(t){var e,n;function i(){(0,C.Z)(this,i),(t=(0,Z.Z)(this,i)).defaultView=null,t.ownerDocument=null,t.nodeName="document";try{t.timeline=new rX.AnimationTimeline(t)}catch(t){}var t,e={};return n6.forEach(function(t){var n=t.n,i=t.inh,r=t.d;i&&r&&(e[n]=(0,tl.Z)(r)?r(tE.GROUP):r)}),t.documentElement=new r7({id:"g-root",style:e}),t.documentElement.ownerDocument=t,t.documentElement.parentNode=t,t.childNodes=[t.documentElement],t}return(0,O.Z)(i,t),(0,A.Z)(i,[{key:"children",get:function(){return this.childNodes}},{key:"childElementCount",get:function(){return this.childNodes.length}},{key:"firstElementChild",get:function(){return this.firstChild}},{key:"lastElementChild",get:function(){return this.lastChild}},{key:"createElement",value:function(t,e){if("svg"===t)return this.documentElement;var n=this.defaultView.customElements.get(t);n||(console.warn("Unsupported tagName: ",t),n="tspan"===t?ad:r7);var i=new n(e);return i.ownerDocument=this,i}},{key:"createElementNS",value:function(t,e,n){return this.createElement(e,n)}},{key:"cloneNode",value:function(t){throw Error(tD)}},{key:"destroy",value:function(){try{this.documentElement.destroyChildren(),this.timeline.destroy()}catch(t){}}},{key:"elementsFromBBox",value:function(t,e,n,i){var r=this.defaultView.context.rBushRoot.search({minX:t,minY:e,maxX:n,maxY:i}),a=[];return r.forEach(function(t){var e=t.displayObject,n=e.parsedStyle.pointerEvents,i=["auto","visiblepainted","visiblefill","visiblestroke","visible"].includes(void 0===n?"auto":n);(!i||i&&e.isVisible())&&!e.isCulled()&&e.isInteractive()&&a.push(e)}),a.sort(function(t,e){return e.sortable.renderOrder-t.sortable.renderOrder}),a}},{key:"elementFromPointSync",value:function(t,e){var n=this.defaultView.canvas2Viewport({x:t,y:e}),i=n.x,r=n.y,a=this.defaultView.getConfig(),o=a.width,s=a.height;if(i<0||r<0||i>o||r>s)return null;var l=this.defaultView.viewport2Client({x:i,y:r}),u=l.x,c=l.y,h=this.defaultView.getRenderingService().hooks.pickSync.call({topmost:!0,position:{x:t,y:e,viewportX:i,viewportY:r,clientX:u,clientY:c},picked:[]}).picked;return h&&h[0]||this.documentElement}},{key:"elementFromPoint",value:(e=(0,tp.Z)((0,tv.Z)().mark(function t(e,n){var i,r,a,o,s,l,u,c,h,d;return(0,tv.Z)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(r=(i=this.defaultView.canvas2Viewport({x:e,y:n})).x,a=i.y,s=(o=this.defaultView.getConfig()).width,l=o.height,!(r<0||a<0||r>s||a>l)){t.next=4;break}return t.abrupt("return",null);case 4:return c=(u=this.defaultView.viewport2Client({x:r,y:a})).x,h=u.y,t.next=7,this.defaultView.getRenderingService().hooks.pick.promise({topmost:!0,position:{x:e,y:n,viewportX:r,viewportY:a,clientX:c,clientY:h},picked:[]});case 7:return d=t.sent.picked,t.abrupt("return",d&&d[0]||this.documentElement);case 10:case"end":return t.stop()}},t,this)})),function(t,n){return e.apply(this,arguments)})},{key:"elementsFromPointSync",value:function(t,e){var n=this.defaultView.canvas2Viewport({x:t,y:e}),i=n.x,r=n.y,a=this.defaultView.getConfig(),o=a.width,s=a.height;if(i<0||r<0||i>o||r>s)return[];var l=this.defaultView.viewport2Client({x:i,y:r}),u=l.x,c=l.y,h=this.defaultView.getRenderingService().hooks.pickSync.call({topmost:!1,position:{x:t,y:e,viewportX:i,viewportY:r,clientX:u,clientY:c},picked:[]}).picked;return h[h.length-1]!==this.documentElement&&h.push(this.documentElement),h}},{key:"elementsFromPoint",value:(n=(0,tp.Z)((0,tv.Z)().mark(function t(e,n){var i,r,a,o,s,l,u,c,h,d;return(0,tv.Z)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(r=(i=this.defaultView.canvas2Viewport({x:e,y:n})).x,a=i.y,s=(o=this.defaultView.getConfig()).width,l=o.height,!(r<0||a<0||r>s||a>l)){t.next=4;break}return t.abrupt("return",[]);case 4:return c=(u=this.defaultView.viewport2Client({x:r,y:a})).x,h=u.y,t.next=7,this.defaultView.getRenderingService().hooks.pick.promise({topmost:!1,position:{x:e,y:n,viewportX:r,viewportY:a,clientX:c,clientY:h},picked:[]});case 7:return(d=t.sent.picked)[d.length-1]!==this.documentElement&&d.push(this.documentElement),t.abrupt("return",d);case 11:case"end":return t.stop()}},t,this)})),function(t,e){return n.apply(this,arguments)})},{key:"appendChild",value:function(t,e){throw Error(t_)}},{key:"insertBefore",value:function(t,e){throw Error(t_)}},{key:"removeChild",value:function(t,e){throw Error(t_)}},{key:"replaceChild",value:function(t,e,n){throw Error(t_)}},{key:"append",value:function(){throw Error(t_)}},{key:"prepend",value:function(){throw Error(t_)}},{key:"getElementById",value:function(t){return this.documentElement.getElementById(t)}},{key:"getElementsByName",value:function(t){return this.documentElement.getElementsByName(t)}},{key:"getElementsByTagName",value:function(t){return this.documentElement.getElementsByTagName(t)}},{key:"getElementsByClassName",value:function(t){return this.documentElement.getElementsByClassName(t)}},{key:"querySelector",value:function(t){return this.documentElement.querySelector(t)}},{key:"querySelectorAll",value:function(t){return this.documentElement.querySelectorAll(t)}},{key:"find",value:function(t){return this.documentElement.find(t)}},{key:"findAll",value:function(t){return this.documentElement.findAll(t)}}])}(ru),ag=function(){function t(e){(0,C.Z)(this,t),this.strategies=e}return(0,A.Z)(t,[{key:"apply",value:function(e){var n=e.camera,i=e.renderingService,r=e.renderingContext,a=this.strategies;i.hooks.cull.tap(t.tag,function(t){if(t){var e=t.cullable;return(0===a.length?e.visible=r.unculledEntities.indexOf(t.entity)>-1:e.visible=a.every(function(e){return e.isVisible(n,t)}),!t.isCulled()&&t.isVisible())?t:(t.dispatchEvent(new ro(rg.CULLED)),null)}return t}),i.hooks.afterRender.tap(t.tag,function(t){t.cullable.visibilityPlaneMask=-1})}}])}();ag.tag="Culling";var ay=function(){function t(){var e=this;(0,C.Z)(this,t),this.autoPreventDefault=!1,this.rootPointerEvent=new rr(null),this.rootWheelEvent=new ra(null),this.onPointerMove=function(t){var n=null===(i=e.context.renderingContext.root)||void 0===i||null===(i=i.ownerDocument)||void 0===i?void 0:i.defaultView;if(!n.supportsTouchEvents||"touch"!==t.pointerType){var i,r,a=e.normalizeToPointerEvent(t,n),o=(0,tg.Z)(a);try{for(o.s();!(r=o.n()).done;){var s=r.value,l=e.bootstrapEvent(e.rootPointerEvent,s,n,t);e.context.eventService.mapEvent(l)}}catch(t){o.e(t)}finally{o.f()}e.setCursor(e.context.eventService.cursor)}},this.onClick=function(t){var n,i,r=null===(n=e.context.renderingContext.root)||void 0===n||null===(n=n.ownerDocument)||void 0===n?void 0:n.defaultView,a=e.normalizeToPointerEvent(t,r),o=(0,tg.Z)(a);try{for(o.s();!(i=o.n()).done;){var s=i.value,l=e.bootstrapEvent(e.rootPointerEvent,s,r,t);e.context.eventService.mapEvent(l)}}catch(t){o.e(t)}finally{o.f()}e.setCursor(e.context.eventService.cursor)}}return(0,A.Z)(t,[{key:"apply",value:function(e){var n=this;this.context=e;var i=e.renderingService,r=this.context.renderingContext.root.ownerDocument.defaultView;this.context.eventService.setPickHandler(function(t){return n.context.renderingService.hooks.pickSync.call({position:t,picked:[],topmost:!0}).picked[0]||null}),i.hooks.pointerWheel.tap(t.tag,function(t){var e=n.normalizeWheelEvent(t);n.context.eventService.mapEvent(e)}),i.hooks.pointerDown.tap(t.tag,function(t){if(!r.supportsTouchEvents||"touch"!==t.pointerType){var e=n.normalizeToPointerEvent(t,r);n.autoPreventDefault&&e[0].isNormalized&&(t.cancelable||!("cancelable"in t))&&t.preventDefault();var i,a=(0,tg.Z)(e);try{for(a.s();!(i=a.n()).done;){var o=i.value,s=n.bootstrapEvent(n.rootPointerEvent,o,r,t);n.context.eventService.mapEvent(s)}}catch(t){a.e(t)}finally{a.f()}n.setCursor(n.context.eventService.cursor)}}),i.hooks.pointerUp.tap(t.tag,function(t){if(!r.supportsTouchEvents||"touch"!==t.pointerType){var e,i=n.context.contextService.getDomElement(),a=n.context.eventService.isNativeEventFromCanvas(i,t)?"":"outside",o=n.normalizeToPointerEvent(t,r),s=(0,tg.Z)(o);try{for(s.s();!(e=s.n()).done;){var l=e.value,u=n.bootstrapEvent(n.rootPointerEvent,l,r,t);u.type+=a,n.context.eventService.mapEvent(u)}}catch(t){s.e(t)}finally{s.f()}n.setCursor(n.context.eventService.cursor)}}),i.hooks.pointerMove.tap(t.tag,this.onPointerMove),i.hooks.pointerOver.tap(t.tag,this.onPointerMove),i.hooks.pointerOut.tap(t.tag,this.onPointerMove),i.hooks.click.tap(t.tag,this.onClick),i.hooks.pointerCancel.tap(t.tag,function(t){var e,i=n.normalizeToPointerEvent(t,r),a=(0,tg.Z)(i);try{for(a.s();!(e=a.n()).done;){var o=e.value,s=n.bootstrapEvent(n.rootPointerEvent,o,r,t);n.context.eventService.mapEvent(s)}}catch(t){a.e(t)}finally{a.f()}n.setCursor(n.context.eventService.cursor)})}},{key:"bootstrapEvent",value:function(t,e,n,i){t.view=n,t.originalEvent=null,t.nativeEvent=i,t.pointerId=e.pointerId,t.width=e.width,t.height=e.height,t.isPrimary=e.isPrimary,t.pointerType=e.pointerType,t.pressure=e.pressure,t.tangentialPressure=e.tangentialPressure,t.tiltX=e.tiltX,t.tiltY=e.tiltY,t.twist=e.twist,this.transferMouseData(t,e);var r=this.context.eventService.client2Viewport({x:e.clientX,y:e.clientY}),a=r.x,o=r.y;t.viewport.x=a,t.viewport.y=o;var s=this.context.eventService.viewport2Canvas(t.viewport),l=s.x,u=s.y;return t.canvas.x=l,t.canvas.y=u,t.global.copyFrom(t.canvas),t.offset.copyFrom(t.canvas),t.isTrusted=i.isTrusted,"pointerleave"===t.type&&(t.type="pointerout"),t.type.startsWith("mouse")&&(t.type=t.type.replace("mouse","pointer")),t.type.startsWith("touch")&&(t.type=iS[t.type]||t.type),t}},{key:"normalizeWheelEvent",value:function(t){var e=this.rootWheelEvent;this.transferMouseData(e,t),e.deltaMode=t.deltaMode,e.deltaX=t.deltaX,e.deltaY=t.deltaY,e.deltaZ=t.deltaZ;var n=this.context.eventService.client2Viewport({x:t.clientX,y:t.clientY}),i=n.x,r=n.y;e.viewport.x=i,e.viewport.y=r;var a=this.context.eventService.viewport2Canvas(e.viewport),o=a.x,s=a.y;return e.canvas.x=o,e.canvas.y=s,e.global.copyFrom(e.canvas),e.offset.copyFrom(e.canvas),e.nativeEvent=t,e.type=t.type,e}},{key:"transferMouseData",value:function(t,e){t.isTrusted=e.isTrusted,t.srcElement=e.srcElement,t.timeStamp=iP.now(),t.type=e.type,t.altKey=e.altKey,t.metaKey=e.metaKey,t.shiftKey=e.shiftKey,t.ctrlKey=e.ctrlKey,t.button=e.button,t.buttons=e.buttons,t.client.x=e.clientX,t.client.y=e.clientY,t.movement.x=e.movementX,t.movement.y=e.movementY,t.page.x=e.pageX,t.page.y=e.pageY,t.screen.x=e.screenX,t.screen.y=e.screenY,t.relatedTarget=null}},{key:"setCursor",value:function(t){this.context.contextService.applyCursorStyle(t||this.context.config.cursor||"default")}},{key:"normalizeToPointerEvent",value:function(t,e){var n=[];if(e.isTouchEvent(t))for(var i=0;i-1,o=0,s=i.length;o1&&void 0!==arguments[1]&&arguments[1];if(t.isConnected){var n=t.rBushNode;n.aabb&&this.rBush.remove(n.aabb);var i=t.getRenderBounds();if(i){var r=t.renderable;e&&(r.dirtyRenderBounds||(r.dirtyRenderBounds=new tA),r.dirtyRenderBounds.update(i.center,i.halfExtents));var a=i.getMin(),o=(0,L.Z)(a,2),s=o[0],l=o[1],u=i.getMax(),c=(0,L.Z)(u,2),h=c[0],d=c[1];n.aabb||(n.aabb={}),n.aabb.displayObject=t,n.aabb.minX=s,n.aabb.minY=l,n.aabb.maxX=h,n.aabb.maxY=d}if(n.aabb&&!isNaN(n.aabb.maxX)&&!isNaN(n.aabb.maxX)&&!isNaN(n.aabb.minX)&&!isNaN(n.aabb.minY))return n.aabb}}},{key:"syncRTree",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(e||!this.syncing&&0!==this.syncTasks.size){this.syncing=!0;var n=[],i=new Set,r=function(r){if(!i.has(r)&&r.renderable){var a=t.syncNode(r,e);a&&(n.push(a),i.add(r))}};this.syncTasks.forEach(function(t,e){t&&e.forEach(r);for(var n=e;n;)r(n),n=n.parentElement}),this.rBush.load(n),n.length=0,this.syncing=!1}}}])}();aE.tag="Prepare";var ax=((P={}).READY="ready",P.BEFORE_RENDER="beforerender",P.RERENDER="rerender",P.AFTER_RENDER="afterrender",P.BEFORE_DESTROY="beforedestroy",P.AFTER_DESTROY="afterdestroy",P.RESIZE="resize",P.DIRTY_RECTANGLE="dirtyrectangle",P.RENDERER_CHANGED="rendererchanged",P),aT=new ro(rg.MOUNTED),ab=new ro(rg.UNMOUNTED),aN=new ro(ax.BEFORE_RENDER),aw=new ro(ax.RERENDER),aS=new ro(ax.AFTER_RENDER),aP=function(t){function e(t){(0,C.Z)(this,e),(r=(0,Z.Z)(this,e)).Element=r5,r.inited=!1,r.context={};var n,i,r,a=t.container,o=t.canvas,s=t.renderer,l=t.width,u=t.height,c=t.background,h=t.cursor,d=t.supportsMutipleCanvasesInOneContainer,f=t.cleanUpOnDestroy,v=void 0===f||f,p=t.offscreenCanvas,g=t.devicePixelRatio,y=t.requestAnimationFrame,m=t.cancelAnimationFrame,k=t.createImage,E=t.supportsTouchEvents,x=t.supportsPointerEvents,T=t.isTouchEvent,b=t.isMouseEvent,N=t.dblClickSpeed,w=l,S=u,P=g||ix&&window.devicePixelRatio||1;return P=P>=1?Math.ceil(P):1,o&&(w=l||("auto"===(n=iw(o,"width"))?o.offsetWidth:parseFloat(n))||o.width/P,S=u||("auto"===(i=iw(o,"height"))?o.offsetHeight:parseFloat(i))||o.height/P),r.customElements=new af,r.devicePixelRatio=P,r.requestAnimationFrame=null!=y?y:iG.bind(rX.globalThis),r.cancelAnimationFrame=null!=m?m:iF.bind(rX.globalThis),r.supportsTouchEvents=null!=E?E:"ontouchstart"in rX.globalThis,r.supportsPointerEvents=null!=x?x:!!rX.globalThis.PointerEvent,r.isTouchEvent=null!=T?T:function(t){return r.supportsTouchEvents&&t instanceof rX.globalThis.TouchEvent},r.isMouseEvent=null!=b?b:function(t){return!rX.globalThis.MouseEvent||t instanceof rX.globalThis.MouseEvent&&(!r.supportsPointerEvents||!(t instanceof rX.globalThis.PointerEvent))},p&&(rX.offscreenCanvas=p),r.document=new ap,r.document.defaultView=r,d||function(t,e,n){if(t){var i="string"==typeof t?document.getElementById(t):t;iE.has(i)&&iE.get(i).destroy(n),iE.set(i,e)}}(a,r,v),r.initRenderingContext((0,M.Z)((0,M.Z)({},t),{},{width:w,height:S,background:null!=c?c:"transparent",cursor:null!=h?h:"default",cleanUpOnDestroy:v,devicePixelRatio:P,requestAnimationFrame:r.requestAnimationFrame,cancelAnimationFrame:r.cancelAnimationFrame,supportsTouchEvents:r.supportsTouchEvents,supportsPointerEvents:r.supportsPointerEvents,isTouchEvent:r.isTouchEvent,isMouseEvent:r.isMouseEvent,dblClickSpeed:null!=N?N:200,createImage:null!=k?k:function(){return new window.Image}})),r.initDefaultCamera(w,S,s.clipSpaceNearZ),r.initRenderer(s,!0),r}return(0,O.Z)(e,t),(0,A.Z)(e,[{key:"initRenderingContext",value:function(t){this.context.config=t,this.context.renderingContext={root:this.document.documentElement,renderListCurrentFrame:[],unculledEntities:[],renderReasons:new Set,force:!1,dirty:!1}}},{key:"initDefaultCamera",value:function(t,e,n){var i=this,r=new rX.CameraContribution;r.clipSpaceNearZ=n,r.setType(tQ.EXPLORING,t0.DEFAULT).setPosition(t/2,e/2,500).setFocalPoint(t/2,e/2,0).setOrthographic(-(t/2),t/2,e/2,-(e/2),.1,1e3),r.canvas=this,r.eventEmitter.on(t2.UPDATED,function(){i.context.renderingContext.renderReasons.add(rd.CAMERA_CHANGED),rX.enableSizeAttenuation&&i.getConfig().renderer.getConfig().enableSizeAttenuation&&i.updateSizeAttenuation()}),this.context.camera=r}},{key:"updateSizeAttenuation",value:function(){var t=this.getCamera().getZoom();this.document.documentElement.forEach(function(e){rX.styleValueRegistry.updateSizeAttenuation(e,t)})}},{key:"getConfig",value:function(){return this.context.config}},{key:"getRoot",value:function(){return this.document.documentElement}},{key:"getCamera",value:function(){return this.context.camera}},{key:"getContextService",value:function(){return this.context.contextService}},{key:"getEventService",value:function(){return this.context.eventService}},{key:"getRenderingService",value:function(){return this.context.renderingService}},{key:"getRenderingContext",value:function(){return this.context.renderingContext}},{key:"getStats",value:function(){return this.getRenderingService().getStats()}},{key:"ready",get:function(){var t=this;return!this.readyPromise&&(this.readyPromise=new Promise(function(e){t.resolveReadyPromise=function(){e(t)}}),this.inited&&this.resolveReadyPromise()),this.readyPromise}},{key:"destroy",value:function(){var t=!(arguments.length>0)||void 0===arguments[0]||arguments[0],e=arguments.length>1?arguments[1]:void 0;eC.clearCache(),e||this.dispatchEvent(new ro(ax.BEFORE_DESTROY)),this.frameId&&this.cancelAnimationFrame(this.frameId);var n=this.getRoot();t&&(this.unmountChildren(n),this.document.destroy(),this.getEventService().destroy()),this.getRenderingService().destroy(),this.getContextService().destroy(),this.context.rBushRoot&&this.context.rBushRoot.clear(),e||this.dispatchEvent(new ro(ax.AFTER_DESTROY));var i=function(t){t.currentTarget=null,t.manager=null,t.target=null,t.relatedNode=null};i(aT),i(ab),i(aN),i(aw),i(aS),i(r0),i(rj),i(rq),i(r$)}},{key:"changeSize",value:function(t,e){this.resize(t,e)}},{key:"resize",value:function(t,e){var n=this.context.config;n.width=t,n.height=e,this.getContextService().resize(t,e);var i=this.context.camera,r=i.getProjectionMode();i.setPosition(t/2,e/2,500).setFocalPoint(t/2,e/2,0),r===t1.ORTHOGRAPHIC?i.setOrthographic(-(t/2),t/2,e/2,-(e/2),i.getNear(),i.getFar()):i.setAspect(t/e),this.dispatchEvent(new ro(ax.RESIZE,{width:t,height:e}))}},{key:"appendChild",value:function(t,e){return this.document.documentElement.appendChild(t,e)}},{key:"insertBefore",value:function(t,e){return this.document.documentElement.insertBefore(t,e)}},{key:"removeChild",value:function(t){return this.document.documentElement.removeChild(t)}},{key:"removeChildren",value:function(){this.document.documentElement.removeChildren()}},{key:"destroyChildren",value:function(){this.document.documentElement.destroyChildren()}},{key:"render",value:function(t){var e=this;t&&(aN.detail=t,aS.detail=t),this.dispatchEvent(aN),this.getRenderingService().render(this.getConfig(),t,function(){e.dispatchEvent(aw)}),this.dispatchEvent(aS)}},{key:"run",value:function(){var t=this,e=function(n,i){t.render(i),t.frameId=t.requestAnimationFrame(e)};e()}},{key:"initRenderer",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!t)throw Error("Renderer is required.");this.inited=!1,this.readyPromise=void 0,this.context.rBushRoot=new tk,this.context.renderingPlugins=[],this.context.renderingPlugins.push(new ay,new aE,new ag([new ak])),this.loadRendererContainerModule(t),this.context.contextService=new this.context.ContextService((0,M.Z)((0,M.Z)({},rX),this.context)),this.context.renderingService=new rf(rX,this.context),this.context.eventService=new rc(rX,this.context),this.context.eventService.init(),this.context.contextService.init?(this.context.contextService.init(),this.initRenderingService(t,n,!0)):this.context.contextService.initAsync().then(function(){e.initRenderingService(t,n)}).catch(function(t){console.error(t)})}},{key:"initRenderingService",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.context.renderingService.init(function(){e.inited=!0,n?i?e.requestAnimationFrame(function(){e.dispatchEvent(new ro(ax.READY))}):e.dispatchEvent(new ro(ax.READY)):e.dispatchEvent(new ro(ax.RENDERER_CHANGED)),e.readyPromise&&e.resolveReadyPromise(),n||e.getRoot().forEach(function(t){var e=t.renderable;e&&(e.renderBoundsDirty=!0,e.boundsDirty=!0,e.dirty=!0)}),e.mountChildren(e.getRoot()),t.getConfig().enableAutoRendering&&e.run()})}},{key:"loadRendererContainerModule",value:function(t){var e=this;t.getPlugins().forEach(function(t){t.context=e.context,t.init(rX)})}},{key:"setRenderer",value:function(t){var e=this.getConfig();if(e.renderer!==t){var n=e.renderer;e.renderer=t,this.destroy(!1,!0),(0,R.Z)((null==n?void 0:n.getPlugins())||[]).reverse().forEach(function(t){t.destroy(rX)}),this.initRenderer(t)}}},{key:"setCursor",value:function(t){this.getConfig().cursor=t,this.getContextService().applyCursorStyle(t)}},{key:"unmountChildren",value:function(t){var e=this;t.childNodes.forEach(function(t){e.unmountChildren(t)}),this.inited&&(t.isMutationObserved?t.dispatchEvent(ab):(ab.target=t,this.dispatchEvent(ab,!0)),t!==this.document.documentElement&&(t.ownerDocument=null),t.isConnected=!1),t.isCustomElement&&t.disconnectedCallback&&t.disconnectedCallback()}},{key:"mountChildren",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:iM(t);this.inited?t.isConnected||(t.ownerDocument=this.document,t.isConnected=!0,n||(t.isMutationObserved?t.dispatchEvent(aT):(aT.target=t,this.dispatchEvent(aT,!0)))):console.warn("[g]: You are trying to call `canvas.appendChild` before canvas' initialization finished. You can either await `canvas.ready` or listen to `CanvasEvent.READY` manually.","appended child: ",t.nodeName),t.childNodes.forEach(function(t){e.mountChildren(t,n)}),t.isCustomElement&&t.connectedCallback&&t.connectedCallback()}},{key:"mountFragment",value:function(t){this.mountChildren(t,!1)}},{key:"client2Viewport",value:function(t){return this.getEventService().client2Viewport(t)}},{key:"viewport2Client",value:function(t){return this.getEventService().viewport2Client(t)}},{key:"viewport2Canvas",value:function(t){return this.getEventService().viewport2Canvas(t)}},{key:"canvas2Viewport",value:function(t){return this.getEventService().canvas2Viewport(t)}},{key:"getPointByClient",value:function(t,e){return this.client2Viewport({x:t,y:e})}},{key:"getClientByPoint",value:function(t,e){return this.viewport2Client({x:t,y:e})}}])}(rl)}}]); \ No newline at end of file +"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7728],{445:function(t,e,n){n.d(e,{$6:function(){return ax},$p:function(){return iN},Aw:function(){return ro},Cd:function(){return r3},Cm:function(){return eA},Dk:function(){return rg},E9:function(){return tL},Ee:function(){return ae},F6:function(){return tT},G$:function(){return nW},G0:function(){return iQ},GL:function(){return eY},GZ:function(){return rX},I8:function(){return tb},L1:function(){return iC},N1:function(){return n7},NB:function(){return ru},O4:function(){return tB},Oi:function(){return ib},Pj:function(){return r8},R:function(){return nr},RV:function(){return rJ},Rr:function(){return rd},Rx:function(){return e3},UL:function(){return ac},V1:function(){return t5},Vl:function(){return tY},Xz:function(){return aP},YR:function(){return nD},ZA:function(){return r7},_O:function(){return tG},aH:function(){return au},b_:function(){return r6},bn:function(){return tE},gz:function(){return nw},h0:function(){return t8},iM:function(){return tQ},jB:function(){return rh},jf:function(){return tD},k9:function(){return at},lu:function(){return no},mN:function(){return tA},mg:function(){return as},o6:function(){return e4},qA:function(){return na},s$:function(){return r5},ux:function(){return av},x1:function(){return ai},xA:function(){return rn},xv:function(){return ad},y$:function(){return aa}});var i,r,a,o,s,l,u,c,h,d,f,v,p,g,y,m,k,E,x,T,b,N,w,S,P,M=n(99660),C=n(82808),A=n(11350),R=n(25585),Z=n(51963),O=n(98568),L=n(55054),I=n(21129),D=n(77160),_=n(98333),G=n(85975),F=n(35600),B=n(32945),U=n(31437),Y=n(85407),V=n(58076),X=n(82993),H=n(70465),z=n(34971),W=n(62436),j=n(1010),q=n(82817),$=n(23198),K=n(81773),J=n(94918),Q=n(27872),tt=n(30501),te=n(46516),tn=n(76686),ti=n(54947),tr=n(91952),ta=n(58159),to=n(24960),ts=n(52176),tl=n(55265),tu=n(92989),tc=n(90046),th=n(88998),td=n(27567),tf=n(11702),tv=n(43586),tp=n(39506),tg=n(29885),ty=n(88294),tm=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self&&self,{exports:{}});tm.exports=function(){function t(t,e,n){var i=t[e];t[e]=t[n],t[n]=i}function e(t,e){return te?1:0}var n=function(t){void 0===t&&(t=9),this._maxEntries=Math.max(4,t),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),this.clear()};function i(t,e){r(t,0,t.children.length,e,t)}function r(t,e,n,i,r){r||(r=d(null)),r.minX=1/0,r.minY=1/0,r.maxX=-1/0,r.maxY=-1/0;for(var o=e;o=t.minX&&e.maxY>=t.minY}function d(t){return{children:t,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function f(n,i,r,a,o){for(var s=[i,r];s.length;)if(r=s.pop(),i=s.pop(),!(r-i<=a)){var l=i+Math.ceil((r-i)/a/2)*a;(function e(n,i,r,a,o){for(;a>r;){if(a-r>600){var s=a-r+1,l=i-r+1,u=Math.log(s),c=.5*Math.exp(2*u/3),h=.5*Math.sqrt(u*c*(s-c)/s)*(l-s/2<0?-1:1),d=Math.max(r,Math.floor(i-l*c/s+h)),f=Math.min(a,Math.floor(i+(s-l)*c/s+h));e(n,i,d,f,o)}var v=n[i],p=r,g=a;for(t(n,r,i),o(n[a],v)>0&&t(n,r,a);po(n[p],v);)p++;for(;o(n[g],v)>0;)g--}0===o(n[r],v)?t(n,r,g):t(n,++g,a),g<=i&&(r=g+1),i<=g&&(a=g-1)}})(n,l,i||0,r||n.length-1,o||e),s.push(i,l,l,r)}}return n.prototype.all=function(){return this._all(this.data,[])},n.prototype.search=function(t){var e=this.data,n=[];if(!h(t,e))return n;for(var i=this.toBBox,r=[];e;){for(var a=0;a=0;)if(r[e].children.length>this._maxEntries)this._split(r,e),e--;else break;this._adjustParentBBoxes(i,r,e)},n.prototype._split=function(t,e){var n=t[e],r=n.children.length,a=this._minEntries;this._chooseSplitAxis(n,a,r);var o=this._chooseSplitIndex(n,a,r),s=d(n.children.splice(o,n.children.length-o));s.height=n.height,s.leaf=n.leaf,i(n,this.toBBox),i(s,this.toBBox),e?t[e-1].children.push(s):this._splitRoot(n,s)},n.prototype._splitRoot=function(t,e){this.data=d([t,e]),this.data.height=t.height+1,this.data.leaf=!1,i(this.data,this.toBBox)},n.prototype._chooseSplitIndex=function(t,e,n){for(var i,a=1/0,o=1/0,s=e;s<=n-e;s++){var u=r(t,0,s,this.toBBox),c=r(t,s,n,this.toBBox),h=function(t,e){var n=Math.max(t.minX,e.minX),i=Math.max(t.minY,e.minY);return Math.max(0,Math.min(t.maxX,e.maxX)-n)*Math.max(0,Math.min(t.maxY,e.maxY)-i)}(u,c),d=l(u)+l(c);h=e;f--){var v=t.children[f];a(l,t.leaf?o(v):v),c+=u(l)}return c},n.prototype._adjustParentBBoxes=function(t,e,n){for(var i=n;i>=0;i--)a(e[i],t)},n.prototype._condense=function(t){for(var e=t.length-1,n=void 0;e>=0;e--)0===t[e].children.length?e>0?(n=t[e-1].children).splice(n.indexOf(t[e]),1):this.clear():i(t[e],this.toBBox)},n}();var tk=tm.exports,tE=((i={}).GROUP="g",i.FRAGMENT="fragment",i.CIRCLE="circle",i.ELLIPSE="ellipse",i.IMAGE="image",i.RECT="rect",i.LINE="line",i.POLYLINE="polyline",i.POLYGON="polygon",i.TEXT="text",i.PATH="path",i.HTML="html",i.MESH="mesh",i),tx=((r={})[r.ZERO=0]="ZERO",r[r.NEGATIVE_ONE=1]="NEGATIVE_ONE",r),tT=(0,A.Z)(function t(){(0,C.Z)(this,t),this.plugins=[]},[{key:"addRenderingPlugin",value:function(t){this.plugins.push(t),this.context.renderingPlugins.push(t)}},{key:"removeAllRenderingPlugins",value:function(){var t=this;this.plugins.forEach(function(e){var n=t.context.renderingPlugins.indexOf(e);n>=0&&t.context.renderingPlugins.splice(n,1)})}}]),tb=(0,A.Z)(function t(e){(0,C.Z)(this,t),this.clipSpaceNearZ=tx.NEGATIVE_ONE,this.plugins=[],this.config=(0,M.Z)({enableDirtyCheck:!0,enableCulling:!1,enableAutoRendering:!0,enableDirtyRectangleRendering:!0,enableDirtyRectangleRenderingDebug:!1,enableSizeAttenuation:!0,enableRenderingOptimization:!1},e)},[{key:"registerPlugin",value:function(t){-1===this.plugins.findIndex(function(e){return e===t})&&this.plugins.push(t)}},{key:"unregisterPlugin",value:function(t){var e=this.plugins.findIndex(function(e){return e===t});e>-1&&this.plugins.splice(e,1)}},{key:"getPlugins",value:function(){return this.plugins}},{key:"getPlugin",value:function(t){return this.plugins.find(function(e){return e.name===t})}},{key:"getConfig",value:function(){return this.config}},{key:"setConfig",value:function(t){Object.assign(this.config,t)}}]),tN=D.IH,tw=D.JG,tS=D.Fp,tP=D.VV,tM=D.bA,tC=D.lu,tA=function(){function t(){(0,C.Z)(this,t),this.center=[0,0,0],this.halfExtents=[0,0,0],this.min=[0,0,0],this.max=[0,0,0]}return(0,A.Z)(t,[{key:"update",value:function(t,e){tw(this.center,t),tw(this.halfExtents,e),tC(this.min,this.center,this.halfExtents),tN(this.max,this.center,this.halfExtents)}},{key:"setMinMax",value:function(t,e){tN(this.center,e,t),tM(this.center,this.center,.5),tC(this.halfExtents,e,t),tM(this.halfExtents,this.halfExtents,.5),tw(this.min,t),tw(this.max,e)}},{key:"getMin",value:function(){return this.min}},{key:"getMax",value:function(){return this.max}},{key:"add",value:function(e){if(!t.isEmpty(e)){if(t.isEmpty(this)){this.setMinMax(e.getMin(),e.getMax());return}var n=this.center,i=n[0],r=n[1],a=n[2],o=this.halfExtents,s=o[0],l=o[1],u=o[2],c=i-s,h=i+s,d=r-l,f=r+l,v=a-u,p=a+u,g=e.center,y=g[0],m=g[1],k=g[2],E=e.halfExtents,x=E[0],T=E[1],b=E[2],N=y-x,w=y+x,S=m-T,P=m+T,M=k-b,C=k+b;Nh&&(h=w),Sf&&(f=P),Mp&&(p=C),n[0]=(c+h)*.5,n[1]=(d+f)*.5,n[2]=(v+p)*.5,o[0]=(h-c)*.5,o[1]=(f-d)*.5,o[2]=(p-v)*.5,this.min[0]=c,this.min[1]=d,this.min[2]=v,this.max[0]=h,this.max[1]=f,this.max[2]=p}}},{key:"setFromTransformedAABB",value:function(t,e){var n=this.center,i=this.halfExtents,r=t.center,a=t.halfExtents,o=e[0],s=e[4],l=e[8],u=e[1],c=e[5],h=e[9],d=e[2],f=e[6],v=e[10],p=Math.abs(o),g=Math.abs(s),y=Math.abs(l),m=Math.abs(u),k=Math.abs(c),E=Math.abs(h),x=Math.abs(d),T=Math.abs(f),b=Math.abs(v);n[0]=e[12]+o*r[0]+s*r[1]+l*r[2],n[1]=e[13]+u*r[0]+c*r[1]+h*r[2],n[2]=e[14]+d*r[0]+f*r[1]+v*r[2],i[0]=p*a[0]+g*a[1]+y*a[2],i[1]=m*a[0]+k*a[1]+E*a[2],i[2]=x*a[0]+T*a[1]+b*a[2],tC(this.min,n,i),tN(this.max,n,i)}},{key:"intersects",value:function(t){var e=this.getMax(),n=this.getMin(),i=t.getMax(),r=t.getMin();return n[0]<=i[0]&&e[0]>=r[0]&&n[1]<=i[1]&&e[1]>=r[1]&&n[2]<=i[2]&&e[2]>=r[2]}},{key:"intersection",value:function(e){if(!this.intersects(e))return null;var n=new t,i=tS([0,0,0],this.getMin(),e.getMin()),r=tP([0,0,0],this.getMax(),e.getMax());return n.setMinMax(i,r),n}},{key:"getNegativeFarPoint",value:function(t){return 273===t.pnVertexFlag?tw([0,0,0],this.min):272===t.pnVertexFlag?[this.min[0],this.min[1],this.max[2]]:257===t.pnVertexFlag?[this.min[0],this.max[1],this.min[2]]:256===t.pnVertexFlag?[this.min[0],this.max[1],this.max[2]]:17===t.pnVertexFlag?[this.max[0],this.min[1],this.min[2]]:16===t.pnVertexFlag?[this.max[0],this.min[1],this.max[2]]:1===t.pnVertexFlag?[this.max[0],this.max[1],this.min[2]]:[this.max[0],this.max[1],this.max[2]]}},{key:"getPositiveFarPoint",value:function(t){return 273===t.pnVertexFlag?tw([0,0,0],this.max):272===t.pnVertexFlag?[this.max[0],this.max[1],this.min[2]]:257===t.pnVertexFlag?[this.max[0],this.min[1],this.max[2]]:256===t.pnVertexFlag?[this.max[0],this.min[1],this.min[2]]:17===t.pnVertexFlag?[this.min[0],this.max[1],this.max[2]]:16===t.pnVertexFlag?[this.min[0],this.max[1],this.min[2]]:1===t.pnVertexFlag?[this.min[0],this.min[1],this.max[2]]:[this.min[0],this.min[1],this.min[2]]}}],[{key:"isEmpty",value:function(t){return!t||0===t.halfExtents[0]&&0===t.halfExtents[1]&&0===t.halfExtents[2]}}])}(),tR=(0,A.Z)(function t(e,n){(0,C.Z)(this,t),this.distance=e||0,this.normal=n||D.al(0,1,0),this.updatePNVertexFlag()},[{key:"updatePNVertexFlag",value:function(){this.pnVertexFlag=(Number(this.normal[0]>=0)<<8)+(Number(this.normal[1]>=0)<<4)+Number(this.normal[2]>=0)}},{key:"distanceToPoint",value:function(t){return D.AK(t,this.normal)-this.distance}},{key:"normalize",value:function(){var t=1/D.Zh(this.normal);D.bA(this.normal,this.normal,t),this.distance*=t}},{key:"intersectsLine",value:function(t,e,n){var i=this.distanceToPoint(t),r=i/(i-this.distanceToPoint(e)),a=r>=0&&r<=1;return a&&n&&D.t7(n,t,e,r),a}}]),tZ=((a={})[a.OUTSIDE=4294967295]="OUTSIDE",a[a.INSIDE=0]="INSIDE",a[a.INDETERMINATE=2147483647]="INDETERMINATE",a),tO=(0,A.Z)(function t(e){if((0,C.Z)(this,t),this.planes=[],e)this.planes=e;else for(var n=0;n<6;n++)this.planes.push(new tR)},[{key:"extractFromVPMatrix",value:function(t){var e=(0,L.Z)(t,16),n=e[0],i=e[1],r=e[2],a=e[3],o=e[4],s=e[5],l=e[6],u=e[7],c=e[8],h=e[9],d=e[10],f=e[11],v=e[12],p=e[13],g=e[14],y=e[15];D.t8(this.planes[0].normal,a-n,u-o,f-c),this.planes[0].distance=y-v,D.t8(this.planes[1].normal,a+n,u+o,f+c),this.planes[1].distance=y+v,D.t8(this.planes[2].normal,a+i,u+s,f+h),this.planes[2].distance=y+p,D.t8(this.planes[3].normal,a-i,u-s,f-h),this.planes[3].distance=y-p,D.t8(this.planes[4].normal,a-r,u-l,f-d),this.planes[4].distance=y-g,D.t8(this.planes[5].normal,a+r,u+l,f+d),this.planes[5].distance=y+g,this.planes.forEach(function(t){t.normalize(),t.updatePNVertexFlag()})}}]),tL=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;(0,C.Z)(this,t),this.x=0,this.y=0,this.x=e,this.y=n}return(0,A.Z)(t,[{key:"clone",value:function(){return new t(this.x,this.y)}},{key:"copyFrom",value:function(t){this.x=t.x,this.y=t.y}}])}(),tI=function(){function t(e,n,i,r){(0,C.Z)(this,t),this.x=e,this.y=n,this.width=i,this.height=r,this.left=e,this.right=e+i,this.top=n,this.bottom=n+r}return(0,A.Z)(t,[{key:"toJSON",value:function(){}}],[{key:"fromRect",value:function(e){return new t(e.x,e.y,e.width,e.height)}},{key:"applyTransform",value:function(e,n){var i=_.al(e.x,e.y,0,1),r=_.al(e.x+e.width,e.y,0,1),a=_.al(e.x,e.y+e.height,0,1),o=_.al(e.x+e.width,e.y+e.height,0,1),s=_.Ue(),l=_.Ue(),u=_.Ue(),c=_.Ue();_.fF(s,i,n),_.fF(l,r,n),_.fF(u,a,n),_.fF(c,o,n);var h=Math.min(s[0],l[0],u[0],c[0]),d=Math.min(s[1],l[1],u[1],c[1]),f=Math.max(s[0],l[0],u[0],c[0]),v=Math.max(s[1],l[1],u[1],c[1]);return t.fromRect({x:h,y:d,width:f-h,height:v-d})}}])}(),tD="Method not implemented.",t_="Use document.documentElement instead.";function tG(t){return void 0===t?0:t>360||t<-360?t%360:t}var tF=D.Ue();function tB(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=!(arguments.length>3)||void 0===arguments[3]||arguments[3];return Array.isArray(t)&&3===t.length?i?D.d9(t):D.JG(tF,t):(0,Y.Z)(t)?i?D.al(t,e,n):D.t8(tF,t,e,n):i?D.al(t[0],t[1]||e,t[2]||n):D.t8(tF,t[0],t[1]||e,t[2]||n)}var tU=Math.PI/180;function tY(t){return t*tU}var tV=180/Math.PI,tX=Math.PI/2;function tH(t,e){var n,i,r,a,o,s,l,u,c,h,d,f,v,p,g,y,m;return 16===e.length?(r=G.getScaling(D.Ue(),e),o=(a=(0,L.Z)(r,3))[0],s=a[1],l=a[2],(u=Math.asin(-e[2]/o))-tX?(n=Math.atan2(e[6]/s,e[10]/l),i=Math.atan2(e[1]/o,e[0]/o)):(i=0,n=-Math.atan2(e[4]/s,e[5]/s)):(i=0,n=Math.atan2(e[4]/s,e[5]/s)),t[0]=n,t[1]=u,t[2]=i,t):(c=e[0],h=e[1],d=e[2],f=e[3],y=c*c+(v=h*h)+(p=d*d)+(g=f*f),(m=c*f-h*d)>.499995*y?(t[0]=tX,t[1]=2*Math.atan2(h,c),t[2]=0):m<-.499995*y?(t[0]=-tX,t[1]=2*Math.atan2(h,c),t[2]=0):(t[0]=Math.asin(2*(c*d-f*h)),t[1]=Math.atan2(2*(c*f+h*d),1-2*(p+g)),t[2]=Math.atan2(2*(c*h+d*f),1-2*(v+p))),t)}function tz(t){var e=t[0],n=t[1],i=t[3],r=t[4],a=Math.sqrt(e*e+n*n),o=Math.sqrt(i*i+r*r);if(e*r-n*i<0&&(e7&&void 0!==arguments[7]&&arguments[7],c=2*a,h=n-e,d=i-r,f=o-a,v=o*a;u?(s=-o/f,l=-v/f):(s=-(o+a)/f,l=-2*v/f),t[0]=c/h,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=c/d,t[6]=0,t[7]=0,t[8]=(n+e)/h,t[9]=(i+r)/d,t[10]=s,t[11]=-1,t[12]=0,t[13]=0,t[14]=l,t[15]=0}(this.projectionMatrix,l,l+s,a-o,a,t,this.far,this.clipSpaceNearZ===tx.ZERO),G.invert(this.projectionMatrixInverse,this.projectionMatrix),this.triggerUpdate(),this}},{key:"setOrthographic",value:function(t,e,n,i,r,a){this.projectionMode=t1.ORTHOGRAPHIC,this.rright=e,this.left=t,this.top=n,this.bottom=i,this.near=r,this.far=a;var o,s=(this.rright-this.left)/(2*this.zoom),l=(this.top-this.bottom)/(2*this.zoom),u=(this.rright+this.left)/2,c=(this.top+this.bottom)/2,h=u-s,d=u+s,f=c+l,v=c-l;if(null!==(o=this.view)&&void 0!==o&&o.enabled){var p=(this.rright-this.left)/this.view.fullWidth/this.zoom,g=(this.top-this.bottom)/this.view.fullHeight/this.zoom;h+=p*this.view.offsetX,d=h+p*this.view.width,f-=g*this.view.offsetY,v=f-g*this.view.height}return this.clipSpaceNearZ===tx.NEGATIVE_ONE?G.ortho(this.projectionMatrix,h,d,f,v,r,a):G.orthoZO(this.projectionMatrix,h,d,f,v,r,a),G.invert(this.projectionMatrixInverse,this.projectionMatrix),this._getOrthoMatrix(),this.triggerUpdate(),this}},{key:"setPosition",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.position[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.position[2],i=tB(t,e,n);return this._setPosition(i),this.setFocalPoint(this.focalPoint),this.triggerUpdate(),this}},{key:"setFocalPoint",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.focalPoint[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.focalPoint[2],i=D.al(0,1,0);if(this.focalPoint=tB(t,e,n),this.trackingMode===t0.CINEMATIC){var r=D.$X(D.Ue(),this.focalPoint,this.position);t=r[0],e=r[1],n=r[2];var a=Math.asin(e/D.kE(r))*tV,o=90+Math.atan2(n,t)*tV,s=G.create();G.rotateY(s,s,o*tU),G.rotateX(s,s,a*tU),i=D.fF(D.Ue(),[0,1,0],s)}return G.invert(this.matrix,G.lookAt(G.create(),this.position,this.focalPoint,i)),this._getAxes(),this._getDistance(),this._getAngles(),this.triggerUpdate(),this}},{key:"getDistance",value:function(){return this.distance}},{key:"getDistanceVector",value:function(){return this.distanceVector}},{key:"setDistance",value:function(t){if(this.distance===t||t<0)return this;this.distance=t,this.distance<2e-4&&(this.distance=2e-4),this.dollyingStep=this.distance/100;var e=D.Ue();t=this.distance;var n=this.forward,i=this.focalPoint;return e[0]=t*n[0]+i[0],e[1]=t*n[1]+i[1],e[2]=t*n[2]+i[2],this._setPosition(e),this.triggerUpdate(),this}},{key:"setMaxDistance",value:function(t){return this.maxDistance=t,this}},{key:"setMinDistance",value:function(t){return this.minDistance=t,this}},{key:"setAzimuth",value:function(t){return this.azimuth=tG(t),this.computeMatrix(),this._getAxes(),this.type===tQ.ORBITING||this.type===tQ.EXPLORING?this._getPosition():this.type===tQ.TRACKING&&this._getFocalPoint(),this.triggerUpdate(),this}},{key:"getAzimuth",value:function(){return this.azimuth}},{key:"setElevation",value:function(t){return this.elevation=tG(t),this.computeMatrix(),this._getAxes(),this.type===tQ.ORBITING||this.type===tQ.EXPLORING?this._getPosition():this.type===tQ.TRACKING&&this._getFocalPoint(),this.triggerUpdate(),this}},{key:"getElevation",value:function(){return this.elevation}},{key:"setRoll",value:function(t){return this.roll=tG(t),this.computeMatrix(),this._getAxes(),this.type===tQ.ORBITING||this.type===tQ.EXPLORING?this._getPosition():this.type===tQ.TRACKING&&this._getFocalPoint(),this.triggerUpdate(),this}},{key:"getRoll",value:function(){return this.roll}},{key:"_update",value:function(){this._getAxes(),this._getPosition(),this._getDistance(),this._getAngles(),this._getOrthoMatrix(),this.triggerUpdate()}},{key:"computeMatrix",value:function(){var t=B.yY(B.Ue(),[0,0,1],this.roll*tU);G.identity(this.matrix);var e=B.yY(B.Ue(),[1,0,0],(this.rotateWorld&&this.type!==tQ.TRACKING||this.type===tQ.TRACKING?1:-1)*this.elevation*tU),n=B.yY(B.Ue(),[0,1,0],(this.rotateWorld&&this.type!==tQ.TRACKING||this.type===tQ.TRACKING?1:-1)*this.azimuth*tU),i=B.Jp(B.Ue(),n,e);i=B.Jp(B.Ue(),i,t);var r=G.fromQuat(G.create(),i);this.type===tQ.ORBITING||this.type===tQ.EXPLORING?(G.translate(this.matrix,this.matrix,this.focalPoint),G.multiply(this.matrix,this.matrix,r),G.translate(this.matrix,this.matrix,[0,0,this.distance])):this.type===tQ.TRACKING&&(G.translate(this.matrix,this.matrix,this.position),G.multiply(this.matrix,this.matrix,r))}},{key:"_setPosition",value:function(t,e,n){this.position=tB(t,e,n);var i=this.matrix;i[12]=this.position[0],i[13]=this.position[1],i[14]=this.position[2],i[15]=1,this._getOrthoMatrix()}},{key:"_getAxes",value:function(){D.JG(this.right,tB(_.fF(_.Ue(),[1,0,0,0],this.matrix))),D.JG(this.up,tB(_.fF(_.Ue(),[0,1,0,0],this.matrix))),D.JG(this.forward,tB(_.fF(_.Ue(),[0,0,1,0],this.matrix))),D.Fv(this.right,this.right),D.Fv(this.up,this.up),D.Fv(this.forward,this.forward)}},{key:"_getAngles",value:function(){var t=this.distanceVector[0],e=this.distanceVector[1],n=this.distanceVector[2],i=D.kE(this.distanceVector);if(0===i){this.elevation=0,this.azimuth=0;return}this.type===tQ.TRACKING?(this.elevation=Math.asin(e/i)*tV,this.azimuth=Math.atan2(-t,-n)*tV):this.rotateWorld?(this.elevation=Math.asin(e/i)*tV,this.azimuth=Math.atan2(-t,-n)*tV):(this.elevation=-(Math.asin(e/i)*tV),this.azimuth=-(Math.atan2(-t,-n)*tV))}},{key:"_getPosition",value:function(){D.JG(this.position,tB(_.fF(_.Ue(),[0,0,0,1],this.matrix))),this._getDistance()}},{key:"_getFocalPoint",value:function(){D.kK(this.distanceVector,[0,0,-this.distance],F.xO(F.Ue(),this.matrix)),D.IH(this.focalPoint,this.position,this.distanceVector),this._getDistance()}},{key:"_getDistance",value:function(){this.distanceVector=D.$X(D.Ue(),this.focalPoint,this.position),this.distance=D.kE(this.distanceVector),this.dollyingStep=this.distance/100}},{key:"_getOrthoMatrix",value:function(){if(this.projectionMode===t1.ORTHOGRAPHIC){var t=this.position,e=B.yY(B.Ue(),[0,0,1],-this.roll*Math.PI/180);G.fromRotationTranslationScaleOrigin(this.orthoMatrix,e,D.al((this.rright-this.left)/2-t[0],(this.top-this.bottom)/2-t[1],0),D.al(this.zoom,this.zoom,1),t)}}},{key:"triggerUpdate",value:function(){if(this.enableUpdate){var t=this.getViewTransform(),e=G.multiply(G.create(),this.getPerspective(),t);this.getFrustum().extractFromVPMatrix(e),this.eventEmitter.emit(t2.UPDATED)}}},{key:"rotate",value:function(t,e,n){throw Error(tD)}},{key:"pan",value:function(t,e){throw Error(tD)}},{key:"dolly",value:function(t){throw Error(tD)}},{key:"createLandmark",value:function(t,e){throw Error(tD)}},{key:"gotoLandmark",value:function(t,e){throw Error(tD)}},{key:"cancelLandmarkAnimation",value:function(){throw Error(tD)}}]),t3=((u={})[u.Standard=0]="Standard",u),t4=((c={})[c.ADDED=0]="ADDED",c[c.REMOVED=1]="REMOVED",c[c.Z_INDEX_CHANGED=2]="Z_INDEX_CHANGED",c),t6={absolutePath:[],hasArc:!1,segments:[],polygons:[],polylines:[],curve:null,totalLength:0,rect:new tI(0,0,0,0)},t8=((h={}).COORDINATE="",h.COLOR="",h.PAINT="",h.NUMBER="",h.ANGLE="",h.OPACITY_VALUE="",h.SHADOW_BLUR="",h.LENGTH="",h.PERCENTAGE="",h.LENGTH_PERCENTAGE=" | ",h.LENGTH_PERCENTAGE_12="[ | ]{1,2}",h.LENGTH_PERCENTAGE_14="[ | ]{1,4}",h.LIST_OF_POINTS="",h.PATH="",h.FILTER="",h.Z_INDEX="",h.OFFSET_DISTANCE="",h.DEFINED_PATH="",h.MARKER="",h.TRANSFORM="",h.TRANSFORM_ORIGIN="",h.TEXT="",h.TEXT_TRANSFORM="",h);function t7(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function t9(t,e){var n=Object.create(t.prototype);for(var i in e)n[i]=e[i];return n}function et(){}var ee="\\s*([+-]?\\d+)\\s*",en="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",ei="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",er=/^#([0-9a-f]{3,8})$/,ea=RegExp(`^rgb\\(${ee},${ee},${ee}\\)$`),eo=RegExp(`^rgb\\(${ei},${ei},${ei}\\)$`),es=RegExp(`^rgba\\(${ee},${ee},${ee},${en}\\)$`),el=RegExp(`^rgba\\(${ei},${ei},${ei},${en}\\)$`),eu=RegExp(`^hsl\\(${en},${ei},${ei}\\)$`),ec=RegExp(`^hsla\\(${en},${ei},${ei},${en}\\)$`),eh={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function ed(){return this.rgb().formatHex()}function ef(){return this.rgb().formatRgb()}function ev(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=er.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?ep(e):3===n?new ey(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?eg(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?eg(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=ea.exec(t))?new ey(e[1],e[2],e[3],1):(e=eo.exec(t))?new ey(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=es.exec(t))?eg(e[1],e[2],e[3],e[4]):(e=el.exec(t))?eg(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=eu.exec(t))?eb(e[1],e[2]/100,e[3]/100,1):(e=ec.exec(t))?eb(e[1],e[2]/100,e[3]/100,e[4]):eh.hasOwnProperty(t)?ep(eh[t]):"transparent"===t?new ey(NaN,NaN,NaN,0):null}function ep(t){return new ey(t>>16&255,t>>8&255,255&t,1)}function eg(t,e,n,i){return i<=0&&(t=e=n=NaN),new ey(t,e,n,i)}function ey(t,e,n,i){this.r=+t,this.g=+e,this.b=+n,this.opacity=+i}function em(){return`#${eT(this.r)}${eT(this.g)}${eT(this.b)}`}function ek(){let t=eE(this.opacity);return`${1===t?"rgb(":"rgba("}${ex(this.r)}, ${ex(this.g)}, ${ex(this.b)}${1===t?")":`, ${t})`}`}function eE(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function ex(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function eT(t){return((t=ex(t))<16?"0":"")+t.toString(16)}function eb(t,e,n,i){return i<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new ew(t,e,n,i)}function eN(t){if(t instanceof ew)return new ew(t.h,t.s,t.l,t.opacity);if(t instanceof et||(t=ev(t)),!t)return new ew;if(t instanceof ew)return t;var e=(t=t.rgb()).r/255,n=t.g/255,i=t.b/255,r=Math.min(e,n,i),a=Math.max(e,n,i),o=NaN,s=a-r,l=(a+r)/2;return s?(o=e===a?(n-i)/s+(n0&&l<1?0:o,new ew(o,s,l,t.opacity)}function ew(t,e,n,i){this.h=+t,this.s=+e,this.l=+n,this.opacity=+i}function eS(t){return(t=(t||0)%360)<0?t+360:t}function eP(t){return Math.max(0,Math.min(1,t||0))}function eM(t,e,n){return(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)*255}function eC(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw TypeError("Expected a function");var n=function(){for(var i=arguments.length,r=Array(i),a=0;a=240?t-240:t+120,r,i),eM(t,r,i),eM(t<120?t+240:t-120,r,i),this.opacity)},clamp(){return new ew(eS(this.h),eP(this.s),eP(this.l),eE(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let t=eE(this.opacity);return`${1===t?"hsl(":"hsla("}${eS(this.h)}, ${100*eP(this.s)}%, ${100*eP(this.l)}%${1===t?")":`, ${t})`}`}})),eC.Cache=Map,eC.cacheList=[],eC.clearCache=function(){eC.cacheList.forEach(function(t){return t.clear()})};var eA=((d={})[d.kUnknown=0]="kUnknown",d[d.kNumber=1]="kNumber",d[d.kPercentage=2]="kPercentage",d[d.kEms=3]="kEms",d[d.kPixels=4]="kPixels",d[d.kRems=5]="kRems",d[d.kDegrees=6]="kDegrees",d[d.kRadians=7]="kRadians",d[d.kGradians=8]="kGradians",d[d.kTurns=9]="kTurns",d[d.kMilliseconds=10]="kMilliseconds",d[d.kSeconds=11]="kSeconds",d[d.kInteger=12]="kInteger",d),eR=((f={})[f.kUNumber=0]="kUNumber",f[f.kUPercent=1]="kUPercent",f[f.kULength=2]="kULength",f[f.kUAngle=3]="kUAngle",f[f.kUTime=4]="kUTime",f[f.kUOther=5]="kUOther",f),eZ=((v={})[v.kYes=0]="kYes",v[v.kNo=1]="kNo",v),eO=((p={})[p.kYes=0]="kYes",p[p.kNo=1]="kNo",p),eL=[{name:"em",unit_type:eA.kEms},{name:"px",unit_type:eA.kPixels},{name:"deg",unit_type:eA.kDegrees},{name:"rad",unit_type:eA.kRadians},{name:"grad",unit_type:eA.kGradians},{name:"ms",unit_type:eA.kMilliseconds},{name:"s",unit_type:eA.kSeconds},{name:"rem",unit_type:eA.kRems},{name:"turn",unit_type:eA.kTurns}],eI=((g={})[g.kUnknownType=0]="kUnknownType",g[g.kUnparsedType=1]="kUnparsedType",g[g.kKeywordType=2]="kKeywordType",g[g.kUnitType=3]="kUnitType",g[g.kSumType=4]="kSumType",g[g.kProductType=5]="kProductType",g[g.kNegateType=6]="kNegateType",g[g.kInvertType=7]="kInvertType",g[g.kMinType=8]="kMinType",g[g.kMaxType=9]="kMaxType",g[g.kClampType=10]="kClampType",g[g.kTransformType=11]="kTransformType",g[g.kPositionType=12]="kPositionType",g[g.kURLImageType=13]="kURLImageType",g[g.kColorType=14]="kColorType",g[g.kUnsupportedColorType=15]="kUnsupportedColorType",g),eD=function(t){switch(t){case eA.kNumber:case eA.kInteger:return eR.kUNumber;case eA.kPercentage:return eR.kUPercent;case eA.kPixels:return eR.kULength;case eA.kMilliseconds:case eA.kSeconds:return eR.kUTime;case eA.kDegrees:case eA.kRadians:case eA.kGradians:case eA.kTurns:return eR.kUAngle;default:return eR.kUOther}},e_=function(t){switch(t){case eR.kUNumber:return eA.kNumber;case eR.kULength:return eA.kPixels;case eR.kUPercent:return eA.kPercentage;case eR.kUTime:return eA.kSeconds;case eR.kUAngle:return eA.kDegrees;default:return eA.kUnknown}},eG=function(t){var e=1;switch(t){case eA.kPixels:case eA.kDegrees:case eA.kSeconds:break;case eA.kMilliseconds:e=.001;break;case eA.kRadians:e=180/Math.PI;break;case eA.kGradians:e=.9;break;case eA.kTurns:e=360}return e},eF=function(t){switch(t){case eA.kNumber:case eA.kInteger:break;case eA.kPercentage:return"%";case eA.kEms:return"em";case eA.kRems:return"rem";case eA.kPixels:return"px";case eA.kDegrees:return"deg";case eA.kRadians:return"rad";case eA.kGradians:return"grad";case eA.kMilliseconds:return"ms";case eA.kSeconds:return"s";case eA.kTurns:return"turn"}return""},eB=(0,A.Z)(function t(){(0,C.Z)(this,t)},[{key:"toString",value:function(){return this.buildCSSText(eZ.kNo,eO.kNo,"")}},{key:"isNumericValue",value:function(){return this.getType()>=eI.kUnitType&&this.getType()<=eI.kClampType}}],[{key:"isAngle",value:function(t){return t===eA.kDegrees||t===eA.kRadians||t===eA.kGradians||t===eA.kTurns}},{key:"isLength",value:function(t){return t>=eA.kEms&&t1&&void 0!==arguments[1]?arguments[1]:"";return(Number.isFinite(t)?"NaN":t>0?"infinity":"-infinity")+e},ez=function(t){return e_(eD(t))},eW=function(t){function e(t){var n,i,r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:eA.kNumber;return(0,C.Z)(this,e),i=(0,Z.Z)(this,e),r="string"==typeof a?(n=a)?"number"===n?eA.kNumber:"percent"===n||"%"===n?eA.kPercentage:eL.find(function(t){return t.name===n}).unit_type:eA.kUnknown:a,i.unit=r,i.value=t,i}return(0,O.Z)(e,t),(0,A.Z)(e,[{key:"clone",value:function(){return new e(this.value,this.unit)}},{key:"equals",value:function(t){return this.value===t.value&&this.unit===t.unit}},{key:"getType",value:function(){return eI.kUnitType}},{key:"convertTo",value:function(t){if(this.unit===t)return new e(this.value,this.unit);var n=ez(this.unit);if(n!==ez(t)||n===eA.kUnknown)return null;var i=eG(this.unit)/eG(t);return new e(this.value*i,t)}},{key:"buildCSSText",value:function(t,e,n){var i;switch(this.unit){case eA.kUnknown:break;case eA.kInteger:i=Number(this.value).toFixed(0);break;case eA.kNumber:case eA.kPercentage:case eA.kEms:case eA.kRems:case eA.kPixels:case eA.kDegrees:case eA.kRadians:case eA.kGradians:case eA.kMilliseconds:case eA.kSeconds:case eA.kTurns:var r=this.value,a=eF(this.unit);if(r<-999999||r>999999){var o=eF(this.unit);i=!Number.isFinite(r)||Number.isNaN(r)?eH(r,o):r+(o||"")}else i="".concat(r).concat(a)}return n+i}}])}(eB),ej=new eW(0,"px");new eW(1,"px");var eq=new eW(0,"deg"),e$=function(t){function e(t,n,i){var r,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return(0,C.Z)(this,e),(r=(0,Z.Z)(this,e,["rgb"])).r=t,r.g=n,r.b=i,r.alpha=a,r.isNone=o,r}return(0,O.Z)(e,t),(0,A.Z)(e,[{key:"clone",value:function(){return new e(this.r,this.g,this.b,this.alpha)}},{key:"buildCSSText",value:function(t,e,n){return"".concat(n,"rgba(").concat(this.r,",").concat(this.g,",").concat(this.b,",").concat(this.alpha,")")}}])}(eU),eK=new eX("unset"),eJ={"":eK,unset:eK,initial:new eX("initial"),inherit:new eX("inherit")},eQ=new e$(0,0,0,0,!0),e0=new e$(0,0,0,0),e1=eC(function(t,e,n,i){return new e$(t,e,n,i)},function(t,e,n,i){return"rgba(".concat(t,",").concat(e,",").concat(n,",").concat(i,")")}),e2=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:eA.kNumber;return new eW(t,e)};new eW(50,"%");var e5=function(){var t={linearGradient:/^(linear\-gradient)/i,repeatingLinearGradient:/^(repeating\-linear\-gradient)/i,radialGradient:/^(radial\-gradient)/i,repeatingRadialGradient:/^(repeating\-radial\-gradient)/i,conicGradient:/^(conic\-gradient)/i,sideOrCorner:/^to (left (top|bottom)|right (top|bottom)|top (left|right)|bottom (left|right)|left|right|top|bottom)/i,extentKeywords:/^(closest\-side|closest\-corner|farthest\-side|farthest\-corner|contain|cover)/,positionKeywords:/^(left|center|right|top|bottom)/i,pixelValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,percentageValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/,emValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,angleValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,startCall:/^\(/,endCall:/^\)/,comma:/^,/,hexColor:/^\#([0-9a-fA-F]+)/,literalColor:/^([a-zA-Z]+)/,rgbColor:/^rgb/i,rgbaColor:/^rgba/i,number:/^(([0-9]*\.[0-9]+)|([0-9]+\.?))/},e="";function n(t){throw Error("".concat(e,": ").concat(t))}function i(){return r("linear-gradient",t.linearGradient,o)||r("repeating-linear-gradient",t.repeatingLinearGradient,o)||r("radial-gradient",t.radialGradient,s)||r("repeating-radial-gradient",t.repeatingRadialGradient,s)||r("conic-gradient",t.conicGradient,s)}function r(e,i,r){return a(i,function(i){var a=r();return a&&!m(t.comma)&&n("Missing comma before color stops"),{type:e,orientation:a,colorStops:d(f)}})}function a(e,i){var r=m(e);if(r){m(t.startCall)||n("Missing (");var a=i(r);return m(t.endCall)||n("Missing )"),a}}function o(){return y("directional",t.sideOrCorner,1)||y("angular",t.angleValue,1)}function s(){var n,i,r=l();return r&&((n=[]).push(r),i=e,m(t.comma)&&((r=l())?n.push(r):e=i)),n}function l(){var t,e,n=((t=y("shape",/^(circle)/i,0))&&(t.style=g()||u()),t||((e=y("shape",/^(ellipse)/i,0))&&(e.style=p()||u()),e));if(n)n.at=c();else{var i=u();if(i){n=i;var r=c();r&&(n.at=r)}else{var a=h();a&&(n={type:"default-radial",at:a})}}return n}function u(){return y("extent-keyword",t.extentKeywords,1)}function c(){if(y("position",/^at/,0)){var t=h();return t||n("Missing positioning value"),t}}function h(){var t={x:p(),y:p()};if(t.x||t.y)return{type:"position",value:t}}function d(e){var i=e(),r=[];if(i)for(r.push(i);m(t.comma);)(i=e())?r.push(i):n("One extra comma");return r}function f(){var e=y("hex",t.hexColor,1)||a(t.rgbaColor,function(){return{type:"rgba",value:d(v)}})||a(t.rgbColor,function(){return{type:"rgb",value:d(v)}})||y("literal",t.literalColor,0);return e||n("Expected color definition"),e.length=p(),e}function v(){return m(t.number)[1]}function p(){return y("%",t.percentageValue,1)||y("position-keyword",t.positionKeywords,1)||g()}function g(){return y("px",t.pixelValue,1)||y("em",t.emValue,1)}function y(t,e,n){var i=m(e);if(i)return{type:t,value:i[n]}}function m(t){var n=/^[\n\r\t\s]+/.exec(e);n&&k(n[0].length);var i=t.exec(e);return i&&k(i[0].length),i}function k(t){e=e.substring(t)}return function(t){var r;return e=t,r=d(i),e.length>0&&n("Invalid input not EOF"),r}}();function e3(t,e,n,i){var r=i.value*tU,a=0+e/2,o=0+n/2,s=Math.abs(e*Math.cos(r))+Math.abs(n*Math.sin(r));return{x1:t[0]+a-Math.cos(r)*s/2,y1:t[1]+o-Math.sin(r)*s/2,x2:t[0]+a+Math.cos(r)*s/2,y2:t[1]+o+Math.sin(r)*s/2}}function e4(t,e,n,i,r,a){var o=i.value,s=r.value;i.unit===eA.kPercentage&&(o=i.value/100*e),r.unit===eA.kPercentage&&(s=r.value/100*n);var l=Math.max((0,V.y)([0,0],[o,s]),(0,V.y)([0,n],[o,s]),(0,V.y)([e,n],[o,s]),(0,V.y)([e,0],[o,s]));return a&&(a instanceof eW?l=a.value:a instanceof eX&&("closest-side"===a.value?l=Math.min(o,e-o,s,n-s):"farthest-side"===a.value?l=Math.max(o,e-o,s,n-s):"closest-corner"===a.value&&(l=Math.min((0,V.y)([0,0],[o,s]),(0,V.y)([0,n],[o,s]),(0,V.y)([e,n],[o,s]),(0,V.y)([e,0],[o,s]))))),{x:o+t[0],y:s+t[1],r:l}}var e6=/^l\s*\(\s*([\d.]+)\s*\)\s*(.*)/i,e8=/^r\s*\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*\)\s*(.*)/i,e7=/^p\s*\(\s*([axyn])\s*\)\s*(.*)/i,e9=/[\d.]+:(#[^\s]+|[^\)]+\))/gi,nt={left:180,top:-90,bottom:90,right:0,"left top":225,"top left":225,"left bottom":135,"bottom left":135,"right top":-45,"top right":-45,"right bottom":45,"bottom right":45},ne=eC(function(t){return e2("angular"===t.type?Number(t.value):nt[t.value]||0,"deg")}),nn=eC(function(t){var e=50,n=50,i="%",r="%";if((null==t?void 0:t.type)==="position"){var a=t.value,o=a.x,s=a.y;(null==o?void 0:o.type)==="position-keyword"&&("left"===o.value?e=0:"center"===o.value?e=50:"right"===o.value?e=100:"top"===o.value?n=0:"bottom"===o.value&&(n=100)),(null==s?void 0:s.type)==="position-keyword"&&("left"===s.value?e=0:"center"===s.value?n=50:"right"===s.value?e=100:"top"===s.value?n=0:"bottom"===s.value&&(n=100)),((null==o?void 0:o.type)==="px"||(null==o?void 0:o.type)==="%"||(null==o?void 0:o.type)==="em")&&(i=null==o?void 0:o.type,e=Number(o.value)),((null==s?void 0:s.type)==="px"||(null==s?void 0:s.type)==="%"||(null==s?void 0:s.type)==="em")&&(r=null==s?void 0:s.type,n=Number(s.value))}return{cx:e2(e,i),cy:e2(n,r)}}),ni=eC(function(t){if(t.indexOf("linear")>-1||t.indexOf("radial")>-1)return e5(t).map(function(t){var e=t.type,n=t.orientation,i=t.colorStops;!function(t){var e=t.length;t[e-1].length=null!==(a=t[e-1].length)&&void 0!==a?a:{type:"%",value:"100"},e>1&&(t[0].length=null!==(o=t[0].length)&&void 0!==o?o:{type:"%",value:"0"});for(var n=0,i=Number(t[0].length.value),r=1;r=0)return e2(Number(e),"px");if("deg".search(t)>=0)return e2(Number(e),"deg")}var n=[];e=e.replace(t,function(t){return n.push(t),"U".concat(t)});var i="U(".concat(t.source,")");return n.map(function(t){return e2(Number(e.replace(RegExp("U".concat(t),"g"),"").replace(RegExp(i,"g"),"*0")),t)})[0]}var nu=function(t){return nl(/px/g,t)},nc=eC(nu);eC(function(t){return nl(RegExp("%","g"),t)});var nh=function(t){return(0,Y.Z)(t)||isFinite(Number(t))?e2(Number(t)||0,"px"):nl(RegExp("px|%|em|rem","g"),t)},nd=eC(nh),nf=function(t){return nl(RegExp("deg|rad|grad|turn","g"),t)},nv=eC(nf);function np(t){var e=0;return t.unit===eA.kDegrees?e=t.value:t.unit===eA.kRadians?e=Number(t.value)*tV:t.unit===eA.kTurns?e=360*Number(t.value):t.value&&(e=t.value),e}function ng(t,e){var n;return(Array.isArray(t)?n=t.map(function(t){return Number(t)}):(0,H.Z)(t)?n=t.split(" ").map(function(t){return Number(t)}):(0,Y.Z)(t)&&(n=[t]),2===e)?1===n.length?[n[0],n[0]]:[n[0],n[1]]:4===e?1===n.length?[n[0],n[0],n[0],n[0]]:2===n.length?[n[0],n[1],n[0],n[1]]:3===n.length?[n[0],n[1],n[2],n[1]]:[n[0],n[1],n[2],n[3]]:"even"===e&&n.length%2==1?[].concat((0,R.Z)(n),(0,R.Z)(n)):n}function ny(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(t.unit===eA.kPixels)return Number(t.value);if(t.unit===eA.kPercentage&&n){var r=n.nodeName===tE.GROUP?n.getLocalBounds():n.getGeometryBounds();return(i?r.min[e]:0)+t.value/100*r.halfExtents[e]*2}return 0}var nm=["blur","brightness","drop-shadow","contrast","grayscale","sepia","saturate","hue-rotate","invert"];function nk(t){return t.toString()}var nE=function(t){return"number"==typeof t?e2(t):/^\s*[-+]?(\d*\.)?\d+\s*$/.test(t)?e2(Number(t)):e2(0)},nx=eC(nE);function nT(t,e){return[t,e,nk]}function nb(t,e){return function(n,i){return[n,i,function(n){return nk((0,z.Z)(n,t,e))}]}}function nN(t,e){if(t.length===e.length)return[t,e,function(t){return t}]}function nw(t){return 0===t.parsedStyle.d.totalLength&&(t.parsedStyle.d.totalLength=(0,W.D)(t.parsedStyle.d.absolutePath)),t.parsedStyle.d.totalLength}function nS(t,e){return t[0]===e[0]&&t[1]===e[1]}function nP(t,e){var n=t.prePoint,i=t.currentPoint,r=t.nextPoint,a=Math.pow(i[0]-n[0],2)+Math.pow(i[1]-n[1],2),o=Math.pow(i[0]-r[0],2)+Math.pow(i[1]-r[1],2),s=Math.acos((a+o-(Math.pow(n[0]-r[0],2)+Math.pow(n[1]-r[1],2)))/(2*Math.sqrt(a)*Math.sqrt(o)));if(!s||0===Math.sin(s)||(0,$.Z)(s,0))return{xExtra:0,yExtra:0};var l=Math.abs(Math.atan2(r[1]-i[1],r[0]-i[0])),u=Math.abs(Math.atan2(r[0]-i[0],r[1]-i[1]));return{xExtra:Math.cos(s/2-(l=l>Math.PI/2?Math.PI-l:l))*(e/2*(1/Math.sin(s/2)))-e/2||0,yExtra:Math.cos((u=u>Math.PI/2?Math.PI-u:u)-s/2)*(e/2*(1/Math.sin(s/2)))-e/2||0}}function nM(t,e){return[e[0]+(e[0]-t[0]),e[1]+(e[1]-t[1])]}eC(function(t){return(0,H.Z)(t)?t.split(" ").map(nx):t.map(nx)});var nC=function(t,e){var n=t.x*e.x+t.y*e.y,i=Math.sqrt((Math.pow(t.x,2)+Math.pow(t.y,2))*(Math.pow(e.x,2)+Math.pow(e.y,2)));return(t.x*e.y-t.y*e.x<0?-1:1)*Math.acos(n/i)},nA=function(t,e,n,i,r,a,o,s){e=Math.abs(e),n=Math.abs(n);var l=(i=(0,K.Z)(i,360))*tU;if(t.x===o.x&&t.y===o.y)return{x:t.x,y:t.y,ellipticalArcAngle:0};if(0===e||0===n)return{x:0,y:0,ellipticalArcAngle:0};var u=(t.x-o.x)/2,c=(t.y-o.y)/2,h={x:Math.cos(l)*u+Math.sin(l)*c,y:-Math.sin(l)*u+Math.cos(l)*c},d=Math.pow(h.x,2)/Math.pow(e,2)+Math.pow(h.y,2)/Math.pow(n,2);d>1&&(e*=Math.sqrt(d),n*=Math.sqrt(d));var f=(Math.pow(e,2)*Math.pow(n,2)-Math.pow(e,2)*Math.pow(h.y,2)-Math.pow(n,2)*Math.pow(h.x,2))/(Math.pow(e,2)*Math.pow(h.y,2)+Math.pow(n,2)*Math.pow(h.x,2)),v=(r!==a?1:-1)*Math.sqrt(f=f<0?0:f),p={x:v*(e*h.y/n),y:v*(-(n*h.x)/e)},g={x:Math.cos(l)*p.x-Math.sin(l)*p.y+(t.x+o.x)/2,y:Math.sin(l)*p.x+Math.cos(l)*p.y+(t.y+o.y)/2},y={x:(h.x-p.x)/e,y:(h.y-p.y)/n},m=nC({x:1,y:0},y),k=nC(y,{x:(-h.x-p.x)/e,y:(-h.y-p.y)/n});!a&&k>0?k-=2*Math.PI:a&&k<0&&(k+=2*Math.PI);var E=m+(k%=2*Math.PI)*s,x=e*Math.cos(E),T=n*Math.sin(E);return{x:Math.cos(l)*x-Math.sin(l)*T+g.x,y:Math.sin(l)*x+Math.cos(l)*T+g.y,ellipticalArcStartAngle:m,ellipticalArcEndAngle:m+k,ellipticalArcAngle:E,ellipticalArcCenter:g,resultantRx:e,resultantRy:n}};function nR(t,e){var n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],i=t.arcParams,r=i.rx,a=void 0===r?0:r,o=i.ry,s=void 0===o?0:o,l=i.xRotation,u=i.arcFlag,c=i.sweepFlag,h=nA({x:t.prePoint[0],y:t.prePoint[1]},a,s,l,!!u,!!c,{x:t.currentPoint[0],y:t.currentPoint[1]},e),d=nA({x:t.prePoint[0],y:t.prePoint[1]},a,s,l,!!u,!!c,{x:t.currentPoint[0],y:t.currentPoint[1]},n?e+.005:e-.005),f=d.x-h.x,v=d.y-h.y,p=Math.sqrt(f*f+v*v);return{x:-f/p,y:-v/p}}function nZ(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function nO(t,e){return nZ(t)*nZ(e)?(t[0]*e[0]+t[1]*e[1])/(nZ(t)*nZ(e)):1}function nL(t,e){return(t[0]*e[1]1&&void 0!==arguments[1]?arguments[1]:t.getLocalTransform(),a=[];switch(t.nodeName){case tE.LINE:var o=t.parsedStyle,s=o.x1,l=o.y1,u=o.x2,c=o.y2;a=[["M",void 0===s?0:s,void 0===l?0:l],["L",void 0===u?0:u,void 0===c?0:c]];break;case tE.CIRCLE:var h=t.parsedStyle,d=h.r,f=void 0===d?0:d,v=h.cx,p=void 0===v?0:v,g=h.cy;a=nI(f,f,p,void 0===g?0:g);break;case tE.ELLIPSE:var y=t.parsedStyle,m=y.rx,k=void 0===m?0:m,E=y.ry,x=void 0===E?0:E,T=y.cx,b=void 0===T?0:T,N=y.cy;a=nI(k,x,b,void 0===N?0:N);break;case tE.POLYLINE:case tE.POLYGON:e=t.parsedStyle.points.points,n=t.nodeName===tE.POLYGON,i=e.map(function(t,e){return[0===e?"M":"L",t[0],t[1]]}),n&&i.push(["Z"]),a=i;break;case tE.RECT:var w=t.parsedStyle,S=w.width,P=void 0===S?0:S,M=w.height,C=void 0===M?0:M,A=w.x,Z=void 0===A?0:A,O=w.y,I=void 0===O?0:O,_=w.radius;a=function(t,e,n,i,r){if(r){var a=(0,L.Z)(r,4),o=a[0],s=a[1],l=a[2],u=a[3],c=t>0?1:-1,h=e>0?1:-1,d=c+h!==0?1:0;return[["M",c*o+n,i],["L",t-c*s+n,i],s?["A",s,s,0,0,d,t+n,h*s+i]:null,["L",t+n,e-h*l+i],l?["A",l,l,0,0,d,t+n-c*l,e+i]:null,["L",n+c*u,e+i],u?["A",u,u,0,0,d,n,e+i-h*u]:null,["L",n,h*o+i],o?["A",o,o,0,0,d,c*o+n,i]:null,["Z"]].filter(function(t){return t})}return[["M",n,i],["L",n+t,i],["L",n+t,i+e],["L",n,i+e],["Z"]]}(P,C,Z,I,_&&_.some(function(t){return 0!==t})&&_.map(function(t){return(0,z.Z)(t,0,Math.min(Math.abs(P)/2,Math.abs(C)/2))}));break;case tE.PATH:var G=t.parsedStyle.d.absolutePath;a=(0,R.Z)(G)}if(a.length)return a.reduce(function(t,e){var n="";if("M"===e[0]||"L"===e[0]){var i=D.al(e[1],e[2],0);r&&D.fF(i,i,r),n="".concat(e[0]).concat(i[0],",").concat(i[1])}else if("Z"===e[0])n=e[0];else if("C"===e[0]){var a=D.al(e[1],e[2],0),o=D.al(e[3],e[4],0),s=D.al(e[5],e[6],0);r&&(D.fF(a,a,r),D.fF(o,o,r),D.fF(s,s,r)),n="".concat(e[0]).concat(a[0],",").concat(a[1],",").concat(o[0],",").concat(o[1],",").concat(s[0],",").concat(s[1])}else if("A"===e[0]){var l=D.al(e[6],e[7],0);r&&D.fF(l,l,r),n="".concat(e[0]).concat(e[1],",").concat(e[2],",").concat(e[3],",").concat(e[4],",").concat(e[5],",").concat(l[0],",").concat(l[1])}else if("Q"===e[0]){var u=D.al(e[1],e[2],0),c=D.al(e[3],e[4],0);r&&(D.fF(u,u,r),D.fF(c,c,r)),n="".concat(e[0]).concat(e[1],",").concat(e[2],",").concat(e[3],",").concat(e[4],"}")}return t+n},"")}var n_=function(t){if(""===t||Array.isArray(t)&&0===t.length)return{absolutePath:[],hasArc:!1,segments:[],polygons:[],polylines:[],curve:null,totalLength:0,rect:{x:0,y:0,width:0,height:0}};try{e=(0,J.A)(t)}catch(n){e=(0,J.A)(""),console.error("[g]: Invalid SVG Path definition: ".concat(t))}!function(t){for(var e=0;e0&&n.push(i),{polygons:e,polylines:n}}(e),r=i.polygons,a=i.polylines,o=function(t){for(var e=[],n=null,i=null,r=null,a=0,o=t.length,s=0;s1&&(n*=Math.sqrt(f),i*=Math.sqrt(f));var v=n*n*(d*d)+i*i*(h*h),p=v?Math.sqrt((n*n*(i*i)-v)/v):1;a===o&&(p*=-1),isNaN(p)&&(p=0);var g=i?p*n*d/i:0,y=n?-(p*i)*h/n:0,m=(s+u)/2+Math.cos(r)*g-Math.sin(r)*y,k=(l+c)/2+Math.sin(r)*g+Math.cos(r)*y,E=[(h-g)/n,(d-y)/i],x=[(-1*h-g)/n,(-1*d-y)/i],T=nL([1,0],E),b=nL(E,x);return -1>=nO(E,x)&&(b=Math.PI),nO(E,x)>=1&&(b=0),0===o&&b>0&&(b-=2*Math.PI),1===o&&b<0&&(b+=2*Math.PI),{cx:m,cy:k,rx:nS(t,[u,c])?0:n,ry:nS(t,[u,c])?0:i,startAngle:T,endAngle:T+b,xRotation:r,arcFlag:a,sweepFlag:o}}(n,l);c.arcParams=h}if("Z"===u)n=r,i=t[a+1];else{var d=l.length;n=[l[d-2],l[d-1]]}i&&"Z"===i[0]&&(i=t[a],e[a]&&(e[a].prePoint=n)),c.currentPoint=n,e[a]&&nS(n,e[a].currentPoint)&&(e[a].prePoint=c.prePoint);var f=i?[i[i.length-2],i[i.length-1]]:null;c.nextPoint=f;var v=c.prePoint;if(["L","H","V"].includes(u))c.startTangent=[v[0]-n[0],v[1]-n[1]],c.endTangent=[n[0]-v[0],n[1]-v[1]];else if("Q"===u){var p=[l[1],l[2]];c.startTangent=[v[0]-p[0],v[1]-p[1]],c.endTangent=[n[0]-p[0],n[1]-p[1]]}else if("T"===u){var g=e[s-1],y=nM(g.currentPoint,v);"Q"===g.command?(c.command="Q",c.startTangent=[v[0]-y[0],v[1]-y[1]],c.endTangent=[n[0]-y[0],n[1]-y[1]]):(c.command="TL",c.startTangent=[v[0]-n[0],v[1]-n[1]],c.endTangent=[n[0]-v[0],n[1]-v[1]])}else if("C"===u){var m=[l[1],l[2]],k=[l[3],l[4]];c.startTangent=[v[0]-m[0],v[1]-m[1]],c.endTangent=[n[0]-k[0],n[1]-k[1]],0===c.startTangent[0]&&0===c.startTangent[1]&&(c.startTangent=[m[0]-k[0],m[1]-k[1]]),0===c.endTangent[0]&&0===c.endTangent[1]&&(c.endTangent=[k[0]-m[0],k[1]-m[1]])}else if("S"===u){var E=e[s-1],x=nM(E.currentPoint,v),T=[l[1],l[2]];"C"===E.command?(c.command="C",c.startTangent=[v[0]-x[0],v[1]-x[1]],c.endTangent=[n[0]-T[0],n[1]-T[1]]):(c.command="SQ",c.startTangent=[v[0]-T[0],v[1]-T[1]],c.endTangent=[n[0]-T[0],n[1]-T[1]])}else if("A"===u){var b=nR(c,0),N=b.x,w=b.y,S=nR(c,1,!1),P=S.x,M=S.y;c.startTangent=[N,w],c.endTangent=[P,M]}e.push(c)}return e}(e),s=function(t,e){for(var n=[],i=[],r=[],a=0;aMath.abs(G.determinant(tj))))){var o=tW[3],s=tW[7],l=tW[11],u=tW[12],c=tW[13],h=tW[14],d=tW[15];if(0!==o||0!==s||0!==l){if(tq[0]=o,tq[1]=s,tq[2]=l,tq[3]=d,!G.invert(tj,tj))return;G.transpose(tj,tj),_.fF(r,tq,tj)}else r[0]=r[1]=r[2]=0,r[3]=1;if(e[0]=u,e[1]=c,e[2]=h,t$[0][0]=tW[0],t$[0][1]=tW[1],t$[0][2]=tW[2],t$[1][0]=tW[4],t$[1][1]=tW[5],t$[1][2]=tW[6],t$[2][0]=tW[8],t$[2][1]=tW[9],t$[2][2]=tW[10],n[0]=D.kE(t$[0]),D.Fv(t$[0],t$[0]),i[0]=D.AK(t$[0],t$[1]),tJ(t$[1],t$[1],t$[0],1,-i[0]),n[1]=D.kE(t$[1]),D.Fv(t$[1],t$[1]),i[0]/=n[1],i[1]=D.AK(t$[0],t$[2]),tJ(t$[2],t$[2],t$[0],1,-i[1]),i[2]=D.AK(t$[1],t$[2]),tJ(t$[2],t$[2],t$[1],1,-i[2]),n[2]=D.kE(t$[2]),D.Fv(t$[2],t$[2]),i[1]/=n[2],i[2]/=n[2],D.kC(tK,t$[1],t$[2]),0>D.AK(t$[0],tK))for(var f=0;f<3;f++)n[f]*=-1,t$[f][0]*=-1,t$[f][1]*=-1,t$[f][2]*=-1;a[0]=.5*Math.sqrt(Math.max(1+t$[0][0]-t$[1][1]-t$[2][2],0)),a[1]=.5*Math.sqrt(Math.max(1-t$[0][0]+t$[1][1]-t$[2][2],0)),a[2]=.5*Math.sqrt(Math.max(1-t$[0][0]-t$[1][1]+t$[2][2],0)),a[3]=.5*Math.sqrt(Math.max(1+t$[0][0]+t$[1][1]+t$[2][2],0)),t$[2][1]>t$[1][2]&&(a[0]=-a[0]),t$[0][2]>t$[2][0]&&(a[1]=-a[1]),t$[1][0]>t$[0][1]&&(a[2]=-a[2])}}(0===t.length?[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]:t.map(nq).reduce(n$),e,n,i,r,a),[[e,n,i,a,r]]}var nJ=function(){function t(t,e){for(var n=[[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]],i=0;i<4;i++)for(var r=0;r<4;r++)for(var a=0;a<4;a++)n[i][r]+=e[i][a]*t[a][r];return n}return function(e,n,i,r,a){for(var o,s=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]],l=0;l<4;l++)s[l][3]=a[l];for(var u=0;u<3;u++)for(var c=0;c<3;c++)s[3][u]+=e[c]*s[c][u];var h=r[0],d=r[1],f=r[2],v=r[3],p=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];p[0][0]=1-2*(d*d+f*f),p[0][1]=2*(h*d-f*v),p[0][2]=2*(h*f+d*v),p[1][0]=2*(h*d+f*v),p[1][1]=1-2*(h*h+f*f),p[1][2]=2*(d*f-h*v),p[2][0]=2*(h*f-d*v),p[2][1]=2*(d*f+h*v),p[2][2]=1-2*(h*h+d*d),s=t(s,p);var g=[[1,0,0,0],[0,1,0,0],[0,0,1,0],[0,0,0,1]];i[2]&&(g[2][1]=i[2],s=t(s,g)),i[1]&&(g[2][1]=0,g[2][0]=i[0],s=t(s,g)),i[0]&&(g[2][0]=0,g[1][0]=i[0],s=t(s,g));for(var y=0;y<3;y++)for(var m=0;m<3;m++)s[y][m]*=n[y];return 0===(o=s)[0][2]&&0===o[0][3]&&0===o[1][2]&&0===o[1][3]&&0===o[2][0]&&0===o[2][1]&&1===o[2][2]&&0===o[2][3]&&0===o[3][2]&&1===o[3][3]?[s[0][0],s[0][1],s[1][0],s[1][1],s[3][0],s[3][1]]:s[0].concat(s[1],s[2],s[3])}}();function nQ(t){return t.toFixed(6).replace(".000000","")}function n0(t,e){var n,i;return(t.decompositionPair!==e&&(t.decompositionPair=e,n=nK(t)),e.decompositionPair!==t&&(e.decompositionPair=t,i=nK(e)),null===n[0]||null===i[0])?[[!1],[!0],function(n){return n?e[0].d:t[0].d}]:(n[0].push(0),i[0].push(1),[n,i,function(t){var e=function(t,e,n){var i=function(t,e){for(var n=0,i=0;i4&&void 0!==arguments[4]?arguments[4]:0,a="",o=t.value||0,s=e.value||0,l=ez(t.unit),u=t.convertTo(l),c=e.convertTo(l);return u&&c?(o=u.value,s=c.value,a=eF(t.unit)):(eW.isLength(t.unit)||eW.isLength(e.unit))&&(o=ny(t,r,n),s=ny(e,r,n),a="px"),[o,s,function(t){return i&&(t=Math.max(t,0)),t+a}]}(d[T],f[T],n,!1,T);k[T]=b[0],E[T]=b[1],x.push(b[2])}a.push(k),o.push(E),s.push([g,x])}if(i){var N=a;a=o,o=N}return[a,o,function(t){return t.map(function(t,e){var n=t.map(function(t,n){return s[e][1][n](t)}).join(",");return"matrix"===s[e][0]&&16===n.split(",").length&&(s[e][0]="matrix3d"),"matrix3d"===s[e][0]&&6===n.split(",").length&&(s[e][0]="matrix"),"".concat(s[e][0],"(").concat(n,")")}).join(" ")}]}var n3=eC(function(t){if((0,H.Z)(t)){if("text-anchor"===t)return[e2(0,"px"),e2(0,"px")];var e=t.split(" ");return(1===e.length&&("top"===e[0]||"bottom"===e[0]?(e[1]=e[0],e[0]="center"):e[1]="center"),2!==e.length)?null:[nd(n4(e[0])),nd(n4(e[1]))]}return[e2(t[0]||0,"px"),e2(t[1]||0,"px")]});function n4(t){return"center"===t?"50%":"left"===t||"top"===t?"0%":"right"===t||"bottom"===t?"100%":t}var n6=[{n:"display",k:["none"]},{n:"opacity",int:!0,inh:!0,d:"1",syntax:t8.OPACITY_VALUE},{n:"fillOpacity",int:!0,inh:!0,d:"1",syntax:t8.OPACITY_VALUE},{n:"strokeOpacity",int:!0,inh:!0,d:"1",syntax:t8.OPACITY_VALUE},{n:"fill",int:!0,k:["none"],d:"none",syntax:t8.PAINT},{n:"fillRule",k:["nonzero","evenodd"],d:"nonzero"},{n:"stroke",int:!0,k:["none"],d:"none",syntax:t8.PAINT,l:!0},{n:"shadowType",k:["inner","outer","both"],d:"outer",l:!0},{n:"shadowColor",int:!0,syntax:t8.COLOR},{n:"shadowOffsetX",int:!0,l:!0,d:"0",syntax:t8.LENGTH_PERCENTAGE},{n:"shadowOffsetY",int:!0,l:!0,d:"0",syntax:t8.LENGTH_PERCENTAGE},{n:"shadowBlur",int:!0,l:!0,d:"0",syntax:t8.SHADOW_BLUR},{n:"lineWidth",int:!0,inh:!0,d:"1",l:!0,a:["strokeWidth"],syntax:t8.LENGTH_PERCENTAGE},{n:"increasedLineWidthForHitTesting",inh:!0,d:"0",l:!0,syntax:t8.LENGTH_PERCENTAGE},{n:"lineJoin",inh:!0,l:!0,a:["strokeLinejoin"],k:["miter","bevel","round"],d:"miter"},{n:"lineCap",inh:!0,l:!0,a:["strokeLinecap"],k:["butt","round","square"],d:"butt"},{n:"lineDash",int:!0,inh:!0,k:["none"],a:["strokeDasharray"],syntax:t8.LENGTH_PERCENTAGE_12},{n:"lineDashOffset",int:!0,inh:!0,d:"0",a:["strokeDashoffset"],syntax:t8.LENGTH_PERCENTAGE},{n:"offsetPath",syntax:t8.DEFINED_PATH},{n:"offsetDistance",int:!0,syntax:t8.OFFSET_DISTANCE},{n:"dx",int:!0,l:!0,d:"0",syntax:t8.LENGTH_PERCENTAGE},{n:"dy",int:!0,l:!0,d:"0",syntax:t8.LENGTH_PERCENTAGE},{n:"zIndex",ind:!0,int:!0,d:"0",k:["auto"],syntax:t8.Z_INDEX},{n:"visibility",k:["visible","hidden"],ind:!0,inh:!0,int:!0,d:"visible"},{n:"pointerEvents",inh:!0,k:["none","auto","stroke","fill","painted","visible","visiblestroke","visiblefill","visiblepainted","all"],d:"auto"},{n:"filter",ind:!0,l:!0,k:["none"],d:"none",syntax:t8.FILTER},{n:"clipPath",syntax:t8.DEFINED_PATH},{n:"textPath",syntax:t8.DEFINED_PATH},{n:"textPathSide",k:["left","right"],d:"left"},{n:"textPathStartOffset",l:!0,d:"0",syntax:t8.LENGTH_PERCENTAGE},{n:"transform",p:100,int:!0,k:["none"],d:"none",syntax:t8.TRANSFORM},{n:"transformOrigin",p:100,d:"0 0",l:!0,syntax:t8.TRANSFORM_ORIGIN},{n:"cx",int:!0,l:!0,d:"0",syntax:t8.COORDINATE},{n:"cy",int:!0,l:!0,d:"0",syntax:t8.COORDINATE},{n:"cz",int:!0,l:!0,d:"0",syntax:t8.COORDINATE},{n:"r",int:!0,l:!0,d:"0",syntax:t8.LENGTH_PERCENTAGE},{n:"rx",int:!0,l:!0,d:"0",syntax:t8.LENGTH_PERCENTAGE},{n:"ry",int:!0,l:!0,d:"0",syntax:t8.LENGTH_PERCENTAGE},{n:"x",int:!0,l:!0,d:"0",syntax:t8.COORDINATE},{n:"y",int:!0,l:!0,d:"0",syntax:t8.COORDINATE},{n:"z",int:!0,l:!0,d:"0",syntax:t8.COORDINATE},{n:"width",int:!0,l:!0,k:["auto","fit-content","min-content","max-content"],d:"0",syntax:t8.LENGTH_PERCENTAGE},{n:"height",int:!0,l:!0,k:["auto","fit-content","min-content","max-content"],d:"0",syntax:t8.LENGTH_PERCENTAGE},{n:"radius",int:!0,l:!0,d:"0",syntax:t8.LENGTH_PERCENTAGE_14},{n:"x1",int:!0,l:!0,syntax:t8.COORDINATE},{n:"y1",int:!0,l:!0,syntax:t8.COORDINATE},{n:"z1",int:!0,l:!0,syntax:t8.COORDINATE},{n:"x2",int:!0,l:!0,syntax:t8.COORDINATE},{n:"y2",int:!0,l:!0,syntax:t8.COORDINATE},{n:"z2",int:!0,l:!0,syntax:t8.COORDINATE},{n:"d",int:!0,l:!0,d:"",syntax:t8.PATH,p:50},{n:"points",int:!0,l:!0,syntax:t8.LIST_OF_POINTS,p:50},{n:"text",l:!0,d:"",syntax:t8.TEXT,p:50},{n:"textTransform",l:!0,inh:!0,k:["capitalize","uppercase","lowercase","none"],d:"none",syntax:t8.TEXT_TRANSFORM,p:51},{n:"font",l:!0},{n:"fontSize",int:!0,inh:!0,d:"16px",l:!0,syntax:t8.LENGTH_PERCENTAGE},{n:"fontFamily",l:!0,inh:!0,d:"sans-serif"},{n:"fontStyle",l:!0,inh:!0,k:["normal","italic","oblique"],d:"normal"},{n:"fontWeight",l:!0,inh:!0,k:["normal","bold","bolder","lighter"],d:"normal"},{n:"fontVariant",l:!0,inh:!0,k:["normal","small-caps"],d:"normal"},{n:"lineHeight",l:!0,syntax:t8.LENGTH,int:!0,d:"0"},{n:"letterSpacing",l:!0,syntax:t8.LENGTH,int:!0,d:"0"},{n:"miterLimit",l:!0,syntax:t8.NUMBER,d:function(t){return t===tE.PATH||t===tE.POLYGON||t===tE.POLYLINE?"4":"10"}},{n:"wordWrap",l:!0},{n:"wordWrapWidth",l:!0},{n:"maxLines",l:!0},{n:"textOverflow",l:!0,d:"clip"},{n:"leading",l:!0},{n:"textBaseline",l:!0,inh:!0,k:["top","hanging","middle","alphabetic","ideographic","bottom"],d:"alphabetic"},{n:"textAlign",l:!0,inh:!0,k:["start","center","middle","end","left","right"],d:"start"},{n:"markerStart",syntax:t8.MARKER},{n:"markerEnd",syntax:t8.MARKER},{n:"markerMid",syntax:t8.MARKER},{n:"markerStartOffset",syntax:t8.LENGTH,l:!0,int:!0,d:"0"},{n:"markerEndOffset",syntax:t8.LENGTH,l:!0,int:!0,d:"0"}],n8=new Set(n6.filter(function(t){return!!t.l}).map(function(t){return t.n})),n7={},n9=(0,A.Z)(function t(e){var n=this;(0,C.Z)(this,t),this.runtime=e,n6.forEach(function(t){n.registerMetadata(t)})},[{key:"registerMetadata",value:function(t){[t.n].concat((0,R.Z)(t.a||[])).forEach(function(e){n7[e]=t})}},{key:"getPropertySyntax",value:function(t){return this.runtime.CSSPropertySyntaxFactory[t]}},{key:"processProperties",value:function(t,e){var n,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{skipUpdateAttribute:!1,skipParse:!1,forceUpdateGeometry:!1,usedAttributes:[],memoize:!0};Object.assign(t.attributes,e);var r=t.parsedStyle.clipPath,a=t.parsedStyle.offsetPath;!function(t,e){var n=it(t);for(var i in e)n.has(i)&&(t.parsedStyle[i]=e[i])}(t,e);var o=!!i.forceUpdateGeometry;if(!o){for(var s in e)if(n8.has(s)){o=!0;break}}var l=it(t);l.has("fill")&&e.fill&&(t.parsedStyle.fill=no(e.fill)),l.has("stroke")&&e.stroke&&(t.parsedStyle.stroke=no(e.stroke)),l.has("shadowColor")&&e.shadowColor&&(t.parsedStyle.shadowColor=no(e.shadowColor)),l.has("filter")&&e.filter&&(t.parsedStyle.filter=function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if("none"===(e=e.toLowerCase().trim()))return[];for(var n=/\s*([\w-]+)\(([^)]*)\)/g,i=[],r=0;(t=n.exec(e))&&t.index===r;)if(r=t.index+t[0].length,nm.indexOf(t[1])>-1&&i.push({name:t[1],params:t[2].split(" ").map(function(t){return nl(/deg|rad|grad|turn|px|%/g,t)||no(t)})}),n.lastIndex===e.length)return i;return[]}(e.filter)),l.has("radius")&&!(0,X.Z)(e.radius)&&(t.parsedStyle.radius=ng(e.radius,4)),l.has("lineDash")&&!(0,X.Z)(e.lineDash)&&(t.parsedStyle.lineDash=ng(e.lineDash,"even")),l.has("points")&&e.points&&(t.parsedStyle.points=(n=e.points,{points:(0,H.Z)(n)?n.split(" ").map(function(t){var e=t.split(","),n=(0,L.Z)(e,2),i=n[0],r=n[1];return[Number(i),Number(r)]}):n,totalLength:0,segments:[]})),l.has("d")&&""===e.d&&(t.parsedStyle.d=(0,M.Z)({},t6)),l.has("d")&&e.d&&(t.parsedStyle.d=nF(e.d)),l.has("textTransform")&&e.textTransform&&this.runtime.CSSPropertySyntaxFactory[t8.TEXT_TRANSFORM].calculator(null,null,{value:e.textTransform},t,null),l.has("clipPath")&&!(0,ta.Z)(e.clipPath)&&this.runtime.CSSPropertySyntaxFactory[t8.DEFINED_PATH].calculator("clipPath",r,e.clipPath,t,this.runtime),l.has("offsetPath")&&e.offsetPath&&this.runtime.CSSPropertySyntaxFactory[t8.DEFINED_PATH].calculator("offsetPath",a,e.offsetPath,t,this.runtime),l.has("transform")&&e.transform&&(t.parsedStyle.transform=nW(e.transform)),l.has("transformOrigin")&&e.transformOrigin&&(t.parsedStyle.transformOrigin=n3(e.transformOrigin)),l.has("markerStart")&&e.markerStart&&(t.parsedStyle.markerStart=this.runtime.CSSPropertySyntaxFactory[t8.MARKER].calculator(null,e.markerStart,e.markerStart,null,null)),l.has("markerEnd")&&e.markerEnd&&(t.parsedStyle.markerEnd=this.runtime.CSSPropertySyntaxFactory[t8.MARKER].calculator(null,e.markerEnd,e.markerEnd,null,null)),l.has("markerMid")&&e.markerMid&&(t.parsedStyle.markerMid=this.runtime.CSSPropertySyntaxFactory[t8.MARKER].calculator("",e.markerMid,e.markerMid,null,null)),l.has("zIndex")&&!(0,X.Z)(e.zIndex)&&this.runtime.CSSPropertySyntaxFactory[t8.Z_INDEX].postProcessor(t),l.has("offsetDistance")&&!(0,X.Z)(e.offsetDistance)&&this.runtime.CSSPropertySyntaxFactory[t8.OFFSET_DISTANCE].postProcessor(t),l.has("transform")&&e.transform&&this.runtime.CSSPropertySyntaxFactory[t8.TRANSFORM].postProcessor(t),l.has("transformOrigin")&&e.transformOrigin&&this.runtime.CSSPropertySyntaxFactory[t8.TRANSFORM_ORIGIN].postProcessor(t),o&&(t.geometry.dirty=!0,t.renderable.boundsDirty=!0,t.renderable.renderBoundsDirty=!0,i.forceUpdateGeometry||this.runtime.sceneGraphService.dirtifyToRoot(t))}},{key:"updateGeometry",value:function(t){var e=t.nodeName,n=this.runtime.geometryUpdaterFactory[e];if(n){var i=t.geometry;i.contentBounds||(i.contentBounds=new tA),i.renderBounds||(i.renderBounds=new tA);var r=t.parsedStyle,a=n.update(r,t),o=a.cx,s=a.cy,l=a.cz,u=a.hwidth,c=void 0===u?0:u,h=a.hheight,d=void 0===h?0:h,f=a.hdepth,v=[Math.abs(c),Math.abs(d),void 0===f?0:f],p=r.stroke,g=r.lineWidth,y=r.increasedLineWidthForHitTesting,m=r.shadowType,k=void 0===m?"outer":m,E=r.shadowColor,x=r.filter,T=r.transformOrigin,b=[void 0===o?0:o,void 0===s?0:s,void 0===l?0:l];i.contentBounds.update(b,v);var N=e===tE.POLYLINE||e===tE.POLYGON||e===tE.PATH?Math.SQRT2:.5;if(p&&!p.isNone){var w=(((void 0===g?1:g)||0)+((void 0===y?0:y)||0))*N;v[0]+=w,v[1]+=w}if(i.renderBounds.update(b,v),E&&k&&"inner"!==k){var S=i.renderBounds,P=S.min,M=S.max,C=r.shadowBlur,A=r.shadowOffsetX,R=r.shadowOffsetY,Z=C||0,O=A||0,L=R||0,I=P[0]-Z+O,_=M[0]+Z+O,G=P[1]-Z+L,F=M[1]+Z+L;P[0]=Math.min(P[0],I),M[0]=Math.max(M[0],_),P[1]=Math.min(P[1],G),M[1]=Math.max(M[1],F),i.renderBounds.setMinMax(P,M)}(void 0===x?[]:x).forEach(function(t){var e=t.name,n=t.params;if("blur"===e){var r=n[0].value;i.renderBounds.update(i.renderBounds.center,D.IH(i.renderBounds.halfExtents,i.renderBounds.halfExtents,[r,r,0]))}else if("drop-shadow"===e){var a=n[0].value,o=n[1].value,s=n[2].value,l=i.renderBounds,u=l.min,c=l.max,h=u[0]-s+a,d=c[0]+s+a,f=u[1]-s+o,v=c[1]+s+o;u[0]=Math.min(u[0],h),c[0]=Math.max(c[0],d),u[1]=Math.min(u[1],f),c[1]=Math.max(c[1],v),i.renderBounds.setMinMax(u,c)}}),t.geometry.dirty=!1;var B=d<0,U=(c<0?-1:1)*(T?ny(T[0],0,t,!0):0),Y=(B?-1:1)*(T?ny(T[1],1,t,!0):0);(U||Y)&&t.setOrigin(U,Y)}}},{key:"updateSizeAttenuation",value:function(t,e){t.style.isSizeAttenuation?(t.style.rawLineWidth||(t.style.rawLineWidth=t.style.lineWidth),t.style.lineWidth=(t.style.rawLineWidth||1)/e,t.nodeName===tE.CIRCLE&&(t.style.rawR||(t.style.rawR=t.style.r),t.style.r=(t.style.rawR||1)/e)):(t.style.rawLineWidth&&(t.style.lineWidth=t.style.rawLineWidth,delete t.style.rawLineWidth),t.nodeName===tE.CIRCLE&&t.style.rawR&&(t.style.r=t.style.rawR,delete t.style.rawR))}}]);function it(t){return t.constructor.PARSED_STYLE_LIST}var ie=(0,A.Z)(function t(){(0,C.Z)(this,t),this.mixer=nT},[{key:"calculator",value:function(t,e,n,i){return np(n)}}]),ii=(0,A.Z)(function t(){(0,C.Z)(this,t)},[{key:"calculator",value:function(t,e,n,i,r){return n instanceof eX&&(n=null),r.sceneGraphService.updateDisplayObjectDependency(t,e,n,i),"clipPath"===t&&i.forEach(function(t){0===t.childNodes.length&&r.sceneGraphService.dirtifyToRoot(t)}),n}}]),ir=(0,A.Z)(function t(){(0,C.Z)(this,t),this.parser=no,this.mixer=ns},[{key:"calculator",value:function(t,e,n,i){return n instanceof eX?"none"===n.value?eQ:e0:n}}]),ia=(0,A.Z)(function t(){(0,C.Z)(this,t)},[{key:"calculator",value:function(t,e,n){return n instanceof eX?[]:n}}]);function io(t){var e=t.parsedStyle.fontSize;return(0,X.Z)(e)?null:e}var is=(0,A.Z)(function t(){(0,C.Z)(this,t),this.mixer=nT},[{key:"calculator",value:function(t,e,n,i,r){if((0,Y.Z)(n))return n;if(!eW.isRelativeUnit(n.unit))return n.value;if(n.unit===eA.kPercentage)return 0;if(n.unit===eA.kEms){if(i.parentNode){var a,o=io(i.parentNode);if(o)return o*n.value}return 0}if(n.unit===eA.kRems){if(null!=i&&null!==(a=i.ownerDocument)&&void 0!==a&&a.documentElement){var s=io(i.ownerDocument.documentElement);if(s)return s*n.value}return 0}}}]),il=(0,A.Z)(function t(){(0,C.Z)(this,t),this.mixer=nN},[{key:"calculator",value:function(t,e,n){return n.map(function(t){return t.value})}}]),iu=(0,A.Z)(function t(){(0,C.Z)(this,t),this.mixer=nN},[{key:"calculator",value:function(t,e,n){return n.map(function(t){return t.value})}}]),ic=(0,A.Z)(function t(){(0,C.Z)(this,t)},[{key:"calculator",value:function(t,e,n,i){n instanceof eX&&(n=null);var r,a=null===(r=n)||void 0===r?void 0:r.cloneNode(!0);return a&&(a.style.isMarker=!0),a}}]),ih=(0,A.Z)(function t(){(0,C.Z)(this,t),this.mixer=nT},[{key:"calculator",value:function(t,e,n){return n.value}}]),id=(0,A.Z)(function t(){(0,C.Z)(this,t),this.mixer=nb(0,1)},[{key:"calculator",value:function(t,e,n){return n.value}},{key:"postProcessor",value:function(t){var e=t.parsedStyle,n=e.offsetPath,i=e.offsetDistance;if(n){var r=n.nodeName;if(r===tE.LINE||r===tE.PATH||r===tE.POLYLINE){var a=n.getPoint(i);a&&t.setLocalPosition(a.x,a.y)}}}}]),iv=(0,A.Z)(function t(){(0,C.Z)(this,t),this.mixer=nb(0,1)},[{key:"calculator",value:function(t,e,n){return n.value}}]),ip=(0,A.Z)(function t(){(0,C.Z)(this,t),this.parser=nF,this.mixer=nB},[{key:"calculator",value:function(t,e,n){return n instanceof eX&&"unset"===n.value?{absolutePath:[],hasArc:!1,segments:[],polygons:[],polylines:[],curve:null,totalLength:0,rect:new tI(0,0,0,0)}:n}}]),ig=(0,A.Z)(function t(){(0,C.Z)(this,t),this.mixer=nU}),iy=function(t){function e(){var t;(0,C.Z)(this,e);for(var n=arguments.length,i=Array(n),r=0;r0&&void 0!==arguments[0]?arguments[0]:"auto",e=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,i=!1,r=!1,a=!!e&&!e.isNone,o=!!n&&!n.isNone;return"visiblepainted"===t||"painted"===t||"auto"===t?(i=a,r=o):"visiblefill"===t||"fill"===t?i=!0:"visiblestroke"===t||"stroke"===t?r=!0:("visible"===t||"all"===t)&&(i=!0,r=!0),[i,r]}var iA=1,iR="object"==typeof self&&self.self===self?self:"object"==typeof n.g&&n.g.global===n.g?n.g:{},iZ=Date.now(),iO={},iL=Date.now(),iI=function(t){if("function"!=typeof t)throw TypeError("".concat(t," is not a function"));var e=Date.now(),n=e-iL,i=iA++;return iO[i]=t,Object.keys(iO).length>1||setTimeout(function(){iL=e;var t=iO;iO={},Object.keys(t).forEach(function(e){return t[e](iR.performance&&"function"==typeof iR.performance.now?iR.performance.now():Date.now()-iZ)})},n>16?0:16-n),i},iD=function(t){return"string"!=typeof t?iI:""===t?iR.requestAnimationFrame:iR["".concat(t,"RequestAnimationFrame")]},i_=function(t,e){for(var n=0;void 0!==t[n];){if(e(t[n]))return t[n];n+=1}}(["","webkit","moz","ms","o"],function(t){return!!iD(t)}),iG=iD(i_),iF="string"!=typeof i_?function(t){delete iO[t]}:""===i_?iR.cancelAnimationFrame:iR["".concat(i_,"CancelAnimationFrame")]||iR["".concat(i_,"CancelRequestAnimationFrame")];iR.requestAnimationFrame=iG,iR.cancelAnimationFrame=iF;var iB=(0,A.Z)(function t(){(0,C.Z)(this,t),this.callbacks=[]},[{key:"getCallbacksNum",value:function(){return this.callbacks.length}},{key:"tapPromise",value:function(t,e){this.callbacks.push(e)}},{key:"promise",value:function(){for(var t=arguments.length,e=Array(t),n=0;n1&&void 0!==arguments[1]&&arguments[1],i=rs.get(this);if(!i&&(i=this.document?this:this.defaultView?this.defaultView:null===(e=this.ownerDocument)||void 0===e?void 0:e.defaultView)&&rs.set(this,i),i){if(t.manager=i.getEventService(),!t.manager)return!1;t.defaultPrevented=!1,t.path?t.path.length=0:t.page=[],n||(t.target=this),t.manager.dispatchEvent(t,t.type,n)}else this.emitter.emit(t.type,t);return!t.defaultPrevented}}]),ru=function(t){function e(){var t;(0,C.Z)(this,e);for(var n=arguments.length,i=Array(n),r=0;r0&&void 0!==arguments[0]?arguments[0]:{};return this.parentNode?this.parentNode.getRootNode(t):t.composed&&this.host?this.host.getRootNode(t):this}},{key:"hasChildNodes",value:function(){return this.childNodes.length>0}},{key:"isDefaultNamespace",value:function(t){throw Error(tD)}},{key:"lookupNamespaceURI",value:function(t){throw Error(tD)}},{key:"lookupPrefix",value:function(t){throw Error(tD)}},{key:"normalize",value:function(){throw Error(tD)}},{key:"isEqualNode",value:function(t){return this===t}},{key:"isSameNode",value:function(t){return this.isEqualNode(t)}},{key:"parent",get:function(){return this.parentNode}},{key:"parentElement",get:function(){return null}},{key:"nextSibling",get:function(){return null}},{key:"previousSibling",get:function(){return null}},{key:"firstChild",get:function(){return this.childNodes.length>0?this.childNodes[0]:null}},{key:"lastChild",get:function(){return this.childNodes.length>0?this.childNodes[this.childNodes.length-1]:null}},{key:"compareDocumentPosition",value:function(t){if(t===this)return 0;for(var n,i=t,r=this,a=[i],o=[r];null!==(n=i.parentNode)&&void 0!==n?n:r.parentNode;)i=i.parentNode?(a.push(i.parentNode),i.parentNode):i,r=r.parentNode?(o.push(r.parentNode),r.parentNode):r;if(i!==r)return e.DOCUMENT_POSITION_DISCONNECTED|e.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC|e.DOCUMENT_POSITION_PRECEDING;var s=a.length>o.length?a:o,l=s===a?o:a;if(s[s.length-l.length]===l[0])return s===a?e.DOCUMENT_POSITION_CONTAINED_BY|e.DOCUMENT_POSITION_FOLLOWING:e.DOCUMENT_POSITION_CONTAINS|e.DOCUMENT_POSITION_PRECEDING;for(var u=s.length-l.length,c=l.length-1;c>=0;c--){var h=l[c],d=s[u+c];if(d!==h){var f=h.parentNode.childNodes;if(f.indexOf(h)0&&e;)e=e.parentNode,t--;return e}},{key:"forEach",value:function(t){for(var e=[this];e.length>0;){var n=e.pop();if(!1===t(n))break;for(var i=n.childNodes.length-1;i>=0;i--)e.push(n.childNodes[i])}}}],[{key:"isNode",value:function(t){return!!t.childNodes}}])}(rl);ru.DOCUMENT_POSITION_DISCONNECTED=1,ru.DOCUMENT_POSITION_PRECEDING=2,ru.DOCUMENT_POSITION_FOLLOWING=4,ru.DOCUMENT_POSITION_CONTAINS=8,ru.DOCUMENT_POSITION_CONTAINED_BY=16,ru.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC=32;var rc=(0,A.Z)(function t(e,n){var i=this;(0,C.Z)(this,t),this.nativeHTMLMap=new WeakMap,this.cursor="default",this.mappingTable={},this.mappingState={trackingData:{}},this.eventPool=new Map,this.tmpMatrix=G.create(),this.tmpVec3=D.Ue(),this.onPointerDown=function(t){var e=i.createPointerEvent(t);if(i.dispatchEvent(e,"pointerdown"),"touch"===e.pointerType)i.dispatchEvent(e,"touchstart");else if("mouse"===e.pointerType||"pen"===e.pointerType){var n=2===e.button;i.dispatchEvent(e,n?"rightdown":"mousedown")}i.trackingData(t.pointerId).pressTargetsByButton[t.button]=e.composedPath(),i.freeEvent(e)},this.onPointerUp=function(t){var e=iP.now(),n=i.createPointerEvent(t,void 0,void 0,i.context.config.alwaysTriggerPointerEventOnCanvas?i.rootTarget:void 0);if(i.dispatchEvent(n,"pointerup"),"touch"===n.pointerType)i.dispatchEvent(n,"touchend");else if("mouse"===n.pointerType||"pen"===n.pointerType){var r=2===n.button;i.dispatchEvent(n,r?"rightup":"mouseup")}var a=i.trackingData(t.pointerId),o=i.findMountedTarget(a.pressTargetsByButton[t.button]),s=o;if(o&&!n.composedPath().includes(o)){for(var l=o;l&&!n.composedPath().includes(l);){if(n.currentTarget=l,i.notifyTarget(n,"pointerupoutside"),"touch"===n.pointerType)i.notifyTarget(n,"touchendoutside");else if("mouse"===n.pointerType||"pen"===n.pointerType){var u=2===n.button;i.notifyTarget(n,u?"rightupoutside":"mouseupoutside")}ru.isNode(l)&&(l=l.parentNode)}delete a.pressTargetsByButton[t.button],s=l}if(s){var c,h=i.clonePointerEvent(n,"click");h.target=s,h.path=[],a.clicksByButton[t.button]||(a.clicksByButton[t.button]={clickCount:0,target:h.target,timeStamp:e});var d=i.context.renderingContext.root.ownerDocument.defaultView,f=a.clicksByButton[t.button];f.target===h.target&&e-f.timeStamp=1;i--)if(t.currentTarget=n[i],this.notifyTarget(t,e),t.propagationStopped||t.propagationImmediatelyStopped)return;if(t.eventPhase=t.AT_TARGET,t.currentTarget=t.target,this.notifyTarget(t,e),!t.propagationStopped&&!t.propagationImmediatelyStopped){var r=n.indexOf(t.currentTarget);t.eventPhase=t.BUBBLING_PHASE;for(var a=r+1;ar||n>a?null:!o&&this.pickHandler(t)||this.rootTarget||null}},{key:"isNativeEventFromCanvas",value:function(t,e){var n,i=null==e?void 0:e.target;if(null!==(n=i)&&void 0!==n&&n.shadowRoot&&(i=e.composedPath()[0]),i){if(i===t)return!0;if(t&&t.contains)return t.contains(i)}return null!=e&&!!e.composedPath&&e.composedPath().indexOf(t)>-1}},{key:"getExistedHTML",value:function(t){if(t.nativeEvent.composedPath)for(var e=0,n=t.nativeEvent.composedPath();e=0;n--){var i=t[n];if(i===this.rootTarget||ru.isNode(i)&&i.parentNode===e)e=t[n];else break}return e}},{key:"getCursor",value:function(t){for(var e=t;e;){var n=!!e.getAttribute&&e.getAttribute("cursor");if(n)return n;e=ru.isNode(e)&&e.parentNode}}}]),rh=(0,A.Z)(function t(){(0,C.Z)(this,t)},[{key:"getOrCreateCanvas",value:function(t,e){if(this.canvas)return this.canvas;if(t||rX.offscreenCanvas)this.canvas=t||rX.offscreenCanvas,this.context=this.canvas.getContext("2d",(0,M.Z)({willReadFrequently:!0},e));else try{this.canvas=new window.OffscreenCanvas(0,0),this.context=this.canvas.getContext("2d",(0,M.Z)({willReadFrequently:!0},e)),this.context&&this.context.measureText||(this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d"))}catch(t){this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d",(0,M.Z)({willReadFrequently:!0},e))}return this.canvas.width=10,this.canvas.height=10,this.canvas}},{key:"getOrCreateContext",value:function(t,e){return this.context||this.getOrCreateCanvas(t,e),this.context}}],[{key:"createCanvas",value:function(){try{return new window.OffscreenCanvas(0,0)}catch(t){}try{return document.createElement("canvas")}catch(t){}return null}}]),rd=((k={})[k.CAMERA_CHANGED=0]="CAMERA_CHANGED",k[k.DISPLAY_OBJECT_CHANGED=1]="DISPLAY_OBJECT_CHANGED",k[k.NONE=2]="NONE",k),rf=(0,A.Z)(function t(e,n){(0,C.Z)(this,t),this.inited=!1,this.stats={total:0,rendered:0},this.zIndexCounter=0,this.hooks={init:new iY,initAsync:new iB,dirtycheck:new iV,cull:new iV,beginFrame:new iY,beforeRender:new iY,render:new iY,afterRender:new iY,endFrame:new iY,destroy:new iY,pick:new iU,pickSync:new iV,pointerDown:new iY,pointerUp:new iY,pointerMove:new iY,pointerOut:new iY,pointerOver:new iY,pointerWheel:new iY,pointerCancel:new iY,click:new iY},this.globalRuntime=e,this.context=n},[{key:"init",value:function(t){var e=this,n=(0,M.Z)((0,M.Z)({},this.globalRuntime),this.context);this.context.renderingPlugins.forEach(function(t){t.apply(n,e.globalRuntime)}),this.hooks.init.call(),0===this.hooks.initAsync.getCallbacksNum()?(this.inited=!0,t()):this.hooks.initAsync.promise().then(function(){e.inited=!0,t()}).catch(function(t){})}},{key:"getStats",value:function(){return this.stats}},{key:"disableDirtyRectangleRendering",value:function(){return!this.context.config.renderer.getConfig().enableDirtyRectangleRendering||this.context.renderingContext.renderReasons.has(rd.CAMERA_CHANGED)}},{key:"render",value:function(t,e,n){var i=this;this.stats.total=0,this.stats.rendered=0,this.zIndexCounter=0;var r=this.context.renderingContext;if(this.globalRuntime.sceneGraphService.syncHierarchy(r.root),this.globalRuntime.sceneGraphService.triggerPendingEvents(),r.renderReasons.size&&this.inited){r.dirtyRectangleRenderingDisabled=this.disableDirtyRectangleRendering();var a=1===r.renderReasons.size&&r.renderReasons.has(rd.CAMERA_CHANGED),o=!t.disableRenderHooks||!(t.disableRenderHooks&&a);o&&this.renderDisplayObject(r.root,t,r),this.hooks.beginFrame.call(e),o&&r.renderListCurrentFrame.forEach(function(t){i.hooks.beforeRender.call(t),i.hooks.render.call(t),i.hooks.afterRender.call(t)}),this.hooks.endFrame.call(e),r.renderListCurrentFrame=[],r.renderReasons.clear(),n()}}},{key:"renderDisplayObject",value:function(t,e,n){for(var i=this,r=e.renderer.getConfig(),a=r.enableDirtyCheck,o=r.enableCulling,s=[t];s.length>0;){var l=s.pop();!function(t){var e=t.renderable,r=t.sortable,s=a?e.dirty||n.dirtyRectangleRenderingDisabled?t:null:t;if(s){var l=o?i.hooks.cull.call(s,i.context.camera):s;l&&(i.stats.rendered+=1,n.renderListCurrentFrame.push(l))}e.dirty=!1,r.renderOrder=i.zIndexCounter,i.zIndexCounter+=1,i.stats.total+=1,r.dirty&&(i.sort(t,r),r.dirty=!1,r.dirtyChildren=[],r.dirtyReason=void 0)}(l);for(var u=l.sortable.sorted||l.childNodes,c=u.length-1;c>=0;c--)s.push(u[c])}}},{key:"sort",value:function(t,e){e.sorted&&e.dirtyReason!==t4.Z_INDEX_CHANGED?e.dirtyChildren.forEach(function(n){if(-1===t.childNodes.indexOf(n)){var i=e.sorted.indexOf(n);i>=0&&e.sorted.splice(i,1)}else if(0===e.sorted.length)e.sorted.push(n);else{var r=function(t,e){for(var n=0,i=t.length;n>>1;0>iT(t[r],e)?n=r+1:i=r}return n}(e.sorted,n);e.sorted.splice(r,0,n)}}):e.sorted=t.childNodes.slice().sort(iT)}},{key:"destroy",value:function(){this.inited=!1,this.hooks.destroy.call(),this.globalRuntime.sceneGraphService.clearPendingEvents()}},{key:"dirtify",value:function(){this.context.renderingContext.renderReasons.add(rd.DISPLAY_OBJECT_CHANGED)}}]),rv=/\[\s*(.*)=(.*)\s*\]/,rp=(0,A.Z)(function t(){(0,C.Z)(this,t)},[{key:"selectOne",value:function(t,e){var n=this;if(t.startsWith("."))return e.find(function(e){return((null==e?void 0:e.classList)||[]).indexOf(n.getIdOrClassname(t))>-1});if(t.startsWith("#"))return e.find(function(e){return e.id===n.getIdOrClassname(t)});if(t.startsWith("[")){var i=this.getAttribute(t),r=i.name,a=i.value;return r?e.find(function(t){return e!==t&&("name"===r?t.name===a:n.attributeToString(t,r)===a)}):null}return e.find(function(n){return e!==n&&n.nodeName===t})}},{key:"selectAll",value:function(t,e){var n=this;if(t.startsWith("."))return e.findAll(function(i){return e!==i&&((null==i?void 0:i.classList)||[]).indexOf(n.getIdOrClassname(t))>-1});if(t.startsWith("#"))return e.findAll(function(i){return e!==i&&i.id===n.getIdOrClassname(t)});if(t.startsWith("[")){var i=this.getAttribute(t),r=i.name,a=i.value;return r?e.findAll(function(t){return e!==t&&("name"===r?t.name===a:n.attributeToString(t,r)===a)}):[]}return e.findAll(function(n){return e!==n&&n.nodeName===t})}},{key:"is",value:function(t,e){if(t.startsWith("."))return e.className===this.getIdOrClassname(t);if(t.startsWith("#"))return e.id===this.getIdOrClassname(t);if(t.startsWith("[")){var n=this.getAttribute(t),i=n.name,r=n.value;return"name"===i?e.name===r:this.attributeToString(e,i)===r}return e.nodeName===t}},{key:"getIdOrClassname",value:function(t){return t.substring(1)}},{key:"getAttribute",value:function(t){var e=t.match(rv),n="",i="";return e&&e.length>2&&(n=e[1].replace(/"/g,""),i=e[2].replace(/"/g,"")),{name:n,value:i}}},{key:"attributeToString",value:function(t,e){if(!t.getAttribute)return"";var n=t.getAttribute(e);return(0,X.Z)(n)?"":n.toString?n.toString():""}}]),rg=((E={}).ATTR_MODIFIED="DOMAttrModified",E.INSERTED="DOMNodeInserted",E.MOUNTED="DOMNodeInsertedIntoDocument",E.REMOVED="removed",E.UNMOUNTED="DOMNodeRemovedFromDocument",E.REPARENT="reparent",E.DESTROY="destroy",E.BOUNDS_CHANGED="bounds-changed",E.CULLED="culled",E),ry=function(t){function e(t,n,i,r,a,o,s,l){var u;return(0,C.Z)(this,e),(u=(0,Z.Z)(this,e,[null])).relatedNode=n,u.prevValue=i,u.newValue=r,u.attrName=a,u.attrChange=o,u.prevParsedValue=s,u.newParsedValue=l,u.type=t,u}return(0,O.Z)(e,t),(0,A.Z)(e)}(rn);function rm(t){var e=t.renderable;e&&(e.renderBoundsDirty=!0,e.boundsDirty=!0)}ry.ADDITION=2,ry.MODIFICATION=1,ry.REMOVAL=3;var rk=new ry(rg.REPARENT,null,"","","",0,"",""),rE=U.Ue(),rx=D.Ue(),rT=D.al(1,1,1),rb=G.create(),rN=U.Ue(),rw=D.Ue(),rS=G.create(),rP=B.Ue(),rM=D.Ue(),rC=B.Ue(),rA=D.Ue(),rR=D.Ue(),rZ=D.Ue(),rO=G.create(),rL=B.Ue(),rI=B.Ue(),rD=B.Ue(),r_={affectChildren:!0},rG=(0,A.Z)(function t(e){(0,C.Z)(this,t),this.pendingEvents=new Map,this.boundsChangedEvent=new ro(rg.BOUNDS_CHANGED),this.displayObjectDependencyMap=new WeakMap,this.runtime=e},[{key:"matches",value:function(t,e){return this.runtime.sceneGraphSelector.is(t,e)}},{key:"querySelector",value:function(t,e){return this.runtime.sceneGraphSelector.selectOne(t,e)}},{key:"querySelectorAll",value:function(t,e){return this.runtime.sceneGraphSelector.selectAll(t,e)}},{key:"attach",value:function(t,e,n){var i,r=!1;t.parentNode&&(r=t.parentNode!==e,this.detach(t));var a=t.nodeName===tE.FRAGMENT,o=iM(e);t.parentNode=e;var s=a?t.childNodes:[t];(0,Y.Z)(n)?s.forEach(function(t){e.childNodes.splice(n,0,t),t.parentNode=e}):s.forEach(function(t){e.childNodes.push(t),t.parentNode=e});var l=e.sortable;if((null!=l&&null!==(i=l.sorted)&&void 0!==i&&i.length||t.parsedStyle.zIndex)&&(-1===l.dirtyChildren.indexOf(t)&&l.dirtyChildren.push(t),l.dirty=!0,l.dirtyReason=t4.ADDED),!o){if(a)this.dirtifyFragment(t);else{var u=t.transformable;u&&this.dirtifyWorld(t,u)}r&&t.dispatchEvent(rk)}}},{key:"detach",value:function(t){if(t.parentNode){var e,n,i=t.transformable,r=t.parentNode.sortable;(null!=r&&null!==(e=r.sorted)&&void 0!==e&&e.length||null!==(n=t.style)&&void 0!==n&&n.zIndex)&&(-1===r.dirtyChildren.indexOf(t)&&r.dirtyChildren.push(t),r.dirty=!0,r.dirtyReason=t4.REMOVED);var a=t.parentNode.childNodes.indexOf(t);a>-1&&t.parentNode.childNodes.splice(a,1),i&&this.dirtifyWorld(t,i),t.parentNode=null}}},{key:"getOrigin",value:function(t){return t.getGeometryBounds(),t.transformable.origin}},{key:"setOrigin",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;"number"==typeof e&&(e=[e,n,i]);var r=t.transformable;if(e[0]!==r.origin[0]||e[1]!==r.origin[1]||e[2]!==r.origin[2]){var a=r.origin;a[0]=e[0],a[1]=e[1],a[2]=e[2]||0,this.dirtifyLocal(t,r)}}},{key:"rotate",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;"number"==typeof e&&(e=D.al(e,n,i));var r=t.transformable;if(null!==t.parentNode&&t.parentNode.transformable){B.Su(rP,e[0],e[1],e[2]);var a=this.getRotation(t),o=this.getRotation(t.parentNode);B.JG(rD,o),B.U_(rD,rD),B.Jp(rP,rD,rP),B.Jp(r.localRotation,rP,a),B.Fv(r.localRotation,r.localRotation),this.dirtifyLocal(t,r)}else this.rotateLocal(t,e)}},{key:"rotateLocal",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;"number"==typeof e&&(e=D.al(e,n,i));var r=t.transformable;B.Su(rI,e[0],e[1],e[2]),B.dC(r.localRotation,r.localRotation,rI),this.dirtifyLocal(t,r)}},{key:"setEulerAngles",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;"number"==typeof e&&(e=D.al(e,n,i));var r=t.transformable;if(null!==t.parentNode&&t.parentNode.transformable){B.Su(r.localRotation,e[0],e[1],e[2]);var a=this.getRotation(t.parentNode);B.JG(rL,B.U_(rP,a)),B.dC(r.localRotation,r.localRotation,rL),this.dirtifyLocal(t,r)}else this.setLocalEulerAngles(t,e)}},{key:"setLocalEulerAngles",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,r=!(arguments.length>4)||void 0===arguments[4]||arguments[4];"number"==typeof e&&(e=D.al(e,n,i));var a=t.transformable;B.Su(a.localRotation,e[0],e[1],e[2]),r&&this.dirtifyLocal(t,a)}},{key:"translateLocal",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;"number"==typeof e&&(e=D.al(e,n,i));var r=t.transformable;D.fS(e,rx)||(D.VC(e,e,r.localRotation),D.IH(r.localPosition,r.localPosition,e),this.dirtifyLocal(t,r))}},{key:"setPosition",value:function(t,e){var n,i=t.transformable;if(rZ[0]=e[0],rZ[1]=e[1],rZ[2]=null!==(n=e[2])&&void 0!==n?n:0,!D.fS(this.getPosition(t),rZ)){if(D.JG(i.position,rZ),null!==t.parentNode&&t.parentNode.transformable){var r=t.parentNode.transformable;G.copy(rO,r.worldTransform),G.invert(rO,rO),D.fF(i.localPosition,rZ,rO)}else D.JG(i.localPosition,rZ);this.dirtifyLocal(t,i)}}},{key:"setLocalPosition",value:function(t,e){var n,i=!(arguments.length>2)||void 0===arguments[2]||arguments[2],r=t.transformable;rR[0]=e[0],rR[1]=e[1],rR[2]=null!==(n=e[2])&&void 0!==n?n:0,!D.fS(r.localPosition,rR)&&(D.JG(r.localPosition,rR),i&&this.dirtifyLocal(t,r))}},{key:"scaleLocal",value:function(t,e){var n,i=t.transformable;D.Jp(i.localScale,i.localScale,D.t8(rw,e[0],e[1],null!==(n=e[2])&&void 0!==n?n:1)),this.dirtifyLocal(t,i)}},{key:"setLocalScale",value:function(t,e){var n,i=!(arguments.length>2)||void 0===arguments[2]||arguments[2],r=t.transformable;D.t8(rw,e[0],e[1],null!==(n=e[2])&&void 0!==n?n:r.localScale[2]),!D.fS(rw,r.localScale)&&(D.JG(r.localScale,rw),i&&this.dirtifyLocal(t,r))}},{key:"translate",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;"number"==typeof e&&(e=D.t8(rw,e,n,i)),D.fS(e,rx)||(D.IH(rw,this.getPosition(t),e),this.setPosition(t,rw))}},{key:"setRotation",value:function(t,e,n,i,r){var a=t.transformable;if("number"==typeof e&&(e=B.al(e,n,i,r)),null!==t.parentNode&&t.parentNode.transformable){var o=this.getRotation(t.parentNode);B.JG(rP,o),B.U_(rP,rP),B.Jp(a.localRotation,rP,e),B.Fv(a.localRotation,a.localRotation),this.dirtifyLocal(t,a)}else this.setLocalRotation(t,e)}},{key:"setLocalRotation",value:function(t,e,n,i,r){var a=!(arguments.length>5)||void 0===arguments[5]||arguments[5];"number"==typeof e&&(e=B.t8(rP,e,n,i,r));var o=t.transformable;B.JG(o.localRotation,e),a&&this.dirtifyLocal(t,o)}},{key:"setLocalSkew",value:function(t,e,n){var i=!(arguments.length>3)||void 0===arguments[3]||arguments[3];"number"==typeof e&&(e=U.t8(rN,e,n));var r=t.transformable;U.JG(r.localSkew,e),i&&this.dirtifyLocal(t,r)}},{key:"dirtifyLocal",value:function(t,e){iM(t)||e.localDirtyFlag||(e.localDirtyFlag=!0,e.dirtyFlag||this.dirtifyWorld(t,e))}},{key:"dirtifyWorld",value:function(t,e){e.dirtyFlag||this.unfreezeParentToRoot(t),this.dirtifyWorldInternal(t,e),this.dirtifyToRoot(t,!0)}},{key:"dirtifyFragment",value:function(t){var e=t.transformable;e&&(e.frozen=!1,e.dirtyFlag=!0,e.localDirtyFlag=!0);var n=t.renderable;n&&(n.renderBoundsDirty=!0,n.boundsDirty=!0,n.dirty=!0);for(var i=t.childNodes.length,r=0;r1&&void 0!==arguments[1]&&arguments[1],n=t;for(n.renderable&&(n.renderable.dirty=!0);n;)rm(n),n=n.parentNode;e&&t.forEach(function(t){rm(t)}),this.informDependentDisplayObjects(t),this.pendingEvents.set(t,e)}},{key:"updateDisplayObjectDependency",value:function(t,e,n,i){if(e&&e!==n){var r=this.displayObjectDependencyMap.get(e);if(r&&r[t]){var a=r[t].indexOf(i);r[t].splice(a,1)}}if(n){var o=this.displayObjectDependencyMap.get(n);o||(this.displayObjectDependencyMap.set(n,{}),o=this.displayObjectDependencyMap.get(n)),o[t]||(o[t]=[]),o[t].push(i)}}},{key:"informDependentDisplayObjects",value:function(t){var e=this,n=this.displayObjectDependencyMap.get(t);n&&Object.keys(n).forEach(function(t){n[t].forEach(function(n){e.dirtifyToRoot(n,!0),n.dispatchEvent(new ry(rg.ATTR_MODIFIED,n,e,e,t,ry.MODIFICATION,e,e)),n.isCustomElement&&n.isConnected&&n.attributeChangedCallback&&n.attributeChangedCallback(t,e,e)})})}},{key:"getPosition",value:function(t){var e=t.transformable;return G.getTranslation(e.position,this.getWorldTransform(t,e))}},{key:"getRotation",value:function(t){var e=t.transformable;return G.getRotation(e.rotation,this.getWorldTransform(t,e))}},{key:"getScale",value:function(t){var e=t.transformable;return G.getScaling(e.scaling,this.getWorldTransform(t,e))}},{key:"getWorldTransform",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.transformable;return(e.localDirtyFlag||e.dirtyFlag)&&(t.parentNode&&t.parentNode.transformable&&this.getWorldTransform(t.parentNode),this.sync(t,e)),e.worldTransform}},{key:"getLocalPosition",value:function(t){return t.transformable.localPosition}},{key:"getLocalRotation",value:function(t){return t.transformable.localRotation}},{key:"getLocalScale",value:function(t){return t.transformable.localScale}},{key:"getLocalSkew",value:function(t){return t.transformable.localSkew}},{key:"calcLocalTransform",value:function(t){if(0!==t.localSkew[0]||0!==t.localSkew[1]){G.fromRotationTranslationScaleOrigin(t.localTransform,t.localRotation,t.localPosition,D.al(1,1,1),t.origin),(0!==t.localSkew[0]||0!==t.localSkew[1])&&(G.identity(rS),rS[4]=Math.tan(t.localSkew[0]),rS[1]=Math.tan(t.localSkew[1]),G.multiply(t.localTransform,t.localTransform,rS));var e=G.fromRotationTranslationScaleOrigin(rS,B.t8(rP,0,0,0,1),D.t8(rw,1,1,1),t.localScale,t.origin);G.multiply(t.localTransform,t.localTransform,e)}else{var n=t.localTransform,i=t.localPosition,r=t.localRotation,a=t.localScale,o=t.origin,s=0!==i[0]||0!==i[1]||0!==i[2],l=1!==r[3]||0!==r[0]||0!==r[1]||0!==r[2],u=1!==a[0]||1!==a[1]||1!==a[2],c=0!==o[0]||0!==o[1]||0!==o[2];l||u||c?G.fromRotationTranslationScaleOrigin(n,r,i,a,o):s?G.fromTranslation(n,i):G.identity(n)}}},{key:"getLocalTransform",value:function(t){var e=t.transformable;return e.localDirtyFlag&&(this.calcLocalTransform(e),e.localDirtyFlag=!1),e.localTransform}},{key:"setLocalTransform",value:function(t,e){var n=G.getTranslation(rM,e),i=G.getRotation(rC,e),r=G.getScaling(rA,e);this.setLocalScale(t,r,!1),this.setLocalPosition(t,n,!1),this.setLocalRotation(t,i,void 0,void 0,void 0,!1),this.dirtifyLocal(t,t.transformable)}},{key:"resetLocalTransform",value:function(t){this.setLocalScale(t,rT,!1),this.setLocalPosition(t,rx,!1),this.setLocalEulerAngles(t,rx,void 0,void 0,!1),this.setLocalSkew(t,rE,void 0,!1),this.dirtifyLocal(t,t.transformable)}},{key:"getTransformedGeometryBounds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0,i=this.getGeometryBounds(t,e);if(!tA.isEmpty(i)){var r=n||new tA;return r.setFromTransformedAABB(i,this.getWorldTransform(t)),r}return null}},{key:"getGeometryBounds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.geometry;return n.dirty&&rX.styleValueRegistry.updateGeometry(t),(e?n.renderBounds:n.contentBounds||null)||new tA}},{key:"getBounds",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=t.renderable;if(!i.boundsDirty&&!n&&i.bounds)return i.bounds;if(!i.renderBoundsDirty&&n&&i.renderBounds)return i.renderBounds;var r=n?i.renderBounds:i.bounds,a=this.getTransformedGeometryBounds(t,n,r);if(t.childNodes.forEach(function(t){var i=e.getBounds(t,n);i&&(a?a.add(i):(a=r||new tA).update(i.center,i.halfExtents))}),a||(a=new tA),n){var o=ib(t);if(o){var s=o.parsedStyle.clipPath.getBounds(n);a?s&&(a=s.intersection(a)):a.update(s.center,s.halfExtents)}}return n?(i.renderBounds=a,i.renderBoundsDirty=!1):(i.bounds=a,i.boundsDirty=!1),a}},{key:"getLocalBounds",value:function(t){if(t.parentNode){var e=rb;t.parentNode.transformable&&(e=G.invert(rS,this.getWorldTransform(t.parentNode)));var n=this.getBounds(t);if(!tA.isEmpty(n)){var i=new tA;return i.setFromTransformedAABB(n,e),i}}return this.getBounds(t)}},{key:"getBoundingClientRect",value:function(t){var e,n,i=this.getGeometryBounds(t);tA.isEmpty(i)||(n=new tA).setFromTransformedAABB(i,this.getWorldTransform(t));var r=null===(e=t.ownerDocument)||void 0===e||null===(e=e.defaultView)||void 0===e?void 0:e.getContextService().getBoundingClientRect();if(n){var a=n.getMin(),o=(0,L.Z)(a,2),s=o[0],l=o[1],u=n.getMax(),c=(0,L.Z)(u,2),h=c[0],d=c[1];return new tI(s+((null==r?void 0:r.left)||0),l+((null==r?void 0:r.top)||0),h-s,d-l)}return new tI((null==r?void 0:r.left)||0,(null==r?void 0:r.top)||0,0,0)}},{key:"dirtifyWorldInternal",value:function(t,e){var n=this;if(!e.dirtyFlag){e.dirtyFlag=!0,e.frozen=!1,t.childNodes.forEach(function(t){var e=t.transformable;e.dirtyFlag||n.dirtifyWorldInternal(t,e)});var i=t.renderable;i&&(i.renderBoundsDirty=!0,i.boundsDirty=!0,i.dirty=!0)}}},{key:"syncHierarchy",value:function(t){var e=t.transformable;if(!e.frozen){e.frozen=!0,(e.localDirtyFlag||e.dirtyFlag)&&this.sync(t,e);for(var n=t.childNodes,i=0;is;--d){for(var g=0;g=0;h--){var d=c[h].trim();!iH.test(d)&&0>iX.indexOf(d)&&(d='"'.concat(d,'"')),c[h]=d}return"".concat(void 0===r?"normal":r," ").concat(o," ").concat(l," ").concat(u," ").concat(c.join(","))}(e),k=this.measureFont(m,n);0===k.fontSize&&(k.fontSize=r,k.ascent=r);var E=this.runtime.offscreenCanvasCreator.getOrCreateContext(n);E.font=m,e.isOverflowing=!1;var x=(void 0!==a&&a?this.wordWrap(t,e,n):t).split(/(?:\r\n|\r|\n)/),T=Array(x.length),b=0;if(p){p.getTotalLength();for(var N=0;Ni&&e>n;)e-=1,t=t.slice(0,-1);return{lineTxt:t,txtLastCharIndex:e}}function b(t,e){if(!(x<=0)&&!(x>d)){if(!p[t]){p[t]=f;return}var n=T(p[t],e,m+1,d-x);p[t]=n.lineTxt+f}}for(var N=0;N=u){e.isOverflowing=!0,N0&&y+M>d){var C=T(p[g],N-1,m+1,d);if(C.txtLastCharIndex!==N-1){if(p[g]=C.lineTxt,C.txtLastCharIndex===v.length-1)break;w=v[N=C.txtLastCharIndex+1],S=v[N-1],P=v[N+1],M=E(w)}if(g+1>=u){e.isOverflowing=!0,b(g,N-1);break}if(m=N-1,y=0,p[g+=1]="",this.isBreakingSpace(w))continue;this.canBreakInLastChar(w)||(p=this.trimToBreakable(p),y=this.sumTextWidthByCache(p[g]||"",E)),this.shouldBreakByKinsokuShorui(w,P)&&(p=this.trimByKinsokuShorui(p),y+=E(S||""))}y+=M,p[g]=(p[g]||"")+w}return p.join("\n")}},{key:"isBreakingSpace",value:function(t){return"string"==typeof t&&rF.BreakingSpaces.indexOf(t.charCodeAt(0))>=0}},{key:"isNewline",value:function(t){return"string"==typeof t&&rF.Newlines.indexOf(t.charCodeAt(0))>=0}},{key:"trimToBreakable",value:function(t){var e=(0,R.Z)(t),n=e[e.length-2],i=this.findBreakableIndex(n);if(-1===i||!n)return e;var r=n.slice(i,i+1),a=this.isBreakingSpace(r),o=i+1,s=i+(a?0:1);return e[e.length-1]+=n.slice(o,n.length),e[e.length-2]=n.slice(0,s),e}},{key:"canBreakInLastChar",value:function(t){return!(t&&rB.test(t))}},{key:"sumTextWidthByCache",value:function(t,e){return t.split("").reduce(function(t,n){return t+e(n)},0)}},{key:"findBreakableIndex",value:function(t){for(var e=t.length-1;e>=0;e--)if(!rB.test(t[e]))return e;return -1}},{key:"getFromCache",value:function(t,e,n,i){var r=n[t];if("number"!=typeof r){var a=t.length*e;r=i.measureText(t).width+a,n[t]=r}return r}}]),rX={},rH=(T=new i7,b=new i8,x={},(0,th.Z)((0,th.Z)((0,th.Z)((0,th.Z)((0,th.Z)((0,th.Z)((0,th.Z)((0,th.Z)((0,th.Z)((0,th.Z)(x,tE.FRAGMENT,null),tE.CIRCLE,new i5),tE.ELLIPSE,new i3),tE.RECT,T),tE.IMAGE,T),tE.GROUP,new rt),tE.LINE,new i4),tE.TEXT,new i9(rX)),tE.POLYLINE,b),tE.POLYGON,b),(0,th.Z)((0,th.Z)((0,th.Z)(x,tE.PATH,new i6),tE.HTML,new re),tE.MESH,null)),rz=(w=new ir,S=new is,N={},(0,th.Z)((0,th.Z)((0,th.Z)((0,th.Z)((0,th.Z)((0,th.Z)((0,th.Z)((0,th.Z)((0,th.Z)((0,th.Z)(N,t8.PERCENTAGE,null),t8.NUMBER,new ih),t8.ANGLE,new ie),t8.DEFINED_PATH,new ii),t8.PAINT,w),t8.COLOR,w),t8.FILTER,new ia),t8.LENGTH,S),t8.LENGTH_PERCENTAGE,S),t8.LENGTH_PERCENTAGE_12,new il),(0,th.Z)((0,th.Z)((0,th.Z)((0,th.Z)((0,th.Z)((0,th.Z)((0,th.Z)((0,th.Z)((0,th.Z)((0,th.Z)(N,t8.LENGTH_PERCENTAGE_14,new iu),t8.COORDINATE,new is),t8.OFFSET_DISTANCE,new id),t8.OPACITY_VALUE,new iv),t8.PATH,new ip),t8.LIST_OF_POINTS,new ig),t8.SHADOW_BLUR,new iy),t8.TEXT,new im),t8.TEXT_TRANSFORM,new ik),t8.TRANSFORM,new i0),(0,th.Z)((0,th.Z)((0,th.Z)(N,t8.TRANSFORM_ORIGIN,new i1),t8.Z_INDEX,new i2),t8.MARKER,new ic));rX.CameraContribution=t5,rX.AnimationTimeline=null,rX.EasingFunction=null,rX.offscreenCanvasCreator=new rh,rX.sceneGraphSelector=new rp,rX.sceneGraphService=new rG(rX),rX.textService=new rV(rX),rX.geometryUpdaterFactory=rH,rX.CSSPropertySyntaxFactory=rz,rX.styleValueRegistry=new n9(rX),rX.layoutRegistry=null,rX.globalThis="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:{},rX.enableStyleSyntax=!0,rX.enableSizeAttenuation=!1;var rW=0,rj=new ry(rg.INSERTED,null,"","","",0,"",""),rq=new ry(rg.REMOVED,null,"","","",0,"",""),r$=new ro(rg.DESTROY),rK=function(t){function e(){var t;(0,C.Z)(this,e);for(var n=arguments.length,i=Array(n),r=0;r=0;t--){var e=this.childNodes[t];this.removeChild(e)}}},{key:"destroyChildren",value:function(){for(var t=this.childNodes.length-1;t>=0;t--){var e=this.childNodes[t];e.childNodes.length>0&&e.destroyChildren(),e.destroy()}}},{key:"matches",value:function(t){return rX.sceneGraphService.matches(t,this)}},{key:"getElementById",value:function(t){return rX.sceneGraphService.querySelector("#".concat(t),this)}},{key:"getElementsByName",value:function(t){return rX.sceneGraphService.querySelectorAll('[name="'.concat(t,'"]'),this)}},{key:"getElementsByClassName",value:function(t){return rX.sceneGraphService.querySelectorAll(".".concat(t),this)}},{key:"getElementsByTagName",value:function(t){return rX.sceneGraphService.querySelectorAll(t,this)}},{key:"querySelector",value:function(t){return rX.sceneGraphService.querySelector(t,this)}},{key:"querySelectorAll",value:function(t){return rX.sceneGraphService.querySelectorAll(t,this)}},{key:"closest",value:function(t){var e=this;do{if(rX.sceneGraphService.matches(t,e))return e;e=e.parentElement}while(null!==e);return null}},{key:"find",value:function(t){var e=this,n=null;return this.forEach(function(i){return!(i!==e&&t(i))||(n=i,!1)}),n}},{key:"findAll",value:function(t){var e=this,n=[];return this.forEach(function(i){i!==e&&t(i)&&n.push(i)}),n}},{key:"after",value:function(){var t=this;if(this.parentNode){for(var e=this.parentNode.childNodes.indexOf(this),n=arguments.length,i=Array(n),r=0;r0&&void 0!==arguments[0]?arguments[0]:{};rX.styleValueRegistry.processProperties(this,t,{forceUpdateGeometry:!0}),this.renderable.dirty=!0}},{key:"setAttribute",value:function(t,n){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=!(arguments.length>3)||void 0===arguments[3]||arguments[3];!(0,ta.Z)(n)&&(i||n!==this.attributes[t])&&(this.internalSetAttribute(t,n,{memoize:r}),(0,td.Z)(e,"setAttribute",this,3)([t,n]))}},{key:"internalSetAttribute",value:function(t,e){var n,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this.renderable,a=this.attributes[t],o=this.parsedStyle[t];rX.styleValueRegistry.processProperties(this,(0,th.Z)({},t,e),i),r.dirty=!0;var s=this.parsedStyle[t];this.isConnected&&(r0.relatedNode=this,r0.prevValue=a,r0.newValue=e,r0.attrName=t,r0.prevParsedValue=o,r0.newParsedValue=s,this.isMutationObserved?this.dispatchEvent(r0):(r0.target=this,this.ownerDocument.defaultView.dispatchEvent(r0,!0))),(this.isCustomElement&&this.isConnected||!this.isCustomElement)&&(null===(n=this.attributeChangedCallback)||void 0===n||n.call(this,t,a,e,o,s))}},{key:"getBBox",value:function(){var t=this.getBounds(),e=t.getMin(),n=(0,L.Z)(e,2),i=n[0],r=n[1],a=t.getMax(),o=(0,L.Z)(a,2),s=o[0],l=o[1];return new tI(i,r,s-i,l-r)}},{key:"setOrigin",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return rX.sceneGraphService.setOrigin(this,tB(t,e,n,!1)),this}},{key:"getOrigin",value:function(){return rX.sceneGraphService.getOrigin(this)}},{key:"setPosition",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return rX.sceneGraphService.setPosition(this,tB(t,e,n,!1)),this}},{key:"setLocalPosition",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return rX.sceneGraphService.setLocalPosition(this,tB(t,e,n,!1)),this}},{key:"translate",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return rX.sceneGraphService.translate(this,tB(t,e,n,!1)),this}},{key:"translateLocal",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return rX.sceneGraphService.translateLocal(this,tB(t,e,n,!1)),this}},{key:"getPosition",value:function(){return rX.sceneGraphService.getPosition(this)}},{key:"getLocalPosition",value:function(){return rX.sceneGraphService.getLocalPosition(this)}},{key:"scale",value:function(t,e,n){return this.scaleLocal(t,e,n)}},{key:"scaleLocal",value:function(t,e,n){return"number"==typeof t&&(e=e||t,n=n||t,t=tB(t,e,n,!1)),rX.sceneGraphService.scaleLocal(this,t),this}},{key:"setLocalScale",value:function(t,e,n){return"number"==typeof t&&(e=e||t,n=n||t,t=tB(t,e,n,!1)),rX.sceneGraphService.setLocalScale(this,t),this}},{key:"getLocalScale",value:function(){return rX.sceneGraphService.getLocalScale(this)}},{key:"getScale",value:function(){return rX.sceneGraphService.getScale(this)}},{key:"getEulerAngles",value:function(){var t=tH(r1,rX.sceneGraphService.getWorldTransform(this));return(0,L.Z)(t,3)[2]*tV}},{key:"getLocalEulerAngles",value:function(){var t=tH(r1,rX.sceneGraphService.getLocalRotation(this));return(0,L.Z)(t,3)[2]*tV}},{key:"setEulerAngles",value:function(t){return rX.sceneGraphService.setEulerAngles(this,0,0,t),this}},{key:"setLocalEulerAngles",value:function(t){return rX.sceneGraphService.setLocalEulerAngles(this,0,0,t),this}},{key:"rotateLocal",value:function(t,e,n){return(0,X.Z)(e)&&(0,X.Z)(n)?rX.sceneGraphService.rotateLocal(this,0,0,t):rX.sceneGraphService.rotateLocal(this,t,e,n),this}},{key:"rotate",value:function(t,e,n){return(0,X.Z)(e)&&(0,X.Z)(n)?rX.sceneGraphService.rotate(this,0,0,t):rX.sceneGraphService.rotate(this,t,e,n),this}},{key:"setRotation",value:function(t,e,n,i){return rX.sceneGraphService.setRotation(this,t,e,n,i),this}},{key:"setLocalRotation",value:function(t,e,n,i){return rX.sceneGraphService.setLocalRotation(this,t,e,n,i),this}},{key:"setLocalSkew",value:function(t,e){return rX.sceneGraphService.setLocalSkew(this,t,e),this}},{key:"getRotation",value:function(){return rX.sceneGraphService.getRotation(this)}},{key:"getLocalRotation",value:function(){return rX.sceneGraphService.getLocalRotation(this)}},{key:"getLocalSkew",value:function(){return rX.sceneGraphService.getLocalSkew(this)}},{key:"getLocalTransform",value:function(){return rX.sceneGraphService.getLocalTransform(this)}},{key:"getWorldTransform",value:function(){return rX.sceneGraphService.getWorldTransform(this)}},{key:"setLocalTransform",value:function(t){return rX.sceneGraphService.setLocalTransform(this,t),this}},{key:"resetLocalTransform",value:function(){rX.sceneGraphService.resetLocalTransform(this)}},{key:"getAnimations",value:function(){return this.activeAnimations}},{key:"animate",value:function(t,e){var n,i=null===(n=this.ownerDocument)||void 0===n?void 0:n.timeline;return i?i.play(this,t,e):null}},{key:"isVisible",value:function(){var t;return(null===(t=this.parsedStyle)||void 0===t?void 0:t.visibility)!=="hidden"}},{key:"interactive",get:function(){return this.isInteractive()},set:function(t){this.style.pointerEvents=t?"auto":"none"}},{key:"isInteractive",value:function(){var t;return(null===(t=this.parsedStyle)||void 0===t?void 0:t.pointerEvents)!=="none"}},{key:"isCulled",value:function(){return!!(this.cullable&&this.cullable.enable&&!this.cullable.visible)}},{key:"toFront",value:function(){return this.parentNode&&(this.style.zIndex=Math.max.apply(Math,(0,R.Z)(this.parentNode.children.map(function(t){return Number(t.style.zIndex)})))+1),this}},{key:"toBack",value:function(){return this.parentNode&&(this.style.zIndex=Math.min.apply(Math,(0,R.Z)(this.parentNode.children.map(function(t){return Number(t.style.zIndex)})))-1),this}},{key:"getConfig",value:function(){return this.config}},{key:"attr",value:function(){for(var t=this,e=arguments.length,n=Array(e),i=0;i1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return this.setPosition(t,e,n),this}},{key:"move",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return this.setPosition(t,e,n),this}},{key:"setZIndex",value:function(t){return this.style.zIndex=t,this}}])}(rK);r5.PARSED_STYLE_LIST=new Set(["class","className","clipPath","cursor","display","draggable","droppable","fill","fillOpacity","fillRule","filter","increasedLineWidthForHitTesting","lineCap","lineDash","lineDashOffset","lineJoin","lineWidth","miterLimit","hitArea","offsetDistance","offsetPath","offsetX","offsetY","opacity","pointerEvents","shadowColor","shadowType","shadowBlur","shadowOffsetX","shadowOffsetY","stroke","strokeOpacity","strokeWidth","strokeLinecap","strokeLineJoin","strokeDasharray","strokeDashoffset","transform","transformOrigin","textTransform","visibility","zIndex"]);var r3=function(t){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,C.Z)(this,e),(0,Z.Z)(this,e,[(0,M.Z)({type:tE.CIRCLE},t)])}return(0,O.Z)(e,t),(0,A.Z)(e)}(r5);r3.PARSED_STYLE_LIST=new Set([].concat((0,R.Z)(r5.PARSED_STYLE_LIST),["cx","cy","cz","r","isBillboard","isSizeAttenuation"]));var r4=["style"],r6=function(t){function e(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=n.style,r=(0,ty.Z)(n,r4);return(0,C.Z)(this,e),(t=(0,Z.Z)(this,e,[(0,M.Z)({style:i},r)])).isCustomElement=!0,t}return(0,O.Z)(e,t),(0,A.Z)(e)}(r5);r6.PARSED_STYLE_LIST=new Set(["class","className","clipPath","cursor","draggable","droppable","opacity","pointerEvents","transform","transformOrigin","zIndex","visibility"]);var r8=function(t){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,C.Z)(this,e),(0,Z.Z)(this,e,[(0,M.Z)({type:tE.ELLIPSE},t)])}return(0,O.Z)(e,t),(0,A.Z)(e)}(r5);r8.PARSED_STYLE_LIST=new Set([].concat((0,R.Z)(r5.PARSED_STYLE_LIST),["cx","cy","cz","rx","ry","isBillboard","isSizeAttenuation"])),function(t){function e(){return(0,C.Z)(this,e),(0,Z.Z)(this,e,[{type:tE.FRAGMENT}])}return(0,O.Z)(e,t),(0,A.Z)(e)}(r5).PARSED_STYLE_LIST=new Set(["class","className"]);var r7=function(t){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,C.Z)(this,e),(0,Z.Z)(this,e,[(0,M.Z)({type:tE.GROUP},t)])}return(0,O.Z)(e,t),(0,A.Z)(e)}(r5);r7.PARSED_STYLE_LIST=new Set(["class","className","clipPath","cursor","draggable","droppable","opacity","pointerEvents","transform","transformOrigin","zIndex","visibility"]);var r9=["style"],at=function(t){function e(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=n.style,r=(0,ty.Z)(n,r9);return(0,C.Z)(this,e),(t=(0,Z.Z)(this,e,[(0,M.Z)({type:tE.HTML,style:i},r)])).cullable.enable=!1,t}return(0,O.Z)(e,t),(0,A.Z)(e,[{key:"getDomElement",value:function(){return this.parsedStyle.$el}},{key:"getClientRects",value:function(){return[this.getBoundingClientRect()]}},{key:"getLocalBounds",value:function(){if(this.parentNode){var t=G.invert(G.create(),this.parentNode.getWorldTransform()),e=this.getBounds();if(!tA.isEmpty(e)){var n=new tA;return n.setFromTransformedAABB(e,t),n}}return this.getBounds()}}])}(r5);at.PARSED_STYLE_LIST=new Set([].concat((0,R.Z)(r5.PARSED_STYLE_LIST),["x","y","$el","innerHTML","width","height"]));var ae=function(t){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,C.Z)(this,e),(0,Z.Z)(this,e,[(0,M.Z)({type:tE.IMAGE},t)])}return(0,O.Z)(e,t),(0,A.Z)(e)}(r5);ae.PARSED_STYLE_LIST=new Set([].concat((0,R.Z)(r5.PARSED_STYLE_LIST),["x","y","z","src","width","height","isBillboard","billboardRotation","isSizeAttenuation","keepAspectRatio"]));var an=["style"],ai=function(t){function e(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=n.style,r=(0,ty.Z)(n,an);(0,C.Z)(this,e),(t=(0,Z.Z)(this,e,[(0,M.Z)({type:tE.LINE,style:(0,M.Z)({x1:0,y1:0,x2:0,y2:0,z1:0,z2:0},i)},r)])).markerStartAngle=0,t.markerEndAngle=0;var a=t.parsedStyle,o=a.markerStart,s=a.markerEnd;return o&&rJ(o)&&(t.markerStartAngle=o.getLocalEulerAngles(),t.appendChild(o)),s&&rJ(s)&&(t.markerEndAngle=s.getLocalEulerAngles(),t.appendChild(s)),t.transformMarker(!0),t.transformMarker(!1),t}return(0,O.Z)(e,t),(0,A.Z)(e,[{key:"attributeChangedCallback",value:function(t,e,n,i,r){"x1"===t||"y1"===t||"x2"===t||"y2"===t||"markerStartOffset"===t||"markerEndOffset"===t?(this.transformMarker(!0),this.transformMarker(!1)):"markerStart"===t?(i&&rJ(i)&&(this.markerStartAngle=0,i.remove()),r&&rJ(r)&&(this.markerStartAngle=r.getLocalEulerAngles(),this.appendChild(r),this.transformMarker(!0))):"markerEnd"===t&&(i&&rJ(i)&&(this.markerEndAngle=0,i.remove()),r&&rJ(r)&&(this.markerEndAngle=r.getLocalEulerAngles(),this.appendChild(r),this.transformMarker(!1)))}},{key:"transformMarker",value:function(t){var e,n,i,r,a,o,s=this.parsedStyle,l=s.markerStart,u=s.markerEnd,c=s.markerStartOffset,h=s.markerEndOffset,d=s.x1,f=s.x2,v=s.y1,p=s.y2,g=t?l:u;if(g&&rJ(g)){var y=0;t?(i=d,r=v,e=f-d,n=p-v,a=c||0,o=this.markerStartAngle):(i=f,r=p,e=d-f,n=v-p,a=h||0,o=this.markerEndAngle),y=Math.atan2(n,e),g.setLocalEulerAngles(180*y/Math.PI+o),g.setLocalPosition(i+Math.cos(y)*a,r+Math.sin(y)*a)}}},{key:"getPoint",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.parsedStyle,i=n.x1,r=n.y1,a=n.x2,o=n.y2,s=(0,tf.U4)(i,r,a,o,t),l=s.x,u=s.y,c=D.fF(D.Ue(),D.al(l,u,0),e?this.getWorldTransform():this.getLocalTransform());return new tL(c[0],c[1])}},{key:"getPointAtLength",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this.getPoint(t/this.getTotalLength(),e)}},{key:"getTotalLength",value:function(){var t=this.parsedStyle,e=t.x1,n=t.y1,i=t.x2,r=t.y2;return(0,tf.Xk)(e,n,i,r)}}])}(r5);ai.PARSED_STYLE_LIST=new Set([].concat((0,R.Z)(r5.PARSED_STYLE_LIST),["x1","y1","x2","y2","z1","z2","isBillboard","isSizeAttenuation","markerStart","markerEnd","markerStartOffset","markerEndOffset"]));var ar=["style"],aa=function(t){function e(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=n.style,r=(0,ty.Z)(n,ar);(0,C.Z)(this,e),(t=(0,Z.Z)(this,e,[(0,M.Z)({type:tE.PATH,style:i,initialParsedStyle:{miterLimit:4,d:(0,M.Z)({},t6)}},r)])).markerStartAngle=0,t.markerEndAngle=0,t.markerMidList=[];var a=t.parsedStyle,o=a.markerStart,s=a.markerEnd,l=a.markerMid;return o&&rJ(o)&&(t.markerStartAngle=o.getLocalEulerAngles(),t.appendChild(o)),l&&rJ(l)&&t.placeMarkerMid(l),s&&rJ(s)&&(t.markerEndAngle=s.getLocalEulerAngles(),t.appendChild(s)),t.transformMarker(!0),t.transformMarker(!1),t}return(0,O.Z)(e,t),(0,A.Z)(e,[{key:"attributeChangedCallback",value:function(t,e,n,i,r){"d"===t?(this.transformMarker(!0),this.transformMarker(!1),this.placeMarkerMid(this.parsedStyle.markerMid)):"markerStartOffset"===t||"markerEndOffset"===t?(this.transformMarker(!0),this.transformMarker(!1)):"markerStart"===t?(i&&rJ(i)&&(this.markerStartAngle=0,i.remove()),r&&rJ(r)&&(this.markerStartAngle=r.getLocalEulerAngles(),this.appendChild(r),this.transformMarker(!0))):"markerEnd"===t?(i&&rJ(i)&&(this.markerEndAngle=0,i.remove()),r&&rJ(r)&&(this.markerEndAngle=r.getLocalEulerAngles(),this.appendChild(r),this.transformMarker(!1))):"markerMid"===t&&this.placeMarkerMid(r)}},{key:"transformMarker",value:function(t){var e,n,i,r,a,o,s=this.parsedStyle,l=s.markerStart,u=s.markerEnd,c=s.markerStartOffset,h=s.markerEndOffset,d=t?l:u;if(d&&rJ(d)){var f=0;if(t){var v=this.getStartTangent(),p=(0,L.Z)(v,2),g=p[0],y=p[1];i=y[0],r=y[1],e=g[0]-y[0],n=g[1]-y[1],a=c||0,o=this.markerStartAngle}else{var m=this.getEndTangent(),k=(0,L.Z)(m,2),E=k[0],x=k[1];i=x[0],r=x[1],e=E[0]-x[0],n=E[1]-x[1],a=h||0,o=this.markerEndAngle}f=Math.atan2(n,e),d.setLocalEulerAngles(180*f/Math.PI+o),d.setLocalPosition(i+Math.cos(f)*a,r+Math.sin(f)*a)}}},{key:"placeMarkerMid",value:function(t){var e=this.parsedStyle.d.segments;if(this.markerMidList.forEach(function(t){t.remove()}),t&&rJ(t))for(var n=1;n1&&void 0!==arguments[1]&&arguments[1],n=this.parsedStyle.d.absolutePath,i=(0,tc.r)(n,t),r=i.x,a=i.y,o=D.fF(D.Ue(),D.al(r,a,0),e?this.getWorldTransform():this.getLocalTransform());return new tL(o[0],o[1])}},{key:"getPoint",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this.getPointAtLength(t*nw(this),e)}},{key:"getStartTangent",value:function(){var t=this.parsedStyle.d.segments,e=[];if(t.length>1){var n=t[0].currentPoint,i=t[1].currentPoint,r=t[1].startTangent;e=[],r?(e.push([n[0]-r[0],n[1]-r[1]]),e.push([n[0],n[1]])):(e.push([i[0],i[1]]),e.push([n[0],n[1]]))}return e}},{key:"getEndTangent",value:function(){var t=this.parsedStyle.d.segments,e=t.length,n=[];if(e>1){var i=t[e-2].currentPoint,r=t[e-1].currentPoint,a=t[e-1].endTangent;n=[],a?(n.push([r[0]-a[0],r[1]-a[1]]),n.push([r[0],r[1]])):(n.push([i[0],i[1]]),n.push([r[0],r[1]]))}return n}}])}(r5);aa.PARSED_STYLE_LIST=new Set([].concat((0,R.Z)(r5.PARSED_STYLE_LIST),["d","markerStart","markerMid","markerEnd","markerStartOffset","markerEndOffset","isBillboard","isSizeAttenuation"]));var ao=["style"],as=function(t){function e(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=n.style,r=(0,ty.Z)(n,ao);(0,C.Z)(this,e),(t=(0,Z.Z)(this,e,[(0,M.Z)({type:tE.POLYGON,style:i,initialParsedStyle:{points:{points:[],totalLength:0,segments:[]},miterLimit:4,isClosed:!0}},r)])).markerStartAngle=0,t.markerEndAngle=0,t.markerMidList=[];var a=t.parsedStyle,o=a.markerStart,s=a.markerEnd,l=a.markerMid;return o&&rJ(o)&&(t.markerStartAngle=o.getLocalEulerAngles(),t.appendChild(o)),l&&rJ(l)&&t.placeMarkerMid(l),s&&rJ(s)&&(t.markerEndAngle=s.getLocalEulerAngles(),t.appendChild(s)),t.transformMarker(!0),t.transformMarker(!1),t}return(0,O.Z)(e,t),(0,A.Z)(e,[{key:"attributeChangedCallback",value:function(t,e,n,i,r){"points"===t?(this.transformMarker(!0),this.transformMarker(!1),this.placeMarkerMid(this.parsedStyle.markerMid)):"markerStartOffset"===t||"markerEndOffset"===t?(this.transformMarker(!0),this.transformMarker(!1)):"markerStart"===t?(i&&rJ(i)&&(this.markerStartAngle=0,i.remove()),r&&rJ(r)&&(this.markerStartAngle=r.getLocalEulerAngles(),this.appendChild(r),this.transformMarker(!0))):"markerEnd"===t?(i&&rJ(i)&&(this.markerEndAngle=0,i.remove()),r&&rJ(r)&&(this.markerEndAngle=r.getLocalEulerAngles(),this.appendChild(r),this.transformMarker(!1))):"markerMid"===t&&this.placeMarkerMid(r)}},{key:"transformMarker",value:function(t){var e,n,i,r,a,o,s=this.parsedStyle,l=s.markerStart,u=s.markerEnd,c=s.markerStartOffset,h=s.markerEndOffset,d=(s.points||{}).points,f=t?l:u;if(f&&rJ(f)&&d){var v=0;if(i=d[0][0],r=d[0][1],t)e=d[1][0]-d[0][0],n=d[1][1]-d[0][1],a=c||0,o=this.markerStartAngle;else{var p=d.length;this.parsedStyle.isClosed?(e=d[p-1][0]-d[0][0],n=d[p-1][1]-d[0][1]):(i=d[p-1][0],r=d[p-1][1],e=d[p-2][0]-d[p-1][0],n=d[p-2][1]-d[p-1][1]),a=h||0,o=this.markerEndAngle}v=Math.atan2(n,e),f.setLocalEulerAngles(180*v/Math.PI+o),f.setLocalPosition(i+Math.cos(v)*a,r+Math.sin(v)*a)}}},{key:"placeMarkerMid",value:function(t){var e=(this.parsedStyle.points||{}).points;if(this.markerMidList.forEach(function(t){t.remove()}),this.markerMidList=[],t&&rJ(t)&&e)for(var n=1;n<(this.parsedStyle.isClosed?e.length:e.length-1);n++){var i=e[n][0],r=e[n][1],a=1===n?t:t.cloneNode(!0);this.markerMidList.push(a),this.appendChild(a),a.setLocalPosition(i,r)}}}])}(r5);as.PARSED_STYLE_LIST=new Set([].concat((0,R.Z)(r5.PARSED_STYLE_LIST),["points","markerStart","markerMid","markerEnd","markerStartOffset","markerEndOffset","isClosed","isBillboard","isSizeAttenuation"]));var al=["style"],au=function(t){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.style,i=(0,ty.Z)(t,al);return(0,C.Z)(this,e),(0,Z.Z)(this,e,[(0,M.Z)({type:tE.POLYLINE,style:n,initialParsedStyle:{points:{points:[],totalLength:0,segments:[]},miterLimit:4,isClosed:!1}},i)])}return(0,O.Z)(e,t),(0,A.Z)(e,[{key:"getTotalLength",value:function(){return 0===this.parsedStyle.points.totalLength&&(this.parsedStyle.points.totalLength=(0,tf.hE)(this.parsedStyle.points.points)),this.parsedStyle.points.totalLength}},{key:"getPointAtLength",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this.getPoint(t/this.getTotalLength(),e)}},{key:"getPoint",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.parsedStyle.points.points;if(0===this.parsedStyle.points.segments.length){var i,r=[],a=0,o=this.getTotalLength();n.forEach(function(t,e){n[e+1]&&((i=[0,0])[0]=a/o,a+=(0,tf.Xk)(t[0],t[1],n[e+1][0],n[e+1][1]),i[1]=a/o,r.push(i))}),this.parsedStyle.points.segments=r}var s=0,l=0;this.parsedStyle.points.segments.forEach(function(e,n){t>=e[0]&&t<=e[1]&&(s=(t-e[0])/(e[1]-e[0]),l=n)});var u=(0,tf.U4)(n[l][0],n[l][1],n[l+1][0],n[l+1][1],s),c=u.x,h=u.y,d=D.fF(D.Ue(),D.al(c,h,0),e?this.getWorldTransform():this.getLocalTransform());return new tL(d[0],d[1])}},{key:"getStartTangent",value:function(){var t=this.parsedStyle.points.points,e=[];return e.push([t[1][0],t[1][1]]),e.push([t[0][0],t[0][1]]),e}},{key:"getEndTangent",value:function(){var t=this.parsedStyle.points.points,e=t.length-1,n=[];return n.push([t[e-1][0],t[e-1][1]]),n.push([t[e][0],t[e][1]]),n}}])}(as);au.PARSED_STYLE_LIST=new Set([].concat((0,R.Z)(as.PARSED_STYLE_LIST),["points","markerStart","markerMid","markerEnd","markerStartOffset","markerEndOffset","isBillboard"]));var ac=function(t){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,C.Z)(this,e),(0,Z.Z)(this,e,[(0,M.Z)({type:tE.RECT},t)])}return(0,O.Z)(e,t),(0,A.Z)(e)}(r5);ac.PARSED_STYLE_LIST=new Set([].concat((0,R.Z)(r5.PARSED_STYLE_LIST),["x","y","z","width","height","isBillboard","isSizeAttenuation","radius"]));var ah=["style"],ad=function(t){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.style,i=(0,ty.Z)(t,ah);return(0,C.Z)(this,e),(0,Z.Z)(this,e,[(0,M.Z)({type:tE.TEXT,style:(0,M.Z)({fill:"black"},n)},i)])}return(0,O.Z)(e,t),(0,A.Z)(e,[{key:"getComputedTextLength",value:function(){var t;return this.getGeometryBounds(),(null===(t=this.parsedStyle.metrics)||void 0===t?void 0:t.maxLineWidth)||0}},{key:"getLineBoundingRects",value:function(){var t;return this.getGeometryBounds(),(null===(t=this.parsedStyle.metrics)||void 0===t?void 0:t.lineMetrics)||[]}},{key:"isOverflowing",value:function(){return this.getGeometryBounds(),!!this.parsedStyle.isOverflowing}}])}(r5);ad.PARSED_STYLE_LIST=new Set([].concat((0,R.Z)(r5.PARSED_STYLE_LIST),["x","y","z","isBillboard","billboardRotation","isSizeAttenuation","text","textAlign","textBaseline","fontStyle","fontSize","fontFamily","fontWeight","fontVariant","lineHeight","letterSpacing","leading","wordWrap","wordWrapWidth","maxLines","textOverflow","isOverflowing","textPath","textDecorationLine","textDecorationColor","textDecorationStyle","textPathSide","textPathStartOffset","metrics","dx","dy"]));var af=(0,A.Z)(function t(){(0,C.Z)(this,t),this.registry={},this.define(tE.CIRCLE,r3),this.define(tE.ELLIPSE,r8),this.define(tE.RECT,ac),this.define(tE.IMAGE,ae),this.define(tE.LINE,ai),this.define(tE.GROUP,r7),this.define(tE.PATH,aa),this.define(tE.POLYGON,as),this.define(tE.POLYLINE,au),this.define(tE.TEXT,ad),this.define(tE.HTML,at)},[{key:"define",value:function(t,e){this.registry[t]=e}},{key:"get",value:function(t){return this.registry[t]}}]),av={number:function(t){return new eW(t)},percent:function(t){return new eW(t,"%")},px:function(t){return new eW(t,"px")},em:function(t){return new eW(t,"em")},rem:function(t){return new eW(t,"rem")},deg:function(t){return new eW(t,"deg")},grad:function(t){return new eW(t,"grad")},rad:function(t){return new eW(t,"rad")},turn:function(t){return new eW(t,"turn")},s:function(t){return new eW(t,"s")},ms:function(t){return new eW(t,"ms")},registerProperty:function(t){var e=t.name,n=t.inherits,i=t.interpolable,r=t.initialValue,a=t.syntax;rX.styleValueRegistry.registerMetadata({n:e,inh:n,int:i,d:r,syntax:a})},registerLayout:function(t,e){rX.layoutRegistry.registerLayout(t,e)}},ap=function(t){var e,n;function i(){(0,C.Z)(this,i),(t=(0,Z.Z)(this,i)).defaultView=null,t.ownerDocument=null,t.nodeName="document";try{t.timeline=new rX.AnimationTimeline(t)}catch(t){}var t,e={};return n6.forEach(function(t){var n=t.n,i=t.inh,r=t.d;i&&r&&(e[n]=(0,tl.Z)(r)?r(tE.GROUP):r)}),t.documentElement=new r7({id:"g-root",style:e}),t.documentElement.ownerDocument=t,t.documentElement.parentNode=t,t.childNodes=[t.documentElement],t}return(0,O.Z)(i,t),(0,A.Z)(i,[{key:"children",get:function(){return this.childNodes}},{key:"childElementCount",get:function(){return this.childNodes.length}},{key:"firstElementChild",get:function(){return this.firstChild}},{key:"lastElementChild",get:function(){return this.lastChild}},{key:"createElement",value:function(t,e){if("svg"===t)return this.documentElement;var n=this.defaultView.customElements.get(t);n||(console.warn("Unsupported tagName: ",t),n="tspan"===t?ad:r7);var i=new n(e);return i.ownerDocument=this,i}},{key:"createElementNS",value:function(t,e,n){return this.createElement(e,n)}},{key:"cloneNode",value:function(t){throw Error(tD)}},{key:"destroy",value:function(){try{this.documentElement.destroyChildren(),this.timeline.destroy()}catch(t){}}},{key:"elementsFromBBox",value:function(t,e,n,i){var r=this.defaultView.context.rBushRoot.search({minX:t,minY:e,maxX:n,maxY:i}),a=[];return r.forEach(function(t){var e=t.displayObject,n=e.parsedStyle.pointerEvents,i=["auto","visiblepainted","visiblefill","visiblestroke","visible"].includes(void 0===n?"auto":n);(!i||i&&e.isVisible())&&!e.isCulled()&&e.isInteractive()&&a.push(e)}),a.sort(function(t,e){return e.sortable.renderOrder-t.sortable.renderOrder}),a}},{key:"elementFromPointSync",value:function(t,e){var n=this.defaultView.canvas2Viewport({x:t,y:e}),i=n.x,r=n.y,a=this.defaultView.getConfig(),o=a.width,s=a.height;if(i<0||r<0||i>o||r>s)return null;var l=this.defaultView.viewport2Client({x:i,y:r}),u=l.x,c=l.y,h=this.defaultView.getRenderingService().hooks.pickSync.call({topmost:!0,position:{x:t,y:e,viewportX:i,viewportY:r,clientX:u,clientY:c},picked:[]}).picked;return h&&h[0]||this.documentElement}},{key:"elementFromPoint",value:(e=(0,tp.Z)((0,tv.Z)().mark(function t(e,n){var i,r,a,o,s,l,u,c,h,d;return(0,tv.Z)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(r=(i=this.defaultView.canvas2Viewport({x:e,y:n})).x,a=i.y,s=(o=this.defaultView.getConfig()).width,l=o.height,!(r<0||a<0||r>s||a>l)){t.next=4;break}return t.abrupt("return",null);case 4:return c=(u=this.defaultView.viewport2Client({x:r,y:a})).x,h=u.y,t.next=7,this.defaultView.getRenderingService().hooks.pick.promise({topmost:!0,position:{x:e,y:n,viewportX:r,viewportY:a,clientX:c,clientY:h},picked:[]});case 7:return d=t.sent.picked,t.abrupt("return",d&&d[0]||this.documentElement);case 10:case"end":return t.stop()}},t,this)})),function(t,n){return e.apply(this,arguments)})},{key:"elementsFromPointSync",value:function(t,e){var n=this.defaultView.canvas2Viewport({x:t,y:e}),i=n.x,r=n.y,a=this.defaultView.getConfig(),o=a.width,s=a.height;if(i<0||r<0||i>o||r>s)return[];var l=this.defaultView.viewport2Client({x:i,y:r}),u=l.x,c=l.y,h=this.defaultView.getRenderingService().hooks.pickSync.call({topmost:!1,position:{x:t,y:e,viewportX:i,viewportY:r,clientX:u,clientY:c},picked:[]}).picked;return h[h.length-1]!==this.documentElement&&h.push(this.documentElement),h}},{key:"elementsFromPoint",value:(n=(0,tp.Z)((0,tv.Z)().mark(function t(e,n){var i,r,a,o,s,l,u,c,h,d;return(0,tv.Z)().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(r=(i=this.defaultView.canvas2Viewport({x:e,y:n})).x,a=i.y,s=(o=this.defaultView.getConfig()).width,l=o.height,!(r<0||a<0||r>s||a>l)){t.next=4;break}return t.abrupt("return",[]);case 4:return c=(u=this.defaultView.viewport2Client({x:r,y:a})).x,h=u.y,t.next=7,this.defaultView.getRenderingService().hooks.pick.promise({topmost:!1,position:{x:e,y:n,viewportX:r,viewportY:a,clientX:c,clientY:h},picked:[]});case 7:return(d=t.sent.picked)[d.length-1]!==this.documentElement&&d.push(this.documentElement),t.abrupt("return",d);case 11:case"end":return t.stop()}},t,this)})),function(t,e){return n.apply(this,arguments)})},{key:"appendChild",value:function(t,e){throw Error(t_)}},{key:"insertBefore",value:function(t,e){throw Error(t_)}},{key:"removeChild",value:function(t,e){throw Error(t_)}},{key:"replaceChild",value:function(t,e,n){throw Error(t_)}},{key:"append",value:function(){throw Error(t_)}},{key:"prepend",value:function(){throw Error(t_)}},{key:"getElementById",value:function(t){return this.documentElement.getElementById(t)}},{key:"getElementsByName",value:function(t){return this.documentElement.getElementsByName(t)}},{key:"getElementsByTagName",value:function(t){return this.documentElement.getElementsByTagName(t)}},{key:"getElementsByClassName",value:function(t){return this.documentElement.getElementsByClassName(t)}},{key:"querySelector",value:function(t){return this.documentElement.querySelector(t)}},{key:"querySelectorAll",value:function(t){return this.documentElement.querySelectorAll(t)}},{key:"find",value:function(t){return this.documentElement.find(t)}},{key:"findAll",value:function(t){return this.documentElement.findAll(t)}}])}(ru),ag=function(){function t(e){(0,C.Z)(this,t),this.strategies=e}return(0,A.Z)(t,[{key:"apply",value:function(e){var n=e.camera,i=e.renderingService,r=e.renderingContext,a=this.strategies;i.hooks.cull.tap(t.tag,function(t){if(t){var e=t.cullable;return(0===a.length?e.visible=r.unculledEntities.indexOf(t.entity)>-1:e.visible=a.every(function(e){return e.isVisible(n,t)}),!t.isCulled()&&t.isVisible())?t:(t.dispatchEvent(new ro(rg.CULLED)),null)}return t}),i.hooks.afterRender.tap(t.tag,function(t){t.cullable.visibilityPlaneMask=-1})}}])}();ag.tag="Culling";var ay=function(){function t(){var e=this;(0,C.Z)(this,t),this.autoPreventDefault=!1,this.rootPointerEvent=new rr(null),this.rootWheelEvent=new ra(null),this.onPointerMove=function(t){var n=null===(i=e.context.renderingContext.root)||void 0===i||null===(i=i.ownerDocument)||void 0===i?void 0:i.defaultView;if(!n.supportsTouchEvents||"touch"!==t.pointerType){var i,r,a=e.normalizeToPointerEvent(t,n),o=(0,tg.Z)(a);try{for(o.s();!(r=o.n()).done;){var s=r.value,l=e.bootstrapEvent(e.rootPointerEvent,s,n,t);e.context.eventService.mapEvent(l)}}catch(t){o.e(t)}finally{o.f()}e.setCursor(e.context.eventService.cursor)}},this.onClick=function(t){var n,i,r=null===(n=e.context.renderingContext.root)||void 0===n||null===(n=n.ownerDocument)||void 0===n?void 0:n.defaultView,a=e.normalizeToPointerEvent(t,r),o=(0,tg.Z)(a);try{for(o.s();!(i=o.n()).done;){var s=i.value,l=e.bootstrapEvent(e.rootPointerEvent,s,r,t);e.context.eventService.mapEvent(l)}}catch(t){o.e(t)}finally{o.f()}e.setCursor(e.context.eventService.cursor)}}return(0,A.Z)(t,[{key:"apply",value:function(e){var n=this;this.context=e;var i=e.renderingService,r=this.context.renderingContext.root.ownerDocument.defaultView;this.context.eventService.setPickHandler(function(t){return n.context.renderingService.hooks.pickSync.call({position:t,picked:[],topmost:!0}).picked[0]||null}),i.hooks.pointerWheel.tap(t.tag,function(t){var e=n.normalizeWheelEvent(t);n.context.eventService.mapEvent(e)}),i.hooks.pointerDown.tap(t.tag,function(t){if(!r.supportsTouchEvents||"touch"!==t.pointerType){var e=n.normalizeToPointerEvent(t,r);n.autoPreventDefault&&e[0].isNormalized&&(t.cancelable||!("cancelable"in t))&&t.preventDefault();var i,a=(0,tg.Z)(e);try{for(a.s();!(i=a.n()).done;){var o=i.value,s=n.bootstrapEvent(n.rootPointerEvent,o,r,t);n.context.eventService.mapEvent(s)}}catch(t){a.e(t)}finally{a.f()}n.setCursor(n.context.eventService.cursor)}}),i.hooks.pointerUp.tap(t.tag,function(t){if(!r.supportsTouchEvents||"touch"!==t.pointerType){var e,i=n.context.contextService.getDomElement(),a=n.context.eventService.isNativeEventFromCanvas(i,t)?"":"outside",o=n.normalizeToPointerEvent(t,r),s=(0,tg.Z)(o);try{for(s.s();!(e=s.n()).done;){var l=e.value,u=n.bootstrapEvent(n.rootPointerEvent,l,r,t);u.type+=a,n.context.eventService.mapEvent(u)}}catch(t){s.e(t)}finally{s.f()}n.setCursor(n.context.eventService.cursor)}}),i.hooks.pointerMove.tap(t.tag,this.onPointerMove),i.hooks.pointerOver.tap(t.tag,this.onPointerMove),i.hooks.pointerOut.tap(t.tag,this.onPointerMove),i.hooks.click.tap(t.tag,this.onClick),i.hooks.pointerCancel.tap(t.tag,function(t){var e,i=n.normalizeToPointerEvent(t,r),a=(0,tg.Z)(i);try{for(a.s();!(e=a.n()).done;){var o=e.value,s=n.bootstrapEvent(n.rootPointerEvent,o,r,t);n.context.eventService.mapEvent(s)}}catch(t){a.e(t)}finally{a.f()}n.setCursor(n.context.eventService.cursor)})}},{key:"bootstrapEvent",value:function(t,e,n,i){t.view=n,t.originalEvent=null,t.nativeEvent=i,t.pointerId=e.pointerId,t.width=e.width,t.height=e.height,t.isPrimary=e.isPrimary,t.pointerType=e.pointerType,t.pressure=e.pressure,t.tangentialPressure=e.tangentialPressure,t.tiltX=e.tiltX,t.tiltY=e.tiltY,t.twist=e.twist,this.transferMouseData(t,e);var r=this.context.eventService.client2Viewport({x:e.clientX,y:e.clientY}),a=r.x,o=r.y;t.viewport.x=a,t.viewport.y=o;var s=this.context.eventService.viewport2Canvas(t.viewport),l=s.x,u=s.y;return t.canvas.x=l,t.canvas.y=u,t.global.copyFrom(t.canvas),t.offset.copyFrom(t.canvas),t.isTrusted=i.isTrusted,"pointerleave"===t.type&&(t.type="pointerout"),t.type.startsWith("mouse")&&(t.type=t.type.replace("mouse","pointer")),t.type.startsWith("touch")&&(t.type=iS[t.type]||t.type),t}},{key:"normalizeWheelEvent",value:function(t){var e=this.rootWheelEvent;this.transferMouseData(e,t),e.deltaMode=t.deltaMode,e.deltaX=t.deltaX,e.deltaY=t.deltaY,e.deltaZ=t.deltaZ;var n=this.context.eventService.client2Viewport({x:t.clientX,y:t.clientY}),i=n.x,r=n.y;e.viewport.x=i,e.viewport.y=r;var a=this.context.eventService.viewport2Canvas(e.viewport),o=a.x,s=a.y;return e.canvas.x=o,e.canvas.y=s,e.global.copyFrom(e.canvas),e.offset.copyFrom(e.canvas),e.nativeEvent=t,e.type=t.type,e}},{key:"transferMouseData",value:function(t,e){t.isTrusted=e.isTrusted,t.srcElement=e.srcElement,t.timeStamp=iP.now(),t.type=e.type,t.altKey=e.altKey,t.metaKey=e.metaKey,t.shiftKey=e.shiftKey,t.ctrlKey=e.ctrlKey,t.button=e.button,t.buttons=e.buttons,t.client.x=e.clientX,t.client.y=e.clientY,t.movement.x=e.movementX,t.movement.y=e.movementY,t.page.x=e.pageX,t.page.y=e.pageY,t.screen.x=e.screenX,t.screen.y=e.screenY,t.relatedTarget=null}},{key:"setCursor",value:function(t){this.context.contextService.applyCursorStyle(t||this.context.config.cursor||"default")}},{key:"normalizeToPointerEvent",value:function(t,e){var n=[];if(e.isTouchEvent(t))for(var i=0;i-1,o=0,s=i.length;o1&&void 0!==arguments[1]&&arguments[1];if(t.isConnected){var n=t.rBushNode;n.aabb&&this.rBush.remove(n.aabb);var i=t.getRenderBounds();if(i){var r=t.renderable;e&&(r.dirtyRenderBounds||(r.dirtyRenderBounds=new tA),r.dirtyRenderBounds.update(i.center,i.halfExtents));var a=i.getMin(),o=(0,L.Z)(a,2),s=o[0],l=o[1],u=i.getMax(),c=(0,L.Z)(u,2),h=c[0],d=c[1];n.aabb||(n.aabb={}),n.aabb.displayObject=t,n.aabb.minX=s,n.aabb.minY=l,n.aabb.maxX=h,n.aabb.maxY=d}if(n.aabb&&!isNaN(n.aabb.maxX)&&!isNaN(n.aabb.maxX)&&!isNaN(n.aabb.minX)&&!isNaN(n.aabb.minY))return n.aabb}}},{key:"syncRTree",value:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(e||!this.syncing&&0!==this.syncTasks.size){this.syncing=!0;var n=[],i=new Set,r=function(r){if(!i.has(r)&&r.renderable){var a=t.syncNode(r,e);a&&(n.push(a),i.add(r))}};this.syncTasks.forEach(function(t,e){t&&e.forEach(r);for(var n=e;n;)r(n),n=n.parentElement}),this.rBush.load(n),n.length=0,this.syncing=!1}}}])}();aE.tag="Prepare";var ax=((P={}).READY="ready",P.BEFORE_RENDER="beforerender",P.RERENDER="rerender",P.AFTER_RENDER="afterrender",P.BEFORE_DESTROY="beforedestroy",P.AFTER_DESTROY="afterdestroy",P.RESIZE="resize",P.DIRTY_RECTANGLE="dirtyrectangle",P.RENDERER_CHANGED="rendererchanged",P),aT=new ro(rg.MOUNTED),ab=new ro(rg.UNMOUNTED),aN=new ro(ax.BEFORE_RENDER),aw=new ro(ax.RERENDER),aS=new ro(ax.AFTER_RENDER),aP=function(t){function e(t){(0,C.Z)(this,e),(r=(0,Z.Z)(this,e)).Element=r5,r.inited=!1,r.context={};var n,i,r,a=t.container,o=t.canvas,s=t.renderer,l=t.width,u=t.height,c=t.background,h=t.cursor,d=t.supportsMutipleCanvasesInOneContainer,f=t.cleanUpOnDestroy,v=void 0===f||f,p=t.offscreenCanvas,g=t.devicePixelRatio,y=t.requestAnimationFrame,m=t.cancelAnimationFrame,k=t.createImage,E=t.supportsTouchEvents,x=t.supportsPointerEvents,T=t.isTouchEvent,b=t.isMouseEvent,N=t.dblClickSpeed,w=l,S=u,P=g||ix&&window.devicePixelRatio||1;return P=P>=1?Math.ceil(P):1,o&&(w=l||("auto"===(n=iw(o,"width"))?o.offsetWidth:parseFloat(n))||o.width/P,S=u||("auto"===(i=iw(o,"height"))?o.offsetHeight:parseFloat(i))||o.height/P),r.customElements=new af,r.devicePixelRatio=P,r.requestAnimationFrame=null!=y?y:iG.bind(rX.globalThis),r.cancelAnimationFrame=null!=m?m:iF.bind(rX.globalThis),r.supportsTouchEvents=null!=E?E:"ontouchstart"in rX.globalThis,r.supportsPointerEvents=null!=x?x:!!rX.globalThis.PointerEvent,r.isTouchEvent=null!=T?T:function(t){return r.supportsTouchEvents&&t instanceof rX.globalThis.TouchEvent},r.isMouseEvent=null!=b?b:function(t){return!rX.globalThis.MouseEvent||t instanceof rX.globalThis.MouseEvent&&(!r.supportsPointerEvents||!(t instanceof rX.globalThis.PointerEvent))},p&&(rX.offscreenCanvas=p),r.document=new ap,r.document.defaultView=r,d||function(t,e,n){if(t){var i="string"==typeof t?document.getElementById(t):t;iE.has(i)&&iE.get(i).destroy(n),iE.set(i,e)}}(a,r,v),r.initRenderingContext((0,M.Z)((0,M.Z)({},t),{},{width:w,height:S,background:null!=c?c:"transparent",cursor:null!=h?h:"default",cleanUpOnDestroy:v,devicePixelRatio:P,requestAnimationFrame:r.requestAnimationFrame,cancelAnimationFrame:r.cancelAnimationFrame,supportsTouchEvents:r.supportsTouchEvents,supportsPointerEvents:r.supportsPointerEvents,isTouchEvent:r.isTouchEvent,isMouseEvent:r.isMouseEvent,dblClickSpeed:null!=N?N:200,createImage:null!=k?k:function(){return new window.Image}})),r.initDefaultCamera(w,S,s.clipSpaceNearZ),r.initRenderer(s,!0),r}return(0,O.Z)(e,t),(0,A.Z)(e,[{key:"initRenderingContext",value:function(t){this.context.config=t,this.context.renderingContext={root:this.document.documentElement,renderListCurrentFrame:[],unculledEntities:[],renderReasons:new Set,force:!1,dirty:!1}}},{key:"initDefaultCamera",value:function(t,e,n){var i=this,r=new rX.CameraContribution;r.clipSpaceNearZ=n,r.setType(tQ.EXPLORING,t0.DEFAULT).setPosition(t/2,e/2,500).setFocalPoint(t/2,e/2,0).setOrthographic(-(t/2),t/2,e/2,-(e/2),.1,1e3),r.canvas=this,r.eventEmitter.on(t2.UPDATED,function(){i.context.renderingContext.renderReasons.add(rd.CAMERA_CHANGED),rX.enableSizeAttenuation&&i.getConfig().renderer.getConfig().enableSizeAttenuation&&i.updateSizeAttenuation()}),this.context.camera=r}},{key:"updateSizeAttenuation",value:function(){var t=this.getCamera().getZoom();this.document.documentElement.forEach(function(e){rX.styleValueRegistry.updateSizeAttenuation(e,t)})}},{key:"getConfig",value:function(){return this.context.config}},{key:"getRoot",value:function(){return this.document.documentElement}},{key:"getCamera",value:function(){return this.context.camera}},{key:"getContextService",value:function(){return this.context.contextService}},{key:"getEventService",value:function(){return this.context.eventService}},{key:"getRenderingService",value:function(){return this.context.renderingService}},{key:"getRenderingContext",value:function(){return this.context.renderingContext}},{key:"getStats",value:function(){return this.getRenderingService().getStats()}},{key:"ready",get:function(){var t=this;return!this.readyPromise&&(this.readyPromise=new Promise(function(e){t.resolveReadyPromise=function(){e(t)}}),this.inited&&this.resolveReadyPromise()),this.readyPromise}},{key:"destroy",value:function(){var t=!(arguments.length>0)||void 0===arguments[0]||arguments[0],e=arguments.length>1?arguments[1]:void 0;eC.clearCache(),e||this.dispatchEvent(new ro(ax.BEFORE_DESTROY)),this.frameId&&this.cancelAnimationFrame(this.frameId);var n=this.getRoot();t&&(this.unmountChildren(n),this.document.destroy(),this.getEventService().destroy()),this.getRenderingService().destroy(),this.getContextService().destroy(),this.context.rBushRoot&&this.context.rBushRoot.clear(),e||this.dispatchEvent(new ro(ax.AFTER_DESTROY));var i=function(t){t.currentTarget=null,t.manager=null,t.target=null,t.relatedNode=null};i(aT),i(ab),i(aN),i(aw),i(aS),i(r0),i(rj),i(rq),i(r$)}},{key:"changeSize",value:function(t,e){this.resize(t,e)}},{key:"resize",value:function(t,e){var n=this.context.config;n.width=t,n.height=e,this.getContextService().resize(t,e);var i=this.context.camera,r=i.getProjectionMode();i.setPosition(t/2,e/2,500).setFocalPoint(t/2,e/2,0),r===t1.ORTHOGRAPHIC?i.setOrthographic(-(t/2),t/2,e/2,-(e/2),i.getNear(),i.getFar()):i.setAspect(t/e),this.dispatchEvent(new ro(ax.RESIZE,{width:t,height:e}))}},{key:"appendChild",value:function(t,e){return this.document.documentElement.appendChild(t,e)}},{key:"insertBefore",value:function(t,e){return this.document.documentElement.insertBefore(t,e)}},{key:"removeChild",value:function(t){return this.document.documentElement.removeChild(t)}},{key:"removeChildren",value:function(){this.document.documentElement.removeChildren()}},{key:"destroyChildren",value:function(){this.document.documentElement.destroyChildren()}},{key:"render",value:function(t){var e=this;t&&(aN.detail=t,aS.detail=t),this.dispatchEvent(aN),this.getRenderingService().render(this.getConfig(),t,function(){e.dispatchEvent(aw)}),this.dispatchEvent(aS)}},{key:"run",value:function(){var t=this,e=function(n,i){t.render(i),t.frameId=t.requestAnimationFrame(e)};e()}},{key:"initRenderer",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!t)throw Error("Renderer is required.");this.inited=!1,this.readyPromise=void 0,this.context.rBushRoot=new tk,this.context.renderingPlugins=[],this.context.renderingPlugins.push(new ay,new aE,new ag([new ak])),this.loadRendererContainerModule(t),this.context.contextService=new this.context.ContextService((0,M.Z)((0,M.Z)({},rX),this.context)),this.context.renderingService=new rf(rX,this.context),this.context.eventService=new rc(rX,this.context),this.context.eventService.init(),this.context.contextService.init?(this.context.contextService.init(),this.initRenderingService(t,n,!0)):this.context.contextService.initAsync().then(function(){e.initRenderingService(t,n)}).catch(function(t){console.error(t)})}},{key:"initRenderingService",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.context.renderingService.init(function(){e.inited=!0,n?i?e.requestAnimationFrame(function(){e.dispatchEvent(new ro(ax.READY))}):e.dispatchEvent(new ro(ax.READY)):e.dispatchEvent(new ro(ax.RENDERER_CHANGED)),e.readyPromise&&e.resolveReadyPromise(),n||e.getRoot().forEach(function(t){var e=t.renderable;e&&(e.renderBoundsDirty=!0,e.boundsDirty=!0,e.dirty=!0)}),e.mountChildren(e.getRoot()),t.getConfig().enableAutoRendering&&e.run()})}},{key:"loadRendererContainerModule",value:function(t){var e=this;t.getPlugins().forEach(function(t){t.context=e.context,t.init(rX)})}},{key:"setRenderer",value:function(t){var e=this.getConfig();if(e.renderer!==t){var n=e.renderer;e.renderer=t,this.destroy(!1,!0),(0,R.Z)((null==n?void 0:n.getPlugins())||[]).reverse().forEach(function(t){t.destroy(rX)}),this.initRenderer(t)}}},{key:"setCursor",value:function(t){this.getConfig().cursor=t,this.getContextService().applyCursorStyle(t)}},{key:"unmountChildren",value:function(t){var e=this;t.childNodes.forEach(function(t){e.unmountChildren(t)}),this.inited&&(t.isMutationObserved?t.dispatchEvent(ab):(ab.target=t,this.dispatchEvent(ab,!0)),t!==this.document.documentElement&&(t.ownerDocument=null),t.isConnected=!1),t.isCustomElement&&t.disconnectedCallback&&t.disconnectedCallback()}},{key:"mountChildren",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:iM(t);this.inited?t.isConnected||(t.ownerDocument=this.document,t.isConnected=!0,n||(t.isMutationObserved?t.dispatchEvent(aT):(aT.target=t,this.dispatchEvent(aT,!0)))):console.warn("[g]: You are trying to call `canvas.appendChild` before canvas' initialization finished. You can either await `canvas.ready` or listen to `CanvasEvent.READY` manually.","appended child: ",t.nodeName),t.childNodes.forEach(function(t){e.mountChildren(t,n)}),t.isCustomElement&&t.connectedCallback&&t.connectedCallback()}},{key:"mountFragment",value:function(t){this.mountChildren(t,!1)}},{key:"client2Viewport",value:function(t){return this.getEventService().client2Viewport(t)}},{key:"viewport2Client",value:function(t){return this.getEventService().viewport2Client(t)}},{key:"viewport2Canvas",value:function(t){return this.getEventService().viewport2Canvas(t)}},{key:"canvas2Viewport",value:function(t){return this.getEventService().canvas2Viewport(t)}},{key:"getPointByClient",value:function(t,e){return this.client2Viewport({x:t,y:e})}},{key:"getClientByPoint",value:function(t,e){return this.viewport2Client({x:t,y:e})}}])}(rl)}}]); \ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/8624.0fc75b16a661f775.js b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/8624.0fc75b16a661f775.js deleted file mode 100644 index 87e71fe2a..000000000 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/8624.0fc75b16a661f775.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8624],{8334:function(e,t,l){"use strict";l.r(t),l.d(t,{default:function(){return e_}});var n=l(85893),r=l(41468),a=l(76212),s=l(43446),i=l(62418),o=l(2093),c=l(93967),u=l.n(c),d=l(39332),x=l(67294),m=l(13768),h=l(91085),f=l(45247),p=()=>{let{history:e,setHistory:t,chatId:l,model:n,docId:i}=(0,x.useContext)(r.p),{chat:o}=(0,s.Z)({queryAgentURL:"/knowledge/document/summary"}),c=(0,x.useCallback)(async e=>{let[,r]=await (0,a.Vx)((0,a.$i)(l)),s=[...r,{role:"human",context:"",model_name:n,order:0,time_stamp:0},{role:"view",context:"",model_name:n,order:0,time_stamp:0,retry:!0}],c=s.length-1;t([...s]),await o({data:{doc_id:e||i,model_name:n},chatId:l,onMessage:e=>{s[c].context=e,t([...s])}})},[e,n,i,l]);return c},v=l(87740),g=l(57132),j=l(66478),b=l(14553),w=l(45360),y=l(83062),_=l(85576),Z=l(20640),N=l.n(Z),C=l(96486),k=l(67421),S=l(27496),P=l(25278),E=l(14726),R=l(11163),O=l(82353),D=l(1051);function F(e){let{document:t}=e;switch(t.status){case"RUNNING":return(0,n.jsx)(O.Rp,{});case"FINISHED":default:return(0,n.jsx)(O.s2,{});case"FAILED":return(0,n.jsx)(D.Z,{})}}function M(e){let{documents:t,dbParam:l}=e,r=(0,R.useRouter)(),a=e=>{r.push("/knowledge/chunk/?spaceName=".concat(l,"&id=").concat(e))};return(null==t?void 0:t.length)?(0,n.jsx)("div",{className:"absolute flex overflow-scroll h-12 top-[-35px] w-full z-10",children:t.map(e=>{let t;switch(e.status){case"RUNNING":t="#2db7f5";break;case"FINISHED":default:t="#87d068";break;case"FAILED":t="#f50"}return(0,n.jsx)(y.Z,{title:e.result,children:(0,n.jsxs)(E.ZP,{style:{color:t},onClick:()=>{a(e.id)},className:"shrink flex items-center mr-3",children:[(0,n.jsx)(F,{document:e}),e.doc_name]})},e.id)})}):null}var I=l(5392),L=l(23799);function U(e){let{dbParam:t,setDocId:l}=(0,x.useContext)(r.p),{onUploadFinish:s,handleFinish:i}=e,o=p(),[c,u]=(0,x.useState)(!1),d=async e=>{u(!0);let n=new FormData;n.append("doc_name",e.file.name),n.append("doc_file",e.file),n.append("doc_type","DOCUMENT");let r=await (0,a.Vx)((0,a.iG)(t||"default",n));if(!r[1]){u(!1);return}l(r[1]),s(),u(!1),null==i||i(!0),await o(r[1]),null==i||i(!1)};return(0,n.jsx)(L.default,{customRequest:d,showUploadList:!1,maxCount:1,multiple:!1,className:"absolute z-10 top-2 left-2",accept:".pdf,.ppt,.pptx,.xls,.xlsx,.doc,.docx,.txt,.md",children:(0,n.jsx)(E.ZP,{loading:c,size:"small",shape:"circle",icon:(0,n.jsx)(I.Z,{})})})}var V=l(86600),$=function(e){let{children:t,loading:l,onSubmit:s,handleFinish:i,placeholder:o,...c}=e,{dbParam:u,scene:d}=(0,x.useContext)(r.p),[m,h]=(0,x.useState)(""),f=(0,x.useMemo)(()=>"chat_knowledge"===d,[d]),[p,v]=(0,x.useState)([]),g=(0,x.useRef)(0);async function j(){if(!u)return null;let[e,t]=await (0,a.Vx)((0,a._Q)(u,{page:1,page_size:g.current}));v((null==t?void 0:t.data)||[])}(0,x.useEffect)(()=>{f&&j()},[u]);let b=async()=>{g.current+=1,await j()};return(0,n.jsxs)("div",{className:"flex-1 relative",children:[(0,n.jsx)(M,{documents:p,dbParam:u}),f&&(0,n.jsx)(U,{handleFinish:i,onUploadFinish:b,className:"absolute z-10 top-2 left-2"}),(0,n.jsx)(P.default.TextArea,{className:"flex-1 ".concat(f?"pl-10":""," pr-10"),size:"large",value:m,autoSize:{minRows:1,maxRows:4},...c,onPressEnter:e=>{if(m.trim()&&13===e.keyCode){if(e.shiftKey){e.preventDefault(),h(e=>e+"\n");return}s(m),setTimeout(()=>{h("")},0)}},onChange:e=>{if("number"==typeof c.maxLength){h(e.target.value.substring(0,c.maxLength));return}h(e.target.value)},placeholder:o}),(0,n.jsx)(E.ZP,{className:"ml-2 flex items-center justify-center absolute right-0 bottom-0",size:"large",type:"text",loading:l,icon:(0,n.jsx)(S.Z,{}),onClick:()=>{s(m)}}),(0,n.jsx)(V.Z,{submit:e=>{h(m+e)}}),t]})},A=l(32975),H=l(28516),z=(0,x.memo)(function(e){var t;let{content:l}=e,{scene:a}=(0,x.useContext)(r.p),s="view"===l.role;return(0,n.jsx)("div",{className:u()("relative w-full p-2 md:p-4 rounded-xl break-words",{"bg-white dark:bg-[#232734]":s,"lg:w-full xl:w-full pl-0":["chat_with_db_execute","chat_dashboard"].includes(a)}),children:s?(0,n.jsx)(A.Z,{components:H.ZP,...H.dx,children:(0,H.CE)(null==(t=l.context)?void 0:t.replace(/]+)>/gi,"
").replace(/]+)>/gi,""))}):(0,n.jsx)("div",{className:"",children:l.context})})}),J=l(24019),G=l(50888),T=l(97937),q=l(63606),B=l(50228),W=l(87547),Q=l(89035),K=l(66309),X=l(81799);let Y={todo:{bgClass:"bg-gray-500",icon:(0,n.jsx)(J.Z,{className:"ml-2"})},runing:{bgClass:"bg-blue-500",icon:(0,n.jsx)(G.Z,{className:"ml-2"})},failed:{bgClass:"bg-red-500",icon:(0,n.jsx)(T.Z,{className:"ml-2"})},completed:{bgClass:"bg-green-500",icon:(0,n.jsx)(q.Z,{className:"ml-2"})}};function ee(e){return e.replaceAll("\\n","\n").replace(/]+)>/gi,"
").replace(/]+)>/gi,"")}var et=(0,x.memo)(function(e){let{children:t,content:l,isChartChat:a,onLinkClick:s}=e,{scene:i}=(0,x.useContext)(r.p),{context:o,model_name:c,role:d}=l,m="view"===d,{relations:h,value:f,cachePluginContext:p}=(0,x.useMemo)(()=>{if("string"!=typeof o)return{relations:[],value:"",cachePluginContext:[]};let[e,t]=o.split(" relations:"),l=t?t.split(","):[],n=[],r=0,a=e.replace(/]*>[^<]*<\/dbgpt-view>/gi,e=>{try{var t;let l=e.replaceAll("\n","\\n").replace(/<[^>]*>|<\/[^>]*>/gm,""),a=JSON.parse(l),s="".concat(r,"");return n.push({...a,result:ee(null!==(t=a.result)&&void 0!==t?t:"")}),r++,s}catch(t){return console.log(t.message,t),e}});return{relations:l,cachePluginContext:n,value:a}},[o]),v=(0,x.useMemo)(()=>({"custom-view"(e){var t;let{children:l}=e,r=+l.toString();if(!p[r])return l;let{name:a,status:s,err_msg:i,result:o}=p[r],{bgClass:c,icon:d}=null!==(t=Y[s])&&void 0!==t?t:{};return(0,n.jsxs)("div",{className:"bg-white dark:bg-[#212121] rounded-lg overflow-hidden my-2 flex flex-col lg:max-w-[80%]",children:[(0,n.jsxs)("div",{className:u()("flex px-4 md:px-6 py-2 items-center text-white text-sm",c),children:[a,d]}),o?(0,n.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm",children:(0,n.jsx)(A.Z,{components:H.ZP,...H.dx,children:(0,H.CE)(null!=o?o:"")})}):(0,n.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm",children:i})]})}}),[o,p]);return m||o?(0,n.jsxs)("div",{className:u()("relative flex flex-wrap w-full p-2 md:p-4 rounded-xl break-words",{"bg-white dark:bg-[#232734]":m,"lg:w-full xl:w-full pl-0":["chat_with_db_execute","chat_dashboard"].includes(i)}),children:[(0,n.jsx)("div",{className:"mr-2 flex flex-shrink-0 items-center justify-center h-7 w-7 rounded-full text-lg sm:mr-4",children:m?(0,X.A)(c)||(0,n.jsx)(B.Z,{}):(0,n.jsx)(W.Z,{})}),(0,n.jsxs)("div",{className:"flex-1 overflow-hidden items-center text-md leading-8 pb-2",children:[!m&&"string"==typeof o&&o,m&&a&&"object"==typeof o&&(0,n.jsxs)("div",{children:["[".concat(o.template_name,"]: "),(0,n.jsxs)("span",{className:"text-theme-primary cursor-pointer",onClick:s,children:[(0,n.jsx)(Q.Z,{className:"mr-1"}),o.template_introduce||"More Details"]})]}),m&&"string"==typeof o&&(0,n.jsx)(A.Z,{components:{...H.ZP,...v},...H.dx,children:(0,H.CE)(ee(f))}),!!(null==h?void 0:h.length)&&(0,n.jsx)("div",{className:"flex flex-wrap mt-2",children:null==h?void 0:h.map((e,t)=>(0,n.jsx)(K.Z,{color:"#108ee9",children:e},e+t))})]}),t]}):(0,n.jsx)("div",{className:"h-12"})}),el=l(59301),en=l(41132),er=l(74312),ea=l(3414),es=l(72868),ei=l(59562),eo=l(25359),ec=l(7203),eu=l(48665),ed=l(26047),ex=l(99056),em=l(57814),eh=l(64415),ef=l(21694),ep=l(40911),ev=e=>{var t;let{conv_index:l,question:s,knowledge_space:i,select_param:o}=e,{t:c}=(0,k.$G)(),{chatId:u}=(0,x.useContext)(r.p),[d,m]=(0,x.useState)(""),[h,f]=(0,x.useState)(4),[p,v]=(0,x.useState)(""),g=(0,x.useRef)(null),[_,Z]=w.ZP.useMessage(),N=(0,x.useCallback)((e,t)=>{t?(0,a.Vx)((0,a.Eb)(u,l)).then(e=>{var t,l,n,r;let a=null!==(t=e[1])&&void 0!==t?t:{};m(null!==(l=a.ques_type)&&void 0!==l?l:""),f(parseInt(null!==(n=a.score)&&void 0!==n?n:"4")),v(null!==(r=a.messages)&&void 0!==r?r:"")}).catch(e=>{console.log(e)}):(m(""),f(4),v(""))},[u,l]),C=(0,er.Z)(ea.Z)(e=>{let{theme:t}=e;return{backgroundColor:"dark"===t.palette.mode?"#FBFCFD":"#0E0E10",...t.typography["body-sm"],padding:t.spacing(1),display:"flex",alignItems:"center",justifyContent:"center",borderRadius:4,width:"100%",height:"100%"}});return(0,n.jsxs)(es.L,{onOpenChange:N,children:[Z,(0,n.jsx)(y.Z,{title:c("Rating"),children:(0,n.jsx)(ei.Z,{slots:{root:b.ZP},slotProps:{root:{variant:"plain",color:"primary"}},sx:{borderRadius:40},children:(0,n.jsx)(el.Z,{})})}),(0,n.jsxs)(eo.Z,{children:[(0,n.jsx)(ec.Z,{disabled:!0,sx:{minHeight:0}}),(0,n.jsx)(eu.Z,{sx:{width:"100%",maxWidth:350,display:"grid",gap:3,padding:1},children:(0,n.jsx)("form",{onSubmit:e=>{e.preventDefault(),(0,a.Vx)((0,a.VC)({data:{conv_uid:u,conv_index:l,question:s,knowledge_space:i,score:h,ques_type:d,messages:p}})).then(e=>{_.open({type:"success",content:"save success"})}).catch(e=>{_.open({type:"error",content:"save error"})})},children:(0,n.jsxs)(ed.Z,{container:!0,spacing:.5,columns:13,sx:{flexGrow:1},children:[(0,n.jsx)(ed.Z,{xs:3,children:(0,n.jsx)(C,{children:c("Q_A_Category")})}),(0,n.jsx)(ed.Z,{xs:10,children:(0,n.jsx)(ex.Z,{action:g,value:d,placeholder:"Choose one…",onChange:(e,t)=>m(null!=t?t:""),...d&&{endDecorator:(0,n.jsx)(b.ZP,{size:"sm",variant:"plain",color:"neutral",onMouseDown:e=>{e.stopPropagation()},onClick:()=>{var e;m(""),null===(e=g.current)||void 0===e||e.focusVisible()},children:(0,n.jsx)(en.Z,{})}),indicator:null},sx:{width:"100%"},children:o&&(null===(t=Object.keys(o))||void 0===t?void 0:t.map(e=>(0,n.jsx)(em.Z,{value:e,children:o[e]},e)))})}),(0,n.jsx)(ed.Z,{xs:3,children:(0,n.jsx)(C,{children:(0,n.jsx)(y.Z,{title:(0,n.jsx)(eu.Z,{children:(0,n.jsx)("div",{children:c("feed_back_desc")})}),variant:"solid",placement:"left",children:c("Q_A_Rating")})})}),(0,n.jsx)(ed.Z,{xs:10,sx:{pl:0,ml:0},children:(0,n.jsx)(eh.Z,{"aria-label":"Custom",step:1,min:0,max:5,valueLabelFormat:function(e){return({0:c("Lowest"),1:c("Missed"),2:c("Lost"),3:c("Incorrect"),4:c("Verbose"),5:c("Best")})[e]},valueLabelDisplay:"on",marks:[{value:0,label:"0"},{value:1,label:"1"},{value:2,label:"2"},{value:3,label:"3"},{value:4,label:"4"},{value:5,label:"5"}],sx:{width:"90%",pt:3,m:2,ml:1},onChange:e=>{var t;return f(null===(t=e.target)||void 0===t?void 0:t.value)},value:h})}),(0,n.jsx)(ed.Z,{xs:13,children:(0,n.jsx)(ef.Z,{placeholder:c("Please_input_the_text"),value:p,onChange:e=>v(e.target.value),minRows:2,maxRows:4,endDecorator:(0,n.jsx)(ep.ZP,{level:"body-xs",sx:{ml:"auto"},children:c("input_count")+p.length+c("input_unit")}),sx:{width:"100%",fontSize:14}})}),(0,n.jsx)(ed.Z,{xs:13,children:(0,n.jsx)(j.Z,{type:"submit",variant:"outlined",sx:{width:"100%",height:"100%"},children:c("submit")})})]})})})]})]})},eg=l(74434),ej=e=>{var t,l;let{messages:s,onSubmit:c,onFormatContent:m}=e,{dbParam:f,currentDialogue:Z,scene:S,model:P,refreshDialogList:E,chatId:R,agent:O,docId:D}=(0,x.useContext)(r.p),{t:F}=(0,k.$G)(),M=(0,d.useSearchParams)(),I=null!==(t=M&&M.get("select_param"))&&void 0!==t?t:"",L=null!==(l=M&&M.get("spaceNameOriginal"))&&void 0!==l?l:"",[U,V]=(0,x.useState)(!1),[A,H]=(0,x.useState)(!1),[J,G]=(0,x.useState)(s),[T,q]=(0,x.useState)(""),[B,W]=(0,x.useState)(),Q=(0,x.useRef)(null),K=(0,x.useMemo)(()=>"chat_dashboard"===S,[S]),Y=p(),ee=(0,x.useMemo)(()=>{switch(S){case"chat_agent":return O;case"chat_excel":return null==Z?void 0:Z.select_param;case"chat_flow":return I;default:return L||f}},[S,O,Z,f,L,I]),el=async e=>{if(!U&&e.trim()){if("chat_agent"===S&&!O){w.ZP.warning(F("choice_agent_tip"));return}try{V(!0);let t=localStorage.getItem("dbgpt_prompt_code_".concat(R)),l={select_param:null!=ee?ee:""};t&&(l.prompt_code=t,localStorage.removeItem("dbgpt_prompt_code_".concat(R))),await c(e,l)}finally{V(!1)}}},en=(0,x.useCallback)(e=>K&&m&&"string"==typeof e?m(e):e,[K,m]),[er,ea]=w.ZP.useMessage(),es=async e=>{let t=K&&m&&"string"==typeof e?m(e):e,l=null==t?void 0:t.replace(/\trelations:.*/g,""),n=N()(l);n?l?er.open({type:"success",content:F("copy_success")}):er.open({type:"warning",content:F("copy_nothing")}):er.open({type:"error",content:F("copy_failed")})},ei=async()=>{!U&&D&&(V(!0),await Y(D),V(!1))};(0,o.Z)(async()=>{let e=(0,i.a_)();e&&e.id===R&&(await el(e.message),E(),localStorage.removeItem(i.rU))},[R]),(0,x.useEffect)(()=>{let e=s;K&&(e=(0,C.cloneDeep)(s).map(e=>{if((null==e?void 0:e.role)==="view"&&"string"==typeof(null==e?void 0:e.context))try{e.context=JSON.parse(e.context)}catch(t){m&&(e.context=en(e.context))}return e})),G(e.filter(e=>["view","human"].includes(e.role)))},[K,s,m,en]),(0,x.useEffect)(()=>{(0,a.Vx)((0,a.Lu)()).then(e=>{var t;W(null!==(t=e[1])&&void 0!==t?t:{})}).catch(e=>{console.log(e)})},[]);let eo=(0,x.useRef)(!1),ec=(0,x.useRef)(0),eu=(0,x.useRef)(0),ed=(0,x.useRef)(!1),ex=(0,x.useRef)(null);(0,x.useEffect)(()=>{0===ec.current&&(ec.current=0)},[]);let em=(0,x.useCallback)(()=>{if(Q.current){let e=Q.current,{scrollTop:t,scrollHeight:l,clientHeight:n}=e,r=t+n>=l-5,a=eo.current;eo.current=!r,ed.current&&!r&&a!==eo.current&&(ed.current=!1,ex.current&&(clearTimeout(ex.current),ex.current=null))}},[]),eh=(0,x.useCallback)(()=>{if(!Q.current)return;let e=Q.current;e.scrollTo({top:e.scrollHeight,behavior:"instant"})},[]);return(0,x.useEffect)(()=>{if(!Q.current)return;let e=Q.current,t=J.length,l=t>ec.current;if(l){ex.current&&clearTimeout(ex.current),ed.current=!0,eo.current=!1,eh(),ec.current=t,eu.current=0,ex.current=setTimeout(()=>{ed.current=!1},3e3);return}if(ed.current){let t=e.scrollHeight;0===eu.current&&(eu.current=t);let l=t-eu.current;l>0&&(eh(),eu.current=t,ex.current&&clearTimeout(ex.current),ex.current=setTimeout(()=>{ed.current=!1},3e3))}else if(!eo.current){let t=e.scrollHeight,l=t-eu.current;l>0&&(eh(),eu.current=t)}},[J,S,eh]),(0,x.useEffect)(()=>{let e=Q.current;if(e)return e.addEventListener("scroll",em),()=>{e.removeEventListener("scroll",em),ex.current&&(clearTimeout(ex.current),ex.current=null)}},[em]),(0,n.jsxs)(n.Fragment,{children:[ea,(0,n.jsx)("div",{ref:Q,className:u()("flex flex-1 overflow-y-auto w-full flex-col",{"h-full":"chat_dashboard"!==S,"flex-1 min-h-0":"chat_dashboard"===S}),children:(0,n.jsx)("div",{className:"flex items-center flex-col text-sm leading-6 text-slate-900 dark:text-slate-300 sm:text-base sm:leading-7",children:J.length?J.map((e,t)=>{var l;return"chat_agent"===S?(0,n.jsx)(z,{content:e},t):(0,n.jsx)(et,{content:e,isChartChat:K,onLinkClick:()=>{H(!0),q(JSON.stringify(null==e?void 0:e.context,null,2))},children:"view"===e.role&&(0,n.jsxs)("div",{className:"flex w-full border-t border-gray-200 dark:border-theme-dark",children:["chat_knowledge"===S&&e.retry?(0,n.jsxs)(j.Z,{onClick:ei,slots:{root:b.ZP},slotProps:{root:{variant:"plain",color:"primary"}},children:[(0,n.jsx)(v.Z,{}),"\xa0",(0,n.jsx)("span",{className:"text-sm",children:F("Retry")})]}):null,(0,n.jsxs)("div",{className:"flex w-full flex-row-reverse",children:[(0,n.jsx)(ev,{select_param:B,conv_index:Math.ceil((t+1)/2),question:null===(l=null==J?void 0:J.filter(t=>(null==t?void 0:t.role)==="human"&&(null==t?void 0:t.order)===e.order)[0])||void 0===l?void 0:l.context,knowledge_space:L||f||""}),(0,n.jsx)(y.Z,{title:F("Copy_Btn"),children:(0,n.jsx)(j.Z,{onClick:()=>es(null==e?void 0:e.context),slots:{root:b.ZP},slotProps:{root:{variant:"plain",color:"primary"}},sx:{borderRadius:40},children:(0,n.jsx)(g.Z,{})})})]})]})},t)}):(0,n.jsx)(h.Z,{description:"Start a conversation"})})}),(0,n.jsx)("div",{className:u()("relative sticky bottom-0 bg-theme-light dark:bg-theme-dark after:absolute after:-top-8 after:h-8 after:w-full after:bg-gradient-to-t after:from-theme-light after:to-transparent dark:after:from-theme-dark",{"cursor-not-allowed":"chat_excel"===S&&!(null==Z?void 0:Z.select_param)}),children:(0,n.jsxs)("div",{className:"flex flex-wrap w-full py-2 sm:pt-6 sm:pb-10 items-center",children:[P&&(0,n.jsx)("div",{className:"mr-2 flex",children:(0,X.A)(P)}),(0,n.jsx)($,{loading:U,onSubmit:el,handleFinish:V})]})}),(0,n.jsx)(_.default,{title:"JSON Editor",open:A,width:"60%",cancelButtonProps:{hidden:!0},onOk:()=>{H(!1)},onCancel:()=>{H(!1)},children:(0,n.jsx)(eg.Z,{className:"w-full h-[500px]",language:"json",value:T})})]})},eb=l(34625);let ew=e=>{if("string"!=typeof e)return e;if(e.startsWith("```vis-thinking")||e.includes("```vis-thinking")){let t=e.indexOf('{"');if(-1!==t){let l=e.substring(t);try{return JSON.parse(l)}catch(t){let e=l.replace(/```$/g,"").trim();try{return JSON.parse(e)}catch(e){return console.error("Error parsing cleaned JSON:",e),null}}}}try{return"string"==typeof e?JSON.parse(e):e}catch(t){return console.log("Not JSON format or vis-thinking format, returning original content"),e}},ey=e=>{if("string"!=typeof e)return e;if(e.startsWith("```vis-thinking")||e.includes("```vis-thinking")){let t=e.indexOf("```vis-thinking"),l=t+15,n=e.indexOf("```",l);if(-1!==n)return e.substring(t,n+3)}return e};var e_=()=>{var e;let t=(0,d.useSearchParams)(),{scene:l,chatId:c,model:p,agent:v,setModel:g,history:j,setHistory:b}=(0,x.useContext)(r.p),{chat:w}=(0,s.Z)({}),y=null!==(e=t&&t.get("initMessage"))&&void 0!==e?e:"",[_,Z]=(0,x.useState)(!1),[N,C]=(0,x.useState)(),k=async()=>{Z(!0);let[,e]=await (0,a.Vx)((0,a.$i)(c));b(null!=e?e:[]),Z(!1)},S=e=>{var t;let l=null===(t=e[e.length-1])||void 0===t?void 0:t.context;if(l)try{let e=ew(l),t="object"==typeof e?e:"string"==typeof l?JSON.parse(l):l;C((null==t?void 0:t.template_name)==="report"?null==t?void 0:t.charts:void 0)}catch(e){console.log(e),C([])}};(0,o.Z)(async()=>{let e=(0,i.a_)();e&&e.id===c||await k()},[y,c]),(0,x.useEffect)(()=>{var e,t;if(!j.length)return;let l=null===(e=null===(t=j.filter(e=>"view"===e.role))||void 0===t?void 0:t.slice(-1))||void 0===e?void 0:e[0];(null==l?void 0:l.model_name)&&g(l.model_name),S(j)},[j.length]),(0,x.useEffect)(()=>()=>{b([])},[]);let P=(0,x.useCallback)((e,t)=>new Promise(n=>{let r=[...j,{role:"human",context:e,model_name:p,order:0,time_stamp:0},{role:"view",context:"",model_name:p,order:0,time_stamp:0}],a=r.length-1;b([...r]),w({data:{...t,chat_mode:l||"chat_normal",model_name:p,user_input:e},chatId:c,onMessage:e=>{(null==t?void 0:t.incremental)?r[a].context+=e:r[a].context=e,b([...r])},onDone:()=>{S(r),n()},onClose:()=>{S(r),n()},onError:e=>{r[a].context=e,b([...r]),n()}})}),[j,w,c,p,v,l]);return(0,n.jsxs)("div",{className:"flex flex-col h-screen w-full overflow-y-auto",children:[(0,n.jsx)(f.Z,{visible:_}),(0,n.jsx)("div",{className:"flex-none",children:(0,n.jsx)(eb.Z,{refreshHistory:k,modelChange:e=>{g(e)}})}),(0,n.jsxs)("div",{className:"flex-auto flex overflow-y-auto",children:[!!(null==N?void 0:N.length)&&(0,n.jsx)("div",{className:u()("overflow-auto",{"w-full h-1/2 md:h-full md:w-3/4 pb-4 md:pr-4":"chat_dashboard"===l}),children:(0,n.jsx)(m.ZP,{chartsData:N})}),!(null==N?void 0:N.length)&&"chat_dashboard"===l&&(0,n.jsx)("div",{className:u()("flex items-center justify-center",{"w-full h-1/2 md:h-full md:w-3/4":"chat_dashboard"===l}),children:(0,n.jsx)(h.Z,{})}),(0,n.jsx)("div",{className:u()("flex flex-col",{"w-full h-1/2 md:h-full md:w-1/4 border-t md:border-t-0 md:border-l dark:border-gray-800 overflow-y-auto":"chat_dashboard"===l,"w-full h-full px-4 lg:px-8 overflow-hidden":"chat_dashboard"!==l}),children:(0,n.jsx)("div",{className:u()("h-full",{"overflow-y-auto":"chat_dashboard"!==l,"flex flex-col":"chat_dashboard"===l}),children:(0,n.jsx)(ej,{messages:j,onSubmit:P,onFormatContent:ey})})})]})]})}},34625:function(e,t,l){"use strict";l.d(t,{Z:function(){return R}});var n=l(85893),r=l(41468),a=l(81799),s=l(82353),i=l(16165),o=l(96991),c=l(78045),u=l(67294);function d(){let{isContract:e,setIsContract:t,scene:l}=(0,u.useContext)(r.p),a=l&&["chat_with_db_execute","chat_dashboard"].includes(l);return a?(0,n.jsxs)(c.ZP.Group,{value:e,defaultValue:!0,buttonStyle:"solid",onChange:()=>{t(!e)},children:[(0,n.jsxs)(c.ZP.Button,{value:!1,children:[(0,n.jsx)(i.Z,{component:s.ig,className:"mr-1"}),"Preview"]}),(0,n.jsxs)(c.ZP.Button,{value:!0,children:[(0,n.jsx)(o.Z,{className:"mr-1"}),"Editor"]})]}):null}l(23293);var x=l(76212),m=l(65654),h=l(34041),f=l(67421),p=function(){let{t:e}=(0,f.$G)(),{agent:t,setAgent:l}=(0,u.useContext)(r.p),{data:a=[]}=(0,m.Z)(async()=>{let[,e]=await (0,x.Vx)((0,x.H4)());return null!=e?e:[]});return(0,n.jsx)(h.default,{className:"w-60",value:t,placeholder:e("Select_Plugins"),options:a.map(e=>({label:e.app_name,value:e.app_code})),allowClear:!0,onChange:e=>{null==l||l(e)}})},v=l(29158),g=l(57249),j=l(49591),b=l(88484),w=l(45360),y=l(83062),_=l(23799),Z=l(14726),N=function(e){var t;let{convUid:l,chatMode:a,onComplete:s,...i}=e,[o,c]=(0,u.useState)(!1),[d,m]=w.ZP.useMessage(),[h,f]=(0,u.useState)([]),[p,N]=(0,u.useState)(),{model:C}=(0,u.useContext)(r.p),{temperatureValue:k,maxNewTokensValue:S}=(0,u.useContext)(g.ChatContentContext),P=async e=>{var t;if(!e){w.ZP.error("Please select the *.(csv|xlsx|xls) file");return}if(!/\.(csv|xlsx|xls)$/.test(null!==(t=e.file.name)&&void 0!==t?t:"")){w.ZP.error("File type must be csv, xlsx or xls");return}f([e.file])},E=async()=>{c(!0);try{let e=new FormData;e.append("doc_file",h[0]),d.open({content:"Uploading ".concat(h[0].name),type:"loading",duration:0});let[t]=await (0,x.Vx)((0,x.qn)({convUid:l,chatMode:a,data:e,model:C,temperatureValue:k,maxNewTokensValue:S,config:{timeout:36e5,onUploadProgress:e=>{let t=Math.ceil(e.loaded/(e.total||0)*100);N(t)}}}));if(t)return;w.ZP.success("success"),null==s||s()}catch(e){w.ZP.error((null==e?void 0:e.message)||"Upload Error")}finally{c(!1),d.destroy()}};return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"flex items-start gap-2",children:[m,(0,n.jsx)(y.Z,{placement:"bottom",title:"File cannot be changed after upload",children:(0,n.jsx)(_.default,{disabled:o,className:"mr-1",beforeUpload:()=>!1,fileList:h,name:"file",accept:".csv,.xlsx,.xls",multiple:!1,onChange:P,showUploadList:{showDownloadIcon:!1,showPreviewIcon:!1,showRemoveIcon:!1},itemRender:()=>(0,n.jsx)(n.Fragment,{}),...i,children:(0,n.jsx)(Z.ZP,{className:"flex justify-center items-center",type:"primary",disabled:o,icon:(0,n.jsx)(j.Z,{}),children:"Select File"})})}),(0,n.jsx)(Z.ZP,{type:"primary",loading:o,className:"flex justify-center items-center",disabled:!h.length,icon:(0,n.jsx)(b.Z,{}),onClick:E,children:o?100===p?"Analysis":"Uploading":"Upload"}),!!h.length&&(0,n.jsxs)("div",{className:"mt-2 text-gray-500 text-sm flex items-center",onClick:()=>f([]),children:[(0,n.jsx)(v.Z,{className:"mr-2"}),(0,n.jsx)("span",{children:null===(t=h[0])||void 0===t?void 0:t.name})]})]})})},C=function(e){let{onComplete:t}=e,{currentDialogue:l,scene:a,chatId:s}=(0,u.useContext)(r.p);return"chat_excel"!==a?null:(0,n.jsx)("div",{className:"max-w-md h-full relative",children:l?(0,n.jsxs)("div",{className:"flex h-8 overflow-hidden rounded",children:[(0,n.jsx)("div",{className:"flex items-center justify-center px-2 bg-gray-600 text-lg",children:(0,n.jsx)(v.Z,{className:"text-white"})}),(0,n.jsx)("div",{className:"flex items-center justify-center px-3 bg-gray-100 text-xs rounded-tr rounded-br dark:text-gray-800 truncate",children:l.select_param})]}):(0,n.jsx)(N,{convUid:s,chatMode:a,onComplete:t})})},k=l(23430),S=l(62418),P=l(2093),E=function(){let{scene:e,dbParam:t,setDbParam:l}=(0,u.useContext)(r.p),[a,s]=(0,u.useState)([]);(0,P.Z)(async()=>{let[,t]=await (0,x.Vx)((0,x.vD)(e));s(null!=t?t:[])},[e]);let i=(0,u.useMemo)(()=>{var e;return null===(e=a.map)||void 0===e?void 0:e.call(a,e=>({name:e.param,...S.S$[e.type]}))},[a]);return((0,u.useEffect)(()=>{(null==i?void 0:i.length)&&!t&&l(i[0].name)},[i,l,t]),null==i?void 0:i.length)?(0,n.jsx)(h.default,{value:t,className:"w-36",onChange:e=>{l(e)},children:i.map(e=>(0,n.jsxs)(h.default.Option,{children:[(0,n.jsx)(k.Z,{width:24,height:24,src:e.icon,label:e.label,className:"w-[1.5em] h-[1.5em] mr-1 inline-block mt-[-4px]"}),e.name]},e.name))}):null},R=function(e){let{refreshHistory:t,modelChange:l}=e,{scene:s,refreshDialogList:i}=(0,u.useContext)(r.p);return(0,n.jsxs)("div",{className:"w-full py-2 px-4 md:px-4 flex flex-wrap items-center justify-center gap-1 md:gap-4",children:[(0,n.jsx)(a.Z,{onChange:l}),(0,n.jsx)(E,{}),"chat_excel"===s&&(0,n.jsx)(C,{onComplete:()=>{null==i||i(),null==t||t()}}),"chat_agent"===s&&(0,n.jsx)(p,{}),(0,n.jsx)(d,{})]})}},81799:function(e,t,l){"use strict";l.d(t,{A:function(){return x}});var n=l(85893),r=l(41468),a=l(19284),s=l(34041),i=l(25675),o=l.n(i),c=l(67294),u=l(67421);let d="/models/huggingface.svg";function x(e,t){var l,r;let{width:s,height:i}=t||{};return e?(0,n.jsx)(o(),{className:"rounded-full border border-gray-200 object-contain bg-white inline-block",width:s||24,height:i||24,src:(null===(l=a.Hf[e])||void 0===l?void 0:l.icon)||d,alt:"llm"},(null===(r=a.Hf[e])||void 0===r?void 0:r.icon)||d):null}t.Z=function(e){let{onChange:t}=e,{t:l}=(0,u.$G)(),{modelList:i,model:o}=(0,c.useContext)(r.p);return!i||i.length<=0?null:(0,n.jsx)(s.default,{value:o,placeholder:l("choose_model"),className:"w-52",onChange:e=>{null==t||t(e)},children:i.map(e=>{var t;return(0,n.jsx)(s.default.Option,{children:(0,n.jsxs)("div",{className:"flex items-center",children:[x(e),(0,n.jsx)("span",{className:"ml-2",children:(null===(t=a.Hf[e])||void 0===t?void 0:t.label)||e})]})},e)})})}},91085:function(e,t,l){"use strict";var n=l(85893),r=l(32983),a=l(14726),s=l(93967),i=l.n(s),o=l(67421);t.Z=function(e){let{className:t,error:l,description:s,refresh:c}=e,{t:u}=(0,o.$G)();return(0,n.jsx)(r.Z,{image:"/empty.png",imageStyle:{width:320,height:196,margin:"0 auto",maxWidth:"100%",maxHeight:"100%"},className:i()("flex items-center justify-center flex-col h-full w-full",t),description:l?(0,n.jsx)(a.ZP,{type:"primary",onClick:c,children:u("try_again")}):null!=s?s:u("no_data")})}},45247:function(e,t,l){"use strict";var n=l(85893),r=l(50888);t.Z=function(e){let{visible:t}=e;return t?(0,n.jsx)("div",{className:"absolute w-full h-full top-0 left-0 flex justify-center items-center z-10 bg-white dark:bg-black bg-opacity-50 dark:bg-opacity-50 backdrop-blur-sm text-3xl animate-fade animate-duration-200",children:(0,n.jsx)(r.Z,{})}):null}},2440:function(e,t,l){"use strict";var n=l(25519);t.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(n.C9))&&void 0!==e?e:"")}},23293:function(){}}]); \ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/8624.e1bf79b660fa31a4.js b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/8624.e1bf79b660fa31a4.js new file mode 100644 index 000000000..6b4f52f3c --- /dev/null +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/8624.e1bf79b660fa31a4.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8624],{8334:function(e,t,l){"use strict";l.r(t),l.d(t,{default:function(){return e_}});var n=l(85893),r=l(41468),a=l(76212),s=l(43446),i=l(62418),o=l(2093),c=l(93967),u=l.n(c),d=l(39332),x=l(67294),m=l(13768),h=l(91085),f=l(45247),p=()=>{let{history:e,setHistory:t,chatId:l,model:n,docId:i}=(0,x.useContext)(r.p),{chat:o}=(0,s.Z)({queryAgentURL:"/knowledge/document/summary"}),c=(0,x.useCallback)(async e=>{let[,r]=await (0,a.Vx)((0,a.$i)(l)),s=[...r,{role:"human",context:"",model_name:n,order:0,time_stamp:0},{role:"view",context:"",model_name:n,order:0,time_stamp:0,retry:!0}],c=s.length-1;t([...s]),await o({data:{doc_id:e||i,model_name:n},chatId:l,onMessage:e=>{s[c].context=e,t([...s])}})},[e,n,i,l]);return c},v=l(87740),g=l(57132),j=l(66478),b=l(14553),w=l(45360),y=l(83062),_=l(85576),Z=l(20640),N=l.n(Z),C=l(96486),k=l(67421),S=l(27496),P=l(25278),E=l(14726),R=l(11163),O=l(82353),D=l(1051);function F(e){let{document:t}=e;switch(t.status){case"RUNNING":return(0,n.jsx)(O.Rp,{});case"FINISHED":default:return(0,n.jsx)(O.s2,{});case"FAILED":return(0,n.jsx)(D.Z,{})}}function M(e){let{documents:t,dbParam:l}=e,r=(0,R.useRouter)(),a=e=>{r.push("/knowledge/chunk/?spaceName=".concat(l,"&id=").concat(e))};return(null==t?void 0:t.length)?(0,n.jsx)("div",{className:"absolute flex overflow-scroll h-12 top-[-35px] w-full z-10",children:t.map(e=>{let t;switch(e.status){case"RUNNING":t="#2db7f5";break;case"FINISHED":default:t="#87d068";break;case"FAILED":t="#f50"}return(0,n.jsx)(y.Z,{title:e.result,children:(0,n.jsxs)(E.ZP,{style:{color:t},onClick:()=>{a(e.id)},className:"shrink flex items-center mr-3",children:[(0,n.jsx)(F,{document:e}),e.doc_name]})},e.id)})}):null}var I=l(5392),L=l(23799);function U(e){let{dbParam:t,setDocId:l}=(0,x.useContext)(r.p),{onUploadFinish:s,handleFinish:i}=e,o=p(),[c,u]=(0,x.useState)(!1),d=async e=>{u(!0);let n=new FormData;n.append("doc_name",e.file.name),n.append("doc_file",e.file),n.append("doc_type","DOCUMENT");let r=await (0,a.Vx)((0,a.iG)(t||"default",n));if(!r[1]){u(!1);return}l(r[1]),s(),u(!1),null==i||i(!0),await o(r[1]),null==i||i(!1)};return(0,n.jsx)(L.default,{customRequest:d,showUploadList:!1,maxCount:1,multiple:!1,className:"absolute z-10 top-2 left-2",accept:".pdf,.ppt,.pptx,.xls,.xlsx,.doc,.docx,.txt,.md",children:(0,n.jsx)(E.ZP,{loading:c,size:"small",shape:"circle",icon:(0,n.jsx)(I.Z,{})})})}var V=l(86600),$=function(e){let{children:t,loading:l,onSubmit:s,handleFinish:i,placeholder:o,...c}=e,{dbParam:u,scene:d}=(0,x.useContext)(r.p),[m,h]=(0,x.useState)(""),f=(0,x.useMemo)(()=>"chat_knowledge"===d,[d]),[p,v]=(0,x.useState)([]),g=(0,x.useRef)(0);async function j(){if(!u)return null;let[e,t]=await (0,a.Vx)((0,a._Q)(u,{page:1,page_size:g.current}));v((null==t?void 0:t.data)||[])}(0,x.useEffect)(()=>{f&&j()},[u]);let b=async()=>{g.current+=1,await j()};return(0,n.jsxs)("div",{className:"flex-1 relative",children:[(0,n.jsx)(M,{documents:p,dbParam:u}),f&&(0,n.jsx)(U,{handleFinish:i,onUploadFinish:b,className:"absolute z-10 top-2 left-2"}),(0,n.jsx)(P.default.TextArea,{className:"flex-1 ".concat(f?"pl-10":""," pr-10"),size:"large",value:m,autoSize:{minRows:1,maxRows:4},...c,onPressEnter:e=>{if(m.trim()&&13===e.keyCode){if(e.shiftKey){e.preventDefault(),h(e=>e+"\n");return}s(m),setTimeout(()=>{h("")},0)}},onChange:e=>{if("number"==typeof c.maxLength){h(e.target.value.substring(0,c.maxLength));return}h(e.target.value)},placeholder:o}),(0,n.jsx)(E.ZP,{className:"ml-2 flex items-center justify-center absolute right-0 bottom-0",size:"large",type:"text",loading:l,icon:(0,n.jsx)(S.Z,{}),onClick:()=>{s(m)}}),(0,n.jsx)(V.Z,{submit:e=>{h(m+e)}}),t]})},H=l(32975),z=l(28516),A=(0,x.memo)(function(e){var t;let{content:l}=e,{scene:a}=(0,x.useContext)(r.p),s="view"===l.role;return(0,n.jsx)("div",{className:u()("relative w-full p-2 md:p-4 rounded-xl break-words",{"bg-white dark:bg-[#232734]":s,"lg:w-full xl:w-full pl-0":["chat_with_db_execute","chat_dashboard"].includes(a)}),children:s?(0,n.jsx)(H.Z,{components:z.ZP,...z.dx,children:(0,z.CE)(null==(t=l.context)?void 0:t.replace(/]+)>/gi,"
").replace(/]+)>/gi,""))}):(0,n.jsx)("div",{className:"",children:l.context})})}),J=l(24019),G=l(50888),T=l(97937),q=l(63606),B=l(50228),W=l(87547),Q=l(89035),K=l(66309),X=l(81799);let Y={todo:{bgClass:"bg-gray-500",icon:(0,n.jsx)(J.Z,{className:"ml-2"})},runing:{bgClass:"bg-blue-500",icon:(0,n.jsx)(G.Z,{className:"ml-2"})},failed:{bgClass:"bg-red-500",icon:(0,n.jsx)(T.Z,{className:"ml-2"})},completed:{bgClass:"bg-green-500",icon:(0,n.jsx)(q.Z,{className:"ml-2"})}};function ee(e){return e.replace(/]+)>/gi,"
").replace(/]+)>/gi,"")}var et=(0,x.memo)(function(e){let{children:t,content:l,isChartChat:a,onLinkClick:s}=e,{scene:i}=(0,x.useContext)(r.p),{context:o,model_name:c,role:d}=l,m="view"===d,{relations:h,value:f,cachePluginContext:p}=(0,x.useMemo)(()=>{if("string"!=typeof o)return{relations:[],value:"",cachePluginContext:[]};let[e,t]=o.split(" relations:"),l=t?t.split(","):[],n=[],r=0,a=e.replace(/]*>[^<]*<\/dbgpt-view>/gi,e=>{try{var t;let l=e.replaceAll("\n","\\n").replace(/<[^>]*>|<\/[^>]*>/gm,""),a=JSON.parse(l),s="".concat(r,"");return n.push({...a,result:ee(null!==(t=a.result)&&void 0!==t?t:"")}),r++,s}catch(t){return console.log(t.message,t),e}});return{relations:l,cachePluginContext:n,value:a}},[o]),v=(0,x.useMemo)(()=>({"custom-view"(e){var t;let{children:l}=e,r=+l.toString();if(!p[r])return l;let{name:a,status:s,err_msg:i,result:o}=p[r],{bgClass:c,icon:d}=null!==(t=Y[s])&&void 0!==t?t:{};return(0,n.jsxs)("div",{className:"bg-white dark:bg-[#212121] rounded-lg overflow-hidden my-2 flex flex-col lg:max-w-[80%]",children:[(0,n.jsxs)("div",{className:u()("flex px-4 md:px-6 py-2 items-center text-white text-sm",c),children:[a,d]}),o?(0,n.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm",children:(0,n.jsx)(H.Z,{components:z.ZP,...z.dx,children:(0,z.CE)(null!=o?o:"")})}):(0,n.jsx)("div",{className:"px-4 md:px-6 py-4 text-sm",children:i})]})}}),[o,p]);return m||o?(0,n.jsxs)("div",{className:u()("relative flex flex-wrap w-full p-2 md:p-4 rounded-xl break-words",{"bg-white dark:bg-[#232734]":m,"lg:w-full xl:w-full pl-0":["chat_with_db_execute","chat_dashboard"].includes(i)}),children:[(0,n.jsx)("div",{className:"mr-2 flex flex-shrink-0 items-center justify-center h-7 w-7 rounded-full text-lg sm:mr-4",children:m?(0,X.A)(c)||(0,n.jsx)(B.Z,{}):(0,n.jsx)(W.Z,{})}),(0,n.jsxs)("div",{className:"flex-1 overflow-hidden items-center text-md leading-8 pb-2",children:[!m&&"string"==typeof o&&o,m&&a&&"object"==typeof o&&(0,n.jsxs)("div",{children:["[".concat(o.template_name,"]: "),(0,n.jsxs)("span",{className:"text-theme-primary cursor-pointer",onClick:s,children:[(0,n.jsx)(Q.Z,{className:"mr-1"}),o.template_introduce||"More Details"]})]}),m&&"string"==typeof o&&(0,n.jsx)(H.Z,{components:{...z.ZP,...v},...z.dx,children:(0,z.CE)(ee(f))}),!!(null==h?void 0:h.length)&&(0,n.jsx)("div",{className:"flex flex-wrap mt-2",children:null==h?void 0:h.map((e,t)=>(0,n.jsx)(K.Z,{color:"#108ee9",children:e},e+t))})]}),t]}):(0,n.jsx)("div",{className:"h-12"})}),el=l(59301),en=l(41132),er=l(74312),ea=l(3414),es=l(72868),ei=l(59562),eo=l(25359),ec=l(7203),eu=l(48665),ed=l(26047),ex=l(99056),em=l(57814),eh=l(64415),ef=l(21694),ep=l(40911),ev=e=>{var t;let{conv_index:l,question:s,knowledge_space:i,select_param:o}=e,{t:c}=(0,k.$G)(),{chatId:u}=(0,x.useContext)(r.p),[d,m]=(0,x.useState)(""),[h,f]=(0,x.useState)(4),[p,v]=(0,x.useState)(""),g=(0,x.useRef)(null),[_,Z]=w.ZP.useMessage(),N=(0,x.useCallback)((e,t)=>{t?(0,a.Vx)((0,a.Eb)(u,l)).then(e=>{var t,l,n,r;let a=null!==(t=e[1])&&void 0!==t?t:{};m(null!==(l=a.ques_type)&&void 0!==l?l:""),f(parseInt(null!==(n=a.score)&&void 0!==n?n:"4")),v(null!==(r=a.messages)&&void 0!==r?r:"")}).catch(e=>{console.log(e)}):(m(""),f(4),v(""))},[u,l]),C=(0,er.Z)(ea.Z)(e=>{let{theme:t}=e;return{backgroundColor:"dark"===t.palette.mode?"#FBFCFD":"#0E0E10",...t.typography["body-sm"],padding:t.spacing(1),display:"flex",alignItems:"center",justifyContent:"center",borderRadius:4,width:"100%",height:"100%"}});return(0,n.jsxs)(es.L,{onOpenChange:N,children:[Z,(0,n.jsx)(y.Z,{title:c("Rating"),children:(0,n.jsx)(ei.Z,{slots:{root:b.ZP},slotProps:{root:{variant:"plain",color:"primary"}},sx:{borderRadius:40},children:(0,n.jsx)(el.Z,{})})}),(0,n.jsxs)(eo.Z,{children:[(0,n.jsx)(ec.Z,{disabled:!0,sx:{minHeight:0}}),(0,n.jsx)(eu.Z,{sx:{width:"100%",maxWidth:350,display:"grid",gap:3,padding:1},children:(0,n.jsx)("form",{onSubmit:e=>{e.preventDefault(),(0,a.Vx)((0,a.VC)({data:{conv_uid:u,conv_index:l,question:s,knowledge_space:i,score:h,ques_type:d,messages:p}})).then(e=>{_.open({type:"success",content:"save success"})}).catch(e=>{_.open({type:"error",content:"save error"})})},children:(0,n.jsxs)(ed.Z,{container:!0,spacing:.5,columns:13,sx:{flexGrow:1},children:[(0,n.jsx)(ed.Z,{xs:3,children:(0,n.jsx)(C,{children:c("Q_A_Category")})}),(0,n.jsx)(ed.Z,{xs:10,children:(0,n.jsx)(ex.Z,{action:g,value:d,placeholder:"Choose one…",onChange:(e,t)=>m(null!=t?t:""),...d&&{endDecorator:(0,n.jsx)(b.ZP,{size:"sm",variant:"plain",color:"neutral",onMouseDown:e=>{e.stopPropagation()},onClick:()=>{var e;m(""),null===(e=g.current)||void 0===e||e.focusVisible()},children:(0,n.jsx)(en.Z,{})}),indicator:null},sx:{width:"100%"},children:o&&(null===(t=Object.keys(o))||void 0===t?void 0:t.map(e=>(0,n.jsx)(em.Z,{value:e,children:o[e]},e)))})}),(0,n.jsx)(ed.Z,{xs:3,children:(0,n.jsx)(C,{children:(0,n.jsx)(y.Z,{title:(0,n.jsx)(eu.Z,{children:(0,n.jsx)("div",{children:c("feed_back_desc")})}),variant:"solid",placement:"left",children:c("Q_A_Rating")})})}),(0,n.jsx)(ed.Z,{xs:10,sx:{pl:0,ml:0},children:(0,n.jsx)(eh.Z,{"aria-label":"Custom",step:1,min:0,max:5,valueLabelFormat:function(e){return({0:c("Lowest"),1:c("Missed"),2:c("Lost"),3:c("Incorrect"),4:c("Verbose"),5:c("Best")})[e]},valueLabelDisplay:"on",marks:[{value:0,label:"0"},{value:1,label:"1"},{value:2,label:"2"},{value:3,label:"3"},{value:4,label:"4"},{value:5,label:"5"}],sx:{width:"90%",pt:3,m:2,ml:1},onChange:e=>{var t;return f(null===(t=e.target)||void 0===t?void 0:t.value)},value:h})}),(0,n.jsx)(ed.Z,{xs:13,children:(0,n.jsx)(ef.Z,{placeholder:c("Please_input_the_text"),value:p,onChange:e=>v(e.target.value),minRows:2,maxRows:4,endDecorator:(0,n.jsx)(ep.ZP,{level:"body-xs",sx:{ml:"auto"},children:c("input_count")+p.length+c("input_unit")}),sx:{width:"100%",fontSize:14}})}),(0,n.jsx)(ed.Z,{xs:13,children:(0,n.jsx)(j.Z,{type:"submit",variant:"outlined",sx:{width:"100%",height:"100%"},children:c("submit")})})]})})})]})]})},eg=l(74434),ej=e=>{var t,l;let{messages:s,onSubmit:c,onFormatContent:m}=e,{dbParam:f,currentDialogue:Z,scene:S,model:P,refreshDialogList:E,chatId:R,agent:O,docId:D}=(0,x.useContext)(r.p),{t:F}=(0,k.$G)(),M=(0,d.useSearchParams)(),I=null!==(t=M&&M.get("select_param"))&&void 0!==t?t:"",L=null!==(l=M&&M.get("spaceNameOriginal"))&&void 0!==l?l:"",[U,V]=(0,x.useState)(!1),[H,z]=(0,x.useState)(!1),[J,G]=(0,x.useState)(s),[T,q]=(0,x.useState)(""),[B,W]=(0,x.useState)(),Q=(0,x.useRef)(null),K=(0,x.useMemo)(()=>"chat_dashboard"===S,[S]),Y=p(),ee=(0,x.useMemo)(()=>{switch(S){case"chat_agent":return O;case"chat_excel":return null==Z?void 0:Z.select_param;case"chat_flow":return I;default:return L||f}},[S,O,Z,f,L,I]),el=async e=>{if(!U&&e.trim()){if("chat_agent"===S&&!O){w.ZP.warning(F("choice_agent_tip"));return}try{V(!0);let t=localStorage.getItem("dbgpt_prompt_code_".concat(R)),l={select_param:null!=ee?ee:""};t&&(l.prompt_code=t,localStorage.removeItem("dbgpt_prompt_code_".concat(R))),await c(e,l)}finally{V(!1)}}},en=(0,x.useCallback)(e=>K&&m&&"string"==typeof e?m(e):e,[K,m]),[er,ea]=w.ZP.useMessage(),es=async e=>{let t=K&&m&&"string"==typeof e?m(e):e,l=null==t?void 0:t.replace(/\trelations:.*/g,""),n=N()(l);n?l?er.open({type:"success",content:F("copy_success")}):er.open({type:"warning",content:F("copy_nothing")}):er.open({type:"error",content:F("copy_failed")})},ei=async()=>{!U&&D&&(V(!0),await Y(D),V(!1))};(0,o.Z)(async()=>{let e=(0,i.a_)();e&&e.id===R&&(await el(e.message),E(),localStorage.removeItem(i.rU))},[R]),(0,x.useEffect)(()=>{let e=s;K&&(e=(0,C.cloneDeep)(s).map(e=>{if((null==e?void 0:e.role)==="view"&&"string"==typeof(null==e?void 0:e.context))try{e.context=JSON.parse(e.context)}catch(t){m&&(e.context=en(e.context))}return e})),G(e.filter(e=>["view","human"].includes(e.role)))},[K,s,m,en]),(0,x.useEffect)(()=>{(0,a.Vx)((0,a.Lu)()).then(e=>{var t;W(null!==(t=e[1])&&void 0!==t?t:{})}).catch(e=>{console.log(e)})},[]);let eo=(0,x.useRef)(!1),ec=(0,x.useRef)(0),eu=(0,x.useRef)(0),ed=(0,x.useRef)(!1),ex=(0,x.useRef)(null);(0,x.useEffect)(()=>{0===ec.current&&(ec.current=0)},[]);let em=(0,x.useCallback)(()=>{if(Q.current){let e=Q.current,{scrollTop:t,scrollHeight:l,clientHeight:n}=e,r=t+n>=l-5,a=eo.current;eo.current=!r,ed.current&&!r&&a!==eo.current&&(ed.current=!1,ex.current&&(clearTimeout(ex.current),ex.current=null))}},[]),eh=(0,x.useCallback)(()=>{if(!Q.current)return;let e=Q.current;e.scrollTo({top:e.scrollHeight,behavior:"instant"})},[]);return(0,x.useEffect)(()=>{if(!Q.current)return;let e=Q.current,t=J.length,l=t>ec.current;if(l){ex.current&&clearTimeout(ex.current),ed.current=!0,eo.current=!1,eh(),ec.current=t,eu.current=0,ex.current=setTimeout(()=>{ed.current=!1},3e3);return}if(ed.current){let t=e.scrollHeight;0===eu.current&&(eu.current=t);let l=t-eu.current;l>0&&(eh(),eu.current=t,ex.current&&clearTimeout(ex.current),ex.current=setTimeout(()=>{ed.current=!1},3e3))}else if(!eo.current){let t=e.scrollHeight,l=t-eu.current;l>0&&(eh(),eu.current=t)}},[J,S,eh]),(0,x.useEffect)(()=>{let e=Q.current;if(e)return e.addEventListener("scroll",em),()=>{e.removeEventListener("scroll",em),ex.current&&(clearTimeout(ex.current),ex.current=null)}},[em]),(0,n.jsxs)(n.Fragment,{children:[ea,(0,n.jsx)("div",{ref:Q,className:u()("flex flex-1 overflow-y-auto w-full flex-col",{"h-full":"chat_dashboard"!==S,"flex-1 min-h-0":"chat_dashboard"===S}),children:(0,n.jsx)("div",{className:"flex items-center flex-col text-sm leading-6 text-slate-900 dark:text-slate-300 sm:text-base sm:leading-7",children:J.length?J.map((e,t)=>{var l;return"chat_agent"===S?(0,n.jsx)(A,{content:e},t):(0,n.jsx)(et,{content:e,isChartChat:K,onLinkClick:()=>{z(!0),q(JSON.stringify(null==e?void 0:e.context,null,2))},children:"view"===e.role&&(0,n.jsxs)("div",{className:"flex w-full border-t border-gray-200 dark:border-theme-dark",children:["chat_knowledge"===S&&e.retry?(0,n.jsxs)(j.Z,{onClick:ei,slots:{root:b.ZP},slotProps:{root:{variant:"plain",color:"primary"}},children:[(0,n.jsx)(v.Z,{}),"\xa0",(0,n.jsx)("span",{className:"text-sm",children:F("Retry")})]}):null,(0,n.jsxs)("div",{className:"flex w-full flex-row-reverse",children:[(0,n.jsx)(ev,{select_param:B,conv_index:Math.ceil((t+1)/2),question:null===(l=null==J?void 0:J.filter(t=>(null==t?void 0:t.role)==="human"&&(null==t?void 0:t.order)===e.order)[0])||void 0===l?void 0:l.context,knowledge_space:L||f||""}),(0,n.jsx)(y.Z,{title:F("Copy_Btn"),children:(0,n.jsx)(j.Z,{onClick:()=>es(null==e?void 0:e.context),slots:{root:b.ZP},slotProps:{root:{variant:"plain",color:"primary"}},sx:{borderRadius:40},children:(0,n.jsx)(g.Z,{})})})]})]})},t)}):(0,n.jsx)(h.Z,{description:"Start a conversation"})})}),(0,n.jsx)("div",{className:u()("relative sticky bottom-0 bg-theme-light dark:bg-theme-dark after:absolute after:-top-8 after:h-8 after:w-full after:bg-gradient-to-t after:from-theme-light after:to-transparent dark:after:from-theme-dark",{"cursor-not-allowed":"chat_excel"===S&&!(null==Z?void 0:Z.select_param)}),children:(0,n.jsxs)("div",{className:"flex flex-wrap w-full py-2 sm:pt-6 sm:pb-10 items-center",children:[P&&(0,n.jsx)("div",{className:"mr-2 flex",children:(0,X.A)(P)}),(0,n.jsx)($,{loading:U,onSubmit:el,handleFinish:V})]})}),(0,n.jsx)(_.default,{title:"JSON Editor",open:H,width:"60%",cancelButtonProps:{hidden:!0},onOk:()=>{z(!1)},onCancel:()=>{z(!1)},children:(0,n.jsx)(eg.Z,{className:"w-full h-[500px]",language:"json",value:T})})]})},eb=l(34625);let ew=e=>{if("string"!=typeof e)return e;if(e.startsWith("```vis-thinking")||e.includes("```vis-thinking")){let t=e.indexOf('{"');if(-1!==t){let l=e.substring(t);try{return JSON.parse(l)}catch(t){let e=l.replace(/```$/g,"").trim();try{return JSON.parse(e)}catch(e){return console.error("Error parsing cleaned JSON:",e),null}}}}try{return"string"==typeof e?JSON.parse(e):e}catch(t){return console.log("Not JSON format or vis-thinking format, returning original content"),e}},ey=e=>{if("string"!=typeof e)return e;if(e.startsWith("```vis-thinking")||e.includes("```vis-thinking")){let t=e.indexOf("```vis-thinking"),l=t+15,n=e.indexOf("```",l);if(-1!==n)return e.substring(t,n+3)}return e};var e_=()=>{var e;let t=(0,d.useSearchParams)(),{scene:l,chatId:c,model:p,agent:v,setModel:g,history:j,setHistory:b}=(0,x.useContext)(r.p),{chat:w}=(0,s.Z)({}),y=null!==(e=t&&t.get("initMessage"))&&void 0!==e?e:"",[_,Z]=(0,x.useState)(!1),[N,C]=(0,x.useState)(),k=async()=>{Z(!0);let[,e]=await (0,a.Vx)((0,a.$i)(c));b(null!=e?e:[]),Z(!1)},S=e=>{var t;let l=null===(t=e[e.length-1])||void 0===t?void 0:t.context;if(l)try{let e=ew(l),t="object"==typeof e?e:"string"==typeof l?JSON.parse(l):l;C((null==t?void 0:t.template_name)==="report"?null==t?void 0:t.charts:void 0)}catch(e){console.log(e),C([])}};(0,o.Z)(async()=>{let e=(0,i.a_)();e&&e.id===c||await k()},[y,c]),(0,x.useEffect)(()=>{var e,t;if(!j.length)return;let l=null===(e=null===(t=j.filter(e=>"view"===e.role))||void 0===t?void 0:t.slice(-1))||void 0===e?void 0:e[0];(null==l?void 0:l.model_name)&&g(l.model_name),S(j)},[j.length]),(0,x.useEffect)(()=>()=>{b([])},[]);let P=(0,x.useCallback)((e,t)=>new Promise(n=>{let r=[...j,{role:"human",context:e,model_name:p,order:0,time_stamp:0},{role:"view",context:"",model_name:p,order:0,time_stamp:0}],a=r.length-1;b([...r]),w({data:{...t,chat_mode:l||"chat_normal",model_name:p,user_input:e},chatId:c,onMessage:e=>{(null==t?void 0:t.incremental)?r[a].context+=e:r[a].context=e,b([...r])},onDone:()=>{S(r),n()},onClose:()=>{S(r),n()},onError:e=>{r[a].context=e,b([...r]),n()}})}),[j,w,c,p,v,l]);return(0,n.jsxs)("div",{className:"flex flex-col h-screen w-full overflow-y-auto",children:[(0,n.jsx)(f.Z,{visible:_}),(0,n.jsx)("div",{className:"flex-none",children:(0,n.jsx)(eb.Z,{refreshHistory:k,modelChange:e=>{g(e)}})}),(0,n.jsxs)("div",{className:"flex-auto flex overflow-y-auto",children:[!!(null==N?void 0:N.length)&&(0,n.jsx)("div",{className:u()("overflow-auto",{"w-full h-1/2 md:h-full md:w-3/4 pb-4 md:pr-4":"chat_dashboard"===l}),children:(0,n.jsx)(m.ZP,{chartsData:N})}),!(null==N?void 0:N.length)&&"chat_dashboard"===l&&(0,n.jsx)("div",{className:u()("flex items-center justify-center",{"w-full h-1/2 md:h-full md:w-3/4":"chat_dashboard"===l}),children:(0,n.jsx)(h.Z,{})}),(0,n.jsx)("div",{className:u()("flex flex-col",{"w-full h-1/2 md:h-full md:w-1/4 border-t md:border-t-0 md:border-l dark:border-gray-800 overflow-y-auto":"chat_dashboard"===l,"w-full h-full px-4 lg:px-8 overflow-hidden":"chat_dashboard"!==l}),children:(0,n.jsx)("div",{className:u()("h-full",{"overflow-y-auto":"chat_dashboard"!==l,"flex flex-col":"chat_dashboard"===l}),children:(0,n.jsx)(ej,{messages:j,onSubmit:P,onFormatContent:ey})})})]})]})}},34625:function(e,t,l){"use strict";l.d(t,{Z:function(){return R}});var n=l(85893),r=l(41468),a=l(81799),s=l(82353),i=l(16165),o=l(96991),c=l(78045),u=l(67294);function d(){let{isContract:e,setIsContract:t,scene:l}=(0,u.useContext)(r.p),a=l&&["chat_with_db_execute","chat_dashboard"].includes(l);return a?(0,n.jsxs)(c.ZP.Group,{value:e,defaultValue:!0,buttonStyle:"solid",onChange:()=>{t(!e)},children:[(0,n.jsxs)(c.ZP.Button,{value:!1,children:[(0,n.jsx)(i.Z,{component:s.ig,className:"mr-1"}),"Preview"]}),(0,n.jsxs)(c.ZP.Button,{value:!0,children:[(0,n.jsx)(o.Z,{className:"mr-1"}),"Editor"]})]}):null}l(23293);var x=l(76212),m=l(65654),h=l(34041),f=l(67421),p=function(){let{t:e}=(0,f.$G)(),{agent:t,setAgent:l}=(0,u.useContext)(r.p),{data:a=[]}=(0,m.Z)(async()=>{let[,e]=await (0,x.Vx)((0,x.H4)());return null!=e?e:[]});return(0,n.jsx)(h.default,{className:"w-60",value:t,placeholder:e("Select_Plugins"),options:a.map(e=>({label:e.app_name,value:e.app_code})),allowClear:!0,onChange:e=>{null==l||l(e)}})},v=l(29158),g=l(57249),j=l(49591),b=l(88484),w=l(45360),y=l(83062),_=l(23799),Z=l(14726),N=function(e){var t;let{convUid:l,chatMode:a,onComplete:s,...i}=e,[o,c]=(0,u.useState)(!1),[d,m]=w.ZP.useMessage(),[h,f]=(0,u.useState)([]),[p,N]=(0,u.useState)(),{model:C}=(0,u.useContext)(r.p),{temperatureValue:k,maxNewTokensValue:S}=(0,u.useContext)(g.ChatContentContext),P=async e=>{var t;if(!e){w.ZP.error("Please select the *.(csv|xlsx|xls) file");return}if(!/\.(csv|xlsx|xls)$/.test(null!==(t=e.file.name)&&void 0!==t?t:"")){w.ZP.error("File type must be csv, xlsx or xls");return}f([e.file])},E=async()=>{c(!0);try{let e=new FormData;e.append("doc_file",h[0]),d.open({content:"Uploading ".concat(h[0].name),type:"loading",duration:0});let[t]=await (0,x.Vx)((0,x.qn)({convUid:l,chatMode:a,data:e,model:C,temperatureValue:k,maxNewTokensValue:S,config:{timeout:36e5,onUploadProgress:e=>{let t=Math.ceil(e.loaded/(e.total||0)*100);N(t)}}}));if(t)return;w.ZP.success("success"),null==s||s()}catch(e){w.ZP.error((null==e?void 0:e.message)||"Upload Error")}finally{c(!1),d.destroy()}};return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"flex items-start gap-2",children:[m,(0,n.jsx)(y.Z,{placement:"bottom",title:"File cannot be changed after upload",children:(0,n.jsx)(_.default,{disabled:o,className:"mr-1",beforeUpload:()=>!1,fileList:h,name:"file",accept:".csv,.xlsx,.xls",multiple:!1,onChange:P,showUploadList:{showDownloadIcon:!1,showPreviewIcon:!1,showRemoveIcon:!1},itemRender:()=>(0,n.jsx)(n.Fragment,{}),...i,children:(0,n.jsx)(Z.ZP,{className:"flex justify-center items-center",type:"primary",disabled:o,icon:(0,n.jsx)(j.Z,{}),children:"Select File"})})}),(0,n.jsx)(Z.ZP,{type:"primary",loading:o,className:"flex justify-center items-center",disabled:!h.length,icon:(0,n.jsx)(b.Z,{}),onClick:E,children:o?100===p?"Analysis":"Uploading":"Upload"}),!!h.length&&(0,n.jsxs)("div",{className:"mt-2 text-gray-500 text-sm flex items-center",onClick:()=>f([]),children:[(0,n.jsx)(v.Z,{className:"mr-2"}),(0,n.jsx)("span",{children:null===(t=h[0])||void 0===t?void 0:t.name})]})]})})},C=function(e){let{onComplete:t}=e,{currentDialogue:l,scene:a,chatId:s}=(0,u.useContext)(r.p);return"chat_excel"!==a?null:(0,n.jsx)("div",{className:"max-w-md h-full relative",children:l?(0,n.jsxs)("div",{className:"flex h-8 overflow-hidden rounded",children:[(0,n.jsx)("div",{className:"flex items-center justify-center px-2 bg-gray-600 text-lg",children:(0,n.jsx)(v.Z,{className:"text-white"})}),(0,n.jsx)("div",{className:"flex items-center justify-center px-3 bg-gray-100 text-xs rounded-tr rounded-br dark:text-gray-800 truncate",children:l.select_param})]}):(0,n.jsx)(N,{convUid:s,chatMode:a,onComplete:t})})},k=l(23430),S=l(62418),P=l(2093),E=function(){let{scene:e,dbParam:t,setDbParam:l}=(0,u.useContext)(r.p),[a,s]=(0,u.useState)([]);(0,P.Z)(async()=>{let[,t]=await (0,x.Vx)((0,x.vD)(e));s(null!=t?t:[])},[e]);let i=(0,u.useMemo)(()=>{var e;return null===(e=a.map)||void 0===e?void 0:e.call(a,e=>({name:e.param,...S.S$[e.type]}))},[a]);return((0,u.useEffect)(()=>{(null==i?void 0:i.length)&&!t&&l(i[0].name)},[i,l,t]),null==i?void 0:i.length)?(0,n.jsx)(h.default,{value:t,className:"w-36",onChange:e=>{l(e)},children:i.map(e=>(0,n.jsxs)(h.default.Option,{children:[(0,n.jsx)(k.Z,{width:24,height:24,src:e.icon,label:e.label,className:"w-[1.5em] h-[1.5em] mr-1 inline-block mt-[-4px]"}),e.name]},e.name))}):null},R=function(e){let{refreshHistory:t,modelChange:l}=e,{scene:s,refreshDialogList:i}=(0,u.useContext)(r.p);return(0,n.jsxs)("div",{className:"w-full py-2 px-4 md:px-4 flex flex-wrap items-center justify-center gap-1 md:gap-4",children:[(0,n.jsx)(a.Z,{onChange:l}),(0,n.jsx)(E,{}),"chat_excel"===s&&(0,n.jsx)(C,{onComplete:()=>{null==i||i(),null==t||t()}}),"chat_agent"===s&&(0,n.jsx)(p,{}),(0,n.jsx)(d,{})]})}},81799:function(e,t,l){"use strict";l.d(t,{A:function(){return x}});var n=l(85893),r=l(41468),a=l(19284),s=l(34041),i=l(25675),o=l.n(i),c=l(67294),u=l(67421);let d="/models/huggingface.svg";function x(e,t){var l,r;let{width:s,height:i}=t||{};return e?(0,n.jsx)(o(),{className:"rounded-full border border-gray-200 object-contain bg-white inline-block",width:s||24,height:i||24,src:(null===(l=a.Hf[e])||void 0===l?void 0:l.icon)||d,alt:"llm"},(null===(r=a.Hf[e])||void 0===r?void 0:r.icon)||d):null}t.Z=function(e){let{onChange:t}=e,{t:l}=(0,u.$G)(),{modelList:i,model:o}=(0,c.useContext)(r.p);return!i||i.length<=0?null:(0,n.jsx)(s.default,{value:o,placeholder:l("choose_model"),className:"w-52",onChange:e=>{null==t||t(e)},children:i.map(e=>{var t;return(0,n.jsx)(s.default.Option,{children:(0,n.jsxs)("div",{className:"flex items-center",children:[x(e),(0,n.jsx)("span",{className:"ml-2",children:(null===(t=a.Hf[e])||void 0===t?void 0:t.label)||e})]})},e)})})}},91085:function(e,t,l){"use strict";var n=l(85893),r=l(32983),a=l(14726),s=l(93967),i=l.n(s),o=l(67421);t.Z=function(e){let{className:t,error:l,description:s,refresh:c}=e,{t:u}=(0,o.$G)();return(0,n.jsx)(r.Z,{image:"/empty.png",imageStyle:{width:320,height:196,margin:"0 auto",maxWidth:"100%",maxHeight:"100%"},className:i()("flex items-center justify-center flex-col h-full w-full",t),description:l?(0,n.jsx)(a.ZP,{type:"primary",onClick:c,children:u("try_again")}):null!=s?s:u("no_data")})}},45247:function(e,t,l){"use strict";var n=l(85893),r=l(50888);t.Z=function(e){let{visible:t}=e;return t?(0,n.jsx)("div",{className:"absolute w-full h-full top-0 left-0 flex justify-center items-center z-10 bg-white dark:bg-black bg-opacity-50 dark:bg-opacity-50 backdrop-blur-sm text-3xl animate-fade animate-duration-200",children:(0,n.jsx)(r.Z,{})}):null}},2440:function(e,t,l){"use strict";var n=l(25519);t.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(n.C9))&&void 0!==e?e:"")}},23293:function(){}}]); \ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/_app-c55d3a6bbd1fd609.js b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/_app-b5031b53afa0df7e.js similarity index 100% rename from packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/_app-c55d3a6bbd1fd609.js rename to packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/_app-b5031b53afa0df7e.js diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/app-6907251258246427.js b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/app-76744771db7dc416.js similarity index 100% rename from packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/app-6907251258246427.js rename to packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/app-76744771db7dc416.js diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/app/extra-d829455fabedb427.js b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/app/extra-16afa89704d3981a.js similarity index 99% rename from packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/app/extra-d829455fabedb427.js rename to packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/app/extra-16afa89704d3981a.js index 60d2877a4..ec9e2b31f 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/app/extra-d829455fabedb427.js +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/app/extra-16afa89704d3981a.js @@ -1,4 +1,4 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[516,9618,6231,8424,5265,2640,3913,952],{11475:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},3089:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"minus-circle",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},27496:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},94668:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},34971:function(e,t){"use strict";t.Z=function(e,t,n){return en?n:e}},24960:function(e,t,n){"use strict";var r=n(44002);t.Z=function(e){return Array.isArray?Array.isArray(e):(0,r.Z)(e,"Array")}},52176:function(e,t,n){"use strict";var r=n(44002);t.Z=function(e){return(0,r.Z)(e,"Boolean")}},55265:function(e,t){"use strict";t.Z=function(e){return"function"==typeof e}},82993:function(e,t){"use strict";t.Z=function(e){return null==e}},23198:function(e,t,n){"use strict";function r(e,t,n){return void 0===n&&(n=1e-5),Math.abs(e-t)1&&(E*=C=Math.sqrt(C),v*=C);var w=E*E,I=v*v,R=(o===l?-1:1)*Math.sqrt(Math.abs((w*I-w*x*x-I*k*k)/(w*x*x+I*k*k)));m=R*E*x/v+(b+T)/2,g=-(R*v)*k/E+(y+S)/2,f=Math.asin(((y-g)/v*1e9>>0)/1e9),h=Math.asin(((S-g)/v*1e9>>0)/1e9),f=bh&&(f-=2*Math.PI),!l&&h>f&&(h-=2*Math.PI)}var N=h-f;if(Math.abs(N)>_){var L=h,D=T,P=S;O=e(T=m+E*Math.cos(h=f+_*(l&&h>f?1:-1)),S=g+v*Math.sin(h),E,v,i,0,l,D,P,[h,L,m,g])}N=h-f;var M=Math.cos(f),F=Math.cos(h),j=Math.tan(N/4),B=4/3*E*j,U=4/3*v*j,G=[b,y],H=[b+B*Math.sin(f),y-U*M],$=[T+B*Math.sin(h),S-U*F],z=[T,S];if(H[0]=2*G[0]-H[0],H[1]=2*G[1]-H[1],d)return H.concat($,z,O);O=H.concat($,z,O);for(var Z=[],W=0,V=O.length;W7){e[n].shift();for(var r=e[n],a=n;r.length;)t[n]="A",e.splice(a+=1,0,["C"].concat(r.splice(0,6)));e.splice(n,1)}}(d,f,b),m=d.length,"Z"===h&&g.push(b),l=(n=d[b]).length,p.x1=+n[l-2],p.y1=+n[l-1],p.x2=+n[l-4]||p.x1,p.y2=+n[l-3]||p.y1}return t?[d,g]:d}},19586:function(e,t,n){"use strict";n.d(t,{R:function(){return r}});var r={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0}},33554:function(e,t,n){"use strict";n.d(t,{z:function(){return r}});var r={x1:0,y1:0,x2:0,y2:0,x:0,y:0,qx:null,qy:null}},54947:function(e,t,n){"use strict";function r(e){return e.map(function(e){return Array.isArray(e)?[].concat(e):e})}n.d(t,{U:function(){return r}})},94918:function(e,t,n){"use strict";n.d(t,{A:function(){return f}});var r=n(97582),a=n(65336),i=n(33554),o=n(60310),s=n(97153),l=n(19586);function c(e){for(var t=e.pathValue[e.segmentStart],n=t.toLowerCase(),r=e.data;r.length>=l.R[n]&&("m"===n&&r.length>2?(e.segments.push([t].concat(r.splice(0,2))),n="l",t="m"===t?"l":"L"):e.segments.push([t].concat(r.splice(0,l.R[n]))),l.R[n]););}function u(e){return e>=48&&e<=57}function d(e){for(var t,n=e.pathValue,r=e.max;e.index=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].includes(t));)e.index+=1}var p=function(e){this.pathValue=e,this.segments=[],this.max=e.length,this.index=0,this.param=0,this.segmentStart=0,this.data=[],this.err=""};function f(e){if((0,a.y)(e))return[].concat(e);for(var t=function(e){if((0,o.b)(e))return[].concat(e);var t=function(e){if((0,s.n)(e))return[].concat(e);var t=new p(e);for(d(t);t.index0;s-=1){if((32|a)==97&&(3===s||4===s)?function(e){var t=e.index,n=e.pathValue,r=n.charCodeAt(t);if(48===r){e.param=0,e.index+=1;return}if(49===r){e.param=1,e.index+=1;return}e.err='[path-util]: invalid Arc flag "'+n[t]+'", expecting 0 or 1 at index '+t}(e):function(e){var t,n=e.max,r=e.pathValue,a=e.index,i=a,o=!1,s=!1,l=!1,c=!1;if(i>=n){e.err="[path-util]: Invalid path value at index "+i+', "pathValue" is missing param';return}if((43===(t=r.charCodeAt(i))||45===t)&&(i+=1,t=r.charCodeAt(i)),!u(t)&&46!==t){e.err="[path-util]: Invalid path value at index "+i+', "'+r[i]+'" is not a number';return}if(46!==t){if(o=48===t,i+=1,t=r.charCodeAt(i),o&&i=e.max||!((o=n.charCodeAt(e.index))>=48&&o<=57||43===o||45===o||46===o))break}c(e)}(t);return t.err?t.err:t.segments}(e),n=0,r=0,a=0,i=0;return t.map(function(e){var t,o=e.slice(1).map(Number),s=e[0],l=s.toUpperCase();if("M"===s)return n=o[0],r=o[1],a=n,i=r,["M",n,r];if(s!==l)switch(l){case"A":t=[l,o[0],o[1],o[2],o[3],o[4],o[5]+n,o[6]+r];break;case"V":t=[l,o[0]+r];break;case"H":t=[l,o[0]+n];break;default:t=[l].concat(o.map(function(e,t){return e+(t%2?r:n)}))}else t=[l].concat(o);var c=t.length;switch(l){case"Z":n=a,r=i;break;case"H":n=t[1];break;case"V":r=t[1];break;default:n=t[c-2],r=t[c-1],"M"===l&&(a=n,i=r)}return t})}(e),n=(0,r.pi)({},i.z),f=0;f=h[t],m[t]-=g?1:0,g?e.ss:[e.s]}).flat()});return b[0].length===b[1].length?b:e(b[0],b[1],f)}}});var r=n(50944),a=n(51777);function i(e){return e.map(function(e,t,n){var i,o,s,l,c,u,d,p,f,h,m,g,b=t&&n[t-1].slice(-2).concat(e.slice(1)),y=t?(0,a.S)(b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7],b[8],{bbox:!1}).length:0;return g=t?y?(void 0===i&&(i=.5),o=b.slice(0,2),s=b.slice(2,4),l=b.slice(4,6),c=b.slice(6,8),u=(0,r.k)(o,s,i),d=(0,r.k)(s,l,i),p=(0,r.k)(l,c,i),f=(0,r.k)(u,d,i),h=(0,r.k)(d,p,i),m=(0,r.k)(f,h,i),[["C"].concat(u,f,m),["C"].concat(h,p,c)]):[e,e]:[e],{s:e,ss:g,l:y}})}},46516:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var r=n(27872);function a(e){var t,n,a;return t=0,n=0,a=0,(0,r.Y)(e).map(function(e){if("M"===e[0])return t=e[1],n=e[2],0;var r,i,o,s=e.slice(1),l=s[0],c=s[1],u=s[2],d=s[3],p=s[4],f=s[5];return i=t,a=3*((f-(o=n))*(l+u)-(p-i)*(c+d)+c*(i-u)-l*(o-d)+f*(u+i/3)-p*(d+o/3))/20,t=(r=e.slice(-2))[0],n=r[1],a}).reduce(function(e,t){return e+t},0)>=0}},90046:function(e,t,n){"use strict";n.d(t,{r:function(){return i}});var r=n(97582),a=n(10992);function i(e,t,n){return(0,a.s)(e,t,(0,r.pi)((0,r.pi)({},n),{bbox:!1,length:!0})).point}},91952:function(e,t,n){"use strict";n.d(t,{g:function(){return a}});var r=n(58076);function a(e,t){var n,a,i=e.length-1,o=[],s=0,l=(a=(n=e.length)-1,e.map(function(t,r){return e.map(function(t,i){var o=r+i;return 0===i||e[o]&&"M"===e[o][0]?["M"].concat(e[o].slice(-2)):(o>=n&&(o-=a),e[o])})}));return l.forEach(function(n,a){e.slice(1).forEach(function(n,o){s+=(0,r.y)(e[(a+o)%i].slice(-2),t[o%i].slice(-2))}),o[a]=s,s=0}),l[o.indexOf(Math.min.apply(null,o))]}},62436:function(e,t,n){"use strict";n.d(t,{D:function(){return i}});var r=n(97582),a=n(10992);function i(e,t){return(0,a.s)(e,void 0,(0,r.pi)((0,r.pi)({},t),{bbox:!1,length:!0})).length}},60310:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var r=n(97153);function a(e){return(0,r.n)(e)&&e.every(function(e){var t=e[0];return t===t.toUpperCase()})}},65336:function(e,t,n){"use strict";n.d(t,{y:function(){return a}});var r=n(60310);function a(e){return(0,r.b)(e)&&e.every(function(e){var t=e[0];return"ACLMQZ".includes(t)})}},97153:function(e,t,n){"use strict";n.d(t,{n:function(){return a}});var r=n(19586);function a(e){return Array.isArray(e)&&e.every(function(e){var t=e[0].toLowerCase();return r.R[t]===e.length-1&&"achlmqstvz".includes(t)})}},50944:function(e,t,n){"use strict";function r(e,t,n){var r=e[0],a=e[1];return[r+(t[0]-r)*n,a+(t[1]-a)*n]}n.d(t,{k:function(){return r}})},10992:function(e,t,n){"use strict";n.d(t,{s:function(){return c}});var r=n(94918),a=n(50944),i=n(58076);function o(e,t,n,r,o){var s=(0,i.y)([e,t],[n,r]),l={x:0,y:0};if("number"==typeof o){if(o<=0)l={x:e,y:t};else if(o>=s)l={x:n,y:r};else{var c=(0,a.k)([e,t],[n,r],o/s);l={x:c[0],y:c[1]}}}return{length:s,point:l,min:{x:Math.min(e,n),y:Math.min(t,r)},max:{x:Math.max(e,n),y:Math.max(t,r)}}}function s(e,t){var n=e.x,r=e.y,a=t.x,i=t.y,o=Math.sqrt((Math.pow(n,2)+Math.pow(r,2))*(Math.pow(a,2)+Math.pow(i,2)));return(n*i-r*a<0?-1:1)*Math.acos((n*a+r*i)/o)}var l=n(51777);function c(e,t,n){for(var a,c,u,d,p,f,h,m,g,b=(0,r.A)(e),y="number"==typeof t,E=[],v=0,T=0,S=0,_=0,A=[],O=[],k=0,x={x:0,y:0},C=x,w=x,I=x,R=0,N=0,L=b.length;N1&&(b*=m(_),y*=m(_));var A=(Math.pow(b,2)*Math.pow(y,2)-Math.pow(b,2)*Math.pow(S.y,2)-Math.pow(y,2)*Math.pow(S.x,2))/(Math.pow(b,2)*Math.pow(S.y,2)+Math.pow(y,2)*Math.pow(S.x,2)),O=(i!==l?1:-1)*m(A=A<0?0:A),k={x:O*(b*S.y/y),y:O*(-(y*S.x)/b)},x={x:h(E)*k.x-f(E)*k.y+(e+c)/2,y:f(E)*k.x+h(E)*k.y+(t+u)/2},C={x:(S.x-k.x)/b,y:(S.y-k.y)/y},w=s({x:1,y:0},C),I=s(C,{x:(-S.x-k.x)/b,y:(-S.y-k.y)/y});!l&&I>0?I-=2*g:l&&I<0&&(I+=2*g);var R=w+(I%=2*g)*d,N=b*h(R),L=y*f(R);return{x:h(E)*N-f(E)*L+x.x,y:f(E)*N+h(E)*L+x.y}}(e,t,n,r,a,l,c,u,d,w/v)).x,_=h.y,g&&C.push({x:S,y:_}),y&&(A+=(0,i.y)(k,[S,_])),k=[S,_],T&&A>=p&&p>O[2]){var I=(A-p)/(A-O[2]);x={x:k[0]*(1-I)+O[0]*I,y:k[1]*(1-I)+O[1]*I}}O=[S,_,A]}return T&&p>=A&&(x={x:u,y:d}),{length:A,point:x,min:{x:Math.min.apply(null,C.map(function(e){return e.x})),y:Math.min.apply(null,C.map(function(e){return e.y}))},max:{x:Math.max.apply(null,C.map(function(e){return e.x})),y:Math.max.apply(null,C.map(function(e){return e.y}))}}}(E[0],E[1],E[2],E[3],E[4],E[5],E[6],E[7],E[8],(t||0)-R,n||{})).length,x=c.min,C=c.max,w=c.point):"C"===m?(k=(u=(0,l.S)(E[0],E[1],E[2],E[3],E[4],E[5],E[6],E[7],(t||0)-R,n||{})).length,x=u.min,C=u.max,w=u.point):"Q"===m?(k=(d=function(e,t,n,r,a,o,s,l){var c,u=l.bbox,d=void 0===u||u,p=l.length,f=void 0===p||p,h=l.sampleSize,m=void 0===h?10:h,g="number"==typeof s,b=e,y=t,E=0,v=[b,y,0],T=[b,y],S={x:0,y:0},_=[{x:b,y:y}];g&&s<=0&&(S={x:b,y:y});for(var A=0;A<=m;A+=1){if(b=(c=function(e,t,n,r,a,i,o){var s=1-o;return{x:Math.pow(s,2)*e+2*s*o*n+Math.pow(o,2)*a,y:Math.pow(s,2)*t+2*s*o*r+Math.pow(o,2)*i}}(e,t,n,r,a,o,A/m)).x,y=c.y,d&&_.push({x:b,y:y}),f&&(E+=(0,i.y)(T,[b,y])),T=[b,y],g&&E>=s&&s>v[2]){var O=(E-s)/(E-v[2]);S={x:T[0]*(1-O)+v[0]*O,y:T[1]*(1-O)+v[1]*O}}v=[b,y,E]}return g&&s>=E&&(S={x:a,y:o}),{length:E,point:S,min:{x:Math.min.apply(null,_.map(function(e){return e.x})),y:Math.min.apply(null,_.map(function(e){return e.y}))},max:{x:Math.max.apply(null,_.map(function(e){return e.x})),y:Math.max.apply(null,_.map(function(e){return e.y}))}}}(E[0],E[1],E[2],E[3],E[4],E[5],(t||0)-R,n||{})).length,x=d.min,C=d.max,w=d.point):"Z"===m&&(k=(p=o((E=[v,T,S,_])[0],E[1],E[2],E[3],(t||0)-R)).length,x=p.min,C=p.max,w=p.point),y&&R=t&&(I=w),O.push(C),A.push(x),R+=k,v=(f="Z"!==m?g.slice(-2):[S,_])[0],T=f[1];return y&&t>=R&&(I={x:v,y:T}),{length:R,point:I,min:{x:Math.min.apply(null,A.map(function(e){return e.x})),y:Math.min.apply(null,A.map(function(e){return e.y}))},max:{x:Math.max.apply(null,O.map(function(e){return e.x})),y:Math.max.apply(null,O.map(function(e){return e.y}))}}}},51777:function(e,t,n){"use strict";n.d(t,{S:function(){return a}});var r=n(58076);function a(e,t,n,a,i,o,s,l,c,u){var d,p=u.bbox,f=void 0===p||p,h=u.length,m=void 0===h||h,g=u.sampleSize,b=void 0===g?10:g,y="number"==typeof c,E=e,v=t,T=0,S=[E,v,0],_=[E,v],A={x:0,y:0},O=[{x:E,y:v}];y&&c<=0&&(A={x:E,y:v});for(var k=0;k<=b;k+=1){if(E=(d=function(e,t,n,r,a,i,o,s,l){var c=1-l;return{x:Math.pow(c,3)*e+3*Math.pow(c,2)*l*n+3*c*Math.pow(l,2)*a+Math.pow(l,3)*o,y:Math.pow(c,3)*t+3*Math.pow(c,2)*l*r+3*c*Math.pow(l,2)*i+Math.pow(l,3)*s}}(e,t,n,a,i,o,s,l,k/b)).x,v=d.y,f&&O.push({x:E,y:v}),m&&(T+=(0,r.y)(_,[E,v])),_=[E,v],y&&T>=c&&c>S[2]){var x=(T-c)/(T-S[2]);A={x:_[0]*(1-x)+S[0]*x,y:_[1]*(1-x)+S[1]*x}}S=[E,v,T]}return y&&c>=T&&(A={x:s,y:l}),{length:T,point:A,min:{x:Math.min.apply(null,O.map(function(e){return e.x})),y:Math.min.apply(null,O.map(function(e){return e.y}))},max:{x:Math.max.apply(null,O.map(function(e){return e.x})),y:Math.max.apply(null,O.map(function(e){return e.y}))}}}},4503:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function i(e,t,r,i,o){if("function"!=typeof r)throw TypeError("The listener must be a function");var s=new a(r,i||e,o),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function o(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,a=[];if(0===this._eventsCount)return a;for(r in e=this._events)t.call(e,r)&&a.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?a.concat(Object.getOwnPropertySymbols(e)):a},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var a=0,i=r.length,o=Array(i);at.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let o="text/event-stream",s="last-event-id";function l(e,t){var{signal:n,headers:l,onopen:u,onmessage:d,onclose:p,onerror:f,openWhenHidden:h,fetch:m}=t,g=i(t,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((t,i)=>{let b;let y=Object.assign({},l);function E(){b.abort(),document.hidden||O()}y.accept||(y.accept=o),h||document.addEventListener("visibilitychange",E);let v=1e3,T=0;function S(){document.removeEventListener("visibilitychange",E),window.clearTimeout(T),b.abort()}null==n||n.addEventListener("abort",()=>{S(),t()});let _=null!=m?m:window.fetch,A=null!=u?u:c;async function O(){var n,o;b=new AbortController;try{let n,i,l,c;let u=await _(e,Object.assign(Object.assign({},g),{headers:y,signal:b.signal}));await A(u),await r(u.body,(o=function(e,t,n){let r=a(),i=new TextDecoder;return function(o,s){if(0===o.length)null==n||n(r),r=a();else if(s>0){let n=i.decode(o.subarray(0,s)),a=s+(32===o[s+1]?2:1),l=i.decode(o.subarray(a));switch(n){case"data":r.data=r.data?r.data+"\n"+l:l;break;case"event":r.event=l;break;case"id":e(r.id=l);break;case"retry":let c=parseInt(l,10);isNaN(c)||t(r.retry=c)}}}}(e=>{e?y[s]=e:delete y[s]},e=>{v=e},d),c=!1,function(e){void 0===n?(n=e,i=0,l=-1):n=function(e,t){let n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}(n,e);let t=n.length,r=0;for(;i=n?k.text.primary:O.text.primary;return t}let w=({color:e,name:t,mainShade:n=500,lightShade:i=300,darkShade:o=700})=>{if(!(e=(0,r.Z)({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw Error((0,u.Z)(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw Error((0,u.Z)(12,t?` (${t})`:"",JSON.stringify(e.main)));return x(e,"light",i,a),x(e,"dark",o,a),e.contrastText||(e.contrastText=C(e.main)),e},I=(0,d.Z)((0,r.Z)({common:(0,r.Z)({},g),mode:t,primary:w({color:s,name:"primary"}),secondary:w({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:w({color:c,name:"error"}),warning:w({color:h,name:"warning"}),info:w({color:p,name:"info"}),success:w({color:f,name:"success"}),grey:b,contrastThreshold:n,getContrastText:C,augmentColor:w,tonalOffset:a},{dark:k,light:O}[t]),o);return I}(a),R=(0,h.Z)(e),U=(0,d.Z)(R,{mixins:(t=R.breakpoints,(0,r.Z)({toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}}},n)),palette:c,shadows:N.slice(),typography:function(e,t){let n="function"==typeof t?t(e):t,{fontFamily:a=I,fontSize:o=14,fontWeightLight:s=300,fontWeightRegular:l=400,fontWeightMedium:c=500,fontWeightBold:u=700,htmlFontSize:p=16,allVariants:f,pxToRem:h}=n,m=(0,i.Z)(n,C),g=o/14,b=h||(e=>`${e/p*g}rem`),y=(e,t,n,i,o)=>(0,r.Z)({fontFamily:a,fontWeight:e,fontSize:b(t),lineHeight:n},a===I?{letterSpacing:`${Math.round(1e5*(i/t))/1e5}em`}:{},o,f),E={h1:y(s,96,1.167,-1.5),h2:y(s,60,1.2,-.5),h3:y(l,48,1.167,0),h4:y(l,34,1.235,.25),h5:y(l,24,1.334,0),h6:y(c,20,1.6,.15),subtitle1:y(l,16,1.75,.15),subtitle2:y(c,14,1.57,.1),body1:y(l,16,1.5,.15),body2:y(l,14,1.43,.15),button:y(c,14,1.75,.4,w),caption:y(l,12,1.66,.4),overline:y(l,12,2.66,1,w),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,d.Z)((0,r.Z)({htmlFontSize:p,pxToRem:b,fontFamily:a,fontSize:o,fontWeightLight:s,fontWeightRegular:l,fontWeightMedium:c,fontWeightBold:u},E),m,{clone:!1})}(c,s),transitions:function(e){let t=(0,r.Z)({},D,e.easing),n=(0,r.Z)({},P,e.duration);return(0,r.Z)({getAutoHeightDuration:F,create:(e=["all"],r={})=>{let{duration:a=n.standard,easing:o=t.easeInOut,delay:s=0}=r;return(0,i.Z)(r,L),(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof a?a:M(a)} ${o} ${"string"==typeof s?s:M(s)}`).join(",")}},e,{easing:t,duration:n})}(o),zIndex:(0,r.Z)({},j)});return(U=[].reduce((e,t)=>(0,d.Z)(e,t),U=(0,d.Z)(U,l))).unstable_sxConfig=(0,r.Z)({},p.Z,null==l?void 0:l.unstable_sxConfig),U.unstable_sx=function(e){return(0,f.Z)({sx:e,theme:this})},U}();var G="$$material",H=n(58128);let $=(0,H.ZP)({themeId:G,defaultTheme:U,rootShouldForwardProp:e=>"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e&&"classes"!==e});var z=n(1977),Z=n(8027);function W(e){return(0,Z.ZP)("MuiSvgIcon",e)}(0,z.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var V=n(85893);let Y=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],q=e=>{let{color:t,fontSize:n,classes:r}=e,a={root:["root","inherit"!==t&&`color${l(t)}`,`fontSize${l(n)}`]};return(0,s.Z)(a,W,r)},K=$("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${l(n.color)}`],t[`fontSize${l(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,a,i,o,s,l,c,u,d,p,f,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(a=e.transitions)||null==(a=a.duration)?void 0:a.shorter}),fontSize:({inherit:"inherit",small:(null==(i=e.typography)||null==(o=i.pxToRem)?void 0:o.call(i,20))||"1.25rem",medium:(null==(s=e.typography)||null==(l=s.pxToRem)?void 0:l.call(s,24))||"1.5rem",large:(null==(c=e.typography)||null==(u=c.pxToRem)?void 0:u.call(c,35))||"2.1875rem"})[t.fontSize],color:null!=(d=null==(p=(e.vars||e).palette)||null==(p=p[t.color])?void 0:p.main)?d:({action:null==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.active,disabled:null==(h=(e.vars||e).palette)||null==(h=h.action)?void 0:h.disabled,inherit:void 0})[t.color]}}),X=a.forwardRef(function(e,t){let n=function({props:e,name:t}){return(0,c.Z)({props:e,name:t,defaultTheme:U,themeId:G})}({props:e,name:"MuiSvgIcon"}),{children:s,className:l,color:u="inherit",component:d="svg",fontSize:p="medium",htmlColor:f,inheritViewBox:h=!1,titleAccess:m,viewBox:g="0 0 24 24"}=n,b=(0,i.Z)(n,Y),y=a.isValidElement(s)&&"svg"===s.type,E=(0,r.Z)({},n,{color:u,component:d,fontSize:p,instanceFontSize:e.fontSize,inheritViewBox:h,viewBox:g,hasSvgAsChild:y}),v={};h||(v.viewBox=g);let T=q(E);return(0,V.jsxs)(K,(0,r.Z)({as:d,className:(0,o.Z)(T.root,l),focusable:"false",color:f,"aria-hidden":!m||void 0,role:m?"img":void 0,ref:t},v,b,y&&s.props,{ownerState:E,children:[y?s.props.children:s,m?(0,V.jsx)("title",{children:m}):null]}))});function Q(e,t){function n(n,a){return(0,V.jsx)(X,(0,r.Z)({"data-testid":`${t}Icon`,ref:a},n,{children:e}))}return n.muiName=X.muiName,a.memo(a.forwardRef(n))}X.muiName="SvgIcon"},2101:function(e,t,n){"use strict";var r=n(64836);t._j=function(e,t){if(e=s(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return l(e)},t.mi=function(e,t){let n=c(e),r=c(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)},t.$n=function(e,t){if(e=s(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return l(e)};var a=r(n(743)),i=r(n(49425));function o(e,t=0,n=1){return(0,i.default)(e,t,n)}function s(e){let t;if(e.type)return e;if("#"===e.charAt(0))return s(function(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map(e=>e+e)),n?`rgb${4===n.length?"a":""}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));let n=e.indexOf("("),r=e.substring(0,n);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw Error((0,a.default)(9,e));let i=e.substring(n+1,e.length-1);if("color"===r){if(t=(i=i.split(" ")).shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(t))throw Error((0,a.default)(10,t))}else i=i.split(",");return{type:r,values:i=i.map(e=>parseFloat(e)),colorSpace:t}}function l(e){let{type:t,colorSpace:n}=e,{values:r}=e;return -1!==t.indexOf("rgb")?r=r.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),`${t}(${r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`})`}function c(e){let t="hsl"===(e=s(e)).type||"hsla"===e.type?s(function(e){e=s(e);let{values:t}=e,n=t[0],r=t[1]/100,a=t[2]/100,i=r*Math.min(a,1-a),o=(e,t=(e+n/30)%12)=>a-i*Math.max(Math.min(t-3,9-t,1),-1),c="rgb",u=[Math.round(255*o(0)),Math.round(255*o(8)),Math.round(255*o(4))];return"hsla"===e.type&&(c+="a",u.push(t[3])),l({type:c,values:u})}(e)).values:e.values;return Number((.2126*(t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)))[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}},58128:function(e,t,n){"use strict";var r=n(64836);t.ZP=function(e={}){let{themeId:t,defaultTheme:n=m,rootShouldForwardProp:r=h,slotShouldForwardProp:l=h}=e,u=e=>(0,c.default)((0,a.default)({},e,{theme:b((0,a.default)({},e,{defaultTheme:n,themeId:t}))}));return u.__mui_systemSx=!0,(e,c={})=>{var d;let f;(0,o.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));let{name:m,slot:E,skipVariantsResolver:v,skipSx:T,overridesResolver:S=(d=g(E))?(e,t)=>t[d]:null}=c,_=(0,i.default)(c,p),A=void 0!==v?v:E&&"Root"!==E&&"root"!==E||!1,O=T||!1,k=h;"Root"===E||"root"===E?k=r:E?k=l:"string"==typeof e&&e.charCodeAt(0)>96&&(k=void 0);let x=(0,o.default)(e,(0,a.default)({shouldForwardProp:k,label:f},_)),C=e=>"function"==typeof e&&e.__emotion_real!==e||(0,s.isPlainObject)(e)?r=>y(e,(0,a.default)({},r,{theme:b({theme:r.theme,defaultTheme:n,themeId:t})})):e,w=(r,...i)=>{let o=C(r),s=i?i.map(C):[];m&&S&&s.push(e=>{let r=b((0,a.default)({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[m]||!r.components[m].styleOverrides)return null;let i=r.components[m].styleOverrides,o={};return Object.entries(i).forEach(([t,n])=>{o[t]=y(n,(0,a.default)({},e,{theme:r}))}),S(e,o)}),m&&!A&&s.push(e=>{var r;let i=b((0,a.default)({},e,{defaultTheme:n,themeId:t})),o=null==i||null==(r=i.components)||null==(r=r[m])?void 0:r.variants;return y({variants:o},(0,a.default)({},e,{theme:i}))}),O||s.push(u);let l=s.length-i.length;if(Array.isArray(r)&&l>0){let e=Array(l).fill("");(o=[...r,...e]).raw=[...r.raw,...e]}let c=x(o,...s);return e.muiName&&(c.muiName=e.muiName),c};return x.withConfig&&(w.withConfig=x.withConfig),w}};var a=r(n(10434)),i=r(n(7071)),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(23534)),s=n(211);r(n(99698)),r(n(37889));var l=r(n(19926)),c=r(n(386));let u=["ownerState"],d=["variants"],p=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function h(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}let m=(0,l.default)(),g=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function b({defaultTheme:e,theme:t,themeId:n}){return 0===Object.keys(t).length?e:t[n]||t}function y(e,t){let{ownerState:n}=t,r=(0,i.default)(t,u),o="function"==typeof e?e((0,a.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(e=>y(e,(0,a.default)({ownerState:n},r)));if(o&&"object"==typeof o&&Array.isArray(o.variants)){let{variants:e=[]}=o,t=(0,i.default)(o,d),s=t;return e.forEach(e=>{let t=!0;"function"==typeof e.props?t=e.props((0,a.default)({ownerState:n},r,n)):Object.keys(e.props).forEach(a=>{(null==n?void 0:n[a])!==e.props[a]&&r[a]!==e.props[a]&&(t=!1)}),t&&(Array.isArray(s)||(s=[s]),s.push("function"==typeof e.style?e.style((0,a.default)({ownerState:n},r,n)):e.style))}),s}return o}},19926:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},private_createBreakpoints:function(){return a.Z},unstable_applyStyles:function(){return i.Z}});var r=n(88647),a=n(41512),i=n(57064)},386:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},extendSxProp:function(){return a.Z},unstable_createStyleFunctionSx:function(){return r.n},unstable_defaultSxConfig:function(){return i.Z}});var r=n(86523),a=n(39707),i=n(44920)},99698:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(62908)},49425:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r}});var r=function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}},211:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},isPlainObject:function(){return r.P}});var r=n(68027)},743:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(78758)},37889:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return l},getFunctionName:function(){return i}});var r=n(59864);let a=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function i(e){let t=`${e}`.match(a),n=t&&t[1];return n||""}function o(e,t=""){return e.displayName||e.name||i(e)||t}function s(e,t,n){let r=o(t);return e.displayName||(""!==r?`${n}(${r})`:n)}function l(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return o(e,"Component");if("object"==typeof e)switch(e.$$typeof){case r.ForwardRef:return s(e,e.render,"ForwardRef");case r.Memo:return s(e,e.type,"memo")}}}},2093:function(e,t,n){"use strict";var r=n(97582),a=n(67294),i=n(92770);t.Z=function(e,t){(0,a.useEffect)(function(){var t=e(),n=!1;return!function(){(0,r.mG)(this,void 0,void 0,function(){return(0,r.Jh)(this,function(e){switch(e.label){case 0:if(!(0,i.mf)(t[Symbol.asyncIterator]))return[3,4];e.label=1;case 1:return[4,t.next()];case 2:if(e.sent().done||n)return[3,3];return[3,1];case 3:return[3,6];case 4:return[4,t];case 5:e.sent(),e.label=6;case 6:return[2]}})})}(),function(){n=!0}},t)}},85265:function(e,t,n){"use strict";n.d(t,{Z:function(){return q}});var r=n(67294),a=n(93967),i=n.n(a),o=n(1413),s=n(97685),l=n(2788),c=n(8410),u=r.createContext(null),d=r.createContext({}),p=n(4942),f=n(87462),h=n(29372),m=n(15105),g=n(64217),b=n(45987),y=n(42550),E=["prefixCls","className","containerRef"],v=function(e){var t=e.prefixCls,n=e.className,a=e.containerRef,o=(0,b.Z)(e,E),s=r.useContext(d).panel,l=(0,y.x1)(s,a);return r.createElement("div",(0,f.Z)({className:i()("".concat(t,"-content"),n),role:"dialog",ref:l},(0,g.Z)(e,{aria:!0}),{"aria-modal":"true"},o))},T=n(80334);function S(e){return"string"==typeof e&&String(Number(e))===e?((0,T.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var _={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"},A=r.forwardRef(function(e,t){var n,a,l,c=e.prefixCls,d=e.open,b=e.placement,y=e.inline,E=e.push,T=e.forceRender,A=e.autoFocus,O=e.keyboard,k=e.classNames,x=e.rootClassName,C=e.rootStyle,w=e.zIndex,I=e.className,R=e.id,N=e.style,L=e.motion,D=e.width,P=e.height,M=e.children,F=e.mask,j=e.maskClosable,B=e.maskMotion,U=e.maskClassName,G=e.maskStyle,H=e.afterOpenChange,$=e.onClose,z=e.onMouseEnter,Z=e.onMouseOver,W=e.onMouseLeave,V=e.onClick,Y=e.onKeyDown,q=e.onKeyUp,K=e.styles,X=e.drawerRender,Q=r.useRef(),J=r.useRef(),ee=r.useRef();r.useImperativeHandle(t,function(){return Q.current}),r.useEffect(function(){if(d&&A){var e;null===(e=Q.current)||void 0===e||e.focus({preventScroll:!0})}},[d]);var et=r.useState(!1),en=(0,s.Z)(et,2),er=en[0],ea=en[1],ei=r.useContext(u),eo=null!==(n=null!==(a=null===(l="boolean"==typeof E?E?{}:{distance:0}:E||{})||void 0===l?void 0:l.distance)&&void 0!==a?a:null==ei?void 0:ei.pushDistance)&&void 0!==n?n:180,es=r.useMemo(function(){return{pushDistance:eo,push:function(){ea(!0)},pull:function(){ea(!1)}}},[eo]);r.useEffect(function(){var e,t;d?null==ei||null===(e=ei.push)||void 0===e||e.call(ei):null==ei||null===(t=ei.pull)||void 0===t||t.call(ei)},[d]),r.useEffect(function(){return function(){var e;null==ei||null===(e=ei.pull)||void 0===e||e.call(ei)}},[]);var el=F&&r.createElement(h.ZP,(0,f.Z)({key:"mask"},B,{visible:d}),function(e,t){var n=e.className,a=e.style;return r.createElement("div",{className:i()("".concat(c,"-mask"),n,null==k?void 0:k.mask,U),style:(0,o.Z)((0,o.Z)((0,o.Z)({},a),G),null==K?void 0:K.mask),onClick:j&&d?$:void 0,ref:t})}),ec="function"==typeof L?L(b):L,eu={};if(er&&eo)switch(b){case"top":eu.transform="translateY(".concat(eo,"px)");break;case"bottom":eu.transform="translateY(".concat(-eo,"px)");break;case"left":eu.transform="translateX(".concat(eo,"px)");break;default:eu.transform="translateX(".concat(-eo,"px)")}"left"===b||"right"===b?eu.width=S(D):eu.height=S(P);var ed={onMouseEnter:z,onMouseOver:Z,onMouseLeave:W,onClick:V,onKeyDown:Y,onKeyUp:q},ep=r.createElement(h.ZP,(0,f.Z)({key:"panel"},ec,{visible:d,forceRender:T,onVisibleChanged:function(e){null==H||H(e)},removeOnLeave:!1,leavedClassName:"".concat(c,"-content-wrapper-hidden")}),function(t,n){var a=t.className,s=t.style,l=r.createElement(v,(0,f.Z)({id:R,containerRef:n,prefixCls:c,className:i()(I,null==k?void 0:k.content),style:(0,o.Z)((0,o.Z)({},N),null==K?void 0:K.content)},(0,g.Z)(e,{aria:!0}),ed),M);return r.createElement("div",(0,f.Z)({className:i()("".concat(c,"-content-wrapper"),null==k?void 0:k.wrapper,a),style:(0,o.Z)((0,o.Z)((0,o.Z)({},eu),s),null==K?void 0:K.wrapper)},(0,g.Z)(e,{data:!0})),X?X(l):l)}),ef=(0,o.Z)({},C);return w&&(ef.zIndex=w),r.createElement(u.Provider,{value:es},r.createElement("div",{className:i()(c,"".concat(c,"-").concat(b),x,(0,p.Z)((0,p.Z)({},"".concat(c,"-open"),d),"".concat(c,"-inline"),y)),style:ef,tabIndex:-1,ref:Q,onKeyDown:function(e){var t,n,r=e.keyCode,a=e.shiftKey;switch(r){case m.Z.TAB:r===m.Z.TAB&&(a||document.activeElement!==ee.current?a&&document.activeElement===J.current&&(null===(n=ee.current)||void 0===n||n.focus({preventScroll:!0})):null===(t=J.current)||void 0===t||t.focus({preventScroll:!0}));break;case m.Z.ESC:$&&O&&(e.stopPropagation(),$(e))}}},el,r.createElement("div",{tabIndex:0,ref:J,style:_,"aria-hidden":"true","data-sentinel":"start"}),ep,r.createElement("div",{tabIndex:0,ref:ee,style:_,"aria-hidden":"true","data-sentinel":"end"})))}),O=function(e){var t=e.open,n=e.prefixCls,a=e.placement,i=e.autoFocus,u=e.keyboard,p=e.width,f=e.mask,h=void 0===f||f,m=e.maskClosable,g=e.getContainer,b=e.forceRender,y=e.afterOpenChange,E=e.destroyOnClose,v=e.onMouseEnter,T=e.onMouseOver,S=e.onMouseLeave,_=e.onClick,O=e.onKeyDown,k=e.onKeyUp,x=e.panelRef,C=r.useState(!1),w=(0,s.Z)(C,2),I=w[0],R=w[1],N=r.useState(!1),L=(0,s.Z)(N,2),D=L[0],P=L[1];(0,c.Z)(function(){P(!0)},[]);var M=!!D&&void 0!==t&&t,F=r.useRef(),j=r.useRef();(0,c.Z)(function(){M&&(j.current=document.activeElement)},[M]);var B=r.useMemo(function(){return{panel:x}},[x]);if(!b&&!I&&!M&&E)return null;var U=(0,o.Z)((0,o.Z)({},e),{},{open:M,prefixCls:void 0===n?"rc-drawer":n,placement:void 0===a?"right":a,autoFocus:void 0===i||i,keyboard:void 0===u||u,width:void 0===p?378:p,mask:h,maskClosable:void 0===m||m,inline:!1===g,afterOpenChange:function(e){var t,n;R(e),null==y||y(e),e||!j.current||null!==(t=F.current)&&void 0!==t&&t.contains(j.current)||null===(n=j.current)||void 0===n||n.focus({preventScroll:!0})},ref:F},{onMouseEnter:v,onMouseOver:T,onMouseLeave:S,onClick:_,onKeyDown:O,onKeyUp:k});return r.createElement(d.Provider,{value:B},r.createElement(l.Z,{open:M||b||I,autoDestroy:!1,getContainer:g,autoLock:h&&(M||I)},r.createElement(A,U)))},k=n(89942),x=n(87263),C=n(33603),w=n(43945),I=n(53124),R=n(16569),N=n(69760),L=n(48054),D=e=>{var t,n;let{prefixCls:a,title:o,footer:s,extra:l,loading:c,onClose:u,headerStyle:d,bodyStyle:p,footerStyle:f,children:h,classNames:m,styles:g}=e,{drawer:b}=r.useContext(I.E_),y=r.useCallback(e=>r.createElement("button",{type:"button",onClick:u,"aria-label":"Close",className:`${a}-close`},e),[u]),[E,v]=(0,N.Z)((0,N.w)(e),(0,N.w)(b),{closable:!0,closeIconRender:y}),T=r.useMemo(()=>{var e,t;return o||E?r.createElement("div",{style:Object.assign(Object.assign(Object.assign({},null===(e=null==b?void 0:b.styles)||void 0===e?void 0:e.header),d),null==g?void 0:g.header),className:i()(`${a}-header`,{[`${a}-header-close-only`]:E&&!o&&!l},null===(t=null==b?void 0:b.classNames)||void 0===t?void 0:t.header,null==m?void 0:m.header)},r.createElement("div",{className:`${a}-header-title`},v,o&&r.createElement("div",{className:`${a}-title`},o)),l&&r.createElement("div",{className:`${a}-extra`},l)):null},[E,v,l,d,a,o]),S=r.useMemo(()=>{var e,t;if(!s)return null;let n=`${a}-footer`;return r.createElement("div",{className:i()(n,null===(e=null==b?void 0:b.classNames)||void 0===e?void 0:e.footer,null==m?void 0:m.footer),style:Object.assign(Object.assign(Object.assign({},null===(t=null==b?void 0:b.styles)||void 0===t?void 0:t.footer),f),null==g?void 0:g.footer)},s)},[s,f,a]);return r.createElement(r.Fragment,null,T,r.createElement("div",{className:i()(`${a}-body`,null==m?void 0:m.body,null===(t=null==b?void 0:b.classNames)||void 0===t?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},null===(n=null==b?void 0:b.styles)||void 0===n?void 0:n.body),p),null==g?void 0:g.body)},c?r.createElement(L.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${a}-body-skeleton`}):h),S)},P=n(25446),M=n(14747),F=n(83559),j=n(83262);let B=e=>{let t="100%";return({left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`})[e]},U=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),G=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}}},U({opacity:e},{opacity:1})),H=(e,t)=>[G(.7,t),U({transform:B(e)},{transform:"none"})];var $=e=>{let{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:G(0,n),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce((e,t)=>Object.assign(Object.assign({},e),{[`&-${t}`]:H(t,n)}),{})}}};let z=e=>{let{borderRadiusSM:t,componentCls:n,zIndexPopup:r,colorBgMask:a,colorBgElevated:i,motionDurationSlow:o,motionDurationMid:s,paddingXS:l,padding:c,paddingLG:u,fontSizeLG:d,lineHeightLG:p,lineWidth:f,lineType:h,colorSplit:m,marginXS:g,colorIcon:b,colorIconHover:y,colorBgTextHover:E,colorBgTextActive:v,colorText:T,fontWeightStrong:S,footerPaddingBlock:_,footerPaddingInline:A,calc:O}=e,k=`${n}-content-wrapper`;return{[n]:{position:"fixed",inset:0,zIndex:r,pointerEvents:"none",color:T,"&-pure":{position:"relative",background:i,display:"flex",flexDirection:"column",[`&${n}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${n}-mask`]:{position:"absolute",inset:0,zIndex:r,background:a,pointerEvents:"auto"},[k]:{position:"absolute",zIndex:r,maxWidth:"100vw",transition:`all ${o}`,"&-hidden":{display:"none"}},[`&-left > ${k}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${k}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${k}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${k}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${n}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:i,pointerEvents:"auto"},[`${n}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,P.bf)(c)} ${(0,P.bf)(u)}`,fontSize:d,lineHeight:p,borderBottom:`${(0,P.bf)(f)} ${h} ${m}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:"none"},[`${n}-close`]:Object.assign({display:"inline-flex",width:O(d).add(l).equal(),height:O(d).add(l).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",marginInlineEnd:g,color:b,fontWeight:S,fontSize:d,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${s}`,textRendering:"auto","&:hover":{color:y,backgroundColor:E,textDecoration:"none"},"&:active":{backgroundColor:v}},(0,M.Qy)(e)),[`${n}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:d,lineHeight:p},[`${n}-body`]:{flex:1,minWidth:0,minHeight:0,padding:u,overflow:"auto",[`${n}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${n}-footer`]:{flexShrink:0,padding:`${(0,P.bf)(_)} ${(0,P.bf)(A)}`,borderTop:`${(0,P.bf)(f)} ${h} ${m}`},"&-rtl":{direction:"rtl"}}}};var Z=(0,F.I$)("Drawer",e=>{let t=(0,j.IX)(e,{});return[z(t),$(t)]},e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding})),W=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let V={distance:180},Y=e=>{let{rootClassName:t,width:n,height:a,size:o="default",mask:s=!0,push:l=V,open:c,afterOpenChange:u,onClose:d,prefixCls:p,getContainer:f,style:h,className:m,visible:g,afterVisibleChange:b,maskStyle:y,drawerStyle:E,contentWrapperStyle:v}=e,T=W(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:S,getPrefixCls:_,direction:A,drawer:N}=r.useContext(I.E_),L=_("drawer",p),[P,M,F]=Z(L),j=void 0===f&&S?()=>S(document.body):f,B=i()({"no-mask":!s,[`${L}-rtl`]:"rtl"===A},t,M,F),U=r.useMemo(()=>null!=n?n:"large"===o?736:378,[n,o]),G=r.useMemo(()=>null!=a?a:"large"===o?736:378,[a,o]),H={motionName:(0,C.m)(L,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},$=(0,R.H)(),[z,Y]=(0,x.Cn)("Drawer",T.zIndex),{classNames:q={},styles:K={}}=T,{classNames:X={},styles:Q={}}=N||{};return P(r.createElement(k.Z,{form:!0,space:!0},r.createElement(w.Z.Provider,{value:Y},r.createElement(O,Object.assign({prefixCls:L,onClose:d,maskMotion:H,motion:e=>({motionName:(0,C.m)(L,`panel-motion-${e}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500})},T,{classNames:{mask:i()(q.mask,X.mask),content:i()(q.content,X.content),wrapper:i()(q.wrapper,X.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},K.mask),y),Q.mask),content:Object.assign(Object.assign(Object.assign({},K.content),E),Q.content),wrapper:Object.assign(Object.assign(Object.assign({},K.wrapper),v),Q.wrapper)},open:null!=c?c:g,mask:s,push:l,width:U,height:G,style:Object.assign(Object.assign({},null==N?void 0:N.style),h),className:i()(null==N?void 0:N.className,m),rootClassName:B,getContainer:j,afterOpenChange:null!=u?u:b,panelRef:$,zIndex:z}),r.createElement(D,Object.assign({prefixCls:L},T,{onClose:d}))))))};Y._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,style:n,className:a,placement:o="right"}=e,s=W(e,["prefixCls","style","className","placement"]),{getPrefixCls:l}=r.useContext(I.E_),c=l("drawer",t),[u,d,p]=Z(c),f=i()(c,`${c}-pure`,`${c}-${o}`,d,p,a);return u(r.createElement("div",{className:f,style:n},r.createElement(D,Object.assign({prefixCls:c},s))))};var q=Y},86250:function(e,t,n){"use strict";n.d(t,{Z:function(){return O}});var r=n(67294),a=n(93967),i=n.n(a),o=n(98423),s=n(98065),l=n(53124),c=n(83559),u=n(83262);let d=["wrap","nowrap","wrap-reverse"],p=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],f=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],h=(e,t)=>{let n=!0===t.wrap?"wrap":t.wrap;return{[`${e}-wrap-${n}`]:n&&d.includes(n)}},m=(e,t)=>{let n={};return f.forEach(r=>{n[`${e}-align-${r}`]=t.align===r}),n[`${e}-align-stretch`]=!t.align&&!!t.vertical,n},g=(e,t)=>{let n={};return p.forEach(r=>{n[`${e}-justify-${r}`]=t.justify===r}),n},b=e=>{let{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},y=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},E=e=>{let{componentCls:t}=e,n={};return d.forEach(e=>{n[`${t}-wrap-${e}`]={flexWrap:e}}),n},v=e=>{let{componentCls:t}=e,n={};return f.forEach(e=>{n[`${t}-align-${e}`]={alignItems:e}}),n},T=e=>{let{componentCls:t}=e,n={};return p.forEach(e=>{n[`${t}-justify-${e}`]={justifyContent:e}}),n};var S=(0,c.I$)("Flex",e=>{let{paddingXS:t,padding:n,paddingLG:r}=e,a=(0,u.IX)(e,{flexGapSM:t,flexGap:n,flexGapLG:r});return[b(a),y(a),E(a),v(a),T(a)]},()=>({}),{resetStyle:!1}),_=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let A=r.forwardRef((e,t)=>{let{prefixCls:n,rootClassName:a,className:c,style:u,flex:d,gap:p,children:f,vertical:b=!1,component:y="div"}=e,E=_(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:v,direction:T,getPrefixCls:A}=r.useContext(l.E_),O=A("flex",n),[k,x,C]=S(O),w=null!=b?b:null==v?void 0:v.vertical,I=i()(c,a,null==v?void 0:v.className,O,x,C,i()(Object.assign(Object.assign(Object.assign({},h(O,e)),m(O,e)),g(O,e))),{[`${O}-rtl`]:"rtl"===T,[`${O}-gap-${p}`]:(0,s.n)(p),[`${O}-vertical`]:w}),R=Object.assign(Object.assign({},null==v?void 0:v.style),u);return d&&(R.flex=d),p&&!(0,s.n)(p)&&(R.gap=p),k(r.createElement(y,Object.assign({ref:t,className:I,style:R},(0,o.Z)(E,["justify","wrap","align"])),f))});var O=A},57020:function(e,t,n){"use strict";n.d(t,{Z:function(){return eT}});var r=n(67294),a=n(99611),i=n(93967),o=n.n(i),s=n(87462),l=n(1413),c=n(4942),u=n(97685),d=n(71002),p=n(45987),f=n(27678),h=n(21770),m=n(40974),g=n(64019),b=n(15105),y=n(2788),E=n(29372),v=r.createContext(null),T=function(e){var t=e.visible,n=e.maskTransitionName,a=e.getContainer,i=e.prefixCls,s=e.rootClassName,u=e.icons,d=e.countRender,p=e.showSwitch,f=e.showProgress,h=e.current,m=e.transform,g=e.count,T=e.scale,S=e.minScale,_=e.maxScale,A=e.closeIcon,O=e.onSwitchLeft,k=e.onSwitchRight,x=e.onClose,C=e.onZoomIn,w=e.onZoomOut,I=e.onRotateRight,R=e.onRotateLeft,N=e.onFlipX,L=e.onFlipY,D=e.onReset,P=e.toolbarRender,M=e.zIndex,F=e.image,j=(0,r.useContext)(v),B=u.rotateLeft,U=u.rotateRight,G=u.zoomIn,H=u.zoomOut,$=u.close,z=u.left,Z=u.right,W=u.flipX,V=u.flipY,Y="".concat(i,"-operations-operation");r.useEffect(function(){var e=function(e){e.keyCode===b.Z.ESC&&x()};return t&&window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}},[t]);var q=[{icon:V,onClick:L,type:"flipY"},{icon:W,onClick:N,type:"flipX"},{icon:B,onClick:R,type:"rotateLeft"},{icon:U,onClick:I,type:"rotateRight"},{icon:H,onClick:w,type:"zoomOut",disabled:T<=S},{icon:G,onClick:C,type:"zoomIn",disabled:T===_}].map(function(e){var t,n=e.icon,a=e.onClick,s=e.type,l=e.disabled;return r.createElement("div",{className:o()(Y,(t={},(0,c.Z)(t,"".concat(i,"-operations-operation-").concat(s),!0),(0,c.Z)(t,"".concat(i,"-operations-operation-disabled"),!!l),t)),onClick:a,key:s},n)}),K=r.createElement("div",{className:"".concat(i,"-operations")},q);return r.createElement(E.ZP,{visible:t,motionName:n},function(e){var t=e.className,n=e.style;return r.createElement(y.Z,{open:!0,getContainer:null!=a?a:document.body},r.createElement("div",{className:o()("".concat(i,"-operations-wrapper"),t,s),style:(0,l.Z)((0,l.Z)({},n),{},{zIndex:M})},null===A?null:r.createElement("button",{className:"".concat(i,"-close"),onClick:x},A||$),p&&r.createElement(r.Fragment,null,r.createElement("div",{className:o()("".concat(i,"-switch-left"),(0,c.Z)({},"".concat(i,"-switch-left-disabled"),0===h)),onClick:O},z),r.createElement("div",{className:o()("".concat(i,"-switch-right"),(0,c.Z)({},"".concat(i,"-switch-right-disabled"),h===g-1)),onClick:k},Z)),r.createElement("div",{className:"".concat(i,"-footer")},f&&r.createElement("div",{className:"".concat(i,"-progress")},d?d(h+1,g):"".concat(h+1," / ").concat(g)),P?P(K,(0,l.Z)((0,l.Z)({icons:{flipYIcon:q[0],flipXIcon:q[1],rotateLeftIcon:q[2],rotateRightIcon:q[3],zoomOutIcon:q[4],zoomInIcon:q[5]},actions:{onFlipY:L,onFlipX:N,onRotateLeft:R,onRotateRight:I,onZoomOut:w,onZoomIn:C,onReset:D,onClose:x},transform:m},j?{current:h,total:g}:{}),{},{image:F})):K)))})},S=n(91881),_=n(75164),A={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1},O=n(80334);function k(e,t,n,r){var a=t+n,i=(n-r)/2;if(n>r){if(t>0)return(0,c.Z)({},e,i);if(t<0&&ar)return(0,c.Z)({},e,t<0?i:-i);return{}}function x(e,t,n,r){var a=(0,f.g1)(),i=a.width,o=a.height,s=null;return e<=i&&t<=o?s={x:0,y:0}:(e>i||t>o)&&(s=(0,l.Z)((0,l.Z)({},k("x",n,e,i)),k("y",r,t,o))),s}function C(e){var t=e.src,n=e.isCustomPlaceholder,a=e.fallback,i=(0,r.useState)(n?"loading":"normal"),o=(0,u.Z)(i,2),s=o[0],l=o[1],c=(0,r.useRef)(!1),d="error"===s;(0,r.useEffect)(function(){var e=!0;return new Promise(function(e){var n=document.createElement("img");n.onerror=function(){return e(!1)},n.onload=function(){return e(!0)},n.src=t}).then(function(t){!t&&e&&l("error")}),function(){e=!1}},[t]),(0,r.useEffect)(function(){n&&!c.current?l("loading"):d&&l("normal")},[t]);var p=function(){l("normal")};return[function(e){c.current=!1,"loading"===s&&null!=e&&e.complete&&(e.naturalWidth||e.naturalHeight)&&(c.current=!0,p())},d&&a?{src:a}:{onLoad:p,src:t},s]}function w(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}var I=["fallback","src","imgRef"],R=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],N=function(e){var t=e.fallback,n=e.src,a=e.imgRef,i=(0,p.Z)(e,I),o=C({src:n,fallback:t}),l=(0,u.Z)(o,2),c=l[0],d=l[1];return r.createElement("img",(0,s.Z)({ref:function(e){a.current=e,c(e)}},i,d))},L=function(e){var t,n,a,i,d,h,y,E,k,C,I,L,D,P,M,F,j,B,U,G,H,$,z,Z,W,V,Y,q,K=e.prefixCls,X=e.src,Q=e.alt,J=e.imageInfo,ee=e.fallback,et=e.movable,en=void 0===et||et,er=e.onClose,ea=e.visible,ei=e.icons,eo=e.rootClassName,es=e.closeIcon,el=e.getContainer,ec=e.current,eu=void 0===ec?0:ec,ed=e.count,ep=void 0===ed?1:ed,ef=e.countRender,eh=e.scaleStep,em=void 0===eh?.5:eh,eg=e.minScale,eb=void 0===eg?1:eg,ey=e.maxScale,eE=void 0===ey?50:ey,ev=e.transitionName,eT=e.maskTransitionName,eS=void 0===eT?"fade":eT,e_=e.imageRender,eA=e.imgCommonProps,eO=e.toolbarRender,ek=e.onTransform,ex=e.onChange,eC=(0,p.Z)(e,R),ew=(0,r.useRef)(),eI=(0,r.useContext)(v),eR=eI&&ep>1,eN=eI&&ep>=1,eL=(0,r.useState)(!0),eD=(0,u.Z)(eL,2),eP=eD[0],eM=eD[1],eF=(t=(0,r.useRef)(null),n=(0,r.useRef)([]),a=(0,r.useState)(A),d=(i=(0,u.Z)(a,2))[0],h=i[1],y=function(e,r){null===t.current&&(n.current=[],t.current=(0,_.Z)(function(){h(function(e){var a=e;return n.current.forEach(function(e){a=(0,l.Z)((0,l.Z)({},a),e)}),t.current=null,null==ek||ek({transform:a,action:r}),a})})),n.current.push((0,l.Z)((0,l.Z)({},d),e))},{transform:d,resetTransform:function(e){h(A),(0,S.Z)(A,d)||null==ek||ek({transform:A,action:e})},updateTransform:y,dispatchZoomChange:function(e,t,n,r,a){var i=ew.current,o=i.width,s=i.height,l=i.offsetWidth,c=i.offsetHeight,u=i.offsetLeft,p=i.offsetTop,h=e,m=d.scale*e;m>eE?(m=eE,h=eE/d.scale):m0&&(t=1/t),eG(t,"wheel",e.clientX,e.clientY)}}}),e$=eH.isMoving,ez=eH.onMouseDown,eZ=eH.onWheel,eW=(U=ej.rotate,G=ej.scale,H=ej.x,$=ej.y,z=(0,r.useState)(!1),W=(Z=(0,u.Z)(z,2))[0],V=Z[1],Y=(0,r.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),q=function(e){Y.current=(0,l.Z)((0,l.Z)({},Y.current),e)},(0,r.useEffect)(function(){var e;return ea&&en&&(e=(0,g.Z)(window,"touchmove",function(e){return e.preventDefault()},{passive:!1})),function(){var t;null===(t=e)||void 0===t||t.remove()}},[ea,en]),{isTouching:W,onTouchStart:function(e){if(en){e.stopPropagation(),V(!0);var t=e.touches,n=void 0===t?[]:t;n.length>1?q({point1:{x:n[0].clientX,y:n[0].clientY},point2:{x:n[1].clientX,y:n[1].clientY},eventType:"touchZoom"}):q({point1:{x:n[0].clientX-H,y:n[0].clientY-$},eventType:"move"})}},onTouchMove:function(e){var t=e.touches,n=void 0===t?[]:t,r=Y.current,a=r.point1,i=r.point2,o=r.eventType;if(n.length>1&&"touchZoom"===o){var s={x:n[0].clientX,y:n[0].clientY},l={x:n[1].clientX,y:n[1].clientY},c=function(e,t,n,r){var a=w(e,n),i=w(t,r);if(0===a&&0===i)return[e.x,e.y];var o=a/(a+i);return[e.x+o*(t.x-e.x),e.y+o*(t.y-e.y)]}(a,i,s,l),d=(0,u.Z)(c,2),p=d[0],f=d[1];eG(w(s,l)/w(a,i),"touchZoom",p,f,!0),q({point1:s,point2:l,eventType:"touchZoom"})}else"move"===o&&(eU({x:n[0].clientX-a.x,y:n[0].clientY-a.y},"move"),q({eventType:"move"}))},onTouchEnd:function(){if(ea){if(W&&V(!1),q({eventType:"none"}),eb>G)return eU({x:0,y:0,scale:eb},"touchZoom");var e=ew.current.offsetWidth*G,t=ew.current.offsetHeight*G,n=ew.current.getBoundingClientRect(),r=n.left,a=n.top,i=U%180!=0,o=x(i?t:e,i?e:t,r,a);o&&eU((0,l.Z)({},o),"dragRebound")}}}),eV=eW.isTouching,eY=eW.onTouchStart,eq=eW.onTouchMove,eK=eW.onTouchEnd,eX=ej.rotate,eQ=ej.scale,eJ=o()((0,c.Z)({},"".concat(K,"-moving"),e$));(0,r.useEffect)(function(){eP||eM(!0)},[eP]);var e0=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu>0&&(eM(!1),eB("prev"),null==ex||ex(eu-1,eu))},e1=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu({position:e||"absolute",inset:0}),eu=e=>{let{iconCls:t,motionDurationSlow:n,paddingXXS:r,marginXXS:a,prefixCls:i,colorTextLightSolid:o}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:o,background:new en.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${i}-mask-info`]:Object.assign(Object.assign({},ea.vS),{padding:`0 ${(0,et.bf)(r)}`,[t]:{marginInlineEnd:a,svg:{verticalAlign:"baseline"}}})}},ed=e=>{let{previewCls:t,modalMaskBg:n,paddingSM:r,marginXL:a,margin:i,paddingLG:o,previewOperationColorDisabled:s,previewOperationHoverColor:l,motionDurationSlow:c,iconCls:u,colorTextLightSolid:d}=e,p=new en.C(n).setAlpha(.1),f=p.clone().setAlpha(.2);return{[`${t}-footer`]:{position:"fixed",bottom:a,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor,transform:"translateX(-50%)"},[`${t}-progress`]:{marginBottom:i},[`${t}-close`]:{position:"fixed",top:a,right:{_skip_check_:!0,value:a},display:"flex",color:d,backgroundColor:p.toRgbString(),borderRadius:"50%",padding:r,outline:0,border:0,cursor:"pointer",transition:`all ${c}`,"&:hover":{backgroundColor:f.toRgbString()},[`& > ${u}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,et.bf)(o)}`,backgroundColor:p.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:r,padding:r,cursor:"pointer",transition:`all ${c}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${u}`]:{color:l},"&-disabled":{color:s,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${u}`]:{fontSize:e.previewOperationSize}}}}},ep=e=>{let{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:r,previewCls:a,zIndexPopup:i,motionDurationSlow:o}=e,s=new en.C(t).setAlpha(.1),l=s.clone().setAlpha(.2);return{[`${a}-switch-left, ${a}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(i).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:s.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${o}`,userSelect:"none","&:hover":{background:l.toRgbString()},"&-disabled":{"&, &:hover":{color:r,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${a}-switch-left`]:{insetInlineStart:e.marginSM},[`${a}-switch-right`]:{insetInlineEnd:e.marginSM}}},ef=e=>{let{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:a}=e;return[{[`${a}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:Object.assign(Object.assign({},ec()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${r} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},ec()),{transition:`transform ${r} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${a}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${a}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal()},"&":[ed(e),ep(e)]}]},eh=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},eu(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},ec())}}},em=e=>{let{previewCls:t}=e;return{[`${t}-root`]:(0,ei._y)(e,"zoom"),"&":(0,eo.J$)(e,!0)}};var eg=(0,es.I$)("Image",e=>{let t=`${e.componentCls}-preview`,n=(0,el.IX)(e,{previewCls:t,modalMaskBg:new en.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[eh(n),ef(n),(0,er.QA)((0,el.IX)(n,{componentCls:t})),em(n)]},e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new en.C(e.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new en.C(e.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new en.C(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:1.5*e.fontSizeIcon})),eb=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ey={rotateLeft:r.createElement(K.Z,null),rotateRight:r.createElement(X.Z,null),zoomIn:r.createElement(J.Z,null),zoomOut:r.createElement(ee.Z,null),close:r.createElement(V.Z,null),left:r.createElement(Y.Z,null),right:r.createElement(q.Z,null),flipX:r.createElement(Q.Z,null),flipY:r.createElement(Q.Z,{rotate:90})};var eE=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ev=e=>{var t;let{prefixCls:n,preview:i,className:s,rootClassName:l,style:c}=e,u=eE(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:d,locale:p=W.Z,getPopupContainer:f,image:h}=r.useContext(z.E_),m=d("image",n),g=d(),b=p.Image||W.Z.Image,y=(0,Z.Z)(m),[E,v,T]=eg(m,y),S=o()(l,v,T,y),_=o()(s,v,null==h?void 0:h.className),[A]=(0,H.Cn)("ImagePreview","object"==typeof i?i.zIndex:void 0),O=r.useMemo(()=>{var e;if(!1===i)return i;let t="object"==typeof i?i:{},{getContainer:n,closeIcon:o}=t,s=eE(t,["getContainer","closeIcon"]);return Object.assign(Object.assign({mask:r.createElement("div",{className:`${m}-mask-info`},r.createElement(a.Z,null),null==b?void 0:b.preview),icons:ey},s),{getContainer:null!=n?n:f,transitionName:(0,$.m)(g,"zoom",t.transitionName),maskTransitionName:(0,$.m)(g,"fade",t.maskTransitionName),zIndex:A,closeIcon:null!=o?o:null===(e=null==h?void 0:h.preview)||void 0===e?void 0:e.closeIcon})},[i,b,null===(t=null==h?void 0:h.preview)||void 0===t?void 0:t.closeIcon]),k=Object.assign(Object.assign({},null==h?void 0:h.style),c);return E(r.createElement(G,Object.assign({prefixCls:m,preview:O,rootClassName:S,className:_,style:k},u)))};ev.PreviewGroup=e=>{var{previewPrefixCls:t,preview:n}=e,a=eb(e,["previewPrefixCls","preview"]);let{getPrefixCls:i}=r.useContext(z.E_),s=i("image",t),l=`${s}-preview`,c=i(),u=(0,Z.Z)(s),[d,p,f]=eg(s,u),[h]=(0,H.Cn)("ImagePreview","object"==typeof n?n.zIndex:void 0),m=r.useMemo(()=>{var e;if(!1===n)return n;let t="object"==typeof n?n:{},r=o()(p,f,u,null!==(e=t.rootClassName)&&void 0!==e?e:"");return Object.assign(Object.assign({},t),{transitionName:(0,$.m)(c,"zoom",t.transitionName),maskTransitionName:(0,$.m)(c,"fade",t.maskTransitionName),rootClassName:r,zIndex:h})},[n]);return d(r.createElement(G.PreviewGroup,Object.assign({preview:m,previewPrefixCls:l,icons:ey},a)))};var eT=ev},66309:function(e,t,n){"use strict";n.d(t,{Z:function(){return I}});var r=n(67294),a=n(93967),i=n.n(a),o=n(98423),s=n(98787),l=n(69760),c=n(96159),u=n(45353),d=n(53124),p=n(25446),f=n(10274),h=n(14747),m=n(83262),g=n(83559);let b=e=>{let{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:a,calc:i}=e,o=i(r).sub(n).equal(),s=i(t).sub(n).equal();return{[a]:Object.assign(Object.assign({},(0,h.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:o,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,p.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${a}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${a}-close-icon`]:{marginInlineStart:s,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${a}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${a}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:o}}),[`${a}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},y=e=>{let{lineWidth:t,fontSizeIcon:n,calc:r}=e,a=e.fontSizeSM,i=(0,m.IX)(e,{tagFontSize:a,tagLineHeight:(0,p.bf)(r(e.lineHeightSM).mul(a).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return i},E=e=>({defaultBg:new f.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var v=(0,g.I$)("Tag",e=>{let t=y(e);return b(t)},E),T=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let S=r.forwardRef((e,t)=>{let{prefixCls:n,style:a,className:o,checked:s,onChange:l,onClick:c}=e,u=T(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:p,tag:f}=r.useContext(d.E_),h=p("tag",n),[m,g,b]=v(h),y=i()(h,`${h}-checkable`,{[`${h}-checkable-checked`]:s},null==f?void 0:f.className,o,g,b);return m(r.createElement("span",Object.assign({},u,{ref:t,style:Object.assign(Object.assign({},a),null==f?void 0:f.style),className:y,onClick:e=>{null==l||l(!s),null==c||c(e)}})))});var _=n(98719);let A=e=>(0,_.Z)(e,(t,n)=>{let{textColor:r,lightBorderColor:a,lightColor:i,darkColor:o}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:i,borderColor:a,"&-inverse":{color:e.colorTextLightSolid,background:o,borderColor:o},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var O=(0,g.bk)(["Tag","preset"],e=>{let t=y(e);return A(t)},E);let k=(e,t,n)=>{let r=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var x=(0,g.bk)(["Tag","status"],e=>{let t=y(e);return[k(t,"success","Success"),k(t,"processing","Info"),k(t,"error","Error"),k(t,"warning","Warning")]},E),C=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let w=r.forwardRef((e,t)=>{let{prefixCls:n,className:a,rootClassName:p,style:f,children:h,icon:m,color:g,onClose:b,bordered:y=!0,visible:E}=e,T=C(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:S,direction:_,tag:A}=r.useContext(d.E_),[k,w]=r.useState(!0),I=(0,o.Z)(T,["closeIcon","closable"]);r.useEffect(()=>{void 0!==E&&w(E)},[E]);let R=(0,s.o2)(g),N=(0,s.yT)(g),L=R||N,D=Object.assign(Object.assign({backgroundColor:g&&!L?g:void 0},null==A?void 0:A.style),f),P=S("tag",n),[M,F,j]=v(P),B=i()(P,null==A?void 0:A.className,{[`${P}-${g}`]:L,[`${P}-has-color`]:g&&!L,[`${P}-hidden`]:!k,[`${P}-rtl`]:"rtl"===_,[`${P}-borderless`]:!y},a,p,F,j),U=e=>{e.stopPropagation(),null==b||b(e),e.defaultPrevented||w(!1)},[,G]=(0,l.Z)((0,l.w)(e),(0,l.w)(A),{closable:!1,closeIconRender:e=>{let t=r.createElement("span",{className:`${P}-close-icon`,onClick:U},e);return(0,c.wm)(e,t,e=>({onClick:t=>{var n;null===(n=null==e?void 0:e.onClick)||void 0===n||n.call(e,t),U(t)},className:i()(null==e?void 0:e.className,`${P}-close-icon`)}))}}),H="function"==typeof T.onClick||h&&"a"===h.type,$=m||null,z=$?r.createElement(r.Fragment,null,$,h&&r.createElement("span",null,h)):h,Z=r.createElement("span",Object.assign({},I,{ref:t,className:B,style:D}),z,G,R&&r.createElement(O,{key:"preset",prefixCls:P}),N&&r.createElement(x,{key:"status",prefixCls:P}));return M(H?r.createElement(u.Z,{component:"Tag"},Z):Z)});w.CheckableTag=S;var I=w},62502:function(e,t,n){"use strict";var r=n(15575),a=n(64977),i=n(72869),o=n(32473).Q,s=n(24395).Q;e.exports=function(e,t,n){var a=n?function(e){for(var t,n=e.length,r=-1,a={};++r4&&h.slice(0,4)===o&&s.test(t)&&("-"===t.charAt(4)?m=o+(n=t.slice(5).replace(l,d)).charAt(0).toUpperCase()+n.slice(1):(f=(p=t).slice(4),t=l.test(f)?p:("-"!==(f=f.replace(c,u)).charAt(0)&&(f="-"+f),o+f)),g=a),new g(m,t))};var s=/^data[-\w.:]+$/i,l=/-[a-z]/g,c=/[A-Z]/g;function u(e){return"-"+e.toLowerCase()}function d(e){return e.charAt(1).toUpperCase()}},48055:function(e,t,n){"use strict";var r=n(26230),a=n(13970),i=n(10629),o=n(647),s=n(91305),l=n(22537);e.exports=r([i,a,o,s,l])},91305:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=r.booleanish,o=r.number,s=r.spaceSeparated;e.exports=a({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:i,ariaAutoComplete:null,ariaBusy:i,ariaChecked:i,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:s,ariaCurrent:null,ariaDescribedBy:s,ariaDetails:null,ariaDisabled:i,ariaDropEffect:s,ariaErrorMessage:null,ariaExpanded:i,ariaFlowTo:s,ariaGrabbed:i,ariaHasPopup:null,ariaHidden:i,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s,ariaLevel:o,ariaLive:null,ariaModal:i,ariaMultiLine:i,ariaMultiSelectable:i,ariaOrientation:null,ariaOwns:s,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:i,ariaReadOnly:i,ariaRelevant:null,ariaRequired:i,ariaRoleDescription:s,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:i,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}})},22537:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=n(19348),o=r.boolean,s=r.overloadedBoolean,l=r.booleanish,c=r.number,u=r.spaceSeparated,d=r.commaSeparated;e.exports=a({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:i,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:d,acceptCharset:u,accessKey:u,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:u,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:u,cols:c,colSpan:null,content:null,contentEditable:l,controls:o,controlsList:u,coords:c|d,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:s,draggable:l,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:u,height:c,hidden:o,high:c,href:null,hrefLang:null,htmlFor:u,httpEquiv:u,id:null,imageSizes:null,imageSrcSet:d,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:u,itemRef:u,itemScope:o,itemType:u,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:u,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:u,required:o,reversed:o,rows:c,rowSpan:c,sandbox:u,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:c,sizes:null,slot:null,span:c,spellCheck:l,src:null,srcDoc:null,srcLang:null,srcSet:d,start:c,step:null,style:null,tabIndex:c,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:l,width:c,wrap:null,align:null,aLink:null,archive:u,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:l,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}})},19348:function(e,t,n){"use strict";var r=n(21098);e.exports=function(e,t){return r(e,t.toLowerCase())}},21098:function(e){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},47589:function(e,t,n){"use strict";var r=n(64977),a=n(16038),i=n(78444);e.exports=function(e){var t,n,o=e.space,s=e.mustUseProperty||[],l=e.attributes||{},c=e.properties,u=e.transform,d={},p={};for(t in c)n=new i(t,u(l,t),c[t],o),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),d[t]=n,p[r(t)]=t,p[r(n.attribute)]=t;return new a(d,p,o)}},78444:function(e,t,n){"use strict";var r=n(40313),a=n(61422);e.exports=s,s.prototype=new r,s.prototype.defined=!0;var i=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=i.length;function s(e,t,n,s){var l,c,u,d=-1;for(s&&(this.space=s),r.call(this,e,t);++d=97&&t<=122||t>=65&&t<=90}},7961:function(e,t,n){"use strict";var r=n(46260),a=n(46195);e.exports=function(e){return r(e)||a(e)}},46195:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},79480:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}},74294:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/construct/app/extra",function(){return n(90334)}])},85813:function(e,t,n){"use strict";n.d(t,{r:function(){return O6}});var r,a,i,o,s,l,c,u,d,p,f,h,m,g,b,y,E,v,T,S,_,A,O,k,x,C,w,I,R,N,L,D,P,M,F,j,B,U,G,H,$,z,Z,W,V,Y,q,K,X,Q,J,ee,et,en,er,ea={};n.r(ea),n.d(ea,{area:function(){return cf},bottom:function(){return cT},bottomLeft:function(){return cT},bottomRight:function(){return cT},inside:function(){return cT},left:function(){return cT},outside:function(){return cO},right:function(){return cT},spider:function(){return cR},surround:function(){return cL},top:function(){return cT},topLeft:function(){return cT},topRight:function(){return cT}});var ei={};n.r(ei),n.d(ei,{interpolateBlues:function(){return uD.interpolateBlues},interpolateBrBG:function(){return uD.interpolateBrBG},interpolateBuGn:function(){return uD.interpolateBuGn},interpolateBuPu:function(){return uD.interpolateBuPu},interpolateCividis:function(){return uD.interpolateCividis},interpolateCool:function(){return uD.interpolateCool},interpolateCubehelixDefault:function(){return uD.interpolateCubehelixDefault},interpolateGnBu:function(){return uD.interpolateGnBu},interpolateGreens:function(){return uD.interpolateGreens},interpolateGreys:function(){return uD.interpolateGreys},interpolateInferno:function(){return uD.interpolateInferno},interpolateMagma:function(){return uD.interpolateMagma},interpolateOrRd:function(){return uD.interpolateOrRd},interpolateOranges:function(){return uD.interpolateOranges},interpolatePRGn:function(){return uD.interpolatePRGn},interpolatePiYG:function(){return uD.interpolatePiYG},interpolatePlasma:function(){return uD.interpolatePlasma},interpolatePuBu:function(){return uD.interpolatePuBu},interpolatePuBuGn:function(){return uD.interpolatePuBuGn},interpolatePuOr:function(){return uD.interpolatePuOr},interpolatePuRd:function(){return uD.interpolatePuRd},interpolatePurples:function(){return uD.interpolatePurples},interpolateRainbow:function(){return uD.interpolateRainbow},interpolateRdBu:function(){return uD.interpolateRdBu},interpolateRdGy:function(){return uD.interpolateRdGy},interpolateRdPu:function(){return uD.interpolateRdPu},interpolateRdYlBu:function(){return uD.interpolateRdYlBu},interpolateRdYlGn:function(){return uD.interpolateRdYlGn},interpolateReds:function(){return uD.interpolateReds},interpolateSinebow:function(){return uD.interpolateSinebow},interpolateSpectral:function(){return uD.interpolateSpectral},interpolateTurbo:function(){return uD.interpolateTurbo},interpolateViridis:function(){return uD.interpolateViridis},interpolateWarm:function(){return uD.interpolateWarm},interpolateYlGn:function(){return uD.interpolateYlGn},interpolateYlGnBu:function(){return uD.interpolateYlGnBu},interpolateYlOrBr:function(){return uD.interpolateYlOrBr},interpolateYlOrRd:function(){return uD.interpolateYlOrRd},schemeAccent:function(){return uD.schemeAccent},schemeBlues:function(){return uD.schemeBlues},schemeBrBG:function(){return uD.schemeBrBG},schemeBuGn:function(){return uD.schemeBuGn},schemeBuPu:function(){return uD.schemeBuPu},schemeCategory10:function(){return uD.schemeCategory10},schemeDark2:function(){return uD.schemeDark2},schemeGnBu:function(){return uD.schemeGnBu},schemeGreens:function(){return uD.schemeGreens},schemeGreys:function(){return uD.schemeGreys},schemeOrRd:function(){return uD.schemeOrRd},schemeOranges:function(){return uD.schemeOranges},schemePRGn:function(){return uD.schemePRGn},schemePaired:function(){return uD.schemePaired},schemePastel1:function(){return uD.schemePastel1},schemePastel2:function(){return uD.schemePastel2},schemePiYG:function(){return uD.schemePiYG},schemePuBu:function(){return uD.schemePuBu},schemePuBuGn:function(){return uD.schemePuBuGn},schemePuOr:function(){return uD.schemePuOr},schemePuRd:function(){return uD.schemePuRd},schemePurples:function(){return uD.schemePurples},schemeRdBu:function(){return uD.schemeRdBu},schemeRdGy:function(){return uD.schemeRdGy},schemeRdPu:function(){return uD.schemeRdPu},schemeRdYlBu:function(){return uD.schemeRdYlBu},schemeRdYlGn:function(){return uD.schemeRdYlGn},schemeReds:function(){return uD.schemeReds},schemeSet1:function(){return uD.schemeSet1},schemeSet2:function(){return uD.schemeSet2},schemeSet3:function(){return uD.schemeSet3},schemeSpectral:function(){return uD.schemeSpectral},schemeTableau10:function(){return uD.schemeTableau10},schemeYlGn:function(){return uD.schemeYlGn},schemeYlGnBu:function(){return uD.schemeYlGnBu},schemeYlOrBr:function(){return uD.schemeYlOrBr},schemeYlOrRd:function(){return uD.schemeYlOrRd}});var eo={};n.r(eo);var es={};n.r(es),n.d(es,{geoAlbers:function(){return Ta.Z},geoAlbersUsa:function(){return Tr.Z},geoAzimuthalEqualArea:function(){return Ti.Z},geoAzimuthalEqualAreaRaw:function(){return Ti.l},geoAzimuthalEquidistant:function(){return To.Z},geoAzimuthalEquidistantRaw:function(){return To.N},geoConicConformal:function(){return Ts.Z},geoConicConformalRaw:function(){return Ts.l},geoConicEqualArea:function(){return Tl.Z},geoConicEqualAreaRaw:function(){return Tl.v},geoConicEquidistant:function(){return Tc.Z},geoConicEquidistantRaw:function(){return Tc.o},geoEqualEarth:function(){return Tu.Z},geoEqualEarthRaw:function(){return Tu.i},geoEquirectangular:function(){return Td.Z},geoEquirectangularRaw:function(){return Td.k},geoGnomonic:function(){return Tp.Z},geoGnomonicRaw:function(){return Tp.M},geoIdentity:function(){return Tf.Z},geoMercator:function(){return Tm.ZP},geoMercatorRaw:function(){return Tm.hk},geoNaturalEarth1:function(){return Tg.Z},geoNaturalEarth1Raw:function(){return Tg.K},geoOrthographic:function(){return Tb.Z},geoOrthographicRaw:function(){return Tb.I},geoProjection:function(){return Th.Z},geoProjectionMutator:function(){return Th.r},geoStereographic:function(){return Ty.Z},geoStereographicRaw:function(){return Ty.T},geoTransverseMercator:function(){return TE.Z},geoTransverseMercatorRaw:function(){return TE.F}});var el={};n.r(el),n.d(el,{frequency:function(){return Sh},id:function(){return Sm},name:function(){return Sg},weight:function(){return Sf}});var ec=n(74902),eu=n(1413),ed=n(87462),ep=n(97685),ef=n(45987),eh=n(50888),em=n(96486),eg=n(67294),eb=function(){return(eb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n-1&&!e.return)switch(e.type){case ek:e.return=function e(t,n,r){var a;switch(a=n,45^eD(t,0)?(((a<<2^eD(t,0))<<2^eD(t,1))<<2^eD(t,2))<<2^eD(t,3):0){case 5103:return e_+"print-"+t+t;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 e_+t+t;case 4789:return eS+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return e_+t+eS+t+eT+t+t;case 5936:switch(eD(t,n+11)){case 114:return e_+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return e_+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return e_+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return e_+t+eT+t+t;case 6165:return e_+t+eT+"flex-"+t+t;case 5187:return e_+t+eN(t,/(\w+).+(:[^]+)/,e_+"box-$1$2"+eT+"flex-$1$2")+t;case 5443:return e_+t+eT+"flex-item-"+eN(t,/flex-|-self/g,"")+(eR(t,/flex-|baseline/)?"":eT+"grid-row-"+eN(t,/flex-|-self/g,""))+t;case 4675:return e_+t+eT+"flex-line-pack"+eN(t,/align-content|flex-|-self/g,"")+t;case 5548:return e_+t+eT+eN(t,"shrink","negative")+t;case 5292:return e_+t+eT+eN(t,"basis","preferred-size")+t;case 6060:return e_+"box-"+eN(t,"-grow","")+e_+t+eT+eN(t,"grow","positive")+t;case 4554:return e_+eN(t,/([^-])(transform)/g,"$1"+e_+"$2")+t;case 6187:return eN(eN(eN(t,/(zoom-|grab)/,e_+"$1"),/(image-set)/,e_+"$1"),t,"")+t;case 5495:case 3959:return eN(t,/(image-set\([^]*)/,e_+"$1$`$1");case 4968:return eN(eN(t,/(.+:)(flex-)?(.*)/,e_+"box-pack:$3"+eT+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+e_+t+t;case 4200:if(!eR(t,/flex-|baseline/))return eT+"grid-column-align"+eP(t,n)+t;break;case 2592:case 3360:return eT+eN(t,"template-","")+t;case 4384:case 3616:if(r&&r.some(function(e,t){return n=t,eR(e.props,/grid-\w+-end/)}))return~eL(t+(r=r[n].value),"span",0)?t:eT+eN(t,"-start","")+t+eT+"grid-row-span:"+(~eL(r,"span",0)?eR(r,/\d+/):+eR(r,/\d+/)-+eR(t,/\d+/))+";";return eT+eN(t,"-start","")+t;case 4896:case 4128:return r&&r.some(function(e){return eR(e.props,/grid-\w+-start/)})?t:eT+eN(eN(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return eN(t,/(.+)-inline(.+)/,e_+"$1$2")+t;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(eM(t)-1-n>6)switch(eD(t,n+1)){case 109:if(45!==eD(t,n+4))break;case 102:return eN(t,/(.+:)(.+)-([^]+)/,"$1"+e_+"$2-$3$1"+eS+(108==eD(t,n+3)?"$3":"$2-$3"))+t;case 115:return~eL(t,"stretch",0)?e(eN(t,"stretch","fill-available"),n,r)+t:t}break;case 5152:case 5920:return eN(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(e,n,r,a,i,o,s){return eT+n+":"+r+s+(a?eT+n+"-span:"+(i?o:+o-+r)+s:"")+t});case 4949:if(121===eD(t,n+6))return eN(t,":",":"+e_)+t;break;case 6444:switch(eD(t,45===eD(t,14)?18:11)){case 120:return eN(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+e_+(45===eD(t,14)?"inline-":"")+"box$3$1"+e_+"$2$3$1"+eT+"$2box$3")+t;case 100:return eN(t,":",":"+eT)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return eN(t,"scroll-","scroll-snap-")+t}return t}(e.value,e.length,n);return;case ex:return eQ([eW(e,{value:eN(e.value,"@","@"+e_)})],r);case eO:if(e.length)return(n=e.props).map(function(t){switch(eR(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":eV(eW(e,{props:[eN(t,/:(read-\w+)/,":"+eS+"$1")]})),eV(eW(e,{props:[t]})),eI(e,{props:ej(n,r)});break;case"::placeholder":eV(eW(e,{props:[eN(t,/:(plac\w+)/,":"+e_+"input-$1")]})),eV(eW(e,{props:[eN(t,/:(plac\w+)/,":"+eS+"$1")]})),eV(eW(e,{props:[eN(t,/:(plac\w+)/,eT+"input-$1")]})),eV(eW(e,{props:[t]})),eI(e,{props:ej(n,r)})}return""}).join("")}}function e1(e,t,n,r,a,i,o,s,l,c,u,d){for(var p=a-1,f=0===a?i:[""],h=f.length,m=0,g=0,b=0;m0?f[y]+" "+E:eN(E,/&\f/g,f[y])).trim())&&(l[b++]=v);return eZ(e,t,n,0===a?eO:s,l,c,u,d)}function e2(e,t,n,r,a){return eZ(e,t,n,ek,eP(e,0,r),eP(e,r+1,-1),r,a)}var e3=n(94371),e5=n(83454),e4=void 0!==e5&&void 0!==e5.env&&(e5.env.REACT_APP_SC_ATTR||e5.env.SC_ATTR)||"data-styled",e6="active",e9="data-styled-version",e8="6.1.15",e7="/*!sc*/\n",te="undefined"!=typeof window&&"HTMLElement"in window,tt=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==e5&&void 0!==e5.env&&void 0!==e5.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==e5.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==e5.env.REACT_APP_SC_DISABLE_SPEEDY&&e5.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==e5&&void 0!==e5.env&&void 0!==e5.env.SC_DISABLE_SPEEDY&&""!==e5.env.SC_DISABLE_SPEEDY&&"false"!==e5.env.SC_DISABLE_SPEEDY&&e5.env.SC_DISABLE_SPEEDY),tn=Object.freeze([]),tr=Object.freeze({}),ta=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),ti=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,to=/(^-|-$)/g;function ts(e){return e.replace(ti,"-").replace(to,"")}var tl=/(a)(d)/gi,tc=function(e){return String.fromCharCode(e+(e>25?39:97))};function tu(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=tc(t%52)+n;return(tc(t%52)+n).replace(tl,"$1-$2")}var td,tp=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},tf=function(e){return tp(5381,e)};function th(e){return"string"==typeof e}var tm="function"==typeof Symbol&&Symbol.for,tg=tm?Symbol.for("react.memo"):60115,tb=tm?Symbol.for("react.forward_ref"):60112,ty={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},tE={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},tv={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},tT=((td={})[tb]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},td[tg]=tv,td);function tS(e){return("type"in e&&e.type.$$typeof)===tg?tv:"$$typeof"in e?tT[e.$$typeof]:ty}var t_=Object.defineProperty,tA=Object.getOwnPropertyNames,tO=Object.getOwnPropertySymbols,tk=Object.getOwnPropertyDescriptor,tx=Object.getPrototypeOf,tC=Object.prototype;function tw(e){return"function"==typeof e}function tI(e){return"object"==typeof e&&"styledComponentId"in e}function tR(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function tN(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r0?" Args: ".concat(t.join(", ")):""))}var tM=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,a=r;e>=a;)if((a<<=1)<0)throw tP(16,"".concat(e));this.groupSizes=new Uint32Array(a),this.groupSizes.set(n),this.length=a;for(var i=r;i=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),a=r+n,i=r;i=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(l+="".concat(e,","))}),r+="".concat(o).concat(s,'{content:"').concat(l,'"}').concat(e7)}}})(a);return r}(r)})}return e.registerId=function(e){return tU(e)},e.prototype.rehydrate=function(){!this.server&&te&&tW(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(eb(eb({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){var e,t,n,r;return this.tag||(this.tag=(n=(t=this.options).useCSSOMInjection,r=t.target,e=t.isServer?new tK(r):n?new tY(r):new tq(r),new tM(e)))},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(tU(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(tU(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(tU(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),t0=/&/g,t1=/^\s*\/\/.*$/gm;function t2(e){var t,n,r,a=void 0===e?tr:e,i=a.options,o=void 0===i?tr:i,s=a.plugins,l=void 0===s?tn:s,c=function(e,r,a){return a.startsWith(n)&&a.endsWith(n)&&a.replaceAll(n,"").length>0?".".concat(t):e},u=l.slice();u.push(function(e){e.type===eO&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(t0,n).replace(r,c))}),o.prefix&&u.push(e0),u.push(eJ);var d=function(e,a,i,s){void 0===a&&(a=""),void 0===i&&(i=""),void 0===s&&(s="&"),t=s,n=a,r=RegExp("\\".concat(n,"\\b"),"g");var l,c,d,p,f,h=e.replace(t1,""),m=(f=function e(t,n,r,a,i,o,s,l,c){for(var u,d=0,p=0,f=s,h=0,m=0,g=0,b=1,y=1,E=1,v=0,T="",S=i,_=o,A=a,O=T;y;)switch(g=v,v=eY()){case 40:if(108!=g&&58==eD(O,f-1)){-1!=eL(O+=eN(eX(v),"&","&\f"),"&\f",eC(d?l[d-1]:0))&&(E=-1);break}case 34:case 39:case 91:O+=eX(v);break;case 9:case 10:case 13:case 32:O+=function(e){for(;e$=eq();)if(e$<33)eY();else break;return eK(e)>2||eK(e$)>3?"":" "}(g);break;case 92:O+=function(e,t){for(var n;--t&&eY()&&!(e$<48)&&!(e$>102)&&(!(e$>57)||!(e$<65))&&(!(e$>70)||!(e$<97)););return n=eH+(t<6&&32==eq()&&32==eY()),eP(ez,e,n)}(eH-1,7);continue;case 47:switch(eq()){case 42:case 47:eF(eZ(u=function(e,t){for(;eY();)if(e+e$===57)break;else if(e+e$===84&&47===eq())break;return"/*"+eP(ez,t,eH-1)+"*"+ew(47===e?e:eY())}(eY(),eH),n,r,eA,ew(e$),eP(u,2,-2),0,c),c);break;default:O+="/"}break;case 123*b:l[d++]=eM(O)*E;case 125*b:case 59:case 0:switch(v){case 0:case 125:y=0;case 59+p:-1==E&&(O=eN(O,/\f/g,"")),m>0&&eM(O)-f&&eF(m>32?e2(O+";",a,r,f-1,c):e2(eN(O," ","")+";",a,r,f-2,c),c);break;case 59:O+=";";default:if(eF(A=e1(O,n,r,d,p,i,l,T,S=[],_=[],f,o),o),123===v){if(0===p)e(O,n,A,A,S,o,f,l,_);else switch(99===h&&110===eD(O,3)?100:h){case 100:case 108:case 109:case 115:e(t,A,A,a&&eF(e1(t,A,A,0,0,i,l,T,i,S=[],f,_),_),i,_,f,l,a?S:_);break;default:e(O,A,A,A,[""],_,0,l,_)}}}d=p=m=0,b=E=1,T=O="",f=s;break;case 58:f=1+eM(O),m=g;default:if(b<1){if(123==v)--b;else if(125==v&&0==b++&&125==(e$=eH>0?eD(ez,--eH):0,eU--,10===e$&&(eU=1,eB--),e$))continue}switch(O+=ew(v),v*b){case 38:E=p>0?1:(O+="\f",-1);break;case 44:l[d++]=(eM(O)-1)*E,E=1;break;case 64:45===eq()&&(O+=eX(eY())),h=eq(),p=f=eM(T=O+=function(e){for(;!eK(eq());)eY();return eP(ez,e,eH)}(eH)),v++;break;case 45:45===g&&2==eM(O)&&(b=0)}}return o}("",null,null,null,[""],(p=d=i||a?"".concat(i," ").concat(a," { ").concat(h," }"):h,eB=eU=1,eG=eM(ez=p),eH=0,d=[]),0,[0],d),ez="",f);o.namespace&&(m=function e(t,n){return t.map(function(t){return"rule"===t.type&&(t.value="".concat(n," ").concat(t.value),t.value=t.value.replaceAll(",",",".concat(n," ")),t.props=t.props.map(function(e){return"".concat(n," ").concat(e)})),Array.isArray(t.children)&&"@keyframes"!==t.type&&(t.children=e(t.children,n)),t})}(m,o.namespace));var g=[];return eQ(m,(c=(l=u.concat(function(e){var t;!e.root&&(e=e.return)&&(t=e,g.push(t))})).length,function(e,t,n,r){for(var a="",i=0;i="A"&&r<="Z"?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var nt=function(e){return null==e||!1===e||""===e},nn=function(e){var t=[];for(var n in e){var r=e[n];e.hasOwnProperty(n)&&!nt(r)&&(Array.isArray(r)&&r.isCss||tw(r)?t.push("".concat(ne(n),":"),r,";"):tL(r)?t.push.apply(t,ey(ey(["".concat(n," {")],nn(r),!1),["}"],!1)):t.push("".concat(ne(n),": ").concat(null==r||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||n in e3.Z||n.startsWith("--")?String(r).trim():"".concat(r,"px"),";")))}return t};function nr(e,t,n,r){return nt(e)?[]:tI(e)?[".".concat(e.styledComponentId)]:tw(e)?!tw(e)||e.prototype&&e.prototype.isReactComponent||!t?[e]:nr(e(t),t,n,r):e instanceof t7?n?(e.inject(n,r),[e.getName(r)]):[e]:tL(e)?nn(e):Array.isArray(e)?Array.prototype.concat.apply(tn,e.map(function(e){return nr(e,t,n,r)})):[e.toString()]}function na(e){for(var t=0;t>>0);if(!t.hasNameForId(this.componentId,i)){var o=n(a,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,o)}r=tR(r,i),this.staticRulesId=i}}else{for(var s=tp(this.baseHash,n.hash),l="",c=0;c>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(l,".".concat(p),void 0,this.componentId)),r=tR(r,p)}}return r},e}(),ns=eg.createContext(void 0);ns.Consumer;var nl={};function nc(e,t,n){var r,a,i,o,s=tI(e),l=!th(e),c=t.attrs,u=void 0===c?tn:c,d=t.componentId,p=void 0===d?(r=t.displayName,a=t.parentComponentId,nl[i="string"!=typeof r?"sc":ts(r)]=(nl[i]||0)+1,o="".concat(i,"-").concat(tu(tf(e8+i+nl[i])>>>0)),a?"".concat(a,"-").concat(o):o):d,f=t.displayName,h=void 0===f?th(e)?"styled.".concat(e):"Styled(".concat(e.displayName||e.name||"Component",")"):f,m=t.displayName&&t.componentId?"".concat(ts(t.displayName),"-").concat(t.componentId):t.componentId||p,g=s&&e.attrs?e.attrs.concat(u).filter(Boolean):u,b=t.shouldForwardProp;if(s&&e.shouldForwardProp){var y=e.shouldForwardProp;if(t.shouldForwardProp){var E=t.shouldForwardProp;b=function(e,t){return y(e,t)&&E(e,t)}}else b=y}var v=new no(n,m,s?e.componentStyle:void 0);function T(e,t){return function(e,t,n){var r,a,i=e.attrs,o=e.componentStyle,s=e.defaultProps,l=e.foldedComponentIds,c=e.styledComponentId,u=e.target,d=eg.useContext(ns),p=t9(),f=e.shouldForwardProp||p.shouldForwardProp,h=(void 0===(r=s)&&(r=tr),t.theme!==r.theme&&t.theme||d||r.theme||tr),m=function(e,t,n){for(var r,a=eb(eb({},t),{className:void 0,theme:n}),i=0;i2&&tJ.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=n.nc,a=tN([r&&'nonce="'.concat(r,'"'),"".concat(e4,'="true"'),"".concat(e9,'="').concat(e8,'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(e.sealed)throw tP(2);return e._emitSheetCSS()},this.getStyleElement=function(){if(e.sealed)throw tP(2);var t,r=e.instance.toString();if(!r)return[];var a=((t={})[e4]="",t[e9]=e8,t.dangerouslySetInnerHTML={__html:r},t),i=n.nc;return i&&(a.nonce=i),[eg.createElement("style",eb({},a,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new tJ({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw tP(2);return eg.createElement(t8,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw tP(3)}}();var nh=n(4942),nm=n(73935),ng=n.t(nm,2),nb=function(){return(nb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=18&&(J=ny.createRoot)}catch(e){}function nT(e){var t=ny.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"==typeof t&&(t.usingClientEntryPoint=e)}var nS="__rc_react_root__",n_=new Map;"undefined"!=typeof document&&n_.set("tooltip",document.createElement("div"));var nA=function(e,t){void 0===t&&(t=!1);var n=null;if(t)n=n_.get("tooltip");else if(n=document.createElement("div"),null==e?void 0:e.key){var r=n_.get(e.key);r?n=r:n_.set(e.key,n)}return!function(e,t){if(J){var n;nT(!0),n=t[nS]||J(t),nT(!1),n.render(e),t[nS]=n;return}nv(e,t)}(e,n),n},nO=function(e){if("undefined"==typeof document)return"loading";var t=e.attachShadow({mode:"open"}),n=document.createElement("div"),r=document.createElement("style");r.innerHTML=".loading {\n display: inline-block;\n position: relative;\n width: 80px;\n height: 80px;\n }\n .loading div {\n position: absolute;\n top: 33px;\n width: 13px;\n height: 13px;\n border-radius: 50%;\n background: #ccc;\n animation-timing-function: cubic-bezier(0, 1, 1, 0);\n }\n .loading div:nth-child(1) {\n left: 8px;\n animation: loading1 0.6s infinite;\n }\n .loading div:nth-child(2) {\n left: 8px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(3) {\n left: 32px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(4) {\n left: 56px;\n animation: loading3 0.6s infinite;\n }\n @keyframes loading1 {\n 0% {\n transform: scale(0);\n }\n 100% {\n transform: scale(1);\n }\n }\n @keyframes loading3 {\n 0% {\n transform: scale(1);\n }\n 100% {\n transform: scale(0);\n }\n }\n @keyframes loading2 {\n 0% {\n transform: translate(0, 0);\n }\n 100% {\n transform: translate(24px, 0);\n }\n }\n ",n.classList.add("loading"),n.innerHTML="
",t.appendChild(r),t.appendChild(n)},nk=function(e){var t=e.loadingTemplate,n=e.theme,r=eg.useRef(null);return eg.useEffect(function(){!t&&r.current&&nO(r.current)},[]),eg.createElement("div",{className:"charts-loading-container",style:{position:"absolute",width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",left:0,top:0,zIndex:99,backgroundColor:"dark"===(void 0===n?"light":n)?"rgb(20, 20, 20)":"rgb(255, 255, 255)"}},t||eg.createElement("div",{ref:r}))},nx=(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),nC=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={hasError:!1},t.renderError=function(e){var n=t.props.errorTemplate;return"function"==typeof n?n(e):n||eg.createElement("h5",null,"组件出错了,请核查后重试: ",e.message)},t}return nx(t,e),t.getDerivedStateFromError=function(e){return{hasError:!0,error:e}},t.getDerivedStateFromProps=function(e,t){return t.children!==e.children?{children:e.children,hasError:!1,error:void 0}:null},t.prototype.render=function(){return this.state.hasError?this.renderError(this.state.error):eg.createElement(eg.Fragment,null,this.props.children)},t}(eg.Component),nw=function(e,t,n){if(n||2==arguments.length)for(var r,a=0,i=t.length;a90)return this;this.computeMatrix()}return this._getAxes(),this.type===nN.iM.ORBITING||this.type===nN.iM.EXPLORING?this._getPosition():this.type===nN.iM.TRACKING&&this._getFocalPoint(),this._update(),this}},{key:"pan",value:function(e,t){var n=(0,nN.O4)(e,t,0),r=nG.d9(this.position);return nG.IH(r,r,nG.bA(nG.Ue(),this.right,n[0])),nG.IH(r,r,nG.bA(nG.Ue(),this.up,n[1])),this._setPosition(r),this.triggerUpdate(),this}},{key:"dolly",value:function(e){var t=this.forward,n=nG.d9(this.position),r=e*this.dollyingStep;return r=Math.max(Math.min(this.distance+e*this.dollyingStep,this.maxDistance),this.minDistance)-this.distance,n[0]+=r*t[0],n[1]+=r*t[1],n[2]+=r*t[2],this._setPosition(n),this.type===nN.iM.ORBITING||this.type===nN.iM.EXPLORING?this._getDistance():this.type===nN.iM.TRACKING&&nG.IH(this.focalPoint,n,this.distanceVector),this.triggerUpdate(),this}},{key:"cancelLandmarkAnimation",value:function(){void 0!==this.landmarkAnimationID&&this.canvas.cancelAnimationFrame(this.landmarkAnimationID)}},{key:"createLandmark",value:function(e){var t,n,r,a,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=i.position,s=void 0===o?this.position:o,l=i.focalPoint,c=void 0===l?this.focalPoint:l,u=i.roll,d=i.zoom,p=new nN.GZ.CameraContribution;p.setType(this.type,void 0),p.setPosition(s[0],null!==(t=s[1])&&void 0!==t?t:this.position[1],null!==(n=s[2])&&void 0!==n?n:this.position[2]),p.setFocalPoint(c[0],null!==(r=c[1])&&void 0!==r?r:this.focalPoint[1],null!==(a=c[2])&&void 0!==a?a:this.focalPoint[2]),p.setRoll(null!=u?u:this.roll),p.setZoom(null!=d?d:this.zoom);var f={name:e,matrix:nU.clone(p.getWorldTransform()),right:nG.d9(p.right),up:nG.d9(p.up),forward:nG.d9(p.forward),position:nG.d9(p.getPosition()),focalPoint:nG.d9(p.getFocalPoint()),distanceVector:nG.d9(p.getDistanceVector()),distance:p.getDistance(),dollyingStep:p.getDollyingStep(),azimuth:p.getAzimuth(),elevation:p.getElevation(),roll:p.getRoll(),relAzimuth:p.relAzimuth,relElevation:p.relElevation,relRoll:p.relRoll,zoom:p.getZoom()};return this.landmarks.push(f),f}},{key:"gotoLandmark",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=nj(e,"String")?this.landmarks.find(function(t){return t.name===e}):e;if(r){var a,i=nj(n,"Number")?{duration:n}:n,o=i.easing,s=void 0===o?"linear":o,l=i.duration,c=void 0===l?100:l,u=i.easingFunction,d=i.onfinish,p=void 0===d?void 0:d,f=i.onframe,h=void 0===f?void 0:f;this.cancelLandmarkAnimation();var m=r.position,g=r.focalPoint,b=r.zoom,y=r.roll,E=(void 0===u?void 0:u)||nN.GZ.EasingFunction(s),v=function(){t.setFocalPoint(g),t.setPosition(m),t.setRoll(y),t.setZoom(b),t.computeMatrix(),t.triggerUpdate(),null==p||p()};if(0===c)return v();var T=function(e){void 0===a&&(a=e);var n=e-a;if(n>=c){v();return}var r=E(n/c),i=nG.Ue(),o=nG.Ue(),s=1,l=0;if(nG.t7(i,t.focalPoint,g,r),nG.t7(o,t.position,m,r),l=t.roll*(1-r)+y*r,s=t.zoom*(1-r)+b*r,t.setFocalPoint(i),t.setPosition(o),t.setRoll(l),t.setZoom(s),nG.TK(i,g)+nG.TK(o,m)<=.01&&void 0===b&&void 0===y)return v();t.computeMatrix(),t.triggerUpdate(),nn?n:e},nW={}.toString,nV=function(e){return null==e},nY=function(e){function t(e,n,r,a){var i;return(0,nL.Z)(this,t),(i=(0,nP.Z)(this,t,[e])).currentTime=r,i.timelineTime=a,i.target=n,i.type="finish",i.bubbles=!1,i.currentTarget=n,i.defaultPrevented=!1,i.eventPhase=i.AT_TARGET,i.timeStamp=Date.now(),i.currentTime=r,i.timelineTime=a,i}return(0,nM.Z)(t,e),(0,nD.Z)(t)}(nN.xA),nq=0,nK=(0,nD.Z)(function e(t,n){var r;(0,nL.Z)(this,e),this.currentTimePending=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._playbackRate=1,this._inTimeline=!0,this.effect=t,t.animation=this,this.timeline=n,this.id="".concat(nq++),this._inEffect=!!this.effect.update(0),this._totalDuration=Number(null===(r=this.effect)||void 0===r?void 0:r.getComputedTiming().endTime),this._holdTime=0,this._paused=!1,this.oldPlayState="idle",this.updatePromises()},[{key:"pending",get:function(){return null===this._startTime&&!this._paused&&0!==this.playbackRate||this.currentTimePending}},{key:"playState",get:function(){return this._idle?"idle":this._isFinished?"finished":this._paused?"paused":"running"}},{key:"ready",get:function(){var e=this;return this.readyPromise||(-1===this.timeline.animationsWithPromises.indexOf(this)&&this.timeline.animationsWithPromises.push(this),this.readyPromise=new Promise(function(t,n){e.resolveReadyPromise=function(){t(e)},e.rejectReadyPromise=function(){n(Error())}}),this.pending||this.resolveReadyPromise()),this.readyPromise}},{key:"finished",get:function(){var e=this;return this.finishedPromise||(-1===this.timeline.animationsWithPromises.indexOf(this)&&this.timeline.animationsWithPromises.push(this),this.finishedPromise=new Promise(function(t,n){e.resolveFinishedPromise=function(){t(e)},e.rejectFinishedPromise=function(){n(Error())}}),"finished"===this.playState&&this.resolveFinishedPromise()),this.finishedPromise}},{key:"currentTime",get:function(){return this.updatePromises(),this._idle||this.currentTimePending?null:this._currentTime},set:function(e){if(!isNaN(e=Number(e))){if(this.timeline.restart(),!this._paused&&null!==this._startTime){var t;this._startTime=Number(null===(t=this.timeline)||void 0===t?void 0:t.currentTime)-e/this.playbackRate}this.currentTimePending=!1,this._currentTime!==e&&(this._idle&&(this._idle=!1,this._paused=!0),this.tickCurrentTime(e,!0),this.timeline.applyDirtiedAnimation(this))}}},{key:"startTime",get:function(){return this._startTime},set:function(e){null!==e&&(this.updatePromises(),!isNaN(e=Number(e))&&(this._paused||this._idle||(this._startTime=e,this.tickCurrentTime((Number(this.timeline.currentTime)-this._startTime)*this.playbackRate),this.timeline.applyDirtiedAnimation(this),this.updatePromises())))}},{key:"playbackRate",get:function(){return this._playbackRate},set:function(e){if(e!==this._playbackRate){this.updatePromises();var t=this.currentTime;this._playbackRate=e,this.startTime=null,"paused"!==this.playState&&"idle"!==this.playState&&(this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this)),null!==t&&(this.currentTime=t),this.updatePromises()}}},{key:"_isFinished",get:function(){return!this._idle&&(this._playbackRate>0&&Number(this._currentTime)>=this._totalDuration||this._playbackRate<0&&0>=Number(this._currentTime))}},{key:"totalDuration",get:function(){return this._totalDuration}},{key:"_needsTick",get:function(){return this.pending||"running"===this.playState||!this._finishedFlag}},{key:"updatePromises",value:function(){var e=this.oldPlayState,t=this.pending?"pending":this.playState;return this.readyPromise&&t!==e&&("idle"===t?(this.rejectReadyPromise(),this.readyPromise=void 0):"pending"===e?this.resolveReadyPromise():"pending"===t&&(this.readyPromise=void 0)),this.finishedPromise&&t!==e&&("idle"===t?(this.rejectFinishedPromise(),this.finishedPromise=void 0):"finished"===t?this.resolveFinishedPromise():"finished"===e&&(this.finishedPromise=void 0)),this.oldPlayState=t,this.readyPromise||this.finishedPromise}},{key:"play",value:function(){this.updatePromises(),this._paused=!1,(this._isFinished||this._idle)&&(this.rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this),-1===this.timeline.animations.indexOf(this)&&this.timeline.animations.push(this),this.updatePromises()}},{key:"pause",value:function(){this.updatePromises(),this.currentTime&&(this._holdTime=this.currentTime),this._isFinished||this._paused||this._idle?this._idle&&(this.rewind(),this._idle=!1):this.currentTimePending=!0,this._startTime=null,this._paused=!0,this.updatePromises()}},{key:"finish",value:function(){this.updatePromises(),this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this.currentTimePending=!1,this.timeline.applyDirtiedAnimation(this),this.updatePromises())}},{key:"cancel",value:function(){var e=this;if(this.updatePromises(),this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this.effect.update(null),this.timeline.applyDirtiedAnimation(this),this.updatePromises(),this.oncancel)){var t=new nY(null,this,this.currentTime,null);setTimeout(function(){e.oncancel(t)})}}},{key:"reverse",value:function(){this.updatePromises();var e=this.currentTime;this.playbackRate*=-1,this.play(),null!==e&&(this.currentTime=e),this.updatePromises()}},{key:"updatePlaybackRate",value:function(e){this.playbackRate=e}},{key:"targetAnimations",value:function(){var e;return(null===(e=this.effect)||void 0===e?void 0:e.target).getAnimations()}},{key:"markTarget",value:function(){var e=this.targetAnimations();-1===e.indexOf(this)&&e.push(this)}},{key:"unmarkTarget",value:function(){var e=this.targetAnimations(),t=e.indexOf(this);-1!==t&&e.splice(t,1)}},{key:"tick",value:function(e,t){this._idle||this._paused||(null===this._startTime?t&&(this.startTime=e-this._currentTime/this.playbackRate):this._isFinished||this.tickCurrentTime((e-this._startTime)*this.playbackRate)),t&&(this.currentTimePending=!1,this.fireEvents(e))}},{key:"rewind",value:function(){if(this.playbackRate>=0)this.currentTime=0;else if(this._totalDuration<1/0)this.currentTime=this._totalDuration;else throw Error("Unable to rewind negative playback rate animation with infinite duration")}},{key:"persist",value:function(){throw Error(nN.jf)}},{key:"addEventListener",value:function(e,t,n){throw Error(nN.jf)}},{key:"removeEventListener",value:function(e,t,n){throw Error(nN.jf)}},{key:"dispatchEvent",value:function(e){throw Error(nN.jf)}},{key:"commitStyles",value:function(){throw Error(nN.jf)}},{key:"ensureAlive",value:function(){var e,t;this.playbackRate<0&&0===this.currentTime?this._inEffect=!!(null!==(e=this.effect)&&void 0!==e&&e.update(-1)):this._inEffect=!!(null!==(t=this.effect)&&void 0!==t&&t.update(this.currentTime)),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,this.timeline.animations.push(this))}},{key:"tickCurrentTime",value:function(e,t){e!==this._currentTime&&(this._currentTime=e,this._isFinished&&!t&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this.ensureAlive())}},{key:"fireEvents",value:function(e){var t=this;if(this._isFinished){if(!this._finishedFlag){if(this.onfinish){var n=new nY(null,this,this.currentTime,e);setTimeout(function(){t.onfinish&&t.onfinish(n)})}this._finishedFlag=!0}}else{if(this.onframe&&"running"===this.playState){var r=new nY(null,this,this.currentTime,e);this.onframe(r)}this._finishedFlag=!1}}}]),nX="function"==typeof Float32Array,nQ=function(e,t){return 1-3*t+3*e},nJ=function(e,t){return 3*t-6*e},n0=function(e){return 3*e},n1=function(e,t,n){return((nQ(t,n)*e+nJ(t,n))*e+n0(t))*e},n2=function(e,t,n){return 3*nQ(t,n)*e*e+2*nJ(t,n)*e+n0(t)},n3=function(e,t,n,r,a){var i,o,s=0;do(i=n1(o=t+(n-t)/2,r,a)-e)>0?n=o:t=o;while(Math.abs(i)>1e-7&&++s<10);return o},n5=function(e,t,n,r){for(var a=0;a<4;++a){var i=n2(t,n,r);if(0===i)break;var o=n1(t,n,r)-e;t-=o/i}return t},n4=function(e,t,n,r){if(!(e>=0&&e<=1&&n>=0&&n<=1))throw Error("bezier x values must be in [0, 1] range");if(e===t&&n===r)return function(e){return e};for(var a=nX?new Float32Array(11):Array(11),i=0;i<11;++i)a[i]=n1(.1*i,e,n);var o=function(t){for(var r=0,i=1;10!==i&&a[i]<=t;++i)r+=.1;var o=r+(t-a[--i])/(a[i+1]-a[i])*.1,s=n2(o,e,n);return s>=.001?n5(t,o,e,n):0===s?o:n3(t,r,r+.1,e,n)};return function(e){return 0===e||1===e?e:n1(o(e),t,r)}},n6=function(e){return Math.pow(e,2)},n9=function(e){return Math.pow(e,3)},n8=function(e){return Math.pow(e,4)},n7=function(e){return Math.pow(e,5)},re=function(e){return Math.pow(e,6)},rt=function(e){return 1-Math.cos(e*Math.PI/2)},rn=function(e){return 1-Math.sqrt(1-e*e)},rr=function(e){return e*e*(3*e-2)},ra=function(e){for(var t,n=4;e<((t=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*t-2)/22-e,2)},ri=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,2),r=n[0],a=n[1],i=nZ(Number(void 0===r?1:r),1,10),o=nZ(Number(void 0===a?.5:a),.1,2);return 0===e||1===e?e:-i*Math.pow(2,10*(e-1))*Math.sin((e-1-o/(2*Math.PI)*Math.asin(1/i))*(2*Math.PI)/o)},ro=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,r=(0,nz.Z)(t,4),a=r[0],i=void 0===a?1:a,o=r[1],s=void 0===o?100:o,l=r[2],c=void 0===l?10:l,u=r[3],d=void 0===u?0:u;i=nZ(i,.1,1e3),s=nZ(s,.1,1e3),c=nZ(c,.1,1e3),d=nZ(d,.1,1e3);var p=Math.sqrt(s/i),f=c/(2*Math.sqrt(s*i)),h=f<1?p*Math.sqrt(1-f*f):0,m=f<1?(f*p+-d)/h:-d+p,g=n?n*e/1e3:e;return(g=f<1?Math.exp(-g*f*p)*(1*Math.cos(h*g)+m*Math.sin(h*g)):(1+m*g)*Math.exp(-g*p),0===e||1===e)?e:1-g},rs=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,2),r=n[0],a=void 0===r?10:r;return("start"===n[1]?Math.ceil:Math.floor)(nZ(e,0,1)*a)/a},rl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,4);return n4(n[0],n[1],n[2],n[3])(e)},rc=n4(.42,0,1,1),ru=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return 1-e(1-t,n,r)}},rd=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return t<.5?e(2*t,n,r)/2:1-e(-2*t+2,n,r)/2}},rp=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return t<.5?(1-e(1-2*t,n,r))/2:(e(2*t-1,n,r)+1)/2}},rf={steps:rs,"step-start":function(e){return rs(e,[1,"start"])},"step-end":function(e){return rs(e,[1,"end"])},linear:function(e){return e},"cubic-bezier":rl,ease:function(e){return rl(e,[.25,.1,.25,1])},in:rc,out:ru(rc),"in-out":rd(rc),"out-in":rp(rc),"in-quad":n6,"out-quad":ru(n6),"in-out-quad":rd(n6),"out-in-quad":rp(n6),"in-cubic":n9,"out-cubic":ru(n9),"in-out-cubic":rd(n9),"out-in-cubic":rp(n9),"in-quart":n8,"out-quart":ru(n8),"in-out-quart":rd(n8),"out-in-quart":rp(n8),"in-quint":n7,"out-quint":ru(n7),"in-out-quint":rd(n7),"out-in-quint":rp(n7),"in-expo":re,"out-expo":ru(re),"in-out-expo":rd(re),"out-in-expo":rp(re),"in-sine":rt,"out-sine":ru(rt),"in-out-sine":rd(rt),"out-in-sine":rp(rt),"in-circ":rn,"out-circ":ru(rn),"in-out-circ":rd(rn),"out-in-circ":rp(rn),"in-back":rr,"out-back":ru(rr),"in-out-back":rd(rr),"out-in-back":rp(rr),"in-bounce":ra,"out-bounce":ru(ra),"in-out-bounce":rd(ra),"out-in-bounce":rp(ra),"in-elastic":ri,"out-elastic":ru(ri),"in-out-elastic":rd(ri),"out-in-elastic":rp(ri),spring:ro,"spring-in":ro,"spring-out":ru(ro),"spring-in-out":rd(ro),"spring-out-in":rp(ro)},rh=function(e){var t;return("-"===(t=(t=e).replace(/([A-Z])/g,function(e){return"-".concat(e.toLowerCase())})).charAt(0)?t.substring(1):t).replace(/^ease-/,"").replace(/(\(|\s).+/,"").toLowerCase().trim()},rm=function(e){return e};function rg(e,t){return function(n){if(n>=1)return 1;var r=1/e;return(n+=t*r)-n%r}}var rb="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",ry=new RegExp("cubic-bezier\\(".concat(rb,",").concat(rb,",").concat(rb,",").concat(rb,"\\)")),rE=/steps\(\s*(\d+)\s*\)/,rv=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/;function rT(e){var t=ry.exec(e);if(t)return n4.apply(void 0,(0,n$.Z)(t.slice(1).map(Number)));var n=rE.exec(e);if(n)return rg(Number(n[1]),0);var r=rv.exec(e);return r?rg(Number(r[1]),{start:1,middle:.5,end:0}[r[2]]):rf[rh(e)]||rf.linear}function rS(e){return"offset"!==e&&"easing"!==e&&"composite"!==e&&"computedOffset"!==e}var r_=function(e,t,n){return function(r){var a,i=function e(t,n,r){if("number"==typeof t&&"number"==typeof n)return t*(1-r)+n*r;if("boolean"==typeof t&&"boolean"==typeof n||"string"==typeof t&&"string"==typeof n)return r<.5?t:n;if(Array.isArray(t)&&Array.isArray(n)){for(var a=t.length,i=n.length,o=Math.max(a,i),s=[],l=0;l1)throw Error("Keyframe offsets must be between 0 and 1.");n.computedOffset=a}}else if("composite"===r&&-1===["replace","add","accumulate","auto"].indexOf(a))throw Error("".concat(a," compositing is not supported"));n[r]=a}return void 0===n.offset&&(n.offset=null),void 0===n.easing&&(n.easing=(null==t?void 0:t.easing)||"linear"),void 0===n.composite&&(n.composite="auto"),n}),r=!0,a=-1/0,i=0;i=0&&1>=Number(e.offset)}),r||function(){var e,t,r=n.length;n[r-1].computedOffset=Number(null!==(e=n[r-1].offset)&&void 0!==e?e:1),r>1&&(n[0].computedOffset=Number(null!==(t=n[0].offset)&&void 0!==t?t:0));for(var a=0,i=Number(n[0].computedOffset),o=1;o=e.applyFrom&&t=Math.min(n.delay+e+n.endDelay,r)?2:3}(e,t,n),u=function(e,t,n,r,a){switch(r){case 1:if("backwards"===t||"both"===t)return 0;return null;case 3:return n-a;case 2:if("forwards"===t||"both"===t)return e;return null;case 0:return null}}(e,n.fill,t,c,n.delay);if(null===u)return null;var d="auto"===n.duration?0:n.duration,p=(r=n.iterations,a=n.iterationStart,0===d?1!==c&&(a+=r):a+=u/d,a),f=(i=n.iterationStart,o=n.iterations,0==(s=p===1/0?i%1:p%1)&&2===c&&0!==o&&(0!==u||0===d)&&(s=1),s),h=(l=n.iterations,2===c&&l===1/0?1/0:1===f?Math.floor(p)-1:Math.floor(p)),m=function(e,t,n){var r=e;if("normal"!==e&&"reverse"!==e){var a=t;"alternate-reverse"===e&&(a+=1),r="normal",a!==1/0&&a%2!=0&&(r="reverse")}return"normal"===r?n:1-n}(n.direction,h,f);return n.currentIteration=h,n.progress=m,n.easingFunction(m)}(this.timing.activeDuration,e,this.timing),null!==this.timeFraction)}},{key:"getKeyframes",value:function(){return this.normalizedKeyframes}},{key:"setKeyframes",value:function(e){this.normalizedKeyframes=rO(e)}},{key:"getComputedTiming",value:function(){return this.computedTiming}},{key:"getTiming",value:function(){return this.timing}},{key:"updateTiming",value:function(e){var t=this;Object.keys(e||{}).forEach(function(n){t.timing[n]=e[n]})}}]);function rw(e,t){return Number(e.id)-Number(t.id)}var rI=(0,nD.Z)(function e(t){var n=this;(0,nL.Z)(this,e),this.animations=[],this.ticking=!1,this.timelineTicking=!1,this.hasRestartedThisFrame=!1,this.animationsWithPromises=[],this.inTick=!1,this.pendingEffects=[],this.currentTime=null,this.rafId=0,this.rafCallbacks=[],this.webAnimationsNextTick=function(e){n.currentTime=e,n.discardAnimations(),0===n.animations.length?n.timelineTicking=!1:n.requestAnimationFrame(n.webAnimationsNextTick)},this.processRafCallbacks=function(e){var t=n.rafCallbacks;n.rafCallbacks=[],et.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let rN=(e,t,n)=>[["M",e-n,t],["A",n,n,0,1,0,e+n,t],["A",n,n,0,1,0,e-n,t],["Z"]];rN.style=["fill"];let rL=rN.bind(void 0);rL.style=["stroke","lineWidth"];let rD=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t-n],["L",e+n,t+n],["L",e-n,t+n],["Z"]];rD.style=["fill"];let rP=rD.bind(void 0);rP.style=["fill"];let rM=rD.bind(void 0);rM.style=["stroke","lineWidth"];let rF=(e,t,n)=>{let r=.618*n;return[["M",e-r,t],["L",e,t-n],["L",e+r,t],["L",e,t+n],["Z"]]};rF.style=["fill"];let rj=rF.bind(void 0);rj.style=["stroke","lineWidth"];let rB=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t+r],["L",e,t-r],["L",e+n,t+r],["Z"]]};rB.style=["fill"];let rU=rB.bind(void 0);rU.style=["stroke","lineWidth"];let rG=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t-r],["L",e+n,t-r],["L",e,t+r],["Z"]]};rG.style=["fill"];let rH=rG.bind(void 0);rH.style=["stroke","lineWidth"];let r$=(e,t,n)=>{let r=n/2*Math.sqrt(3);return[["M",e,t-n],["L",e+r,t-n/2],["L",e+r,t+n/2],["L",e,t+n],["L",e-r,t+n/2],["L",e-r,t-n/2],["Z"]]};r$.style=["fill"];let rz=r$.bind(void 0);rz.style=["stroke","lineWidth"];let rZ=(e,t,n)=>{let r=n-1.5;return[["M",e-n,t-r],["L",e+n,t+r],["L",e+n,t-r],["L",e-n,t+r],["Z"]]};rZ.style=["fill"];let rW=rZ.bind(void 0);rW.style=["stroke","lineWidth"];let rV=(e,t,n)=>[["M",e,t+n],["L",e,t-n]];rV.style=["stroke","lineWidth"];let rY=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t+n],["M",e+n,t-n],["L",e-n,t+n]];rY.style=["stroke","lineWidth"];let rq=(e,t,n)=>[["M",e-n/2,t-n],["L",e+n/2,t-n],["M",e,t-n],["L",e,t+n],["M",e-n/2,t+n],["L",e+n/2,t+n]];rq.style=["stroke","lineWidth"];let rK=(e,t,n)=>[["M",e-n,t],["L",e+n,t],["M",e,t-n],["L",e,t+n]];rK.style=["stroke","lineWidth"];let rX=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rX.style=["stroke","lineWidth"];let rQ=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rQ.style=["stroke","lineWidth"];let rJ=rQ.bind(void 0);rJ.style=["stroke","lineWidth"];let r0=(e,t,n)=>[["M",e-n,t],["A",n/2,n/2,0,1,1,e,t],["A",n/2,n/2,0,1,0,e+n,t]];r0.style=["stroke","lineWidth"];let r1=(e,t,n)=>[["M",e-n-1,t-2.5],["L",e,t-2.5],["L",e,t+2.5],["L",e+n+1,t+2.5]];r1.style=["stroke","lineWidth"];let r2=(e,t,n)=>[["M",e-n-1,t+2.5],["L",e,t+2.5],["L",e,t-2.5],["L",e+n+1,t-2.5]];r2.style=["stroke","lineWidth"];let r3=(e,t,n)=>[["M",e-(n+1),t+2.5],["L",e-n/2,t+2.5],["L",e-n/2,t-2.5],["L",e+n/2,t-2.5],["L",e+n/2,t+2.5],["L",e+n+1,t+2.5]];r3.style=["stroke","lineWidth"];let r5=(e,t,n)=>[["M",e-5,t+2.5],["L",e-5,t],["L",e,t],["L",e,t-3],["L",e,t+3],["L",e+6.5,t+3]];r5.style=["stroke","lineWidth"];let r4=new Map([["bowtie",rZ],["cross",rY],["dash",rJ],["diamond",rF],["dot",rQ],["hexagon",r$],["hollowBowtie",rW],["hollowDiamond",rj],["hollowHexagon",rz],["hollowPoint",rL],["hollowSquare",rM],["hollowTriangle",rU],["hollowTriangleDown",rH],["hv",r1],["hvh",r3],["hyphen",rX],["line",rV],["plus",rK],["point",rN],["rect",rP],["smooth",r0],["square",rD],["tick",rq],["triangleDown",rG],["triangle",rB],["vh",r2],["vhv",r5]]),r6={};function r9(e,t){if(e.startsWith("symbol.")){var n;n=e.split(".").pop(),r4.set(n,t)}else Object.assign(r6,{[e]:t})}var r8=n(88998);/*! +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[516,9618,6231,8424,5265,2640,3913,952],{11475:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},3089:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M696 480H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"minus-circle",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},27496:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},94668:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},34971:function(e,t){"use strict";t.Z=function(e,t,n){return en?n:e}},24960:function(e,t,n){"use strict";var r=n(44002);t.Z=function(e){return Array.isArray?Array.isArray(e):(0,r.Z)(e,"Array")}},52176:function(e,t,n){"use strict";var r=n(44002);t.Z=function(e){return(0,r.Z)(e,"Boolean")}},55265:function(e,t){"use strict";t.Z=function(e){return"function"==typeof e}},82993:function(e,t){"use strict";t.Z=function(e){return null==e}},23198:function(e,t,n){"use strict";function r(e,t,n){return void 0===n&&(n=1e-5),Math.abs(e-t)1&&(E*=C=Math.sqrt(C),v*=C);var w=E*E,I=v*v,R=(o===l?-1:1)*Math.sqrt(Math.abs((w*I-w*x*x-I*k*k)/(w*x*x+I*k*k)));m=R*E*x/v+(b+T)/2,g=-(R*v)*k/E+(y+S)/2,f=Math.asin(((y-g)/v*1e9>>0)/1e9),h=Math.asin(((S-g)/v*1e9>>0)/1e9),f=bh&&(f-=2*Math.PI),!l&&h>f&&(h-=2*Math.PI)}var N=h-f;if(Math.abs(N)>_){var L=h,D=T,P=S;O=e(T=m+E*Math.cos(h=f+_*(l&&h>f?1:-1)),S=g+v*Math.sin(h),E,v,i,0,l,D,P,[h,L,m,g])}N=h-f;var M=Math.cos(f),F=Math.cos(h),j=Math.tan(N/4),B=4/3*E*j,U=4/3*v*j,G=[b,y],H=[b+B*Math.sin(f),y-U*M],$=[T+B*Math.sin(h),S-U*F],z=[T,S];if(H[0]=2*G[0]-H[0],H[1]=2*G[1]-H[1],d)return H.concat($,z,O);O=H.concat($,z,O);for(var Z=[],W=0,V=O.length;W7){e[n].shift();for(var r=e[n],a=n;r.length;)t[n]="A",e.splice(a+=1,0,["C"].concat(r.splice(0,6)));e.splice(n,1)}}(d,f,b),m=d.length,"Z"===h&&g.push(b),l=(n=d[b]).length,p.x1=+n[l-2],p.y1=+n[l-1],p.x2=+n[l-4]||p.x1,p.y2=+n[l-3]||p.y1}return t?[d,g]:d}},19586:function(e,t,n){"use strict";n.d(t,{R:function(){return r}});var r={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0}},33554:function(e,t,n){"use strict";n.d(t,{z:function(){return r}});var r={x1:0,y1:0,x2:0,y2:0,x:0,y:0,qx:null,qy:null}},54947:function(e,t,n){"use strict";function r(e){return e.map(function(e){return Array.isArray(e)?[].concat(e):e})}n.d(t,{U:function(){return r}})},94918:function(e,t,n){"use strict";n.d(t,{A:function(){return f}});var r=n(97582),a=n(65336),i=n(33554),o=n(60310),s=n(97153),l=n(19586);function c(e){for(var t=e.pathValue[e.segmentStart],n=t.toLowerCase(),r=e.data;r.length>=l.R[n]&&("m"===n&&r.length>2?(e.segments.push([t].concat(r.splice(0,2))),n="l",t="m"===t?"l":"L"):e.segments.push([t].concat(r.splice(0,l.R[n]))),l.R[n]););}function u(e){return e>=48&&e<=57}function d(e){for(var t,n=e.pathValue,r=e.max;e.index=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].includes(t));)e.index+=1}var p=function(e){this.pathValue=e,this.segments=[],this.max=e.length,this.index=0,this.param=0,this.segmentStart=0,this.data=[],this.err=""};function f(e){if((0,a.y)(e))return[].concat(e);for(var t=function(e){if((0,o.b)(e))return[].concat(e);var t=function(e){if((0,s.n)(e))return[].concat(e);var t=new p(e);for(d(t);t.index0;s-=1){if((32|a)==97&&(3===s||4===s)?function(e){var t=e.index,n=e.pathValue,r=n.charCodeAt(t);if(48===r){e.param=0,e.index+=1;return}if(49===r){e.param=1,e.index+=1;return}e.err='[path-util]: invalid Arc flag "'+n[t]+'", expecting 0 or 1 at index '+t}(e):function(e){var t,n=e.max,r=e.pathValue,a=e.index,i=a,o=!1,s=!1,l=!1,c=!1;if(i>=n){e.err="[path-util]: Invalid path value at index "+i+', "pathValue" is missing param';return}if((43===(t=r.charCodeAt(i))||45===t)&&(i+=1,t=r.charCodeAt(i)),!u(t)&&46!==t){e.err="[path-util]: Invalid path value at index "+i+', "'+r[i]+'" is not a number';return}if(46!==t){if(o=48===t,i+=1,t=r.charCodeAt(i),o&&i=e.max||!((o=n.charCodeAt(e.index))>=48&&o<=57||43===o||45===o||46===o))break}c(e)}(t);return t.err?t.err:t.segments}(e),n=0,r=0,a=0,i=0;return t.map(function(e){var t,o=e.slice(1).map(Number),s=e[0],l=s.toUpperCase();if("M"===s)return n=o[0],r=o[1],a=n,i=r,["M",n,r];if(s!==l)switch(l){case"A":t=[l,o[0],o[1],o[2],o[3],o[4],o[5]+n,o[6]+r];break;case"V":t=[l,o[0]+r];break;case"H":t=[l,o[0]+n];break;default:t=[l].concat(o.map(function(e,t){return e+(t%2?r:n)}))}else t=[l].concat(o);var c=t.length;switch(l){case"Z":n=a,r=i;break;case"H":n=t[1];break;case"V":r=t[1];break;default:n=t[c-2],r=t[c-1],"M"===l&&(a=n,i=r)}return t})}(e),n=(0,r.pi)({},i.z),f=0;f=h[t],m[t]-=g?1:0,g?e.ss:[e.s]}).flat()});return b[0].length===b[1].length?b:e(b[0],b[1],f)}}});var r=n(50944),a=n(51777);function i(e){return e.map(function(e,t,n){var i,o,s,l,c,u,d,p,f,h,m,g,b=t&&n[t-1].slice(-2).concat(e.slice(1)),y=t?(0,a.S)(b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7],b[8],{bbox:!1}).length:0;return g=t?y?(void 0===i&&(i=.5),o=b.slice(0,2),s=b.slice(2,4),l=b.slice(4,6),c=b.slice(6,8),u=(0,r.k)(o,s,i),d=(0,r.k)(s,l,i),p=(0,r.k)(l,c,i),f=(0,r.k)(u,d,i),h=(0,r.k)(d,p,i),m=(0,r.k)(f,h,i),[["C"].concat(u,f,m),["C"].concat(h,p,c)]):[e,e]:[e],{s:e,ss:g,l:y}})}},46516:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var r=n(27872);function a(e){var t,n,a;return t=0,n=0,a=0,(0,r.Y)(e).map(function(e){if("M"===e[0])return t=e[1],n=e[2],0;var r,i,o,s=e.slice(1),l=s[0],c=s[1],u=s[2],d=s[3],p=s[4],f=s[5];return i=t,a=3*((f-(o=n))*(l+u)-(p-i)*(c+d)+c*(i-u)-l*(o-d)+f*(u+i/3)-p*(d+o/3))/20,t=(r=e.slice(-2))[0],n=r[1],a}).reduce(function(e,t){return e+t},0)>=0}},90046:function(e,t,n){"use strict";n.d(t,{r:function(){return i}});var r=n(97582),a=n(10992);function i(e,t,n){return(0,a.s)(e,t,(0,r.pi)((0,r.pi)({},n),{bbox:!1,length:!0})).point}},91952:function(e,t,n){"use strict";n.d(t,{g:function(){return a}});var r=n(58076);function a(e,t){var n,a,i=e.length-1,o=[],s=0,l=(a=(n=e.length)-1,e.map(function(t,r){return e.map(function(t,i){var o=r+i;return 0===i||e[o]&&"M"===e[o][0]?["M"].concat(e[o].slice(-2)):(o>=n&&(o-=a),e[o])})}));return l.forEach(function(n,a){e.slice(1).forEach(function(n,o){s+=(0,r.y)(e[(a+o)%i].slice(-2),t[o%i].slice(-2))}),o[a]=s,s=0}),l[o.indexOf(Math.min.apply(null,o))]}},62436:function(e,t,n){"use strict";n.d(t,{D:function(){return i}});var r=n(97582),a=n(10992);function i(e,t){return(0,a.s)(e,void 0,(0,r.pi)((0,r.pi)({},t),{bbox:!1,length:!0})).length}},60310:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var r=n(97153);function a(e){return(0,r.n)(e)&&e.every(function(e){var t=e[0];return t===t.toUpperCase()})}},65336:function(e,t,n){"use strict";n.d(t,{y:function(){return a}});var r=n(60310);function a(e){return(0,r.b)(e)&&e.every(function(e){var t=e[0];return"ACLMQZ".includes(t)})}},97153:function(e,t,n){"use strict";n.d(t,{n:function(){return a}});var r=n(19586);function a(e){return Array.isArray(e)&&e.every(function(e){var t=e[0].toLowerCase();return r.R[t]===e.length-1&&"achlmqstvz".includes(t)})}},50944:function(e,t,n){"use strict";function r(e,t,n){var r=e[0],a=e[1];return[r+(t[0]-r)*n,a+(t[1]-a)*n]}n.d(t,{k:function(){return r}})},10992:function(e,t,n){"use strict";n.d(t,{s:function(){return c}});var r=n(94918),a=n(50944),i=n(58076);function o(e,t,n,r,o){var s=(0,i.y)([e,t],[n,r]),l={x:0,y:0};if("number"==typeof o){if(o<=0)l={x:e,y:t};else if(o>=s)l={x:n,y:r};else{var c=(0,a.k)([e,t],[n,r],o/s);l={x:c[0],y:c[1]}}}return{length:s,point:l,min:{x:Math.min(e,n),y:Math.min(t,r)},max:{x:Math.max(e,n),y:Math.max(t,r)}}}function s(e,t){var n=e.x,r=e.y,a=t.x,i=t.y,o=Math.sqrt((Math.pow(n,2)+Math.pow(r,2))*(Math.pow(a,2)+Math.pow(i,2)));return(n*i-r*a<0?-1:1)*Math.acos((n*a+r*i)/o)}var l=n(51777);function c(e,t,n){for(var a,c,u,d,p,f,h,m,g,b=(0,r.A)(e),y="number"==typeof t,E=[],v=0,T=0,S=0,_=0,A=[],O=[],k=0,x={x:0,y:0},C=x,w=x,I=x,R=0,N=0,L=b.length;N1&&(b*=m(_),y*=m(_));var A=(Math.pow(b,2)*Math.pow(y,2)-Math.pow(b,2)*Math.pow(S.y,2)-Math.pow(y,2)*Math.pow(S.x,2))/(Math.pow(b,2)*Math.pow(S.y,2)+Math.pow(y,2)*Math.pow(S.x,2)),O=(i!==l?1:-1)*m(A=A<0?0:A),k={x:O*(b*S.y/y),y:O*(-(y*S.x)/b)},x={x:h(E)*k.x-f(E)*k.y+(e+c)/2,y:f(E)*k.x+h(E)*k.y+(t+u)/2},C={x:(S.x-k.x)/b,y:(S.y-k.y)/y},w=s({x:1,y:0},C),I=s(C,{x:(-S.x-k.x)/b,y:(-S.y-k.y)/y});!l&&I>0?I-=2*g:l&&I<0&&(I+=2*g);var R=w+(I%=2*g)*d,N=b*h(R),L=y*f(R);return{x:h(E)*N-f(E)*L+x.x,y:f(E)*N+h(E)*L+x.y}}(e,t,n,r,a,l,c,u,d,w/v)).x,_=h.y,g&&C.push({x:S,y:_}),y&&(A+=(0,i.y)(k,[S,_])),k=[S,_],T&&A>=p&&p>O[2]){var I=(A-p)/(A-O[2]);x={x:k[0]*(1-I)+O[0]*I,y:k[1]*(1-I)+O[1]*I}}O=[S,_,A]}return T&&p>=A&&(x={x:u,y:d}),{length:A,point:x,min:{x:Math.min.apply(null,C.map(function(e){return e.x})),y:Math.min.apply(null,C.map(function(e){return e.y}))},max:{x:Math.max.apply(null,C.map(function(e){return e.x})),y:Math.max.apply(null,C.map(function(e){return e.y}))}}}(E[0],E[1],E[2],E[3],E[4],E[5],E[6],E[7],E[8],(t||0)-R,n||{})).length,x=c.min,C=c.max,w=c.point):"C"===m?(k=(u=(0,l.S)(E[0],E[1],E[2],E[3],E[4],E[5],E[6],E[7],(t||0)-R,n||{})).length,x=u.min,C=u.max,w=u.point):"Q"===m?(k=(d=function(e,t,n,r,a,o,s,l){var c,u=l.bbox,d=void 0===u||u,p=l.length,f=void 0===p||p,h=l.sampleSize,m=void 0===h?10:h,g="number"==typeof s,b=e,y=t,E=0,v=[b,y,0],T=[b,y],S={x:0,y:0},_=[{x:b,y:y}];g&&s<=0&&(S={x:b,y:y});for(var A=0;A<=m;A+=1){if(b=(c=function(e,t,n,r,a,i,o){var s=1-o;return{x:Math.pow(s,2)*e+2*s*o*n+Math.pow(o,2)*a,y:Math.pow(s,2)*t+2*s*o*r+Math.pow(o,2)*i}}(e,t,n,r,a,o,A/m)).x,y=c.y,d&&_.push({x:b,y:y}),f&&(E+=(0,i.y)(T,[b,y])),T=[b,y],g&&E>=s&&s>v[2]){var O=(E-s)/(E-v[2]);S={x:T[0]*(1-O)+v[0]*O,y:T[1]*(1-O)+v[1]*O}}v=[b,y,E]}return g&&s>=E&&(S={x:a,y:o}),{length:E,point:S,min:{x:Math.min.apply(null,_.map(function(e){return e.x})),y:Math.min.apply(null,_.map(function(e){return e.y}))},max:{x:Math.max.apply(null,_.map(function(e){return e.x})),y:Math.max.apply(null,_.map(function(e){return e.y}))}}}(E[0],E[1],E[2],E[3],E[4],E[5],(t||0)-R,n||{})).length,x=d.min,C=d.max,w=d.point):"Z"===m&&(k=(p=o((E=[v,T,S,_])[0],E[1],E[2],E[3],(t||0)-R)).length,x=p.min,C=p.max,w=p.point),y&&R=t&&(I=w),O.push(C),A.push(x),R+=k,v=(f="Z"!==m?g.slice(-2):[S,_])[0],T=f[1];return y&&t>=R&&(I={x:v,y:T}),{length:R,point:I,min:{x:Math.min.apply(null,A.map(function(e){return e.x})),y:Math.min.apply(null,A.map(function(e){return e.y}))},max:{x:Math.max.apply(null,O.map(function(e){return e.x})),y:Math.max.apply(null,O.map(function(e){return e.y}))}}}},51777:function(e,t,n){"use strict";n.d(t,{S:function(){return a}});var r=n(58076);function a(e,t,n,a,i,o,s,l,c,u){var d,p=u.bbox,f=void 0===p||p,h=u.length,m=void 0===h||h,g=u.sampleSize,b=void 0===g?10:g,y="number"==typeof c,E=e,v=t,T=0,S=[E,v,0],_=[E,v],A={x:0,y:0},O=[{x:E,y:v}];y&&c<=0&&(A={x:E,y:v});for(var k=0;k<=b;k+=1){if(E=(d=function(e,t,n,r,a,i,o,s,l){var c=1-l;return{x:Math.pow(c,3)*e+3*Math.pow(c,2)*l*n+3*c*Math.pow(l,2)*a+Math.pow(l,3)*o,y:Math.pow(c,3)*t+3*Math.pow(c,2)*l*r+3*c*Math.pow(l,2)*i+Math.pow(l,3)*s}}(e,t,n,a,i,o,s,l,k/b)).x,v=d.y,f&&O.push({x:E,y:v}),m&&(T+=(0,r.y)(_,[E,v])),_=[E,v],y&&T>=c&&c>S[2]){var x=(T-c)/(T-S[2]);A={x:_[0]*(1-x)+S[0]*x,y:_[1]*(1-x)+S[1]*x}}S=[E,v,T]}return y&&c>=T&&(A={x:s,y:l}),{length:T,point:A,min:{x:Math.min.apply(null,O.map(function(e){return e.x})),y:Math.min.apply(null,O.map(function(e){return e.y}))},max:{x:Math.max.apply(null,O.map(function(e){return e.x})),y:Math.max.apply(null,O.map(function(e){return e.y}))}}}},4503:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function i(e,t,r,i,o){if("function"!=typeof r)throw TypeError("The listener must be a function");var s=new a(r,i||e,o),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function o(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,a=[];if(0===this._eventsCount)return a;for(r in e=this._events)t.call(e,r)&&a.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?a.concat(Object.getOwnPropertySymbols(e)):a},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var a=0,i=r.length,o=Array(i);at.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let o="text/event-stream",s="last-event-id";function l(e,t){var{signal:n,headers:l,onopen:u,onmessage:d,onclose:p,onerror:f,openWhenHidden:h,fetch:m}=t,g=i(t,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((t,i)=>{let b;let y=Object.assign({},l);function E(){b.abort(),document.hidden||O()}y.accept||(y.accept=o),h||document.addEventListener("visibilitychange",E);let v=1e3,T=0;function S(){document.removeEventListener("visibilitychange",E),window.clearTimeout(T),b.abort()}null==n||n.addEventListener("abort",()=>{S(),t()});let _=null!=m?m:window.fetch,A=null!=u?u:c;async function O(){var n,o;b=new AbortController;try{let n,i,l,c;let u=await _(e,Object.assign(Object.assign({},g),{headers:y,signal:b.signal}));await A(u),await r(u.body,(o=function(e,t,n){let r=a(),i=new TextDecoder;return function(o,s){if(0===o.length)null==n||n(r),r=a();else if(s>0){let n=i.decode(o.subarray(0,s)),a=s+(32===o[s+1]?2:1),l=i.decode(o.subarray(a));switch(n){case"data":r.data=r.data?r.data+"\n"+l:l;break;case"event":r.event=l;break;case"id":e(r.id=l);break;case"retry":let c=parseInt(l,10);isNaN(c)||t(r.retry=c)}}}}(e=>{e?y[s]=e:delete y[s]},e=>{v=e},d),c=!1,function(e){void 0===n?(n=e,i=0,l=-1):n=function(e,t){let n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}(n,e);let t=n.length,r=0;for(;i=n?k.text.primary:O.text.primary;return t}let w=({color:e,name:t,mainShade:n=500,lightShade:i=300,darkShade:o=700})=>{if(!(e=(0,r.Z)({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw Error((0,u.Z)(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw Error((0,u.Z)(12,t?` (${t})`:"",JSON.stringify(e.main)));return x(e,"light",i,a),x(e,"dark",o,a),e.contrastText||(e.contrastText=C(e.main)),e},I=(0,d.Z)((0,r.Z)({common:(0,r.Z)({},g),mode:t,primary:w({color:s,name:"primary"}),secondary:w({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:w({color:c,name:"error"}),warning:w({color:h,name:"warning"}),info:w({color:p,name:"info"}),success:w({color:f,name:"success"}),grey:b,contrastThreshold:n,getContrastText:C,augmentColor:w,tonalOffset:a},{dark:k,light:O}[t]),o);return I}(a),R=(0,h.Z)(e),U=(0,d.Z)(R,{mixins:(t=R.breakpoints,(0,r.Z)({toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}}},n)),palette:c,shadows:N.slice(),typography:function(e,t){let n="function"==typeof t?t(e):t,{fontFamily:a=I,fontSize:o=14,fontWeightLight:s=300,fontWeightRegular:l=400,fontWeightMedium:c=500,fontWeightBold:u=700,htmlFontSize:p=16,allVariants:f,pxToRem:h}=n,m=(0,i.Z)(n,C),g=o/14,b=h||(e=>`${e/p*g}rem`),y=(e,t,n,i,o)=>(0,r.Z)({fontFamily:a,fontWeight:e,fontSize:b(t),lineHeight:n},a===I?{letterSpacing:`${Math.round(1e5*(i/t))/1e5}em`}:{},o,f),E={h1:y(s,96,1.167,-1.5),h2:y(s,60,1.2,-.5),h3:y(l,48,1.167,0),h4:y(l,34,1.235,.25),h5:y(l,24,1.334,0),h6:y(c,20,1.6,.15),subtitle1:y(l,16,1.75,.15),subtitle2:y(c,14,1.57,.1),body1:y(l,16,1.5,.15),body2:y(l,14,1.43,.15),button:y(c,14,1.75,.4,w),caption:y(l,12,1.66,.4),overline:y(l,12,2.66,1,w),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,d.Z)((0,r.Z)({htmlFontSize:p,pxToRem:b,fontFamily:a,fontSize:o,fontWeightLight:s,fontWeightRegular:l,fontWeightMedium:c,fontWeightBold:u},E),m,{clone:!1})}(c,s),transitions:function(e){let t=(0,r.Z)({},D,e.easing),n=(0,r.Z)({},P,e.duration);return(0,r.Z)({getAutoHeightDuration:F,create:(e=["all"],r={})=>{let{duration:a=n.standard,easing:o=t.easeInOut,delay:s=0}=r;return(0,i.Z)(r,L),(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof a?a:M(a)} ${o} ${"string"==typeof s?s:M(s)}`).join(",")}},e,{easing:t,duration:n})}(o),zIndex:(0,r.Z)({},j)});return(U=[].reduce((e,t)=>(0,d.Z)(e,t),U=(0,d.Z)(U,l))).unstable_sxConfig=(0,r.Z)({},p.Z,null==l?void 0:l.unstable_sxConfig),U.unstable_sx=function(e){return(0,f.Z)({sx:e,theme:this})},U}();var G="$$material",H=n(58128);let $=(0,H.ZP)({themeId:G,defaultTheme:U,rootShouldForwardProp:e=>"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e&&"classes"!==e});var z=n(1977),Z=n(8027);function W(e){return(0,Z.ZP)("MuiSvgIcon",e)}(0,z.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var V=n(85893);let Y=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],q=e=>{let{color:t,fontSize:n,classes:r}=e,a={root:["root","inherit"!==t&&`color${l(t)}`,`fontSize${l(n)}`]};return(0,s.Z)(a,W,r)},K=$("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${l(n.color)}`],t[`fontSize${l(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,a,i,o,s,l,c,u,d,p,f,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(a=e.transitions)||null==(a=a.duration)?void 0:a.shorter}),fontSize:({inherit:"inherit",small:(null==(i=e.typography)||null==(o=i.pxToRem)?void 0:o.call(i,20))||"1.25rem",medium:(null==(s=e.typography)||null==(l=s.pxToRem)?void 0:l.call(s,24))||"1.5rem",large:(null==(c=e.typography)||null==(u=c.pxToRem)?void 0:u.call(c,35))||"2.1875rem"})[t.fontSize],color:null!=(d=null==(p=(e.vars||e).palette)||null==(p=p[t.color])?void 0:p.main)?d:({action:null==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.active,disabled:null==(h=(e.vars||e).palette)||null==(h=h.action)?void 0:h.disabled,inherit:void 0})[t.color]}}),X=a.forwardRef(function(e,t){let n=function({props:e,name:t}){return(0,c.Z)({props:e,name:t,defaultTheme:U,themeId:G})}({props:e,name:"MuiSvgIcon"}),{children:s,className:l,color:u="inherit",component:d="svg",fontSize:p="medium",htmlColor:f,inheritViewBox:h=!1,titleAccess:m,viewBox:g="0 0 24 24"}=n,b=(0,i.Z)(n,Y),y=a.isValidElement(s)&&"svg"===s.type,E=(0,r.Z)({},n,{color:u,component:d,fontSize:p,instanceFontSize:e.fontSize,inheritViewBox:h,viewBox:g,hasSvgAsChild:y}),v={};h||(v.viewBox=g);let T=q(E);return(0,V.jsxs)(K,(0,r.Z)({as:d,className:(0,o.Z)(T.root,l),focusable:"false",color:f,"aria-hidden":!m||void 0,role:m?"img":void 0,ref:t},v,b,y&&s.props,{ownerState:E,children:[y?s.props.children:s,m?(0,V.jsx)("title",{children:m}):null]}))});function Q(e,t){function n(n,a){return(0,V.jsx)(X,(0,r.Z)({"data-testid":`${t}Icon`,ref:a},n,{children:e}))}return n.muiName=X.muiName,a.memo(a.forwardRef(n))}X.muiName="SvgIcon"},2101:function(e,t,n){"use strict";var r=n(64836);t._j=function(e,t){if(e=s(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return l(e)},t.mi=function(e,t){let n=c(e),r=c(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)},t.$n=function(e,t){if(e=s(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return l(e)};var a=r(n(743)),i=r(n(49425));function o(e,t=0,n=1){return(0,i.default)(e,t,n)}function s(e){let t;if(e.type)return e;if("#"===e.charAt(0))return s(function(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map(e=>e+e)),n?`rgb${4===n.length?"a":""}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));let n=e.indexOf("("),r=e.substring(0,n);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw Error((0,a.default)(9,e));let i=e.substring(n+1,e.length-1);if("color"===r){if(t=(i=i.split(" ")).shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(t))throw Error((0,a.default)(10,t))}else i=i.split(",");return{type:r,values:i=i.map(e=>parseFloat(e)),colorSpace:t}}function l(e){let{type:t,colorSpace:n}=e,{values:r}=e;return -1!==t.indexOf("rgb")?r=r.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),`${t}(${r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`})`}function c(e){let t="hsl"===(e=s(e)).type||"hsla"===e.type?s(function(e){e=s(e);let{values:t}=e,n=t[0],r=t[1]/100,a=t[2]/100,i=r*Math.min(a,1-a),o=(e,t=(e+n/30)%12)=>a-i*Math.max(Math.min(t-3,9-t,1),-1),c="rgb",u=[Math.round(255*o(0)),Math.round(255*o(8)),Math.round(255*o(4))];return"hsla"===e.type&&(c+="a",u.push(t[3])),l({type:c,values:u})}(e)).values:e.values;return Number((.2126*(t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)))[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}},58128:function(e,t,n){"use strict";var r=n(64836);t.ZP=function(e={}){let{themeId:t,defaultTheme:n=m,rootShouldForwardProp:r=h,slotShouldForwardProp:l=h}=e,u=e=>(0,c.default)((0,a.default)({},e,{theme:b((0,a.default)({},e,{defaultTheme:n,themeId:t}))}));return u.__mui_systemSx=!0,(e,c={})=>{var d;let f;(0,o.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));let{name:m,slot:E,skipVariantsResolver:v,skipSx:T,overridesResolver:S=(d=g(E))?(e,t)=>t[d]:null}=c,_=(0,i.default)(c,p),A=void 0!==v?v:E&&"Root"!==E&&"root"!==E||!1,O=T||!1,k=h;"Root"===E||"root"===E?k=r:E?k=l:"string"==typeof e&&e.charCodeAt(0)>96&&(k=void 0);let x=(0,o.default)(e,(0,a.default)({shouldForwardProp:k,label:f},_)),C=e=>"function"==typeof e&&e.__emotion_real!==e||(0,s.isPlainObject)(e)?r=>y(e,(0,a.default)({},r,{theme:b({theme:r.theme,defaultTheme:n,themeId:t})})):e,w=(r,...i)=>{let o=C(r),s=i?i.map(C):[];m&&S&&s.push(e=>{let r=b((0,a.default)({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[m]||!r.components[m].styleOverrides)return null;let i=r.components[m].styleOverrides,o={};return Object.entries(i).forEach(([t,n])=>{o[t]=y(n,(0,a.default)({},e,{theme:r}))}),S(e,o)}),m&&!A&&s.push(e=>{var r;let i=b((0,a.default)({},e,{defaultTheme:n,themeId:t})),o=null==i||null==(r=i.components)||null==(r=r[m])?void 0:r.variants;return y({variants:o},(0,a.default)({},e,{theme:i}))}),O||s.push(u);let l=s.length-i.length;if(Array.isArray(r)&&l>0){let e=Array(l).fill("");(o=[...r,...e]).raw=[...r.raw,...e]}let c=x(o,...s);return e.muiName&&(c.muiName=e.muiName),c};return x.withConfig&&(w.withConfig=x.withConfig),w}};var a=r(n(10434)),i=r(n(7071)),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(23534)),s=n(211);r(n(99698)),r(n(37889));var l=r(n(19926)),c=r(n(386));let u=["ownerState"],d=["variants"],p=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function h(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}let m=(0,l.default)(),g=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function b({defaultTheme:e,theme:t,themeId:n}){return 0===Object.keys(t).length?e:t[n]||t}function y(e,t){let{ownerState:n}=t,r=(0,i.default)(t,u),o="function"==typeof e?e((0,a.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(e=>y(e,(0,a.default)({ownerState:n},r)));if(o&&"object"==typeof o&&Array.isArray(o.variants)){let{variants:e=[]}=o,t=(0,i.default)(o,d),s=t;return e.forEach(e=>{let t=!0;"function"==typeof e.props?t=e.props((0,a.default)({ownerState:n},r,n)):Object.keys(e.props).forEach(a=>{(null==n?void 0:n[a])!==e.props[a]&&r[a]!==e.props[a]&&(t=!1)}),t&&(Array.isArray(s)||(s=[s]),s.push("function"==typeof e.style?e.style((0,a.default)({ownerState:n},r,n)):e.style))}),s}return o}},19926:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},private_createBreakpoints:function(){return a.Z},unstable_applyStyles:function(){return i.Z}});var r=n(88647),a=n(41512),i=n(57064)},386:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},extendSxProp:function(){return a.Z},unstable_createStyleFunctionSx:function(){return r.n},unstable_defaultSxConfig:function(){return i.Z}});var r=n(86523),a=n(39707),i=n(44920)},99698:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(62908)},49425:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r}});var r=function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}},211:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},isPlainObject:function(){return r.P}});var r=n(68027)},743:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(78758)},37889:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return l},getFunctionName:function(){return i}});var r=n(59864);let a=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function i(e){let t=`${e}`.match(a),n=t&&t[1];return n||""}function o(e,t=""){return e.displayName||e.name||i(e)||t}function s(e,t,n){let r=o(t);return e.displayName||(""!==r?`${n}(${r})`:n)}function l(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return o(e,"Component");if("object"==typeof e)switch(e.$$typeof){case r.ForwardRef:return s(e,e.render,"ForwardRef");case r.Memo:return s(e,e.type,"memo")}}}},2093:function(e,t,n){"use strict";var r=n(97582),a=n(67294),i=n(92770);t.Z=function(e,t){(0,a.useEffect)(function(){var t=e(),n=!1;return!function(){(0,r.mG)(this,void 0,void 0,function(){return(0,r.Jh)(this,function(e){switch(e.label){case 0:if(!(0,i.mf)(t[Symbol.asyncIterator]))return[3,4];e.label=1;case 1:return[4,t.next()];case 2:if(e.sent().done||n)return[3,3];return[3,1];case 3:return[3,6];case 4:return[4,t];case 5:e.sent(),e.label=6;case 6:return[2]}})})}(),function(){n=!0}},t)}},85265:function(e,t,n){"use strict";n.d(t,{Z:function(){return q}});var r=n(67294),a=n(93967),i=n.n(a),o=n(1413),s=n(97685),l=n(2788),c=n(8410),u=r.createContext(null),d=r.createContext({}),p=n(4942),f=n(87462),h=n(29372),m=n(15105),g=n(64217),b=n(45987),y=n(42550),E=["prefixCls","className","containerRef"],v=function(e){var t=e.prefixCls,n=e.className,a=e.containerRef,o=(0,b.Z)(e,E),s=r.useContext(d).panel,l=(0,y.x1)(s,a);return r.createElement("div",(0,f.Z)({className:i()("".concat(t,"-content"),n),role:"dialog",ref:l},(0,g.Z)(e,{aria:!0}),{"aria-modal":"true"},o))},T=n(80334);function S(e){return"string"==typeof e&&String(Number(e))===e?((0,T.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var _={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"},A=r.forwardRef(function(e,t){var n,a,l,c=e.prefixCls,d=e.open,b=e.placement,y=e.inline,E=e.push,T=e.forceRender,A=e.autoFocus,O=e.keyboard,k=e.classNames,x=e.rootClassName,C=e.rootStyle,w=e.zIndex,I=e.className,R=e.id,N=e.style,L=e.motion,D=e.width,P=e.height,M=e.children,F=e.mask,j=e.maskClosable,B=e.maskMotion,U=e.maskClassName,G=e.maskStyle,H=e.afterOpenChange,$=e.onClose,z=e.onMouseEnter,Z=e.onMouseOver,W=e.onMouseLeave,V=e.onClick,Y=e.onKeyDown,q=e.onKeyUp,K=e.styles,X=e.drawerRender,Q=r.useRef(),J=r.useRef(),ee=r.useRef();r.useImperativeHandle(t,function(){return Q.current}),r.useEffect(function(){if(d&&A){var e;null===(e=Q.current)||void 0===e||e.focus({preventScroll:!0})}},[d]);var et=r.useState(!1),en=(0,s.Z)(et,2),er=en[0],ea=en[1],ei=r.useContext(u),eo=null!==(n=null!==(a=null===(l="boolean"==typeof E?E?{}:{distance:0}:E||{})||void 0===l?void 0:l.distance)&&void 0!==a?a:null==ei?void 0:ei.pushDistance)&&void 0!==n?n:180,es=r.useMemo(function(){return{pushDistance:eo,push:function(){ea(!0)},pull:function(){ea(!1)}}},[eo]);r.useEffect(function(){var e,t;d?null==ei||null===(e=ei.push)||void 0===e||e.call(ei):null==ei||null===(t=ei.pull)||void 0===t||t.call(ei)},[d]),r.useEffect(function(){return function(){var e;null==ei||null===(e=ei.pull)||void 0===e||e.call(ei)}},[]);var el=F&&r.createElement(h.ZP,(0,f.Z)({key:"mask"},B,{visible:d}),function(e,t){var n=e.className,a=e.style;return r.createElement("div",{className:i()("".concat(c,"-mask"),n,null==k?void 0:k.mask,U),style:(0,o.Z)((0,o.Z)((0,o.Z)({},a),G),null==K?void 0:K.mask),onClick:j&&d?$:void 0,ref:t})}),ec="function"==typeof L?L(b):L,eu={};if(er&&eo)switch(b){case"top":eu.transform="translateY(".concat(eo,"px)");break;case"bottom":eu.transform="translateY(".concat(-eo,"px)");break;case"left":eu.transform="translateX(".concat(eo,"px)");break;default:eu.transform="translateX(".concat(-eo,"px)")}"left"===b||"right"===b?eu.width=S(D):eu.height=S(P);var ed={onMouseEnter:z,onMouseOver:Z,onMouseLeave:W,onClick:V,onKeyDown:Y,onKeyUp:q},ep=r.createElement(h.ZP,(0,f.Z)({key:"panel"},ec,{visible:d,forceRender:T,onVisibleChanged:function(e){null==H||H(e)},removeOnLeave:!1,leavedClassName:"".concat(c,"-content-wrapper-hidden")}),function(t,n){var a=t.className,s=t.style,l=r.createElement(v,(0,f.Z)({id:R,containerRef:n,prefixCls:c,className:i()(I,null==k?void 0:k.content),style:(0,o.Z)((0,o.Z)({},N),null==K?void 0:K.content)},(0,g.Z)(e,{aria:!0}),ed),M);return r.createElement("div",(0,f.Z)({className:i()("".concat(c,"-content-wrapper"),null==k?void 0:k.wrapper,a),style:(0,o.Z)((0,o.Z)((0,o.Z)({},eu),s),null==K?void 0:K.wrapper)},(0,g.Z)(e,{data:!0})),X?X(l):l)}),ef=(0,o.Z)({},C);return w&&(ef.zIndex=w),r.createElement(u.Provider,{value:es},r.createElement("div",{className:i()(c,"".concat(c,"-").concat(b),x,(0,p.Z)((0,p.Z)({},"".concat(c,"-open"),d),"".concat(c,"-inline"),y)),style:ef,tabIndex:-1,ref:Q,onKeyDown:function(e){var t,n,r=e.keyCode,a=e.shiftKey;switch(r){case m.Z.TAB:r===m.Z.TAB&&(a||document.activeElement!==ee.current?a&&document.activeElement===J.current&&(null===(n=ee.current)||void 0===n||n.focus({preventScroll:!0})):null===(t=J.current)||void 0===t||t.focus({preventScroll:!0}));break;case m.Z.ESC:$&&O&&(e.stopPropagation(),$(e))}}},el,r.createElement("div",{tabIndex:0,ref:J,style:_,"aria-hidden":"true","data-sentinel":"start"}),ep,r.createElement("div",{tabIndex:0,ref:ee,style:_,"aria-hidden":"true","data-sentinel":"end"})))}),O=function(e){var t=e.open,n=e.prefixCls,a=e.placement,i=e.autoFocus,u=e.keyboard,p=e.width,f=e.mask,h=void 0===f||f,m=e.maskClosable,g=e.getContainer,b=e.forceRender,y=e.afterOpenChange,E=e.destroyOnClose,v=e.onMouseEnter,T=e.onMouseOver,S=e.onMouseLeave,_=e.onClick,O=e.onKeyDown,k=e.onKeyUp,x=e.panelRef,C=r.useState(!1),w=(0,s.Z)(C,2),I=w[0],R=w[1],N=r.useState(!1),L=(0,s.Z)(N,2),D=L[0],P=L[1];(0,c.Z)(function(){P(!0)},[]);var M=!!D&&void 0!==t&&t,F=r.useRef(),j=r.useRef();(0,c.Z)(function(){M&&(j.current=document.activeElement)},[M]);var B=r.useMemo(function(){return{panel:x}},[x]);if(!b&&!I&&!M&&E)return null;var U=(0,o.Z)((0,o.Z)({},e),{},{open:M,prefixCls:void 0===n?"rc-drawer":n,placement:void 0===a?"right":a,autoFocus:void 0===i||i,keyboard:void 0===u||u,width:void 0===p?378:p,mask:h,maskClosable:void 0===m||m,inline:!1===g,afterOpenChange:function(e){var t,n;R(e),null==y||y(e),e||!j.current||null!==(t=F.current)&&void 0!==t&&t.contains(j.current)||null===(n=j.current)||void 0===n||n.focus({preventScroll:!0})},ref:F},{onMouseEnter:v,onMouseOver:T,onMouseLeave:S,onClick:_,onKeyDown:O,onKeyUp:k});return r.createElement(d.Provider,{value:B},r.createElement(l.Z,{open:M||b||I,autoDestroy:!1,getContainer:g,autoLock:h&&(M||I)},r.createElement(A,U)))},k=n(89942),x=n(87263),C=n(33603),w=n(43945),I=n(53124),R=n(16569),N=n(69760),L=n(48054),D=e=>{var t,n;let{prefixCls:a,title:o,footer:s,extra:l,loading:c,onClose:u,headerStyle:d,bodyStyle:p,footerStyle:f,children:h,classNames:m,styles:g}=e,{drawer:b}=r.useContext(I.E_),y=r.useCallback(e=>r.createElement("button",{type:"button",onClick:u,"aria-label":"Close",className:`${a}-close`},e),[u]),[E,v]=(0,N.Z)((0,N.w)(e),(0,N.w)(b),{closable:!0,closeIconRender:y}),T=r.useMemo(()=>{var e,t;return o||E?r.createElement("div",{style:Object.assign(Object.assign(Object.assign({},null===(e=null==b?void 0:b.styles)||void 0===e?void 0:e.header),d),null==g?void 0:g.header),className:i()(`${a}-header`,{[`${a}-header-close-only`]:E&&!o&&!l},null===(t=null==b?void 0:b.classNames)||void 0===t?void 0:t.header,null==m?void 0:m.header)},r.createElement("div",{className:`${a}-header-title`},v,o&&r.createElement("div",{className:`${a}-title`},o)),l&&r.createElement("div",{className:`${a}-extra`},l)):null},[E,v,l,d,a,o]),S=r.useMemo(()=>{var e,t;if(!s)return null;let n=`${a}-footer`;return r.createElement("div",{className:i()(n,null===(e=null==b?void 0:b.classNames)||void 0===e?void 0:e.footer,null==m?void 0:m.footer),style:Object.assign(Object.assign(Object.assign({},null===(t=null==b?void 0:b.styles)||void 0===t?void 0:t.footer),f),null==g?void 0:g.footer)},s)},[s,f,a]);return r.createElement(r.Fragment,null,T,r.createElement("div",{className:i()(`${a}-body`,null==m?void 0:m.body,null===(t=null==b?void 0:b.classNames)||void 0===t?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},null===(n=null==b?void 0:b.styles)||void 0===n?void 0:n.body),p),null==g?void 0:g.body)},c?r.createElement(L.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${a}-body-skeleton`}):h),S)},P=n(25446),M=n(14747),F=n(83559),j=n(83262);let B=e=>{let t="100%";return({left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`})[e]},U=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),G=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}}},U({opacity:e},{opacity:1})),H=(e,t)=>[G(.7,t),U({transform:B(e)},{transform:"none"})];var $=e=>{let{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:G(0,n),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce((e,t)=>Object.assign(Object.assign({},e),{[`&-${t}`]:H(t,n)}),{})}}};let z=e=>{let{borderRadiusSM:t,componentCls:n,zIndexPopup:r,colorBgMask:a,colorBgElevated:i,motionDurationSlow:o,motionDurationMid:s,paddingXS:l,padding:c,paddingLG:u,fontSizeLG:d,lineHeightLG:p,lineWidth:f,lineType:h,colorSplit:m,marginXS:g,colorIcon:b,colorIconHover:y,colorBgTextHover:E,colorBgTextActive:v,colorText:T,fontWeightStrong:S,footerPaddingBlock:_,footerPaddingInline:A,calc:O}=e,k=`${n}-content-wrapper`;return{[n]:{position:"fixed",inset:0,zIndex:r,pointerEvents:"none",color:T,"&-pure":{position:"relative",background:i,display:"flex",flexDirection:"column",[`&${n}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${n}-mask`]:{position:"absolute",inset:0,zIndex:r,background:a,pointerEvents:"auto"},[k]:{position:"absolute",zIndex:r,maxWidth:"100vw",transition:`all ${o}`,"&-hidden":{display:"none"}},[`&-left > ${k}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${k}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${k}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${k}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${n}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:i,pointerEvents:"auto"},[`${n}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,P.bf)(c)} ${(0,P.bf)(u)}`,fontSize:d,lineHeight:p,borderBottom:`${(0,P.bf)(f)} ${h} ${m}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:"none"},[`${n}-close`]:Object.assign({display:"inline-flex",width:O(d).add(l).equal(),height:O(d).add(l).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",marginInlineEnd:g,color:b,fontWeight:S,fontSize:d,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${s}`,textRendering:"auto","&:hover":{color:y,backgroundColor:E,textDecoration:"none"},"&:active":{backgroundColor:v}},(0,M.Qy)(e)),[`${n}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:d,lineHeight:p},[`${n}-body`]:{flex:1,minWidth:0,minHeight:0,padding:u,overflow:"auto",[`${n}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${n}-footer`]:{flexShrink:0,padding:`${(0,P.bf)(_)} ${(0,P.bf)(A)}`,borderTop:`${(0,P.bf)(f)} ${h} ${m}`},"&-rtl":{direction:"rtl"}}}};var Z=(0,F.I$)("Drawer",e=>{let t=(0,j.IX)(e,{});return[z(t),$(t)]},e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding})),W=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let V={distance:180},Y=e=>{let{rootClassName:t,width:n,height:a,size:o="default",mask:s=!0,push:l=V,open:c,afterOpenChange:u,onClose:d,prefixCls:p,getContainer:f,style:h,className:m,visible:g,afterVisibleChange:b,maskStyle:y,drawerStyle:E,contentWrapperStyle:v}=e,T=W(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:S,getPrefixCls:_,direction:A,drawer:N}=r.useContext(I.E_),L=_("drawer",p),[P,M,F]=Z(L),j=void 0===f&&S?()=>S(document.body):f,B=i()({"no-mask":!s,[`${L}-rtl`]:"rtl"===A},t,M,F),U=r.useMemo(()=>null!=n?n:"large"===o?736:378,[n,o]),G=r.useMemo(()=>null!=a?a:"large"===o?736:378,[a,o]),H={motionName:(0,C.m)(L,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},$=(0,R.H)(),[z,Y]=(0,x.Cn)("Drawer",T.zIndex),{classNames:q={},styles:K={}}=T,{classNames:X={},styles:Q={}}=N||{};return P(r.createElement(k.Z,{form:!0,space:!0},r.createElement(w.Z.Provider,{value:Y},r.createElement(O,Object.assign({prefixCls:L,onClose:d,maskMotion:H,motion:e=>({motionName:(0,C.m)(L,`panel-motion-${e}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500})},T,{classNames:{mask:i()(q.mask,X.mask),content:i()(q.content,X.content),wrapper:i()(q.wrapper,X.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},K.mask),y),Q.mask),content:Object.assign(Object.assign(Object.assign({},K.content),E),Q.content),wrapper:Object.assign(Object.assign(Object.assign({},K.wrapper),v),Q.wrapper)},open:null!=c?c:g,mask:s,push:l,width:U,height:G,style:Object.assign(Object.assign({},null==N?void 0:N.style),h),className:i()(null==N?void 0:N.className,m),rootClassName:B,getContainer:j,afterOpenChange:null!=u?u:b,panelRef:$,zIndex:z}),r.createElement(D,Object.assign({prefixCls:L},T,{onClose:d}))))))};Y._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,style:n,className:a,placement:o="right"}=e,s=W(e,["prefixCls","style","className","placement"]),{getPrefixCls:l}=r.useContext(I.E_),c=l("drawer",t),[u,d,p]=Z(c),f=i()(c,`${c}-pure`,`${c}-${o}`,d,p,a);return u(r.createElement("div",{className:f,style:n},r.createElement(D,Object.assign({prefixCls:c},s))))};var q=Y},86250:function(e,t,n){"use strict";n.d(t,{Z:function(){return O}});var r=n(67294),a=n(93967),i=n.n(a),o=n(98423),s=n(98065),l=n(53124),c=n(83559),u=n(83262);let d=["wrap","nowrap","wrap-reverse"],p=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],f=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],h=(e,t)=>{let n=!0===t.wrap?"wrap":t.wrap;return{[`${e}-wrap-${n}`]:n&&d.includes(n)}},m=(e,t)=>{let n={};return f.forEach(r=>{n[`${e}-align-${r}`]=t.align===r}),n[`${e}-align-stretch`]=!t.align&&!!t.vertical,n},g=(e,t)=>{let n={};return p.forEach(r=>{n[`${e}-justify-${r}`]=t.justify===r}),n},b=e=>{let{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},y=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},E=e=>{let{componentCls:t}=e,n={};return d.forEach(e=>{n[`${t}-wrap-${e}`]={flexWrap:e}}),n},v=e=>{let{componentCls:t}=e,n={};return f.forEach(e=>{n[`${t}-align-${e}`]={alignItems:e}}),n},T=e=>{let{componentCls:t}=e,n={};return p.forEach(e=>{n[`${t}-justify-${e}`]={justifyContent:e}}),n};var S=(0,c.I$)("Flex",e=>{let{paddingXS:t,padding:n,paddingLG:r}=e,a=(0,u.IX)(e,{flexGapSM:t,flexGap:n,flexGapLG:r});return[b(a),y(a),E(a),v(a),T(a)]},()=>({}),{resetStyle:!1}),_=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let A=r.forwardRef((e,t)=>{let{prefixCls:n,rootClassName:a,className:c,style:u,flex:d,gap:p,children:f,vertical:b=!1,component:y="div"}=e,E=_(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:v,direction:T,getPrefixCls:A}=r.useContext(l.E_),O=A("flex",n),[k,x,C]=S(O),w=null!=b?b:null==v?void 0:v.vertical,I=i()(c,a,null==v?void 0:v.className,O,x,C,i()(Object.assign(Object.assign(Object.assign({},h(O,e)),m(O,e)),g(O,e))),{[`${O}-rtl`]:"rtl"===T,[`${O}-gap-${p}`]:(0,s.n)(p),[`${O}-vertical`]:w}),R=Object.assign(Object.assign({},null==v?void 0:v.style),u);return d&&(R.flex=d),p&&!(0,s.n)(p)&&(R.gap=p),k(r.createElement(y,Object.assign({ref:t,className:I,style:R},(0,o.Z)(E,["justify","wrap","align"])),f))});var O=A},57020:function(e,t,n){"use strict";n.d(t,{Z:function(){return eT}});var r=n(67294),a=n(99611),i=n(93967),o=n.n(i),s=n(87462),l=n(1413),c=n(4942),u=n(97685),d=n(71002),p=n(45987),f=n(27678),h=n(21770),m=n(40974),g=n(64019),b=n(15105),y=n(2788),E=n(29372),v=r.createContext(null),T=function(e){var t=e.visible,n=e.maskTransitionName,a=e.getContainer,i=e.prefixCls,s=e.rootClassName,u=e.icons,d=e.countRender,p=e.showSwitch,f=e.showProgress,h=e.current,m=e.transform,g=e.count,T=e.scale,S=e.minScale,_=e.maxScale,A=e.closeIcon,O=e.onSwitchLeft,k=e.onSwitchRight,x=e.onClose,C=e.onZoomIn,w=e.onZoomOut,I=e.onRotateRight,R=e.onRotateLeft,N=e.onFlipX,L=e.onFlipY,D=e.onReset,P=e.toolbarRender,M=e.zIndex,F=e.image,j=(0,r.useContext)(v),B=u.rotateLeft,U=u.rotateRight,G=u.zoomIn,H=u.zoomOut,$=u.close,z=u.left,Z=u.right,W=u.flipX,V=u.flipY,Y="".concat(i,"-operations-operation");r.useEffect(function(){var e=function(e){e.keyCode===b.Z.ESC&&x()};return t&&window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}},[t]);var q=[{icon:V,onClick:L,type:"flipY"},{icon:W,onClick:N,type:"flipX"},{icon:B,onClick:R,type:"rotateLeft"},{icon:U,onClick:I,type:"rotateRight"},{icon:H,onClick:w,type:"zoomOut",disabled:T<=S},{icon:G,onClick:C,type:"zoomIn",disabled:T===_}].map(function(e){var t,n=e.icon,a=e.onClick,s=e.type,l=e.disabled;return r.createElement("div",{className:o()(Y,(t={},(0,c.Z)(t,"".concat(i,"-operations-operation-").concat(s),!0),(0,c.Z)(t,"".concat(i,"-operations-operation-disabled"),!!l),t)),onClick:a,key:s},n)}),K=r.createElement("div",{className:"".concat(i,"-operations")},q);return r.createElement(E.ZP,{visible:t,motionName:n},function(e){var t=e.className,n=e.style;return r.createElement(y.Z,{open:!0,getContainer:null!=a?a:document.body},r.createElement("div",{className:o()("".concat(i,"-operations-wrapper"),t,s),style:(0,l.Z)((0,l.Z)({},n),{},{zIndex:M})},null===A?null:r.createElement("button",{className:"".concat(i,"-close"),onClick:x},A||$),p&&r.createElement(r.Fragment,null,r.createElement("div",{className:o()("".concat(i,"-switch-left"),(0,c.Z)({},"".concat(i,"-switch-left-disabled"),0===h)),onClick:O},z),r.createElement("div",{className:o()("".concat(i,"-switch-right"),(0,c.Z)({},"".concat(i,"-switch-right-disabled"),h===g-1)),onClick:k},Z)),r.createElement("div",{className:"".concat(i,"-footer")},f&&r.createElement("div",{className:"".concat(i,"-progress")},d?d(h+1,g):"".concat(h+1," / ").concat(g)),P?P(K,(0,l.Z)((0,l.Z)({icons:{flipYIcon:q[0],flipXIcon:q[1],rotateLeftIcon:q[2],rotateRightIcon:q[3],zoomOutIcon:q[4],zoomInIcon:q[5]},actions:{onFlipY:L,onFlipX:N,onRotateLeft:R,onRotateRight:I,onZoomOut:w,onZoomIn:C,onReset:D,onClose:x},transform:m},j?{current:h,total:g}:{}),{},{image:F})):K)))})},S=n(91881),_=n(75164),A={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1},O=n(80334);function k(e,t,n,r){var a=t+n,i=(n-r)/2;if(n>r){if(t>0)return(0,c.Z)({},e,i);if(t<0&&ar)return(0,c.Z)({},e,t<0?i:-i);return{}}function x(e,t,n,r){var a=(0,f.g1)(),i=a.width,o=a.height,s=null;return e<=i&&t<=o?s={x:0,y:0}:(e>i||t>o)&&(s=(0,l.Z)((0,l.Z)({},k("x",n,e,i)),k("y",r,t,o))),s}function C(e){var t=e.src,n=e.isCustomPlaceholder,a=e.fallback,i=(0,r.useState)(n?"loading":"normal"),o=(0,u.Z)(i,2),s=o[0],l=o[1],c=(0,r.useRef)(!1),d="error"===s;(0,r.useEffect)(function(){var e=!0;return new Promise(function(e){var n=document.createElement("img");n.onerror=function(){return e(!1)},n.onload=function(){return e(!0)},n.src=t}).then(function(t){!t&&e&&l("error")}),function(){e=!1}},[t]),(0,r.useEffect)(function(){n&&!c.current?l("loading"):d&&l("normal")},[t]);var p=function(){l("normal")};return[function(e){c.current=!1,"loading"===s&&null!=e&&e.complete&&(e.naturalWidth||e.naturalHeight)&&(c.current=!0,p())},d&&a?{src:a}:{onLoad:p,src:t},s]}function w(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}var I=["fallback","src","imgRef"],R=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],N=function(e){var t=e.fallback,n=e.src,a=e.imgRef,i=(0,p.Z)(e,I),o=C({src:n,fallback:t}),l=(0,u.Z)(o,2),c=l[0],d=l[1];return r.createElement("img",(0,s.Z)({ref:function(e){a.current=e,c(e)}},i,d))},L=function(e){var t,n,a,i,d,h,y,E,k,C,I,L,D,P,M,F,j,B,U,G,H,$,z,Z,W,V,Y,q,K=e.prefixCls,X=e.src,Q=e.alt,J=e.imageInfo,ee=e.fallback,et=e.movable,en=void 0===et||et,er=e.onClose,ea=e.visible,ei=e.icons,eo=e.rootClassName,es=e.closeIcon,el=e.getContainer,ec=e.current,eu=void 0===ec?0:ec,ed=e.count,ep=void 0===ed?1:ed,ef=e.countRender,eh=e.scaleStep,em=void 0===eh?.5:eh,eg=e.minScale,eb=void 0===eg?1:eg,ey=e.maxScale,eE=void 0===ey?50:ey,ev=e.transitionName,eT=e.maskTransitionName,eS=void 0===eT?"fade":eT,e_=e.imageRender,eA=e.imgCommonProps,eO=e.toolbarRender,ek=e.onTransform,ex=e.onChange,eC=(0,p.Z)(e,R),ew=(0,r.useRef)(),eI=(0,r.useContext)(v),eR=eI&&ep>1,eN=eI&&ep>=1,eL=(0,r.useState)(!0),eD=(0,u.Z)(eL,2),eP=eD[0],eM=eD[1],eF=(t=(0,r.useRef)(null),n=(0,r.useRef)([]),a=(0,r.useState)(A),d=(i=(0,u.Z)(a,2))[0],h=i[1],y=function(e,r){null===t.current&&(n.current=[],t.current=(0,_.Z)(function(){h(function(e){var a=e;return n.current.forEach(function(e){a=(0,l.Z)((0,l.Z)({},a),e)}),t.current=null,null==ek||ek({transform:a,action:r}),a})})),n.current.push((0,l.Z)((0,l.Z)({},d),e))},{transform:d,resetTransform:function(e){h(A),(0,S.Z)(A,d)||null==ek||ek({transform:A,action:e})},updateTransform:y,dispatchZoomChange:function(e,t,n,r,a){var i=ew.current,o=i.width,s=i.height,l=i.offsetWidth,c=i.offsetHeight,u=i.offsetLeft,p=i.offsetTop,h=e,m=d.scale*e;m>eE?(m=eE,h=eE/d.scale):m0&&(t=1/t),eG(t,"wheel",e.clientX,e.clientY)}}}),e$=eH.isMoving,ez=eH.onMouseDown,eZ=eH.onWheel,eW=(U=ej.rotate,G=ej.scale,H=ej.x,$=ej.y,z=(0,r.useState)(!1),W=(Z=(0,u.Z)(z,2))[0],V=Z[1],Y=(0,r.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),q=function(e){Y.current=(0,l.Z)((0,l.Z)({},Y.current),e)},(0,r.useEffect)(function(){var e;return ea&&en&&(e=(0,g.Z)(window,"touchmove",function(e){return e.preventDefault()},{passive:!1})),function(){var t;null===(t=e)||void 0===t||t.remove()}},[ea,en]),{isTouching:W,onTouchStart:function(e){if(en){e.stopPropagation(),V(!0);var t=e.touches,n=void 0===t?[]:t;n.length>1?q({point1:{x:n[0].clientX,y:n[0].clientY},point2:{x:n[1].clientX,y:n[1].clientY},eventType:"touchZoom"}):q({point1:{x:n[0].clientX-H,y:n[0].clientY-$},eventType:"move"})}},onTouchMove:function(e){var t=e.touches,n=void 0===t?[]:t,r=Y.current,a=r.point1,i=r.point2,o=r.eventType;if(n.length>1&&"touchZoom"===o){var s={x:n[0].clientX,y:n[0].clientY},l={x:n[1].clientX,y:n[1].clientY},c=function(e,t,n,r){var a=w(e,n),i=w(t,r);if(0===a&&0===i)return[e.x,e.y];var o=a/(a+i);return[e.x+o*(t.x-e.x),e.y+o*(t.y-e.y)]}(a,i,s,l),d=(0,u.Z)(c,2),p=d[0],f=d[1];eG(w(s,l)/w(a,i),"touchZoom",p,f,!0),q({point1:s,point2:l,eventType:"touchZoom"})}else"move"===o&&(eU({x:n[0].clientX-a.x,y:n[0].clientY-a.y},"move"),q({eventType:"move"}))},onTouchEnd:function(){if(ea){if(W&&V(!1),q({eventType:"none"}),eb>G)return eU({x:0,y:0,scale:eb},"touchZoom");var e=ew.current.offsetWidth*G,t=ew.current.offsetHeight*G,n=ew.current.getBoundingClientRect(),r=n.left,a=n.top,i=U%180!=0,o=x(i?t:e,i?e:t,r,a);o&&eU((0,l.Z)({},o),"dragRebound")}}}),eV=eW.isTouching,eY=eW.onTouchStart,eq=eW.onTouchMove,eK=eW.onTouchEnd,eX=ej.rotate,eQ=ej.scale,eJ=o()((0,c.Z)({},"".concat(K,"-moving"),e$));(0,r.useEffect)(function(){eP||eM(!0)},[eP]);var e0=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu>0&&(eM(!1),eB("prev"),null==ex||ex(eu-1,eu))},e1=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu({position:e||"absolute",inset:0}),eu=e=>{let{iconCls:t,motionDurationSlow:n,paddingXXS:r,marginXXS:a,prefixCls:i,colorTextLightSolid:o}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:o,background:new en.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${i}-mask-info`]:Object.assign(Object.assign({},ea.vS),{padding:`0 ${(0,et.bf)(r)}`,[t]:{marginInlineEnd:a,svg:{verticalAlign:"baseline"}}})}},ed=e=>{let{previewCls:t,modalMaskBg:n,paddingSM:r,marginXL:a,margin:i,paddingLG:o,previewOperationColorDisabled:s,previewOperationHoverColor:l,motionDurationSlow:c,iconCls:u,colorTextLightSolid:d}=e,p=new en.C(n).setAlpha(.1),f=p.clone().setAlpha(.2);return{[`${t}-footer`]:{position:"fixed",bottom:a,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor,transform:"translateX(-50%)"},[`${t}-progress`]:{marginBottom:i},[`${t}-close`]:{position:"fixed",top:a,right:{_skip_check_:!0,value:a},display:"flex",color:d,backgroundColor:p.toRgbString(),borderRadius:"50%",padding:r,outline:0,border:0,cursor:"pointer",transition:`all ${c}`,"&:hover":{backgroundColor:f.toRgbString()},[`& > ${u}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,et.bf)(o)}`,backgroundColor:p.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:r,padding:r,cursor:"pointer",transition:`all ${c}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${u}`]:{color:l},"&-disabled":{color:s,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${u}`]:{fontSize:e.previewOperationSize}}}}},ep=e=>{let{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:r,previewCls:a,zIndexPopup:i,motionDurationSlow:o}=e,s=new en.C(t).setAlpha(.1),l=s.clone().setAlpha(.2);return{[`${a}-switch-left, ${a}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(i).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:s.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${o}`,userSelect:"none","&:hover":{background:l.toRgbString()},"&-disabled":{"&, &:hover":{color:r,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${a}-switch-left`]:{insetInlineStart:e.marginSM},[`${a}-switch-right`]:{insetInlineEnd:e.marginSM}}},ef=e=>{let{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:a}=e;return[{[`${a}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:Object.assign(Object.assign({},ec()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${r} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},ec()),{transition:`transform ${r} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${a}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${a}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal()},"&":[ed(e),ep(e)]}]},eh=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},eu(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},ec())}}},em=e=>{let{previewCls:t}=e;return{[`${t}-root`]:(0,ei._y)(e,"zoom"),"&":(0,eo.J$)(e,!0)}};var eg=(0,es.I$)("Image",e=>{let t=`${e.componentCls}-preview`,n=(0,el.IX)(e,{previewCls:t,modalMaskBg:new en.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[eh(n),ef(n),(0,er.QA)((0,el.IX)(n,{componentCls:t})),em(n)]},e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new en.C(e.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new en.C(e.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new en.C(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:1.5*e.fontSizeIcon})),eb=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ey={rotateLeft:r.createElement(K.Z,null),rotateRight:r.createElement(X.Z,null),zoomIn:r.createElement(J.Z,null),zoomOut:r.createElement(ee.Z,null),close:r.createElement(V.Z,null),left:r.createElement(Y.Z,null),right:r.createElement(q.Z,null),flipX:r.createElement(Q.Z,null),flipY:r.createElement(Q.Z,{rotate:90})};var eE=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ev=e=>{var t;let{prefixCls:n,preview:i,className:s,rootClassName:l,style:c}=e,u=eE(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:d,locale:p=W.Z,getPopupContainer:f,image:h}=r.useContext(z.E_),m=d("image",n),g=d(),b=p.Image||W.Z.Image,y=(0,Z.Z)(m),[E,v,T]=eg(m,y),S=o()(l,v,T,y),_=o()(s,v,null==h?void 0:h.className),[A]=(0,H.Cn)("ImagePreview","object"==typeof i?i.zIndex:void 0),O=r.useMemo(()=>{var e;if(!1===i)return i;let t="object"==typeof i?i:{},{getContainer:n,closeIcon:o}=t,s=eE(t,["getContainer","closeIcon"]);return Object.assign(Object.assign({mask:r.createElement("div",{className:`${m}-mask-info`},r.createElement(a.Z,null),null==b?void 0:b.preview),icons:ey},s),{getContainer:null!=n?n:f,transitionName:(0,$.m)(g,"zoom",t.transitionName),maskTransitionName:(0,$.m)(g,"fade",t.maskTransitionName),zIndex:A,closeIcon:null!=o?o:null===(e=null==h?void 0:h.preview)||void 0===e?void 0:e.closeIcon})},[i,b,null===(t=null==h?void 0:h.preview)||void 0===t?void 0:t.closeIcon]),k=Object.assign(Object.assign({},null==h?void 0:h.style),c);return E(r.createElement(G,Object.assign({prefixCls:m,preview:O,rootClassName:S,className:_,style:k},u)))};ev.PreviewGroup=e=>{var{previewPrefixCls:t,preview:n}=e,a=eb(e,["previewPrefixCls","preview"]);let{getPrefixCls:i}=r.useContext(z.E_),s=i("image",t),l=`${s}-preview`,c=i(),u=(0,Z.Z)(s),[d,p,f]=eg(s,u),[h]=(0,H.Cn)("ImagePreview","object"==typeof n?n.zIndex:void 0),m=r.useMemo(()=>{var e;if(!1===n)return n;let t="object"==typeof n?n:{},r=o()(p,f,u,null!==(e=t.rootClassName)&&void 0!==e?e:"");return Object.assign(Object.assign({},t),{transitionName:(0,$.m)(c,"zoom",t.transitionName),maskTransitionName:(0,$.m)(c,"fade",t.maskTransitionName),rootClassName:r,zIndex:h})},[n]);return d(r.createElement(G.PreviewGroup,Object.assign({preview:m,previewPrefixCls:l,icons:ey},a)))};var eT=ev},66309:function(e,t,n){"use strict";n.d(t,{Z:function(){return I}});var r=n(67294),a=n(93967),i=n.n(a),o=n(98423),s=n(98787),l=n(69760),c=n(96159),u=n(45353),d=n(53124),p=n(25446),f=n(10274),h=n(14747),m=n(83262),g=n(83559);let b=e=>{let{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:a,calc:i}=e,o=i(r).sub(n).equal(),s=i(t).sub(n).equal();return{[a]:Object.assign(Object.assign({},(0,h.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:o,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,p.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${a}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${a}-close-icon`]:{marginInlineStart:s,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${a}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${a}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:o}}),[`${a}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},y=e=>{let{lineWidth:t,fontSizeIcon:n,calc:r}=e,a=e.fontSizeSM,i=(0,m.IX)(e,{tagFontSize:a,tagLineHeight:(0,p.bf)(r(e.lineHeightSM).mul(a).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return i},E=e=>({defaultBg:new f.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var v=(0,g.I$)("Tag",e=>{let t=y(e);return b(t)},E),T=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let S=r.forwardRef((e,t)=>{let{prefixCls:n,style:a,className:o,checked:s,onChange:l,onClick:c}=e,u=T(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:p,tag:f}=r.useContext(d.E_),h=p("tag",n),[m,g,b]=v(h),y=i()(h,`${h}-checkable`,{[`${h}-checkable-checked`]:s},null==f?void 0:f.className,o,g,b);return m(r.createElement("span",Object.assign({},u,{ref:t,style:Object.assign(Object.assign({},a),null==f?void 0:f.style),className:y,onClick:e=>{null==l||l(!s),null==c||c(e)}})))});var _=n(98719);let A=e=>(0,_.Z)(e,(t,n)=>{let{textColor:r,lightBorderColor:a,lightColor:i,darkColor:o}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:i,borderColor:a,"&-inverse":{color:e.colorTextLightSolid,background:o,borderColor:o},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var O=(0,g.bk)(["Tag","preset"],e=>{let t=y(e);return A(t)},E);let k=(e,t,n)=>{let r=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var x=(0,g.bk)(["Tag","status"],e=>{let t=y(e);return[k(t,"success","Success"),k(t,"processing","Info"),k(t,"error","Error"),k(t,"warning","Warning")]},E),C=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let w=r.forwardRef((e,t)=>{let{prefixCls:n,className:a,rootClassName:p,style:f,children:h,icon:m,color:g,onClose:b,bordered:y=!0,visible:E}=e,T=C(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:S,direction:_,tag:A}=r.useContext(d.E_),[k,w]=r.useState(!0),I=(0,o.Z)(T,["closeIcon","closable"]);r.useEffect(()=>{void 0!==E&&w(E)},[E]);let R=(0,s.o2)(g),N=(0,s.yT)(g),L=R||N,D=Object.assign(Object.assign({backgroundColor:g&&!L?g:void 0},null==A?void 0:A.style),f),P=S("tag",n),[M,F,j]=v(P),B=i()(P,null==A?void 0:A.className,{[`${P}-${g}`]:L,[`${P}-has-color`]:g&&!L,[`${P}-hidden`]:!k,[`${P}-rtl`]:"rtl"===_,[`${P}-borderless`]:!y},a,p,F,j),U=e=>{e.stopPropagation(),null==b||b(e),e.defaultPrevented||w(!1)},[,G]=(0,l.Z)((0,l.w)(e),(0,l.w)(A),{closable:!1,closeIconRender:e=>{let t=r.createElement("span",{className:`${P}-close-icon`,onClick:U},e);return(0,c.wm)(e,t,e=>({onClick:t=>{var n;null===(n=null==e?void 0:e.onClick)||void 0===n||n.call(e,t),U(t)},className:i()(null==e?void 0:e.className,`${P}-close-icon`)}))}}),H="function"==typeof T.onClick||h&&"a"===h.type,$=m||null,z=$?r.createElement(r.Fragment,null,$,h&&r.createElement("span",null,h)):h,Z=r.createElement("span",Object.assign({},I,{ref:t,className:B,style:D}),z,G,R&&r.createElement(O,{key:"preset",prefixCls:P}),N&&r.createElement(x,{key:"status",prefixCls:P}));return M(H?r.createElement(u.Z,{component:"Tag"},Z):Z)});w.CheckableTag=S;var I=w},62502:function(e,t,n){"use strict";var r=n(15575),a=n(64977),i=n(72869),o=n(32473).Q,s=n(24395).Q;e.exports=function(e,t,n){var a=n?function(e){for(var t,n=e.length,r=-1,a={};++r4&&h.slice(0,4)===o&&s.test(t)&&("-"===t.charAt(4)?m=o+(n=t.slice(5).replace(l,d)).charAt(0).toUpperCase()+n.slice(1):(f=(p=t).slice(4),t=l.test(f)?p:("-"!==(f=f.replace(c,u)).charAt(0)&&(f="-"+f),o+f)),g=a),new g(m,t))};var s=/^data[-\w.:]+$/i,l=/-[a-z]/g,c=/[A-Z]/g;function u(e){return"-"+e.toLowerCase()}function d(e){return e.charAt(1).toUpperCase()}},48055:function(e,t,n){"use strict";var r=n(26230),a=n(13970),i=n(10629),o=n(647),s=n(91305),l=n(22537);e.exports=r([i,a,o,s,l])},91305:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=r.booleanish,o=r.number,s=r.spaceSeparated;e.exports=a({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:i,ariaAutoComplete:null,ariaBusy:i,ariaChecked:i,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:s,ariaCurrent:null,ariaDescribedBy:s,ariaDetails:null,ariaDisabled:i,ariaDropEffect:s,ariaErrorMessage:null,ariaExpanded:i,ariaFlowTo:s,ariaGrabbed:i,ariaHasPopup:null,ariaHidden:i,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s,ariaLevel:o,ariaLive:null,ariaModal:i,ariaMultiLine:i,ariaMultiSelectable:i,ariaOrientation:null,ariaOwns:s,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:i,ariaReadOnly:i,ariaRelevant:null,ariaRequired:i,ariaRoleDescription:s,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:i,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}})},22537:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=n(19348),o=r.boolean,s=r.overloadedBoolean,l=r.booleanish,c=r.number,u=r.spaceSeparated,d=r.commaSeparated;e.exports=a({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:i,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:d,acceptCharset:u,accessKey:u,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:u,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:u,cols:c,colSpan:null,content:null,contentEditable:l,controls:o,controlsList:u,coords:c|d,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:s,draggable:l,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:u,height:c,hidden:o,high:c,href:null,hrefLang:null,htmlFor:u,httpEquiv:u,id:null,imageSizes:null,imageSrcSet:d,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:u,itemRef:u,itemScope:o,itemType:u,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:u,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:u,required:o,reversed:o,rows:c,rowSpan:c,sandbox:u,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:c,sizes:null,slot:null,span:c,spellCheck:l,src:null,srcDoc:null,srcLang:null,srcSet:d,start:c,step:null,style:null,tabIndex:c,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:l,width:c,wrap:null,align:null,aLink:null,archive:u,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:l,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}})},19348:function(e,t,n){"use strict";var r=n(21098);e.exports=function(e,t){return r(e,t.toLowerCase())}},21098:function(e){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},47589:function(e,t,n){"use strict";var r=n(64977),a=n(16038),i=n(78444);e.exports=function(e){var t,n,o=e.space,s=e.mustUseProperty||[],l=e.attributes||{},c=e.properties,u=e.transform,d={},p={};for(t in c)n=new i(t,u(l,t),c[t],o),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),d[t]=n,p[r(t)]=t,p[r(n.attribute)]=t;return new a(d,p,o)}},78444:function(e,t,n){"use strict";var r=n(40313),a=n(61422);e.exports=s,s.prototype=new r,s.prototype.defined=!0;var i=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=i.length;function s(e,t,n,s){var l,c,u,d=-1;for(s&&(this.space=s),r.call(this,e,t);++d=97&&t<=122||t>=65&&t<=90}},7961:function(e,t,n){"use strict";var r=n(46260),a=n(46195);e.exports=function(e){return r(e)||a(e)}},46195:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},79480:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}},74294:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/construct/app/extra",function(){return n(90334)}])},85813:function(e,t,n){"use strict";n.d(t,{r:function(){return O6}});var r,a,i,o,s,l,c,u,d,p,f,h,m,g,b,y,E,v,T,S,_,A,O,k,x,C,w,I,R,N,L,D,P,M,F,j,B,U,G,H,$,z,Z,W,V,Y,q,K,X,Q,J,ee,et,en,er,ea={};n.r(ea),n.d(ea,{area:function(){return cf},bottom:function(){return cT},bottomLeft:function(){return cT},bottomRight:function(){return cT},inside:function(){return cT},left:function(){return cT},outside:function(){return cO},right:function(){return cT},spider:function(){return cR},surround:function(){return cL},top:function(){return cT},topLeft:function(){return cT},topRight:function(){return cT}});var ei={};n.r(ei),n.d(ei,{interpolateBlues:function(){return uD.interpolateBlues},interpolateBrBG:function(){return uD.interpolateBrBG},interpolateBuGn:function(){return uD.interpolateBuGn},interpolateBuPu:function(){return uD.interpolateBuPu},interpolateCividis:function(){return uD.interpolateCividis},interpolateCool:function(){return uD.interpolateCool},interpolateCubehelixDefault:function(){return uD.interpolateCubehelixDefault},interpolateGnBu:function(){return uD.interpolateGnBu},interpolateGreens:function(){return uD.interpolateGreens},interpolateGreys:function(){return uD.interpolateGreys},interpolateInferno:function(){return uD.interpolateInferno},interpolateMagma:function(){return uD.interpolateMagma},interpolateOrRd:function(){return uD.interpolateOrRd},interpolateOranges:function(){return uD.interpolateOranges},interpolatePRGn:function(){return uD.interpolatePRGn},interpolatePiYG:function(){return uD.interpolatePiYG},interpolatePlasma:function(){return uD.interpolatePlasma},interpolatePuBu:function(){return uD.interpolatePuBu},interpolatePuBuGn:function(){return uD.interpolatePuBuGn},interpolatePuOr:function(){return uD.interpolatePuOr},interpolatePuRd:function(){return uD.interpolatePuRd},interpolatePurples:function(){return uD.interpolatePurples},interpolateRainbow:function(){return uD.interpolateRainbow},interpolateRdBu:function(){return uD.interpolateRdBu},interpolateRdGy:function(){return uD.interpolateRdGy},interpolateRdPu:function(){return uD.interpolateRdPu},interpolateRdYlBu:function(){return uD.interpolateRdYlBu},interpolateRdYlGn:function(){return uD.interpolateRdYlGn},interpolateReds:function(){return uD.interpolateReds},interpolateSinebow:function(){return uD.interpolateSinebow},interpolateSpectral:function(){return uD.interpolateSpectral},interpolateTurbo:function(){return uD.interpolateTurbo},interpolateViridis:function(){return uD.interpolateViridis},interpolateWarm:function(){return uD.interpolateWarm},interpolateYlGn:function(){return uD.interpolateYlGn},interpolateYlGnBu:function(){return uD.interpolateYlGnBu},interpolateYlOrBr:function(){return uD.interpolateYlOrBr},interpolateYlOrRd:function(){return uD.interpolateYlOrRd},schemeAccent:function(){return uD.schemeAccent},schemeBlues:function(){return uD.schemeBlues},schemeBrBG:function(){return uD.schemeBrBG},schemeBuGn:function(){return uD.schemeBuGn},schemeBuPu:function(){return uD.schemeBuPu},schemeCategory10:function(){return uD.schemeCategory10},schemeDark2:function(){return uD.schemeDark2},schemeGnBu:function(){return uD.schemeGnBu},schemeGreens:function(){return uD.schemeGreens},schemeGreys:function(){return uD.schemeGreys},schemeOrRd:function(){return uD.schemeOrRd},schemeOranges:function(){return uD.schemeOranges},schemePRGn:function(){return uD.schemePRGn},schemePaired:function(){return uD.schemePaired},schemePastel1:function(){return uD.schemePastel1},schemePastel2:function(){return uD.schemePastel2},schemePiYG:function(){return uD.schemePiYG},schemePuBu:function(){return uD.schemePuBu},schemePuBuGn:function(){return uD.schemePuBuGn},schemePuOr:function(){return uD.schemePuOr},schemePuRd:function(){return uD.schemePuRd},schemePurples:function(){return uD.schemePurples},schemeRdBu:function(){return uD.schemeRdBu},schemeRdGy:function(){return uD.schemeRdGy},schemeRdPu:function(){return uD.schemeRdPu},schemeRdYlBu:function(){return uD.schemeRdYlBu},schemeRdYlGn:function(){return uD.schemeRdYlGn},schemeReds:function(){return uD.schemeReds},schemeSet1:function(){return uD.schemeSet1},schemeSet2:function(){return uD.schemeSet2},schemeSet3:function(){return uD.schemeSet3},schemeSpectral:function(){return uD.schemeSpectral},schemeTableau10:function(){return uD.schemeTableau10},schemeYlGn:function(){return uD.schemeYlGn},schemeYlGnBu:function(){return uD.schemeYlGnBu},schemeYlOrBr:function(){return uD.schemeYlOrBr},schemeYlOrRd:function(){return uD.schemeYlOrRd}});var eo={};n.r(eo);var es={};n.r(es),n.d(es,{geoAlbers:function(){return Ta.Z},geoAlbersUsa:function(){return Tr.Z},geoAzimuthalEqualArea:function(){return Ti.Z},geoAzimuthalEqualAreaRaw:function(){return Ti.l},geoAzimuthalEquidistant:function(){return To.Z},geoAzimuthalEquidistantRaw:function(){return To.N},geoConicConformal:function(){return Ts.Z},geoConicConformalRaw:function(){return Ts.l},geoConicEqualArea:function(){return Tl.Z},geoConicEqualAreaRaw:function(){return Tl.v},geoConicEquidistant:function(){return Tc.Z},geoConicEquidistantRaw:function(){return Tc.o},geoEqualEarth:function(){return Tu.Z},geoEqualEarthRaw:function(){return Tu.i},geoEquirectangular:function(){return Td.Z},geoEquirectangularRaw:function(){return Td.k},geoGnomonic:function(){return Tp.Z},geoGnomonicRaw:function(){return Tp.M},geoIdentity:function(){return Tf.Z},geoMercator:function(){return Tm.ZP},geoMercatorRaw:function(){return Tm.hk},geoNaturalEarth1:function(){return Tg.Z},geoNaturalEarth1Raw:function(){return Tg.K},geoOrthographic:function(){return Tb.Z},geoOrthographicRaw:function(){return Tb.I},geoProjection:function(){return Th.Z},geoProjectionMutator:function(){return Th.r},geoStereographic:function(){return Ty.Z},geoStereographicRaw:function(){return Ty.T},geoTransverseMercator:function(){return TE.Z},geoTransverseMercatorRaw:function(){return TE.F}});var el={};n.r(el),n.d(el,{frequency:function(){return Sh},id:function(){return Sm},name:function(){return Sg},weight:function(){return Sf}});var ec=n(74902),eu=n(1413),ed=n(87462),ep=n(97685),ef=n(45987),eh=n(50888),em=n(96486),eg=n(67294),eb=function(){return(eb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n-1&&!e.return)switch(e.type){case ek:e.return=function e(t,n,r){var a;switch(a=n,45^eD(t,0)?(((a<<2^eD(t,0))<<2^eD(t,1))<<2^eD(t,2))<<2^eD(t,3):0){case 5103:return e_+"print-"+t+t;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 e_+t+t;case 4789:return eS+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return e_+t+eS+t+eT+t+t;case 5936:switch(eD(t,n+11)){case 114:return e_+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return e_+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return e_+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return e_+t+eT+t+t;case 6165:return e_+t+eT+"flex-"+t+t;case 5187:return e_+t+eN(t,/(\w+).+(:[^]+)/,e_+"box-$1$2"+eT+"flex-$1$2")+t;case 5443:return e_+t+eT+"flex-item-"+eN(t,/flex-|-self/g,"")+(eR(t,/flex-|baseline/)?"":eT+"grid-row-"+eN(t,/flex-|-self/g,""))+t;case 4675:return e_+t+eT+"flex-line-pack"+eN(t,/align-content|flex-|-self/g,"")+t;case 5548:return e_+t+eT+eN(t,"shrink","negative")+t;case 5292:return e_+t+eT+eN(t,"basis","preferred-size")+t;case 6060:return e_+"box-"+eN(t,"-grow","")+e_+t+eT+eN(t,"grow","positive")+t;case 4554:return e_+eN(t,/([^-])(transform)/g,"$1"+e_+"$2")+t;case 6187:return eN(eN(eN(t,/(zoom-|grab)/,e_+"$1"),/(image-set)/,e_+"$1"),t,"")+t;case 5495:case 3959:return eN(t,/(image-set\([^]*)/,e_+"$1$`$1");case 4968:return eN(eN(t,/(.+:)(flex-)?(.*)/,e_+"box-pack:$3"+eT+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+e_+t+t;case 4200:if(!eR(t,/flex-|baseline/))return eT+"grid-column-align"+eP(t,n)+t;break;case 2592:case 3360:return eT+eN(t,"template-","")+t;case 4384:case 3616:if(r&&r.some(function(e,t){return n=t,eR(e.props,/grid-\w+-end/)}))return~eL(t+(r=r[n].value),"span",0)?t:eT+eN(t,"-start","")+t+eT+"grid-row-span:"+(~eL(r,"span",0)?eR(r,/\d+/):+eR(r,/\d+/)-+eR(t,/\d+/))+";";return eT+eN(t,"-start","")+t;case 4896:case 4128:return r&&r.some(function(e){return eR(e.props,/grid-\w+-start/)})?t:eT+eN(eN(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return eN(t,/(.+)-inline(.+)/,e_+"$1$2")+t;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(eM(t)-1-n>6)switch(eD(t,n+1)){case 109:if(45!==eD(t,n+4))break;case 102:return eN(t,/(.+:)(.+)-([^]+)/,"$1"+e_+"$2-$3$1"+eS+(108==eD(t,n+3)?"$3":"$2-$3"))+t;case 115:return~eL(t,"stretch",0)?e(eN(t,"stretch","fill-available"),n,r)+t:t}break;case 5152:case 5920:return eN(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(e,n,r,a,i,o,s){return eT+n+":"+r+s+(a?eT+n+"-span:"+(i?o:+o-+r)+s:"")+t});case 4949:if(121===eD(t,n+6))return eN(t,":",":"+e_)+t;break;case 6444:switch(eD(t,45===eD(t,14)?18:11)){case 120:return eN(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+e_+(45===eD(t,14)?"inline-":"")+"box$3$1"+e_+"$2$3$1"+eT+"$2box$3")+t;case 100:return eN(t,":",":"+eT)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return eN(t,"scroll-","scroll-snap-")+t}return t}(e.value,e.length,n);return;case ex:return eQ([eW(e,{value:eN(e.value,"@","@"+e_)})],r);case eO:if(e.length)return(n=e.props).map(function(t){switch(eR(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":eV(eW(e,{props:[eN(t,/:(read-\w+)/,":"+eS+"$1")]})),eV(eW(e,{props:[t]})),eI(e,{props:ej(n,r)});break;case"::placeholder":eV(eW(e,{props:[eN(t,/:(plac\w+)/,":"+e_+"input-$1")]})),eV(eW(e,{props:[eN(t,/:(plac\w+)/,":"+eS+"$1")]})),eV(eW(e,{props:[eN(t,/:(plac\w+)/,eT+"input-$1")]})),eV(eW(e,{props:[t]})),eI(e,{props:ej(n,r)})}return""}).join("")}}function e1(e,t,n,r,a,i,o,s,l,c,u,d){for(var p=a-1,f=0===a?i:[""],h=f.length,m=0,g=0,b=0;m0?f[y]+" "+E:eN(E,/&\f/g,f[y])).trim())&&(l[b++]=v);return eZ(e,t,n,0===a?eO:s,l,c,u,d)}function e2(e,t,n,r,a){return eZ(e,t,n,ek,eP(e,0,r),eP(e,r+1,-1),r,a)}var e3=n(94371),e5=n(83454),e4=void 0!==e5&&void 0!==e5.env&&(e5.env.REACT_APP_SC_ATTR||e5.env.SC_ATTR)||"data-styled",e6="active",e9="data-styled-version",e8="6.1.15",e7="/*!sc*/\n",te="undefined"!=typeof window&&"HTMLElement"in window,tt=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==e5&&void 0!==e5.env&&void 0!==e5.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==e5.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==e5.env.REACT_APP_SC_DISABLE_SPEEDY&&e5.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==e5&&void 0!==e5.env&&void 0!==e5.env.SC_DISABLE_SPEEDY&&""!==e5.env.SC_DISABLE_SPEEDY&&"false"!==e5.env.SC_DISABLE_SPEEDY&&e5.env.SC_DISABLE_SPEEDY),tn=Object.freeze([]),tr=Object.freeze({}),ta=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),ti=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,to=/(^-|-$)/g;function ts(e){return e.replace(ti,"-").replace(to,"")}var tl=/(a)(d)/gi,tc=function(e){return String.fromCharCode(e+(e>25?39:97))};function tu(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=tc(t%52)+n;return(tc(t%52)+n).replace(tl,"$1-$2")}var td,tp=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},tf=function(e){return tp(5381,e)};function th(e){return"string"==typeof e}var tm="function"==typeof Symbol&&Symbol.for,tg=tm?Symbol.for("react.memo"):60115,tb=tm?Symbol.for("react.forward_ref"):60112,ty={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},tE={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},tv={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},tT=((td={})[tb]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},td[tg]=tv,td);function tS(e){return("type"in e&&e.type.$$typeof)===tg?tv:"$$typeof"in e?tT[e.$$typeof]:ty}var t_=Object.defineProperty,tA=Object.getOwnPropertyNames,tO=Object.getOwnPropertySymbols,tk=Object.getOwnPropertyDescriptor,tx=Object.getPrototypeOf,tC=Object.prototype;function tw(e){return"function"==typeof e}function tI(e){return"object"==typeof e&&"styledComponentId"in e}function tR(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function tN(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r0?" Args: ".concat(t.join(", ")):""))}var tM=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,a=r;e>=a;)if((a<<=1)<0)throw tP(16,"".concat(e));this.groupSizes=new Uint32Array(a),this.groupSizes.set(n),this.length=a;for(var i=r;i=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),a=r+n,i=r;i=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(l+="".concat(e,","))}),r+="".concat(o).concat(s,'{content:"').concat(l,'"}').concat(e7)}}})(a);return r}(r)})}return e.registerId=function(e){return tU(e)},e.prototype.rehydrate=function(){!this.server&&te&&tW(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(eb(eb({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){var e,t,n,r;return this.tag||(this.tag=(n=(t=this.options).useCSSOMInjection,r=t.target,e=t.isServer?new tK(r):n?new tY(r):new tq(r),new tM(e)))},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(tU(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(tU(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(tU(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),t0=/&/g,t1=/^\s*\/\/.*$/gm;function t2(e){var t,n,r,a=void 0===e?tr:e,i=a.options,o=void 0===i?tr:i,s=a.plugins,l=void 0===s?tn:s,c=function(e,r,a){return a.startsWith(n)&&a.endsWith(n)&&a.replaceAll(n,"").length>0?".".concat(t):e},u=l.slice();u.push(function(e){e.type===eO&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(t0,n).replace(r,c))}),o.prefix&&u.push(e0),u.push(eJ);var d=function(e,a,i,s){void 0===a&&(a=""),void 0===i&&(i=""),void 0===s&&(s="&"),t=s,n=a,r=RegExp("\\".concat(n,"\\b"),"g");var l,c,d,p,f,h=e.replace(t1,""),m=(f=function e(t,n,r,a,i,o,s,l,c){for(var u,d=0,p=0,f=s,h=0,m=0,g=0,b=1,y=1,E=1,v=0,T="",S=i,_=o,A=a,O=T;y;)switch(g=v,v=eY()){case 40:if(108!=g&&58==eD(O,f-1)){-1!=eL(O+=eN(eX(v),"&","&\f"),"&\f",eC(d?l[d-1]:0))&&(E=-1);break}case 34:case 39:case 91:O+=eX(v);break;case 9:case 10:case 13:case 32:O+=function(e){for(;e$=eq();)if(e$<33)eY();else break;return eK(e)>2||eK(e$)>3?"":" "}(g);break;case 92:O+=function(e,t){for(var n;--t&&eY()&&!(e$<48)&&!(e$>102)&&(!(e$>57)||!(e$<65))&&(!(e$>70)||!(e$<97)););return n=eH+(t<6&&32==eq()&&32==eY()),eP(ez,e,n)}(eH-1,7);continue;case 47:switch(eq()){case 42:case 47:eF(eZ(u=function(e,t){for(;eY();)if(e+e$===57)break;else if(e+e$===84&&47===eq())break;return"/*"+eP(ez,t,eH-1)+"*"+ew(47===e?e:eY())}(eY(),eH),n,r,eA,ew(e$),eP(u,2,-2),0,c),c);break;default:O+="/"}break;case 123*b:l[d++]=eM(O)*E;case 125*b:case 59:case 0:switch(v){case 0:case 125:y=0;case 59+p:-1==E&&(O=eN(O,/\f/g,"")),m>0&&eM(O)-f&&eF(m>32?e2(O+";",a,r,f-1,c):e2(eN(O," ","")+";",a,r,f-2,c),c);break;case 59:O+=";";default:if(eF(A=e1(O,n,r,d,p,i,l,T,S=[],_=[],f,o),o),123===v){if(0===p)e(O,n,A,A,S,o,f,l,_);else switch(99===h&&110===eD(O,3)?100:h){case 100:case 108:case 109:case 115:e(t,A,A,a&&eF(e1(t,A,A,0,0,i,l,T,i,S=[],f,_),_),i,_,f,l,a?S:_);break;default:e(O,A,A,A,[""],_,0,l,_)}}}d=p=m=0,b=E=1,T=O="",f=s;break;case 58:f=1+eM(O),m=g;default:if(b<1){if(123==v)--b;else if(125==v&&0==b++&&125==(e$=eH>0?eD(ez,--eH):0,eU--,10===e$&&(eU=1,eB--),e$))continue}switch(O+=ew(v),v*b){case 38:E=p>0?1:(O+="\f",-1);break;case 44:l[d++]=(eM(O)-1)*E,E=1;break;case 64:45===eq()&&(O+=eX(eY())),h=eq(),p=f=eM(T=O+=function(e){for(;!eK(eq());)eY();return eP(ez,e,eH)}(eH)),v++;break;case 45:45===g&&2==eM(O)&&(b=0)}}return o}("",null,null,null,[""],(p=d=i||a?"".concat(i," ").concat(a," { ").concat(h," }"):h,eB=eU=1,eG=eM(ez=p),eH=0,d=[]),0,[0],d),ez="",f);o.namespace&&(m=function e(t,n){return t.map(function(t){return"rule"===t.type&&(t.value="".concat(n," ").concat(t.value),t.value=t.value.replaceAll(",",",".concat(n," ")),t.props=t.props.map(function(e){return"".concat(n," ").concat(e)})),Array.isArray(t.children)&&"@keyframes"!==t.type&&(t.children=e(t.children,n)),t})}(m,o.namespace));var g=[];return eQ(m,(c=(l=u.concat(function(e){var t;!e.root&&(e=e.return)&&(t=e,g.push(t))})).length,function(e,t,n,r){for(var a="",i=0;i="A"&&r<="Z"?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var nt=function(e){return null==e||!1===e||""===e},nn=function(e){var t=[];for(var n in e){var r=e[n];e.hasOwnProperty(n)&&!nt(r)&&(Array.isArray(r)&&r.isCss||tw(r)?t.push("".concat(ne(n),":"),r,";"):tL(r)?t.push.apply(t,ey(ey(["".concat(n," {")],nn(r),!1),["}"],!1)):t.push("".concat(ne(n),": ").concat(null==r||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||n in e3.Z||n.startsWith("--")?String(r).trim():"".concat(r,"px"),";")))}return t};function nr(e,t,n,r){return nt(e)?[]:tI(e)?[".".concat(e.styledComponentId)]:tw(e)?!tw(e)||e.prototype&&e.prototype.isReactComponent||!t?[e]:nr(e(t),t,n,r):e instanceof t7?n?(e.inject(n,r),[e.getName(r)]):[e]:tL(e)?nn(e):Array.isArray(e)?Array.prototype.concat.apply(tn,e.map(function(e){return nr(e,t,n,r)})):[e.toString()]}function na(e){for(var t=0;t>>0);if(!t.hasNameForId(this.componentId,i)){var o=n(a,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,o)}r=tR(r,i),this.staticRulesId=i}}else{for(var s=tp(this.baseHash,n.hash),l="",c=0;c>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(l,".".concat(p),void 0,this.componentId)),r=tR(r,p)}}return r},e}(),ns=eg.createContext(void 0);ns.Consumer;var nl={};function nc(e,t,n){var r,a,i,o,s=tI(e),l=!th(e),c=t.attrs,u=void 0===c?tn:c,d=t.componentId,p=void 0===d?(r=t.displayName,a=t.parentComponentId,nl[i="string"!=typeof r?"sc":ts(r)]=(nl[i]||0)+1,o="".concat(i,"-").concat(tu(tf(e8+i+nl[i])>>>0)),a?"".concat(a,"-").concat(o):o):d,f=t.displayName,h=void 0===f?th(e)?"styled.".concat(e):"Styled(".concat(e.displayName||e.name||"Component",")"):f,m=t.displayName&&t.componentId?"".concat(ts(t.displayName),"-").concat(t.componentId):t.componentId||p,g=s&&e.attrs?e.attrs.concat(u).filter(Boolean):u,b=t.shouldForwardProp;if(s&&e.shouldForwardProp){var y=e.shouldForwardProp;if(t.shouldForwardProp){var E=t.shouldForwardProp;b=function(e,t){return y(e,t)&&E(e,t)}}else b=y}var v=new no(n,m,s?e.componentStyle:void 0);function T(e,t){return function(e,t,n){var r,a,i=e.attrs,o=e.componentStyle,s=e.defaultProps,l=e.foldedComponentIds,c=e.styledComponentId,u=e.target,d=eg.useContext(ns),p=t9(),f=e.shouldForwardProp||p.shouldForwardProp,h=(void 0===(r=s)&&(r=tr),t.theme!==r.theme&&t.theme||d||r.theme||tr),m=function(e,t,n){for(var r,a=eb(eb({},t),{className:void 0,theme:n}),i=0;i2&&tJ.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=n.nc,a=tN([r&&'nonce="'.concat(r,'"'),"".concat(e4,'="true"'),"".concat(e9,'="').concat(e8,'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(e.sealed)throw tP(2);return e._emitSheetCSS()},this.getStyleElement=function(){if(e.sealed)throw tP(2);var t,r=e.instance.toString();if(!r)return[];var a=((t={})[e4]="",t[e9]=e8,t.dangerouslySetInnerHTML={__html:r},t),i=n.nc;return i&&(a.nonce=i),[eg.createElement("style",eb({},a,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new tJ({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw tP(2);return eg.createElement(t8,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw tP(3)}}();var nh=n(4942),nm=n(73935),ng=n.t(nm,2),nb=function(){return(nb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=18&&(J=ny.createRoot)}catch(e){}function nT(e){var t=ny.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"==typeof t&&(t.usingClientEntryPoint=e)}var nS="__rc_react_root__",n_=new Map;"undefined"!=typeof document&&n_.set("tooltip",document.createElement("div"));var nA=function(e,t){void 0===t&&(t=!1);var n=null;if(t)n=n_.get("tooltip");else if(n=document.createElement("div"),null==e?void 0:e.key){var r=n_.get(e.key);r?n=r:n_.set(e.key,n)}return!function(e,t){if(J){var n;nT(!0),n=t[nS]||J(t),nT(!1),n.render(e),t[nS]=n;return}nv(e,t)}(e,n),n},nO=function(e){if("undefined"==typeof document)return"loading";var t=e.attachShadow({mode:"open"}),n=document.createElement("div"),r=document.createElement("style");r.innerHTML=".loading {\n display: inline-block;\n position: relative;\n width: 80px;\n height: 80px;\n }\n .loading div {\n position: absolute;\n top: 33px;\n width: 13px;\n height: 13px;\n border-radius: 50%;\n background: #ccc;\n animation-timing-function: cubic-bezier(0, 1, 1, 0);\n }\n .loading div:nth-child(1) {\n left: 8px;\n animation: loading1 0.6s infinite;\n }\n .loading div:nth-child(2) {\n left: 8px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(3) {\n left: 32px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(4) {\n left: 56px;\n animation: loading3 0.6s infinite;\n }\n @keyframes loading1 {\n 0% {\n transform: scale(0);\n }\n 100% {\n transform: scale(1);\n }\n }\n @keyframes loading3 {\n 0% {\n transform: scale(1);\n }\n 100% {\n transform: scale(0);\n }\n }\n @keyframes loading2 {\n 0% {\n transform: translate(0, 0);\n }\n 100% {\n transform: translate(24px, 0);\n }\n }\n ",n.classList.add("loading"),n.innerHTML="
",t.appendChild(r),t.appendChild(n)},nk=function(e){var t=e.loadingTemplate,n=e.theme,r=eg.useRef(null);return eg.useEffect(function(){!t&&r.current&&nO(r.current)},[]),eg.createElement("div",{className:"charts-loading-container",style:{position:"absolute",width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",left:0,top:0,zIndex:99,backgroundColor:"dark"===(void 0===n?"light":n)?"rgb(20, 20, 20)":"rgb(255, 255, 255)"}},t||eg.createElement("div",{ref:r}))},nx=(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),nC=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={hasError:!1},t.renderError=function(e){var n=t.props.errorTemplate;return"function"==typeof n?n(e):n||eg.createElement("h5",null,"组件出错了,请核查后重试: ",e.message)},t}return nx(t,e),t.getDerivedStateFromError=function(e){return{hasError:!0,error:e}},t.getDerivedStateFromProps=function(e,t){return t.children!==e.children?{children:e.children,hasError:!1,error:void 0}:null},t.prototype.render=function(){return this.state.hasError?this.renderError(this.state.error):eg.createElement(eg.Fragment,null,this.props.children)},t}(eg.Component),nw=function(e,t,n){if(n||2==arguments.length)for(var r,a=0,i=t.length;a90)return this;this.computeMatrix()}return this._getAxes(),this.type===nN.iM.ORBITING||this.type===nN.iM.EXPLORING?this._getPosition():this.type===nN.iM.TRACKING&&this._getFocalPoint(),this._update(),this}},{key:"pan",value:function(e,t){var n=(0,nN.O4)(e,t,0),r=nG.d9(this.position);return nG.IH(r,r,nG.bA(nG.Ue(),this.right,n[0])),nG.IH(r,r,nG.bA(nG.Ue(),this.up,n[1])),this._setPosition(r),this.triggerUpdate(),this}},{key:"dolly",value:function(e){var t=this.forward,n=nG.d9(this.position),r=e*this.dollyingStep;return r=Math.max(Math.min(this.distance+e*this.dollyingStep,this.maxDistance),this.minDistance)-this.distance,n[0]+=r*t[0],n[1]+=r*t[1],n[2]+=r*t[2],this._setPosition(n),this.type===nN.iM.ORBITING||this.type===nN.iM.EXPLORING?this._getDistance():this.type===nN.iM.TRACKING&&nG.IH(this.focalPoint,n,this.distanceVector),this.triggerUpdate(),this}},{key:"cancelLandmarkAnimation",value:function(){void 0!==this.landmarkAnimationID&&this.canvas.cancelAnimationFrame(this.landmarkAnimationID)}},{key:"createLandmark",value:function(e){var t,n,r,a,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=i.position,s=void 0===o?this.position:o,l=i.focalPoint,c=void 0===l?this.focalPoint:l,u=i.roll,d=i.zoom,p=new nN.GZ.CameraContribution;p.setType(this.type,void 0),p.setPosition(s[0],null!==(t=s[1])&&void 0!==t?t:this.position[1],null!==(n=s[2])&&void 0!==n?n:this.position[2]),p.setFocalPoint(c[0],null!==(r=c[1])&&void 0!==r?r:this.focalPoint[1],null!==(a=c[2])&&void 0!==a?a:this.focalPoint[2]),p.setRoll(null!=u?u:this.roll),p.setZoom(null!=d?d:this.zoom);var f={name:e,matrix:nU.clone(p.getWorldTransform()),right:nG.d9(p.right),up:nG.d9(p.up),forward:nG.d9(p.forward),position:nG.d9(p.getPosition()),focalPoint:nG.d9(p.getFocalPoint()),distanceVector:nG.d9(p.getDistanceVector()),distance:p.getDistance(),dollyingStep:p.getDollyingStep(),azimuth:p.getAzimuth(),elevation:p.getElevation(),roll:p.getRoll(),relAzimuth:p.relAzimuth,relElevation:p.relElevation,relRoll:p.relRoll,zoom:p.getZoom()};return this.landmarks.push(f),f}},{key:"gotoLandmark",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=nj(e,"String")?this.landmarks.find(function(t){return t.name===e}):e;if(r){var a,i=nj(n,"Number")?{duration:n}:n,o=i.easing,s=void 0===o?"linear":o,l=i.duration,c=void 0===l?100:l,u=i.easingFunction,d=i.onfinish,p=void 0===d?void 0:d,f=i.onframe,h=void 0===f?void 0:f;this.cancelLandmarkAnimation();var m=r.position,g=r.focalPoint,b=r.zoom,y=r.roll,E=(void 0===u?void 0:u)||nN.GZ.EasingFunction(s),v=function(){t.setFocalPoint(g),t.setPosition(m),t.setRoll(y),t.setZoom(b),t.computeMatrix(),t.triggerUpdate(),null==p||p()};if(0===c)return v();var T=function(e){void 0===a&&(a=e);var n=e-a;if(n>=c){v();return}var r=E(n/c),i=nG.Ue(),o=nG.Ue(),s=1,l=0;if(nG.t7(i,t.focalPoint,g,r),nG.t7(o,t.position,m,r),l=t.roll*(1-r)+y*r,s=t.zoom*(1-r)+b*r,t.setFocalPoint(i),t.setPosition(o),t.setRoll(l),t.setZoom(s),nG.TK(i,g)+nG.TK(o,m)<=.01&&void 0===b&&void 0===y)return v();t.computeMatrix(),t.triggerUpdate(),nn?n:e},nW={}.toString,nV=function(e){return null==e},nY=function(e){function t(e,n,r,a){var i;return(0,nL.Z)(this,t),(i=(0,nP.Z)(this,t,[e])).currentTime=r,i.timelineTime=a,i.target=n,i.type="finish",i.bubbles=!1,i.currentTarget=n,i.defaultPrevented=!1,i.eventPhase=i.AT_TARGET,i.timeStamp=Date.now(),i.currentTime=r,i.timelineTime=a,i}return(0,nM.Z)(t,e),(0,nD.Z)(t)}(nN.xA),nq=0,nK=(0,nD.Z)(function e(t,n){var r;(0,nL.Z)(this,e),this.currentTimePending=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._playbackRate=1,this._inTimeline=!0,this.effect=t,t.animation=this,this.timeline=n,this.id="".concat(nq++),this._inEffect=!!this.effect.update(0),this._totalDuration=Number(null===(r=this.effect)||void 0===r?void 0:r.getComputedTiming().endTime),this._holdTime=0,this._paused=!1,this.oldPlayState="idle",this.updatePromises()},[{key:"pending",get:function(){return null===this._startTime&&!this._paused&&0!==this.playbackRate||this.currentTimePending}},{key:"playState",get:function(){return this._idle?"idle":this._isFinished?"finished":this._paused?"paused":"running"}},{key:"ready",get:function(){var e=this;return this.readyPromise||(-1===this.timeline.animationsWithPromises.indexOf(this)&&this.timeline.animationsWithPromises.push(this),this.readyPromise=new Promise(function(t,n){e.resolveReadyPromise=function(){t(e)},e.rejectReadyPromise=function(){n(Error())}}),this.pending||this.resolveReadyPromise()),this.readyPromise}},{key:"finished",get:function(){var e=this;return this.finishedPromise||(-1===this.timeline.animationsWithPromises.indexOf(this)&&this.timeline.animationsWithPromises.push(this),this.finishedPromise=new Promise(function(t,n){e.resolveFinishedPromise=function(){t(e)},e.rejectFinishedPromise=function(){n(Error())}}),"finished"===this.playState&&this.resolveFinishedPromise()),this.finishedPromise}},{key:"currentTime",get:function(){return this.updatePromises(),this._idle||this.currentTimePending?null:this._currentTime},set:function(e){if(!isNaN(e=Number(e))){if(this.timeline.restart(),!this._paused&&null!==this._startTime){var t;this._startTime=Number(null===(t=this.timeline)||void 0===t?void 0:t.currentTime)-e/this.playbackRate}this.currentTimePending=!1,this._currentTime!==e&&(this._idle&&(this._idle=!1,this._paused=!0),this.tickCurrentTime(e,!0),this.timeline.applyDirtiedAnimation(this))}}},{key:"startTime",get:function(){return this._startTime},set:function(e){null!==e&&(this.updatePromises(),!isNaN(e=Number(e))&&(this._paused||this._idle||(this._startTime=e,this.tickCurrentTime((Number(this.timeline.currentTime)-this._startTime)*this.playbackRate),this.timeline.applyDirtiedAnimation(this),this.updatePromises())))}},{key:"playbackRate",get:function(){return this._playbackRate},set:function(e){if(e!==this._playbackRate){this.updatePromises();var t=this.currentTime;this._playbackRate=e,this.startTime=null,"paused"!==this.playState&&"idle"!==this.playState&&(this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this)),null!==t&&(this.currentTime=t),this.updatePromises()}}},{key:"_isFinished",get:function(){return!this._idle&&(this._playbackRate>0&&Number(this._currentTime)>=this._totalDuration||this._playbackRate<0&&0>=Number(this._currentTime))}},{key:"totalDuration",get:function(){return this._totalDuration}},{key:"_needsTick",get:function(){return this.pending||"running"===this.playState||!this._finishedFlag}},{key:"updatePromises",value:function(){var e=this.oldPlayState,t=this.pending?"pending":this.playState;return this.readyPromise&&t!==e&&("idle"===t?(this.rejectReadyPromise(),this.readyPromise=void 0):"pending"===e?this.resolveReadyPromise():"pending"===t&&(this.readyPromise=void 0)),this.finishedPromise&&t!==e&&("idle"===t?(this.rejectFinishedPromise(),this.finishedPromise=void 0):"finished"===t?this.resolveFinishedPromise():"finished"===e&&(this.finishedPromise=void 0)),this.oldPlayState=t,this.readyPromise||this.finishedPromise}},{key:"play",value:function(){this.updatePromises(),this._paused=!1,(this._isFinished||this._idle)&&(this.rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this),-1===this.timeline.animations.indexOf(this)&&this.timeline.animations.push(this),this.updatePromises()}},{key:"pause",value:function(){this.updatePromises(),this.currentTime&&(this._holdTime=this.currentTime),this._isFinished||this._paused||this._idle?this._idle&&(this.rewind(),this._idle=!1):this.currentTimePending=!0,this._startTime=null,this._paused=!0,this.updatePromises()}},{key:"finish",value:function(){this.updatePromises(),this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this.currentTimePending=!1,this.timeline.applyDirtiedAnimation(this),this.updatePromises())}},{key:"cancel",value:function(){var e=this;if(this.updatePromises(),this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this.effect.update(null),this.timeline.applyDirtiedAnimation(this),this.updatePromises(),this.oncancel)){var t=new nY(null,this,this.currentTime,null);setTimeout(function(){e.oncancel(t)})}}},{key:"reverse",value:function(){this.updatePromises();var e=this.currentTime;this.playbackRate*=-1,this.play(),null!==e&&(this.currentTime=e),this.updatePromises()}},{key:"updatePlaybackRate",value:function(e){this.playbackRate=e}},{key:"targetAnimations",value:function(){var e;return(null===(e=this.effect)||void 0===e?void 0:e.target).getAnimations()}},{key:"markTarget",value:function(){var e=this.targetAnimations();-1===e.indexOf(this)&&e.push(this)}},{key:"unmarkTarget",value:function(){var e=this.targetAnimations(),t=e.indexOf(this);-1!==t&&e.splice(t,1)}},{key:"tick",value:function(e,t){this._idle||this._paused||(null===this._startTime?t&&(this.startTime=e-this._currentTime/this.playbackRate):this._isFinished||this.tickCurrentTime((e-this._startTime)*this.playbackRate)),t&&(this.currentTimePending=!1,this.fireEvents(e))}},{key:"rewind",value:function(){if(this.playbackRate>=0)this.currentTime=0;else if(this._totalDuration<1/0)this.currentTime=this._totalDuration;else throw Error("Unable to rewind negative playback rate animation with infinite duration")}},{key:"persist",value:function(){throw Error(nN.jf)}},{key:"addEventListener",value:function(e,t,n){throw Error(nN.jf)}},{key:"removeEventListener",value:function(e,t,n){throw Error(nN.jf)}},{key:"dispatchEvent",value:function(e){throw Error(nN.jf)}},{key:"commitStyles",value:function(){throw Error(nN.jf)}},{key:"ensureAlive",value:function(){var e,t;this.playbackRate<0&&0===this.currentTime?this._inEffect=!!(null!==(e=this.effect)&&void 0!==e&&e.update(-1)):this._inEffect=!!(null!==(t=this.effect)&&void 0!==t&&t.update(this.currentTime)),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,this.timeline.animations.push(this))}},{key:"tickCurrentTime",value:function(e,t){e!==this._currentTime&&(this._currentTime=e,this._isFinished&&!t&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this.ensureAlive())}},{key:"fireEvents",value:function(e){var t=this;if(this._isFinished){if(!this._finishedFlag){if(this.onfinish){var n=new nY(null,this,this.currentTime,e);setTimeout(function(){t.onfinish&&t.onfinish(n)})}this._finishedFlag=!0}}else{if(this.onframe&&"running"===this.playState){var r=new nY(null,this,this.currentTime,e);this.onframe(r)}this._finishedFlag=!1}}}]),nX="function"==typeof Float32Array,nQ=function(e,t){return 1-3*t+3*e},nJ=function(e,t){return 3*t-6*e},n0=function(e){return 3*e},n1=function(e,t,n){return((nQ(t,n)*e+nJ(t,n))*e+n0(t))*e},n2=function(e,t,n){return 3*nQ(t,n)*e*e+2*nJ(t,n)*e+n0(t)},n3=function(e,t,n,r,a){var i,o,s=0;do(i=n1(o=t+(n-t)/2,r,a)-e)>0?n=o:t=o;while(Math.abs(i)>1e-7&&++s<10);return o},n5=function(e,t,n,r){for(var a=0;a<4;++a){var i=n2(t,n,r);if(0===i)break;var o=n1(t,n,r)-e;t-=o/i}return t},n4=function(e,t,n,r){if(!(e>=0&&e<=1&&n>=0&&n<=1))throw Error("bezier x values must be in [0, 1] range");if(e===t&&n===r)return function(e){return e};for(var a=nX?new Float32Array(11):Array(11),i=0;i<11;++i)a[i]=n1(.1*i,e,n);var o=function(t){for(var r=0,i=1;10!==i&&a[i]<=t;++i)r+=.1;var o=r+(t-a[--i])/(a[i+1]-a[i])*.1,s=n2(o,e,n);return s>=.001?n5(t,o,e,n):0===s?o:n3(t,r,r+.1,e,n)};return function(e){return 0===e||1===e?e:n1(o(e),t,r)}},n6=function(e){return Math.pow(e,2)},n9=function(e){return Math.pow(e,3)},n8=function(e){return Math.pow(e,4)},n7=function(e){return Math.pow(e,5)},re=function(e){return Math.pow(e,6)},rt=function(e){return 1-Math.cos(e*Math.PI/2)},rn=function(e){return 1-Math.sqrt(1-e*e)},rr=function(e){return e*e*(3*e-2)},ra=function(e){for(var t,n=4;e<((t=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*t-2)/22-e,2)},ri=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,2),r=n[0],a=n[1],i=nZ(Number(void 0===r?1:r),1,10),o=nZ(Number(void 0===a?.5:a),.1,2);return 0===e||1===e?e:-i*Math.pow(2,10*(e-1))*Math.sin((e-1-o/(2*Math.PI)*Math.asin(1/i))*(2*Math.PI)/o)},ro=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,r=(0,nz.Z)(t,4),a=r[0],i=void 0===a?1:a,o=r[1],s=void 0===o?100:o,l=r[2],c=void 0===l?10:l,u=r[3],d=void 0===u?0:u;i=nZ(i,.1,1e3),s=nZ(s,.1,1e3),c=nZ(c,.1,1e3),d=nZ(d,.1,1e3);var p=Math.sqrt(s/i),f=c/(2*Math.sqrt(s*i)),h=f<1?p*Math.sqrt(1-f*f):0,m=f<1?(f*p+-d)/h:-d+p,g=n?n*e/1e3:e;return(g=f<1?Math.exp(-g*f*p)*(1*Math.cos(h*g)+m*Math.sin(h*g)):(1+m*g)*Math.exp(-g*p),0===e||1===e)?e:1-g},rs=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,2),r=n[0],a=void 0===r?10:r;return("start"===n[1]?Math.ceil:Math.floor)(nZ(e,0,1)*a)/a},rl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,4);return n4(n[0],n[1],n[2],n[3])(e)},rc=n4(.42,0,1,1),ru=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return 1-e(1-t,n,r)}},rd=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return t<.5?e(2*t,n,r)/2:1-e(-2*t+2,n,r)/2}},rp=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return t<.5?(1-e(1-2*t,n,r))/2:(e(2*t-1,n,r)+1)/2}},rf={steps:rs,"step-start":function(e){return rs(e,[1,"start"])},"step-end":function(e){return rs(e,[1,"end"])},linear:function(e){return e},"cubic-bezier":rl,ease:function(e){return rl(e,[.25,.1,.25,1])},in:rc,out:ru(rc),"in-out":rd(rc),"out-in":rp(rc),"in-quad":n6,"out-quad":ru(n6),"in-out-quad":rd(n6),"out-in-quad":rp(n6),"in-cubic":n9,"out-cubic":ru(n9),"in-out-cubic":rd(n9),"out-in-cubic":rp(n9),"in-quart":n8,"out-quart":ru(n8),"in-out-quart":rd(n8),"out-in-quart":rp(n8),"in-quint":n7,"out-quint":ru(n7),"in-out-quint":rd(n7),"out-in-quint":rp(n7),"in-expo":re,"out-expo":ru(re),"in-out-expo":rd(re),"out-in-expo":rp(re),"in-sine":rt,"out-sine":ru(rt),"in-out-sine":rd(rt),"out-in-sine":rp(rt),"in-circ":rn,"out-circ":ru(rn),"in-out-circ":rd(rn),"out-in-circ":rp(rn),"in-back":rr,"out-back":ru(rr),"in-out-back":rd(rr),"out-in-back":rp(rr),"in-bounce":ra,"out-bounce":ru(ra),"in-out-bounce":rd(ra),"out-in-bounce":rp(ra),"in-elastic":ri,"out-elastic":ru(ri),"in-out-elastic":rd(ri),"out-in-elastic":rp(ri),spring:ro,"spring-in":ro,"spring-out":ru(ro),"spring-in-out":rd(ro),"spring-out-in":rp(ro)},rh=function(e){var t;return("-"===(t=(t=e).replace(/([A-Z])/g,function(e){return"-".concat(e.toLowerCase())})).charAt(0)?t.substring(1):t).replace(/^ease-/,"").replace(/(\(|\s).+/,"").toLowerCase().trim()},rm=function(e){return e};function rg(e,t){return function(n){if(n>=1)return 1;var r=1/e;return(n+=t*r)-n%r}}var rb="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",ry=new RegExp("cubic-bezier\\(".concat(rb,",").concat(rb,",").concat(rb,",").concat(rb,"\\)")),rE=/steps\(\s*(\d+)\s*\)/,rv=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/;function rT(e){var t=ry.exec(e);if(t)return n4.apply(void 0,(0,n$.Z)(t.slice(1).map(Number)));var n=rE.exec(e);if(n)return rg(Number(n[1]),0);var r=rv.exec(e);return r?rg(Number(r[1]),{start:1,middle:.5,end:0}[r[2]]):rf[rh(e)]||rf.linear}function rS(e){return"offset"!==e&&"easing"!==e&&"composite"!==e&&"computedOffset"!==e}var r_=function(e,t,n){return function(r){var a,i=function e(t,n,r){if("number"==typeof t&&"number"==typeof n)return t*(1-r)+n*r;if("boolean"==typeof t&&"boolean"==typeof n||"string"==typeof t&&"string"==typeof n)return r<.5?t:n;if(Array.isArray(t)&&Array.isArray(n)){for(var a=t.length,i=n.length,o=Math.max(a,i),s=[],l=0;l1)throw Error("Keyframe offsets must be between 0 and 1.");n.computedOffset=a}}else if("composite"===r&&-1===["replace","add","accumulate","auto"].indexOf(a))throw Error("".concat(a," compositing is not supported"));n[r]=a}return void 0===n.offset&&(n.offset=null),void 0===n.easing&&(n.easing=(null==t?void 0:t.easing)||"linear"),void 0===n.composite&&(n.composite="auto"),n}),r=!0,a=-1/0,i=0;i=0&&1>=Number(e.offset)}),r||function(){var e,t,r=n.length;n[r-1].computedOffset=Number(null!==(e=n[r-1].offset)&&void 0!==e?e:1),r>1&&(n[0].computedOffset=Number(null!==(t=n[0].offset)&&void 0!==t?t:0));for(var a=0,i=Number(n[0].computedOffset),o=1;o=e.applyFrom&&t=Math.min(n.delay+e+n.endDelay,r)?2:3}(e,t,n),u=function(e,t,n,r,a){switch(r){case 1:if("backwards"===t||"both"===t)return 0;return null;case 3:return n-a;case 2:if("forwards"===t||"both"===t)return e;return null;case 0:return null}}(e,n.fill,t,c,n.delay);if(null===u)return null;var d="auto"===n.duration?0:n.duration,p=(r=n.iterations,a=n.iterationStart,0===d?1!==c&&(a+=r):a+=u/d,a),f=(i=n.iterationStart,o=n.iterations,0==(s=p===1/0?i%1:p%1)&&2===c&&0!==o&&(0!==u||0===d)&&(s=1),s),h=(l=n.iterations,2===c&&l===1/0?1/0:1===f?Math.floor(p)-1:Math.floor(p)),m=function(e,t,n){var r=e;if("normal"!==e&&"reverse"!==e){var a=t;"alternate-reverse"===e&&(a+=1),r="normal",a!==1/0&&a%2!=0&&(r="reverse")}return"normal"===r?n:1-n}(n.direction,h,f);return n.currentIteration=h,n.progress=m,n.easingFunction(m)}(this.timing.activeDuration,e,this.timing),null!==this.timeFraction)}},{key:"getKeyframes",value:function(){return this.normalizedKeyframes}},{key:"setKeyframes",value:function(e){this.normalizedKeyframes=rO(e)}},{key:"getComputedTiming",value:function(){return this.computedTiming}},{key:"getTiming",value:function(){return this.timing}},{key:"updateTiming",value:function(e){var t=this;Object.keys(e||{}).forEach(function(n){t.timing[n]=e[n]})}}]);function rw(e,t){return Number(e.id)-Number(t.id)}var rI=(0,nD.Z)(function e(t){var n=this;(0,nL.Z)(this,e),this.animations=[],this.ticking=!1,this.timelineTicking=!1,this.hasRestartedThisFrame=!1,this.animationsWithPromises=[],this.inTick=!1,this.pendingEffects=[],this.currentTime=null,this.rafId=0,this.rafCallbacks=[],this.webAnimationsNextTick=function(e){n.currentTime=e,n.discardAnimations(),0===n.animations.length?n.timelineTicking=!1:n.requestAnimationFrame(n.webAnimationsNextTick)},this.processRafCallbacks=function(e){var t=n.rafCallbacks;n.rafCallbacks=[],et.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let rN=(e,t,n)=>[["M",e-n,t],["A",n,n,0,1,0,e+n,t],["A",n,n,0,1,0,e-n,t],["Z"]];rN.style=["fill"];let rL=rN.bind(void 0);rL.style=["stroke","lineWidth"];let rD=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t-n],["L",e+n,t+n],["L",e-n,t+n],["Z"]];rD.style=["fill"];let rP=rD.bind(void 0);rP.style=["fill"];let rM=rD.bind(void 0);rM.style=["stroke","lineWidth"];let rF=(e,t,n)=>{let r=.618*n;return[["M",e-r,t],["L",e,t-n],["L",e+r,t],["L",e,t+n],["Z"]]};rF.style=["fill"];let rj=rF.bind(void 0);rj.style=["stroke","lineWidth"];let rB=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t+r],["L",e,t-r],["L",e+n,t+r],["Z"]]};rB.style=["fill"];let rU=rB.bind(void 0);rU.style=["stroke","lineWidth"];let rG=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t-r],["L",e+n,t-r],["L",e,t+r],["Z"]]};rG.style=["fill"];let rH=rG.bind(void 0);rH.style=["stroke","lineWidth"];let r$=(e,t,n)=>{let r=n/2*Math.sqrt(3);return[["M",e,t-n],["L",e+r,t-n/2],["L",e+r,t+n/2],["L",e,t+n],["L",e-r,t+n/2],["L",e-r,t-n/2],["Z"]]};r$.style=["fill"];let rz=r$.bind(void 0);rz.style=["stroke","lineWidth"];let rZ=(e,t,n)=>{let r=n-1.5;return[["M",e-n,t-r],["L",e+n,t+r],["L",e+n,t-r],["L",e-n,t+r],["Z"]]};rZ.style=["fill"];let rW=rZ.bind(void 0);rW.style=["stroke","lineWidth"];let rV=(e,t,n)=>[["M",e,t+n],["L",e,t-n]];rV.style=["stroke","lineWidth"];let rY=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t+n],["M",e+n,t-n],["L",e-n,t+n]];rY.style=["stroke","lineWidth"];let rq=(e,t,n)=>[["M",e-n/2,t-n],["L",e+n/2,t-n],["M",e,t-n],["L",e,t+n],["M",e-n/2,t+n],["L",e+n/2,t+n]];rq.style=["stroke","lineWidth"];let rK=(e,t,n)=>[["M",e-n,t],["L",e+n,t],["M",e,t-n],["L",e,t+n]];rK.style=["stroke","lineWidth"];let rX=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rX.style=["stroke","lineWidth"];let rQ=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rQ.style=["stroke","lineWidth"];let rJ=rQ.bind(void 0);rJ.style=["stroke","lineWidth"];let r0=(e,t,n)=>[["M",e-n,t],["A",n/2,n/2,0,1,1,e,t],["A",n/2,n/2,0,1,0,e+n,t]];r0.style=["stroke","lineWidth"];let r1=(e,t,n)=>[["M",e-n-1,t-2.5],["L",e,t-2.5],["L",e,t+2.5],["L",e+n+1,t+2.5]];r1.style=["stroke","lineWidth"];let r2=(e,t,n)=>[["M",e-n-1,t+2.5],["L",e,t+2.5],["L",e,t-2.5],["L",e+n+1,t-2.5]];r2.style=["stroke","lineWidth"];let r3=(e,t,n)=>[["M",e-(n+1),t+2.5],["L",e-n/2,t+2.5],["L",e-n/2,t-2.5],["L",e+n/2,t-2.5],["L",e+n/2,t+2.5],["L",e+n+1,t+2.5]];r3.style=["stroke","lineWidth"];let r5=(e,t,n)=>[["M",e-5,t+2.5],["L",e-5,t],["L",e,t],["L",e,t-3],["L",e,t+3],["L",e+6.5,t+3]];r5.style=["stroke","lineWidth"];let r4=new Map([["bowtie",rZ],["cross",rY],["dash",rJ],["diamond",rF],["dot",rQ],["hexagon",r$],["hollowBowtie",rW],["hollowDiamond",rj],["hollowHexagon",rz],["hollowPoint",rL],["hollowSquare",rM],["hollowTriangle",rU],["hollowTriangleDown",rH],["hv",r1],["hvh",r3],["hyphen",rX],["line",rV],["plus",rK],["point",rN],["rect",rP],["smooth",r0],["square",rD],["tick",rq],["triangleDown",rG],["triangle",rB],["vh",r2],["vhv",r5]]),r6={};function r9(e,t){if(e.startsWith("symbol.")){var n;n=e.split(".").pop(),r4.set(n,t)}else Object.assign(r6,{[e]:t})}var r8=n(88998);/*! * @antv/g-plugin-canvas-path-generator * @description A G plugin of path generator with Canvas2D API * @version 2.1.16 @@ -49,4 +49,4 @@ * @author Lea Verou * @namespace * @public - */var r=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},a={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=u.reach));S+=T.value.length,T=T.next){var _,A=T.value;if(n.length>t.length)return;if(!(A instanceof i)){var O=1;if(b){if(!(_=o(v,S,t,g))||_.index>=t.length)break;var k=_.index,x=_.index+_[0].length,C=S;for(C+=T.value.length;k>=C;)C+=(T=T.next).value.length;if(C-=T.value.length,S=C,T.value instanceof i)continue;for(var w=T;w!==n.tail&&(Cu.reach&&(u.reach=L);var D=T.prev;R&&(D=l(n,D,R),S+=R.length),function(e,t,n){for(var r=t.next,a=0;a1){var M={cause:d+","+f,reach:L};e(t,n,r,T.prev,S,M),u&&M.reach>u.reach&&(u.reach=M.reach)}}}}}}(e,c,t,c.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(c)},hooks:{all:{},add:function(e,t){var n=a.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=a.hooks.all[e];if(n&&n.length)for(var r,i=0;r=n[i++];)r(t)}},Token:i};function i(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var i=a[1].length;a.index+=i,a[0]=a[0].slice(i)}return a}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}if(e.Prism=a,i.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach(function(t){r+=e(t,n)}),r}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},o=t.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(i.classes,o):i.classes.push(o)),a.hooks.run("wrap",i);var s="";for(var l in i.attributes)s+=" "+l+'="'+(i.attributes[l]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+s+">"+i.content+""},!e.document)return e.addEventListener&&(a.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),r=n.language,i=n.code,o=n.immediateClose;e.postMessage(a.highlight(i,a.languages[r],r)),o&&e.close()},!1)),a;var c=a.util.currentScript();function u(){a.manual||a.highlightAll()}if(c&&(a.filename=c.src,c.hasAttribute("data-manual")&&(a.manual=!0)),!a.manual){var d=document.readyState;"loading"===d||"interactive"===d&&c&&c.defer?document.addEventListener("DOMContentLoaded",u):window.requestAnimationFrame?window.requestAnimationFrame(u):window.setTimeout(u,16)}return a}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=r),void 0!==n.g&&(n.g.Prism=r)},96774:function(e){e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),o=Object.keys(t);if(i.length!==o.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;le.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}},88998:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(95778);function a(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},13643:function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,{Z:function(){return r}})},98568:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)}n.d(t,{Z:function(){return a}})},99660:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(88998);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var l=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(l&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;C(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:I(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),b}},t}},16200:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59312);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw a}}return s}}(e,t)||(0,r.Z)(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},27567:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(13643);function a(){return(a="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var a=function(e,t){for(;!({}).hasOwnProperty.call(e,t)&&null!==(e=(0,r.Z)(e)););return e}(e,t);if(a){var i=Object.getOwnPropertyDescriptor(a,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}}).apply(null,arguments)}function i(e,t,n,i){var o=a((0,r.Z)(1&i?e.prototype:e),t,n);return 2&i&&"function"==typeof o?function(e){return o.apply(n,e)}:o}},25585:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(59630),a=n(59312);function i(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,a.Z)(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},95778:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(2846);function a(e){var t=function(e,t){if("object"!=(0,r.Z)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=(0,r.Z)(a))return a;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.Z)(t)?t:t+""}},2846:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{Z:function(){return r}})},59312:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59630);function a(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},21129:function(e,t,n){"use strict";var r=n(4503);t.Z=r},86676:function(e,t,n){"use strict";n.d(t,{r:function(){return a}});let r=/[#.]/g;function a(e,t){let n,a;let i=e||"",o={},s=0;for(;so&&(o=i):i=1,a=r+t.length,r=n.indexOf(t,a);return o}n.d(t,{J:function(){return r}})},24557:function(e,t,n){"use strict";n.d(t,{Z:function(){return ed}});var r={};n.r(r),n.d(r,{boolean:function(){return c},booleanish:function(){return u},commaOrSpaceSeparated:function(){return m},commaSeparated:function(){return h},number:function(){return p},overloadedBoolean:function(){return d},spaceSeparated:function(){return f}});class a{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function i(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new a(n,r,t)}function o(e){return e.toLowerCase()}a.prototype.normal={},a.prototype.property={},a.prototype.space=void 0;class s{constructor(e,t){this.attribute=t,this.property=e}}s.prototype.attribute="",s.prototype.booleanish=!1,s.prototype.boolean=!1,s.prototype.commaOrSpaceSeparated=!1,s.prototype.commaSeparated=!1,s.prototype.defined=!1,s.prototype.mustUseProperty=!1,s.prototype.number=!1,s.prototype.overloadedBoolean=!1,s.prototype.property="",s.prototype.spaceSeparated=!1,s.prototype.space=void 0;let l=0,c=g(),u=g(),d=g(),p=g(),f=g(),h=g(),m=g();function g(){return 2**++l}let b=Object.keys(r);class y extends s{constructor(e,t,n,a){var i,o;let s=-1;if(super(e,t),a&&(this.space=a),"number"==typeof n)for(;++s"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function T(e,t){return t in e?e[t]:t}function S(e,t){return T(e,t.toLowerCase())}let _=E({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:h,acceptCharset:f,accessKey:f,action:null,allow:null,allowFullScreen:c,allowPaymentRequest:c,allowUserMedia:c,alt:null,as:null,async:c,autoCapitalize:null,autoComplete:f,autoFocus:c,autoPlay:c,blocking:f,capture:null,charSet:null,checked:c,cite:null,className:f,cols:p,colSpan:null,content:null,contentEditable:u,controls:c,controlsList:f,coords:p|h,crossOrigin:null,data:null,dateTime:null,decoding:null,default:c,defer:c,dir:null,dirName:null,disabled:c,download:d,draggable:u,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:c,formTarget:null,headers:f,height:p,hidden:c,high:p,href:null,hrefLang:null,htmlFor:f,httpEquiv:f,id:null,imageSizes:null,imageSrcSet:null,inert:c,inputMode:null,integrity:null,is:null,isMap:c,itemId:null,itemProp:f,itemRef:f,itemScope:c,itemType:f,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:c,low:p,manifest:null,max:null,maxLength:p,media:null,method:null,min:null,minLength:p,multiple:c,muted:c,name:null,nonce:null,noModule:c,noValidate:c,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored: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,onScrollEnd: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:c,optimum:p,pattern:null,ping:f,placeholder:null,playsInline:c,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:c,referrerPolicy:null,rel:f,required:c,reversed:c,rows:p,rowSpan:p,sandbox:f,scope:null,scoped:c,seamless:c,selected:c,shadowRootClonable:c,shadowRootDelegatesFocus:c,shadowRootMode:null,shape:null,size:p,sizes:null,slot:null,span:p,spellCheck:u,src:null,srcDoc:null,srcLang:null,srcSet:null,start:p,step:null,style:null,tabIndex:p,target:null,title:null,translate:null,type:null,typeMustMatch:c,useMap:null,value:u,width:p,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:f,axis:null,background:null,bgColor:null,border:p,borderColor:null,bottomMargin:p,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:c,declare:c,event:null,face:null,frame:null,frameBorder:null,hSpace:p,leftMargin:p,link:null,longDesc:null,lowSrc:null,marginHeight:p,marginWidth:p,noResize:c,noHref:c,noShade:c,noWrap:c,object:null,profile:null,prompt:null,rev:null,rightMargin:p,rules:null,scheme:null,scrolling:u,standby:null,summary:null,text:null,topMargin:p,valueType:null,version:null,vAlign:null,vLink:null,vSpace:p,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:c,disableRemotePlayback:c,prefix:null,property:null,results:p,security:null,unselectable:null},space:"html",transform:S}),A=E({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:m,accentHeight:p,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:p,amplitude:p,arabicForm:null,ascent:p,attributeName:null,attributeType:null,azimuth:p,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:p,by:null,calcMode:null,capHeight:p,className:f,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:p,diffuseConstant:p,direction:null,display:null,dur:null,divisor:p,dominantBaseline:null,download:c,dx:null,dy:null,edgeMode:null,editable:null,elevation:p,enableBackground:null,end:null,event:null,exponent:p,externalResourcesRequired:null,fill:null,fillOpacity:p,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:h,g2:h,glyphName:h,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:p,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:p,horizOriginX:p,horizOriginY:p,id:null,ideographic:p,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:p,k:p,k1:p,k2:p,k3:p,k4:p,kernelMatrix:m,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:p,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:p,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose: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,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:p,overlineThickness:p,paintOrder:null,panose1:null,path:null,pathLength:p,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:f,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:p,pointsAtY:p,pointsAtZ:p,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:m,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:m,rev:m,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:m,requiredFeatures:m,requiredFonts:m,requiredFormats:m,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:p,specularExponent:p,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:p,strikethroughThickness:p,string:null,stroke:null,strokeDashArray:m,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:p,strokeOpacity:p,strokeWidth:null,style:null,surfaceScale:p,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:m,tabIndex:p,tableValues:null,target:null,targetX:p,targetY:p,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:m,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:p,underlineThickness:p,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:p,values:null,vAlphabetic:p,vMathematical:p,vectorEffect:null,vHanging:p,vIdeographic:p,version:null,vertAdvY:p,vertOriginX:p,vertOriginY:p,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:p,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:T}),O=E({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),k=E({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:S}),x=E({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),C=i([v,_,O,k,x],"html"),w=i([v,A,O,k,x],"svg");var I=n(25668),R=n(86676);let N=/[A-Z]/g,L=/-[a-z]/g,D=/^data[-\w.:]+$/i;function P(e){return"-"+e.toLowerCase()}function M(e){return e.charAt(1).toUpperCase()}var F=n(50342);function j(e,t,n){let r=n?function(e){let t=new Map;for(let n of e)t.set(n.toLowerCase(),n);return t}(n):void 0;return function(n,a,...i){let l;if(null==n)l={type:"root",children:[]},i.unshift(a);else{l=(0,R.r)(n,t);let c=l.tagName.toLowerCase(),u=r?r.get(c):void 0;if(l.tagName=u||c,function(e){if(null===e||"object"!=typeof e||Array.isArray(e))return!0;if("string"!=typeof e.type)return!1;let t=Object.keys(e);for(let n of t){let t=e[n];if(t&&"object"==typeof t){if(!Array.isArray(t))return!0;for(let e of t)if("number"!=typeof e&&"string"!=typeof e)return!0}}return!!("children"in e&&Array.isArray(e.children))}(a))i.unshift(a);else for(let[t,n]of Object.entries(a))!function(e,t,n,r){let a;let i=function(e,t){let n=o(t),r=t,a=s;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&D.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(L,M);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!L.test(e)){let n=e.replace(N,P);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}a=y}return new a(r,t)}(e,n);if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;a=r}else a="boolean"==typeof r?r:"string"==typeof r?i.spaceSeparated?(0,F.Q)(r):i.commaSeparated?(0,I.Q)(r):i.commaOrSpaceSeparated?(0,F.Q)((0,I.Q)(r).join(" ")):B(i,i.property,r):Array.isArray(r)?[...r]:"style"===i.property?function(e){let t=[];for(let[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}(r):String(r);if(Array.isArray(a)){let e=[];for(let t of a)e.push(B(i,i.property,t));a=e}"className"===i.property&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}(e,l.properties,t,n)}for(let e of i)!function e(t,n){if(null==n);else if("number"==typeof n||"string"==typeof n)t.push({type:"text",value:String(n)});else if(Array.isArray(n))for(let r of n)e(t,r);else if("object"==typeof n&&"type"in n)"root"===n.type?e(t,n.children):t.push(n);else throw Error("Expected node, nodes, or string, got `"+n+"`")}(l.children,e);return"element"===l.type&&"template"===l.tagName&&(l.content={type:"root",children:l.children},l.children=[]),l}}function B(e,t,n){if("string"==typeof n){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(""===n||o(n)===o(t)))return!0}return n}let U=j(C,"div"),G=j(w,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]);var H=n(49911);function $(e,t){let n=function(e,t){switch(e.nodeType){case 1:return function(e,t){let n=e.namespaceURI,r=n===H.t.svg?G:U,a=n===H.t.html?e.tagName.toLowerCase():e.tagName,i=n===H.t.html&&"template"===a?e.content:e,o=e.getAttributeNames(),s={},l=-1;for(;++ln&&(n=e):e&&(void 0!==n&&n>-1&&l.push("\n".repeat(n)||" "),n=-1,l.push(e))}return l.join("")}(d,{whitespace:"pre"});try{a=es.ZP.renderToString(p,{...t,displayMode:c,throwOnError:!0})}catch(o){let i=o.name.toLowerCase();n.message("Could not render math with KaTeX",{ancestors:[...r,e],cause:o,place:e.position,ruleId:i,source:"rehype-katex"});try{a=es.ZP.renderToString(p,{...t,displayMode:c,strict:"ignore",throwOnError:!1})}catch{a=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(o)},children:[{type:"text",value:p}]}]}}if("string"==typeof a){let e=function(e,t){let n=t?.fragment?function(e){let t=document.createElement("template");return t.innerHTML=e,t.content}(e):Z.parseFromString(e,"text/html");return $(n,{})||{type:"root",children:[]}}(a,{fragment:!0});a=e.children}let f=u.children.indexOf(d);return u.children.splice(f,1,...a),el.AM})}}},12384:function(e,t,n){"use strict";n.d(t,{Z:function(){return tJ}});var r,a,i,o,s,l,c,u,d,p,f,h,m,g,b,y,E,v,T,S,_,A,O=n(52835),k=n(24345),x=n(91634),C=n(25668),w=n(86676),I=n(26103),R=n(28051),N=n(50342);let L=new Set(["button","menu","reset","submit"]),D={}.hasOwnProperty;function P(e,t,n){let r=n&&function(e){let t={},n=-1;for(;++n1?n[e.line-2]:0)+e.column-1;if(r-1&&e<=t.length){let r=0;for(;;){let a=n[r];if(void 0===a){let e=B(t,n[r-1]);a=-1===e?t.length+1:e+1,n[r]=a}if(a>e)return{line:r+1,column:e-(r>0?n[r-1]:0)+1,offset:e};r++}}}}}(t),a=r.toPoint(0),i=r.toPoint(t.length);(0,k.ok)(a,"expected `start`"),(0,k.ok)(i,"expected `end`"),n.position={start:a,end:i}}return n}case"#documentType":return Z(e,t,n={type:"doctype"}),n;case"#text":return n={type:"text",value:t.value},Z(e,t,n),n;default:return function(e,t){let n=e.schema;e.schema=t.namespaceURI===U.t.svg?x.YP:x.dy;let r=-1,a={};for(;++r=55296&&e<=57343}function ei(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function eo(e){return e>=64976&&e<=65007||en.has(e)}(a=m=m||(m={})).controlCharacterInInputStream="control-character-in-input-stream",a.noncharacterInInputStream="noncharacter-in-input-stream",a.surrogateInInputStream="surrogate-in-input-stream",a.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",a.endTagWithAttributes="end-tag-with-attributes",a.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",a.unexpectedSolidusInTag="unexpected-solidus-in-tag",a.unexpectedNullCharacter="unexpected-null-character",a.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",a.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",a.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",a.missingEndTagName="missing-end-tag-name",a.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",a.unknownNamedCharacterReference="unknown-named-character-reference",a.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",a.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",a.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",a.eofBeforeTagName="eof-before-tag-name",a.eofInTag="eof-in-tag",a.missingAttributeValue="missing-attribute-value",a.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",a.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",a.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",a.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",a.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",a.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",a.missingDoctypePublicIdentifier="missing-doctype-public-identifier",a.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",a.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",a.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",a.cdataInHtmlContent="cdata-in-html-content",a.incorrectlyOpenedComment="incorrectly-opened-comment",a.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",a.eofInDoctype="eof-in-doctype",a.nestedComment="nested-comment",a.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",a.eofInComment="eof-in-comment",a.incorrectlyClosedComment="incorrectly-closed-comment",a.eofInCdata="eof-in-cdata",a.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",a.nullCharacterReference="null-character-reference",a.surrogateCharacterReference="surrogate-character-reference",a.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",a.controlCharacterReference="control-character-reference",a.noncharacterCharacterReference="noncharacter-character-reference",a.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",a.missingDoctypeName="missing-doctype-name",a.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",a.duplicateAttribute="duplicate-attribute",a.nonConformingDoctype="non-conforming-doctype",a.missingDoctype="missing-doctype",a.misplacedDoctype="misplaced-doctype",a.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",a.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",a.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",a.openElementsLeftAfterEof="open-elements-left-after-eof",a.abandonedHeadElementChild="abandoned-head-element-child",a.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",a.nestedNoscriptInHead="nested-noscript-in-head",a.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text";class es{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e){let{line:t,col:n,offset:r}=this;return{code:e,startLine:t,endLine:t,startCol:n,endCol:n,startOffset:r,endOffset:r}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let t=this.html.charCodeAt(this.pos+1);if(t>=56320&&t<=57343)return this.pos++,this._addGap(),(e-55296)*1024+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,h.EOF;return this._err(m.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,h.EOF;let n=this.html.charCodeAt(t);return n===h.CARRIAGE_RETURN?h.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,h.EOF;let e=this.html.charCodeAt(this.pos);if(e===h.CARRIAGE_RETURN)return this.isEol=!0,this.skipNextNewLine=!0,h.LINE_FEED;if(e===h.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine))return this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance();this.skipNextNewLine=!1,ea(e)&&(e=this._processSurrogate(e));let t=null===this.handler.onParseError||e>31&&e<127||e===h.LINE_FEED||e===h.CARRIAGE_RETURN||e>159&&e<64976;return t||this._checkForProblematicCharacters(e),e}_checkForProblematicCharacters(e){ei(e)?this._err(m.controlCharacterInInputStream):eo(e)&&this._err(m.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}(i=g=g||(g={}))[i.CHARACTER=0]="CHARACTER",i[i.NULL_CHARACTER=1]="NULL_CHARACTER",i[i.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",i[i.START_TAG=3]="START_TAG",i[i.END_TAG=4]="END_TAG",i[i.COMMENT=5]="COMMENT",i[i.DOCTYPE=6]="DOCTYPE",i[i.EOF=7]="EOF",i[i.HIBERNATION=8]="HIBERNATION";var ec=n(60411);(o=b=b||(b={})).HTML="http://www.w3.org/1999/xhtml",o.MATHML="http://www.w3.org/1998/Math/MathML",o.SVG="http://www.w3.org/2000/svg",o.XLINK="http://www.w3.org/1999/xlink",o.XML="http://www.w3.org/XML/1998/namespace",o.XMLNS="http://www.w3.org/2000/xmlns/",(s=y=y||(y={})).TYPE="type",s.ACTION="action",s.ENCODING="encoding",s.PROMPT="prompt",s.NAME="name",s.COLOR="color",s.FACE="face",s.SIZE="size",(l=E=E||(E={})).NO_QUIRKS="no-quirks",l.QUIRKS="quirks",l.LIMITED_QUIRKS="limited-quirks",(c=v=v||(v={})).A="a",c.ADDRESS="address",c.ANNOTATION_XML="annotation-xml",c.APPLET="applet",c.AREA="area",c.ARTICLE="article",c.ASIDE="aside",c.B="b",c.BASE="base",c.BASEFONT="basefont",c.BGSOUND="bgsound",c.BIG="big",c.BLOCKQUOTE="blockquote",c.BODY="body",c.BR="br",c.BUTTON="button",c.CAPTION="caption",c.CENTER="center",c.CODE="code",c.COL="col",c.COLGROUP="colgroup",c.DD="dd",c.DESC="desc",c.DETAILS="details",c.DIALOG="dialog",c.DIR="dir",c.DIV="div",c.DL="dl",c.DT="dt",c.EM="em",c.EMBED="embed",c.FIELDSET="fieldset",c.FIGCAPTION="figcaption",c.FIGURE="figure",c.FONT="font",c.FOOTER="footer",c.FOREIGN_OBJECT="foreignObject",c.FORM="form",c.FRAME="frame",c.FRAMESET="frameset",c.H1="h1",c.H2="h2",c.H3="h3",c.H4="h4",c.H5="h5",c.H6="h6",c.HEAD="head",c.HEADER="header",c.HGROUP="hgroup",c.HR="hr",c.HTML="html",c.I="i",c.IMG="img",c.IMAGE="image",c.INPUT="input",c.IFRAME="iframe",c.KEYGEN="keygen",c.LABEL="label",c.LI="li",c.LINK="link",c.LISTING="listing",c.MAIN="main",c.MALIGNMARK="malignmark",c.MARQUEE="marquee",c.MATH="math",c.MENU="menu",c.META="meta",c.MGLYPH="mglyph",c.MI="mi",c.MO="mo",c.MN="mn",c.MS="ms",c.MTEXT="mtext",c.NAV="nav",c.NOBR="nobr",c.NOFRAMES="noframes",c.NOEMBED="noembed",c.NOSCRIPT="noscript",c.OBJECT="object",c.OL="ol",c.OPTGROUP="optgroup",c.OPTION="option",c.P="p",c.PARAM="param",c.PLAINTEXT="plaintext",c.PRE="pre",c.RB="rb",c.RP="rp",c.RT="rt",c.RTC="rtc",c.RUBY="ruby",c.S="s",c.SCRIPT="script",c.SECTION="section",c.SELECT="select",c.SOURCE="source",c.SMALL="small",c.SPAN="span",c.STRIKE="strike",c.STRONG="strong",c.STYLE="style",c.SUB="sub",c.SUMMARY="summary",c.SUP="sup",c.TABLE="table",c.TBODY="tbody",c.TEMPLATE="template",c.TEXTAREA="textarea",c.TFOOT="tfoot",c.TD="td",c.TH="th",c.THEAD="thead",c.TITLE="title",c.TR="tr",c.TRACK="track",c.TT="tt",c.U="u",c.UL="ul",c.SVG="svg",c.VAR="var",c.WBR="wbr",c.XMP="xmp",(u=T=T||(T={}))[u.UNKNOWN=0]="UNKNOWN",u[u.A=1]="A",u[u.ADDRESS=2]="ADDRESS",u[u.ANNOTATION_XML=3]="ANNOTATION_XML",u[u.APPLET=4]="APPLET",u[u.AREA=5]="AREA",u[u.ARTICLE=6]="ARTICLE",u[u.ASIDE=7]="ASIDE",u[u.B=8]="B",u[u.BASE=9]="BASE",u[u.BASEFONT=10]="BASEFONT",u[u.BGSOUND=11]="BGSOUND",u[u.BIG=12]="BIG",u[u.BLOCKQUOTE=13]="BLOCKQUOTE",u[u.BODY=14]="BODY",u[u.BR=15]="BR",u[u.BUTTON=16]="BUTTON",u[u.CAPTION=17]="CAPTION",u[u.CENTER=18]="CENTER",u[u.CODE=19]="CODE",u[u.COL=20]="COL",u[u.COLGROUP=21]="COLGROUP",u[u.DD=22]="DD",u[u.DESC=23]="DESC",u[u.DETAILS=24]="DETAILS",u[u.DIALOG=25]="DIALOG",u[u.DIR=26]="DIR",u[u.DIV=27]="DIV",u[u.DL=28]="DL",u[u.DT=29]="DT",u[u.EM=30]="EM",u[u.EMBED=31]="EMBED",u[u.FIELDSET=32]="FIELDSET",u[u.FIGCAPTION=33]="FIGCAPTION",u[u.FIGURE=34]="FIGURE",u[u.FONT=35]="FONT",u[u.FOOTER=36]="FOOTER",u[u.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",u[u.FORM=38]="FORM",u[u.FRAME=39]="FRAME",u[u.FRAMESET=40]="FRAMESET",u[u.H1=41]="H1",u[u.H2=42]="H2",u[u.H3=43]="H3",u[u.H4=44]="H4",u[u.H5=45]="H5",u[u.H6=46]="H6",u[u.HEAD=47]="HEAD",u[u.HEADER=48]="HEADER",u[u.HGROUP=49]="HGROUP",u[u.HR=50]="HR",u[u.HTML=51]="HTML",u[u.I=52]="I",u[u.IMG=53]="IMG",u[u.IMAGE=54]="IMAGE",u[u.INPUT=55]="INPUT",u[u.IFRAME=56]="IFRAME",u[u.KEYGEN=57]="KEYGEN",u[u.LABEL=58]="LABEL",u[u.LI=59]="LI",u[u.LINK=60]="LINK",u[u.LISTING=61]="LISTING",u[u.MAIN=62]="MAIN",u[u.MALIGNMARK=63]="MALIGNMARK",u[u.MARQUEE=64]="MARQUEE",u[u.MATH=65]="MATH",u[u.MENU=66]="MENU",u[u.META=67]="META",u[u.MGLYPH=68]="MGLYPH",u[u.MI=69]="MI",u[u.MO=70]="MO",u[u.MN=71]="MN",u[u.MS=72]="MS",u[u.MTEXT=73]="MTEXT",u[u.NAV=74]="NAV",u[u.NOBR=75]="NOBR",u[u.NOFRAMES=76]="NOFRAMES",u[u.NOEMBED=77]="NOEMBED",u[u.NOSCRIPT=78]="NOSCRIPT",u[u.OBJECT=79]="OBJECT",u[u.OL=80]="OL",u[u.OPTGROUP=81]="OPTGROUP",u[u.OPTION=82]="OPTION",u[u.P=83]="P",u[u.PARAM=84]="PARAM",u[u.PLAINTEXT=85]="PLAINTEXT",u[u.PRE=86]="PRE",u[u.RB=87]="RB",u[u.RP=88]="RP",u[u.RT=89]="RT",u[u.RTC=90]="RTC",u[u.RUBY=91]="RUBY",u[u.S=92]="S",u[u.SCRIPT=93]="SCRIPT",u[u.SECTION=94]="SECTION",u[u.SELECT=95]="SELECT",u[u.SOURCE=96]="SOURCE",u[u.SMALL=97]="SMALL",u[u.SPAN=98]="SPAN",u[u.STRIKE=99]="STRIKE",u[u.STRONG=100]="STRONG",u[u.STYLE=101]="STYLE",u[u.SUB=102]="SUB",u[u.SUMMARY=103]="SUMMARY",u[u.SUP=104]="SUP",u[u.TABLE=105]="TABLE",u[u.TBODY=106]="TBODY",u[u.TEMPLATE=107]="TEMPLATE",u[u.TEXTAREA=108]="TEXTAREA",u[u.TFOOT=109]="TFOOT",u[u.TD=110]="TD",u[u.TH=111]="TH",u[u.THEAD=112]="THEAD",u[u.TITLE=113]="TITLE",u[u.TR=114]="TR",u[u.TRACK=115]="TRACK",u[u.TT=116]="TT",u[u.U=117]="U",u[u.UL=118]="UL",u[u.SVG=119]="SVG",u[u.VAR=120]="VAR",u[u.WBR=121]="WBR",u[u.XMP=122]="XMP";let eu=new Map([[v.A,T.A],[v.ADDRESS,T.ADDRESS],[v.ANNOTATION_XML,T.ANNOTATION_XML],[v.APPLET,T.APPLET],[v.AREA,T.AREA],[v.ARTICLE,T.ARTICLE],[v.ASIDE,T.ASIDE],[v.B,T.B],[v.BASE,T.BASE],[v.BASEFONT,T.BASEFONT],[v.BGSOUND,T.BGSOUND],[v.BIG,T.BIG],[v.BLOCKQUOTE,T.BLOCKQUOTE],[v.BODY,T.BODY],[v.BR,T.BR],[v.BUTTON,T.BUTTON],[v.CAPTION,T.CAPTION],[v.CENTER,T.CENTER],[v.CODE,T.CODE],[v.COL,T.COL],[v.COLGROUP,T.COLGROUP],[v.DD,T.DD],[v.DESC,T.DESC],[v.DETAILS,T.DETAILS],[v.DIALOG,T.DIALOG],[v.DIR,T.DIR],[v.DIV,T.DIV],[v.DL,T.DL],[v.DT,T.DT],[v.EM,T.EM],[v.EMBED,T.EMBED],[v.FIELDSET,T.FIELDSET],[v.FIGCAPTION,T.FIGCAPTION],[v.FIGURE,T.FIGURE],[v.FONT,T.FONT],[v.FOOTER,T.FOOTER],[v.FOREIGN_OBJECT,T.FOREIGN_OBJECT],[v.FORM,T.FORM],[v.FRAME,T.FRAME],[v.FRAMESET,T.FRAMESET],[v.H1,T.H1],[v.H2,T.H2],[v.H3,T.H3],[v.H4,T.H4],[v.H5,T.H5],[v.H6,T.H6],[v.HEAD,T.HEAD],[v.HEADER,T.HEADER],[v.HGROUP,T.HGROUP],[v.HR,T.HR],[v.HTML,T.HTML],[v.I,T.I],[v.IMG,T.IMG],[v.IMAGE,T.IMAGE],[v.INPUT,T.INPUT],[v.IFRAME,T.IFRAME],[v.KEYGEN,T.KEYGEN],[v.LABEL,T.LABEL],[v.LI,T.LI],[v.LINK,T.LINK],[v.LISTING,T.LISTING],[v.MAIN,T.MAIN],[v.MALIGNMARK,T.MALIGNMARK],[v.MARQUEE,T.MARQUEE],[v.MATH,T.MATH],[v.MENU,T.MENU],[v.META,T.META],[v.MGLYPH,T.MGLYPH],[v.MI,T.MI],[v.MO,T.MO],[v.MN,T.MN],[v.MS,T.MS],[v.MTEXT,T.MTEXT],[v.NAV,T.NAV],[v.NOBR,T.NOBR],[v.NOFRAMES,T.NOFRAMES],[v.NOEMBED,T.NOEMBED],[v.NOSCRIPT,T.NOSCRIPT],[v.OBJECT,T.OBJECT],[v.OL,T.OL],[v.OPTGROUP,T.OPTGROUP],[v.OPTION,T.OPTION],[v.P,T.P],[v.PARAM,T.PARAM],[v.PLAINTEXT,T.PLAINTEXT],[v.PRE,T.PRE],[v.RB,T.RB],[v.RP,T.RP],[v.RT,T.RT],[v.RTC,T.RTC],[v.RUBY,T.RUBY],[v.S,T.S],[v.SCRIPT,T.SCRIPT],[v.SECTION,T.SECTION],[v.SELECT,T.SELECT],[v.SOURCE,T.SOURCE],[v.SMALL,T.SMALL],[v.SPAN,T.SPAN],[v.STRIKE,T.STRIKE],[v.STRONG,T.STRONG],[v.STYLE,T.STYLE],[v.SUB,T.SUB],[v.SUMMARY,T.SUMMARY],[v.SUP,T.SUP],[v.TABLE,T.TABLE],[v.TBODY,T.TBODY],[v.TEMPLATE,T.TEMPLATE],[v.TEXTAREA,T.TEXTAREA],[v.TFOOT,T.TFOOT],[v.TD,T.TD],[v.TH,T.TH],[v.THEAD,T.THEAD],[v.TITLE,T.TITLE],[v.TR,T.TR],[v.TRACK,T.TRACK],[v.TT,T.TT],[v.U,T.U],[v.UL,T.UL],[v.SVG,T.SVG],[v.VAR,T.VAR],[v.WBR,T.WBR],[v.XMP,T.XMP]]);function ed(e){var t;return null!==(t=eu.get(e))&&void 0!==t?t:T.UNKNOWN}let ep=T,ef={[b.HTML]:new Set([ep.ADDRESS,ep.APPLET,ep.AREA,ep.ARTICLE,ep.ASIDE,ep.BASE,ep.BASEFONT,ep.BGSOUND,ep.BLOCKQUOTE,ep.BODY,ep.BR,ep.BUTTON,ep.CAPTION,ep.CENTER,ep.COL,ep.COLGROUP,ep.DD,ep.DETAILS,ep.DIR,ep.DIV,ep.DL,ep.DT,ep.EMBED,ep.FIELDSET,ep.FIGCAPTION,ep.FIGURE,ep.FOOTER,ep.FORM,ep.FRAME,ep.FRAMESET,ep.H1,ep.H2,ep.H3,ep.H4,ep.H5,ep.H6,ep.HEAD,ep.HEADER,ep.HGROUP,ep.HR,ep.HTML,ep.IFRAME,ep.IMG,ep.INPUT,ep.LI,ep.LINK,ep.LISTING,ep.MAIN,ep.MARQUEE,ep.MENU,ep.META,ep.NAV,ep.NOEMBED,ep.NOFRAMES,ep.NOSCRIPT,ep.OBJECT,ep.OL,ep.P,ep.PARAM,ep.PLAINTEXT,ep.PRE,ep.SCRIPT,ep.SECTION,ep.SELECT,ep.SOURCE,ep.STYLE,ep.SUMMARY,ep.TABLE,ep.TBODY,ep.TD,ep.TEMPLATE,ep.TEXTAREA,ep.TFOOT,ep.TH,ep.THEAD,ep.TITLE,ep.TR,ep.TRACK,ep.UL,ep.WBR,ep.XMP]),[b.MATHML]:new Set([ep.MI,ep.MO,ep.MN,ep.MS,ep.MTEXT,ep.ANNOTATION_XML]),[b.SVG]:new Set([ep.TITLE,ep.FOREIGN_OBJECT,ep.DESC]),[b.XLINK]:new Set,[b.XML]:new Set,[b.XMLNS]:new Set};function eh(e){return e===ep.H1||e===ep.H2||e===ep.H3||e===ep.H4||e===ep.H5||e===ep.H6}v.STYLE,v.SCRIPT,v.XMP,v.IFRAME,v.NOEMBED,v.NOFRAMES,v.PLAINTEXT;let em=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);(d=S||(S={}))[d.DATA=0]="DATA",d[d.RCDATA=1]="RCDATA",d[d.RAWTEXT=2]="RAWTEXT",d[d.SCRIPT_DATA=3]="SCRIPT_DATA",d[d.PLAINTEXT=4]="PLAINTEXT",d[d.TAG_OPEN=5]="TAG_OPEN",d[d.END_TAG_OPEN=6]="END_TAG_OPEN",d[d.TAG_NAME=7]="TAG_NAME",d[d.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",d[d.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",d[d.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",d[d.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",d[d.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",d[d.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",d[d.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",d[d.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",d[d.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",d[d.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",d[d.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",d[d.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",d[d.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",d[d.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",d[d.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",d[d.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",d[d.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",d[d.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",d[d.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",d[d.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",d[d.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",d[d.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",d[d.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",d[d.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",d[d.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",d[d.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",d[d.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",d[d.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",d[d.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",d[d.BOGUS_COMMENT=40]="BOGUS_COMMENT",d[d.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",d[d.COMMENT_START=42]="COMMENT_START",d[d.COMMENT_START_DASH=43]="COMMENT_START_DASH",d[d.COMMENT=44]="COMMENT",d[d.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",d[d.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",d[d.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",d[d.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",d[d.COMMENT_END_DASH=49]="COMMENT_END_DASH",d[d.COMMENT_END=50]="COMMENT_END",d[d.COMMENT_END_BANG=51]="COMMENT_END_BANG",d[d.DOCTYPE=52]="DOCTYPE",d[d.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",d[d.DOCTYPE_NAME=54]="DOCTYPE_NAME",d[d.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",d[d.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",d[d.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",d[d.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",d[d.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",d[d.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",d[d.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",d[d.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",d[d.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",d[d.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",d[d.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",d[d.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",d[d.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",d[d.CDATA_SECTION=68]="CDATA_SECTION",d[d.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",d[d.CDATA_SECTION_END=70]="CDATA_SECTION_END",d[d.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",d[d.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",d[d.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",d[d.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",d[d.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",d[d.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",d[d.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",d[d.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END";let eg={DATA:S.DATA,RCDATA:S.RCDATA,RAWTEXT:S.RAWTEXT,SCRIPT_DATA:S.SCRIPT_DATA,PLAINTEXT:S.PLAINTEXT,CDATA_SECTION:S.CDATA_SECTION};function eb(e){return e>=h.DIGIT_0&&e<=h.DIGIT_9}function ey(e){return e>=h.LATIN_CAPITAL_A&&e<=h.LATIN_CAPITAL_Z}function eE(e){return e>=h.LATIN_SMALL_A&&e<=h.LATIN_SMALL_Z||ey(e)}function ev(e){return eE(e)||eb(e)}function eT(e){return e>=h.LATIN_CAPITAL_A&&e<=h.LATIN_CAPITAL_F}function eS(e){return e>=h.LATIN_SMALL_A&&e<=h.LATIN_SMALL_F}function e_(e){return e===h.SPACE||e===h.LINE_FEED||e===h.TABULATION||e===h.FORM_FEED}function eA(e){return e_(e)||e===h.SOLIDUS||e===h.GREATER_THAN_SIGN}class eO{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=S.DATA,this.returnState=S.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new es(t),this.currentLocation=this.getCurrentLocation(-1)}_err(e){var t,n;null===(n=(t=this.handler).onParseError)||void 0===n||n.call(t,this.preprocessor.getError(e))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw Error("Parser was already resumed");this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(e){this.consumedAfterSnapshot-=e,this.preprocessor.retreat(e)}_reconsumeInState(e,t){this.state=e,this._callState(t)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t0&&this._err(m.endTagWithAttributes),e.selfClosing&&this._err(m.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case g.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case g.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case g.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:g.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type!==e)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=t;return}}this._createCharacterToken(e,t)}_emitCodePoint(e){let t=e_(e)?g.WHITESPACE_CHARACTER:e===h.NULL?g.NULL_CHARACTER:g.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(g.CHARACTER,e)}_matchNamedCharacterReference(e){let t=null,n=0,r=!1;for(let i=0,o=ec.HP[0];i>=0&&!((i=(0,ec.Go)(ec.HP,o,i+1,e))<0);e=this._consume()){n+=1,o=ec.HP[i];let s=o&ec.ge.VALUE_LENGTH;if(s){var a;let o=(s>>14)-1;if(e!==h.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((a=this.preprocessor.peek(1))===h.EQUALS_SIGN||ev(a))?(t=[h.AMPERSAND],i+=o):(t=0===o?[ec.HP[i]&~ec.ge.VALUE_LENGTH]:1===o?[ec.HP[++i]]:[ec.HP[++i],ec.HP[++i]],n=0,r=e!==h.SEMICOLON),0===o){this._consume();break}}}return this._unconsume(n),r&&!this.preprocessor.endOfChunkHit&&this._err(m.missingSemicolonAfterCharacterReference),this._unconsume(1),t}_isCharacterReferenceInAttribute(){return this.returnState===S.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case S.DATA:this._stateData(e);break;case S.RCDATA:this._stateRcdata(e);break;case S.RAWTEXT:this._stateRawtext(e);break;case S.SCRIPT_DATA:this._stateScriptData(e);break;case S.PLAINTEXT:this._statePlaintext(e);break;case S.TAG_OPEN:this._stateTagOpen(e);break;case S.END_TAG_OPEN:this._stateEndTagOpen(e);break;case S.TAG_NAME:this._stateTagName(e);break;case S.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case S.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case S.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case S.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case S.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case S.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case S.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case S.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case S.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case S.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case S.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case S.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case S.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case S.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case S.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case S.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case S.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case S.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case S.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case S.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case S.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case S.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case S.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case S.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case S.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case S.BOGUS_COMMENT:this._stateBogusComment(e);break;case S.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case S.COMMENT_START:this._stateCommentStart(e);break;case S.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case S.COMMENT:this._stateComment(e);break;case S.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case S.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case S.COMMENT_END:this._stateCommentEnd(e);break;case S.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case S.DOCTYPE:this._stateDoctype(e);break;case S.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case S.DOCTYPE_NAME:this._stateDoctypeName(e);break;case S.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case S.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case S.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case S.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case S.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case S.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case S.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case S.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case S.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case S.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case S.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case S.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case S.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case S.CDATA_SECTION:this._stateCdataSection(e);break;case S.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case S.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case S.CHARACTER_REFERENCE:this._stateCharacterReference(e);break;case S.NAMED_CHARACTER_REFERENCE:this._stateNamedCharacterReference(e);break;case S.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;case S.NUMERIC_CHARACTER_REFERENCE:this._stateNumericCharacterReference(e);break;case S.HEXADEMICAL_CHARACTER_REFERENCE_START:this._stateHexademicalCharacterReferenceStart(e);break;case S.HEXADEMICAL_CHARACTER_REFERENCE:this._stateHexademicalCharacterReference(e);break;case S.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(e);break;case S.NUMERIC_CHARACTER_REFERENCE_END:this._stateNumericCharacterReferenceEnd(e);break;default:throw Error("Unknown state")}}_stateData(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.TAG_OPEN;break;case h.AMPERSAND:this.returnState=S.DATA,this.state=S.CHARACTER_REFERENCE;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitCodePoint(e);break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case h.AMPERSAND:this.returnState=S.RCDATA,this.state=S.CHARACTER_REFERENCE;break;case h.LESS_THAN_SIGN:this.state=S.RCDATA_LESS_THAN_SIGN;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.RAWTEXT_LESS_THAN_SIGN;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.SCRIPT_DATA_LESS_THAN_SIGN;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(eE(e))this._createStartTagToken(),this.state=S.TAG_NAME,this._stateTagName(e);else switch(e){case h.EXCLAMATION_MARK:this.state=S.MARKUP_DECLARATION_OPEN;break;case h.SOLIDUS:this.state=S.END_TAG_OPEN;break;case h.QUESTION_MARK:this._err(m.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=S.BOGUS_COMMENT,this._stateBogusComment(e);break;case h.EOF:this._err(m.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(m.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=S.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(eE(e))this._createEndTagToken(),this.state=S.TAG_NAME,this._stateTagName(e);else switch(e){case h.GREATER_THAN_SIGN:this._err(m.missingEndTagName),this.state=S.DATA;break;case h.EOF:this._err(m.eofBeforeTagName),this._emitChars("");break;case h.NULL:this._err(m.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case h.EOF:this._err(m.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===h.SOLIDUS?this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:eE(e)?(this._emitChars("<"),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=S.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){eE(e)?(this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("");break;case h.NULL:this._err(m.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case h.EOF:this._err(m.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===h.SOLIDUS?(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(er.SCRIPT,!1)&&eA(this.preprocessor.peek(er.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e1114111)this._err(m.characterReferenceOutsideUnicodeRange),this.charRefCode=h.REPLACEMENT_CHARACTER;else if(ea(this.charRefCode))this._err(m.surrogateCharacterReference),this.charRefCode=h.REPLACEMENT_CHARACTER;else if(eo(this.charRefCode))this._err(m.noncharacterCharacterReference);else if(ei(this.charRefCode)||this.charRefCode===h.CARRIAGE_RETURN){this._err(m.controlCharacterReference);let e=em.get(this.charRefCode);void 0!==e&&(this.charRefCode=e)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}}let ek=new Set([T.DD,T.DT,T.LI,T.OPTGROUP,T.OPTION,T.P,T.RB,T.RP,T.RT,T.RTC]),ex=new Set([...ek,T.CAPTION,T.COLGROUP,T.TBODY,T.TD,T.TFOOT,T.TH,T.THEAD,T.TR]),eC=new Map([[T.APPLET,b.HTML],[T.CAPTION,b.HTML],[T.HTML,b.HTML],[T.MARQUEE,b.HTML],[T.OBJECT,b.HTML],[T.TABLE,b.HTML],[T.TD,b.HTML],[T.TEMPLATE,b.HTML],[T.TH,b.HTML],[T.ANNOTATION_XML,b.MATHML],[T.MI,b.MATHML],[T.MN,b.MATHML],[T.MO,b.MATHML],[T.MS,b.MATHML],[T.MTEXT,b.MATHML],[T.DESC,b.SVG],[T.FOREIGN_OBJECT,b.SVG],[T.TITLE,b.SVG]]),ew=[T.H1,T.H2,T.H3,T.H4,T.H5,T.H6],eI=[T.TR,T.TEMPLATE,T.HTML],eR=[T.TBODY,T.TFOOT,T.THEAD,T.TEMPLATE,T.HTML],eN=[T.TABLE,T.TEMPLATE,T.HTML],eL=[T.TD,T.TH];class eD{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=T.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===T.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===b.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){let r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==b.HTML);this.shortenToLength(t<0?0:t)}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop=0;n--)if(e.includes(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return -1}clearBackTo(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(eN,b.HTML)}clearBackToTableBodyContext(){this.clearBackTo(eR,b.HTML)}clearBackToTableRowContext(){this.clearBackTo(eI,b.HTML)}remove(e){let t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===T.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===T.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(eC.get(n)===r)return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(eh(t)&&n===b.HTML)break;if(eC.get(t)===n)return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if((n===T.UL||n===T.OL)&&r===b.HTML||eC.get(n)===r)return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(n===T.BUTTON&&r===b.HTML||eC.get(n)===r)return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n===T.TABLE||n===T.TEMPLATE||n===T.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(n===b.HTML){if(t===T.TBODY||t===T.THEAD||t===T.TFOOT)break;if(t===T.TABLE||t===T.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n!==T.OPTION&&n!==T.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;ek.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;ex.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&ex.has(this.currentTagId);)this.pop()}}(p=_=_||(_={}))[p.Marker=0]="Marker",p[p.Element=1]="Element";let eP={type:_.Marker};class eM{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let n=[],r=t.length,a=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let e=0;e[e.name,e.value])),a=0;for(let e=0;er.get(e.name)===e.value)&&(a+=1)>=3&&this.entries.splice(t.idx,1)}}insertMarker(){this.entries.unshift(eP)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:_.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:_.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);t>=0&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(eP);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===_.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===_.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===_.Element&&t.element===e)}}function eF(e){return{nodeName:"#text",value:e,parentNode:null}}let ej={createDocument:()=>({nodeName:"#document",mode:E.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){let r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,n,r){let a=e.childNodes.find(e=>"#documentType"===e.nodeName);a?(a.name=t,a.publicId=n,a.systemId=r):ej.appendChild(e,{nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null})},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let n=e.childNodes[e.childNodes.length-1];if(ej.isTextNode(n)){n.value+=t;return}}ej.appendChild(e,eF(t))},insertTextBefore(e,t,n){let r=e.childNodes[e.childNodes.indexOf(n)-1];r&&ej.isTextNode(r)?r.value+=t:ej.insertBefore(e,eF(t),n)},adoptAttributes(e,t){let n=new Set(e.attrs.map(e=>e.name));for(let r=0;re.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},eB="html",eU=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],eG=[...eU,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],eH=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),e$=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],ez=[...e$,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function eZ(e,t){return t.some(t=>e.startsWith(t))}let eW={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},eV=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),eY=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:b.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:b.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:b.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:b.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:b.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:b.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:b.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:b.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:b.XML}],["xml:space",{prefix:"xml",name:"space",namespace:b.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:b.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:b.XMLNS}]]),eq=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),eK=new Set([T.B,T.BIG,T.BLOCKQUOTE,T.BODY,T.BR,T.CENTER,T.CODE,T.DD,T.DIV,T.DL,T.DT,T.EM,T.EMBED,T.H1,T.H2,T.H3,T.H4,T.H5,T.H6,T.HEAD,T.HR,T.I,T.IMG,T.LI,T.LISTING,T.MENU,T.META,T.NOBR,T.OL,T.P,T.PRE,T.RUBY,T.S,T.SMALL,T.SPAN,T.STRONG,T.STRIKE,T.SUB,T.SUP,T.TABLE,T.TT,T.U,T.UL,T.VAR]);function eX(e){for(let t=0;t0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null===(r=(n=this.treeAdapter).onItemPop)||void 0===r||r.call(n,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let n=e===this.document||this.treeAdapter.getNamespaceURI(e)===b.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,b.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=A.TEXT}switchToPlaintextParsing(){this.insertionMode=A.TEXT,this.originalInsertionMode=A.IN_BODY,this.tokenizer.state=eg.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===v.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===b.HTML)switch(this.fragmentContextID){case T.TITLE:case T.TEXTAREA:this.tokenizer.state=eg.RCDATA;break;case T.STYLE:case T.XMP:case T.IFRAME:case T.NOEMBED:case T.NOFRAMES:case T.NOSCRIPT:this.tokenizer.state=eg.RAWTEXT;break;case T.SCRIPT:this.tokenizer.state=eg.SCRIPT_DATA;break;case T.PLAINTEXT:this.tokenizer.state=eg.PLAINTEXT}}_setDocumentType(e){let t=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){let t=this.treeAdapter.getChildNodes(this.document),n=t.find(e=>this.treeAdapter.isDocumentTypeNode(e));n&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){let n=this.treeAdapter.createElement(e,b.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,b.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(v.HTML,b.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,T.HTML)}_appendCommentNode(e,t){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let r=this.treeAdapter.getChildNodes(t),a=n?r.lastIndexOf(n):r.length,i=r[a-1],o=this.treeAdapter.getNodeSourceCodeLocation(i);if(o){let{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let n=t.location,r=this.treeAdapter.getTagName(e),a=t.type===g.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,a)}}shouldProcessStartTagTokenInForeignContent(e){let t,n;return!!this.currentNotInHTML&&(0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):{current:t,currentTagId:n}=this.openElements,(e.tagID!==T.SVG||this.treeAdapter.getTagName(t)!==v.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==b.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===T.MGLYPH||e.tagID===T.MALIGNMARK)&&!this._isIntegrationPoint(n,t,b.HTML)))}_processToken(e){switch(e.type){case g.CHARACTER:this.onCharacter(e);break;case g.NULL_CHARACTER:this.onNullCharacter(e);break;case g.COMMENT:this.onComment(e);break;case g.DOCTYPE:this.onDoctype(e);break;case g.START_TAG:this._processStartTag(e);break;case g.END_TAG:this.onEndTag(e);break;case g.EOF:this.onEof(e);break;case g.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){let r=this.treeAdapter.getNamespaceURI(t),a=this.treeAdapter.getAttrList(t);return(!n||n===b.HTML)&&function(e,t,n){if(t===b.MATHML&&e===T.ANNOTATION_XML){for(let e=0;ee.type===_.Marker||this.openElements.contains(e.element)),n=t<0?e-1:t-1;for(let e=n;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=A.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(T.P),this.openElements.popUntilTagNamePopped(T.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case T.TR:this.insertionMode=A.IN_ROW;return;case T.TBODY:case T.THEAD:case T.TFOOT:this.insertionMode=A.IN_TABLE_BODY;return;case T.CAPTION:this.insertionMode=A.IN_CAPTION;return;case T.COLGROUP:this.insertionMode=A.IN_COLUMN_GROUP;return;case T.TABLE:this.insertionMode=A.IN_TABLE;return;case T.BODY:this.insertionMode=A.IN_BODY;return;case T.FRAMESET:this.insertionMode=A.IN_FRAMESET;return;case T.SELECT:this._resetInsertionModeForSelect(e);return;case T.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case T.HTML:this.insertionMode=this.headElement?A.AFTER_HEAD:A.BEFORE_HEAD;return;case T.TD:case T.TH:if(e>0){this.insertionMode=A.IN_CELL;return}break;case T.HEAD:if(e>0){this.insertionMode=A.IN_HEAD;return}}this.insertionMode=A.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===T.TEMPLATE)break;if(e===T.TABLE){this.insertionMode=A.IN_SELECT_IN_TABLE;return}}this.insertionMode=A.IN_SELECT}_isElementCausesFosterParenting(e){return e1.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case T.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===b.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case T.TABLE:{let n=this.treeAdapter.getParentNode(t);if(n)return{parent:n,beforeElement:t};return{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){let n=this.treeAdapter.getNamespaceURI(e);return ef[n].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){this._insertCharacters(e),this.framesetOk=!1;return}switch(this.insertionMode){case A.INITIAL:e9(this,e);break;case A.BEFORE_HTML:e8(this,e);break;case A.BEFORE_HEAD:e7(this,e);break;case A.IN_HEAD:tn(this,e);break;case A.IN_HEAD_NO_SCRIPT:tr(this,e);break;case A.AFTER_HEAD:ta(this,e);break;case A.IN_BODY:case A.IN_CAPTION:case A.IN_CELL:case A.IN_TEMPLATE:ts(this,e);break;case A.TEXT:case A.IN_SELECT:case A.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case A.IN_TABLE:case A.IN_TABLE_BODY:case A.IN_ROW:tg(this,e);break;case A.IN_TABLE_TEXT:tT(this,e);break;case A.IN_COLUMN_GROUP:tO(this,e);break;case A.AFTER_BODY:tD(this,e);break;case A.AFTER_AFTER_BODY:tP(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){e.chars="�",this._insertCharacters(e);return}switch(this.insertionMode){case A.INITIAL:e9(this,e);break;case A.BEFORE_HTML:e8(this,e);break;case A.BEFORE_HEAD:e7(this,e);break;case A.IN_HEAD:tn(this,e);break;case A.IN_HEAD_NO_SCRIPT:tr(this,e);break;case A.AFTER_HEAD:ta(this,e);break;case A.TEXT:this._insertCharacters(e);break;case A.IN_TABLE:case A.IN_TABLE_BODY:case A.IN_ROW:tg(this,e);break;case A.IN_COLUMN_GROUP:tO(this,e);break;case A.AFTER_BODY:tD(this,e);break;case A.AFTER_AFTER_BODY:tP(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){e4(this,e);return}switch(this.insertionMode){case A.INITIAL:case A.BEFORE_HTML:case A.BEFORE_HEAD:case A.IN_HEAD:case A.IN_HEAD_NO_SCRIPT:case A.AFTER_HEAD:case A.IN_BODY:case A.IN_TABLE:case A.IN_CAPTION:case A.IN_COLUMN_GROUP:case A.IN_TABLE_BODY:case A.IN_ROW:case A.IN_CELL:case A.IN_SELECT:case A.IN_SELECT_IN_TABLE:case A.IN_TEMPLATE:case A.IN_FRAMESET:case A.AFTER_FRAMESET:e4(this,e);break;case A.IN_TABLE_TEXT:tS(this,e);break;case A.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case A.AFTER_AFTER_BODY:case A.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case A.INITIAL:!function(e,t){e._setDocumentType(t);let n=t.forceQuirks?E.QUIRKS:function(e){if(e.name!==eB)return E.QUIRKS;let{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return E.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),eH.has(n))return E.QUIRKS;let e=null===t?eG:eU;if(eZ(n,e))return E.QUIRKS;if(eZ(n,e=null===t?e$:ez))return E.LIMITED_QUIRKS}return E.NO_QUIRKS}(t);t.name===eB&&null===t.publicId&&(null===t.systemId||"about:legacy-compat"===t.systemId)||e._err(t,m.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=A.BEFORE_HTML}(this,e);break;case A.BEFORE_HEAD:case A.IN_HEAD:case A.IN_HEAD_NO_SCRIPT:case A.AFTER_HEAD:this._err(e,m.misplacedDoctype);break;case A.IN_TABLE_TEXT:tS(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,m.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){let t=e.tagID,n=t===T.FONT&&e.attrs.some(({name:e})=>e===y.COLOR||e===y.SIZE||e===y.FACE);return n||eK.has(t)}(t))tM(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===b.MATHML?eX(t):r===b.SVG&&(function(e){let t=eq.get(e.tagName);null!=t&&(e.tagName=t,e.tagID=ed(e.tagName))}(t),eQ(t)),eJ(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case A.INITIAL:e9(this,e);break;case A.BEFORE_HTML:e.tagID===T.HTML?(this._insertElement(e,b.HTML),this.insertionMode=A.BEFORE_HEAD):e8(this,e);break;case A.BEFORE_HEAD:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.HEAD:e._insertElement(t,b.HTML),e.headElement=e.openElements.current,e.insertionMode=A.IN_HEAD;break;default:e7(e,t)}}(this,e);break;case A.IN_HEAD:te(this,e);break;case A.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BASEFONT:case T.BGSOUND:case T.HEAD:case T.LINK:case T.META:case T.NOFRAMES:case T.STYLE:te(e,t);break;case T.NOSCRIPT:e._err(t,m.nestedNoscriptInHead);break;default:tr(e,t)}}(this,e);break;case A.AFTER_HEAD:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BODY:e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=A.IN_BODY;break;case T.FRAMESET:e._insertElement(t,b.HTML),e.insertionMode=A.IN_FRAMESET;break;case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:e._err(t,m.abandonedHeadElementChild),e.openElements.push(e.headElement,T.HEAD),te(e,t),e.openElements.remove(e.headElement);break;case T.HEAD:e._err(t,m.misplacedStartTagForHeadElement);break;default:ta(e,t)}}(this,e);break;case A.IN_BODY:tp(this,e);break;case A.IN_TABLE:tb(this,e);break;case A.IN_TABLE_TEXT:tS(this,e);break;case A.IN_CAPTION:!function(e,t){let n=t.tagID;t_.has(n)?e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=A.IN_TABLE,tb(e,t)):tp(e,t)}(this,e);break;case A.IN_COLUMN_GROUP:tA(this,e);break;case A.IN_TABLE_BODY:tk(this,e);break;case A.IN_ROW:tC(this,e);break;case A.IN_CELL:!function(e,t){let n=t.tagID;t_.has(n)?(e.openElements.hasInTableScope(T.TD)||e.openElements.hasInTableScope(T.TH))&&(e._closeTableCell(),tC(e,t)):tp(e,t)}(this,e);break;case A.IN_SELECT:tI(this,e);break;case A.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e._processStartTag(t)):tI(e,t)}(this,e);break;case A.IN_TEMPLATE:!function(e,t){switch(t.tagID){case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:te(e,t);break;case T.CAPTION:case T.COLGROUP:case T.TBODY:case T.TFOOT:case T.THEAD:e.tmplInsertionModeStack[0]=A.IN_TABLE,e.insertionMode=A.IN_TABLE,tb(e,t);break;case T.COL:e.tmplInsertionModeStack[0]=A.IN_COLUMN_GROUP,e.insertionMode=A.IN_COLUMN_GROUP,tA(e,t);break;case T.TR:e.tmplInsertionModeStack[0]=A.IN_TABLE_BODY,e.insertionMode=A.IN_TABLE_BODY,tk(e,t);break;case T.TD:case T.TH:e.tmplInsertionModeStack[0]=A.IN_ROW,e.insertionMode=A.IN_ROW,tC(e,t);break;default:e.tmplInsertionModeStack[0]=A.IN_BODY,e.insertionMode=A.IN_BODY,tp(e,t)}}(this,e);break;case A.AFTER_BODY:e.tagID===T.HTML?tp(this,e):tD(this,e);break;case A.IN_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.FRAMESET:e._insertElement(t,b.HTML);break;case T.FRAME:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.NOFRAMES:te(e,t)}}(this,e);break;case A.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.NOFRAMES:te(e,t)}}(this,e);break;case A.AFTER_AFTER_BODY:e.tagID===T.HTML?tp(this,e):tP(this,e);break;case A.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.NOFRAMES:te(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===T.P||t.tagID===T.BR){tM(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){let r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===b.HTML){e._endTagOutsideForeignContent(t);break}let a=e.treeAdapter.getTagName(r);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){var t;switch(this.insertionMode){case A.INITIAL:e9(this,e);break;case A.BEFORE_HTML:!function(e,t){let n=t.tagID;(n===T.HTML||n===T.HEAD||n===T.BODY||n===T.BR)&&e8(e,t)}(this,e);break;case A.BEFORE_HEAD:!function(e,t){let n=t.tagID;n===T.HEAD||n===T.BODY||n===T.HTML||n===T.BR?e7(e,t):e._err(t,m.endTagWithoutMatchingOpenElement)}(this,e);break;case A.IN_HEAD:!function(e,t){switch(t.tagID){case T.HEAD:e.openElements.pop(),e.insertionMode=A.AFTER_HEAD;break;case T.BODY:case T.BR:case T.HTML:tn(e,t);break;case T.TEMPLATE:tt(e,t);break;default:e._err(t,m.endTagWithoutMatchingOpenElement)}}(this,e);break;case A.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case T.NOSCRIPT:e.openElements.pop(),e.insertionMode=A.IN_HEAD;break;case T.BR:tr(e,t);break;default:e._err(t,m.endTagWithoutMatchingOpenElement)}}(this,e);break;case A.AFTER_HEAD:!function(e,t){switch(t.tagID){case T.BODY:case T.HTML:case T.BR:ta(e,t);break;case T.TEMPLATE:tt(e,t);break;default:e._err(t,m.endTagWithoutMatchingOpenElement)}}(this,e);break;case A.IN_BODY:th(this,e);break;case A.TEXT:e.tagID===T.SCRIPT&&(null===(t=this.scriptHandler)||void 0===t||t.call(this,this.openElements.current)),this.openElements.pop(),this.insertionMode=this.originalInsertionMode;break;case A.IN_TABLE:ty(this,e);break;case A.IN_TABLE_TEXT:tS(this,e);break;case A.IN_CAPTION:!function(e,t){let n=t.tagID;switch(n){case T.CAPTION:case T.TABLE:e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=A.IN_TABLE,n===T.TABLE&&ty(e,t));break;case T.BODY:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:th(e,t)}}(this,e);break;case A.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case T.COLGROUP:e.openElements.currentTagId===T.COLGROUP&&(e.openElements.pop(),e.insertionMode=A.IN_TABLE);break;case T.TEMPLATE:tt(e,t);break;case T.COL:break;default:tO(e,t)}}(this,e);break;case A.IN_TABLE_BODY:tx(this,e);break;case A.IN_ROW:tw(this,e);break;case A.IN_CELL:!function(e,t){let n=t.tagID;switch(n){case T.TD:case T.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=A.IN_ROW);break;case T.TABLE:case T.TBODY:case T.TFOOT:case T.THEAD:case T.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),tw(e,t));break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:break;default:th(e,t)}}(this,e);break;case A.IN_SELECT:tR(this,e);break;case A.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e.onEndTag(t)):tR(e,t)}(this,e);break;case A.IN_TEMPLATE:e.tagID===T.TEMPLATE&&tt(this,e);break;case A.AFTER_BODY:tL(this,e);break;case A.IN_FRAMESET:e.tagID!==T.FRAMESET||this.openElements.isRootHtmlElementCurrent()||(this.openElements.pop(),this.fragmentContext||this.openElements.currentTagId===T.FRAMESET||(this.insertionMode=A.AFTER_FRAMESET));break;case A.AFTER_FRAMESET:e.tagID===T.HTML&&(this.insertionMode=A.AFTER_AFTER_FRAMESET);break;case A.AFTER_AFTER_BODY:tP(this,e)}}onEof(e){switch(this.insertionMode){case A.INITIAL:e9(this,e);break;case A.BEFORE_HTML:e8(this,e);break;case A.BEFORE_HEAD:e7(this,e);break;case A.IN_HEAD:tn(this,e);break;case A.IN_HEAD_NO_SCRIPT:tr(this,e);break;case A.AFTER_HEAD:ta(this,e);break;case A.IN_BODY:case A.IN_TABLE:case A.IN_CAPTION:case A.IN_COLUMN_GROUP:case A.IN_TABLE_BODY:case A.IN_ROW:case A.IN_CELL:case A.IN_SELECT:case A.IN_SELECT_IN_TABLE:tm(this,e);break;case A.TEXT:this._err(e,m.eofInElementThatCanContainOnlyText),this.openElements.pop(),this.insertionMode=this.originalInsertionMode,this.onEof(e);break;case A.IN_TABLE_TEXT:tS(this,e);break;case A.IN_TEMPLATE:tN(this,e);break;case A.AFTER_BODY:case A.IN_FRAMESET:case A.AFTER_FRAMESET:case A.AFTER_AFTER_BODY:case A.AFTER_AFTER_FRAMESET:e6(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===h.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case A.IN_HEAD:case A.IN_HEAD_NO_SCRIPT:case A.AFTER_HEAD:case A.TEXT:case A.IN_COLUMN_GROUP:case A.IN_SELECT:case A.IN_SELECT_IN_TABLE:case A.IN_FRAMESET:case A.AFTER_FRAMESET:this._insertCharacters(e);break;case A.IN_BODY:case A.IN_CAPTION:case A.IN_CELL:case A.IN_TEMPLATE:case A.AFTER_BODY:case A.AFTER_AFTER_BODY:case A.AFTER_AFTER_FRAMESET:to(this,e);break;case A.IN_TABLE:case A.IN_TABLE_BODY:case A.IN_ROW:tg(this,e);break;case A.IN_TABLE_TEXT:tv(this,e)}}}function e5(e,t){for(let n=0;n<8;n++){let n=function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):tf(e,t),n}(e,t);if(!n)break;let r=function(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){let a=e.openElements.items[r];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[r])&&(n=a)}return n||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;let a=function(e,t,n){let r=t,a=e.openElements.getCommonAncestor(t);for(let i=0,o=a;o!==n;i++,o=a){a=e.openElements.getCommonAncestor(o);let n=e.activeFormattingElements.getElementEntry(o),s=n&&i>=3,l=!n||s;l?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(o)):(o=function(e,t){let n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}(e,r,n.element),i=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(a),i&&function(e,t,n){let r=e.treeAdapter.getTagName(t),a=ed(r);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(n);else{let r=e.treeAdapter.getNamespaceURI(t);a===T.TEMPLATE&&r===b.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}(e,i,a),function(e,t,n){let r=e.treeAdapter.getNamespaceURI(n.element),{token:a}=n,i=e.treeAdapter.createElement(a.tagName,r,a.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,a),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,a.tagID)}(e,r,n)}}function e4(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function e6(e,t){if(e.stopped=!0,t.location){let n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){let n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function e9(e,t){e._err(t,m.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,E.QUIRKS),e.insertionMode=A.BEFORE_HTML,e._processToken(t)}function e8(e,t){e._insertFakeRootElement(),e.insertionMode=A.BEFORE_HEAD,e._processToken(t)}function e7(e,t){e._insertFakeElement(v.HEAD,T.HEAD),e.headElement=e.openElements.current,e.insertionMode=A.IN_HEAD,e._processToken(t)}function te(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.TITLE:e._switchToTextParsing(t,eg.RCDATA);break;case T.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,eg.RAWTEXT):(e._insertElement(t,b.HTML),e.insertionMode=A.IN_HEAD_NO_SCRIPT);break;case T.NOFRAMES:case T.STYLE:e._switchToTextParsing(t,eg.RAWTEXT);break;case T.SCRIPT:e._switchToTextParsing(t,eg.SCRIPT_DATA);break;case T.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=A.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(A.IN_TEMPLATE);break;case T.HEAD:e._err(t,m.misplacedStartTagForHeadElement);break;default:tn(e,t)}}function tt(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==T.TEMPLATE&&e._err(t,m.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,m.endTagWithoutMatchingOpenElement)}function tn(e,t){e.openElements.pop(),e.insertionMode=A.AFTER_HEAD,e._processToken(t)}function tr(e,t){let n=t.type===g.EOF?m.openElementsLeftAfterEof:m.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=A.IN_HEAD,e._processToken(t)}function ta(e,t){e._insertFakeElement(v.BODY,T.BODY),e.insertionMode=A.IN_BODY,ti(e,t)}function ti(e,t){switch(t.type){case g.CHARACTER:ts(e,t);break;case g.WHITESPACE_CHARACTER:to(e,t);break;case g.COMMENT:e4(e,t);break;case g.START_TAG:tp(e,t);break;case g.END_TAG:th(e,t);break;case g.EOF:tm(e,t)}}function to(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function ts(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function tl(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function tc(e){let t=el(e,y.TYPE);return null!=t&&"hidden"===t.toLowerCase()}function tu(e,t){e._switchToTextParsing(t,eg.RAWTEXT)}function td(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML)}function tp(e,t){switch(t.tagID){case T.I:case T.S:case T.B:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.SMALL:case T.STRIKE:case T.STRONG:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case T.A:!function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(v.A);n&&(e5(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),eh(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,b.HTML);break;case T.P:case T.DL:case T.OL:case T.UL:case T.DIV:case T.DIR:case T.NAV:case T.MAIN:case T.MENU:case T.ASIDE:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.DETAILS:case T.ADDRESS:case T.ARTICLE:case T.SECTION:case T.SUMMARY:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML);break;case T.LI:case T.DD:case T.DT:!function(e,t){e.framesetOk=!1;let n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let r=e.openElements.tagIDs[t];if(n===T.LI&&r===T.LI||(n===T.DD||n===T.DT)&&(r===T.DD||r===T.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==T.ADDRESS&&r!==T.DIV&&r!==T.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML)}(e,t);break;case T.BR:case T.IMG:case T.WBR:case T.AREA:case T.EMBED:case T.KEYGEN:tl(e,t);break;case T.HR:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0;break;case T.RB:case T.RTC:e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,b.HTML);break;case T.RT:case T.RP:e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(T.RTC),e._insertElement(t,b.HTML);break;case T.PRE:case T.LISTING:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.framesetOk=!1;break;case T.XMP:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,eg.RAWTEXT);break;case T.SVG:e._reconstructActiveFormattingElements(),eQ(t),eJ(t),t.selfClosing?e._appendElement(t,b.SVG):e._insertElement(t,b.SVG),t.ackSelfClosing=!0;break;case T.HTML:0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs);break;case T.BASE:case T.LINK:case T.META:case T.STYLE:case T.TITLE:case T.SCRIPT:case T.BGSOUND:case T.BASEFONT:case T.TEMPLATE:te(e,t);break;case T.BODY:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t);break;case T.FORM:!function(e,t){let n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),n||(e.formElement=e.openElements.current))}(e,t);break;case T.NOBR:e._reconstructActiveFormattingElements(),e.openElements.hasInScope(T.NOBR)&&(e5(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case T.MATH:e._reconstructActiveFormattingElements(),eX(t),eJ(t),t.selfClosing?e._appendElement(t,b.MATHML):e._insertElement(t,b.MATHML),t.ackSelfClosing=!0;break;case T.TABLE:e.treeAdapter.getDocumentMode(e.document)!==E.QUIRKS&&e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=A.IN_TABLE;break;case T.INPUT:e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),tc(t)||(e.framesetOk=!1),t.ackSelfClosing=!0;break;case T.PARAM:case T.TRACK:case T.SOURCE:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.IMAGE:t.tagName=v.IMG,t.tagID=T.IMG,tl(e,t);break;case T.BUTTON:e.openElements.hasInScope(T.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1;break;case T.APPLET:case T.OBJECT:case T.MARQUEE:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1;break;case T.IFRAME:e.framesetOk=!1,e._switchToTextParsing(t,eg.RAWTEXT);break;case T.SELECT:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===A.IN_TABLE||e.insertionMode===A.IN_CAPTION||e.insertionMode===A.IN_TABLE_BODY||e.insertionMode===A.IN_ROW||e.insertionMode===A.IN_CELL?A.IN_SELECT_IN_TABLE:A.IN_SELECT;break;case T.OPTION:case T.OPTGROUP:e.openElements.currentTagId===T.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML);break;case T.NOEMBED:tu(e,t);break;case T.FRAMESET:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,b.HTML),e.insertionMode=A.IN_FRAMESET)}(e,t);break;case T.TEXTAREA:e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.tokenizer.state=eg.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=A.TEXT;break;case T.NOSCRIPT:e.options.scriptingEnabled?tu(e,t):td(e,t);break;case T.PLAINTEXT:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.tokenizer.state=eg.PLAINTEXT;break;case T.COL:case T.TH:case T.TD:case T.TR:case T.HEAD:case T.FRAME:case T.TBODY:case T.TFOOT:case T.THEAD:case T.CAPTION:case T.COLGROUP:break;default:td(e,t)}}function tf(e,t){let n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let a=e.openElements.items[t],i=e.openElements.tagIDs[t];if(r===i&&(r!==T.UNKNOWN||e.treeAdapter.getTagName(a)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(a,i))break}}function th(e,t){switch(t.tagID){case T.A:case T.B:case T.I:case T.S:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.NOBR:case T.SMALL:case T.STRIKE:case T.STRONG:e5(e,t);break;case T.P:e.openElements.hasInButtonScope(T.P)||e._insertFakeElement(v.P,T.P),e._closePElement();break;case T.DL:case T.UL:case T.OL:case T.DIR:case T.DIV:case T.NAV:case T.PRE:case T.MAIN:case T.MENU:case T.ASIDE:case T.BUTTON:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.ADDRESS:case T.ARTICLE:case T.DETAILS:case T.SECTION:case T.SUMMARY:case T.LISTING:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case T.LI:e.openElements.hasInListItemScope(T.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(T.LI),e.openElements.popUntilTagNamePopped(T.LI));break;case T.DD:case T.DT:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped());break;case T.BR:e._reconstructActiveFormattingElements(),e._insertFakeElement(v.BR,T.BR),e.openElements.pop(),e.framesetOk=!1;break;case T.BODY:!function(e,t){if(e.openElements.hasInScope(T.BODY)&&(e.insertionMode=A.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}(e,t);break;case T.HTML:e.openElements.hasInScope(T.BODY)&&(e.insertionMode=A.AFTER_BODY,tL(e,t));break;case T.FORM:!function(e){let t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(T.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(T.FORM):n&&e.openElements.remove(n))}(e);break;case T.APPLET:case T.OBJECT:case T.MARQUEE:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}(e,t);break;case T.TEMPLATE:tt(e,t);break;default:tf(e,t)}}function tm(e,t){e.tmplInsertionModeStack.length>0?tN(e,t):e6(e,t)}function tg(e,t){if(e1.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=A.IN_TABLE_TEXT,t.type){case g.CHARACTER:tT(e,t);break;case g.WHITESPACE_CHARACTER:tv(e,t)}else tE(e,t)}function tb(e,t){switch(t.tagID){case T.TD:case T.TH:case T.TR:e.openElements.clearBackToTableContext(),e._insertFakeElement(v.TBODY,T.TBODY),e.insertionMode=A.IN_TABLE_BODY,tk(e,t);break;case T.STYLE:case T.SCRIPT:case T.TEMPLATE:te(e,t);break;case T.COL:e.openElements.clearBackToTableContext(),e._insertFakeElement(v.COLGROUP,T.COLGROUP),e.insertionMode=A.IN_COLUMN_GROUP,tA(e,t);break;case T.FORM:e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,b.HTML),e.formElement=e.openElements.current,e.openElements.pop());break;case T.TABLE:e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode(),e._processStartTag(t));break;case T.TBODY:case T.TFOOT:case T.THEAD:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=A.IN_TABLE_BODY;break;case T.INPUT:tc(t)?e._appendElement(t,b.HTML):tE(e,t),t.ackSelfClosing=!0;break;case T.CAPTION:e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,b.HTML),e.insertionMode=A.IN_CAPTION;break;case T.COLGROUP:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=A.IN_COLUMN_GROUP;break;default:tE(e,t)}}function ty(e,t){switch(t.tagID){case T.TABLE:e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode());break;case T.TEMPLATE:tt(e,t);break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:tE(e,t)}}function tE(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,ti(e,t),e.fosterParentingEnabled=n}function tv(e,t){e.pendingCharacterTokens.push(t)}function tT(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function tS(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0&&e.openElements.currentTagId===T.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===T.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===T.OPTGROUP&&e.openElements.pop();break;case T.OPTION:e.openElements.currentTagId===T.OPTION&&e.openElements.pop();break;case T.SELECT:e.openElements.hasInSelectScope(T.SELECT)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode());break;case T.TEMPLATE:tt(e,t)}}function tN(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):e6(e,t)}function tL(e,t){var n;if(t.tagID===T.HTML){if(e.fragmentContext||(e.insertionMode=A.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===T.HTML){e._setEndLocation(e.openElements.items[0],t);let r=e.openElements.items[1];!r||(null===(n=e.treeAdapter.getNodeSourceCodeLocation(r))||void 0===n?void 0:n.endTag)||e._setEndLocation(r,t)}}else tD(e,t)}function tD(e,t){e.insertionMode=A.IN_BODY,ti(e,t)}function tP(e,t){e.insertionMode=A.IN_BODY,ti(e,t)}function tM(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==b.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}n(43470),v.AREA,v.BASE,v.BASEFONT,v.BGSOUND,v.BR,v.COL,v.EMBED,v.FRAME,v.HR,v.IMG,v.INPUT,v.KEYGEN,v.LINK,v.META,v.PARAM,v.SOURCE,v.TRACK,v.WBR;var tF=n(3980),tj=n(21623);let tB=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),tU={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function tG(e,t){let n=function(e){let t="root"===e.type?e.children[0]:e;return!!(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName.toLowerCase()))}(e),r=q("type",{handlers:{root:t$,element:tz,text:tZ,comment:tV,doctype:tW,raw:tY},unknown:tq}),a={parser:n?new e3(tU):e3.getFragmentParser(void 0,tU),handle(e){r(e,a)},stitches:!1,options:t||{}};r(e,a),tK(a,(0,tF.Pk)());let i=n?a.parser.document:a.parser.getFragment(),o=function(e,t){let n=t||{};return $({file:n.file||void 0,location:!1,schema:"svg"===n.space?x.YP:x.dy,verbose:n.verbose||!1},e)}(i,{file:a.options.file});return(a.stitches&&(0,tj.Vn)(o,"comment",function(e,t,n){if(e.value.stitch&&n&&void 0!==t){let r=n.children;return r[t]=e.value.stitch,t}}),"root"===o.type&&1===o.children.length&&o.children[0].type===e.type)?o.children[0]:o}function tH(e,t){let n=-1;if(e)for(;++n4&&(t.parser.tokenizer.state=0);let n={type:g.CHARACTER,chars:e.value,location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tW(e,t){let n={type:g.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tV(e,t){let n=e.value,r={type:g.COMMENT,data:n,location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function tY(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,tX(t,(0,tF.Pk)(e)),t.parser.tokenizer.write(e.value,!1),t.parser.tokenizer._runParsingLoop(),72===t.parser.tokenizer.state||78===t.parser.tokenizer.state){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;let e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function tq(e,t){if(t.options.passThrough&&t.options.passThrough.includes(e.type))!function(e,t){t.stitches=!0;let n="children"in e?(0,O.ZP)({...e,children:[]}):(0,O.ZP)(e);if("children"in e&&"children"in n){let r=tG({type:"root",children:e.children},t.options);n.children=r.children}tV({type:"comment",value:{stitch:n}},t)}(e,t);else{let t="";throw tB.has(e.type)&&(t=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),Error("Cannot compile `"+e.type+"` node"+t)}}function tK(e,t){tX(e,t);let n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=eg.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function tX(e,t){if(t&&void 0!==t.offset){let n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function tQ(e){let t=(0,tF.Pk)(e)||{line:void 0,column:void 0,offset:void 0},n=(0,tF.rb)(e)||{line:void 0,column:void 0,offset:void 0},r={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset};return r}function tJ(e){return function(t,n){let r=tG(t,{...e,file:n});return r}}},78600:function(e,t,n){"use strict";function r(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,a=n.indexOf(t);for(;-1!==a;)r++,a=n.indexOf(t,a+t.length);return r}n.d(t,{Z:function(){return eQ}});var a=n(24345),i=n(15459),o=n(88718),s=n(96093);let l="phrasing",c=["autolink","link","image","label"];function u(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function d(e){this.config.enter.autolinkProtocol.call(this,e)}function p(e){this.config.exit.autolinkProtocol.call(this,e)}function f(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];(0,a.ok)("link"===t.type),t.url="http://"+this.sliceSerialize(e)}function h(e){this.config.exit.autolinkEmail.call(this,e)}function m(e){this.exit(e)}function g(e){!function(e,t,n){let r=(0,s.O)((n||{}).ignore||[]),a=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r0?{type:"text",value:i}:void 0),!1===i?r.lastIndex=n+1:(s!==n&&d.push({type:"text",value:e.value.slice(s,n)}),Array.isArray(i)?d.push(...i):i&&d.push(i),s=n+p[0].length,u=!0),!r.global)break;p=r.exec(e.value)}return u?(s?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],a=n.indexOf(")"),i=r(e,"("),o=r(e,")");for(;-1!==a&&i>o;)e+=n.slice(0,a+1),a=(n=n.slice(a+1)).indexOf(")"),o++;return[e,n]}(n+a);if(!s[0])return!1;let l={type:"link",title:null,url:o+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[l,{type:"text",value:s[1]}]:l}function y(e,t,n,r){return!(!E(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function E(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||(0,i.B8)(n)||(0,i.Xh)(n))&&(!t||47!==n)}var v=n(11098);function T(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function S(){this.buffer()}function _(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteDefinition"===n.type),n.label=t,n.identifier=(0,v.d)(this.sliceSerialize(e)).toLowerCase()}function A(e){this.exit(e)}function O(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function k(){this.buffer()}function x(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteReference"===n.type),n.label=t,n.identifier=(0,v.d)(this.sliceSerialize(e)).toLowerCase()}function C(e){this.exit(e)}function w(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteReference"),s=n.enter("reference");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),o(),i+=a.move("]")}function I(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteDefinition"),s=n.enter("label");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),i+=a.move("]:"+(e.children&&e.children.length>0?" ":"")),a.shift(4),i+=a.move(n.indentLines(n.containerFlow(e,a.current()),R)),o(),i}function R(e,t,n){return 0===t?e:(n?"":" ")+e}w.peek=function(){return"["};let N=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function L(e){this.enter({type:"delete",children:[]},e)}function D(e){this.exit(e)}function P(e,t,n,r){let a=n.createTracker(r),i=n.enter("strikethrough"),o=a.move("~~");return o+=n.containerPhrasing(e,{...a.current(),before:o,after:"~"})+a.move("~~"),i(),o}function M(e){return e.length}function F(e){let t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function j(e,t,n){return">"+(n?"":" ")+e}function B(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),c+=l.move(")"),o(),c}function q(e,t,n,r){let a=e.referenceType,i=n.enter("imageReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("!["),c=n.safe(e.alt,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function K(e,t,n){let r=e.value||"",a="`",i=-1;for(;RegExp("(^|[^`])"+a+"([^`]|$)").test(r);)a+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i\u007F]/.test(e.url))}function Q(e,t,n,r){let a,i;let o=$(n),s='"'===o?"Quote":"Apostrophe",l=n.createTracker(r);if(X(e,n)){let t=n.stack;n.stack=[],a=n.enter("autolink");let r=l.move("<");return r+=l.move(n.containerPhrasing(e,{before:r,after:">",...l.current()}))+l.move(">"),a(),n.stack=t,r}a=n.enter("link"),i=n.enter("label");let c=l.move("[");return c+=l.move(n.containerPhrasing(e,{before:c,after:"](",...l.current()}))+l.move("]("),i(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(i=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(i=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),i(),e.title&&(i=n.enter(`title${s}`),c+=l.move(" "+o),c+=l.move(n.safe(e.title,{before:c,after:o,...l.current()}))+l.move(o),i()),c+=l.move(")"),a(),c}function J(e,t,n,r){let a=e.referenceType,i=n.enter("linkReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("["),c=n.containerPhrasing(e,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function ee(e){let t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function et(e){let t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}V.peek=function(){return"<"},Y.peek=function(){return"!"},q.peek=function(){return"!"},K.peek=function(){return"`"},Q.peek=function(e,t,n){return X(e,n)?"<":"["},J.peek=function(){return"["};let en=(0,s.O)(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function er(e,t,n,r){let a=function(e){let t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(n),i=n.enter("strong"),o=n.createTracker(r),s=o.move(a+a);return s+=o.move(n.containerPhrasing(e,{before:s,after:a,...o.current()}))+o.move(a+a),i(),s}er.peek=function(e,t,n){return n.options.strong||"*"};let ea={blockquote:function(e,t,n,r){let a=n.enter("blockquote"),i=n.createTracker(r);i.move("> "),i.shift(2);let o=n.indentLines(n.containerFlow(e,i.current()),j);return a(),o},break:U,code:function(e,t,n,r){let a=function(e){let t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),i=e.value||"",o="`"===a?"GraveAccent":"Tilde";if(!1===n.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value)){let e=n.enter("codeIndented"),t=n.indentLines(i,H);return e(),t}let s=n.createTracker(r),l=a.repeat(Math.max((0,G.J)(i,a)+1,3)),c=n.enter("codeFenced"),u=s.move(l);if(e.lang){let t=n.enter(`codeFencedLang${o}`);u+=s.move(n.safe(e.lang,{before:u,after:" ",encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${o}`);u+=s.move(" "),u+=s.move(n.safe(e.meta,{before:u,after:"\n",encode:["`"],...s.current()})),t()}return u+=s.move("\n"),i&&(u+=s.move(i+"\n")),u+=s.move(l),c(),u},definition:function(e,t,n,r){let a=$(n),i='"'===a?"Quote":"Apostrophe",o=n.enter("definition"),s=n.enter("label"),l=n.createTracker(r),c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()}))+l.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":"\n",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),o(),c},emphasis:z,hardBreak:U,heading:function(e,t,n,r){let a;let i=Math.max(Math.min(6,e.depth||1),1),s=n.createTracker(r);if(a=!1,(0,Z.Vn)(e,function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return a=!0,o.BK}),(!e.depth||e.depth<3)&&(0,W.B)(e)&&(n.options.setext||a)){let t=n.enter("headingSetext"),r=n.enter("phrasing"),a=n.containerPhrasing(e,{...s.current(),before:"\n",after:"\n"});return r(),t(),a+"\n"+(1===i?"=":"-").repeat(a.length-(Math.max(a.lastIndexOf("\r"),a.lastIndexOf("\n"))+1))}let l="#".repeat(i),c=n.enter("headingAtx"),u=n.enter("phrasing");s.move(l+" ");let d=n.containerPhrasing(e,{before:"# ",after:"\n",...s.current()});return/^[\t ]/.test(d)&&(d="&#x"+d.charCodeAt(0).toString(16).toUpperCase()+";"+d.slice(1)),d=d?l+" "+d:l,n.options.closeAtx&&(d+=" "+l),u(),c(),d},html:V,image:Y,imageReference:q,inlineCode:K,link:Q,linkReference:J,list:function(e,t,n,r){let a=n.enter("list"),i=n.bulletCurrent,o=e.ordered?function(e){let t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):ee(n),s=e.ordered?"."===o?")":".":function(e){let t=ee(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n),l=!!t&&!!n.bulletLastUsed&&o===n.bulletLastUsed;if(!e.ordered){let t=e.children?e.children[0]:void 0;if("*"!==o&&"-"!==o||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(l=!0),et(n)===o&&t){let t=-1;for(;++t-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+i);let o=i.length+1;("tab"===a||"mixed"===a&&(t&&"list"===t.type&&t.spread||e.spread))&&(o=4*Math.ceil(o/4));let s=n.createTracker(r);s.move(i+" ".repeat(o-i.length)),s.shift(o);let l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),function(e,t,n){return t?(n?"":" ".repeat(o))+e:(n?i:i+" ".repeat(o-i.length))+e});return l(),c},paragraph:function(e,t,n,r){let a=n.enter("paragraph"),i=n.enter("phrasing"),o=n.containerPhrasing(e,r);return i(),a(),o},root:function(e,t,n,r){let a=e.children.some(function(e){return en(e)}),i=a?n.containerPhrasing:n.containerFlow;return i.call(n,e,r)},strong:er,text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){let r=(et(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}};function ei(e){let t=e._align;(0,a.ok)(t,"expected `_align` on table"),this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function eo(e){this.exit(e),this.data.inTable=void 0}function es(e){this.enter({type:"tableRow",children:[]},e)}function el(e){this.exit(e)}function ec(e){this.enter({type:"tableCell",children:[]},e)}function eu(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,ed));let n=this.stack[this.stack.length-1];(0,a.ok)("inlineCode"===n.type),n.value=t,this.exit(e)}function ed(e,t){return"|"===t?t:e}function ep(e){let t=this.stack[this.stack.length-2];(0,a.ok)("listItem"===t.type),t.checked="taskListCheckValueChecked"===e.type}function ef(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1];(0,a.ok)("paragraph"===e.type);let n=e.children[0];if(n&&"text"===n.type){let r;let a=t.children,i=-1;for(;++i0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}eA[43]=e_,eA[45]=e_,eA[46]=e_,eA[95]=e_,eA[72]=[e_,eS],eA[104]=[e_,eS],eA[87]=[e_,eT],eA[119]=[e_,eT];var eR=n(23402),eN=n(42761);let eL={tokenize:function(e,t,n){let r=this;return(0,eN.f)(e,function(e){let a=r.events[r.events.length-1];return a&&"gfmFootnoteDefinitionIndent"===a[1].type&&4===a[2].sliceSerialize(a[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function eD(e,t,n){let r;let a=this,i=a.events.length,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);for(;i--;){let e=a.events[i][1];if("labelImage"===e.type){r=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(i){if(!r||!r._balanced)return n(i);let s=(0,v.d)(a.sliceSerialize({start:r.end,end:a.now()}));return 94===s.codePointAt(0)&&o.includes(s.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(i),e.exit("gfmFootnoteCallLabelMarker"),t(i)):n(i)}}function eP(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;let i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",a,t],["exit",a,t],["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function eM(e,t,n){let r;let a=this,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),s=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),l};function l(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(l){if(s>999||93===l&&!r||null===l||91===l||(0,i.z3)(l))return n(l);if(93===l){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return o.includes((0,v.d)(a.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(l)}return(0,i.z3)(l)||(r=!0),s++,e.consume(l),92===l?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function eF(e,t,n){let r,a;let o=this,s=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]),l=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(t)}function u(t){if(l>999||93===t&&!a||null===t||91===t||(0,i.z3)(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return r=(0,v.d)(o.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return(0,i.z3)(t)||(a=!0),l++,e.consume(t),92===t?d:u}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}function p(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s.includes(r)||s.push(r),(0,eN.f)(e,f,"gfmFootnoteDefinitionWhitespace")):n(t)}function f(e){return t(e)}}function ej(e,t,n){return e.check(eR.w,t,e.attempt(eL,t,n))}function eB(e){e.exit("gfmFootnoteDefinition")}var eU=n(21905),eG=n(62987),eH=n(63233);class e${constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let a=0;if(0!==n||0!==r.length){for(;a0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function ez(e,t,n){let r;let a=this,o=0,s=0;return function(e){let t=a.events.length-1;for(;t>-1;){let e=a.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let r=t>-1?a.events[t][1].type:null,i="tableHead"===r||"tableRow"===r?E:l;return i===E&&a.parser.lazy[a.now().line]?n(e):i(e)};function l(t){return e.enter("tableHead"),e.enter("tableRow"),124===t||(r=!0,s+=1),c(t)}function c(t){return null===t?n(t):(0,i.Ch)(t)?s>1?(s=0,a.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p):n(t):(0,i.xz)(t)?(0,eN.f)(e,c,"whitespace")(t):(s+=1,r&&(r=!1,o+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,c):(e.enter("data"),u(t))}function u(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),c(t)):(e.consume(t),92===t?d:u)}function d(t){return 92===t||124===t?(e.consume(t),u):u(t)}function p(t){return(a.interrupt=!1,a.parser.lazy[a.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,(0,i.xz)(t))?(0,eN.f)(e,f,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):f(t)}function f(t){return 45===t||58===t?m(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),h):n(t)}function h(t){return(0,i.xz)(t)?(0,eN.f)(e,m,"whitespace")(t):m(t)}function m(t){return 58===t?(s+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),g):45===t?(s+=1,g(t)):null===t||(0,i.Ch)(t)?y(t):n(t)}function g(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),b):(e.exit("tableDelimiterFiller"),b(n))}(t)):n(t)}function b(t){return(0,i.xz)(t)?(0,eN.f)(e,y,"whitespace")(t):y(t)}function y(a){return 124===a?f(a):null===a||(0,i.Ch)(a)?r&&o===s?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(a)):n(a):n(a)}function E(t){return e.enter("tableRow"),v(t)}function v(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),v):null===n||(0,i.Ch)(n)?(e.exit("tableRow"),t(n)):(0,i.xz)(n)?(0,eN.f)(e,v,"whitespace")(n):(e.enter("data"),T(n))}function T(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),v(t)):(e.consume(t),92===t?S:T)}function S(t){return 92===t||124===t?(e.consume(t),T):T(t)}}function eZ(e,t){let n,r,a,i=-1,o=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,d=0,p=new e$;for(;++in[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",o,t]])}return void 0!==a&&(i.end=Object.assign({},eY(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function eV(e,t,n,r,a){let i=[],o=eY(t.events,n);a&&(a.end=Object.assign({},o),i.push(["exit",a,t])),r.end=Object.assign({},o),i.push(["exit",r,t]),e.add(n+1,0,i)}function eY(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}let eq={name:"tasklistCheck",tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),a):n(t)};function a(t){return(0,i.z3)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(t)}function s(r){return(0,i.Ch)(r)?t(r):(0,i.xz)(r)?e.check({tokenize:eK},t,n)(r):n(r)}}};function eK(e,t,n){return(0,eN.f)(e,function(e){return null===e?n(e):t(e)},"whitespace")}let eX={};function eQ(e){let t=e||eX,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),i=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push((0,em.W)([{text:eA},{document:{91:{name:"gfmFootnoteDefinition",tokenize:eF,continuation:{tokenize:ej},exit:eB}},text:{91:{name:"gfmFootnoteCall",tokenize:eM},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:eD,resolveTo:eP}}},function(e){let t=(e||{}).singleTilde,n={name:"strikethrough",tokenize:function(e,n,r){let a=this.previous,i=this.events,o=0;return function(s){return 126===a&&"characterEscape"!==i[i.length-1][1].type?r(s):(e.enter("strikethroughSequenceTemporary"),function i(s){let l=(0,eG.r)(a);if(126===s)return o>1?r(s):(e.consume(s),o++,i);if(o<2&&!t)return r(s);let c=e.exit("strikethroughSequenceTemporary"),u=(0,eG.r)(s);return c._open=!u||2===u&&!!l,c._close=!l||2===l&&!!u,n(s)}(s))}},resolveAll:function(e,t){let n=-1;for(;++nl&&(l=e[c].length);++ds[d])&&(s[d]=e)}n.push(i)}i[c]=n,o[c]=a}let d=-1;if("object"==typeof n&&"length"in n)for(;++ds[d]&&(s[d]=i),f[d]=i),p[d]=o}i.splice(1,0,p),o.splice(1,0,f),c=-1;let h=[];for(;++c","Iacute":"\xcd","Icirc":"\xce","Igrave":"\xcc","Iuml":"\xcf","LT":"<","Ntilde":"\xd1","Oacute":"\xd3","Ocirc":"\xd4","Ograve":"\xd2","Oslash":"\xd8","Otilde":"\xd5","Ouml":"\xd6","QUOT":"\\"","REG":"\xae","THORN":"\xde","Uacute":"\xda","Ucirc":"\xdb","Ugrave":"\xd9","Uuml":"\xdc","Yacute":"\xdd","aacute":"\xe1","acirc":"\xe2","acute":"\xb4","aelig":"\xe6","agrave":"\xe0","amp":"&","aring":"\xe5","atilde":"\xe3","auml":"\xe4","brvbar":"\xa6","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","eacute":"\xe9","ecirc":"\xea","egrave":"\xe8","eth":"\xf0","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","iacute":"\xed","icirc":"\xee","iexcl":"\xa1","igrave":"\xec","iquest":"\xbf","iuml":"\xef","laquo":"\xab","lt":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","ntilde":"\xf1","oacute":"\xf3","ocirc":"\xf4","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","oslash":"\xf8","otilde":"\xf5","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","raquo":"\xbb","reg":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","thorn":"\xfe","times":"\xd7","uacute":"\xfa","ucirc":"\xfb","ugrave":"\xf9","uml":"\xa8","uuml":"\xfc","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')}},function(e){e.O(0,[3662,7034,6106,8674,3166,2837,2168,8163,1265,7728,8241,2913,3791,5278,9859,4330,4041,8791,5030,5418,2783,3457,1300,4567,2398,2480,7410,7124,9773,4035,1154,2510,3345,9202,1585,2516,7249,3768,5789,9774,2888,179],function(){return e(e.s=74294)}),_N_E=e.O()}]); \ No newline at end of file + */var r=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},a={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=u.reach));S+=T.value.length,T=T.next){var _,A=T.value;if(n.length>t.length)return;if(!(A instanceof i)){var O=1;if(b){if(!(_=o(v,S,t,g))||_.index>=t.length)break;var k=_.index,x=_.index+_[0].length,C=S;for(C+=T.value.length;k>=C;)C+=(T=T.next).value.length;if(C-=T.value.length,S=C,T.value instanceof i)continue;for(var w=T;w!==n.tail&&(Cu.reach&&(u.reach=L);var D=T.prev;R&&(D=l(n,D,R),S+=R.length),function(e,t,n){for(var r=t.next,a=0;a1){var M={cause:d+","+f,reach:L};e(t,n,r,T.prev,S,M),u&&M.reach>u.reach&&(u.reach=M.reach)}}}}}}(e,c,t,c.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(c)},hooks:{all:{},add:function(e,t){var n=a.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=a.hooks.all[e];if(n&&n.length)for(var r,i=0;r=n[i++];)r(t)}},Token:i};function i(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var i=a[1].length;a.index+=i,a[0]=a[0].slice(i)}return a}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}if(e.Prism=a,i.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach(function(t){r+=e(t,n)}),r}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},o=t.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(i.classes,o):i.classes.push(o)),a.hooks.run("wrap",i);var s="";for(var l in i.attributes)s+=" "+l+'="'+(i.attributes[l]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+s+">"+i.content+""},!e.document)return e.addEventListener&&(a.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),r=n.language,i=n.code,o=n.immediateClose;e.postMessage(a.highlight(i,a.languages[r],r)),o&&e.close()},!1)),a;var c=a.util.currentScript();function u(){a.manual||a.highlightAll()}if(c&&(a.filename=c.src,c.hasAttribute("data-manual")&&(a.manual=!0)),!a.manual){var d=document.readyState;"loading"===d||"interactive"===d&&c&&c.defer?document.addEventListener("DOMContentLoaded",u):window.requestAnimationFrame?window.requestAnimationFrame(u):window.setTimeout(u,16)}return a}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=r),void 0!==n.g&&(n.g.Prism=r)},96774:function(e){e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),o=Object.keys(t);if(i.length!==o.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;le.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}},88998:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(95778);function a(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},13643:function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,{Z:function(){return r}})},98568:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)}n.d(t,{Z:function(){return a}})},99660:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(88998);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var l=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(l&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;C(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:I(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),b}},t}},55054:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59312);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw a}}return s}}(e,t)||(0,r.Z)(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},27567:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(13643);function a(){return(a="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var a=function(e,t){for(;!({}).hasOwnProperty.call(e,t)&&null!==(e=(0,r.Z)(e)););return e}(e,t);if(a){var i=Object.getOwnPropertyDescriptor(a,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}}).apply(null,arguments)}function i(e,t,n,i){var o=a((0,r.Z)(1&i?e.prototype:e),t,n);return 2&i&&"function"==typeof o?function(e){return o.apply(n,e)}:o}},25585:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(59630),a=n(59312);function i(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,a.Z)(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},95778:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(2846);function a(e){var t=function(e,t){if("object"!=(0,r.Z)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=(0,r.Z)(a))return a;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.Z)(t)?t:t+""}},2846:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{Z:function(){return r}})},59312:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59630);function a(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},21129:function(e,t,n){"use strict";var r=n(4503);t.Z=r},86676:function(e,t,n){"use strict";n.d(t,{r:function(){return a}});let r=/[#.]/g;function a(e,t){let n,a;let i=e||"",o={},s=0;for(;so&&(o=i):i=1,a=r+t.length,r=n.indexOf(t,a);return o}n.d(t,{J:function(){return r}})},24557:function(e,t,n){"use strict";n.d(t,{Z:function(){return ed}});var r={};n.r(r),n.d(r,{boolean:function(){return c},booleanish:function(){return u},commaOrSpaceSeparated:function(){return m},commaSeparated:function(){return h},number:function(){return p},overloadedBoolean:function(){return d},spaceSeparated:function(){return f}});class a{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function i(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new a(n,r,t)}function o(e){return e.toLowerCase()}a.prototype.normal={},a.prototype.property={},a.prototype.space=void 0;class s{constructor(e,t){this.attribute=t,this.property=e}}s.prototype.attribute="",s.prototype.booleanish=!1,s.prototype.boolean=!1,s.prototype.commaOrSpaceSeparated=!1,s.prototype.commaSeparated=!1,s.prototype.defined=!1,s.prototype.mustUseProperty=!1,s.prototype.number=!1,s.prototype.overloadedBoolean=!1,s.prototype.property="",s.prototype.spaceSeparated=!1,s.prototype.space=void 0;let l=0,c=g(),u=g(),d=g(),p=g(),f=g(),h=g(),m=g();function g(){return 2**++l}let b=Object.keys(r);class y extends s{constructor(e,t,n,a){var i,o;let s=-1;if(super(e,t),a&&(this.space=a),"number"==typeof n)for(;++s"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function T(e,t){return t in e?e[t]:t}function S(e,t){return T(e,t.toLowerCase())}let _=E({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:h,acceptCharset:f,accessKey:f,action:null,allow:null,allowFullScreen:c,allowPaymentRequest:c,allowUserMedia:c,alt:null,as:null,async:c,autoCapitalize:null,autoComplete:f,autoFocus:c,autoPlay:c,blocking:f,capture:null,charSet:null,checked:c,cite:null,className:f,cols:p,colSpan:null,content:null,contentEditable:u,controls:c,controlsList:f,coords:p|h,crossOrigin:null,data:null,dateTime:null,decoding:null,default:c,defer:c,dir:null,dirName:null,disabled:c,download:d,draggable:u,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:c,formTarget:null,headers:f,height:p,hidden:c,high:p,href:null,hrefLang:null,htmlFor:f,httpEquiv:f,id:null,imageSizes:null,imageSrcSet:null,inert:c,inputMode:null,integrity:null,is:null,isMap:c,itemId:null,itemProp:f,itemRef:f,itemScope:c,itemType:f,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:c,low:p,manifest:null,max:null,maxLength:p,media:null,method:null,min:null,minLength:p,multiple:c,muted:c,name:null,nonce:null,noModule:c,noValidate:c,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored: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,onScrollEnd: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:c,optimum:p,pattern:null,ping:f,placeholder:null,playsInline:c,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:c,referrerPolicy:null,rel:f,required:c,reversed:c,rows:p,rowSpan:p,sandbox:f,scope:null,scoped:c,seamless:c,selected:c,shadowRootClonable:c,shadowRootDelegatesFocus:c,shadowRootMode:null,shape:null,size:p,sizes:null,slot:null,span:p,spellCheck:u,src:null,srcDoc:null,srcLang:null,srcSet:null,start:p,step:null,style:null,tabIndex:p,target:null,title:null,translate:null,type:null,typeMustMatch:c,useMap:null,value:u,width:p,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:f,axis:null,background:null,bgColor:null,border:p,borderColor:null,bottomMargin:p,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:c,declare:c,event:null,face:null,frame:null,frameBorder:null,hSpace:p,leftMargin:p,link:null,longDesc:null,lowSrc:null,marginHeight:p,marginWidth:p,noResize:c,noHref:c,noShade:c,noWrap:c,object:null,profile:null,prompt:null,rev:null,rightMargin:p,rules:null,scheme:null,scrolling:u,standby:null,summary:null,text:null,topMargin:p,valueType:null,version:null,vAlign:null,vLink:null,vSpace:p,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:c,disableRemotePlayback:c,prefix:null,property:null,results:p,security:null,unselectable:null},space:"html",transform:S}),A=E({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:m,accentHeight:p,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:p,amplitude:p,arabicForm:null,ascent:p,attributeName:null,attributeType:null,azimuth:p,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:p,by:null,calcMode:null,capHeight:p,className:f,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:p,diffuseConstant:p,direction:null,display:null,dur:null,divisor:p,dominantBaseline:null,download:c,dx:null,dy:null,edgeMode:null,editable:null,elevation:p,enableBackground:null,end:null,event:null,exponent:p,externalResourcesRequired:null,fill:null,fillOpacity:p,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:h,g2:h,glyphName:h,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:p,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:p,horizOriginX:p,horizOriginY:p,id:null,ideographic:p,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:p,k:p,k1:p,k2:p,k3:p,k4:p,kernelMatrix:m,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:p,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:p,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose: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,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:p,overlineThickness:p,paintOrder:null,panose1:null,path:null,pathLength:p,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:f,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:p,pointsAtY:p,pointsAtZ:p,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:m,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:m,rev:m,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:m,requiredFeatures:m,requiredFonts:m,requiredFormats:m,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:p,specularExponent:p,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:p,strikethroughThickness:p,string:null,stroke:null,strokeDashArray:m,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:p,strokeOpacity:p,strokeWidth:null,style:null,surfaceScale:p,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:m,tabIndex:p,tableValues:null,target:null,targetX:p,targetY:p,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:m,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:p,underlineThickness:p,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:p,values:null,vAlphabetic:p,vMathematical:p,vectorEffect:null,vHanging:p,vIdeographic:p,version:null,vertAdvY:p,vertOriginX:p,vertOriginY:p,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:p,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:T}),O=E({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),k=E({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:S}),x=E({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),C=i([v,_,O,k,x],"html"),w=i([v,A,O,k,x],"svg");var I=n(25668),R=n(86676);let N=/[A-Z]/g,L=/-[a-z]/g,D=/^data[-\w.:]+$/i;function P(e){return"-"+e.toLowerCase()}function M(e){return e.charAt(1).toUpperCase()}var F=n(50342);function j(e,t,n){let r=n?function(e){let t=new Map;for(let n of e)t.set(n.toLowerCase(),n);return t}(n):void 0;return function(n,a,...i){let l;if(null==n)l={type:"root",children:[]},i.unshift(a);else{l=(0,R.r)(n,t);let c=l.tagName.toLowerCase(),u=r?r.get(c):void 0;if(l.tagName=u||c,function(e){if(null===e||"object"!=typeof e||Array.isArray(e))return!0;if("string"!=typeof e.type)return!1;let t=Object.keys(e);for(let n of t){let t=e[n];if(t&&"object"==typeof t){if(!Array.isArray(t))return!0;for(let e of t)if("number"!=typeof e&&"string"!=typeof e)return!0}}return!!("children"in e&&Array.isArray(e.children))}(a))i.unshift(a);else for(let[t,n]of Object.entries(a))!function(e,t,n,r){let a;let i=function(e,t){let n=o(t),r=t,a=s;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&D.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(L,M);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!L.test(e)){let n=e.replace(N,P);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}a=y}return new a(r,t)}(e,n);if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;a=r}else a="boolean"==typeof r?r:"string"==typeof r?i.spaceSeparated?(0,F.Q)(r):i.commaSeparated?(0,I.Q)(r):i.commaOrSpaceSeparated?(0,F.Q)((0,I.Q)(r).join(" ")):B(i,i.property,r):Array.isArray(r)?[...r]:"style"===i.property?function(e){let t=[];for(let[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}(r):String(r);if(Array.isArray(a)){let e=[];for(let t of a)e.push(B(i,i.property,t));a=e}"className"===i.property&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}(e,l.properties,t,n)}for(let e of i)!function e(t,n){if(null==n);else if("number"==typeof n||"string"==typeof n)t.push({type:"text",value:String(n)});else if(Array.isArray(n))for(let r of n)e(t,r);else if("object"==typeof n&&"type"in n)"root"===n.type?e(t,n.children):t.push(n);else throw Error("Expected node, nodes, or string, got `"+n+"`")}(l.children,e);return"element"===l.type&&"template"===l.tagName&&(l.content={type:"root",children:l.children},l.children=[]),l}}function B(e,t,n){if("string"==typeof n){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(""===n||o(n)===o(t)))return!0}return n}let U=j(C,"div"),G=j(w,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]);var H=n(49911);function $(e,t){let n=function(e,t){switch(e.nodeType){case 1:return function(e,t){let n=e.namespaceURI,r=n===H.t.svg?G:U,a=n===H.t.html?e.tagName.toLowerCase():e.tagName,i=n===H.t.html&&"template"===a?e.content:e,o=e.getAttributeNames(),s={},l=-1;for(;++ln&&(n=e):e&&(void 0!==n&&n>-1&&l.push("\n".repeat(n)||" "),n=-1,l.push(e))}return l.join("")}(d,{whitespace:"pre"});try{a=es.ZP.renderToString(p,{...t,displayMode:c,throwOnError:!0})}catch(o){let i=o.name.toLowerCase();n.message("Could not render math with KaTeX",{ancestors:[...r,e],cause:o,place:e.position,ruleId:i,source:"rehype-katex"});try{a=es.ZP.renderToString(p,{...t,displayMode:c,strict:"ignore",throwOnError:!1})}catch{a=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(o)},children:[{type:"text",value:p}]}]}}if("string"==typeof a){let e=function(e,t){let n=t?.fragment?function(e){let t=document.createElement("template");return t.innerHTML=e,t.content}(e):Z.parseFromString(e,"text/html");return $(n,{})||{type:"root",children:[]}}(a,{fragment:!0});a=e.children}let f=u.children.indexOf(d);return u.children.splice(f,1,...a),el.AM})}}},12384:function(e,t,n){"use strict";n.d(t,{Z:function(){return tJ}});var r,a,i,o,s,l,c,u,d,p,f,h,m,g,b,y,E,v,T,S,_,A,O=n(52835),k=n(24345),x=n(91634),C=n(25668),w=n(86676),I=n(26103),R=n(28051),N=n(50342);let L=new Set(["button","menu","reset","submit"]),D={}.hasOwnProperty;function P(e,t,n){let r=n&&function(e){let t={},n=-1;for(;++n1?n[e.line-2]:0)+e.column-1;if(r-1&&e<=t.length){let r=0;for(;;){let a=n[r];if(void 0===a){let e=B(t,n[r-1]);a=-1===e?t.length+1:e+1,n[r]=a}if(a>e)return{line:r+1,column:e-(r>0?n[r-1]:0)+1,offset:e};r++}}}}}(t),a=r.toPoint(0),i=r.toPoint(t.length);(0,k.ok)(a,"expected `start`"),(0,k.ok)(i,"expected `end`"),n.position={start:a,end:i}}return n}case"#documentType":return Z(e,t,n={type:"doctype"}),n;case"#text":return n={type:"text",value:t.value},Z(e,t,n),n;default:return function(e,t){let n=e.schema;e.schema=t.namespaceURI===U.t.svg?x.YP:x.dy;let r=-1,a={};for(;++r=55296&&e<=57343}function ei(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function eo(e){return e>=64976&&e<=65007||en.has(e)}(a=m=m||(m={})).controlCharacterInInputStream="control-character-in-input-stream",a.noncharacterInInputStream="noncharacter-in-input-stream",a.surrogateInInputStream="surrogate-in-input-stream",a.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",a.endTagWithAttributes="end-tag-with-attributes",a.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",a.unexpectedSolidusInTag="unexpected-solidus-in-tag",a.unexpectedNullCharacter="unexpected-null-character",a.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",a.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",a.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",a.missingEndTagName="missing-end-tag-name",a.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",a.unknownNamedCharacterReference="unknown-named-character-reference",a.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",a.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",a.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",a.eofBeforeTagName="eof-before-tag-name",a.eofInTag="eof-in-tag",a.missingAttributeValue="missing-attribute-value",a.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",a.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",a.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",a.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",a.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",a.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",a.missingDoctypePublicIdentifier="missing-doctype-public-identifier",a.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",a.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",a.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",a.cdataInHtmlContent="cdata-in-html-content",a.incorrectlyOpenedComment="incorrectly-opened-comment",a.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",a.eofInDoctype="eof-in-doctype",a.nestedComment="nested-comment",a.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",a.eofInComment="eof-in-comment",a.incorrectlyClosedComment="incorrectly-closed-comment",a.eofInCdata="eof-in-cdata",a.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",a.nullCharacterReference="null-character-reference",a.surrogateCharacterReference="surrogate-character-reference",a.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",a.controlCharacterReference="control-character-reference",a.noncharacterCharacterReference="noncharacter-character-reference",a.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",a.missingDoctypeName="missing-doctype-name",a.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",a.duplicateAttribute="duplicate-attribute",a.nonConformingDoctype="non-conforming-doctype",a.missingDoctype="missing-doctype",a.misplacedDoctype="misplaced-doctype",a.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",a.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",a.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",a.openElementsLeftAfterEof="open-elements-left-after-eof",a.abandonedHeadElementChild="abandoned-head-element-child",a.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",a.nestedNoscriptInHead="nested-noscript-in-head",a.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text";class es{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e){let{line:t,col:n,offset:r}=this;return{code:e,startLine:t,endLine:t,startCol:n,endCol:n,startOffset:r,endOffset:r}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let t=this.html.charCodeAt(this.pos+1);if(t>=56320&&t<=57343)return this.pos++,this._addGap(),(e-55296)*1024+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,h.EOF;return this._err(m.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,h.EOF;let n=this.html.charCodeAt(t);return n===h.CARRIAGE_RETURN?h.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,h.EOF;let e=this.html.charCodeAt(this.pos);if(e===h.CARRIAGE_RETURN)return this.isEol=!0,this.skipNextNewLine=!0,h.LINE_FEED;if(e===h.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine))return this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance();this.skipNextNewLine=!1,ea(e)&&(e=this._processSurrogate(e));let t=null===this.handler.onParseError||e>31&&e<127||e===h.LINE_FEED||e===h.CARRIAGE_RETURN||e>159&&e<64976;return t||this._checkForProblematicCharacters(e),e}_checkForProblematicCharacters(e){ei(e)?this._err(m.controlCharacterInInputStream):eo(e)&&this._err(m.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}(i=g=g||(g={}))[i.CHARACTER=0]="CHARACTER",i[i.NULL_CHARACTER=1]="NULL_CHARACTER",i[i.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",i[i.START_TAG=3]="START_TAG",i[i.END_TAG=4]="END_TAG",i[i.COMMENT=5]="COMMENT",i[i.DOCTYPE=6]="DOCTYPE",i[i.EOF=7]="EOF",i[i.HIBERNATION=8]="HIBERNATION";var ec=n(60411);(o=b=b||(b={})).HTML="http://www.w3.org/1999/xhtml",o.MATHML="http://www.w3.org/1998/Math/MathML",o.SVG="http://www.w3.org/2000/svg",o.XLINK="http://www.w3.org/1999/xlink",o.XML="http://www.w3.org/XML/1998/namespace",o.XMLNS="http://www.w3.org/2000/xmlns/",(s=y=y||(y={})).TYPE="type",s.ACTION="action",s.ENCODING="encoding",s.PROMPT="prompt",s.NAME="name",s.COLOR="color",s.FACE="face",s.SIZE="size",(l=E=E||(E={})).NO_QUIRKS="no-quirks",l.QUIRKS="quirks",l.LIMITED_QUIRKS="limited-quirks",(c=v=v||(v={})).A="a",c.ADDRESS="address",c.ANNOTATION_XML="annotation-xml",c.APPLET="applet",c.AREA="area",c.ARTICLE="article",c.ASIDE="aside",c.B="b",c.BASE="base",c.BASEFONT="basefont",c.BGSOUND="bgsound",c.BIG="big",c.BLOCKQUOTE="blockquote",c.BODY="body",c.BR="br",c.BUTTON="button",c.CAPTION="caption",c.CENTER="center",c.CODE="code",c.COL="col",c.COLGROUP="colgroup",c.DD="dd",c.DESC="desc",c.DETAILS="details",c.DIALOG="dialog",c.DIR="dir",c.DIV="div",c.DL="dl",c.DT="dt",c.EM="em",c.EMBED="embed",c.FIELDSET="fieldset",c.FIGCAPTION="figcaption",c.FIGURE="figure",c.FONT="font",c.FOOTER="footer",c.FOREIGN_OBJECT="foreignObject",c.FORM="form",c.FRAME="frame",c.FRAMESET="frameset",c.H1="h1",c.H2="h2",c.H3="h3",c.H4="h4",c.H5="h5",c.H6="h6",c.HEAD="head",c.HEADER="header",c.HGROUP="hgroup",c.HR="hr",c.HTML="html",c.I="i",c.IMG="img",c.IMAGE="image",c.INPUT="input",c.IFRAME="iframe",c.KEYGEN="keygen",c.LABEL="label",c.LI="li",c.LINK="link",c.LISTING="listing",c.MAIN="main",c.MALIGNMARK="malignmark",c.MARQUEE="marquee",c.MATH="math",c.MENU="menu",c.META="meta",c.MGLYPH="mglyph",c.MI="mi",c.MO="mo",c.MN="mn",c.MS="ms",c.MTEXT="mtext",c.NAV="nav",c.NOBR="nobr",c.NOFRAMES="noframes",c.NOEMBED="noembed",c.NOSCRIPT="noscript",c.OBJECT="object",c.OL="ol",c.OPTGROUP="optgroup",c.OPTION="option",c.P="p",c.PARAM="param",c.PLAINTEXT="plaintext",c.PRE="pre",c.RB="rb",c.RP="rp",c.RT="rt",c.RTC="rtc",c.RUBY="ruby",c.S="s",c.SCRIPT="script",c.SECTION="section",c.SELECT="select",c.SOURCE="source",c.SMALL="small",c.SPAN="span",c.STRIKE="strike",c.STRONG="strong",c.STYLE="style",c.SUB="sub",c.SUMMARY="summary",c.SUP="sup",c.TABLE="table",c.TBODY="tbody",c.TEMPLATE="template",c.TEXTAREA="textarea",c.TFOOT="tfoot",c.TD="td",c.TH="th",c.THEAD="thead",c.TITLE="title",c.TR="tr",c.TRACK="track",c.TT="tt",c.U="u",c.UL="ul",c.SVG="svg",c.VAR="var",c.WBR="wbr",c.XMP="xmp",(u=T=T||(T={}))[u.UNKNOWN=0]="UNKNOWN",u[u.A=1]="A",u[u.ADDRESS=2]="ADDRESS",u[u.ANNOTATION_XML=3]="ANNOTATION_XML",u[u.APPLET=4]="APPLET",u[u.AREA=5]="AREA",u[u.ARTICLE=6]="ARTICLE",u[u.ASIDE=7]="ASIDE",u[u.B=8]="B",u[u.BASE=9]="BASE",u[u.BASEFONT=10]="BASEFONT",u[u.BGSOUND=11]="BGSOUND",u[u.BIG=12]="BIG",u[u.BLOCKQUOTE=13]="BLOCKQUOTE",u[u.BODY=14]="BODY",u[u.BR=15]="BR",u[u.BUTTON=16]="BUTTON",u[u.CAPTION=17]="CAPTION",u[u.CENTER=18]="CENTER",u[u.CODE=19]="CODE",u[u.COL=20]="COL",u[u.COLGROUP=21]="COLGROUP",u[u.DD=22]="DD",u[u.DESC=23]="DESC",u[u.DETAILS=24]="DETAILS",u[u.DIALOG=25]="DIALOG",u[u.DIR=26]="DIR",u[u.DIV=27]="DIV",u[u.DL=28]="DL",u[u.DT=29]="DT",u[u.EM=30]="EM",u[u.EMBED=31]="EMBED",u[u.FIELDSET=32]="FIELDSET",u[u.FIGCAPTION=33]="FIGCAPTION",u[u.FIGURE=34]="FIGURE",u[u.FONT=35]="FONT",u[u.FOOTER=36]="FOOTER",u[u.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",u[u.FORM=38]="FORM",u[u.FRAME=39]="FRAME",u[u.FRAMESET=40]="FRAMESET",u[u.H1=41]="H1",u[u.H2=42]="H2",u[u.H3=43]="H3",u[u.H4=44]="H4",u[u.H5=45]="H5",u[u.H6=46]="H6",u[u.HEAD=47]="HEAD",u[u.HEADER=48]="HEADER",u[u.HGROUP=49]="HGROUP",u[u.HR=50]="HR",u[u.HTML=51]="HTML",u[u.I=52]="I",u[u.IMG=53]="IMG",u[u.IMAGE=54]="IMAGE",u[u.INPUT=55]="INPUT",u[u.IFRAME=56]="IFRAME",u[u.KEYGEN=57]="KEYGEN",u[u.LABEL=58]="LABEL",u[u.LI=59]="LI",u[u.LINK=60]="LINK",u[u.LISTING=61]="LISTING",u[u.MAIN=62]="MAIN",u[u.MALIGNMARK=63]="MALIGNMARK",u[u.MARQUEE=64]="MARQUEE",u[u.MATH=65]="MATH",u[u.MENU=66]="MENU",u[u.META=67]="META",u[u.MGLYPH=68]="MGLYPH",u[u.MI=69]="MI",u[u.MO=70]="MO",u[u.MN=71]="MN",u[u.MS=72]="MS",u[u.MTEXT=73]="MTEXT",u[u.NAV=74]="NAV",u[u.NOBR=75]="NOBR",u[u.NOFRAMES=76]="NOFRAMES",u[u.NOEMBED=77]="NOEMBED",u[u.NOSCRIPT=78]="NOSCRIPT",u[u.OBJECT=79]="OBJECT",u[u.OL=80]="OL",u[u.OPTGROUP=81]="OPTGROUP",u[u.OPTION=82]="OPTION",u[u.P=83]="P",u[u.PARAM=84]="PARAM",u[u.PLAINTEXT=85]="PLAINTEXT",u[u.PRE=86]="PRE",u[u.RB=87]="RB",u[u.RP=88]="RP",u[u.RT=89]="RT",u[u.RTC=90]="RTC",u[u.RUBY=91]="RUBY",u[u.S=92]="S",u[u.SCRIPT=93]="SCRIPT",u[u.SECTION=94]="SECTION",u[u.SELECT=95]="SELECT",u[u.SOURCE=96]="SOURCE",u[u.SMALL=97]="SMALL",u[u.SPAN=98]="SPAN",u[u.STRIKE=99]="STRIKE",u[u.STRONG=100]="STRONG",u[u.STYLE=101]="STYLE",u[u.SUB=102]="SUB",u[u.SUMMARY=103]="SUMMARY",u[u.SUP=104]="SUP",u[u.TABLE=105]="TABLE",u[u.TBODY=106]="TBODY",u[u.TEMPLATE=107]="TEMPLATE",u[u.TEXTAREA=108]="TEXTAREA",u[u.TFOOT=109]="TFOOT",u[u.TD=110]="TD",u[u.TH=111]="TH",u[u.THEAD=112]="THEAD",u[u.TITLE=113]="TITLE",u[u.TR=114]="TR",u[u.TRACK=115]="TRACK",u[u.TT=116]="TT",u[u.U=117]="U",u[u.UL=118]="UL",u[u.SVG=119]="SVG",u[u.VAR=120]="VAR",u[u.WBR=121]="WBR",u[u.XMP=122]="XMP";let eu=new Map([[v.A,T.A],[v.ADDRESS,T.ADDRESS],[v.ANNOTATION_XML,T.ANNOTATION_XML],[v.APPLET,T.APPLET],[v.AREA,T.AREA],[v.ARTICLE,T.ARTICLE],[v.ASIDE,T.ASIDE],[v.B,T.B],[v.BASE,T.BASE],[v.BASEFONT,T.BASEFONT],[v.BGSOUND,T.BGSOUND],[v.BIG,T.BIG],[v.BLOCKQUOTE,T.BLOCKQUOTE],[v.BODY,T.BODY],[v.BR,T.BR],[v.BUTTON,T.BUTTON],[v.CAPTION,T.CAPTION],[v.CENTER,T.CENTER],[v.CODE,T.CODE],[v.COL,T.COL],[v.COLGROUP,T.COLGROUP],[v.DD,T.DD],[v.DESC,T.DESC],[v.DETAILS,T.DETAILS],[v.DIALOG,T.DIALOG],[v.DIR,T.DIR],[v.DIV,T.DIV],[v.DL,T.DL],[v.DT,T.DT],[v.EM,T.EM],[v.EMBED,T.EMBED],[v.FIELDSET,T.FIELDSET],[v.FIGCAPTION,T.FIGCAPTION],[v.FIGURE,T.FIGURE],[v.FONT,T.FONT],[v.FOOTER,T.FOOTER],[v.FOREIGN_OBJECT,T.FOREIGN_OBJECT],[v.FORM,T.FORM],[v.FRAME,T.FRAME],[v.FRAMESET,T.FRAMESET],[v.H1,T.H1],[v.H2,T.H2],[v.H3,T.H3],[v.H4,T.H4],[v.H5,T.H5],[v.H6,T.H6],[v.HEAD,T.HEAD],[v.HEADER,T.HEADER],[v.HGROUP,T.HGROUP],[v.HR,T.HR],[v.HTML,T.HTML],[v.I,T.I],[v.IMG,T.IMG],[v.IMAGE,T.IMAGE],[v.INPUT,T.INPUT],[v.IFRAME,T.IFRAME],[v.KEYGEN,T.KEYGEN],[v.LABEL,T.LABEL],[v.LI,T.LI],[v.LINK,T.LINK],[v.LISTING,T.LISTING],[v.MAIN,T.MAIN],[v.MALIGNMARK,T.MALIGNMARK],[v.MARQUEE,T.MARQUEE],[v.MATH,T.MATH],[v.MENU,T.MENU],[v.META,T.META],[v.MGLYPH,T.MGLYPH],[v.MI,T.MI],[v.MO,T.MO],[v.MN,T.MN],[v.MS,T.MS],[v.MTEXT,T.MTEXT],[v.NAV,T.NAV],[v.NOBR,T.NOBR],[v.NOFRAMES,T.NOFRAMES],[v.NOEMBED,T.NOEMBED],[v.NOSCRIPT,T.NOSCRIPT],[v.OBJECT,T.OBJECT],[v.OL,T.OL],[v.OPTGROUP,T.OPTGROUP],[v.OPTION,T.OPTION],[v.P,T.P],[v.PARAM,T.PARAM],[v.PLAINTEXT,T.PLAINTEXT],[v.PRE,T.PRE],[v.RB,T.RB],[v.RP,T.RP],[v.RT,T.RT],[v.RTC,T.RTC],[v.RUBY,T.RUBY],[v.S,T.S],[v.SCRIPT,T.SCRIPT],[v.SECTION,T.SECTION],[v.SELECT,T.SELECT],[v.SOURCE,T.SOURCE],[v.SMALL,T.SMALL],[v.SPAN,T.SPAN],[v.STRIKE,T.STRIKE],[v.STRONG,T.STRONG],[v.STYLE,T.STYLE],[v.SUB,T.SUB],[v.SUMMARY,T.SUMMARY],[v.SUP,T.SUP],[v.TABLE,T.TABLE],[v.TBODY,T.TBODY],[v.TEMPLATE,T.TEMPLATE],[v.TEXTAREA,T.TEXTAREA],[v.TFOOT,T.TFOOT],[v.TD,T.TD],[v.TH,T.TH],[v.THEAD,T.THEAD],[v.TITLE,T.TITLE],[v.TR,T.TR],[v.TRACK,T.TRACK],[v.TT,T.TT],[v.U,T.U],[v.UL,T.UL],[v.SVG,T.SVG],[v.VAR,T.VAR],[v.WBR,T.WBR],[v.XMP,T.XMP]]);function ed(e){var t;return null!==(t=eu.get(e))&&void 0!==t?t:T.UNKNOWN}let ep=T,ef={[b.HTML]:new Set([ep.ADDRESS,ep.APPLET,ep.AREA,ep.ARTICLE,ep.ASIDE,ep.BASE,ep.BASEFONT,ep.BGSOUND,ep.BLOCKQUOTE,ep.BODY,ep.BR,ep.BUTTON,ep.CAPTION,ep.CENTER,ep.COL,ep.COLGROUP,ep.DD,ep.DETAILS,ep.DIR,ep.DIV,ep.DL,ep.DT,ep.EMBED,ep.FIELDSET,ep.FIGCAPTION,ep.FIGURE,ep.FOOTER,ep.FORM,ep.FRAME,ep.FRAMESET,ep.H1,ep.H2,ep.H3,ep.H4,ep.H5,ep.H6,ep.HEAD,ep.HEADER,ep.HGROUP,ep.HR,ep.HTML,ep.IFRAME,ep.IMG,ep.INPUT,ep.LI,ep.LINK,ep.LISTING,ep.MAIN,ep.MARQUEE,ep.MENU,ep.META,ep.NAV,ep.NOEMBED,ep.NOFRAMES,ep.NOSCRIPT,ep.OBJECT,ep.OL,ep.P,ep.PARAM,ep.PLAINTEXT,ep.PRE,ep.SCRIPT,ep.SECTION,ep.SELECT,ep.SOURCE,ep.STYLE,ep.SUMMARY,ep.TABLE,ep.TBODY,ep.TD,ep.TEMPLATE,ep.TEXTAREA,ep.TFOOT,ep.TH,ep.THEAD,ep.TITLE,ep.TR,ep.TRACK,ep.UL,ep.WBR,ep.XMP]),[b.MATHML]:new Set([ep.MI,ep.MO,ep.MN,ep.MS,ep.MTEXT,ep.ANNOTATION_XML]),[b.SVG]:new Set([ep.TITLE,ep.FOREIGN_OBJECT,ep.DESC]),[b.XLINK]:new Set,[b.XML]:new Set,[b.XMLNS]:new Set};function eh(e){return e===ep.H1||e===ep.H2||e===ep.H3||e===ep.H4||e===ep.H5||e===ep.H6}v.STYLE,v.SCRIPT,v.XMP,v.IFRAME,v.NOEMBED,v.NOFRAMES,v.PLAINTEXT;let em=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);(d=S||(S={}))[d.DATA=0]="DATA",d[d.RCDATA=1]="RCDATA",d[d.RAWTEXT=2]="RAWTEXT",d[d.SCRIPT_DATA=3]="SCRIPT_DATA",d[d.PLAINTEXT=4]="PLAINTEXT",d[d.TAG_OPEN=5]="TAG_OPEN",d[d.END_TAG_OPEN=6]="END_TAG_OPEN",d[d.TAG_NAME=7]="TAG_NAME",d[d.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",d[d.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",d[d.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",d[d.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",d[d.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",d[d.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",d[d.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",d[d.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",d[d.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",d[d.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",d[d.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",d[d.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",d[d.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",d[d.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",d[d.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",d[d.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",d[d.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",d[d.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",d[d.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",d[d.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",d[d.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",d[d.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",d[d.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",d[d.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",d[d.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",d[d.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",d[d.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",d[d.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",d[d.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",d[d.BOGUS_COMMENT=40]="BOGUS_COMMENT",d[d.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",d[d.COMMENT_START=42]="COMMENT_START",d[d.COMMENT_START_DASH=43]="COMMENT_START_DASH",d[d.COMMENT=44]="COMMENT",d[d.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",d[d.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",d[d.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",d[d.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",d[d.COMMENT_END_DASH=49]="COMMENT_END_DASH",d[d.COMMENT_END=50]="COMMENT_END",d[d.COMMENT_END_BANG=51]="COMMENT_END_BANG",d[d.DOCTYPE=52]="DOCTYPE",d[d.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",d[d.DOCTYPE_NAME=54]="DOCTYPE_NAME",d[d.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",d[d.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",d[d.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",d[d.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",d[d.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",d[d.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",d[d.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",d[d.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",d[d.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",d[d.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",d[d.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",d[d.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",d[d.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",d[d.CDATA_SECTION=68]="CDATA_SECTION",d[d.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",d[d.CDATA_SECTION_END=70]="CDATA_SECTION_END",d[d.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",d[d.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",d[d.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",d[d.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",d[d.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",d[d.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",d[d.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",d[d.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END";let eg={DATA:S.DATA,RCDATA:S.RCDATA,RAWTEXT:S.RAWTEXT,SCRIPT_DATA:S.SCRIPT_DATA,PLAINTEXT:S.PLAINTEXT,CDATA_SECTION:S.CDATA_SECTION};function eb(e){return e>=h.DIGIT_0&&e<=h.DIGIT_9}function ey(e){return e>=h.LATIN_CAPITAL_A&&e<=h.LATIN_CAPITAL_Z}function eE(e){return e>=h.LATIN_SMALL_A&&e<=h.LATIN_SMALL_Z||ey(e)}function ev(e){return eE(e)||eb(e)}function eT(e){return e>=h.LATIN_CAPITAL_A&&e<=h.LATIN_CAPITAL_F}function eS(e){return e>=h.LATIN_SMALL_A&&e<=h.LATIN_SMALL_F}function e_(e){return e===h.SPACE||e===h.LINE_FEED||e===h.TABULATION||e===h.FORM_FEED}function eA(e){return e_(e)||e===h.SOLIDUS||e===h.GREATER_THAN_SIGN}class eO{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=S.DATA,this.returnState=S.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new es(t),this.currentLocation=this.getCurrentLocation(-1)}_err(e){var t,n;null===(n=(t=this.handler).onParseError)||void 0===n||n.call(t,this.preprocessor.getError(e))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw Error("Parser was already resumed");this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(e){this.consumedAfterSnapshot-=e,this.preprocessor.retreat(e)}_reconsumeInState(e,t){this.state=e,this._callState(t)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t0&&this._err(m.endTagWithAttributes),e.selfClosing&&this._err(m.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case g.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case g.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case g.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:g.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type!==e)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=t;return}}this._createCharacterToken(e,t)}_emitCodePoint(e){let t=e_(e)?g.WHITESPACE_CHARACTER:e===h.NULL?g.NULL_CHARACTER:g.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(g.CHARACTER,e)}_matchNamedCharacterReference(e){let t=null,n=0,r=!1;for(let i=0,o=ec.HP[0];i>=0&&!((i=(0,ec.Go)(ec.HP,o,i+1,e))<0);e=this._consume()){n+=1,o=ec.HP[i];let s=o&ec.ge.VALUE_LENGTH;if(s){var a;let o=(s>>14)-1;if(e!==h.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((a=this.preprocessor.peek(1))===h.EQUALS_SIGN||ev(a))?(t=[h.AMPERSAND],i+=o):(t=0===o?[ec.HP[i]&~ec.ge.VALUE_LENGTH]:1===o?[ec.HP[++i]]:[ec.HP[++i],ec.HP[++i]],n=0,r=e!==h.SEMICOLON),0===o){this._consume();break}}}return this._unconsume(n),r&&!this.preprocessor.endOfChunkHit&&this._err(m.missingSemicolonAfterCharacterReference),this._unconsume(1),t}_isCharacterReferenceInAttribute(){return this.returnState===S.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case S.DATA:this._stateData(e);break;case S.RCDATA:this._stateRcdata(e);break;case S.RAWTEXT:this._stateRawtext(e);break;case S.SCRIPT_DATA:this._stateScriptData(e);break;case S.PLAINTEXT:this._statePlaintext(e);break;case S.TAG_OPEN:this._stateTagOpen(e);break;case S.END_TAG_OPEN:this._stateEndTagOpen(e);break;case S.TAG_NAME:this._stateTagName(e);break;case S.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case S.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case S.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case S.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case S.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case S.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case S.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case S.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case S.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case S.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case S.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case S.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case S.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case S.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case S.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case S.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case S.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case S.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case S.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case S.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case S.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case S.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case S.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case S.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case S.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case S.BOGUS_COMMENT:this._stateBogusComment(e);break;case S.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case S.COMMENT_START:this._stateCommentStart(e);break;case S.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case S.COMMENT:this._stateComment(e);break;case S.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case S.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case S.COMMENT_END:this._stateCommentEnd(e);break;case S.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case S.DOCTYPE:this._stateDoctype(e);break;case S.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case S.DOCTYPE_NAME:this._stateDoctypeName(e);break;case S.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case S.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case S.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case S.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case S.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case S.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case S.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case S.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case S.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case S.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case S.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case S.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case S.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case S.CDATA_SECTION:this._stateCdataSection(e);break;case S.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case S.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case S.CHARACTER_REFERENCE:this._stateCharacterReference(e);break;case S.NAMED_CHARACTER_REFERENCE:this._stateNamedCharacterReference(e);break;case S.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;case S.NUMERIC_CHARACTER_REFERENCE:this._stateNumericCharacterReference(e);break;case S.HEXADEMICAL_CHARACTER_REFERENCE_START:this._stateHexademicalCharacterReferenceStart(e);break;case S.HEXADEMICAL_CHARACTER_REFERENCE:this._stateHexademicalCharacterReference(e);break;case S.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(e);break;case S.NUMERIC_CHARACTER_REFERENCE_END:this._stateNumericCharacterReferenceEnd(e);break;default:throw Error("Unknown state")}}_stateData(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.TAG_OPEN;break;case h.AMPERSAND:this.returnState=S.DATA,this.state=S.CHARACTER_REFERENCE;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitCodePoint(e);break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case h.AMPERSAND:this.returnState=S.RCDATA,this.state=S.CHARACTER_REFERENCE;break;case h.LESS_THAN_SIGN:this.state=S.RCDATA_LESS_THAN_SIGN;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.RAWTEXT_LESS_THAN_SIGN;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.SCRIPT_DATA_LESS_THAN_SIGN;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(eE(e))this._createStartTagToken(),this.state=S.TAG_NAME,this._stateTagName(e);else switch(e){case h.EXCLAMATION_MARK:this.state=S.MARKUP_DECLARATION_OPEN;break;case h.SOLIDUS:this.state=S.END_TAG_OPEN;break;case h.QUESTION_MARK:this._err(m.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=S.BOGUS_COMMENT,this._stateBogusComment(e);break;case h.EOF:this._err(m.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(m.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=S.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(eE(e))this._createEndTagToken(),this.state=S.TAG_NAME,this._stateTagName(e);else switch(e){case h.GREATER_THAN_SIGN:this._err(m.missingEndTagName),this.state=S.DATA;break;case h.EOF:this._err(m.eofBeforeTagName),this._emitChars("");break;case h.NULL:this._err(m.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case h.EOF:this._err(m.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===h.SOLIDUS?this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:eE(e)?(this._emitChars("<"),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=S.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){eE(e)?(this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("");break;case h.NULL:this._err(m.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case h.EOF:this._err(m.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===h.SOLIDUS?(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(er.SCRIPT,!1)&&eA(this.preprocessor.peek(er.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e1114111)this._err(m.characterReferenceOutsideUnicodeRange),this.charRefCode=h.REPLACEMENT_CHARACTER;else if(ea(this.charRefCode))this._err(m.surrogateCharacterReference),this.charRefCode=h.REPLACEMENT_CHARACTER;else if(eo(this.charRefCode))this._err(m.noncharacterCharacterReference);else if(ei(this.charRefCode)||this.charRefCode===h.CARRIAGE_RETURN){this._err(m.controlCharacterReference);let e=em.get(this.charRefCode);void 0!==e&&(this.charRefCode=e)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}}let ek=new Set([T.DD,T.DT,T.LI,T.OPTGROUP,T.OPTION,T.P,T.RB,T.RP,T.RT,T.RTC]),ex=new Set([...ek,T.CAPTION,T.COLGROUP,T.TBODY,T.TD,T.TFOOT,T.TH,T.THEAD,T.TR]),eC=new Map([[T.APPLET,b.HTML],[T.CAPTION,b.HTML],[T.HTML,b.HTML],[T.MARQUEE,b.HTML],[T.OBJECT,b.HTML],[T.TABLE,b.HTML],[T.TD,b.HTML],[T.TEMPLATE,b.HTML],[T.TH,b.HTML],[T.ANNOTATION_XML,b.MATHML],[T.MI,b.MATHML],[T.MN,b.MATHML],[T.MO,b.MATHML],[T.MS,b.MATHML],[T.MTEXT,b.MATHML],[T.DESC,b.SVG],[T.FOREIGN_OBJECT,b.SVG],[T.TITLE,b.SVG]]),ew=[T.H1,T.H2,T.H3,T.H4,T.H5,T.H6],eI=[T.TR,T.TEMPLATE,T.HTML],eR=[T.TBODY,T.TFOOT,T.THEAD,T.TEMPLATE,T.HTML],eN=[T.TABLE,T.TEMPLATE,T.HTML],eL=[T.TD,T.TH];class eD{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=T.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===T.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===b.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){let r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==b.HTML);this.shortenToLength(t<0?0:t)}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop=0;n--)if(e.includes(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return -1}clearBackTo(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(eN,b.HTML)}clearBackToTableBodyContext(){this.clearBackTo(eR,b.HTML)}clearBackToTableRowContext(){this.clearBackTo(eI,b.HTML)}remove(e){let t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===T.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===T.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(eC.get(n)===r)return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(eh(t)&&n===b.HTML)break;if(eC.get(t)===n)return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if((n===T.UL||n===T.OL)&&r===b.HTML||eC.get(n)===r)return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(n===T.BUTTON&&r===b.HTML||eC.get(n)===r)return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n===T.TABLE||n===T.TEMPLATE||n===T.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(n===b.HTML){if(t===T.TBODY||t===T.THEAD||t===T.TFOOT)break;if(t===T.TABLE||t===T.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n!==T.OPTION&&n!==T.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;ek.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;ex.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&ex.has(this.currentTagId);)this.pop()}}(p=_=_||(_={}))[p.Marker=0]="Marker",p[p.Element=1]="Element";let eP={type:_.Marker};class eM{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let n=[],r=t.length,a=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let e=0;e[e.name,e.value])),a=0;for(let e=0;er.get(e.name)===e.value)&&(a+=1)>=3&&this.entries.splice(t.idx,1)}}insertMarker(){this.entries.unshift(eP)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:_.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:_.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);t>=0&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(eP);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===_.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===_.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===_.Element&&t.element===e)}}function eF(e){return{nodeName:"#text",value:e,parentNode:null}}let ej={createDocument:()=>({nodeName:"#document",mode:E.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){let r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,n,r){let a=e.childNodes.find(e=>"#documentType"===e.nodeName);a?(a.name=t,a.publicId=n,a.systemId=r):ej.appendChild(e,{nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null})},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let n=e.childNodes[e.childNodes.length-1];if(ej.isTextNode(n)){n.value+=t;return}}ej.appendChild(e,eF(t))},insertTextBefore(e,t,n){let r=e.childNodes[e.childNodes.indexOf(n)-1];r&&ej.isTextNode(r)?r.value+=t:ej.insertBefore(e,eF(t),n)},adoptAttributes(e,t){let n=new Set(e.attrs.map(e=>e.name));for(let r=0;re.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},eB="html",eU=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],eG=[...eU,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],eH=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),e$=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],ez=[...e$,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function eZ(e,t){return t.some(t=>e.startsWith(t))}let eW={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},eV=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),eY=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:b.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:b.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:b.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:b.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:b.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:b.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:b.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:b.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:b.XML}],["xml:space",{prefix:"xml",name:"space",namespace:b.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:b.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:b.XMLNS}]]),eq=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),eK=new Set([T.B,T.BIG,T.BLOCKQUOTE,T.BODY,T.BR,T.CENTER,T.CODE,T.DD,T.DIV,T.DL,T.DT,T.EM,T.EMBED,T.H1,T.H2,T.H3,T.H4,T.H5,T.H6,T.HEAD,T.HR,T.I,T.IMG,T.LI,T.LISTING,T.MENU,T.META,T.NOBR,T.OL,T.P,T.PRE,T.RUBY,T.S,T.SMALL,T.SPAN,T.STRONG,T.STRIKE,T.SUB,T.SUP,T.TABLE,T.TT,T.U,T.UL,T.VAR]);function eX(e){for(let t=0;t0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null===(r=(n=this.treeAdapter).onItemPop)||void 0===r||r.call(n,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let n=e===this.document||this.treeAdapter.getNamespaceURI(e)===b.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,b.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=A.TEXT}switchToPlaintextParsing(){this.insertionMode=A.TEXT,this.originalInsertionMode=A.IN_BODY,this.tokenizer.state=eg.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===v.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===b.HTML)switch(this.fragmentContextID){case T.TITLE:case T.TEXTAREA:this.tokenizer.state=eg.RCDATA;break;case T.STYLE:case T.XMP:case T.IFRAME:case T.NOEMBED:case T.NOFRAMES:case T.NOSCRIPT:this.tokenizer.state=eg.RAWTEXT;break;case T.SCRIPT:this.tokenizer.state=eg.SCRIPT_DATA;break;case T.PLAINTEXT:this.tokenizer.state=eg.PLAINTEXT}}_setDocumentType(e){let t=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){let t=this.treeAdapter.getChildNodes(this.document),n=t.find(e=>this.treeAdapter.isDocumentTypeNode(e));n&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){let n=this.treeAdapter.createElement(e,b.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,b.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(v.HTML,b.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,T.HTML)}_appendCommentNode(e,t){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let r=this.treeAdapter.getChildNodes(t),a=n?r.lastIndexOf(n):r.length,i=r[a-1],o=this.treeAdapter.getNodeSourceCodeLocation(i);if(o){let{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let n=t.location,r=this.treeAdapter.getTagName(e),a=t.type===g.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,a)}}shouldProcessStartTagTokenInForeignContent(e){let t,n;return!!this.currentNotInHTML&&(0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):{current:t,currentTagId:n}=this.openElements,(e.tagID!==T.SVG||this.treeAdapter.getTagName(t)!==v.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==b.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===T.MGLYPH||e.tagID===T.MALIGNMARK)&&!this._isIntegrationPoint(n,t,b.HTML)))}_processToken(e){switch(e.type){case g.CHARACTER:this.onCharacter(e);break;case g.NULL_CHARACTER:this.onNullCharacter(e);break;case g.COMMENT:this.onComment(e);break;case g.DOCTYPE:this.onDoctype(e);break;case g.START_TAG:this._processStartTag(e);break;case g.END_TAG:this.onEndTag(e);break;case g.EOF:this.onEof(e);break;case g.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){let r=this.treeAdapter.getNamespaceURI(t),a=this.treeAdapter.getAttrList(t);return(!n||n===b.HTML)&&function(e,t,n){if(t===b.MATHML&&e===T.ANNOTATION_XML){for(let e=0;ee.type===_.Marker||this.openElements.contains(e.element)),n=t<0?e-1:t-1;for(let e=n;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=A.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(T.P),this.openElements.popUntilTagNamePopped(T.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case T.TR:this.insertionMode=A.IN_ROW;return;case T.TBODY:case T.THEAD:case T.TFOOT:this.insertionMode=A.IN_TABLE_BODY;return;case T.CAPTION:this.insertionMode=A.IN_CAPTION;return;case T.COLGROUP:this.insertionMode=A.IN_COLUMN_GROUP;return;case T.TABLE:this.insertionMode=A.IN_TABLE;return;case T.BODY:this.insertionMode=A.IN_BODY;return;case T.FRAMESET:this.insertionMode=A.IN_FRAMESET;return;case T.SELECT:this._resetInsertionModeForSelect(e);return;case T.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case T.HTML:this.insertionMode=this.headElement?A.AFTER_HEAD:A.BEFORE_HEAD;return;case T.TD:case T.TH:if(e>0){this.insertionMode=A.IN_CELL;return}break;case T.HEAD:if(e>0){this.insertionMode=A.IN_HEAD;return}}this.insertionMode=A.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===T.TEMPLATE)break;if(e===T.TABLE){this.insertionMode=A.IN_SELECT_IN_TABLE;return}}this.insertionMode=A.IN_SELECT}_isElementCausesFosterParenting(e){return e1.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case T.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===b.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case T.TABLE:{let n=this.treeAdapter.getParentNode(t);if(n)return{parent:n,beforeElement:t};return{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){let n=this.treeAdapter.getNamespaceURI(e);return ef[n].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){this._insertCharacters(e),this.framesetOk=!1;return}switch(this.insertionMode){case A.INITIAL:e9(this,e);break;case A.BEFORE_HTML:e8(this,e);break;case A.BEFORE_HEAD:e7(this,e);break;case A.IN_HEAD:tn(this,e);break;case A.IN_HEAD_NO_SCRIPT:tr(this,e);break;case A.AFTER_HEAD:ta(this,e);break;case A.IN_BODY:case A.IN_CAPTION:case A.IN_CELL:case A.IN_TEMPLATE:ts(this,e);break;case A.TEXT:case A.IN_SELECT:case A.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case A.IN_TABLE:case A.IN_TABLE_BODY:case A.IN_ROW:tg(this,e);break;case A.IN_TABLE_TEXT:tT(this,e);break;case A.IN_COLUMN_GROUP:tO(this,e);break;case A.AFTER_BODY:tD(this,e);break;case A.AFTER_AFTER_BODY:tP(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){e.chars="�",this._insertCharacters(e);return}switch(this.insertionMode){case A.INITIAL:e9(this,e);break;case A.BEFORE_HTML:e8(this,e);break;case A.BEFORE_HEAD:e7(this,e);break;case A.IN_HEAD:tn(this,e);break;case A.IN_HEAD_NO_SCRIPT:tr(this,e);break;case A.AFTER_HEAD:ta(this,e);break;case A.TEXT:this._insertCharacters(e);break;case A.IN_TABLE:case A.IN_TABLE_BODY:case A.IN_ROW:tg(this,e);break;case A.IN_COLUMN_GROUP:tO(this,e);break;case A.AFTER_BODY:tD(this,e);break;case A.AFTER_AFTER_BODY:tP(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){e4(this,e);return}switch(this.insertionMode){case A.INITIAL:case A.BEFORE_HTML:case A.BEFORE_HEAD:case A.IN_HEAD:case A.IN_HEAD_NO_SCRIPT:case A.AFTER_HEAD:case A.IN_BODY:case A.IN_TABLE:case A.IN_CAPTION:case A.IN_COLUMN_GROUP:case A.IN_TABLE_BODY:case A.IN_ROW:case A.IN_CELL:case A.IN_SELECT:case A.IN_SELECT_IN_TABLE:case A.IN_TEMPLATE:case A.IN_FRAMESET:case A.AFTER_FRAMESET:e4(this,e);break;case A.IN_TABLE_TEXT:tS(this,e);break;case A.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case A.AFTER_AFTER_BODY:case A.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case A.INITIAL:!function(e,t){e._setDocumentType(t);let n=t.forceQuirks?E.QUIRKS:function(e){if(e.name!==eB)return E.QUIRKS;let{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return E.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),eH.has(n))return E.QUIRKS;let e=null===t?eG:eU;if(eZ(n,e))return E.QUIRKS;if(eZ(n,e=null===t?e$:ez))return E.LIMITED_QUIRKS}return E.NO_QUIRKS}(t);t.name===eB&&null===t.publicId&&(null===t.systemId||"about:legacy-compat"===t.systemId)||e._err(t,m.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=A.BEFORE_HTML}(this,e);break;case A.BEFORE_HEAD:case A.IN_HEAD:case A.IN_HEAD_NO_SCRIPT:case A.AFTER_HEAD:this._err(e,m.misplacedDoctype);break;case A.IN_TABLE_TEXT:tS(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,m.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){let t=e.tagID,n=t===T.FONT&&e.attrs.some(({name:e})=>e===y.COLOR||e===y.SIZE||e===y.FACE);return n||eK.has(t)}(t))tM(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===b.MATHML?eX(t):r===b.SVG&&(function(e){let t=eq.get(e.tagName);null!=t&&(e.tagName=t,e.tagID=ed(e.tagName))}(t),eQ(t)),eJ(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case A.INITIAL:e9(this,e);break;case A.BEFORE_HTML:e.tagID===T.HTML?(this._insertElement(e,b.HTML),this.insertionMode=A.BEFORE_HEAD):e8(this,e);break;case A.BEFORE_HEAD:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.HEAD:e._insertElement(t,b.HTML),e.headElement=e.openElements.current,e.insertionMode=A.IN_HEAD;break;default:e7(e,t)}}(this,e);break;case A.IN_HEAD:te(this,e);break;case A.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BASEFONT:case T.BGSOUND:case T.HEAD:case T.LINK:case T.META:case T.NOFRAMES:case T.STYLE:te(e,t);break;case T.NOSCRIPT:e._err(t,m.nestedNoscriptInHead);break;default:tr(e,t)}}(this,e);break;case A.AFTER_HEAD:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BODY:e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=A.IN_BODY;break;case T.FRAMESET:e._insertElement(t,b.HTML),e.insertionMode=A.IN_FRAMESET;break;case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:e._err(t,m.abandonedHeadElementChild),e.openElements.push(e.headElement,T.HEAD),te(e,t),e.openElements.remove(e.headElement);break;case T.HEAD:e._err(t,m.misplacedStartTagForHeadElement);break;default:ta(e,t)}}(this,e);break;case A.IN_BODY:tp(this,e);break;case A.IN_TABLE:tb(this,e);break;case A.IN_TABLE_TEXT:tS(this,e);break;case A.IN_CAPTION:!function(e,t){let n=t.tagID;t_.has(n)?e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=A.IN_TABLE,tb(e,t)):tp(e,t)}(this,e);break;case A.IN_COLUMN_GROUP:tA(this,e);break;case A.IN_TABLE_BODY:tk(this,e);break;case A.IN_ROW:tC(this,e);break;case A.IN_CELL:!function(e,t){let n=t.tagID;t_.has(n)?(e.openElements.hasInTableScope(T.TD)||e.openElements.hasInTableScope(T.TH))&&(e._closeTableCell(),tC(e,t)):tp(e,t)}(this,e);break;case A.IN_SELECT:tI(this,e);break;case A.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e._processStartTag(t)):tI(e,t)}(this,e);break;case A.IN_TEMPLATE:!function(e,t){switch(t.tagID){case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:te(e,t);break;case T.CAPTION:case T.COLGROUP:case T.TBODY:case T.TFOOT:case T.THEAD:e.tmplInsertionModeStack[0]=A.IN_TABLE,e.insertionMode=A.IN_TABLE,tb(e,t);break;case T.COL:e.tmplInsertionModeStack[0]=A.IN_COLUMN_GROUP,e.insertionMode=A.IN_COLUMN_GROUP,tA(e,t);break;case T.TR:e.tmplInsertionModeStack[0]=A.IN_TABLE_BODY,e.insertionMode=A.IN_TABLE_BODY,tk(e,t);break;case T.TD:case T.TH:e.tmplInsertionModeStack[0]=A.IN_ROW,e.insertionMode=A.IN_ROW,tC(e,t);break;default:e.tmplInsertionModeStack[0]=A.IN_BODY,e.insertionMode=A.IN_BODY,tp(e,t)}}(this,e);break;case A.AFTER_BODY:e.tagID===T.HTML?tp(this,e):tD(this,e);break;case A.IN_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.FRAMESET:e._insertElement(t,b.HTML);break;case T.FRAME:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.NOFRAMES:te(e,t)}}(this,e);break;case A.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.NOFRAMES:te(e,t)}}(this,e);break;case A.AFTER_AFTER_BODY:e.tagID===T.HTML?tp(this,e):tP(this,e);break;case A.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.NOFRAMES:te(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===T.P||t.tagID===T.BR){tM(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){let r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===b.HTML){e._endTagOutsideForeignContent(t);break}let a=e.treeAdapter.getTagName(r);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){var t;switch(this.insertionMode){case A.INITIAL:e9(this,e);break;case A.BEFORE_HTML:!function(e,t){let n=t.tagID;(n===T.HTML||n===T.HEAD||n===T.BODY||n===T.BR)&&e8(e,t)}(this,e);break;case A.BEFORE_HEAD:!function(e,t){let n=t.tagID;n===T.HEAD||n===T.BODY||n===T.HTML||n===T.BR?e7(e,t):e._err(t,m.endTagWithoutMatchingOpenElement)}(this,e);break;case A.IN_HEAD:!function(e,t){switch(t.tagID){case T.HEAD:e.openElements.pop(),e.insertionMode=A.AFTER_HEAD;break;case T.BODY:case T.BR:case T.HTML:tn(e,t);break;case T.TEMPLATE:tt(e,t);break;default:e._err(t,m.endTagWithoutMatchingOpenElement)}}(this,e);break;case A.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case T.NOSCRIPT:e.openElements.pop(),e.insertionMode=A.IN_HEAD;break;case T.BR:tr(e,t);break;default:e._err(t,m.endTagWithoutMatchingOpenElement)}}(this,e);break;case A.AFTER_HEAD:!function(e,t){switch(t.tagID){case T.BODY:case T.HTML:case T.BR:ta(e,t);break;case T.TEMPLATE:tt(e,t);break;default:e._err(t,m.endTagWithoutMatchingOpenElement)}}(this,e);break;case A.IN_BODY:th(this,e);break;case A.TEXT:e.tagID===T.SCRIPT&&(null===(t=this.scriptHandler)||void 0===t||t.call(this,this.openElements.current)),this.openElements.pop(),this.insertionMode=this.originalInsertionMode;break;case A.IN_TABLE:ty(this,e);break;case A.IN_TABLE_TEXT:tS(this,e);break;case A.IN_CAPTION:!function(e,t){let n=t.tagID;switch(n){case T.CAPTION:case T.TABLE:e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=A.IN_TABLE,n===T.TABLE&&ty(e,t));break;case T.BODY:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:th(e,t)}}(this,e);break;case A.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case T.COLGROUP:e.openElements.currentTagId===T.COLGROUP&&(e.openElements.pop(),e.insertionMode=A.IN_TABLE);break;case T.TEMPLATE:tt(e,t);break;case T.COL:break;default:tO(e,t)}}(this,e);break;case A.IN_TABLE_BODY:tx(this,e);break;case A.IN_ROW:tw(this,e);break;case A.IN_CELL:!function(e,t){let n=t.tagID;switch(n){case T.TD:case T.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=A.IN_ROW);break;case T.TABLE:case T.TBODY:case T.TFOOT:case T.THEAD:case T.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),tw(e,t));break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:break;default:th(e,t)}}(this,e);break;case A.IN_SELECT:tR(this,e);break;case A.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e.onEndTag(t)):tR(e,t)}(this,e);break;case A.IN_TEMPLATE:e.tagID===T.TEMPLATE&&tt(this,e);break;case A.AFTER_BODY:tL(this,e);break;case A.IN_FRAMESET:e.tagID!==T.FRAMESET||this.openElements.isRootHtmlElementCurrent()||(this.openElements.pop(),this.fragmentContext||this.openElements.currentTagId===T.FRAMESET||(this.insertionMode=A.AFTER_FRAMESET));break;case A.AFTER_FRAMESET:e.tagID===T.HTML&&(this.insertionMode=A.AFTER_AFTER_FRAMESET);break;case A.AFTER_AFTER_BODY:tP(this,e)}}onEof(e){switch(this.insertionMode){case A.INITIAL:e9(this,e);break;case A.BEFORE_HTML:e8(this,e);break;case A.BEFORE_HEAD:e7(this,e);break;case A.IN_HEAD:tn(this,e);break;case A.IN_HEAD_NO_SCRIPT:tr(this,e);break;case A.AFTER_HEAD:ta(this,e);break;case A.IN_BODY:case A.IN_TABLE:case A.IN_CAPTION:case A.IN_COLUMN_GROUP:case A.IN_TABLE_BODY:case A.IN_ROW:case A.IN_CELL:case A.IN_SELECT:case A.IN_SELECT_IN_TABLE:tm(this,e);break;case A.TEXT:this._err(e,m.eofInElementThatCanContainOnlyText),this.openElements.pop(),this.insertionMode=this.originalInsertionMode,this.onEof(e);break;case A.IN_TABLE_TEXT:tS(this,e);break;case A.IN_TEMPLATE:tN(this,e);break;case A.AFTER_BODY:case A.IN_FRAMESET:case A.AFTER_FRAMESET:case A.AFTER_AFTER_BODY:case A.AFTER_AFTER_FRAMESET:e6(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===h.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case A.IN_HEAD:case A.IN_HEAD_NO_SCRIPT:case A.AFTER_HEAD:case A.TEXT:case A.IN_COLUMN_GROUP:case A.IN_SELECT:case A.IN_SELECT_IN_TABLE:case A.IN_FRAMESET:case A.AFTER_FRAMESET:this._insertCharacters(e);break;case A.IN_BODY:case A.IN_CAPTION:case A.IN_CELL:case A.IN_TEMPLATE:case A.AFTER_BODY:case A.AFTER_AFTER_BODY:case A.AFTER_AFTER_FRAMESET:to(this,e);break;case A.IN_TABLE:case A.IN_TABLE_BODY:case A.IN_ROW:tg(this,e);break;case A.IN_TABLE_TEXT:tv(this,e)}}}function e5(e,t){for(let n=0;n<8;n++){let n=function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):tf(e,t),n}(e,t);if(!n)break;let r=function(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){let a=e.openElements.items[r];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[r])&&(n=a)}return n||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;let a=function(e,t,n){let r=t,a=e.openElements.getCommonAncestor(t);for(let i=0,o=a;o!==n;i++,o=a){a=e.openElements.getCommonAncestor(o);let n=e.activeFormattingElements.getElementEntry(o),s=n&&i>=3,l=!n||s;l?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(o)):(o=function(e,t){let n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}(e,r,n.element),i=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(a),i&&function(e,t,n){let r=e.treeAdapter.getTagName(t),a=ed(r);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(n);else{let r=e.treeAdapter.getNamespaceURI(t);a===T.TEMPLATE&&r===b.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}(e,i,a),function(e,t,n){let r=e.treeAdapter.getNamespaceURI(n.element),{token:a}=n,i=e.treeAdapter.createElement(a.tagName,r,a.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,a),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,a.tagID)}(e,r,n)}}function e4(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function e6(e,t){if(e.stopped=!0,t.location){let n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){let n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function e9(e,t){e._err(t,m.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,E.QUIRKS),e.insertionMode=A.BEFORE_HTML,e._processToken(t)}function e8(e,t){e._insertFakeRootElement(),e.insertionMode=A.BEFORE_HEAD,e._processToken(t)}function e7(e,t){e._insertFakeElement(v.HEAD,T.HEAD),e.headElement=e.openElements.current,e.insertionMode=A.IN_HEAD,e._processToken(t)}function te(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.TITLE:e._switchToTextParsing(t,eg.RCDATA);break;case T.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,eg.RAWTEXT):(e._insertElement(t,b.HTML),e.insertionMode=A.IN_HEAD_NO_SCRIPT);break;case T.NOFRAMES:case T.STYLE:e._switchToTextParsing(t,eg.RAWTEXT);break;case T.SCRIPT:e._switchToTextParsing(t,eg.SCRIPT_DATA);break;case T.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=A.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(A.IN_TEMPLATE);break;case T.HEAD:e._err(t,m.misplacedStartTagForHeadElement);break;default:tn(e,t)}}function tt(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==T.TEMPLATE&&e._err(t,m.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,m.endTagWithoutMatchingOpenElement)}function tn(e,t){e.openElements.pop(),e.insertionMode=A.AFTER_HEAD,e._processToken(t)}function tr(e,t){let n=t.type===g.EOF?m.openElementsLeftAfterEof:m.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=A.IN_HEAD,e._processToken(t)}function ta(e,t){e._insertFakeElement(v.BODY,T.BODY),e.insertionMode=A.IN_BODY,ti(e,t)}function ti(e,t){switch(t.type){case g.CHARACTER:ts(e,t);break;case g.WHITESPACE_CHARACTER:to(e,t);break;case g.COMMENT:e4(e,t);break;case g.START_TAG:tp(e,t);break;case g.END_TAG:th(e,t);break;case g.EOF:tm(e,t)}}function to(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function ts(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function tl(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function tc(e){let t=el(e,y.TYPE);return null!=t&&"hidden"===t.toLowerCase()}function tu(e,t){e._switchToTextParsing(t,eg.RAWTEXT)}function td(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML)}function tp(e,t){switch(t.tagID){case T.I:case T.S:case T.B:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.SMALL:case T.STRIKE:case T.STRONG:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case T.A:!function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(v.A);n&&(e5(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),eh(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,b.HTML);break;case T.P:case T.DL:case T.OL:case T.UL:case T.DIV:case T.DIR:case T.NAV:case T.MAIN:case T.MENU:case T.ASIDE:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.DETAILS:case T.ADDRESS:case T.ARTICLE:case T.SECTION:case T.SUMMARY:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML);break;case T.LI:case T.DD:case T.DT:!function(e,t){e.framesetOk=!1;let n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let r=e.openElements.tagIDs[t];if(n===T.LI&&r===T.LI||(n===T.DD||n===T.DT)&&(r===T.DD||r===T.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==T.ADDRESS&&r!==T.DIV&&r!==T.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML)}(e,t);break;case T.BR:case T.IMG:case T.WBR:case T.AREA:case T.EMBED:case T.KEYGEN:tl(e,t);break;case T.HR:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0;break;case T.RB:case T.RTC:e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,b.HTML);break;case T.RT:case T.RP:e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(T.RTC),e._insertElement(t,b.HTML);break;case T.PRE:case T.LISTING:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.framesetOk=!1;break;case T.XMP:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,eg.RAWTEXT);break;case T.SVG:e._reconstructActiveFormattingElements(),eQ(t),eJ(t),t.selfClosing?e._appendElement(t,b.SVG):e._insertElement(t,b.SVG),t.ackSelfClosing=!0;break;case T.HTML:0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs);break;case T.BASE:case T.LINK:case T.META:case T.STYLE:case T.TITLE:case T.SCRIPT:case T.BGSOUND:case T.BASEFONT:case T.TEMPLATE:te(e,t);break;case T.BODY:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t);break;case T.FORM:!function(e,t){let n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),n||(e.formElement=e.openElements.current))}(e,t);break;case T.NOBR:e._reconstructActiveFormattingElements(),e.openElements.hasInScope(T.NOBR)&&(e5(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case T.MATH:e._reconstructActiveFormattingElements(),eX(t),eJ(t),t.selfClosing?e._appendElement(t,b.MATHML):e._insertElement(t,b.MATHML),t.ackSelfClosing=!0;break;case T.TABLE:e.treeAdapter.getDocumentMode(e.document)!==E.QUIRKS&&e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=A.IN_TABLE;break;case T.INPUT:e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),tc(t)||(e.framesetOk=!1),t.ackSelfClosing=!0;break;case T.PARAM:case T.TRACK:case T.SOURCE:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.IMAGE:t.tagName=v.IMG,t.tagID=T.IMG,tl(e,t);break;case T.BUTTON:e.openElements.hasInScope(T.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1;break;case T.APPLET:case T.OBJECT:case T.MARQUEE:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1;break;case T.IFRAME:e.framesetOk=!1,e._switchToTextParsing(t,eg.RAWTEXT);break;case T.SELECT:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===A.IN_TABLE||e.insertionMode===A.IN_CAPTION||e.insertionMode===A.IN_TABLE_BODY||e.insertionMode===A.IN_ROW||e.insertionMode===A.IN_CELL?A.IN_SELECT_IN_TABLE:A.IN_SELECT;break;case T.OPTION:case T.OPTGROUP:e.openElements.currentTagId===T.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML);break;case T.NOEMBED:tu(e,t);break;case T.FRAMESET:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,b.HTML),e.insertionMode=A.IN_FRAMESET)}(e,t);break;case T.TEXTAREA:e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.tokenizer.state=eg.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=A.TEXT;break;case T.NOSCRIPT:e.options.scriptingEnabled?tu(e,t):td(e,t);break;case T.PLAINTEXT:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.tokenizer.state=eg.PLAINTEXT;break;case T.COL:case T.TH:case T.TD:case T.TR:case T.HEAD:case T.FRAME:case T.TBODY:case T.TFOOT:case T.THEAD:case T.CAPTION:case T.COLGROUP:break;default:td(e,t)}}function tf(e,t){let n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let a=e.openElements.items[t],i=e.openElements.tagIDs[t];if(r===i&&(r!==T.UNKNOWN||e.treeAdapter.getTagName(a)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(a,i))break}}function th(e,t){switch(t.tagID){case T.A:case T.B:case T.I:case T.S:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.NOBR:case T.SMALL:case T.STRIKE:case T.STRONG:e5(e,t);break;case T.P:e.openElements.hasInButtonScope(T.P)||e._insertFakeElement(v.P,T.P),e._closePElement();break;case T.DL:case T.UL:case T.OL:case T.DIR:case T.DIV:case T.NAV:case T.PRE:case T.MAIN:case T.MENU:case T.ASIDE:case T.BUTTON:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.ADDRESS:case T.ARTICLE:case T.DETAILS:case T.SECTION:case T.SUMMARY:case T.LISTING:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case T.LI:e.openElements.hasInListItemScope(T.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(T.LI),e.openElements.popUntilTagNamePopped(T.LI));break;case T.DD:case T.DT:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped());break;case T.BR:e._reconstructActiveFormattingElements(),e._insertFakeElement(v.BR,T.BR),e.openElements.pop(),e.framesetOk=!1;break;case T.BODY:!function(e,t){if(e.openElements.hasInScope(T.BODY)&&(e.insertionMode=A.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}(e,t);break;case T.HTML:e.openElements.hasInScope(T.BODY)&&(e.insertionMode=A.AFTER_BODY,tL(e,t));break;case T.FORM:!function(e){let t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(T.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(T.FORM):n&&e.openElements.remove(n))}(e);break;case T.APPLET:case T.OBJECT:case T.MARQUEE:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}(e,t);break;case T.TEMPLATE:tt(e,t);break;default:tf(e,t)}}function tm(e,t){e.tmplInsertionModeStack.length>0?tN(e,t):e6(e,t)}function tg(e,t){if(e1.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=A.IN_TABLE_TEXT,t.type){case g.CHARACTER:tT(e,t);break;case g.WHITESPACE_CHARACTER:tv(e,t)}else tE(e,t)}function tb(e,t){switch(t.tagID){case T.TD:case T.TH:case T.TR:e.openElements.clearBackToTableContext(),e._insertFakeElement(v.TBODY,T.TBODY),e.insertionMode=A.IN_TABLE_BODY,tk(e,t);break;case T.STYLE:case T.SCRIPT:case T.TEMPLATE:te(e,t);break;case T.COL:e.openElements.clearBackToTableContext(),e._insertFakeElement(v.COLGROUP,T.COLGROUP),e.insertionMode=A.IN_COLUMN_GROUP,tA(e,t);break;case T.FORM:e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,b.HTML),e.formElement=e.openElements.current,e.openElements.pop());break;case T.TABLE:e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode(),e._processStartTag(t));break;case T.TBODY:case T.TFOOT:case T.THEAD:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=A.IN_TABLE_BODY;break;case T.INPUT:tc(t)?e._appendElement(t,b.HTML):tE(e,t),t.ackSelfClosing=!0;break;case T.CAPTION:e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,b.HTML),e.insertionMode=A.IN_CAPTION;break;case T.COLGROUP:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=A.IN_COLUMN_GROUP;break;default:tE(e,t)}}function ty(e,t){switch(t.tagID){case T.TABLE:e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode());break;case T.TEMPLATE:tt(e,t);break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:tE(e,t)}}function tE(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,ti(e,t),e.fosterParentingEnabled=n}function tv(e,t){e.pendingCharacterTokens.push(t)}function tT(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function tS(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0&&e.openElements.currentTagId===T.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===T.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===T.OPTGROUP&&e.openElements.pop();break;case T.OPTION:e.openElements.currentTagId===T.OPTION&&e.openElements.pop();break;case T.SELECT:e.openElements.hasInSelectScope(T.SELECT)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode());break;case T.TEMPLATE:tt(e,t)}}function tN(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):e6(e,t)}function tL(e,t){var n;if(t.tagID===T.HTML){if(e.fragmentContext||(e.insertionMode=A.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===T.HTML){e._setEndLocation(e.openElements.items[0],t);let r=e.openElements.items[1];!r||(null===(n=e.treeAdapter.getNodeSourceCodeLocation(r))||void 0===n?void 0:n.endTag)||e._setEndLocation(r,t)}}else tD(e,t)}function tD(e,t){e.insertionMode=A.IN_BODY,ti(e,t)}function tP(e,t){e.insertionMode=A.IN_BODY,ti(e,t)}function tM(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==b.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}n(43470),v.AREA,v.BASE,v.BASEFONT,v.BGSOUND,v.BR,v.COL,v.EMBED,v.FRAME,v.HR,v.IMG,v.INPUT,v.KEYGEN,v.LINK,v.META,v.PARAM,v.SOURCE,v.TRACK,v.WBR;var tF=n(3980),tj=n(21623);let tB=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),tU={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function tG(e,t){let n=function(e){let t="root"===e.type?e.children[0]:e;return!!(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName.toLowerCase()))}(e),r=q("type",{handlers:{root:t$,element:tz,text:tZ,comment:tV,doctype:tW,raw:tY},unknown:tq}),a={parser:n?new e3(tU):e3.getFragmentParser(void 0,tU),handle(e){r(e,a)},stitches:!1,options:t||{}};r(e,a),tK(a,(0,tF.Pk)());let i=n?a.parser.document:a.parser.getFragment(),o=function(e,t){let n=t||{};return $({file:n.file||void 0,location:!1,schema:"svg"===n.space?x.YP:x.dy,verbose:n.verbose||!1},e)}(i,{file:a.options.file});return(a.stitches&&(0,tj.Vn)(o,"comment",function(e,t,n){if(e.value.stitch&&n&&void 0!==t){let r=n.children;return r[t]=e.value.stitch,t}}),"root"===o.type&&1===o.children.length&&o.children[0].type===e.type)?o.children[0]:o}function tH(e,t){let n=-1;if(e)for(;++n4&&(t.parser.tokenizer.state=0);let n={type:g.CHARACTER,chars:e.value,location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tW(e,t){let n={type:g.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tV(e,t){let n=e.value,r={type:g.COMMENT,data:n,location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function tY(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,tX(t,(0,tF.Pk)(e)),t.parser.tokenizer.write(e.value,!1),t.parser.tokenizer._runParsingLoop(),72===t.parser.tokenizer.state||78===t.parser.tokenizer.state){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;let e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function tq(e,t){if(t.options.passThrough&&t.options.passThrough.includes(e.type))!function(e,t){t.stitches=!0;let n="children"in e?(0,O.ZP)({...e,children:[]}):(0,O.ZP)(e);if("children"in e&&"children"in n){let r=tG({type:"root",children:e.children},t.options);n.children=r.children}tV({type:"comment",value:{stitch:n}},t)}(e,t);else{let t="";throw tB.has(e.type)&&(t=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),Error("Cannot compile `"+e.type+"` node"+t)}}function tK(e,t){tX(e,t);let n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=eg.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function tX(e,t){if(t&&void 0!==t.offset){let n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function tQ(e){let t=(0,tF.Pk)(e)||{line:void 0,column:void 0,offset:void 0},n=(0,tF.rb)(e)||{line:void 0,column:void 0,offset:void 0},r={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset};return r}function tJ(e){return function(t,n){let r=tG(t,{...e,file:n});return r}}},78600:function(e,t,n){"use strict";function r(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,a=n.indexOf(t);for(;-1!==a;)r++,a=n.indexOf(t,a+t.length);return r}n.d(t,{Z:function(){return eQ}});var a=n(24345),i=n(15459),o=n(88718),s=n(96093);let l="phrasing",c=["autolink","link","image","label"];function u(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function d(e){this.config.enter.autolinkProtocol.call(this,e)}function p(e){this.config.exit.autolinkProtocol.call(this,e)}function f(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];(0,a.ok)("link"===t.type),t.url="http://"+this.sliceSerialize(e)}function h(e){this.config.exit.autolinkEmail.call(this,e)}function m(e){this.exit(e)}function g(e){!function(e,t,n){let r=(0,s.O)((n||{}).ignore||[]),a=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r0?{type:"text",value:i}:void 0),!1===i?r.lastIndex=n+1:(s!==n&&d.push({type:"text",value:e.value.slice(s,n)}),Array.isArray(i)?d.push(...i):i&&d.push(i),s=n+p[0].length,u=!0),!r.global)break;p=r.exec(e.value)}return u?(s?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],a=n.indexOf(")"),i=r(e,"("),o=r(e,")");for(;-1!==a&&i>o;)e+=n.slice(0,a+1),a=(n=n.slice(a+1)).indexOf(")"),o++;return[e,n]}(n+a);if(!s[0])return!1;let l={type:"link",title:null,url:o+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[l,{type:"text",value:s[1]}]:l}function y(e,t,n,r){return!(!E(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function E(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||(0,i.B8)(n)||(0,i.Xh)(n))&&(!t||47!==n)}var v=n(11098);function T(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function S(){this.buffer()}function _(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteDefinition"===n.type),n.label=t,n.identifier=(0,v.d)(this.sliceSerialize(e)).toLowerCase()}function A(e){this.exit(e)}function O(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function k(){this.buffer()}function x(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteReference"===n.type),n.label=t,n.identifier=(0,v.d)(this.sliceSerialize(e)).toLowerCase()}function C(e){this.exit(e)}function w(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteReference"),s=n.enter("reference");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),o(),i+=a.move("]")}function I(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteDefinition"),s=n.enter("label");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),i+=a.move("]:"+(e.children&&e.children.length>0?" ":"")),a.shift(4),i+=a.move(n.indentLines(n.containerFlow(e,a.current()),R)),o(),i}function R(e,t,n){return 0===t?e:(n?"":" ")+e}w.peek=function(){return"["};let N=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function L(e){this.enter({type:"delete",children:[]},e)}function D(e){this.exit(e)}function P(e,t,n,r){let a=n.createTracker(r),i=n.enter("strikethrough"),o=a.move("~~");return o+=n.containerPhrasing(e,{...a.current(),before:o,after:"~"})+a.move("~~"),i(),o}function M(e){return e.length}function F(e){let t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function j(e,t,n){return">"+(n?"":" ")+e}function B(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),c+=l.move(")"),o(),c}function q(e,t,n,r){let a=e.referenceType,i=n.enter("imageReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("!["),c=n.safe(e.alt,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function K(e,t,n){let r=e.value||"",a="`",i=-1;for(;RegExp("(^|[^`])"+a+"([^`]|$)").test(r);)a+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i\u007F]/.test(e.url))}function Q(e,t,n,r){let a,i;let o=$(n),s='"'===o?"Quote":"Apostrophe",l=n.createTracker(r);if(X(e,n)){let t=n.stack;n.stack=[],a=n.enter("autolink");let r=l.move("<");return r+=l.move(n.containerPhrasing(e,{before:r,after:">",...l.current()}))+l.move(">"),a(),n.stack=t,r}a=n.enter("link"),i=n.enter("label");let c=l.move("[");return c+=l.move(n.containerPhrasing(e,{before:c,after:"](",...l.current()}))+l.move("]("),i(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(i=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(i=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),i(),e.title&&(i=n.enter(`title${s}`),c+=l.move(" "+o),c+=l.move(n.safe(e.title,{before:c,after:o,...l.current()}))+l.move(o),i()),c+=l.move(")"),a(),c}function J(e,t,n,r){let a=e.referenceType,i=n.enter("linkReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("["),c=n.containerPhrasing(e,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function ee(e){let t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function et(e){let t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}V.peek=function(){return"<"},Y.peek=function(){return"!"},q.peek=function(){return"!"},K.peek=function(){return"`"},Q.peek=function(e,t,n){return X(e,n)?"<":"["},J.peek=function(){return"["};let en=(0,s.O)(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function er(e,t,n,r){let a=function(e){let t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(n),i=n.enter("strong"),o=n.createTracker(r),s=o.move(a+a);return s+=o.move(n.containerPhrasing(e,{before:s,after:a,...o.current()}))+o.move(a+a),i(),s}er.peek=function(e,t,n){return n.options.strong||"*"};let ea={blockquote:function(e,t,n,r){let a=n.enter("blockquote"),i=n.createTracker(r);i.move("> "),i.shift(2);let o=n.indentLines(n.containerFlow(e,i.current()),j);return a(),o},break:U,code:function(e,t,n,r){let a=function(e){let t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),i=e.value||"",o="`"===a?"GraveAccent":"Tilde";if(!1===n.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value)){let e=n.enter("codeIndented"),t=n.indentLines(i,H);return e(),t}let s=n.createTracker(r),l=a.repeat(Math.max((0,G.J)(i,a)+1,3)),c=n.enter("codeFenced"),u=s.move(l);if(e.lang){let t=n.enter(`codeFencedLang${o}`);u+=s.move(n.safe(e.lang,{before:u,after:" ",encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${o}`);u+=s.move(" "),u+=s.move(n.safe(e.meta,{before:u,after:"\n",encode:["`"],...s.current()})),t()}return u+=s.move("\n"),i&&(u+=s.move(i+"\n")),u+=s.move(l),c(),u},definition:function(e,t,n,r){let a=$(n),i='"'===a?"Quote":"Apostrophe",o=n.enter("definition"),s=n.enter("label"),l=n.createTracker(r),c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()}))+l.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":"\n",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),o(),c},emphasis:z,hardBreak:U,heading:function(e,t,n,r){let a;let i=Math.max(Math.min(6,e.depth||1),1),s=n.createTracker(r);if(a=!1,(0,Z.Vn)(e,function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return a=!0,o.BK}),(!e.depth||e.depth<3)&&(0,W.B)(e)&&(n.options.setext||a)){let t=n.enter("headingSetext"),r=n.enter("phrasing"),a=n.containerPhrasing(e,{...s.current(),before:"\n",after:"\n"});return r(),t(),a+"\n"+(1===i?"=":"-").repeat(a.length-(Math.max(a.lastIndexOf("\r"),a.lastIndexOf("\n"))+1))}let l="#".repeat(i),c=n.enter("headingAtx"),u=n.enter("phrasing");s.move(l+" ");let d=n.containerPhrasing(e,{before:"# ",after:"\n",...s.current()});return/^[\t ]/.test(d)&&(d="&#x"+d.charCodeAt(0).toString(16).toUpperCase()+";"+d.slice(1)),d=d?l+" "+d:l,n.options.closeAtx&&(d+=" "+l),u(),c(),d},html:V,image:Y,imageReference:q,inlineCode:K,link:Q,linkReference:J,list:function(e,t,n,r){let a=n.enter("list"),i=n.bulletCurrent,o=e.ordered?function(e){let t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):ee(n),s=e.ordered?"."===o?")":".":function(e){let t=ee(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n),l=!!t&&!!n.bulletLastUsed&&o===n.bulletLastUsed;if(!e.ordered){let t=e.children?e.children[0]:void 0;if("*"!==o&&"-"!==o||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(l=!0),et(n)===o&&t){let t=-1;for(;++t-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+i);let o=i.length+1;("tab"===a||"mixed"===a&&(t&&"list"===t.type&&t.spread||e.spread))&&(o=4*Math.ceil(o/4));let s=n.createTracker(r);s.move(i+" ".repeat(o-i.length)),s.shift(o);let l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),function(e,t,n){return t?(n?"":" ".repeat(o))+e:(n?i:i+" ".repeat(o-i.length))+e});return l(),c},paragraph:function(e,t,n,r){let a=n.enter("paragraph"),i=n.enter("phrasing"),o=n.containerPhrasing(e,r);return i(),a(),o},root:function(e,t,n,r){let a=e.children.some(function(e){return en(e)}),i=a?n.containerPhrasing:n.containerFlow;return i.call(n,e,r)},strong:er,text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){let r=(et(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}};function ei(e){let t=e._align;(0,a.ok)(t,"expected `_align` on table"),this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function eo(e){this.exit(e),this.data.inTable=void 0}function es(e){this.enter({type:"tableRow",children:[]},e)}function el(e){this.exit(e)}function ec(e){this.enter({type:"tableCell",children:[]},e)}function eu(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,ed));let n=this.stack[this.stack.length-1];(0,a.ok)("inlineCode"===n.type),n.value=t,this.exit(e)}function ed(e,t){return"|"===t?t:e}function ep(e){let t=this.stack[this.stack.length-2];(0,a.ok)("listItem"===t.type),t.checked="taskListCheckValueChecked"===e.type}function ef(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1];(0,a.ok)("paragraph"===e.type);let n=e.children[0];if(n&&"text"===n.type){let r;let a=t.children,i=-1;for(;++i0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}eA[43]=e_,eA[45]=e_,eA[46]=e_,eA[95]=e_,eA[72]=[e_,eS],eA[104]=[e_,eS],eA[87]=[e_,eT],eA[119]=[e_,eT];var eR=n(23402),eN=n(42761);let eL={tokenize:function(e,t,n){let r=this;return(0,eN.f)(e,function(e){let a=r.events[r.events.length-1];return a&&"gfmFootnoteDefinitionIndent"===a[1].type&&4===a[2].sliceSerialize(a[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function eD(e,t,n){let r;let a=this,i=a.events.length,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);for(;i--;){let e=a.events[i][1];if("labelImage"===e.type){r=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(i){if(!r||!r._balanced)return n(i);let s=(0,v.d)(a.sliceSerialize({start:r.end,end:a.now()}));return 94===s.codePointAt(0)&&o.includes(s.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(i),e.exit("gfmFootnoteCallLabelMarker"),t(i)):n(i)}}function eP(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;let i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",a,t],["exit",a,t],["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function eM(e,t,n){let r;let a=this,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),s=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),l};function l(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(l){if(s>999||93===l&&!r||null===l||91===l||(0,i.z3)(l))return n(l);if(93===l){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return o.includes((0,v.d)(a.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(l)}return(0,i.z3)(l)||(r=!0),s++,e.consume(l),92===l?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function eF(e,t,n){let r,a;let o=this,s=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]),l=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(t)}function u(t){if(l>999||93===t&&!a||null===t||91===t||(0,i.z3)(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return r=(0,v.d)(o.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return(0,i.z3)(t)||(a=!0),l++,e.consume(t),92===t?d:u}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}function p(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s.includes(r)||s.push(r),(0,eN.f)(e,f,"gfmFootnoteDefinitionWhitespace")):n(t)}function f(e){return t(e)}}function ej(e,t,n){return e.check(eR.w,t,e.attempt(eL,t,n))}function eB(e){e.exit("gfmFootnoteDefinition")}var eU=n(21905),eG=n(62987),eH=n(63233);class e${constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let a=0;if(0!==n||0!==r.length){for(;a0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function ez(e,t,n){let r;let a=this,o=0,s=0;return function(e){let t=a.events.length-1;for(;t>-1;){let e=a.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let r=t>-1?a.events[t][1].type:null,i="tableHead"===r||"tableRow"===r?E:l;return i===E&&a.parser.lazy[a.now().line]?n(e):i(e)};function l(t){return e.enter("tableHead"),e.enter("tableRow"),124===t||(r=!0,s+=1),c(t)}function c(t){return null===t?n(t):(0,i.Ch)(t)?s>1?(s=0,a.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p):n(t):(0,i.xz)(t)?(0,eN.f)(e,c,"whitespace")(t):(s+=1,r&&(r=!1,o+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,c):(e.enter("data"),u(t))}function u(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),c(t)):(e.consume(t),92===t?d:u)}function d(t){return 92===t||124===t?(e.consume(t),u):u(t)}function p(t){return(a.interrupt=!1,a.parser.lazy[a.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,(0,i.xz)(t))?(0,eN.f)(e,f,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):f(t)}function f(t){return 45===t||58===t?m(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),h):n(t)}function h(t){return(0,i.xz)(t)?(0,eN.f)(e,m,"whitespace")(t):m(t)}function m(t){return 58===t?(s+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),g):45===t?(s+=1,g(t)):null===t||(0,i.Ch)(t)?y(t):n(t)}function g(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),b):(e.exit("tableDelimiterFiller"),b(n))}(t)):n(t)}function b(t){return(0,i.xz)(t)?(0,eN.f)(e,y,"whitespace")(t):y(t)}function y(a){return 124===a?f(a):null===a||(0,i.Ch)(a)?r&&o===s?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(a)):n(a):n(a)}function E(t){return e.enter("tableRow"),v(t)}function v(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),v):null===n||(0,i.Ch)(n)?(e.exit("tableRow"),t(n)):(0,i.xz)(n)?(0,eN.f)(e,v,"whitespace")(n):(e.enter("data"),T(n))}function T(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),v(t)):(e.consume(t),92===t?S:T)}function S(t){return 92===t||124===t?(e.consume(t),T):T(t)}}function eZ(e,t){let n,r,a,i=-1,o=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,d=0,p=new e$;for(;++in[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",o,t]])}return void 0!==a&&(i.end=Object.assign({},eY(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function eV(e,t,n,r,a){let i=[],o=eY(t.events,n);a&&(a.end=Object.assign({},o),i.push(["exit",a,t])),r.end=Object.assign({},o),i.push(["exit",r,t]),e.add(n+1,0,i)}function eY(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}let eq={name:"tasklistCheck",tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),a):n(t)};function a(t){return(0,i.z3)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(t)}function s(r){return(0,i.Ch)(r)?t(r):(0,i.xz)(r)?e.check({tokenize:eK},t,n)(r):n(r)}}};function eK(e,t,n){return(0,eN.f)(e,function(e){return null===e?n(e):t(e)},"whitespace")}let eX={};function eQ(e){let t=e||eX,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),i=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push((0,em.W)([{text:eA},{document:{91:{name:"gfmFootnoteDefinition",tokenize:eF,continuation:{tokenize:ej},exit:eB}},text:{91:{name:"gfmFootnoteCall",tokenize:eM},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:eD,resolveTo:eP}}},function(e){let t=(e||{}).singleTilde,n={name:"strikethrough",tokenize:function(e,n,r){let a=this.previous,i=this.events,o=0;return function(s){return 126===a&&"characterEscape"!==i[i.length-1][1].type?r(s):(e.enter("strikethroughSequenceTemporary"),function i(s){let l=(0,eG.r)(a);if(126===s)return o>1?r(s):(e.consume(s),o++,i);if(o<2&&!t)return r(s);let c=e.exit("strikethroughSequenceTemporary"),u=(0,eG.r)(s);return c._open=!u||2===u&&!!l,c._close=!l||2===l&&!!u,n(s)}(s))}},resolveAll:function(e,t){let n=-1;for(;++nl&&(l=e[c].length);++ds[d])&&(s[d]=e)}n.push(i)}i[c]=n,o[c]=a}let d=-1;if("object"==typeof n&&"length"in n)for(;++ds[d]&&(s[d]=i),f[d]=i),p[d]=o}i.splice(1,0,p),o.splice(1,0,f),c=-1;let h=[];for(;++c","Iacute":"\xcd","Icirc":"\xce","Igrave":"\xcc","Iuml":"\xcf","LT":"<","Ntilde":"\xd1","Oacute":"\xd3","Ocirc":"\xd4","Ograve":"\xd2","Oslash":"\xd8","Otilde":"\xd5","Ouml":"\xd6","QUOT":"\\"","REG":"\xae","THORN":"\xde","Uacute":"\xda","Ucirc":"\xdb","Ugrave":"\xd9","Uuml":"\xdc","Yacute":"\xdd","aacute":"\xe1","acirc":"\xe2","acute":"\xb4","aelig":"\xe6","agrave":"\xe0","amp":"&","aring":"\xe5","atilde":"\xe3","auml":"\xe4","brvbar":"\xa6","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","eacute":"\xe9","ecirc":"\xea","egrave":"\xe8","eth":"\xf0","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","iacute":"\xed","icirc":"\xee","iexcl":"\xa1","igrave":"\xec","iquest":"\xbf","iuml":"\xef","laquo":"\xab","lt":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","ntilde":"\xf1","oacute":"\xf3","ocirc":"\xf4","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","oslash":"\xf8","otilde":"\xf5","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","raquo":"\xbb","reg":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","thorn":"\xfe","times":"\xd7","uacute":"\xfa","ucirc":"\xfb","ugrave":"\xf9","uml":"\xa8","uuml":"\xfc","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')}},function(e){e.O(0,[3662,7034,6106,8674,3166,2837,2168,8163,1265,7728,8241,2913,3791,5278,9859,4330,4041,8791,5030,5418,2783,3457,1300,4567,2398,2480,7410,7124,9773,4035,1154,2510,3345,9202,1585,2516,7249,3768,5789,9774,2888,179],function(){return e(e.s=74294)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/app/extra/components/NativeApp-f21ed43122d43a38.js b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/app/extra/components/NativeApp-73f5a2ad66a9a33c.js similarity index 99% rename from packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/app/extra/components/NativeApp-f21ed43122d43a38.js rename to packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/app/extra/components/NativeApp-73f5a2ad66a9a33c.js index 5e86b128a..03341266d 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/app/extra/components/NativeApp-f21ed43122d43a38.js +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/app/extra/components/NativeApp-73f5a2ad66a9a33c.js @@ -1,4 +1,4 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3394,9618,6231,8424,5265,2640,3913],{11475:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},27496:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},94668:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},34971:function(e,t){"use strict";t.Z=function(e,t,n){return en?n:e}},24960:function(e,t,n){"use strict";var r=n(44002);t.Z=function(e){return Array.isArray?Array.isArray(e):(0,r.Z)(e,"Array")}},52176:function(e,t,n){"use strict";var r=n(44002);t.Z=function(e){return(0,r.Z)(e,"Boolean")}},55265:function(e,t){"use strict";t.Z=function(e){return"function"==typeof e}},82993:function(e,t){"use strict";t.Z=function(e){return null==e}},23198:function(e,t,n){"use strict";function r(e,t,n){return void 0===n&&(n=1e-5),Math.abs(e-t)1&&(E*=C=Math.sqrt(C),v*=C);var w=E*E,I=v*v,R=(o===l?-1:1)*Math.sqrt(Math.abs((w*I-w*x*x-I*k*k)/(w*x*x+I*k*k)));m=R*E*x/v+(b+T)/2,g=-(R*v)*k/E+(y+S)/2,f=Math.asin(((y-g)/v*1e9>>0)/1e9),h=Math.asin(((S-g)/v*1e9>>0)/1e9),f=bh&&(f-=2*Math.PI),!l&&h>f&&(h-=2*Math.PI)}var N=h-f;if(Math.abs(N)>A){var L=h,D=T,P=S;_=e(T=m+E*Math.cos(h=f+A*(l&&h>f?1:-1)),S=g+v*Math.sin(h),E,v,i,0,l,D,P,[h,L,m,g])}N=h-f;var M=Math.cos(f),F=Math.cos(h),B=Math.tan(N/4),j=4/3*E*B,U=4/3*v*B,G=[b,y],H=[b+j*Math.sin(f),y-U*M],$=[T+j*Math.sin(h),S-U*F],z=[T,S];if(H[0]=2*G[0]-H[0],H[1]=2*G[1]-H[1],d)return H.concat($,z,_);_=H.concat($,z,_);for(var Z=[],W=0,V=_.length;W7){e[n].shift();for(var r=e[n],a=n;r.length;)t[n]="A",e.splice(a+=1,0,["C"].concat(r.splice(0,6)));e.splice(n,1)}}(d,f,b),m=d.length,"Z"===h&&g.push(b),l=(n=d[b]).length,p.x1=+n[l-2],p.y1=+n[l-1],p.x2=+n[l-4]||p.x1,p.y2=+n[l-3]||p.y1}return t?[d,g]:d}},19586:function(e,t,n){"use strict";n.d(t,{R:function(){return r}});var r={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0}},33554:function(e,t,n){"use strict";n.d(t,{z:function(){return r}});var r={x1:0,y1:0,x2:0,y2:0,x:0,y:0,qx:null,qy:null}},54947:function(e,t,n){"use strict";function r(e){return e.map(function(e){return Array.isArray(e)?[].concat(e):e})}n.d(t,{U:function(){return r}})},94918:function(e,t,n){"use strict";n.d(t,{A:function(){return f}});var r=n(97582),a=n(65336),i=n(33554),o=n(60310),s=n(97153),l=n(19586);function c(e){for(var t=e.pathValue[e.segmentStart],n=t.toLowerCase(),r=e.data;r.length>=l.R[n]&&("m"===n&&r.length>2?(e.segments.push([t].concat(r.splice(0,2))),n="l",t="m"===t?"l":"L"):e.segments.push([t].concat(r.splice(0,l.R[n]))),l.R[n]););}function u(e){return e>=48&&e<=57}function d(e){for(var t,n=e.pathValue,r=e.max;e.index=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].includes(t));)e.index+=1}var p=function(e){this.pathValue=e,this.segments=[],this.max=e.length,this.index=0,this.param=0,this.segmentStart=0,this.data=[],this.err=""};function f(e){if((0,a.y)(e))return[].concat(e);for(var t=function(e){if((0,o.b)(e))return[].concat(e);var t=function(e){if((0,s.n)(e))return[].concat(e);var t=new p(e);for(d(t);t.index0;s-=1){if((32|a)==97&&(3===s||4===s)?function(e){var t=e.index,n=e.pathValue,r=n.charCodeAt(t);if(48===r){e.param=0,e.index+=1;return}if(49===r){e.param=1,e.index+=1;return}e.err='[path-util]: invalid Arc flag "'+n[t]+'", expecting 0 or 1 at index '+t}(e):function(e){var t,n=e.max,r=e.pathValue,a=e.index,i=a,o=!1,s=!1,l=!1,c=!1;if(i>=n){e.err="[path-util]: Invalid path value at index "+i+', "pathValue" is missing param';return}if((43===(t=r.charCodeAt(i))||45===t)&&(i+=1,t=r.charCodeAt(i)),!u(t)&&46!==t){e.err="[path-util]: Invalid path value at index "+i+', "'+r[i]+'" is not a number';return}if(46!==t){if(o=48===t,i+=1,t=r.charCodeAt(i),o&&i=e.max||!((o=n.charCodeAt(e.index))>=48&&o<=57||43===o||45===o||46===o))break}c(e)}(t);return t.err?t.err:t.segments}(e),n=0,r=0,a=0,i=0;return t.map(function(e){var t,o=e.slice(1).map(Number),s=e[0],l=s.toUpperCase();if("M"===s)return n=o[0],r=o[1],a=n,i=r,["M",n,r];if(s!==l)switch(l){case"A":t=[l,o[0],o[1],o[2],o[3],o[4],o[5]+n,o[6]+r];break;case"V":t=[l,o[0]+r];break;case"H":t=[l,o[0]+n];break;default:t=[l].concat(o.map(function(e,t){return e+(t%2?r:n)}))}else t=[l].concat(o);var c=t.length;switch(l){case"Z":n=a,r=i;break;case"H":n=t[1];break;case"V":r=t[1];break;default:n=t[c-2],r=t[c-1],"M"===l&&(a=n,i=r)}return t})}(e),n=(0,r.pi)({},i.z),f=0;f=h[t],m[t]-=g?1:0,g?e.ss:[e.s]}).flat()});return b[0].length===b[1].length?b:e(b[0],b[1],f)}}});var r=n(50944),a=n(51777);function i(e){return e.map(function(e,t,n){var i,o,s,l,c,u,d,p,f,h,m,g,b=t&&n[t-1].slice(-2).concat(e.slice(1)),y=t?(0,a.S)(b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7],b[8],{bbox:!1}).length:0;return g=t?y?(void 0===i&&(i=.5),o=b.slice(0,2),s=b.slice(2,4),l=b.slice(4,6),c=b.slice(6,8),u=(0,r.k)(o,s,i),d=(0,r.k)(s,l,i),p=(0,r.k)(l,c,i),f=(0,r.k)(u,d,i),h=(0,r.k)(d,p,i),m=(0,r.k)(f,h,i),[["C"].concat(u,f,m),["C"].concat(h,p,c)]):[e,e]:[e],{s:e,ss:g,l:y}})}},46516:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var r=n(27872);function a(e){var t,n,a;return t=0,n=0,a=0,(0,r.Y)(e).map(function(e){if("M"===e[0])return t=e[1],n=e[2],0;var r,i,o,s=e.slice(1),l=s[0],c=s[1],u=s[2],d=s[3],p=s[4],f=s[5];return i=t,a=3*((f-(o=n))*(l+u)-(p-i)*(c+d)+c*(i-u)-l*(o-d)+f*(u+i/3)-p*(d+o/3))/20,t=(r=e.slice(-2))[0],n=r[1],a}).reduce(function(e,t){return e+t},0)>=0}},90046:function(e,t,n){"use strict";n.d(t,{r:function(){return i}});var r=n(97582),a=n(10992);function i(e,t,n){return(0,a.s)(e,t,(0,r.pi)((0,r.pi)({},n),{bbox:!1,length:!0})).point}},91952:function(e,t,n){"use strict";n.d(t,{g:function(){return a}});var r=n(58076);function a(e,t){var n,a,i=e.length-1,o=[],s=0,l=(a=(n=e.length)-1,e.map(function(t,r){return e.map(function(t,i){var o=r+i;return 0===i||e[o]&&"M"===e[o][0]?["M"].concat(e[o].slice(-2)):(o>=n&&(o-=a),e[o])})}));return l.forEach(function(n,a){e.slice(1).forEach(function(n,o){s+=(0,r.y)(e[(a+o)%i].slice(-2),t[o%i].slice(-2))}),o[a]=s,s=0}),l[o.indexOf(Math.min.apply(null,o))]}},62436:function(e,t,n){"use strict";n.d(t,{D:function(){return i}});var r=n(97582),a=n(10992);function i(e,t){return(0,a.s)(e,void 0,(0,r.pi)((0,r.pi)({},t),{bbox:!1,length:!0})).length}},60310:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var r=n(97153);function a(e){return(0,r.n)(e)&&e.every(function(e){var t=e[0];return t===t.toUpperCase()})}},65336:function(e,t,n){"use strict";n.d(t,{y:function(){return a}});var r=n(60310);function a(e){return(0,r.b)(e)&&e.every(function(e){var t=e[0];return"ACLMQZ".includes(t)})}},97153:function(e,t,n){"use strict";n.d(t,{n:function(){return a}});var r=n(19586);function a(e){return Array.isArray(e)&&e.every(function(e){var t=e[0].toLowerCase();return r.R[t]===e.length-1&&"achlmqstvz".includes(t)})}},50944:function(e,t,n){"use strict";function r(e,t,n){var r=e[0],a=e[1];return[r+(t[0]-r)*n,a+(t[1]-a)*n]}n.d(t,{k:function(){return r}})},10992:function(e,t,n){"use strict";n.d(t,{s:function(){return c}});var r=n(94918),a=n(50944),i=n(58076);function o(e,t,n,r,o){var s=(0,i.y)([e,t],[n,r]),l={x:0,y:0};if("number"==typeof o){if(o<=0)l={x:e,y:t};else if(o>=s)l={x:n,y:r};else{var c=(0,a.k)([e,t],[n,r],o/s);l={x:c[0],y:c[1]}}}return{length:s,point:l,min:{x:Math.min(e,n),y:Math.min(t,r)},max:{x:Math.max(e,n),y:Math.max(t,r)}}}function s(e,t){var n=e.x,r=e.y,a=t.x,i=t.y,o=Math.sqrt((Math.pow(n,2)+Math.pow(r,2))*(Math.pow(a,2)+Math.pow(i,2)));return(n*i-r*a<0?-1:1)*Math.acos((n*a+r*i)/o)}var l=n(51777);function c(e,t,n){for(var a,c,u,d,p,f,h,m,g,b=(0,r.A)(e),y="number"==typeof t,E=[],v=0,T=0,S=0,A=0,O=[],_=[],k=0,x={x:0,y:0},C=x,w=x,I=x,R=0,N=0,L=b.length;N1&&(b*=m(A),y*=m(A));var O=(Math.pow(b,2)*Math.pow(y,2)-Math.pow(b,2)*Math.pow(S.y,2)-Math.pow(y,2)*Math.pow(S.x,2))/(Math.pow(b,2)*Math.pow(S.y,2)+Math.pow(y,2)*Math.pow(S.x,2)),_=(i!==l?1:-1)*m(O=O<0?0:O),k={x:_*(b*S.y/y),y:_*(-(y*S.x)/b)},x={x:h(E)*k.x-f(E)*k.y+(e+c)/2,y:f(E)*k.x+h(E)*k.y+(t+u)/2},C={x:(S.x-k.x)/b,y:(S.y-k.y)/y},w=s({x:1,y:0},C),I=s(C,{x:(-S.x-k.x)/b,y:(-S.y-k.y)/y});!l&&I>0?I-=2*g:l&&I<0&&(I+=2*g);var R=w+(I%=2*g)*d,N=b*h(R),L=y*f(R);return{x:h(E)*N-f(E)*L+x.x,y:f(E)*N+h(E)*L+x.y}}(e,t,n,r,a,l,c,u,d,w/v)).x,A=h.y,g&&C.push({x:S,y:A}),y&&(O+=(0,i.y)(k,[S,A])),k=[S,A],T&&O>=p&&p>_[2]){var I=(O-p)/(O-_[2]);x={x:k[0]*(1-I)+_[0]*I,y:k[1]*(1-I)+_[1]*I}}_=[S,A,O]}return T&&p>=O&&(x={x:u,y:d}),{length:O,point:x,min:{x:Math.min.apply(null,C.map(function(e){return e.x})),y:Math.min.apply(null,C.map(function(e){return e.y}))},max:{x:Math.max.apply(null,C.map(function(e){return e.x})),y:Math.max.apply(null,C.map(function(e){return e.y}))}}}(E[0],E[1],E[2],E[3],E[4],E[5],E[6],E[7],E[8],(t||0)-R,n||{})).length,x=c.min,C=c.max,w=c.point):"C"===m?(k=(u=(0,l.S)(E[0],E[1],E[2],E[3],E[4],E[5],E[6],E[7],(t||0)-R,n||{})).length,x=u.min,C=u.max,w=u.point):"Q"===m?(k=(d=function(e,t,n,r,a,o,s,l){var c,u=l.bbox,d=void 0===u||u,p=l.length,f=void 0===p||p,h=l.sampleSize,m=void 0===h?10:h,g="number"==typeof s,b=e,y=t,E=0,v=[b,y,0],T=[b,y],S={x:0,y:0},A=[{x:b,y:y}];g&&s<=0&&(S={x:b,y:y});for(var O=0;O<=m;O+=1){if(b=(c=function(e,t,n,r,a,i,o){var s=1-o;return{x:Math.pow(s,2)*e+2*s*o*n+Math.pow(o,2)*a,y:Math.pow(s,2)*t+2*s*o*r+Math.pow(o,2)*i}}(e,t,n,r,a,o,O/m)).x,y=c.y,d&&A.push({x:b,y:y}),f&&(E+=(0,i.y)(T,[b,y])),T=[b,y],g&&E>=s&&s>v[2]){var _=(E-s)/(E-v[2]);S={x:T[0]*(1-_)+v[0]*_,y:T[1]*(1-_)+v[1]*_}}v=[b,y,E]}return g&&s>=E&&(S={x:a,y:o}),{length:E,point:S,min:{x:Math.min.apply(null,A.map(function(e){return e.x})),y:Math.min.apply(null,A.map(function(e){return e.y}))},max:{x:Math.max.apply(null,A.map(function(e){return e.x})),y:Math.max.apply(null,A.map(function(e){return e.y}))}}}(E[0],E[1],E[2],E[3],E[4],E[5],(t||0)-R,n||{})).length,x=d.min,C=d.max,w=d.point):"Z"===m&&(k=(p=o((E=[v,T,S,A])[0],E[1],E[2],E[3],(t||0)-R)).length,x=p.min,C=p.max,w=p.point),y&&R=t&&(I=w),_.push(C),O.push(x),R+=k,v=(f="Z"!==m?g.slice(-2):[S,A])[0],T=f[1];return y&&t>=R&&(I={x:v,y:T}),{length:R,point:I,min:{x:Math.min.apply(null,O.map(function(e){return e.x})),y:Math.min.apply(null,O.map(function(e){return e.y}))},max:{x:Math.max.apply(null,_.map(function(e){return e.x})),y:Math.max.apply(null,_.map(function(e){return e.y}))}}}},51777:function(e,t,n){"use strict";n.d(t,{S:function(){return a}});var r=n(58076);function a(e,t,n,a,i,o,s,l,c,u){var d,p=u.bbox,f=void 0===p||p,h=u.length,m=void 0===h||h,g=u.sampleSize,b=void 0===g?10:g,y="number"==typeof c,E=e,v=t,T=0,S=[E,v,0],A=[E,v],O={x:0,y:0},_=[{x:E,y:v}];y&&c<=0&&(O={x:E,y:v});for(var k=0;k<=b;k+=1){if(E=(d=function(e,t,n,r,a,i,o,s,l){var c=1-l;return{x:Math.pow(c,3)*e+3*Math.pow(c,2)*l*n+3*c*Math.pow(l,2)*a+Math.pow(l,3)*o,y:Math.pow(c,3)*t+3*Math.pow(c,2)*l*r+3*c*Math.pow(l,2)*i+Math.pow(l,3)*s}}(e,t,n,a,i,o,s,l,k/b)).x,v=d.y,f&&_.push({x:E,y:v}),m&&(T+=(0,r.y)(A,[E,v])),A=[E,v],y&&T>=c&&c>S[2]){var x=(T-c)/(T-S[2]);O={x:A[0]*(1-x)+S[0]*x,y:A[1]*(1-x)+S[1]*x}}S=[E,v,T]}return y&&c>=T&&(O={x:s,y:l}),{length:T,point:O,min:{x:Math.min.apply(null,_.map(function(e){return e.x})),y:Math.min.apply(null,_.map(function(e){return e.y}))},max:{x:Math.max.apply(null,_.map(function(e){return e.x})),y:Math.max.apply(null,_.map(function(e){return e.y}))}}}},4503:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function i(e,t,r,i,o){if("function"!=typeof r)throw TypeError("The listener must be a function");var s=new a(r,i||e,o),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function o(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,a=[];if(0===this._eventsCount)return a;for(r in e=this._events)t.call(e,r)&&a.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?a.concat(Object.getOwnPropertySymbols(e)):a},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var a=0,i=r.length,o=Array(i);at.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let o="text/event-stream",s="last-event-id";function l(e,t){var{signal:n,headers:l,onopen:u,onmessage:d,onclose:p,onerror:f,openWhenHidden:h,fetch:m}=t,g=i(t,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((t,i)=>{let b;let y=Object.assign({},l);function E(){b.abort(),document.hidden||_()}y.accept||(y.accept=o),h||document.addEventListener("visibilitychange",E);let v=1e3,T=0;function S(){document.removeEventListener("visibilitychange",E),window.clearTimeout(T),b.abort()}null==n||n.addEventListener("abort",()=>{S(),t()});let A=null!=m?m:window.fetch,O=null!=u?u:c;async function _(){var n,o;b=new AbortController;try{let n,i,l,c;let u=await A(e,Object.assign(Object.assign({},g),{headers:y,signal:b.signal}));await O(u),await r(u.body,(o=function(e,t,n){let r=a(),i=new TextDecoder;return function(o,s){if(0===o.length)null==n||n(r),r=a();else if(s>0){let n=i.decode(o.subarray(0,s)),a=s+(32===o[s+1]?2:1),l=i.decode(o.subarray(a));switch(n){case"data":r.data=r.data?r.data+"\n"+l:l;break;case"event":r.event=l;break;case"id":e(r.id=l);break;case"retry":let c=parseInt(l,10);isNaN(c)||t(r.retry=c)}}}}(e=>{e?y[s]=e:delete y[s]},e=>{v=e},d),c=!1,function(e){void 0===n?(n=e,i=0,l=-1):n=function(e,t){let n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}(n,e);let t=n.length,r=0;for(;i=n?k.text.primary:_.text.primary;return t}let w=({color:e,name:t,mainShade:n=500,lightShade:i=300,darkShade:o=700})=>{if(!(e=(0,r.Z)({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw Error((0,u.Z)(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw Error((0,u.Z)(12,t?` (${t})`:"",JSON.stringify(e.main)));return x(e,"light",i,a),x(e,"dark",o,a),e.contrastText||(e.contrastText=C(e.main)),e},I=(0,d.Z)((0,r.Z)({common:(0,r.Z)({},g),mode:t,primary:w({color:s,name:"primary"}),secondary:w({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:w({color:c,name:"error"}),warning:w({color:h,name:"warning"}),info:w({color:p,name:"info"}),success:w({color:f,name:"success"}),grey:b,contrastThreshold:n,getContrastText:C,augmentColor:w,tonalOffset:a},{dark:k,light:_}[t]),o);return I}(a),R=(0,h.Z)(e),U=(0,d.Z)(R,{mixins:(t=R.breakpoints,(0,r.Z)({toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}}},n)),palette:c,shadows:N.slice(),typography:function(e,t){let n="function"==typeof t?t(e):t,{fontFamily:a=I,fontSize:o=14,fontWeightLight:s=300,fontWeightRegular:l=400,fontWeightMedium:c=500,fontWeightBold:u=700,htmlFontSize:p=16,allVariants:f,pxToRem:h}=n,m=(0,i.Z)(n,C),g=o/14,b=h||(e=>`${e/p*g}rem`),y=(e,t,n,i,o)=>(0,r.Z)({fontFamily:a,fontWeight:e,fontSize:b(t),lineHeight:n},a===I?{letterSpacing:`${Math.round(1e5*(i/t))/1e5}em`}:{},o,f),E={h1:y(s,96,1.167,-1.5),h2:y(s,60,1.2,-.5),h3:y(l,48,1.167,0),h4:y(l,34,1.235,.25),h5:y(l,24,1.334,0),h6:y(c,20,1.6,.15),subtitle1:y(l,16,1.75,.15),subtitle2:y(c,14,1.57,.1),body1:y(l,16,1.5,.15),body2:y(l,14,1.43,.15),button:y(c,14,1.75,.4,w),caption:y(l,12,1.66,.4),overline:y(l,12,2.66,1,w),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,d.Z)((0,r.Z)({htmlFontSize:p,pxToRem:b,fontFamily:a,fontSize:o,fontWeightLight:s,fontWeightRegular:l,fontWeightMedium:c,fontWeightBold:u},E),m,{clone:!1})}(c,s),transitions:function(e){let t=(0,r.Z)({},D,e.easing),n=(0,r.Z)({},P,e.duration);return(0,r.Z)({getAutoHeightDuration:F,create:(e=["all"],r={})=>{let{duration:a=n.standard,easing:o=t.easeInOut,delay:s=0}=r;return(0,i.Z)(r,L),(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof a?a:M(a)} ${o} ${"string"==typeof s?s:M(s)}`).join(",")}},e,{easing:t,duration:n})}(o),zIndex:(0,r.Z)({},B)});return(U=[].reduce((e,t)=>(0,d.Z)(e,t),U=(0,d.Z)(U,l))).unstable_sxConfig=(0,r.Z)({},p.Z,null==l?void 0:l.unstable_sxConfig),U.unstable_sx=function(e){return(0,f.Z)({sx:e,theme:this})},U}();var G="$$material",H=n(58128);let $=(0,H.ZP)({themeId:G,defaultTheme:U,rootShouldForwardProp:e=>"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e&&"classes"!==e});var z=n(1977),Z=n(8027);function W(e){return(0,Z.ZP)("MuiSvgIcon",e)}(0,z.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var V=n(85893);let Y=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],q=e=>{let{color:t,fontSize:n,classes:r}=e,a={root:["root","inherit"!==t&&`color${l(t)}`,`fontSize${l(n)}`]};return(0,s.Z)(a,W,r)},K=$("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${l(n.color)}`],t[`fontSize${l(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,a,i,o,s,l,c,u,d,p,f,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(a=e.transitions)||null==(a=a.duration)?void 0:a.shorter}),fontSize:({inherit:"inherit",small:(null==(i=e.typography)||null==(o=i.pxToRem)?void 0:o.call(i,20))||"1.25rem",medium:(null==(s=e.typography)||null==(l=s.pxToRem)?void 0:l.call(s,24))||"1.5rem",large:(null==(c=e.typography)||null==(u=c.pxToRem)?void 0:u.call(c,35))||"2.1875rem"})[t.fontSize],color:null!=(d=null==(p=(e.vars||e).palette)||null==(p=p[t.color])?void 0:p.main)?d:({action:null==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.active,disabled:null==(h=(e.vars||e).palette)||null==(h=h.action)?void 0:h.disabled,inherit:void 0})[t.color]}}),X=a.forwardRef(function(e,t){let n=function({props:e,name:t}){return(0,c.Z)({props:e,name:t,defaultTheme:U,themeId:G})}({props:e,name:"MuiSvgIcon"}),{children:s,className:l,color:u="inherit",component:d="svg",fontSize:p="medium",htmlColor:f,inheritViewBox:h=!1,titleAccess:m,viewBox:g="0 0 24 24"}=n,b=(0,i.Z)(n,Y),y=a.isValidElement(s)&&"svg"===s.type,E=(0,r.Z)({},n,{color:u,component:d,fontSize:p,instanceFontSize:e.fontSize,inheritViewBox:h,viewBox:g,hasSvgAsChild:y}),v={};h||(v.viewBox=g);let T=q(E);return(0,V.jsxs)(K,(0,r.Z)({as:d,className:(0,o.Z)(T.root,l),focusable:"false",color:f,"aria-hidden":!m||void 0,role:m?"img":void 0,ref:t},v,b,y&&s.props,{ownerState:E,children:[y?s.props.children:s,m?(0,V.jsx)("title",{children:m}):null]}))});function Q(e,t){function n(n,a){return(0,V.jsx)(X,(0,r.Z)({"data-testid":`${t}Icon`,ref:a},n,{children:e}))}return n.muiName=X.muiName,a.memo(a.forwardRef(n))}X.muiName="SvgIcon"},2101:function(e,t,n){"use strict";var r=n(64836);t._j=function(e,t){if(e=s(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return l(e)},t.mi=function(e,t){let n=c(e),r=c(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)},t.$n=function(e,t){if(e=s(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return l(e)};var a=r(n(743)),i=r(n(49425));function o(e,t=0,n=1){return(0,i.default)(e,t,n)}function s(e){let t;if(e.type)return e;if("#"===e.charAt(0))return s(function(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map(e=>e+e)),n?`rgb${4===n.length?"a":""}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));let n=e.indexOf("("),r=e.substring(0,n);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw Error((0,a.default)(9,e));let i=e.substring(n+1,e.length-1);if("color"===r){if(t=(i=i.split(" ")).shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(t))throw Error((0,a.default)(10,t))}else i=i.split(",");return{type:r,values:i=i.map(e=>parseFloat(e)),colorSpace:t}}function l(e){let{type:t,colorSpace:n}=e,{values:r}=e;return -1!==t.indexOf("rgb")?r=r.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),`${t}(${r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`})`}function c(e){let t="hsl"===(e=s(e)).type||"hsla"===e.type?s(function(e){e=s(e);let{values:t}=e,n=t[0],r=t[1]/100,a=t[2]/100,i=r*Math.min(a,1-a),o=(e,t=(e+n/30)%12)=>a-i*Math.max(Math.min(t-3,9-t,1),-1),c="rgb",u=[Math.round(255*o(0)),Math.round(255*o(8)),Math.round(255*o(4))];return"hsla"===e.type&&(c+="a",u.push(t[3])),l({type:c,values:u})}(e)).values:e.values;return Number((.2126*(t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)))[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}},58128:function(e,t,n){"use strict";var r=n(64836);t.ZP=function(e={}){let{themeId:t,defaultTheme:n=m,rootShouldForwardProp:r=h,slotShouldForwardProp:l=h}=e,u=e=>(0,c.default)((0,a.default)({},e,{theme:b((0,a.default)({},e,{defaultTheme:n,themeId:t}))}));return u.__mui_systemSx=!0,(e,c={})=>{var d;let f;(0,o.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));let{name:m,slot:E,skipVariantsResolver:v,skipSx:T,overridesResolver:S=(d=g(E))?(e,t)=>t[d]:null}=c,A=(0,i.default)(c,p),O=void 0!==v?v:E&&"Root"!==E&&"root"!==E||!1,_=T||!1,k=h;"Root"===E||"root"===E?k=r:E?k=l:"string"==typeof e&&e.charCodeAt(0)>96&&(k=void 0);let x=(0,o.default)(e,(0,a.default)({shouldForwardProp:k,label:f},A)),C=e=>"function"==typeof e&&e.__emotion_real!==e||(0,s.isPlainObject)(e)?r=>y(e,(0,a.default)({},r,{theme:b({theme:r.theme,defaultTheme:n,themeId:t})})):e,w=(r,...i)=>{let o=C(r),s=i?i.map(C):[];m&&S&&s.push(e=>{let r=b((0,a.default)({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[m]||!r.components[m].styleOverrides)return null;let i=r.components[m].styleOverrides,o={};return Object.entries(i).forEach(([t,n])=>{o[t]=y(n,(0,a.default)({},e,{theme:r}))}),S(e,o)}),m&&!O&&s.push(e=>{var r;let i=b((0,a.default)({},e,{defaultTheme:n,themeId:t})),o=null==i||null==(r=i.components)||null==(r=r[m])?void 0:r.variants;return y({variants:o},(0,a.default)({},e,{theme:i}))}),_||s.push(u);let l=s.length-i.length;if(Array.isArray(r)&&l>0){let e=Array(l).fill("");(o=[...r,...e]).raw=[...r.raw,...e]}let c=x(o,...s);return e.muiName&&(c.muiName=e.muiName),c};return x.withConfig&&(w.withConfig=x.withConfig),w}};var a=r(n(10434)),i=r(n(7071)),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(23534)),s=n(211);r(n(99698)),r(n(37889));var l=r(n(19926)),c=r(n(386));let u=["ownerState"],d=["variants"],p=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function h(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}let m=(0,l.default)(),g=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function b({defaultTheme:e,theme:t,themeId:n}){return 0===Object.keys(t).length?e:t[n]||t}function y(e,t){let{ownerState:n}=t,r=(0,i.default)(t,u),o="function"==typeof e?e((0,a.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(e=>y(e,(0,a.default)({ownerState:n},r)));if(o&&"object"==typeof o&&Array.isArray(o.variants)){let{variants:e=[]}=o,t=(0,i.default)(o,d),s=t;return e.forEach(e=>{let t=!0;"function"==typeof e.props?t=e.props((0,a.default)({ownerState:n},r,n)):Object.keys(e.props).forEach(a=>{(null==n?void 0:n[a])!==e.props[a]&&r[a]!==e.props[a]&&(t=!1)}),t&&(Array.isArray(s)||(s=[s]),s.push("function"==typeof e.style?e.style((0,a.default)({ownerState:n},r,n)):e.style))}),s}return o}},19926:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},private_createBreakpoints:function(){return a.Z},unstable_applyStyles:function(){return i.Z}});var r=n(88647),a=n(41512),i=n(57064)},386:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},extendSxProp:function(){return a.Z},unstable_createStyleFunctionSx:function(){return r.n},unstable_defaultSxConfig:function(){return i.Z}});var r=n(86523),a=n(39707),i=n(44920)},99698:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(62908)},49425:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r}});var r=function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}},211:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},isPlainObject:function(){return r.P}});var r=n(68027)},743:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(78758)},37889:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return l},getFunctionName:function(){return i}});var r=n(59864);let a=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function i(e){let t=`${e}`.match(a),n=t&&t[1];return n||""}function o(e,t=""){return e.displayName||e.name||i(e)||t}function s(e,t,n){let r=o(t);return e.displayName||(""!==r?`${n}(${r})`:n)}function l(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return o(e,"Component");if("object"==typeof e)switch(e.$$typeof){case r.ForwardRef:return s(e,e.render,"ForwardRef");case r.Memo:return s(e,e.type,"memo")}}}},2093:function(e,t,n){"use strict";var r=n(97582),a=n(67294),i=n(92770);t.Z=function(e,t){(0,a.useEffect)(function(){var t=e(),n=!1;return!function(){(0,r.mG)(this,void 0,void 0,function(){return(0,r.Jh)(this,function(e){switch(e.label){case 0:if(!(0,i.mf)(t[Symbol.asyncIterator]))return[3,4];e.label=1;case 1:return[4,t.next()];case 2:if(e.sent().done||n)return[3,3];return[3,1];case 3:return[3,6];case 4:return[4,t];case 5:e.sent(),e.label=6;case 6:return[2]}})})}(),function(){n=!0}},t)}},85265:function(e,t,n){"use strict";n.d(t,{Z:function(){return q}});var r=n(67294),a=n(93967),i=n.n(a),o=n(1413),s=n(97685),l=n(2788),c=n(8410),u=r.createContext(null),d=r.createContext({}),p=n(4942),f=n(87462),h=n(29372),m=n(15105),g=n(64217),b=n(45987),y=n(42550),E=["prefixCls","className","containerRef"],v=function(e){var t=e.prefixCls,n=e.className,a=e.containerRef,o=(0,b.Z)(e,E),s=r.useContext(d).panel,l=(0,y.x1)(s,a);return r.createElement("div",(0,f.Z)({className:i()("".concat(t,"-content"),n),role:"dialog",ref:l},(0,g.Z)(e,{aria:!0}),{"aria-modal":"true"},o))},T=n(80334);function S(e){return"string"==typeof e&&String(Number(e))===e?((0,T.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var A={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"},O=r.forwardRef(function(e,t){var n,a,l,c=e.prefixCls,d=e.open,b=e.placement,y=e.inline,E=e.push,T=e.forceRender,O=e.autoFocus,_=e.keyboard,k=e.classNames,x=e.rootClassName,C=e.rootStyle,w=e.zIndex,I=e.className,R=e.id,N=e.style,L=e.motion,D=e.width,P=e.height,M=e.children,F=e.mask,B=e.maskClosable,j=e.maskMotion,U=e.maskClassName,G=e.maskStyle,H=e.afterOpenChange,$=e.onClose,z=e.onMouseEnter,Z=e.onMouseOver,W=e.onMouseLeave,V=e.onClick,Y=e.onKeyDown,q=e.onKeyUp,K=e.styles,X=e.drawerRender,Q=r.useRef(),J=r.useRef(),ee=r.useRef();r.useImperativeHandle(t,function(){return Q.current}),r.useEffect(function(){if(d&&O){var e;null===(e=Q.current)||void 0===e||e.focus({preventScroll:!0})}},[d]);var et=r.useState(!1),en=(0,s.Z)(et,2),er=en[0],ea=en[1],ei=r.useContext(u),eo=null!==(n=null!==(a=null===(l="boolean"==typeof E?E?{}:{distance:0}:E||{})||void 0===l?void 0:l.distance)&&void 0!==a?a:null==ei?void 0:ei.pushDistance)&&void 0!==n?n:180,es=r.useMemo(function(){return{pushDistance:eo,push:function(){ea(!0)},pull:function(){ea(!1)}}},[eo]);r.useEffect(function(){var e,t;d?null==ei||null===(e=ei.push)||void 0===e||e.call(ei):null==ei||null===(t=ei.pull)||void 0===t||t.call(ei)},[d]),r.useEffect(function(){return function(){var e;null==ei||null===(e=ei.pull)||void 0===e||e.call(ei)}},[]);var el=F&&r.createElement(h.ZP,(0,f.Z)({key:"mask"},j,{visible:d}),function(e,t){var n=e.className,a=e.style;return r.createElement("div",{className:i()("".concat(c,"-mask"),n,null==k?void 0:k.mask,U),style:(0,o.Z)((0,o.Z)((0,o.Z)({},a),G),null==K?void 0:K.mask),onClick:B&&d?$:void 0,ref:t})}),ec="function"==typeof L?L(b):L,eu={};if(er&&eo)switch(b){case"top":eu.transform="translateY(".concat(eo,"px)");break;case"bottom":eu.transform="translateY(".concat(-eo,"px)");break;case"left":eu.transform="translateX(".concat(eo,"px)");break;default:eu.transform="translateX(".concat(-eo,"px)")}"left"===b||"right"===b?eu.width=S(D):eu.height=S(P);var ed={onMouseEnter:z,onMouseOver:Z,onMouseLeave:W,onClick:V,onKeyDown:Y,onKeyUp:q},ep=r.createElement(h.ZP,(0,f.Z)({key:"panel"},ec,{visible:d,forceRender:T,onVisibleChanged:function(e){null==H||H(e)},removeOnLeave:!1,leavedClassName:"".concat(c,"-content-wrapper-hidden")}),function(t,n){var a=t.className,s=t.style,l=r.createElement(v,(0,f.Z)({id:R,containerRef:n,prefixCls:c,className:i()(I,null==k?void 0:k.content),style:(0,o.Z)((0,o.Z)({},N),null==K?void 0:K.content)},(0,g.Z)(e,{aria:!0}),ed),M);return r.createElement("div",(0,f.Z)({className:i()("".concat(c,"-content-wrapper"),null==k?void 0:k.wrapper,a),style:(0,o.Z)((0,o.Z)((0,o.Z)({},eu),s),null==K?void 0:K.wrapper)},(0,g.Z)(e,{data:!0})),X?X(l):l)}),ef=(0,o.Z)({},C);return w&&(ef.zIndex=w),r.createElement(u.Provider,{value:es},r.createElement("div",{className:i()(c,"".concat(c,"-").concat(b),x,(0,p.Z)((0,p.Z)({},"".concat(c,"-open"),d),"".concat(c,"-inline"),y)),style:ef,tabIndex:-1,ref:Q,onKeyDown:function(e){var t,n,r=e.keyCode,a=e.shiftKey;switch(r){case m.Z.TAB:r===m.Z.TAB&&(a||document.activeElement!==ee.current?a&&document.activeElement===J.current&&(null===(n=ee.current)||void 0===n||n.focus({preventScroll:!0})):null===(t=J.current)||void 0===t||t.focus({preventScroll:!0}));break;case m.Z.ESC:$&&_&&(e.stopPropagation(),$(e))}}},el,r.createElement("div",{tabIndex:0,ref:J,style:A,"aria-hidden":"true","data-sentinel":"start"}),ep,r.createElement("div",{tabIndex:0,ref:ee,style:A,"aria-hidden":"true","data-sentinel":"end"})))}),_=function(e){var t=e.open,n=e.prefixCls,a=e.placement,i=e.autoFocus,u=e.keyboard,p=e.width,f=e.mask,h=void 0===f||f,m=e.maskClosable,g=e.getContainer,b=e.forceRender,y=e.afterOpenChange,E=e.destroyOnClose,v=e.onMouseEnter,T=e.onMouseOver,S=e.onMouseLeave,A=e.onClick,_=e.onKeyDown,k=e.onKeyUp,x=e.panelRef,C=r.useState(!1),w=(0,s.Z)(C,2),I=w[0],R=w[1],N=r.useState(!1),L=(0,s.Z)(N,2),D=L[0],P=L[1];(0,c.Z)(function(){P(!0)},[]);var M=!!D&&void 0!==t&&t,F=r.useRef(),B=r.useRef();(0,c.Z)(function(){M&&(B.current=document.activeElement)},[M]);var j=r.useMemo(function(){return{panel:x}},[x]);if(!b&&!I&&!M&&E)return null;var U=(0,o.Z)((0,o.Z)({},e),{},{open:M,prefixCls:void 0===n?"rc-drawer":n,placement:void 0===a?"right":a,autoFocus:void 0===i||i,keyboard:void 0===u||u,width:void 0===p?378:p,mask:h,maskClosable:void 0===m||m,inline:!1===g,afterOpenChange:function(e){var t,n;R(e),null==y||y(e),e||!B.current||null!==(t=F.current)&&void 0!==t&&t.contains(B.current)||null===(n=B.current)||void 0===n||n.focus({preventScroll:!0})},ref:F},{onMouseEnter:v,onMouseOver:T,onMouseLeave:S,onClick:A,onKeyDown:_,onKeyUp:k});return r.createElement(d.Provider,{value:j},r.createElement(l.Z,{open:M||b||I,autoDestroy:!1,getContainer:g,autoLock:h&&(M||I)},r.createElement(O,U)))},k=n(89942),x=n(87263),C=n(33603),w=n(43945),I=n(53124),R=n(16569),N=n(69760),L=n(48054),D=e=>{var t,n;let{prefixCls:a,title:o,footer:s,extra:l,loading:c,onClose:u,headerStyle:d,bodyStyle:p,footerStyle:f,children:h,classNames:m,styles:g}=e,{drawer:b}=r.useContext(I.E_),y=r.useCallback(e=>r.createElement("button",{type:"button",onClick:u,"aria-label":"Close",className:`${a}-close`},e),[u]),[E,v]=(0,N.Z)((0,N.w)(e),(0,N.w)(b),{closable:!0,closeIconRender:y}),T=r.useMemo(()=>{var e,t;return o||E?r.createElement("div",{style:Object.assign(Object.assign(Object.assign({},null===(e=null==b?void 0:b.styles)||void 0===e?void 0:e.header),d),null==g?void 0:g.header),className:i()(`${a}-header`,{[`${a}-header-close-only`]:E&&!o&&!l},null===(t=null==b?void 0:b.classNames)||void 0===t?void 0:t.header,null==m?void 0:m.header)},r.createElement("div",{className:`${a}-header-title`},v,o&&r.createElement("div",{className:`${a}-title`},o)),l&&r.createElement("div",{className:`${a}-extra`},l)):null},[E,v,l,d,a,o]),S=r.useMemo(()=>{var e,t;if(!s)return null;let n=`${a}-footer`;return r.createElement("div",{className:i()(n,null===(e=null==b?void 0:b.classNames)||void 0===e?void 0:e.footer,null==m?void 0:m.footer),style:Object.assign(Object.assign(Object.assign({},null===(t=null==b?void 0:b.styles)||void 0===t?void 0:t.footer),f),null==g?void 0:g.footer)},s)},[s,f,a]);return r.createElement(r.Fragment,null,T,r.createElement("div",{className:i()(`${a}-body`,null==m?void 0:m.body,null===(t=null==b?void 0:b.classNames)||void 0===t?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},null===(n=null==b?void 0:b.styles)||void 0===n?void 0:n.body),p),null==g?void 0:g.body)},c?r.createElement(L.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${a}-body-skeleton`}):h),S)},P=n(25446),M=n(14747),F=n(83559),B=n(83262);let j=e=>{let t="100%";return({left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`})[e]},U=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),G=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}}},U({opacity:e},{opacity:1})),H=(e,t)=>[G(.7,t),U({transform:j(e)},{transform:"none"})];var $=e=>{let{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:G(0,n),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce((e,t)=>Object.assign(Object.assign({},e),{[`&-${t}`]:H(t,n)}),{})}}};let z=e=>{let{borderRadiusSM:t,componentCls:n,zIndexPopup:r,colorBgMask:a,colorBgElevated:i,motionDurationSlow:o,motionDurationMid:s,paddingXS:l,padding:c,paddingLG:u,fontSizeLG:d,lineHeightLG:p,lineWidth:f,lineType:h,colorSplit:m,marginXS:g,colorIcon:b,colorIconHover:y,colorBgTextHover:E,colorBgTextActive:v,colorText:T,fontWeightStrong:S,footerPaddingBlock:A,footerPaddingInline:O,calc:_}=e,k=`${n}-content-wrapper`;return{[n]:{position:"fixed",inset:0,zIndex:r,pointerEvents:"none",color:T,"&-pure":{position:"relative",background:i,display:"flex",flexDirection:"column",[`&${n}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${n}-mask`]:{position:"absolute",inset:0,zIndex:r,background:a,pointerEvents:"auto"},[k]:{position:"absolute",zIndex:r,maxWidth:"100vw",transition:`all ${o}`,"&-hidden":{display:"none"}},[`&-left > ${k}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${k}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${k}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${k}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${n}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:i,pointerEvents:"auto"},[`${n}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,P.bf)(c)} ${(0,P.bf)(u)}`,fontSize:d,lineHeight:p,borderBottom:`${(0,P.bf)(f)} ${h} ${m}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:"none"},[`${n}-close`]:Object.assign({display:"inline-flex",width:_(d).add(l).equal(),height:_(d).add(l).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",marginInlineEnd:g,color:b,fontWeight:S,fontSize:d,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${s}`,textRendering:"auto","&:hover":{color:y,backgroundColor:E,textDecoration:"none"},"&:active":{backgroundColor:v}},(0,M.Qy)(e)),[`${n}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:d,lineHeight:p},[`${n}-body`]:{flex:1,minWidth:0,minHeight:0,padding:u,overflow:"auto",[`${n}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${n}-footer`]:{flexShrink:0,padding:`${(0,P.bf)(A)} ${(0,P.bf)(O)}`,borderTop:`${(0,P.bf)(f)} ${h} ${m}`},"&-rtl":{direction:"rtl"}}}};var Z=(0,F.I$)("Drawer",e=>{let t=(0,B.IX)(e,{});return[z(t),$(t)]},e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding})),W=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let V={distance:180},Y=e=>{let{rootClassName:t,width:n,height:a,size:o="default",mask:s=!0,push:l=V,open:c,afterOpenChange:u,onClose:d,prefixCls:p,getContainer:f,style:h,className:m,visible:g,afterVisibleChange:b,maskStyle:y,drawerStyle:E,contentWrapperStyle:v}=e,T=W(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:S,getPrefixCls:A,direction:O,drawer:N}=r.useContext(I.E_),L=A("drawer",p),[P,M,F]=Z(L),B=void 0===f&&S?()=>S(document.body):f,j=i()({"no-mask":!s,[`${L}-rtl`]:"rtl"===O},t,M,F),U=r.useMemo(()=>null!=n?n:"large"===o?736:378,[n,o]),G=r.useMemo(()=>null!=a?a:"large"===o?736:378,[a,o]),H={motionName:(0,C.m)(L,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},$=(0,R.H)(),[z,Y]=(0,x.Cn)("Drawer",T.zIndex),{classNames:q={},styles:K={}}=T,{classNames:X={},styles:Q={}}=N||{};return P(r.createElement(k.Z,{form:!0,space:!0},r.createElement(w.Z.Provider,{value:Y},r.createElement(_,Object.assign({prefixCls:L,onClose:d,maskMotion:H,motion:e=>({motionName:(0,C.m)(L,`panel-motion-${e}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500})},T,{classNames:{mask:i()(q.mask,X.mask),content:i()(q.content,X.content),wrapper:i()(q.wrapper,X.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},K.mask),y),Q.mask),content:Object.assign(Object.assign(Object.assign({},K.content),E),Q.content),wrapper:Object.assign(Object.assign(Object.assign({},K.wrapper),v),Q.wrapper)},open:null!=c?c:g,mask:s,push:l,width:U,height:G,style:Object.assign(Object.assign({},null==N?void 0:N.style),h),className:i()(null==N?void 0:N.className,m),rootClassName:j,getContainer:B,afterOpenChange:null!=u?u:b,panelRef:$,zIndex:z}),r.createElement(D,Object.assign({prefixCls:L},T,{onClose:d}))))))};Y._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,style:n,className:a,placement:o="right"}=e,s=W(e,["prefixCls","style","className","placement"]),{getPrefixCls:l}=r.useContext(I.E_),c=l("drawer",t),[u,d,p]=Z(c),f=i()(c,`${c}-pure`,`${c}-${o}`,d,p,a);return u(r.createElement("div",{className:f,style:n},r.createElement(D,Object.assign({prefixCls:c},s))))};var q=Y},86250:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r=n(67294),a=n(93967),i=n.n(a),o=n(98423),s=n(98065),l=n(53124),c=n(83559),u=n(83262);let d=["wrap","nowrap","wrap-reverse"],p=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],f=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],h=(e,t)=>{let n=!0===t.wrap?"wrap":t.wrap;return{[`${e}-wrap-${n}`]:n&&d.includes(n)}},m=(e,t)=>{let n={};return f.forEach(r=>{n[`${e}-align-${r}`]=t.align===r}),n[`${e}-align-stretch`]=!t.align&&!!t.vertical,n},g=(e,t)=>{let n={};return p.forEach(r=>{n[`${e}-justify-${r}`]=t.justify===r}),n},b=e=>{let{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},y=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},E=e=>{let{componentCls:t}=e,n={};return d.forEach(e=>{n[`${t}-wrap-${e}`]={flexWrap:e}}),n},v=e=>{let{componentCls:t}=e,n={};return f.forEach(e=>{n[`${t}-align-${e}`]={alignItems:e}}),n},T=e=>{let{componentCls:t}=e,n={};return p.forEach(e=>{n[`${t}-justify-${e}`]={justifyContent:e}}),n};var S=(0,c.I$)("Flex",e=>{let{paddingXS:t,padding:n,paddingLG:r}=e,a=(0,u.IX)(e,{flexGapSM:t,flexGap:n,flexGapLG:r});return[b(a),y(a),E(a),v(a),T(a)]},()=>({}),{resetStyle:!1}),A=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let O=r.forwardRef((e,t)=>{let{prefixCls:n,rootClassName:a,className:c,style:u,flex:d,gap:p,children:f,vertical:b=!1,component:y="div"}=e,E=A(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:v,direction:T,getPrefixCls:O}=r.useContext(l.E_),_=O("flex",n),[k,x,C]=S(_),w=null!=b?b:null==v?void 0:v.vertical,I=i()(c,a,null==v?void 0:v.className,_,x,C,i()(Object.assign(Object.assign(Object.assign({},h(_,e)),m(_,e)),g(_,e))),{[`${_}-rtl`]:"rtl"===T,[`${_}-gap-${p}`]:(0,s.n)(p),[`${_}-vertical`]:w}),R=Object.assign(Object.assign({},null==v?void 0:v.style),u);return d&&(R.flex=d),p&&!(0,s.n)(p)&&(R.gap=p),k(r.createElement(y,Object.assign({ref:t,className:I,style:R},(0,o.Z)(E,["justify","wrap","align"])),f))});var _=O},57020:function(e,t,n){"use strict";n.d(t,{Z:function(){return eT}});var r=n(67294),a=n(99611),i=n(93967),o=n.n(i),s=n(87462),l=n(1413),c=n(4942),u=n(97685),d=n(71002),p=n(45987),f=n(27678),h=n(21770),m=n(40974),g=n(64019),b=n(15105),y=n(2788),E=n(29372),v=r.createContext(null),T=function(e){var t=e.visible,n=e.maskTransitionName,a=e.getContainer,i=e.prefixCls,s=e.rootClassName,u=e.icons,d=e.countRender,p=e.showSwitch,f=e.showProgress,h=e.current,m=e.transform,g=e.count,T=e.scale,S=e.minScale,A=e.maxScale,O=e.closeIcon,_=e.onSwitchLeft,k=e.onSwitchRight,x=e.onClose,C=e.onZoomIn,w=e.onZoomOut,I=e.onRotateRight,R=e.onRotateLeft,N=e.onFlipX,L=e.onFlipY,D=e.onReset,P=e.toolbarRender,M=e.zIndex,F=e.image,B=(0,r.useContext)(v),j=u.rotateLeft,U=u.rotateRight,G=u.zoomIn,H=u.zoomOut,$=u.close,z=u.left,Z=u.right,W=u.flipX,V=u.flipY,Y="".concat(i,"-operations-operation");r.useEffect(function(){var e=function(e){e.keyCode===b.Z.ESC&&x()};return t&&window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}},[t]);var q=[{icon:V,onClick:L,type:"flipY"},{icon:W,onClick:N,type:"flipX"},{icon:j,onClick:R,type:"rotateLeft"},{icon:U,onClick:I,type:"rotateRight"},{icon:H,onClick:w,type:"zoomOut",disabled:T<=S},{icon:G,onClick:C,type:"zoomIn",disabled:T===A}].map(function(e){var t,n=e.icon,a=e.onClick,s=e.type,l=e.disabled;return r.createElement("div",{className:o()(Y,(t={},(0,c.Z)(t,"".concat(i,"-operations-operation-").concat(s),!0),(0,c.Z)(t,"".concat(i,"-operations-operation-disabled"),!!l),t)),onClick:a,key:s},n)}),K=r.createElement("div",{className:"".concat(i,"-operations")},q);return r.createElement(E.ZP,{visible:t,motionName:n},function(e){var t=e.className,n=e.style;return r.createElement(y.Z,{open:!0,getContainer:null!=a?a:document.body},r.createElement("div",{className:o()("".concat(i,"-operations-wrapper"),t,s),style:(0,l.Z)((0,l.Z)({},n),{},{zIndex:M})},null===O?null:r.createElement("button",{className:"".concat(i,"-close"),onClick:x},O||$),p&&r.createElement(r.Fragment,null,r.createElement("div",{className:o()("".concat(i,"-switch-left"),(0,c.Z)({},"".concat(i,"-switch-left-disabled"),0===h)),onClick:_},z),r.createElement("div",{className:o()("".concat(i,"-switch-right"),(0,c.Z)({},"".concat(i,"-switch-right-disabled"),h===g-1)),onClick:k},Z)),r.createElement("div",{className:"".concat(i,"-footer")},f&&r.createElement("div",{className:"".concat(i,"-progress")},d?d(h+1,g):"".concat(h+1," / ").concat(g)),P?P(K,(0,l.Z)((0,l.Z)({icons:{flipYIcon:q[0],flipXIcon:q[1],rotateLeftIcon:q[2],rotateRightIcon:q[3],zoomOutIcon:q[4],zoomInIcon:q[5]},actions:{onFlipY:L,onFlipX:N,onRotateLeft:R,onRotateRight:I,onZoomOut:w,onZoomIn:C,onReset:D,onClose:x},transform:m},B?{current:h,total:g}:{}),{},{image:F})):K)))})},S=n(91881),A=n(75164),O={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1},_=n(80334);function k(e,t,n,r){var a=t+n,i=(n-r)/2;if(n>r){if(t>0)return(0,c.Z)({},e,i);if(t<0&&ar)return(0,c.Z)({},e,t<0?i:-i);return{}}function x(e,t,n,r){var a=(0,f.g1)(),i=a.width,o=a.height,s=null;return e<=i&&t<=o?s={x:0,y:0}:(e>i||t>o)&&(s=(0,l.Z)((0,l.Z)({},k("x",n,e,i)),k("y",r,t,o))),s}function C(e){var t=e.src,n=e.isCustomPlaceholder,a=e.fallback,i=(0,r.useState)(n?"loading":"normal"),o=(0,u.Z)(i,2),s=o[0],l=o[1],c=(0,r.useRef)(!1),d="error"===s;(0,r.useEffect)(function(){var e=!0;return new Promise(function(e){var n=document.createElement("img");n.onerror=function(){return e(!1)},n.onload=function(){return e(!0)},n.src=t}).then(function(t){!t&&e&&l("error")}),function(){e=!1}},[t]),(0,r.useEffect)(function(){n&&!c.current?l("loading"):d&&l("normal")},[t]);var p=function(){l("normal")};return[function(e){c.current=!1,"loading"===s&&null!=e&&e.complete&&(e.naturalWidth||e.naturalHeight)&&(c.current=!0,p())},d&&a?{src:a}:{onLoad:p,src:t},s]}function w(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}var I=["fallback","src","imgRef"],R=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],N=function(e){var t=e.fallback,n=e.src,a=e.imgRef,i=(0,p.Z)(e,I),o=C({src:n,fallback:t}),l=(0,u.Z)(o,2),c=l[0],d=l[1];return r.createElement("img",(0,s.Z)({ref:function(e){a.current=e,c(e)}},i,d))},L=function(e){var t,n,a,i,d,h,y,E,k,C,I,L,D,P,M,F,B,j,U,G,H,$,z,Z,W,V,Y,q,K=e.prefixCls,X=e.src,Q=e.alt,J=e.imageInfo,ee=e.fallback,et=e.movable,en=void 0===et||et,er=e.onClose,ea=e.visible,ei=e.icons,eo=e.rootClassName,es=e.closeIcon,el=e.getContainer,ec=e.current,eu=void 0===ec?0:ec,ed=e.count,ep=void 0===ed?1:ed,ef=e.countRender,eh=e.scaleStep,em=void 0===eh?.5:eh,eg=e.minScale,eb=void 0===eg?1:eg,ey=e.maxScale,eE=void 0===ey?50:ey,ev=e.transitionName,eT=e.maskTransitionName,eS=void 0===eT?"fade":eT,eA=e.imageRender,eO=e.imgCommonProps,e_=e.toolbarRender,ek=e.onTransform,ex=e.onChange,eC=(0,p.Z)(e,R),ew=(0,r.useRef)(),eI=(0,r.useContext)(v),eR=eI&&ep>1,eN=eI&&ep>=1,eL=(0,r.useState)(!0),eD=(0,u.Z)(eL,2),eP=eD[0],eM=eD[1],eF=(t=(0,r.useRef)(null),n=(0,r.useRef)([]),a=(0,r.useState)(O),d=(i=(0,u.Z)(a,2))[0],h=i[1],y=function(e,r){null===t.current&&(n.current=[],t.current=(0,A.Z)(function(){h(function(e){var a=e;return n.current.forEach(function(e){a=(0,l.Z)((0,l.Z)({},a),e)}),t.current=null,null==ek||ek({transform:a,action:r}),a})})),n.current.push((0,l.Z)((0,l.Z)({},d),e))},{transform:d,resetTransform:function(e){h(O),(0,S.Z)(O,d)||null==ek||ek({transform:O,action:e})},updateTransform:y,dispatchZoomChange:function(e,t,n,r,a){var i=ew.current,o=i.width,s=i.height,l=i.offsetWidth,c=i.offsetHeight,u=i.offsetLeft,p=i.offsetTop,h=e,m=d.scale*e;m>eE?(m=eE,h=eE/d.scale):m0&&(t=1/t),eG(t,"wheel",e.clientX,e.clientY)}}}),e$=eH.isMoving,ez=eH.onMouseDown,eZ=eH.onWheel,eW=(U=eB.rotate,G=eB.scale,H=eB.x,$=eB.y,z=(0,r.useState)(!1),W=(Z=(0,u.Z)(z,2))[0],V=Z[1],Y=(0,r.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),q=function(e){Y.current=(0,l.Z)((0,l.Z)({},Y.current),e)},(0,r.useEffect)(function(){var e;return ea&&en&&(e=(0,g.Z)(window,"touchmove",function(e){return e.preventDefault()},{passive:!1})),function(){var t;null===(t=e)||void 0===t||t.remove()}},[ea,en]),{isTouching:W,onTouchStart:function(e){if(en){e.stopPropagation(),V(!0);var t=e.touches,n=void 0===t?[]:t;n.length>1?q({point1:{x:n[0].clientX,y:n[0].clientY},point2:{x:n[1].clientX,y:n[1].clientY},eventType:"touchZoom"}):q({point1:{x:n[0].clientX-H,y:n[0].clientY-$},eventType:"move"})}},onTouchMove:function(e){var t=e.touches,n=void 0===t?[]:t,r=Y.current,a=r.point1,i=r.point2,o=r.eventType;if(n.length>1&&"touchZoom"===o){var s={x:n[0].clientX,y:n[0].clientY},l={x:n[1].clientX,y:n[1].clientY},c=function(e,t,n,r){var a=w(e,n),i=w(t,r);if(0===a&&0===i)return[e.x,e.y];var o=a/(a+i);return[e.x+o*(t.x-e.x),e.y+o*(t.y-e.y)]}(a,i,s,l),d=(0,u.Z)(c,2),p=d[0],f=d[1];eG(w(s,l)/w(a,i),"touchZoom",p,f,!0),q({point1:s,point2:l,eventType:"touchZoom"})}else"move"===o&&(eU({x:n[0].clientX-a.x,y:n[0].clientY-a.y},"move"),q({eventType:"move"}))},onTouchEnd:function(){if(ea){if(W&&V(!1),q({eventType:"none"}),eb>G)return eU({x:0,y:0,scale:eb},"touchZoom");var e=ew.current.offsetWidth*G,t=ew.current.offsetHeight*G,n=ew.current.getBoundingClientRect(),r=n.left,a=n.top,i=U%180!=0,o=x(i?t:e,i?e:t,r,a);o&&eU((0,l.Z)({},o),"dragRebound")}}}),eV=eW.isTouching,eY=eW.onTouchStart,eq=eW.onTouchMove,eK=eW.onTouchEnd,eX=eB.rotate,eQ=eB.scale,eJ=o()((0,c.Z)({},"".concat(K,"-moving"),e$));(0,r.useEffect)(function(){eP||eM(!0)},[eP]);var e0=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu>0&&(eM(!1),ej("prev"),null==ex||ex(eu-1,eu))},e1=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu({position:e||"absolute",inset:0}),eu=e=>{let{iconCls:t,motionDurationSlow:n,paddingXXS:r,marginXXS:a,prefixCls:i,colorTextLightSolid:o}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:o,background:new en.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${i}-mask-info`]:Object.assign(Object.assign({},ea.vS),{padding:`0 ${(0,et.bf)(r)}`,[t]:{marginInlineEnd:a,svg:{verticalAlign:"baseline"}}})}},ed=e=>{let{previewCls:t,modalMaskBg:n,paddingSM:r,marginXL:a,margin:i,paddingLG:o,previewOperationColorDisabled:s,previewOperationHoverColor:l,motionDurationSlow:c,iconCls:u,colorTextLightSolid:d}=e,p=new en.C(n).setAlpha(.1),f=p.clone().setAlpha(.2);return{[`${t}-footer`]:{position:"fixed",bottom:a,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor,transform:"translateX(-50%)"},[`${t}-progress`]:{marginBottom:i},[`${t}-close`]:{position:"fixed",top:a,right:{_skip_check_:!0,value:a},display:"flex",color:d,backgroundColor:p.toRgbString(),borderRadius:"50%",padding:r,outline:0,border:0,cursor:"pointer",transition:`all ${c}`,"&:hover":{backgroundColor:f.toRgbString()},[`& > ${u}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,et.bf)(o)}`,backgroundColor:p.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:r,padding:r,cursor:"pointer",transition:`all ${c}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${u}`]:{color:l},"&-disabled":{color:s,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${u}`]:{fontSize:e.previewOperationSize}}}}},ep=e=>{let{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:r,previewCls:a,zIndexPopup:i,motionDurationSlow:o}=e,s=new en.C(t).setAlpha(.1),l=s.clone().setAlpha(.2);return{[`${a}-switch-left, ${a}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(i).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:s.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${o}`,userSelect:"none","&:hover":{background:l.toRgbString()},"&-disabled":{"&, &:hover":{color:r,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${a}-switch-left`]:{insetInlineStart:e.marginSM},[`${a}-switch-right`]:{insetInlineEnd:e.marginSM}}},ef=e=>{let{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:a}=e;return[{[`${a}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:Object.assign(Object.assign({},ec()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${r} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},ec()),{transition:`transform ${r} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${a}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${a}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal()},"&":[ed(e),ep(e)]}]},eh=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},eu(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},ec())}}},em=e=>{let{previewCls:t}=e;return{[`${t}-root`]:(0,ei._y)(e,"zoom"),"&":(0,eo.J$)(e,!0)}};var eg=(0,es.I$)("Image",e=>{let t=`${e.componentCls}-preview`,n=(0,el.IX)(e,{previewCls:t,modalMaskBg:new en.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[eh(n),ef(n),(0,er.QA)((0,el.IX)(n,{componentCls:t})),em(n)]},e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new en.C(e.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new en.C(e.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new en.C(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:1.5*e.fontSizeIcon})),eb=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ey={rotateLeft:r.createElement(K.Z,null),rotateRight:r.createElement(X.Z,null),zoomIn:r.createElement(J.Z,null),zoomOut:r.createElement(ee.Z,null),close:r.createElement(V.Z,null),left:r.createElement(Y.Z,null),right:r.createElement(q.Z,null),flipX:r.createElement(Q.Z,null),flipY:r.createElement(Q.Z,{rotate:90})};var eE=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ev=e=>{var t;let{prefixCls:n,preview:i,className:s,rootClassName:l,style:c}=e,u=eE(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:d,locale:p=W.Z,getPopupContainer:f,image:h}=r.useContext(z.E_),m=d("image",n),g=d(),b=p.Image||W.Z.Image,y=(0,Z.Z)(m),[E,v,T]=eg(m,y),S=o()(l,v,T,y),A=o()(s,v,null==h?void 0:h.className),[O]=(0,H.Cn)("ImagePreview","object"==typeof i?i.zIndex:void 0),_=r.useMemo(()=>{var e;if(!1===i)return i;let t="object"==typeof i?i:{},{getContainer:n,closeIcon:o}=t,s=eE(t,["getContainer","closeIcon"]);return Object.assign(Object.assign({mask:r.createElement("div",{className:`${m}-mask-info`},r.createElement(a.Z,null),null==b?void 0:b.preview),icons:ey},s),{getContainer:null!=n?n:f,transitionName:(0,$.m)(g,"zoom",t.transitionName),maskTransitionName:(0,$.m)(g,"fade",t.maskTransitionName),zIndex:O,closeIcon:null!=o?o:null===(e=null==h?void 0:h.preview)||void 0===e?void 0:e.closeIcon})},[i,b,null===(t=null==h?void 0:h.preview)||void 0===t?void 0:t.closeIcon]),k=Object.assign(Object.assign({},null==h?void 0:h.style),c);return E(r.createElement(G,Object.assign({prefixCls:m,preview:_,rootClassName:S,className:A,style:k},u)))};ev.PreviewGroup=e=>{var{previewPrefixCls:t,preview:n}=e,a=eb(e,["previewPrefixCls","preview"]);let{getPrefixCls:i}=r.useContext(z.E_),s=i("image",t),l=`${s}-preview`,c=i(),u=(0,Z.Z)(s),[d,p,f]=eg(s,u),[h]=(0,H.Cn)("ImagePreview","object"==typeof n?n.zIndex:void 0),m=r.useMemo(()=>{var e;if(!1===n)return n;let t="object"==typeof n?n:{},r=o()(p,f,u,null!==(e=t.rootClassName)&&void 0!==e?e:"");return Object.assign(Object.assign({},t),{transitionName:(0,$.m)(c,"zoom",t.transitionName),maskTransitionName:(0,$.m)(c,"fade",t.maskTransitionName),rootClassName:r,zIndex:h})},[n]);return d(r.createElement(G.PreviewGroup,Object.assign({preview:m,previewPrefixCls:l,icons:ey},a)))};var eT=ev},66309:function(e,t,n){"use strict";n.d(t,{Z:function(){return I}});var r=n(67294),a=n(93967),i=n.n(a),o=n(98423),s=n(98787),l=n(69760),c=n(96159),u=n(45353),d=n(53124),p=n(25446),f=n(10274),h=n(14747),m=n(83262),g=n(83559);let b=e=>{let{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:a,calc:i}=e,o=i(r).sub(n).equal(),s=i(t).sub(n).equal();return{[a]:Object.assign(Object.assign({},(0,h.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:o,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,p.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${a}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${a}-close-icon`]:{marginInlineStart:s,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${a}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${a}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:o}}),[`${a}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},y=e=>{let{lineWidth:t,fontSizeIcon:n,calc:r}=e,a=e.fontSizeSM,i=(0,m.IX)(e,{tagFontSize:a,tagLineHeight:(0,p.bf)(r(e.lineHeightSM).mul(a).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return i},E=e=>({defaultBg:new f.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var v=(0,g.I$)("Tag",e=>{let t=y(e);return b(t)},E),T=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let S=r.forwardRef((e,t)=>{let{prefixCls:n,style:a,className:o,checked:s,onChange:l,onClick:c}=e,u=T(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:p,tag:f}=r.useContext(d.E_),h=p("tag",n),[m,g,b]=v(h),y=i()(h,`${h}-checkable`,{[`${h}-checkable-checked`]:s},null==f?void 0:f.className,o,g,b);return m(r.createElement("span",Object.assign({},u,{ref:t,style:Object.assign(Object.assign({},a),null==f?void 0:f.style),className:y,onClick:e=>{null==l||l(!s),null==c||c(e)}})))});var A=n(98719);let O=e=>(0,A.Z)(e,(t,n)=>{let{textColor:r,lightBorderColor:a,lightColor:i,darkColor:o}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:i,borderColor:a,"&-inverse":{color:e.colorTextLightSolid,background:o,borderColor:o},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var _=(0,g.bk)(["Tag","preset"],e=>{let t=y(e);return O(t)},E);let k=(e,t,n)=>{let r=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var x=(0,g.bk)(["Tag","status"],e=>{let t=y(e);return[k(t,"success","Success"),k(t,"processing","Info"),k(t,"error","Error"),k(t,"warning","Warning")]},E),C=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let w=r.forwardRef((e,t)=>{let{prefixCls:n,className:a,rootClassName:p,style:f,children:h,icon:m,color:g,onClose:b,bordered:y=!0,visible:E}=e,T=C(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:S,direction:A,tag:O}=r.useContext(d.E_),[k,w]=r.useState(!0),I=(0,o.Z)(T,["closeIcon","closable"]);r.useEffect(()=>{void 0!==E&&w(E)},[E]);let R=(0,s.o2)(g),N=(0,s.yT)(g),L=R||N,D=Object.assign(Object.assign({backgroundColor:g&&!L?g:void 0},null==O?void 0:O.style),f),P=S("tag",n),[M,F,B]=v(P),j=i()(P,null==O?void 0:O.className,{[`${P}-${g}`]:L,[`${P}-has-color`]:g&&!L,[`${P}-hidden`]:!k,[`${P}-rtl`]:"rtl"===A,[`${P}-borderless`]:!y},a,p,F,B),U=e=>{e.stopPropagation(),null==b||b(e),e.defaultPrevented||w(!1)},[,G]=(0,l.Z)((0,l.w)(e),(0,l.w)(O),{closable:!1,closeIconRender:e=>{let t=r.createElement("span",{className:`${P}-close-icon`,onClick:U},e);return(0,c.wm)(e,t,e=>({onClick:t=>{var n;null===(n=null==e?void 0:e.onClick)||void 0===n||n.call(e,t),U(t)},className:i()(null==e?void 0:e.className,`${P}-close-icon`)}))}}),H="function"==typeof T.onClick||h&&"a"===h.type,$=m||null,z=$?r.createElement(r.Fragment,null,$,h&&r.createElement("span",null,h)):h,Z=r.createElement("span",Object.assign({},I,{ref:t,className:j,style:D}),z,G,R&&r.createElement(_,{key:"preset",prefixCls:P}),N&&r.createElement(x,{key:"status",prefixCls:P}));return M(H?r.createElement(u.Z,{component:"Tag"},Z):Z)});w.CheckableTag=S;var I=w},62502:function(e,t,n){"use strict";var r=n(15575),a=n(64977),i=n(72869),o=n(32473).Q,s=n(24395).Q;e.exports=function(e,t,n){var a=n?function(e){for(var t,n=e.length,r=-1,a={};++r4&&h.slice(0,4)===o&&s.test(t)&&("-"===t.charAt(4)?m=o+(n=t.slice(5).replace(l,d)).charAt(0).toUpperCase()+n.slice(1):(f=(p=t).slice(4),t=l.test(f)?p:("-"!==(f=f.replace(c,u)).charAt(0)&&(f="-"+f),o+f)),g=a),new g(m,t))};var s=/^data[-\w.:]+$/i,l=/-[a-z]/g,c=/[A-Z]/g;function u(e){return"-"+e.toLowerCase()}function d(e){return e.charAt(1).toUpperCase()}},48055:function(e,t,n){"use strict";var r=n(26230),a=n(13970),i=n(10629),o=n(647),s=n(91305),l=n(22537);e.exports=r([i,a,o,s,l])},91305:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=r.booleanish,o=r.number,s=r.spaceSeparated;e.exports=a({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:i,ariaAutoComplete:null,ariaBusy:i,ariaChecked:i,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:s,ariaCurrent:null,ariaDescribedBy:s,ariaDetails:null,ariaDisabled:i,ariaDropEffect:s,ariaErrorMessage:null,ariaExpanded:i,ariaFlowTo:s,ariaGrabbed:i,ariaHasPopup:null,ariaHidden:i,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s,ariaLevel:o,ariaLive:null,ariaModal:i,ariaMultiLine:i,ariaMultiSelectable:i,ariaOrientation:null,ariaOwns:s,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:i,ariaReadOnly:i,ariaRelevant:null,ariaRequired:i,ariaRoleDescription:s,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:i,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}})},22537:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=n(19348),o=r.boolean,s=r.overloadedBoolean,l=r.booleanish,c=r.number,u=r.spaceSeparated,d=r.commaSeparated;e.exports=a({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:i,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:d,acceptCharset:u,accessKey:u,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:u,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:u,cols:c,colSpan:null,content:null,contentEditable:l,controls:o,controlsList:u,coords:c|d,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:s,draggable:l,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:u,height:c,hidden:o,high:c,href:null,hrefLang:null,htmlFor:u,httpEquiv:u,id:null,imageSizes:null,imageSrcSet:d,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:u,itemRef:u,itemScope:o,itemType:u,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:u,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:u,required:o,reversed:o,rows:c,rowSpan:c,sandbox:u,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:c,sizes:null,slot:null,span:c,spellCheck:l,src:null,srcDoc:null,srcLang:null,srcSet:d,start:c,step:null,style:null,tabIndex:c,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:l,width:c,wrap:null,align:null,aLink:null,archive:u,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:l,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}})},19348:function(e,t,n){"use strict";var r=n(21098);e.exports=function(e,t){return r(e,t.toLowerCase())}},21098:function(e){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},47589:function(e,t,n){"use strict";var r=n(64977),a=n(16038),i=n(78444);e.exports=function(e){var t,n,o=e.space,s=e.mustUseProperty||[],l=e.attributes||{},c=e.properties,u=e.transform,d={},p={};for(t in c)n=new i(t,u(l,t),c[t],o),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),d[t]=n,p[r(t)]=t,p[r(n.attribute)]=t;return new a(d,p,o)}},78444:function(e,t,n){"use strict";var r=n(40313),a=n(61422);e.exports=s,s.prototype=new r,s.prototype.defined=!0;var i=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=i.length;function s(e,t,n,s){var l,c,u,d=-1;for(s&&(this.space=s),r.call(this,e,t);++d=97&&t<=122||t>=65&&t<=90}},7961:function(e,t,n){"use strict";var r=n(46260),a=n(46195);e.exports=function(e){return r(e)||a(e)}},46195:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},79480:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}},58264:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/construct/app/extra/components/NativeApp",function(){return n(76054)}])},85813:function(e,t,n){"use strict";n.d(t,{r:function(){return _6}});var r,a,i,o,s,l,c,u,d,p,f,h,m,g,b,y,E,v,T,S,A,O,_,k,x,C,w,I,R,N,L,D,P,M,F,B,j,U,G,H,$,z,Z,W,V,Y,q,K,X,Q,J,ee,et,en,er,ea={};n.r(ea),n.d(ea,{area:function(){return cf},bottom:function(){return cT},bottomLeft:function(){return cT},bottomRight:function(){return cT},inside:function(){return cT},left:function(){return cT},outside:function(){return c_},right:function(){return cT},spider:function(){return cR},surround:function(){return cL},top:function(){return cT},topLeft:function(){return cT},topRight:function(){return cT}});var ei={};n.r(ei),n.d(ei,{interpolateBlues:function(){return uD.interpolateBlues},interpolateBrBG:function(){return uD.interpolateBrBG},interpolateBuGn:function(){return uD.interpolateBuGn},interpolateBuPu:function(){return uD.interpolateBuPu},interpolateCividis:function(){return uD.interpolateCividis},interpolateCool:function(){return uD.interpolateCool},interpolateCubehelixDefault:function(){return uD.interpolateCubehelixDefault},interpolateGnBu:function(){return uD.interpolateGnBu},interpolateGreens:function(){return uD.interpolateGreens},interpolateGreys:function(){return uD.interpolateGreys},interpolateInferno:function(){return uD.interpolateInferno},interpolateMagma:function(){return uD.interpolateMagma},interpolateOrRd:function(){return uD.interpolateOrRd},interpolateOranges:function(){return uD.interpolateOranges},interpolatePRGn:function(){return uD.interpolatePRGn},interpolatePiYG:function(){return uD.interpolatePiYG},interpolatePlasma:function(){return uD.interpolatePlasma},interpolatePuBu:function(){return uD.interpolatePuBu},interpolatePuBuGn:function(){return uD.interpolatePuBuGn},interpolatePuOr:function(){return uD.interpolatePuOr},interpolatePuRd:function(){return uD.interpolatePuRd},interpolatePurples:function(){return uD.interpolatePurples},interpolateRainbow:function(){return uD.interpolateRainbow},interpolateRdBu:function(){return uD.interpolateRdBu},interpolateRdGy:function(){return uD.interpolateRdGy},interpolateRdPu:function(){return uD.interpolateRdPu},interpolateRdYlBu:function(){return uD.interpolateRdYlBu},interpolateRdYlGn:function(){return uD.interpolateRdYlGn},interpolateReds:function(){return uD.interpolateReds},interpolateSinebow:function(){return uD.interpolateSinebow},interpolateSpectral:function(){return uD.interpolateSpectral},interpolateTurbo:function(){return uD.interpolateTurbo},interpolateViridis:function(){return uD.interpolateViridis},interpolateWarm:function(){return uD.interpolateWarm},interpolateYlGn:function(){return uD.interpolateYlGn},interpolateYlGnBu:function(){return uD.interpolateYlGnBu},interpolateYlOrBr:function(){return uD.interpolateYlOrBr},interpolateYlOrRd:function(){return uD.interpolateYlOrRd},schemeAccent:function(){return uD.schemeAccent},schemeBlues:function(){return uD.schemeBlues},schemeBrBG:function(){return uD.schemeBrBG},schemeBuGn:function(){return uD.schemeBuGn},schemeBuPu:function(){return uD.schemeBuPu},schemeCategory10:function(){return uD.schemeCategory10},schemeDark2:function(){return uD.schemeDark2},schemeGnBu:function(){return uD.schemeGnBu},schemeGreens:function(){return uD.schemeGreens},schemeGreys:function(){return uD.schemeGreys},schemeOrRd:function(){return uD.schemeOrRd},schemeOranges:function(){return uD.schemeOranges},schemePRGn:function(){return uD.schemePRGn},schemePaired:function(){return uD.schemePaired},schemePastel1:function(){return uD.schemePastel1},schemePastel2:function(){return uD.schemePastel2},schemePiYG:function(){return uD.schemePiYG},schemePuBu:function(){return uD.schemePuBu},schemePuBuGn:function(){return uD.schemePuBuGn},schemePuOr:function(){return uD.schemePuOr},schemePuRd:function(){return uD.schemePuRd},schemePurples:function(){return uD.schemePurples},schemeRdBu:function(){return uD.schemeRdBu},schemeRdGy:function(){return uD.schemeRdGy},schemeRdPu:function(){return uD.schemeRdPu},schemeRdYlBu:function(){return uD.schemeRdYlBu},schemeRdYlGn:function(){return uD.schemeRdYlGn},schemeReds:function(){return uD.schemeReds},schemeSet1:function(){return uD.schemeSet1},schemeSet2:function(){return uD.schemeSet2},schemeSet3:function(){return uD.schemeSet3},schemeSpectral:function(){return uD.schemeSpectral},schemeTableau10:function(){return uD.schemeTableau10},schemeYlGn:function(){return uD.schemeYlGn},schemeYlGnBu:function(){return uD.schemeYlGnBu},schemeYlOrBr:function(){return uD.schemeYlOrBr},schemeYlOrRd:function(){return uD.schemeYlOrRd}});var eo={};n.r(eo);var es={};n.r(es),n.d(es,{geoAlbers:function(){return Ta.Z},geoAlbersUsa:function(){return Tr.Z},geoAzimuthalEqualArea:function(){return Ti.Z},geoAzimuthalEqualAreaRaw:function(){return Ti.l},geoAzimuthalEquidistant:function(){return To.Z},geoAzimuthalEquidistantRaw:function(){return To.N},geoConicConformal:function(){return Ts.Z},geoConicConformalRaw:function(){return Ts.l},geoConicEqualArea:function(){return Tl.Z},geoConicEqualAreaRaw:function(){return Tl.v},geoConicEquidistant:function(){return Tc.Z},geoConicEquidistantRaw:function(){return Tc.o},geoEqualEarth:function(){return Tu.Z},geoEqualEarthRaw:function(){return Tu.i},geoEquirectangular:function(){return Td.Z},geoEquirectangularRaw:function(){return Td.k},geoGnomonic:function(){return Tp.Z},geoGnomonicRaw:function(){return Tp.M},geoIdentity:function(){return Tf.Z},geoMercator:function(){return Tm.ZP},geoMercatorRaw:function(){return Tm.hk},geoNaturalEarth1:function(){return Tg.Z},geoNaturalEarth1Raw:function(){return Tg.K},geoOrthographic:function(){return Tb.Z},geoOrthographicRaw:function(){return Tb.I},geoProjection:function(){return Th.Z},geoProjectionMutator:function(){return Th.r},geoStereographic:function(){return Ty.Z},geoStereographicRaw:function(){return Ty.T},geoTransverseMercator:function(){return TE.Z},geoTransverseMercatorRaw:function(){return TE.F}});var el={};n.r(el),n.d(el,{frequency:function(){return Sh},id:function(){return Sm},name:function(){return Sg},weight:function(){return Sf}});var ec=n(74902),eu=n(1413),ed=n(87462),ep=n(97685),ef=n(45987),eh=n(50888),em=n(96486),eg=n(67294),eb=function(){return(eb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n-1&&!e.return)switch(e.type){case ek:e.return=function e(t,n,r){var a;switch(a=n,45^eD(t,0)?(((a<<2^eD(t,0))<<2^eD(t,1))<<2^eD(t,2))<<2^eD(t,3):0){case 5103:return eA+"print-"+t+t;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 eA+t+t;case 4789:return eS+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return eA+t+eS+t+eT+t+t;case 5936:switch(eD(t,n+11)){case 114:return eA+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return eA+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return eA+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return eA+t+eT+t+t;case 6165:return eA+t+eT+"flex-"+t+t;case 5187:return eA+t+eN(t,/(\w+).+(:[^]+)/,eA+"box-$1$2"+eT+"flex-$1$2")+t;case 5443:return eA+t+eT+"flex-item-"+eN(t,/flex-|-self/g,"")+(eR(t,/flex-|baseline/)?"":eT+"grid-row-"+eN(t,/flex-|-self/g,""))+t;case 4675:return eA+t+eT+"flex-line-pack"+eN(t,/align-content|flex-|-self/g,"")+t;case 5548:return eA+t+eT+eN(t,"shrink","negative")+t;case 5292:return eA+t+eT+eN(t,"basis","preferred-size")+t;case 6060:return eA+"box-"+eN(t,"-grow","")+eA+t+eT+eN(t,"grow","positive")+t;case 4554:return eA+eN(t,/([^-])(transform)/g,"$1"+eA+"$2")+t;case 6187:return eN(eN(eN(t,/(zoom-|grab)/,eA+"$1"),/(image-set)/,eA+"$1"),t,"")+t;case 5495:case 3959:return eN(t,/(image-set\([^]*)/,eA+"$1$`$1");case 4968:return eN(eN(t,/(.+:)(flex-)?(.*)/,eA+"box-pack:$3"+eT+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+eA+t+t;case 4200:if(!eR(t,/flex-|baseline/))return eT+"grid-column-align"+eP(t,n)+t;break;case 2592:case 3360:return eT+eN(t,"template-","")+t;case 4384:case 3616:if(r&&r.some(function(e,t){return n=t,eR(e.props,/grid-\w+-end/)}))return~eL(t+(r=r[n].value),"span",0)?t:eT+eN(t,"-start","")+t+eT+"grid-row-span:"+(~eL(r,"span",0)?eR(r,/\d+/):+eR(r,/\d+/)-+eR(t,/\d+/))+";";return eT+eN(t,"-start","")+t;case 4896:case 4128:return r&&r.some(function(e){return eR(e.props,/grid-\w+-start/)})?t:eT+eN(eN(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return eN(t,/(.+)-inline(.+)/,eA+"$1$2")+t;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(eM(t)-1-n>6)switch(eD(t,n+1)){case 109:if(45!==eD(t,n+4))break;case 102:return eN(t,/(.+:)(.+)-([^]+)/,"$1"+eA+"$2-$3$1"+eS+(108==eD(t,n+3)?"$3":"$2-$3"))+t;case 115:return~eL(t,"stretch",0)?e(eN(t,"stretch","fill-available"),n,r)+t:t}break;case 5152:case 5920:return eN(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(e,n,r,a,i,o,s){return eT+n+":"+r+s+(a?eT+n+"-span:"+(i?o:+o-+r)+s:"")+t});case 4949:if(121===eD(t,n+6))return eN(t,":",":"+eA)+t;break;case 6444:switch(eD(t,45===eD(t,14)?18:11)){case 120:return eN(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+eA+(45===eD(t,14)?"inline-":"")+"box$3$1"+eA+"$2$3$1"+eT+"$2box$3")+t;case 100:return eN(t,":",":"+eT)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return eN(t,"scroll-","scroll-snap-")+t}return t}(e.value,e.length,n);return;case ex:return eQ([eW(e,{value:eN(e.value,"@","@"+eA)})],r);case e_:if(e.length)return(n=e.props).map(function(t){switch(eR(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":eV(eW(e,{props:[eN(t,/:(read-\w+)/,":"+eS+"$1")]})),eV(eW(e,{props:[t]})),eI(e,{props:eB(n,r)});break;case"::placeholder":eV(eW(e,{props:[eN(t,/:(plac\w+)/,":"+eA+"input-$1")]})),eV(eW(e,{props:[eN(t,/:(plac\w+)/,":"+eS+"$1")]})),eV(eW(e,{props:[eN(t,/:(plac\w+)/,eT+"input-$1")]})),eV(eW(e,{props:[t]})),eI(e,{props:eB(n,r)})}return""}).join("")}}function e1(e,t,n,r,a,i,o,s,l,c,u,d){for(var p=a-1,f=0===a?i:[""],h=f.length,m=0,g=0,b=0;m0?f[y]+" "+E:eN(E,/&\f/g,f[y])).trim())&&(l[b++]=v);return eZ(e,t,n,0===a?e_:s,l,c,u,d)}function e2(e,t,n,r,a){return eZ(e,t,n,ek,eP(e,0,r),eP(e,r+1,-1),r,a)}var e3=n(94371),e5=n(83454),e4=void 0!==e5&&void 0!==e5.env&&(e5.env.REACT_APP_SC_ATTR||e5.env.SC_ATTR)||"data-styled",e6="active",e9="data-styled-version",e8="6.1.15",e7="/*!sc*/\n",te="undefined"!=typeof window&&"HTMLElement"in window,tt=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==e5&&void 0!==e5.env&&void 0!==e5.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==e5.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==e5.env.REACT_APP_SC_DISABLE_SPEEDY&&e5.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==e5&&void 0!==e5.env&&void 0!==e5.env.SC_DISABLE_SPEEDY&&""!==e5.env.SC_DISABLE_SPEEDY&&"false"!==e5.env.SC_DISABLE_SPEEDY&&e5.env.SC_DISABLE_SPEEDY),tn=Object.freeze([]),tr=Object.freeze({}),ta=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),ti=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,to=/(^-|-$)/g;function ts(e){return e.replace(ti,"-").replace(to,"")}var tl=/(a)(d)/gi,tc=function(e){return String.fromCharCode(e+(e>25?39:97))};function tu(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=tc(t%52)+n;return(tc(t%52)+n).replace(tl,"$1-$2")}var td,tp=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},tf=function(e){return tp(5381,e)};function th(e){return"string"==typeof e}var tm="function"==typeof Symbol&&Symbol.for,tg=tm?Symbol.for("react.memo"):60115,tb=tm?Symbol.for("react.forward_ref"):60112,ty={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},tE={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},tv={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},tT=((td={})[tb]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},td[tg]=tv,td);function tS(e){return("type"in e&&e.type.$$typeof)===tg?tv:"$$typeof"in e?tT[e.$$typeof]:ty}var tA=Object.defineProperty,tO=Object.getOwnPropertyNames,t_=Object.getOwnPropertySymbols,tk=Object.getOwnPropertyDescriptor,tx=Object.getPrototypeOf,tC=Object.prototype;function tw(e){return"function"==typeof e}function tI(e){return"object"==typeof e&&"styledComponentId"in e}function tR(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function tN(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r0?" Args: ".concat(t.join(", ")):""))}var tM=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,a=r;e>=a;)if((a<<=1)<0)throw tP(16,"".concat(e));this.groupSizes=new Uint32Array(a),this.groupSizes.set(n),this.length=a;for(var i=r;i=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),a=r+n,i=r;i=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(l+="".concat(e,","))}),r+="".concat(o).concat(s,'{content:"').concat(l,'"}').concat(e7)}}})(a);return r}(r)})}return e.registerId=function(e){return tU(e)},e.prototype.rehydrate=function(){!this.server&&te&&tW(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(eb(eb({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){var e,t,n,r;return this.tag||(this.tag=(n=(t=this.options).useCSSOMInjection,r=t.target,e=t.isServer?new tK(r):n?new tY(r):new tq(r),new tM(e)))},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(tU(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(tU(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(tU(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),t0=/&/g,t1=/^\s*\/\/.*$/gm;function t2(e){var t,n,r,a=void 0===e?tr:e,i=a.options,o=void 0===i?tr:i,s=a.plugins,l=void 0===s?tn:s,c=function(e,r,a){return a.startsWith(n)&&a.endsWith(n)&&a.replaceAll(n,"").length>0?".".concat(t):e},u=l.slice();u.push(function(e){e.type===e_&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(t0,n).replace(r,c))}),o.prefix&&u.push(e0),u.push(eJ);var d=function(e,a,i,s){void 0===a&&(a=""),void 0===i&&(i=""),void 0===s&&(s="&"),t=s,n=a,r=RegExp("\\".concat(n,"\\b"),"g");var l,c,d,p,f,h=e.replace(t1,""),m=(f=function e(t,n,r,a,i,o,s,l,c){for(var u,d=0,p=0,f=s,h=0,m=0,g=0,b=1,y=1,E=1,v=0,T="",S=i,A=o,O=a,_=T;y;)switch(g=v,v=eY()){case 40:if(108!=g&&58==eD(_,f-1)){-1!=eL(_+=eN(eX(v),"&","&\f"),"&\f",eC(d?l[d-1]:0))&&(E=-1);break}case 34:case 39:case 91:_+=eX(v);break;case 9:case 10:case 13:case 32:_+=function(e){for(;e$=eq();)if(e$<33)eY();else break;return eK(e)>2||eK(e$)>3?"":" "}(g);break;case 92:_+=function(e,t){for(var n;--t&&eY()&&!(e$<48)&&!(e$>102)&&(!(e$>57)||!(e$<65))&&(!(e$>70)||!(e$<97)););return n=eH+(t<6&&32==eq()&&32==eY()),eP(ez,e,n)}(eH-1,7);continue;case 47:switch(eq()){case 42:case 47:eF(eZ(u=function(e,t){for(;eY();)if(e+e$===57)break;else if(e+e$===84&&47===eq())break;return"/*"+eP(ez,t,eH-1)+"*"+ew(47===e?e:eY())}(eY(),eH),n,r,eO,ew(e$),eP(u,2,-2),0,c),c);break;default:_+="/"}break;case 123*b:l[d++]=eM(_)*E;case 125*b:case 59:case 0:switch(v){case 0:case 125:y=0;case 59+p:-1==E&&(_=eN(_,/\f/g,"")),m>0&&eM(_)-f&&eF(m>32?e2(_+";",a,r,f-1,c):e2(eN(_," ","")+";",a,r,f-2,c),c);break;case 59:_+=";";default:if(eF(O=e1(_,n,r,d,p,i,l,T,S=[],A=[],f,o),o),123===v){if(0===p)e(_,n,O,O,S,o,f,l,A);else switch(99===h&&110===eD(_,3)?100:h){case 100:case 108:case 109:case 115:e(t,O,O,a&&eF(e1(t,O,O,0,0,i,l,T,i,S=[],f,A),A),i,A,f,l,a?S:A);break;default:e(_,O,O,O,[""],A,0,l,A)}}}d=p=m=0,b=E=1,T=_="",f=s;break;case 58:f=1+eM(_),m=g;default:if(b<1){if(123==v)--b;else if(125==v&&0==b++&&125==(e$=eH>0?eD(ez,--eH):0,eU--,10===e$&&(eU=1,ej--),e$))continue}switch(_+=ew(v),v*b){case 38:E=p>0?1:(_+="\f",-1);break;case 44:l[d++]=(eM(_)-1)*E,E=1;break;case 64:45===eq()&&(_+=eX(eY())),h=eq(),p=f=eM(T=_+=function(e){for(;!eK(eq());)eY();return eP(ez,e,eH)}(eH)),v++;break;case 45:45===g&&2==eM(_)&&(b=0)}}return o}("",null,null,null,[""],(p=d=i||a?"".concat(i," ").concat(a," { ").concat(h," }"):h,ej=eU=1,eG=eM(ez=p),eH=0,d=[]),0,[0],d),ez="",f);o.namespace&&(m=function e(t,n){return t.map(function(t){return"rule"===t.type&&(t.value="".concat(n," ").concat(t.value),t.value=t.value.replaceAll(",",",".concat(n," ")),t.props=t.props.map(function(e){return"".concat(n," ").concat(e)})),Array.isArray(t.children)&&"@keyframes"!==t.type&&(t.children=e(t.children,n)),t})}(m,o.namespace));var g=[];return eQ(m,(c=(l=u.concat(function(e){var t;!e.root&&(e=e.return)&&(t=e,g.push(t))})).length,function(e,t,n,r){for(var a="",i=0;i="A"&&r<="Z"?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var nt=function(e){return null==e||!1===e||""===e},nn=function(e){var t=[];for(var n in e){var r=e[n];e.hasOwnProperty(n)&&!nt(r)&&(Array.isArray(r)&&r.isCss||tw(r)?t.push("".concat(ne(n),":"),r,";"):tL(r)?t.push.apply(t,ey(ey(["".concat(n," {")],nn(r),!1),["}"],!1)):t.push("".concat(ne(n),": ").concat(null==r||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||n in e3.Z||n.startsWith("--")?String(r).trim():"".concat(r,"px"),";")))}return t};function nr(e,t,n,r){return nt(e)?[]:tI(e)?[".".concat(e.styledComponentId)]:tw(e)?!tw(e)||e.prototype&&e.prototype.isReactComponent||!t?[e]:nr(e(t),t,n,r):e instanceof t7?n?(e.inject(n,r),[e.getName(r)]):[e]:tL(e)?nn(e):Array.isArray(e)?Array.prototype.concat.apply(tn,e.map(function(e){return nr(e,t,n,r)})):[e.toString()]}function na(e){for(var t=0;t>>0);if(!t.hasNameForId(this.componentId,i)){var o=n(a,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,o)}r=tR(r,i),this.staticRulesId=i}}else{for(var s=tp(this.baseHash,n.hash),l="",c=0;c>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(l,".".concat(p),void 0,this.componentId)),r=tR(r,p)}}return r},e}(),ns=eg.createContext(void 0);ns.Consumer;var nl={};function nc(e,t,n){var r,a,i,o,s=tI(e),l=!th(e),c=t.attrs,u=void 0===c?tn:c,d=t.componentId,p=void 0===d?(r=t.displayName,a=t.parentComponentId,nl[i="string"!=typeof r?"sc":ts(r)]=(nl[i]||0)+1,o="".concat(i,"-").concat(tu(tf(e8+i+nl[i])>>>0)),a?"".concat(a,"-").concat(o):o):d,f=t.displayName,h=void 0===f?th(e)?"styled.".concat(e):"Styled(".concat(e.displayName||e.name||"Component",")"):f,m=t.displayName&&t.componentId?"".concat(ts(t.displayName),"-").concat(t.componentId):t.componentId||p,g=s&&e.attrs?e.attrs.concat(u).filter(Boolean):u,b=t.shouldForwardProp;if(s&&e.shouldForwardProp){var y=e.shouldForwardProp;if(t.shouldForwardProp){var E=t.shouldForwardProp;b=function(e,t){return y(e,t)&&E(e,t)}}else b=y}var v=new no(n,m,s?e.componentStyle:void 0);function T(e,t){return function(e,t,n){var r,a,i=e.attrs,o=e.componentStyle,s=e.defaultProps,l=e.foldedComponentIds,c=e.styledComponentId,u=e.target,d=eg.useContext(ns),p=t9(),f=e.shouldForwardProp||p.shouldForwardProp,h=(void 0===(r=s)&&(r=tr),t.theme!==r.theme&&t.theme||d||r.theme||tr),m=function(e,t,n){for(var r,a=eb(eb({},t),{className:void 0,theme:n}),i=0;i2&&tJ.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=n.nc,a=tN([r&&'nonce="'.concat(r,'"'),"".concat(e4,'="true"'),"".concat(e9,'="').concat(e8,'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(e.sealed)throw tP(2);return e._emitSheetCSS()},this.getStyleElement=function(){if(e.sealed)throw tP(2);var t,r=e.instance.toString();if(!r)return[];var a=((t={})[e4]="",t[e9]=e8,t.dangerouslySetInnerHTML={__html:r},t),i=n.nc;return i&&(a.nonce=i),[eg.createElement("style",eb({},a,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new tJ({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw tP(2);return eg.createElement(t8,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw tP(3)}}();var nh=n(4942),nm=n(73935),ng=n.t(nm,2),nb=function(){return(nb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=18&&(J=ny.createRoot)}catch(e){}function nT(e){var t=ny.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"==typeof t&&(t.usingClientEntryPoint=e)}var nS="__rc_react_root__",nA=new Map;"undefined"!=typeof document&&nA.set("tooltip",document.createElement("div"));var nO=function(e,t){void 0===t&&(t=!1);var n=null;if(t)n=nA.get("tooltip");else if(n=document.createElement("div"),null==e?void 0:e.key){var r=nA.get(e.key);r?n=r:nA.set(e.key,n)}return!function(e,t){if(J){var n;nT(!0),n=t[nS]||J(t),nT(!1),n.render(e),t[nS]=n;return}nv(e,t)}(e,n),n},n_=function(e){if("undefined"==typeof document)return"loading";var t=e.attachShadow({mode:"open"}),n=document.createElement("div"),r=document.createElement("style");r.innerHTML=".loading {\n display: inline-block;\n position: relative;\n width: 80px;\n height: 80px;\n }\n .loading div {\n position: absolute;\n top: 33px;\n width: 13px;\n height: 13px;\n border-radius: 50%;\n background: #ccc;\n animation-timing-function: cubic-bezier(0, 1, 1, 0);\n }\n .loading div:nth-child(1) {\n left: 8px;\n animation: loading1 0.6s infinite;\n }\n .loading div:nth-child(2) {\n left: 8px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(3) {\n left: 32px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(4) {\n left: 56px;\n animation: loading3 0.6s infinite;\n }\n @keyframes loading1 {\n 0% {\n transform: scale(0);\n }\n 100% {\n transform: scale(1);\n }\n }\n @keyframes loading3 {\n 0% {\n transform: scale(1);\n }\n 100% {\n transform: scale(0);\n }\n }\n @keyframes loading2 {\n 0% {\n transform: translate(0, 0);\n }\n 100% {\n transform: translate(24px, 0);\n }\n }\n ",n.classList.add("loading"),n.innerHTML="
",t.appendChild(r),t.appendChild(n)},nk=function(e){var t=e.loadingTemplate,n=e.theme,r=eg.useRef(null);return eg.useEffect(function(){!t&&r.current&&n_(r.current)},[]),eg.createElement("div",{className:"charts-loading-container",style:{position:"absolute",width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",left:0,top:0,zIndex:99,backgroundColor:"dark"===(void 0===n?"light":n)?"rgb(20, 20, 20)":"rgb(255, 255, 255)"}},t||eg.createElement("div",{ref:r}))},nx=(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),nC=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={hasError:!1},t.renderError=function(e){var n=t.props.errorTemplate;return"function"==typeof n?n(e):n||eg.createElement("h5",null,"组件出错了,请核查后重试: ",e.message)},t}return nx(t,e),t.getDerivedStateFromError=function(e){return{hasError:!0,error:e}},t.getDerivedStateFromProps=function(e,t){return t.children!==e.children?{children:e.children,hasError:!1,error:void 0}:null},t.prototype.render=function(){return this.state.hasError?this.renderError(this.state.error):eg.createElement(eg.Fragment,null,this.props.children)},t}(eg.Component),nw=function(e,t,n){if(n||2==arguments.length)for(var r,a=0,i=t.length;a90)return this;this.computeMatrix()}return this._getAxes(),this.type===nN.iM.ORBITING||this.type===nN.iM.EXPLORING?this._getPosition():this.type===nN.iM.TRACKING&&this._getFocalPoint(),this._update(),this}},{key:"pan",value:function(e,t){var n=(0,nN.O4)(e,t,0),r=nG.d9(this.position);return nG.IH(r,r,nG.bA(nG.Ue(),this.right,n[0])),nG.IH(r,r,nG.bA(nG.Ue(),this.up,n[1])),this._setPosition(r),this.triggerUpdate(),this}},{key:"dolly",value:function(e){var t=this.forward,n=nG.d9(this.position),r=e*this.dollyingStep;return r=Math.max(Math.min(this.distance+e*this.dollyingStep,this.maxDistance),this.minDistance)-this.distance,n[0]+=r*t[0],n[1]+=r*t[1],n[2]+=r*t[2],this._setPosition(n),this.type===nN.iM.ORBITING||this.type===nN.iM.EXPLORING?this._getDistance():this.type===nN.iM.TRACKING&&nG.IH(this.focalPoint,n,this.distanceVector),this.triggerUpdate(),this}},{key:"cancelLandmarkAnimation",value:function(){void 0!==this.landmarkAnimationID&&this.canvas.cancelAnimationFrame(this.landmarkAnimationID)}},{key:"createLandmark",value:function(e){var t,n,r,a,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=i.position,s=void 0===o?this.position:o,l=i.focalPoint,c=void 0===l?this.focalPoint:l,u=i.roll,d=i.zoom,p=new nN.GZ.CameraContribution;p.setType(this.type,void 0),p.setPosition(s[0],null!==(t=s[1])&&void 0!==t?t:this.position[1],null!==(n=s[2])&&void 0!==n?n:this.position[2]),p.setFocalPoint(c[0],null!==(r=c[1])&&void 0!==r?r:this.focalPoint[1],null!==(a=c[2])&&void 0!==a?a:this.focalPoint[2]),p.setRoll(null!=u?u:this.roll),p.setZoom(null!=d?d:this.zoom);var f={name:e,matrix:nU.clone(p.getWorldTransform()),right:nG.d9(p.right),up:nG.d9(p.up),forward:nG.d9(p.forward),position:nG.d9(p.getPosition()),focalPoint:nG.d9(p.getFocalPoint()),distanceVector:nG.d9(p.getDistanceVector()),distance:p.getDistance(),dollyingStep:p.getDollyingStep(),azimuth:p.getAzimuth(),elevation:p.getElevation(),roll:p.getRoll(),relAzimuth:p.relAzimuth,relElevation:p.relElevation,relRoll:p.relRoll,zoom:p.getZoom()};return this.landmarks.push(f),f}},{key:"gotoLandmark",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=nB(e,"String")?this.landmarks.find(function(t){return t.name===e}):e;if(r){var a,i=nB(n,"Number")?{duration:n}:n,o=i.easing,s=void 0===o?"linear":o,l=i.duration,c=void 0===l?100:l,u=i.easingFunction,d=i.onfinish,p=void 0===d?void 0:d,f=i.onframe,h=void 0===f?void 0:f;this.cancelLandmarkAnimation();var m=r.position,g=r.focalPoint,b=r.zoom,y=r.roll,E=(void 0===u?void 0:u)||nN.GZ.EasingFunction(s),v=function(){t.setFocalPoint(g),t.setPosition(m),t.setRoll(y),t.setZoom(b),t.computeMatrix(),t.triggerUpdate(),null==p||p()};if(0===c)return v();var T=function(e){void 0===a&&(a=e);var n=e-a;if(n>=c){v();return}var r=E(n/c),i=nG.Ue(),o=nG.Ue(),s=1,l=0;if(nG.t7(i,t.focalPoint,g,r),nG.t7(o,t.position,m,r),l=t.roll*(1-r)+y*r,s=t.zoom*(1-r)+b*r,t.setFocalPoint(i),t.setPosition(o),t.setRoll(l),t.setZoom(s),nG.TK(i,g)+nG.TK(o,m)<=.01&&void 0===b&&void 0===y)return v();t.computeMatrix(),t.triggerUpdate(),nn?n:e},nW={}.toString,nV=function(e){return null==e},nY=function(e){function t(e,n,r,a){var i;return(0,nL.Z)(this,t),(i=(0,nP.Z)(this,t,[e])).currentTime=r,i.timelineTime=a,i.target=n,i.type="finish",i.bubbles=!1,i.currentTarget=n,i.defaultPrevented=!1,i.eventPhase=i.AT_TARGET,i.timeStamp=Date.now(),i.currentTime=r,i.timelineTime=a,i}return(0,nM.Z)(t,e),(0,nD.Z)(t)}(nN.xA),nq=0,nK=(0,nD.Z)(function e(t,n){var r;(0,nL.Z)(this,e),this.currentTimePending=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._playbackRate=1,this._inTimeline=!0,this.effect=t,t.animation=this,this.timeline=n,this.id="".concat(nq++),this._inEffect=!!this.effect.update(0),this._totalDuration=Number(null===(r=this.effect)||void 0===r?void 0:r.getComputedTiming().endTime),this._holdTime=0,this._paused=!1,this.oldPlayState="idle",this.updatePromises()},[{key:"pending",get:function(){return null===this._startTime&&!this._paused&&0!==this.playbackRate||this.currentTimePending}},{key:"playState",get:function(){return this._idle?"idle":this._isFinished?"finished":this._paused?"paused":"running"}},{key:"ready",get:function(){var e=this;return this.readyPromise||(-1===this.timeline.animationsWithPromises.indexOf(this)&&this.timeline.animationsWithPromises.push(this),this.readyPromise=new Promise(function(t,n){e.resolveReadyPromise=function(){t(e)},e.rejectReadyPromise=function(){n(Error())}}),this.pending||this.resolveReadyPromise()),this.readyPromise}},{key:"finished",get:function(){var e=this;return this.finishedPromise||(-1===this.timeline.animationsWithPromises.indexOf(this)&&this.timeline.animationsWithPromises.push(this),this.finishedPromise=new Promise(function(t,n){e.resolveFinishedPromise=function(){t(e)},e.rejectFinishedPromise=function(){n(Error())}}),"finished"===this.playState&&this.resolveFinishedPromise()),this.finishedPromise}},{key:"currentTime",get:function(){return this.updatePromises(),this._idle||this.currentTimePending?null:this._currentTime},set:function(e){if(!isNaN(e=Number(e))){if(this.timeline.restart(),!this._paused&&null!==this._startTime){var t;this._startTime=Number(null===(t=this.timeline)||void 0===t?void 0:t.currentTime)-e/this.playbackRate}this.currentTimePending=!1,this._currentTime!==e&&(this._idle&&(this._idle=!1,this._paused=!0),this.tickCurrentTime(e,!0),this.timeline.applyDirtiedAnimation(this))}}},{key:"startTime",get:function(){return this._startTime},set:function(e){null!==e&&(this.updatePromises(),!isNaN(e=Number(e))&&(this._paused||this._idle||(this._startTime=e,this.tickCurrentTime((Number(this.timeline.currentTime)-this._startTime)*this.playbackRate),this.timeline.applyDirtiedAnimation(this),this.updatePromises())))}},{key:"playbackRate",get:function(){return this._playbackRate},set:function(e){if(e!==this._playbackRate){this.updatePromises();var t=this.currentTime;this._playbackRate=e,this.startTime=null,"paused"!==this.playState&&"idle"!==this.playState&&(this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this)),null!==t&&(this.currentTime=t),this.updatePromises()}}},{key:"_isFinished",get:function(){return!this._idle&&(this._playbackRate>0&&Number(this._currentTime)>=this._totalDuration||this._playbackRate<0&&0>=Number(this._currentTime))}},{key:"totalDuration",get:function(){return this._totalDuration}},{key:"_needsTick",get:function(){return this.pending||"running"===this.playState||!this._finishedFlag}},{key:"updatePromises",value:function(){var e=this.oldPlayState,t=this.pending?"pending":this.playState;return this.readyPromise&&t!==e&&("idle"===t?(this.rejectReadyPromise(),this.readyPromise=void 0):"pending"===e?this.resolveReadyPromise():"pending"===t&&(this.readyPromise=void 0)),this.finishedPromise&&t!==e&&("idle"===t?(this.rejectFinishedPromise(),this.finishedPromise=void 0):"finished"===t?this.resolveFinishedPromise():"finished"===e&&(this.finishedPromise=void 0)),this.oldPlayState=t,this.readyPromise||this.finishedPromise}},{key:"play",value:function(){this.updatePromises(),this._paused=!1,(this._isFinished||this._idle)&&(this.rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this),-1===this.timeline.animations.indexOf(this)&&this.timeline.animations.push(this),this.updatePromises()}},{key:"pause",value:function(){this.updatePromises(),this.currentTime&&(this._holdTime=this.currentTime),this._isFinished||this._paused||this._idle?this._idle&&(this.rewind(),this._idle=!1):this.currentTimePending=!0,this._startTime=null,this._paused=!0,this.updatePromises()}},{key:"finish",value:function(){this.updatePromises(),this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this.currentTimePending=!1,this.timeline.applyDirtiedAnimation(this),this.updatePromises())}},{key:"cancel",value:function(){var e=this;if(this.updatePromises(),this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this.effect.update(null),this.timeline.applyDirtiedAnimation(this),this.updatePromises(),this.oncancel)){var t=new nY(null,this,this.currentTime,null);setTimeout(function(){e.oncancel(t)})}}},{key:"reverse",value:function(){this.updatePromises();var e=this.currentTime;this.playbackRate*=-1,this.play(),null!==e&&(this.currentTime=e),this.updatePromises()}},{key:"updatePlaybackRate",value:function(e){this.playbackRate=e}},{key:"targetAnimations",value:function(){var e;return(null===(e=this.effect)||void 0===e?void 0:e.target).getAnimations()}},{key:"markTarget",value:function(){var e=this.targetAnimations();-1===e.indexOf(this)&&e.push(this)}},{key:"unmarkTarget",value:function(){var e=this.targetAnimations(),t=e.indexOf(this);-1!==t&&e.splice(t,1)}},{key:"tick",value:function(e,t){this._idle||this._paused||(null===this._startTime?t&&(this.startTime=e-this._currentTime/this.playbackRate):this._isFinished||this.tickCurrentTime((e-this._startTime)*this.playbackRate)),t&&(this.currentTimePending=!1,this.fireEvents(e))}},{key:"rewind",value:function(){if(this.playbackRate>=0)this.currentTime=0;else if(this._totalDuration<1/0)this.currentTime=this._totalDuration;else throw Error("Unable to rewind negative playback rate animation with infinite duration")}},{key:"persist",value:function(){throw Error(nN.jf)}},{key:"addEventListener",value:function(e,t,n){throw Error(nN.jf)}},{key:"removeEventListener",value:function(e,t,n){throw Error(nN.jf)}},{key:"dispatchEvent",value:function(e){throw Error(nN.jf)}},{key:"commitStyles",value:function(){throw Error(nN.jf)}},{key:"ensureAlive",value:function(){var e,t;this.playbackRate<0&&0===this.currentTime?this._inEffect=!!(null!==(e=this.effect)&&void 0!==e&&e.update(-1)):this._inEffect=!!(null!==(t=this.effect)&&void 0!==t&&t.update(this.currentTime)),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,this.timeline.animations.push(this))}},{key:"tickCurrentTime",value:function(e,t){e!==this._currentTime&&(this._currentTime=e,this._isFinished&&!t&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this.ensureAlive())}},{key:"fireEvents",value:function(e){var t=this;if(this._isFinished){if(!this._finishedFlag){if(this.onfinish){var n=new nY(null,this,this.currentTime,e);setTimeout(function(){t.onfinish&&t.onfinish(n)})}this._finishedFlag=!0}}else{if(this.onframe&&"running"===this.playState){var r=new nY(null,this,this.currentTime,e);this.onframe(r)}this._finishedFlag=!1}}}]),nX="function"==typeof Float32Array,nQ=function(e,t){return 1-3*t+3*e},nJ=function(e,t){return 3*t-6*e},n0=function(e){return 3*e},n1=function(e,t,n){return((nQ(t,n)*e+nJ(t,n))*e+n0(t))*e},n2=function(e,t,n){return 3*nQ(t,n)*e*e+2*nJ(t,n)*e+n0(t)},n3=function(e,t,n,r,a){var i,o,s=0;do(i=n1(o=t+(n-t)/2,r,a)-e)>0?n=o:t=o;while(Math.abs(i)>1e-7&&++s<10);return o},n5=function(e,t,n,r){for(var a=0;a<4;++a){var i=n2(t,n,r);if(0===i)break;var o=n1(t,n,r)-e;t-=o/i}return t},n4=function(e,t,n,r){if(!(e>=0&&e<=1&&n>=0&&n<=1))throw Error("bezier x values must be in [0, 1] range");if(e===t&&n===r)return function(e){return e};for(var a=nX?new Float32Array(11):Array(11),i=0;i<11;++i)a[i]=n1(.1*i,e,n);var o=function(t){for(var r=0,i=1;10!==i&&a[i]<=t;++i)r+=.1;var o=r+(t-a[--i])/(a[i+1]-a[i])*.1,s=n2(o,e,n);return s>=.001?n5(t,o,e,n):0===s?o:n3(t,r,r+.1,e,n)};return function(e){return 0===e||1===e?e:n1(o(e),t,r)}},n6=function(e){return Math.pow(e,2)},n9=function(e){return Math.pow(e,3)},n8=function(e){return Math.pow(e,4)},n7=function(e){return Math.pow(e,5)},re=function(e){return Math.pow(e,6)},rt=function(e){return 1-Math.cos(e*Math.PI/2)},rn=function(e){return 1-Math.sqrt(1-e*e)},rr=function(e){return e*e*(3*e-2)},ra=function(e){for(var t,n=4;e<((t=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*t-2)/22-e,2)},ri=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,2),r=n[0],a=n[1],i=nZ(Number(void 0===r?1:r),1,10),o=nZ(Number(void 0===a?.5:a),.1,2);return 0===e||1===e?e:-i*Math.pow(2,10*(e-1))*Math.sin((e-1-o/(2*Math.PI)*Math.asin(1/i))*(2*Math.PI)/o)},ro=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,r=(0,nz.Z)(t,4),a=r[0],i=void 0===a?1:a,o=r[1],s=void 0===o?100:o,l=r[2],c=void 0===l?10:l,u=r[3],d=void 0===u?0:u;i=nZ(i,.1,1e3),s=nZ(s,.1,1e3),c=nZ(c,.1,1e3),d=nZ(d,.1,1e3);var p=Math.sqrt(s/i),f=c/(2*Math.sqrt(s*i)),h=f<1?p*Math.sqrt(1-f*f):0,m=f<1?(f*p+-d)/h:-d+p,g=n?n*e/1e3:e;return(g=f<1?Math.exp(-g*f*p)*(1*Math.cos(h*g)+m*Math.sin(h*g)):(1+m*g)*Math.exp(-g*p),0===e||1===e)?e:1-g},rs=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,2),r=n[0],a=void 0===r?10:r;return("start"===n[1]?Math.ceil:Math.floor)(nZ(e,0,1)*a)/a},rl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,4);return n4(n[0],n[1],n[2],n[3])(e)},rc=n4(.42,0,1,1),ru=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return 1-e(1-t,n,r)}},rd=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return t<.5?e(2*t,n,r)/2:1-e(-2*t+2,n,r)/2}},rp=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return t<.5?(1-e(1-2*t,n,r))/2:(e(2*t-1,n,r)+1)/2}},rf={steps:rs,"step-start":function(e){return rs(e,[1,"start"])},"step-end":function(e){return rs(e,[1,"end"])},linear:function(e){return e},"cubic-bezier":rl,ease:function(e){return rl(e,[.25,.1,.25,1])},in:rc,out:ru(rc),"in-out":rd(rc),"out-in":rp(rc),"in-quad":n6,"out-quad":ru(n6),"in-out-quad":rd(n6),"out-in-quad":rp(n6),"in-cubic":n9,"out-cubic":ru(n9),"in-out-cubic":rd(n9),"out-in-cubic":rp(n9),"in-quart":n8,"out-quart":ru(n8),"in-out-quart":rd(n8),"out-in-quart":rp(n8),"in-quint":n7,"out-quint":ru(n7),"in-out-quint":rd(n7),"out-in-quint":rp(n7),"in-expo":re,"out-expo":ru(re),"in-out-expo":rd(re),"out-in-expo":rp(re),"in-sine":rt,"out-sine":ru(rt),"in-out-sine":rd(rt),"out-in-sine":rp(rt),"in-circ":rn,"out-circ":ru(rn),"in-out-circ":rd(rn),"out-in-circ":rp(rn),"in-back":rr,"out-back":ru(rr),"in-out-back":rd(rr),"out-in-back":rp(rr),"in-bounce":ra,"out-bounce":ru(ra),"in-out-bounce":rd(ra),"out-in-bounce":rp(ra),"in-elastic":ri,"out-elastic":ru(ri),"in-out-elastic":rd(ri),"out-in-elastic":rp(ri),spring:ro,"spring-in":ro,"spring-out":ru(ro),"spring-in-out":rd(ro),"spring-out-in":rp(ro)},rh=function(e){var t;return("-"===(t=(t=e).replace(/([A-Z])/g,function(e){return"-".concat(e.toLowerCase())})).charAt(0)?t.substring(1):t).replace(/^ease-/,"").replace(/(\(|\s).+/,"").toLowerCase().trim()},rm=function(e){return e};function rg(e,t){return function(n){if(n>=1)return 1;var r=1/e;return(n+=t*r)-n%r}}var rb="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",ry=new RegExp("cubic-bezier\\(".concat(rb,",").concat(rb,",").concat(rb,",").concat(rb,"\\)")),rE=/steps\(\s*(\d+)\s*\)/,rv=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/;function rT(e){var t=ry.exec(e);if(t)return n4.apply(void 0,(0,n$.Z)(t.slice(1).map(Number)));var n=rE.exec(e);if(n)return rg(Number(n[1]),0);var r=rv.exec(e);return r?rg(Number(r[1]),{start:1,middle:.5,end:0}[r[2]]):rf[rh(e)]||rf.linear}function rS(e){return"offset"!==e&&"easing"!==e&&"composite"!==e&&"computedOffset"!==e}var rA=function(e,t,n){return function(r){var a,i=function e(t,n,r){if("number"==typeof t&&"number"==typeof n)return t*(1-r)+n*r;if("boolean"==typeof t&&"boolean"==typeof n||"string"==typeof t&&"string"==typeof n)return r<.5?t:n;if(Array.isArray(t)&&Array.isArray(n)){for(var a=t.length,i=n.length,o=Math.max(a,i),s=[],l=0;l1)throw Error("Keyframe offsets must be between 0 and 1.");n.computedOffset=a}}else if("composite"===r&&-1===["replace","add","accumulate","auto"].indexOf(a))throw Error("".concat(a," compositing is not supported"));n[r]=a}return void 0===n.offset&&(n.offset=null),void 0===n.easing&&(n.easing=(null==t?void 0:t.easing)||"linear"),void 0===n.composite&&(n.composite="auto"),n}),r=!0,a=-1/0,i=0;i=0&&1>=Number(e.offset)}),r||function(){var e,t,r=n.length;n[r-1].computedOffset=Number(null!==(e=n[r-1].offset)&&void 0!==e?e:1),r>1&&(n[0].computedOffset=Number(null!==(t=n[0].offset)&&void 0!==t?t:0));for(var a=0,i=Number(n[0].computedOffset),o=1;o=e.applyFrom&&t=Math.min(n.delay+e+n.endDelay,r)?2:3}(e,t,n),u=function(e,t,n,r,a){switch(r){case 1:if("backwards"===t||"both"===t)return 0;return null;case 3:return n-a;case 2:if("forwards"===t||"both"===t)return e;return null;case 0:return null}}(e,n.fill,t,c,n.delay);if(null===u)return null;var d="auto"===n.duration?0:n.duration,p=(r=n.iterations,a=n.iterationStart,0===d?1!==c&&(a+=r):a+=u/d,a),f=(i=n.iterationStart,o=n.iterations,0==(s=p===1/0?i%1:p%1)&&2===c&&0!==o&&(0!==u||0===d)&&(s=1),s),h=(l=n.iterations,2===c&&l===1/0?1/0:1===f?Math.floor(p)-1:Math.floor(p)),m=function(e,t,n){var r=e;if("normal"!==e&&"reverse"!==e){var a=t;"alternate-reverse"===e&&(a+=1),r="normal",a!==1/0&&a%2!=0&&(r="reverse")}return"normal"===r?n:1-n}(n.direction,h,f);return n.currentIteration=h,n.progress=m,n.easingFunction(m)}(this.timing.activeDuration,e,this.timing),null!==this.timeFraction)}},{key:"getKeyframes",value:function(){return this.normalizedKeyframes}},{key:"setKeyframes",value:function(e){this.normalizedKeyframes=r_(e)}},{key:"getComputedTiming",value:function(){return this.computedTiming}},{key:"getTiming",value:function(){return this.timing}},{key:"updateTiming",value:function(e){var t=this;Object.keys(e||{}).forEach(function(n){t.timing[n]=e[n]})}}]);function rw(e,t){return Number(e.id)-Number(t.id)}var rI=(0,nD.Z)(function e(t){var n=this;(0,nL.Z)(this,e),this.animations=[],this.ticking=!1,this.timelineTicking=!1,this.hasRestartedThisFrame=!1,this.animationsWithPromises=[],this.inTick=!1,this.pendingEffects=[],this.currentTime=null,this.rafId=0,this.rafCallbacks=[],this.webAnimationsNextTick=function(e){n.currentTime=e,n.discardAnimations(),0===n.animations.length?n.timelineTicking=!1:n.requestAnimationFrame(n.webAnimationsNextTick)},this.processRafCallbacks=function(e){var t=n.rafCallbacks;n.rafCallbacks=[],et.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let rN=(e,t,n)=>[["M",e-n,t],["A",n,n,0,1,0,e+n,t],["A",n,n,0,1,0,e-n,t],["Z"]];rN.style=["fill"];let rL=rN.bind(void 0);rL.style=["stroke","lineWidth"];let rD=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t-n],["L",e+n,t+n],["L",e-n,t+n],["Z"]];rD.style=["fill"];let rP=rD.bind(void 0);rP.style=["fill"];let rM=rD.bind(void 0);rM.style=["stroke","lineWidth"];let rF=(e,t,n)=>{let r=.618*n;return[["M",e-r,t],["L",e,t-n],["L",e+r,t],["L",e,t+n],["Z"]]};rF.style=["fill"];let rB=rF.bind(void 0);rB.style=["stroke","lineWidth"];let rj=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t+r],["L",e,t-r],["L",e+n,t+r],["Z"]]};rj.style=["fill"];let rU=rj.bind(void 0);rU.style=["stroke","lineWidth"];let rG=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t-r],["L",e+n,t-r],["L",e,t+r],["Z"]]};rG.style=["fill"];let rH=rG.bind(void 0);rH.style=["stroke","lineWidth"];let r$=(e,t,n)=>{let r=n/2*Math.sqrt(3);return[["M",e,t-n],["L",e+r,t-n/2],["L",e+r,t+n/2],["L",e,t+n],["L",e-r,t+n/2],["L",e-r,t-n/2],["Z"]]};r$.style=["fill"];let rz=r$.bind(void 0);rz.style=["stroke","lineWidth"];let rZ=(e,t,n)=>{let r=n-1.5;return[["M",e-n,t-r],["L",e+n,t+r],["L",e+n,t-r],["L",e-n,t+r],["Z"]]};rZ.style=["fill"];let rW=rZ.bind(void 0);rW.style=["stroke","lineWidth"];let rV=(e,t,n)=>[["M",e,t+n],["L",e,t-n]];rV.style=["stroke","lineWidth"];let rY=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t+n],["M",e+n,t-n],["L",e-n,t+n]];rY.style=["stroke","lineWidth"];let rq=(e,t,n)=>[["M",e-n/2,t-n],["L",e+n/2,t-n],["M",e,t-n],["L",e,t+n],["M",e-n/2,t+n],["L",e+n/2,t+n]];rq.style=["stroke","lineWidth"];let rK=(e,t,n)=>[["M",e-n,t],["L",e+n,t],["M",e,t-n],["L",e,t+n]];rK.style=["stroke","lineWidth"];let rX=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rX.style=["stroke","lineWidth"];let rQ=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rQ.style=["stroke","lineWidth"];let rJ=rQ.bind(void 0);rJ.style=["stroke","lineWidth"];let r0=(e,t,n)=>[["M",e-n,t],["A",n/2,n/2,0,1,1,e,t],["A",n/2,n/2,0,1,0,e+n,t]];r0.style=["stroke","lineWidth"];let r1=(e,t,n)=>[["M",e-n-1,t-2.5],["L",e,t-2.5],["L",e,t+2.5],["L",e+n+1,t+2.5]];r1.style=["stroke","lineWidth"];let r2=(e,t,n)=>[["M",e-n-1,t+2.5],["L",e,t+2.5],["L",e,t-2.5],["L",e+n+1,t-2.5]];r2.style=["stroke","lineWidth"];let r3=(e,t,n)=>[["M",e-(n+1),t+2.5],["L",e-n/2,t+2.5],["L",e-n/2,t-2.5],["L",e+n/2,t-2.5],["L",e+n/2,t+2.5],["L",e+n+1,t+2.5]];r3.style=["stroke","lineWidth"];let r5=(e,t,n)=>[["M",e-5,t+2.5],["L",e-5,t],["L",e,t],["L",e,t-3],["L",e,t+3],["L",e+6.5,t+3]];r5.style=["stroke","lineWidth"];let r4=new Map([["bowtie",rZ],["cross",rY],["dash",rJ],["diamond",rF],["dot",rQ],["hexagon",r$],["hollowBowtie",rW],["hollowDiamond",rB],["hollowHexagon",rz],["hollowPoint",rL],["hollowSquare",rM],["hollowTriangle",rU],["hollowTriangleDown",rH],["hv",r1],["hvh",r3],["hyphen",rX],["line",rV],["plus",rK],["point",rN],["rect",rP],["smooth",r0],["square",rD],["tick",rq],["triangleDown",rG],["triangle",rj],["vh",r2],["vhv",r5]]),r6={};function r9(e,t){if(e.startsWith("symbol.")){var n;n=e.split(".").pop(),r4.set(n,t)}else Object.assign(r6,{[e]:t})}var r8=n(88998);/*! +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3394,9618,6231,8424,5265,2640,3913],{11475:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},27496:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},94668:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},34971:function(e,t){"use strict";t.Z=function(e,t,n){return en?n:e}},24960:function(e,t,n){"use strict";var r=n(44002);t.Z=function(e){return Array.isArray?Array.isArray(e):(0,r.Z)(e,"Array")}},52176:function(e,t,n){"use strict";var r=n(44002);t.Z=function(e){return(0,r.Z)(e,"Boolean")}},55265:function(e,t){"use strict";t.Z=function(e){return"function"==typeof e}},82993:function(e,t){"use strict";t.Z=function(e){return null==e}},23198:function(e,t,n){"use strict";function r(e,t,n){return void 0===n&&(n=1e-5),Math.abs(e-t)1&&(E*=C=Math.sqrt(C),v*=C);var w=E*E,I=v*v,R=(o===l?-1:1)*Math.sqrt(Math.abs((w*I-w*x*x-I*k*k)/(w*x*x+I*k*k)));m=R*E*x/v+(b+T)/2,g=-(R*v)*k/E+(y+S)/2,f=Math.asin(((y-g)/v*1e9>>0)/1e9),h=Math.asin(((S-g)/v*1e9>>0)/1e9),f=bh&&(f-=2*Math.PI),!l&&h>f&&(h-=2*Math.PI)}var N=h-f;if(Math.abs(N)>A){var L=h,D=T,P=S;_=e(T=m+E*Math.cos(h=f+A*(l&&h>f?1:-1)),S=g+v*Math.sin(h),E,v,i,0,l,D,P,[h,L,m,g])}N=h-f;var M=Math.cos(f),F=Math.cos(h),B=Math.tan(N/4),j=4/3*E*B,U=4/3*v*B,G=[b,y],H=[b+j*Math.sin(f),y-U*M],$=[T+j*Math.sin(h),S-U*F],z=[T,S];if(H[0]=2*G[0]-H[0],H[1]=2*G[1]-H[1],d)return H.concat($,z,_);_=H.concat($,z,_);for(var Z=[],W=0,V=_.length;W7){e[n].shift();for(var r=e[n],a=n;r.length;)t[n]="A",e.splice(a+=1,0,["C"].concat(r.splice(0,6)));e.splice(n,1)}}(d,f,b),m=d.length,"Z"===h&&g.push(b),l=(n=d[b]).length,p.x1=+n[l-2],p.y1=+n[l-1],p.x2=+n[l-4]||p.x1,p.y2=+n[l-3]||p.y1}return t?[d,g]:d}},19586:function(e,t,n){"use strict";n.d(t,{R:function(){return r}});var r={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0}},33554:function(e,t,n){"use strict";n.d(t,{z:function(){return r}});var r={x1:0,y1:0,x2:0,y2:0,x:0,y:0,qx:null,qy:null}},54947:function(e,t,n){"use strict";function r(e){return e.map(function(e){return Array.isArray(e)?[].concat(e):e})}n.d(t,{U:function(){return r}})},94918:function(e,t,n){"use strict";n.d(t,{A:function(){return f}});var r=n(97582),a=n(65336),i=n(33554),o=n(60310),s=n(97153),l=n(19586);function c(e){for(var t=e.pathValue[e.segmentStart],n=t.toLowerCase(),r=e.data;r.length>=l.R[n]&&("m"===n&&r.length>2?(e.segments.push([t].concat(r.splice(0,2))),n="l",t="m"===t?"l":"L"):e.segments.push([t].concat(r.splice(0,l.R[n]))),l.R[n]););}function u(e){return e>=48&&e<=57}function d(e){for(var t,n=e.pathValue,r=e.max;e.index=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].includes(t));)e.index+=1}var p=function(e){this.pathValue=e,this.segments=[],this.max=e.length,this.index=0,this.param=0,this.segmentStart=0,this.data=[],this.err=""};function f(e){if((0,a.y)(e))return[].concat(e);for(var t=function(e){if((0,o.b)(e))return[].concat(e);var t=function(e){if((0,s.n)(e))return[].concat(e);var t=new p(e);for(d(t);t.index0;s-=1){if((32|a)==97&&(3===s||4===s)?function(e){var t=e.index,n=e.pathValue,r=n.charCodeAt(t);if(48===r){e.param=0,e.index+=1;return}if(49===r){e.param=1,e.index+=1;return}e.err='[path-util]: invalid Arc flag "'+n[t]+'", expecting 0 or 1 at index '+t}(e):function(e){var t,n=e.max,r=e.pathValue,a=e.index,i=a,o=!1,s=!1,l=!1,c=!1;if(i>=n){e.err="[path-util]: Invalid path value at index "+i+', "pathValue" is missing param';return}if((43===(t=r.charCodeAt(i))||45===t)&&(i+=1,t=r.charCodeAt(i)),!u(t)&&46!==t){e.err="[path-util]: Invalid path value at index "+i+', "'+r[i]+'" is not a number';return}if(46!==t){if(o=48===t,i+=1,t=r.charCodeAt(i),o&&i=e.max||!((o=n.charCodeAt(e.index))>=48&&o<=57||43===o||45===o||46===o))break}c(e)}(t);return t.err?t.err:t.segments}(e),n=0,r=0,a=0,i=0;return t.map(function(e){var t,o=e.slice(1).map(Number),s=e[0],l=s.toUpperCase();if("M"===s)return n=o[0],r=o[1],a=n,i=r,["M",n,r];if(s!==l)switch(l){case"A":t=[l,o[0],o[1],o[2],o[3],o[4],o[5]+n,o[6]+r];break;case"V":t=[l,o[0]+r];break;case"H":t=[l,o[0]+n];break;default:t=[l].concat(o.map(function(e,t){return e+(t%2?r:n)}))}else t=[l].concat(o);var c=t.length;switch(l){case"Z":n=a,r=i;break;case"H":n=t[1];break;case"V":r=t[1];break;default:n=t[c-2],r=t[c-1],"M"===l&&(a=n,i=r)}return t})}(e),n=(0,r.pi)({},i.z),f=0;f=h[t],m[t]-=g?1:0,g?e.ss:[e.s]}).flat()});return b[0].length===b[1].length?b:e(b[0],b[1],f)}}});var r=n(50944),a=n(51777);function i(e){return e.map(function(e,t,n){var i,o,s,l,c,u,d,p,f,h,m,g,b=t&&n[t-1].slice(-2).concat(e.slice(1)),y=t?(0,a.S)(b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7],b[8],{bbox:!1}).length:0;return g=t?y?(void 0===i&&(i=.5),o=b.slice(0,2),s=b.slice(2,4),l=b.slice(4,6),c=b.slice(6,8),u=(0,r.k)(o,s,i),d=(0,r.k)(s,l,i),p=(0,r.k)(l,c,i),f=(0,r.k)(u,d,i),h=(0,r.k)(d,p,i),m=(0,r.k)(f,h,i),[["C"].concat(u,f,m),["C"].concat(h,p,c)]):[e,e]:[e],{s:e,ss:g,l:y}})}},46516:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var r=n(27872);function a(e){var t,n,a;return t=0,n=0,a=0,(0,r.Y)(e).map(function(e){if("M"===e[0])return t=e[1],n=e[2],0;var r,i,o,s=e.slice(1),l=s[0],c=s[1],u=s[2],d=s[3],p=s[4],f=s[5];return i=t,a=3*((f-(o=n))*(l+u)-(p-i)*(c+d)+c*(i-u)-l*(o-d)+f*(u+i/3)-p*(d+o/3))/20,t=(r=e.slice(-2))[0],n=r[1],a}).reduce(function(e,t){return e+t},0)>=0}},90046:function(e,t,n){"use strict";n.d(t,{r:function(){return i}});var r=n(97582),a=n(10992);function i(e,t,n){return(0,a.s)(e,t,(0,r.pi)((0,r.pi)({},n),{bbox:!1,length:!0})).point}},91952:function(e,t,n){"use strict";n.d(t,{g:function(){return a}});var r=n(58076);function a(e,t){var n,a,i=e.length-1,o=[],s=0,l=(a=(n=e.length)-1,e.map(function(t,r){return e.map(function(t,i){var o=r+i;return 0===i||e[o]&&"M"===e[o][0]?["M"].concat(e[o].slice(-2)):(o>=n&&(o-=a),e[o])})}));return l.forEach(function(n,a){e.slice(1).forEach(function(n,o){s+=(0,r.y)(e[(a+o)%i].slice(-2),t[o%i].slice(-2))}),o[a]=s,s=0}),l[o.indexOf(Math.min.apply(null,o))]}},62436:function(e,t,n){"use strict";n.d(t,{D:function(){return i}});var r=n(97582),a=n(10992);function i(e,t){return(0,a.s)(e,void 0,(0,r.pi)((0,r.pi)({},t),{bbox:!1,length:!0})).length}},60310:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var r=n(97153);function a(e){return(0,r.n)(e)&&e.every(function(e){var t=e[0];return t===t.toUpperCase()})}},65336:function(e,t,n){"use strict";n.d(t,{y:function(){return a}});var r=n(60310);function a(e){return(0,r.b)(e)&&e.every(function(e){var t=e[0];return"ACLMQZ".includes(t)})}},97153:function(e,t,n){"use strict";n.d(t,{n:function(){return a}});var r=n(19586);function a(e){return Array.isArray(e)&&e.every(function(e){var t=e[0].toLowerCase();return r.R[t]===e.length-1&&"achlmqstvz".includes(t)})}},50944:function(e,t,n){"use strict";function r(e,t,n){var r=e[0],a=e[1];return[r+(t[0]-r)*n,a+(t[1]-a)*n]}n.d(t,{k:function(){return r}})},10992:function(e,t,n){"use strict";n.d(t,{s:function(){return c}});var r=n(94918),a=n(50944),i=n(58076);function o(e,t,n,r,o){var s=(0,i.y)([e,t],[n,r]),l={x:0,y:0};if("number"==typeof o){if(o<=0)l={x:e,y:t};else if(o>=s)l={x:n,y:r};else{var c=(0,a.k)([e,t],[n,r],o/s);l={x:c[0],y:c[1]}}}return{length:s,point:l,min:{x:Math.min(e,n),y:Math.min(t,r)},max:{x:Math.max(e,n),y:Math.max(t,r)}}}function s(e,t){var n=e.x,r=e.y,a=t.x,i=t.y,o=Math.sqrt((Math.pow(n,2)+Math.pow(r,2))*(Math.pow(a,2)+Math.pow(i,2)));return(n*i-r*a<0?-1:1)*Math.acos((n*a+r*i)/o)}var l=n(51777);function c(e,t,n){for(var a,c,u,d,p,f,h,m,g,b=(0,r.A)(e),y="number"==typeof t,E=[],v=0,T=0,S=0,A=0,O=[],_=[],k=0,x={x:0,y:0},C=x,w=x,I=x,R=0,N=0,L=b.length;N1&&(b*=m(A),y*=m(A));var O=(Math.pow(b,2)*Math.pow(y,2)-Math.pow(b,2)*Math.pow(S.y,2)-Math.pow(y,2)*Math.pow(S.x,2))/(Math.pow(b,2)*Math.pow(S.y,2)+Math.pow(y,2)*Math.pow(S.x,2)),_=(i!==l?1:-1)*m(O=O<0?0:O),k={x:_*(b*S.y/y),y:_*(-(y*S.x)/b)},x={x:h(E)*k.x-f(E)*k.y+(e+c)/2,y:f(E)*k.x+h(E)*k.y+(t+u)/2},C={x:(S.x-k.x)/b,y:(S.y-k.y)/y},w=s({x:1,y:0},C),I=s(C,{x:(-S.x-k.x)/b,y:(-S.y-k.y)/y});!l&&I>0?I-=2*g:l&&I<0&&(I+=2*g);var R=w+(I%=2*g)*d,N=b*h(R),L=y*f(R);return{x:h(E)*N-f(E)*L+x.x,y:f(E)*N+h(E)*L+x.y}}(e,t,n,r,a,l,c,u,d,w/v)).x,A=h.y,g&&C.push({x:S,y:A}),y&&(O+=(0,i.y)(k,[S,A])),k=[S,A],T&&O>=p&&p>_[2]){var I=(O-p)/(O-_[2]);x={x:k[0]*(1-I)+_[0]*I,y:k[1]*(1-I)+_[1]*I}}_=[S,A,O]}return T&&p>=O&&(x={x:u,y:d}),{length:O,point:x,min:{x:Math.min.apply(null,C.map(function(e){return e.x})),y:Math.min.apply(null,C.map(function(e){return e.y}))},max:{x:Math.max.apply(null,C.map(function(e){return e.x})),y:Math.max.apply(null,C.map(function(e){return e.y}))}}}(E[0],E[1],E[2],E[3],E[4],E[5],E[6],E[7],E[8],(t||0)-R,n||{})).length,x=c.min,C=c.max,w=c.point):"C"===m?(k=(u=(0,l.S)(E[0],E[1],E[2],E[3],E[4],E[5],E[6],E[7],(t||0)-R,n||{})).length,x=u.min,C=u.max,w=u.point):"Q"===m?(k=(d=function(e,t,n,r,a,o,s,l){var c,u=l.bbox,d=void 0===u||u,p=l.length,f=void 0===p||p,h=l.sampleSize,m=void 0===h?10:h,g="number"==typeof s,b=e,y=t,E=0,v=[b,y,0],T=[b,y],S={x:0,y:0},A=[{x:b,y:y}];g&&s<=0&&(S={x:b,y:y});for(var O=0;O<=m;O+=1){if(b=(c=function(e,t,n,r,a,i,o){var s=1-o;return{x:Math.pow(s,2)*e+2*s*o*n+Math.pow(o,2)*a,y:Math.pow(s,2)*t+2*s*o*r+Math.pow(o,2)*i}}(e,t,n,r,a,o,O/m)).x,y=c.y,d&&A.push({x:b,y:y}),f&&(E+=(0,i.y)(T,[b,y])),T=[b,y],g&&E>=s&&s>v[2]){var _=(E-s)/(E-v[2]);S={x:T[0]*(1-_)+v[0]*_,y:T[1]*(1-_)+v[1]*_}}v=[b,y,E]}return g&&s>=E&&(S={x:a,y:o}),{length:E,point:S,min:{x:Math.min.apply(null,A.map(function(e){return e.x})),y:Math.min.apply(null,A.map(function(e){return e.y}))},max:{x:Math.max.apply(null,A.map(function(e){return e.x})),y:Math.max.apply(null,A.map(function(e){return e.y}))}}}(E[0],E[1],E[2],E[3],E[4],E[5],(t||0)-R,n||{})).length,x=d.min,C=d.max,w=d.point):"Z"===m&&(k=(p=o((E=[v,T,S,A])[0],E[1],E[2],E[3],(t||0)-R)).length,x=p.min,C=p.max,w=p.point),y&&R=t&&(I=w),_.push(C),O.push(x),R+=k,v=(f="Z"!==m?g.slice(-2):[S,A])[0],T=f[1];return y&&t>=R&&(I={x:v,y:T}),{length:R,point:I,min:{x:Math.min.apply(null,O.map(function(e){return e.x})),y:Math.min.apply(null,O.map(function(e){return e.y}))},max:{x:Math.max.apply(null,_.map(function(e){return e.x})),y:Math.max.apply(null,_.map(function(e){return e.y}))}}}},51777:function(e,t,n){"use strict";n.d(t,{S:function(){return a}});var r=n(58076);function a(e,t,n,a,i,o,s,l,c,u){var d,p=u.bbox,f=void 0===p||p,h=u.length,m=void 0===h||h,g=u.sampleSize,b=void 0===g?10:g,y="number"==typeof c,E=e,v=t,T=0,S=[E,v,0],A=[E,v],O={x:0,y:0},_=[{x:E,y:v}];y&&c<=0&&(O={x:E,y:v});for(var k=0;k<=b;k+=1){if(E=(d=function(e,t,n,r,a,i,o,s,l){var c=1-l;return{x:Math.pow(c,3)*e+3*Math.pow(c,2)*l*n+3*c*Math.pow(l,2)*a+Math.pow(l,3)*o,y:Math.pow(c,3)*t+3*Math.pow(c,2)*l*r+3*c*Math.pow(l,2)*i+Math.pow(l,3)*s}}(e,t,n,a,i,o,s,l,k/b)).x,v=d.y,f&&_.push({x:E,y:v}),m&&(T+=(0,r.y)(A,[E,v])),A=[E,v],y&&T>=c&&c>S[2]){var x=(T-c)/(T-S[2]);O={x:A[0]*(1-x)+S[0]*x,y:A[1]*(1-x)+S[1]*x}}S=[E,v,T]}return y&&c>=T&&(O={x:s,y:l}),{length:T,point:O,min:{x:Math.min.apply(null,_.map(function(e){return e.x})),y:Math.min.apply(null,_.map(function(e){return e.y}))},max:{x:Math.max.apply(null,_.map(function(e){return e.x})),y:Math.max.apply(null,_.map(function(e){return e.y}))}}}},4503:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function i(e,t,r,i,o){if("function"!=typeof r)throw TypeError("The listener must be a function");var s=new a(r,i||e,o),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function o(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,a=[];if(0===this._eventsCount)return a;for(r in e=this._events)t.call(e,r)&&a.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?a.concat(Object.getOwnPropertySymbols(e)):a},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var a=0,i=r.length,o=Array(i);at.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let o="text/event-stream",s="last-event-id";function l(e,t){var{signal:n,headers:l,onopen:u,onmessage:d,onclose:p,onerror:f,openWhenHidden:h,fetch:m}=t,g=i(t,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((t,i)=>{let b;let y=Object.assign({},l);function E(){b.abort(),document.hidden||_()}y.accept||(y.accept=o),h||document.addEventListener("visibilitychange",E);let v=1e3,T=0;function S(){document.removeEventListener("visibilitychange",E),window.clearTimeout(T),b.abort()}null==n||n.addEventListener("abort",()=>{S(),t()});let A=null!=m?m:window.fetch,O=null!=u?u:c;async function _(){var n,o;b=new AbortController;try{let n,i,l,c;let u=await A(e,Object.assign(Object.assign({},g),{headers:y,signal:b.signal}));await O(u),await r(u.body,(o=function(e,t,n){let r=a(),i=new TextDecoder;return function(o,s){if(0===o.length)null==n||n(r),r=a();else if(s>0){let n=i.decode(o.subarray(0,s)),a=s+(32===o[s+1]?2:1),l=i.decode(o.subarray(a));switch(n){case"data":r.data=r.data?r.data+"\n"+l:l;break;case"event":r.event=l;break;case"id":e(r.id=l);break;case"retry":let c=parseInt(l,10);isNaN(c)||t(r.retry=c)}}}}(e=>{e?y[s]=e:delete y[s]},e=>{v=e},d),c=!1,function(e){void 0===n?(n=e,i=0,l=-1):n=function(e,t){let n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}(n,e);let t=n.length,r=0;for(;i=n?k.text.primary:_.text.primary;return t}let w=({color:e,name:t,mainShade:n=500,lightShade:i=300,darkShade:o=700})=>{if(!(e=(0,r.Z)({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw Error((0,u.Z)(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw Error((0,u.Z)(12,t?` (${t})`:"",JSON.stringify(e.main)));return x(e,"light",i,a),x(e,"dark",o,a),e.contrastText||(e.contrastText=C(e.main)),e},I=(0,d.Z)((0,r.Z)({common:(0,r.Z)({},g),mode:t,primary:w({color:s,name:"primary"}),secondary:w({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:w({color:c,name:"error"}),warning:w({color:h,name:"warning"}),info:w({color:p,name:"info"}),success:w({color:f,name:"success"}),grey:b,contrastThreshold:n,getContrastText:C,augmentColor:w,tonalOffset:a},{dark:k,light:_}[t]),o);return I}(a),R=(0,h.Z)(e),U=(0,d.Z)(R,{mixins:(t=R.breakpoints,(0,r.Z)({toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}}},n)),palette:c,shadows:N.slice(),typography:function(e,t){let n="function"==typeof t?t(e):t,{fontFamily:a=I,fontSize:o=14,fontWeightLight:s=300,fontWeightRegular:l=400,fontWeightMedium:c=500,fontWeightBold:u=700,htmlFontSize:p=16,allVariants:f,pxToRem:h}=n,m=(0,i.Z)(n,C),g=o/14,b=h||(e=>`${e/p*g}rem`),y=(e,t,n,i,o)=>(0,r.Z)({fontFamily:a,fontWeight:e,fontSize:b(t),lineHeight:n},a===I?{letterSpacing:`${Math.round(1e5*(i/t))/1e5}em`}:{},o,f),E={h1:y(s,96,1.167,-1.5),h2:y(s,60,1.2,-.5),h3:y(l,48,1.167,0),h4:y(l,34,1.235,.25),h5:y(l,24,1.334,0),h6:y(c,20,1.6,.15),subtitle1:y(l,16,1.75,.15),subtitle2:y(c,14,1.57,.1),body1:y(l,16,1.5,.15),body2:y(l,14,1.43,.15),button:y(c,14,1.75,.4,w),caption:y(l,12,1.66,.4),overline:y(l,12,2.66,1,w),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,d.Z)((0,r.Z)({htmlFontSize:p,pxToRem:b,fontFamily:a,fontSize:o,fontWeightLight:s,fontWeightRegular:l,fontWeightMedium:c,fontWeightBold:u},E),m,{clone:!1})}(c,s),transitions:function(e){let t=(0,r.Z)({},D,e.easing),n=(0,r.Z)({},P,e.duration);return(0,r.Z)({getAutoHeightDuration:F,create:(e=["all"],r={})=>{let{duration:a=n.standard,easing:o=t.easeInOut,delay:s=0}=r;return(0,i.Z)(r,L),(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof a?a:M(a)} ${o} ${"string"==typeof s?s:M(s)}`).join(",")}},e,{easing:t,duration:n})}(o),zIndex:(0,r.Z)({},B)});return(U=[].reduce((e,t)=>(0,d.Z)(e,t),U=(0,d.Z)(U,l))).unstable_sxConfig=(0,r.Z)({},p.Z,null==l?void 0:l.unstable_sxConfig),U.unstable_sx=function(e){return(0,f.Z)({sx:e,theme:this})},U}();var G="$$material",H=n(58128);let $=(0,H.ZP)({themeId:G,defaultTheme:U,rootShouldForwardProp:e=>"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e&&"classes"!==e});var z=n(1977),Z=n(8027);function W(e){return(0,Z.ZP)("MuiSvgIcon",e)}(0,z.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var V=n(85893);let Y=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],q=e=>{let{color:t,fontSize:n,classes:r}=e,a={root:["root","inherit"!==t&&`color${l(t)}`,`fontSize${l(n)}`]};return(0,s.Z)(a,W,r)},K=$("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${l(n.color)}`],t[`fontSize${l(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,a,i,o,s,l,c,u,d,p,f,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(a=e.transitions)||null==(a=a.duration)?void 0:a.shorter}),fontSize:({inherit:"inherit",small:(null==(i=e.typography)||null==(o=i.pxToRem)?void 0:o.call(i,20))||"1.25rem",medium:(null==(s=e.typography)||null==(l=s.pxToRem)?void 0:l.call(s,24))||"1.5rem",large:(null==(c=e.typography)||null==(u=c.pxToRem)?void 0:u.call(c,35))||"2.1875rem"})[t.fontSize],color:null!=(d=null==(p=(e.vars||e).palette)||null==(p=p[t.color])?void 0:p.main)?d:({action:null==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.active,disabled:null==(h=(e.vars||e).palette)||null==(h=h.action)?void 0:h.disabled,inherit:void 0})[t.color]}}),X=a.forwardRef(function(e,t){let n=function({props:e,name:t}){return(0,c.Z)({props:e,name:t,defaultTheme:U,themeId:G})}({props:e,name:"MuiSvgIcon"}),{children:s,className:l,color:u="inherit",component:d="svg",fontSize:p="medium",htmlColor:f,inheritViewBox:h=!1,titleAccess:m,viewBox:g="0 0 24 24"}=n,b=(0,i.Z)(n,Y),y=a.isValidElement(s)&&"svg"===s.type,E=(0,r.Z)({},n,{color:u,component:d,fontSize:p,instanceFontSize:e.fontSize,inheritViewBox:h,viewBox:g,hasSvgAsChild:y}),v={};h||(v.viewBox=g);let T=q(E);return(0,V.jsxs)(K,(0,r.Z)({as:d,className:(0,o.Z)(T.root,l),focusable:"false",color:f,"aria-hidden":!m||void 0,role:m?"img":void 0,ref:t},v,b,y&&s.props,{ownerState:E,children:[y?s.props.children:s,m?(0,V.jsx)("title",{children:m}):null]}))});function Q(e,t){function n(n,a){return(0,V.jsx)(X,(0,r.Z)({"data-testid":`${t}Icon`,ref:a},n,{children:e}))}return n.muiName=X.muiName,a.memo(a.forwardRef(n))}X.muiName="SvgIcon"},2101:function(e,t,n){"use strict";var r=n(64836);t._j=function(e,t){if(e=s(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return l(e)},t.mi=function(e,t){let n=c(e),r=c(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)},t.$n=function(e,t){if(e=s(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return l(e)};var a=r(n(743)),i=r(n(49425));function o(e,t=0,n=1){return(0,i.default)(e,t,n)}function s(e){let t;if(e.type)return e;if("#"===e.charAt(0))return s(function(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map(e=>e+e)),n?`rgb${4===n.length?"a":""}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));let n=e.indexOf("("),r=e.substring(0,n);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw Error((0,a.default)(9,e));let i=e.substring(n+1,e.length-1);if("color"===r){if(t=(i=i.split(" ")).shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(t))throw Error((0,a.default)(10,t))}else i=i.split(",");return{type:r,values:i=i.map(e=>parseFloat(e)),colorSpace:t}}function l(e){let{type:t,colorSpace:n}=e,{values:r}=e;return -1!==t.indexOf("rgb")?r=r.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),`${t}(${r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`})`}function c(e){let t="hsl"===(e=s(e)).type||"hsla"===e.type?s(function(e){e=s(e);let{values:t}=e,n=t[0],r=t[1]/100,a=t[2]/100,i=r*Math.min(a,1-a),o=(e,t=(e+n/30)%12)=>a-i*Math.max(Math.min(t-3,9-t,1),-1),c="rgb",u=[Math.round(255*o(0)),Math.round(255*o(8)),Math.round(255*o(4))];return"hsla"===e.type&&(c+="a",u.push(t[3])),l({type:c,values:u})}(e)).values:e.values;return Number((.2126*(t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)))[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}},58128:function(e,t,n){"use strict";var r=n(64836);t.ZP=function(e={}){let{themeId:t,defaultTheme:n=m,rootShouldForwardProp:r=h,slotShouldForwardProp:l=h}=e,u=e=>(0,c.default)((0,a.default)({},e,{theme:b((0,a.default)({},e,{defaultTheme:n,themeId:t}))}));return u.__mui_systemSx=!0,(e,c={})=>{var d;let f;(0,o.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));let{name:m,slot:E,skipVariantsResolver:v,skipSx:T,overridesResolver:S=(d=g(E))?(e,t)=>t[d]:null}=c,A=(0,i.default)(c,p),O=void 0!==v?v:E&&"Root"!==E&&"root"!==E||!1,_=T||!1,k=h;"Root"===E||"root"===E?k=r:E?k=l:"string"==typeof e&&e.charCodeAt(0)>96&&(k=void 0);let x=(0,o.default)(e,(0,a.default)({shouldForwardProp:k,label:f},A)),C=e=>"function"==typeof e&&e.__emotion_real!==e||(0,s.isPlainObject)(e)?r=>y(e,(0,a.default)({},r,{theme:b({theme:r.theme,defaultTheme:n,themeId:t})})):e,w=(r,...i)=>{let o=C(r),s=i?i.map(C):[];m&&S&&s.push(e=>{let r=b((0,a.default)({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[m]||!r.components[m].styleOverrides)return null;let i=r.components[m].styleOverrides,o={};return Object.entries(i).forEach(([t,n])=>{o[t]=y(n,(0,a.default)({},e,{theme:r}))}),S(e,o)}),m&&!O&&s.push(e=>{var r;let i=b((0,a.default)({},e,{defaultTheme:n,themeId:t})),o=null==i||null==(r=i.components)||null==(r=r[m])?void 0:r.variants;return y({variants:o},(0,a.default)({},e,{theme:i}))}),_||s.push(u);let l=s.length-i.length;if(Array.isArray(r)&&l>0){let e=Array(l).fill("");(o=[...r,...e]).raw=[...r.raw,...e]}let c=x(o,...s);return e.muiName&&(c.muiName=e.muiName),c};return x.withConfig&&(w.withConfig=x.withConfig),w}};var a=r(n(10434)),i=r(n(7071)),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(23534)),s=n(211);r(n(99698)),r(n(37889));var l=r(n(19926)),c=r(n(386));let u=["ownerState"],d=["variants"],p=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function h(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}let m=(0,l.default)(),g=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function b({defaultTheme:e,theme:t,themeId:n}){return 0===Object.keys(t).length?e:t[n]||t}function y(e,t){let{ownerState:n}=t,r=(0,i.default)(t,u),o="function"==typeof e?e((0,a.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(e=>y(e,(0,a.default)({ownerState:n},r)));if(o&&"object"==typeof o&&Array.isArray(o.variants)){let{variants:e=[]}=o,t=(0,i.default)(o,d),s=t;return e.forEach(e=>{let t=!0;"function"==typeof e.props?t=e.props((0,a.default)({ownerState:n},r,n)):Object.keys(e.props).forEach(a=>{(null==n?void 0:n[a])!==e.props[a]&&r[a]!==e.props[a]&&(t=!1)}),t&&(Array.isArray(s)||(s=[s]),s.push("function"==typeof e.style?e.style((0,a.default)({ownerState:n},r,n)):e.style))}),s}return o}},19926:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},private_createBreakpoints:function(){return a.Z},unstable_applyStyles:function(){return i.Z}});var r=n(88647),a=n(41512),i=n(57064)},386:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},extendSxProp:function(){return a.Z},unstable_createStyleFunctionSx:function(){return r.n},unstable_defaultSxConfig:function(){return i.Z}});var r=n(86523),a=n(39707),i=n(44920)},99698:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(62908)},49425:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r}});var r=function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}},211:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},isPlainObject:function(){return r.P}});var r=n(68027)},743:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(78758)},37889:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return l},getFunctionName:function(){return i}});var r=n(59864);let a=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function i(e){let t=`${e}`.match(a),n=t&&t[1];return n||""}function o(e,t=""){return e.displayName||e.name||i(e)||t}function s(e,t,n){let r=o(t);return e.displayName||(""!==r?`${n}(${r})`:n)}function l(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return o(e,"Component");if("object"==typeof e)switch(e.$$typeof){case r.ForwardRef:return s(e,e.render,"ForwardRef");case r.Memo:return s(e,e.type,"memo")}}}},2093:function(e,t,n){"use strict";var r=n(97582),a=n(67294),i=n(92770);t.Z=function(e,t){(0,a.useEffect)(function(){var t=e(),n=!1;return!function(){(0,r.mG)(this,void 0,void 0,function(){return(0,r.Jh)(this,function(e){switch(e.label){case 0:if(!(0,i.mf)(t[Symbol.asyncIterator]))return[3,4];e.label=1;case 1:return[4,t.next()];case 2:if(e.sent().done||n)return[3,3];return[3,1];case 3:return[3,6];case 4:return[4,t];case 5:e.sent(),e.label=6;case 6:return[2]}})})}(),function(){n=!0}},t)}},85265:function(e,t,n){"use strict";n.d(t,{Z:function(){return q}});var r=n(67294),a=n(93967),i=n.n(a),o=n(1413),s=n(97685),l=n(2788),c=n(8410),u=r.createContext(null),d=r.createContext({}),p=n(4942),f=n(87462),h=n(29372),m=n(15105),g=n(64217),b=n(45987),y=n(42550),E=["prefixCls","className","containerRef"],v=function(e){var t=e.prefixCls,n=e.className,a=e.containerRef,o=(0,b.Z)(e,E),s=r.useContext(d).panel,l=(0,y.x1)(s,a);return r.createElement("div",(0,f.Z)({className:i()("".concat(t,"-content"),n),role:"dialog",ref:l},(0,g.Z)(e,{aria:!0}),{"aria-modal":"true"},o))},T=n(80334);function S(e){return"string"==typeof e&&String(Number(e))===e?((0,T.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var A={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"},O=r.forwardRef(function(e,t){var n,a,l,c=e.prefixCls,d=e.open,b=e.placement,y=e.inline,E=e.push,T=e.forceRender,O=e.autoFocus,_=e.keyboard,k=e.classNames,x=e.rootClassName,C=e.rootStyle,w=e.zIndex,I=e.className,R=e.id,N=e.style,L=e.motion,D=e.width,P=e.height,M=e.children,F=e.mask,B=e.maskClosable,j=e.maskMotion,U=e.maskClassName,G=e.maskStyle,H=e.afterOpenChange,$=e.onClose,z=e.onMouseEnter,Z=e.onMouseOver,W=e.onMouseLeave,V=e.onClick,Y=e.onKeyDown,q=e.onKeyUp,K=e.styles,X=e.drawerRender,Q=r.useRef(),J=r.useRef(),ee=r.useRef();r.useImperativeHandle(t,function(){return Q.current}),r.useEffect(function(){if(d&&O){var e;null===(e=Q.current)||void 0===e||e.focus({preventScroll:!0})}},[d]);var et=r.useState(!1),en=(0,s.Z)(et,2),er=en[0],ea=en[1],ei=r.useContext(u),eo=null!==(n=null!==(a=null===(l="boolean"==typeof E?E?{}:{distance:0}:E||{})||void 0===l?void 0:l.distance)&&void 0!==a?a:null==ei?void 0:ei.pushDistance)&&void 0!==n?n:180,es=r.useMemo(function(){return{pushDistance:eo,push:function(){ea(!0)},pull:function(){ea(!1)}}},[eo]);r.useEffect(function(){var e,t;d?null==ei||null===(e=ei.push)||void 0===e||e.call(ei):null==ei||null===(t=ei.pull)||void 0===t||t.call(ei)},[d]),r.useEffect(function(){return function(){var e;null==ei||null===(e=ei.pull)||void 0===e||e.call(ei)}},[]);var el=F&&r.createElement(h.ZP,(0,f.Z)({key:"mask"},j,{visible:d}),function(e,t){var n=e.className,a=e.style;return r.createElement("div",{className:i()("".concat(c,"-mask"),n,null==k?void 0:k.mask,U),style:(0,o.Z)((0,o.Z)((0,o.Z)({},a),G),null==K?void 0:K.mask),onClick:B&&d?$:void 0,ref:t})}),ec="function"==typeof L?L(b):L,eu={};if(er&&eo)switch(b){case"top":eu.transform="translateY(".concat(eo,"px)");break;case"bottom":eu.transform="translateY(".concat(-eo,"px)");break;case"left":eu.transform="translateX(".concat(eo,"px)");break;default:eu.transform="translateX(".concat(-eo,"px)")}"left"===b||"right"===b?eu.width=S(D):eu.height=S(P);var ed={onMouseEnter:z,onMouseOver:Z,onMouseLeave:W,onClick:V,onKeyDown:Y,onKeyUp:q},ep=r.createElement(h.ZP,(0,f.Z)({key:"panel"},ec,{visible:d,forceRender:T,onVisibleChanged:function(e){null==H||H(e)},removeOnLeave:!1,leavedClassName:"".concat(c,"-content-wrapper-hidden")}),function(t,n){var a=t.className,s=t.style,l=r.createElement(v,(0,f.Z)({id:R,containerRef:n,prefixCls:c,className:i()(I,null==k?void 0:k.content),style:(0,o.Z)((0,o.Z)({},N),null==K?void 0:K.content)},(0,g.Z)(e,{aria:!0}),ed),M);return r.createElement("div",(0,f.Z)({className:i()("".concat(c,"-content-wrapper"),null==k?void 0:k.wrapper,a),style:(0,o.Z)((0,o.Z)((0,o.Z)({},eu),s),null==K?void 0:K.wrapper)},(0,g.Z)(e,{data:!0})),X?X(l):l)}),ef=(0,o.Z)({},C);return w&&(ef.zIndex=w),r.createElement(u.Provider,{value:es},r.createElement("div",{className:i()(c,"".concat(c,"-").concat(b),x,(0,p.Z)((0,p.Z)({},"".concat(c,"-open"),d),"".concat(c,"-inline"),y)),style:ef,tabIndex:-1,ref:Q,onKeyDown:function(e){var t,n,r=e.keyCode,a=e.shiftKey;switch(r){case m.Z.TAB:r===m.Z.TAB&&(a||document.activeElement!==ee.current?a&&document.activeElement===J.current&&(null===(n=ee.current)||void 0===n||n.focus({preventScroll:!0})):null===(t=J.current)||void 0===t||t.focus({preventScroll:!0}));break;case m.Z.ESC:$&&_&&(e.stopPropagation(),$(e))}}},el,r.createElement("div",{tabIndex:0,ref:J,style:A,"aria-hidden":"true","data-sentinel":"start"}),ep,r.createElement("div",{tabIndex:0,ref:ee,style:A,"aria-hidden":"true","data-sentinel":"end"})))}),_=function(e){var t=e.open,n=e.prefixCls,a=e.placement,i=e.autoFocus,u=e.keyboard,p=e.width,f=e.mask,h=void 0===f||f,m=e.maskClosable,g=e.getContainer,b=e.forceRender,y=e.afterOpenChange,E=e.destroyOnClose,v=e.onMouseEnter,T=e.onMouseOver,S=e.onMouseLeave,A=e.onClick,_=e.onKeyDown,k=e.onKeyUp,x=e.panelRef,C=r.useState(!1),w=(0,s.Z)(C,2),I=w[0],R=w[1],N=r.useState(!1),L=(0,s.Z)(N,2),D=L[0],P=L[1];(0,c.Z)(function(){P(!0)},[]);var M=!!D&&void 0!==t&&t,F=r.useRef(),B=r.useRef();(0,c.Z)(function(){M&&(B.current=document.activeElement)},[M]);var j=r.useMemo(function(){return{panel:x}},[x]);if(!b&&!I&&!M&&E)return null;var U=(0,o.Z)((0,o.Z)({},e),{},{open:M,prefixCls:void 0===n?"rc-drawer":n,placement:void 0===a?"right":a,autoFocus:void 0===i||i,keyboard:void 0===u||u,width:void 0===p?378:p,mask:h,maskClosable:void 0===m||m,inline:!1===g,afterOpenChange:function(e){var t,n;R(e),null==y||y(e),e||!B.current||null!==(t=F.current)&&void 0!==t&&t.contains(B.current)||null===(n=B.current)||void 0===n||n.focus({preventScroll:!0})},ref:F},{onMouseEnter:v,onMouseOver:T,onMouseLeave:S,onClick:A,onKeyDown:_,onKeyUp:k});return r.createElement(d.Provider,{value:j},r.createElement(l.Z,{open:M||b||I,autoDestroy:!1,getContainer:g,autoLock:h&&(M||I)},r.createElement(O,U)))},k=n(89942),x=n(87263),C=n(33603),w=n(43945),I=n(53124),R=n(16569),N=n(69760),L=n(48054),D=e=>{var t,n;let{prefixCls:a,title:o,footer:s,extra:l,loading:c,onClose:u,headerStyle:d,bodyStyle:p,footerStyle:f,children:h,classNames:m,styles:g}=e,{drawer:b}=r.useContext(I.E_),y=r.useCallback(e=>r.createElement("button",{type:"button",onClick:u,"aria-label":"Close",className:`${a}-close`},e),[u]),[E,v]=(0,N.Z)((0,N.w)(e),(0,N.w)(b),{closable:!0,closeIconRender:y}),T=r.useMemo(()=>{var e,t;return o||E?r.createElement("div",{style:Object.assign(Object.assign(Object.assign({},null===(e=null==b?void 0:b.styles)||void 0===e?void 0:e.header),d),null==g?void 0:g.header),className:i()(`${a}-header`,{[`${a}-header-close-only`]:E&&!o&&!l},null===(t=null==b?void 0:b.classNames)||void 0===t?void 0:t.header,null==m?void 0:m.header)},r.createElement("div",{className:`${a}-header-title`},v,o&&r.createElement("div",{className:`${a}-title`},o)),l&&r.createElement("div",{className:`${a}-extra`},l)):null},[E,v,l,d,a,o]),S=r.useMemo(()=>{var e,t;if(!s)return null;let n=`${a}-footer`;return r.createElement("div",{className:i()(n,null===(e=null==b?void 0:b.classNames)||void 0===e?void 0:e.footer,null==m?void 0:m.footer),style:Object.assign(Object.assign(Object.assign({},null===(t=null==b?void 0:b.styles)||void 0===t?void 0:t.footer),f),null==g?void 0:g.footer)},s)},[s,f,a]);return r.createElement(r.Fragment,null,T,r.createElement("div",{className:i()(`${a}-body`,null==m?void 0:m.body,null===(t=null==b?void 0:b.classNames)||void 0===t?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},null===(n=null==b?void 0:b.styles)||void 0===n?void 0:n.body),p),null==g?void 0:g.body)},c?r.createElement(L.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${a}-body-skeleton`}):h),S)},P=n(25446),M=n(14747),F=n(83559),B=n(83262);let j=e=>{let t="100%";return({left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`})[e]},U=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),G=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}}},U({opacity:e},{opacity:1})),H=(e,t)=>[G(.7,t),U({transform:j(e)},{transform:"none"})];var $=e=>{let{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:G(0,n),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce((e,t)=>Object.assign(Object.assign({},e),{[`&-${t}`]:H(t,n)}),{})}}};let z=e=>{let{borderRadiusSM:t,componentCls:n,zIndexPopup:r,colorBgMask:a,colorBgElevated:i,motionDurationSlow:o,motionDurationMid:s,paddingXS:l,padding:c,paddingLG:u,fontSizeLG:d,lineHeightLG:p,lineWidth:f,lineType:h,colorSplit:m,marginXS:g,colorIcon:b,colorIconHover:y,colorBgTextHover:E,colorBgTextActive:v,colorText:T,fontWeightStrong:S,footerPaddingBlock:A,footerPaddingInline:O,calc:_}=e,k=`${n}-content-wrapper`;return{[n]:{position:"fixed",inset:0,zIndex:r,pointerEvents:"none",color:T,"&-pure":{position:"relative",background:i,display:"flex",flexDirection:"column",[`&${n}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${n}-mask`]:{position:"absolute",inset:0,zIndex:r,background:a,pointerEvents:"auto"},[k]:{position:"absolute",zIndex:r,maxWidth:"100vw",transition:`all ${o}`,"&-hidden":{display:"none"}},[`&-left > ${k}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${k}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${k}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${k}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${n}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:i,pointerEvents:"auto"},[`${n}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,P.bf)(c)} ${(0,P.bf)(u)}`,fontSize:d,lineHeight:p,borderBottom:`${(0,P.bf)(f)} ${h} ${m}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:"none"},[`${n}-close`]:Object.assign({display:"inline-flex",width:_(d).add(l).equal(),height:_(d).add(l).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",marginInlineEnd:g,color:b,fontWeight:S,fontSize:d,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${s}`,textRendering:"auto","&:hover":{color:y,backgroundColor:E,textDecoration:"none"},"&:active":{backgroundColor:v}},(0,M.Qy)(e)),[`${n}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:d,lineHeight:p},[`${n}-body`]:{flex:1,minWidth:0,minHeight:0,padding:u,overflow:"auto",[`${n}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${n}-footer`]:{flexShrink:0,padding:`${(0,P.bf)(A)} ${(0,P.bf)(O)}`,borderTop:`${(0,P.bf)(f)} ${h} ${m}`},"&-rtl":{direction:"rtl"}}}};var Z=(0,F.I$)("Drawer",e=>{let t=(0,B.IX)(e,{});return[z(t),$(t)]},e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding})),W=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let V={distance:180},Y=e=>{let{rootClassName:t,width:n,height:a,size:o="default",mask:s=!0,push:l=V,open:c,afterOpenChange:u,onClose:d,prefixCls:p,getContainer:f,style:h,className:m,visible:g,afterVisibleChange:b,maskStyle:y,drawerStyle:E,contentWrapperStyle:v}=e,T=W(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:S,getPrefixCls:A,direction:O,drawer:N}=r.useContext(I.E_),L=A("drawer",p),[P,M,F]=Z(L),B=void 0===f&&S?()=>S(document.body):f,j=i()({"no-mask":!s,[`${L}-rtl`]:"rtl"===O},t,M,F),U=r.useMemo(()=>null!=n?n:"large"===o?736:378,[n,o]),G=r.useMemo(()=>null!=a?a:"large"===o?736:378,[a,o]),H={motionName:(0,C.m)(L,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},$=(0,R.H)(),[z,Y]=(0,x.Cn)("Drawer",T.zIndex),{classNames:q={},styles:K={}}=T,{classNames:X={},styles:Q={}}=N||{};return P(r.createElement(k.Z,{form:!0,space:!0},r.createElement(w.Z.Provider,{value:Y},r.createElement(_,Object.assign({prefixCls:L,onClose:d,maskMotion:H,motion:e=>({motionName:(0,C.m)(L,`panel-motion-${e}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500})},T,{classNames:{mask:i()(q.mask,X.mask),content:i()(q.content,X.content),wrapper:i()(q.wrapper,X.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},K.mask),y),Q.mask),content:Object.assign(Object.assign(Object.assign({},K.content),E),Q.content),wrapper:Object.assign(Object.assign(Object.assign({},K.wrapper),v),Q.wrapper)},open:null!=c?c:g,mask:s,push:l,width:U,height:G,style:Object.assign(Object.assign({},null==N?void 0:N.style),h),className:i()(null==N?void 0:N.className,m),rootClassName:j,getContainer:B,afterOpenChange:null!=u?u:b,panelRef:$,zIndex:z}),r.createElement(D,Object.assign({prefixCls:L},T,{onClose:d}))))))};Y._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,style:n,className:a,placement:o="right"}=e,s=W(e,["prefixCls","style","className","placement"]),{getPrefixCls:l}=r.useContext(I.E_),c=l("drawer",t),[u,d,p]=Z(c),f=i()(c,`${c}-pure`,`${c}-${o}`,d,p,a);return u(r.createElement("div",{className:f,style:n},r.createElement(D,Object.assign({prefixCls:c},s))))};var q=Y},86250:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r=n(67294),a=n(93967),i=n.n(a),o=n(98423),s=n(98065),l=n(53124),c=n(83559),u=n(83262);let d=["wrap","nowrap","wrap-reverse"],p=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],f=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],h=(e,t)=>{let n=!0===t.wrap?"wrap":t.wrap;return{[`${e}-wrap-${n}`]:n&&d.includes(n)}},m=(e,t)=>{let n={};return f.forEach(r=>{n[`${e}-align-${r}`]=t.align===r}),n[`${e}-align-stretch`]=!t.align&&!!t.vertical,n},g=(e,t)=>{let n={};return p.forEach(r=>{n[`${e}-justify-${r}`]=t.justify===r}),n},b=e=>{let{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},y=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},E=e=>{let{componentCls:t}=e,n={};return d.forEach(e=>{n[`${t}-wrap-${e}`]={flexWrap:e}}),n},v=e=>{let{componentCls:t}=e,n={};return f.forEach(e=>{n[`${t}-align-${e}`]={alignItems:e}}),n},T=e=>{let{componentCls:t}=e,n={};return p.forEach(e=>{n[`${t}-justify-${e}`]={justifyContent:e}}),n};var S=(0,c.I$)("Flex",e=>{let{paddingXS:t,padding:n,paddingLG:r}=e,a=(0,u.IX)(e,{flexGapSM:t,flexGap:n,flexGapLG:r});return[b(a),y(a),E(a),v(a),T(a)]},()=>({}),{resetStyle:!1}),A=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let O=r.forwardRef((e,t)=>{let{prefixCls:n,rootClassName:a,className:c,style:u,flex:d,gap:p,children:f,vertical:b=!1,component:y="div"}=e,E=A(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:v,direction:T,getPrefixCls:O}=r.useContext(l.E_),_=O("flex",n),[k,x,C]=S(_),w=null!=b?b:null==v?void 0:v.vertical,I=i()(c,a,null==v?void 0:v.className,_,x,C,i()(Object.assign(Object.assign(Object.assign({},h(_,e)),m(_,e)),g(_,e))),{[`${_}-rtl`]:"rtl"===T,[`${_}-gap-${p}`]:(0,s.n)(p),[`${_}-vertical`]:w}),R=Object.assign(Object.assign({},null==v?void 0:v.style),u);return d&&(R.flex=d),p&&!(0,s.n)(p)&&(R.gap=p),k(r.createElement(y,Object.assign({ref:t,className:I,style:R},(0,o.Z)(E,["justify","wrap","align"])),f))});var _=O},57020:function(e,t,n){"use strict";n.d(t,{Z:function(){return eT}});var r=n(67294),a=n(99611),i=n(93967),o=n.n(i),s=n(87462),l=n(1413),c=n(4942),u=n(97685),d=n(71002),p=n(45987),f=n(27678),h=n(21770),m=n(40974),g=n(64019),b=n(15105),y=n(2788),E=n(29372),v=r.createContext(null),T=function(e){var t=e.visible,n=e.maskTransitionName,a=e.getContainer,i=e.prefixCls,s=e.rootClassName,u=e.icons,d=e.countRender,p=e.showSwitch,f=e.showProgress,h=e.current,m=e.transform,g=e.count,T=e.scale,S=e.minScale,A=e.maxScale,O=e.closeIcon,_=e.onSwitchLeft,k=e.onSwitchRight,x=e.onClose,C=e.onZoomIn,w=e.onZoomOut,I=e.onRotateRight,R=e.onRotateLeft,N=e.onFlipX,L=e.onFlipY,D=e.onReset,P=e.toolbarRender,M=e.zIndex,F=e.image,B=(0,r.useContext)(v),j=u.rotateLeft,U=u.rotateRight,G=u.zoomIn,H=u.zoomOut,$=u.close,z=u.left,Z=u.right,W=u.flipX,V=u.flipY,Y="".concat(i,"-operations-operation");r.useEffect(function(){var e=function(e){e.keyCode===b.Z.ESC&&x()};return t&&window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}},[t]);var q=[{icon:V,onClick:L,type:"flipY"},{icon:W,onClick:N,type:"flipX"},{icon:j,onClick:R,type:"rotateLeft"},{icon:U,onClick:I,type:"rotateRight"},{icon:H,onClick:w,type:"zoomOut",disabled:T<=S},{icon:G,onClick:C,type:"zoomIn",disabled:T===A}].map(function(e){var t,n=e.icon,a=e.onClick,s=e.type,l=e.disabled;return r.createElement("div",{className:o()(Y,(t={},(0,c.Z)(t,"".concat(i,"-operations-operation-").concat(s),!0),(0,c.Z)(t,"".concat(i,"-operations-operation-disabled"),!!l),t)),onClick:a,key:s},n)}),K=r.createElement("div",{className:"".concat(i,"-operations")},q);return r.createElement(E.ZP,{visible:t,motionName:n},function(e){var t=e.className,n=e.style;return r.createElement(y.Z,{open:!0,getContainer:null!=a?a:document.body},r.createElement("div",{className:o()("".concat(i,"-operations-wrapper"),t,s),style:(0,l.Z)((0,l.Z)({},n),{},{zIndex:M})},null===O?null:r.createElement("button",{className:"".concat(i,"-close"),onClick:x},O||$),p&&r.createElement(r.Fragment,null,r.createElement("div",{className:o()("".concat(i,"-switch-left"),(0,c.Z)({},"".concat(i,"-switch-left-disabled"),0===h)),onClick:_},z),r.createElement("div",{className:o()("".concat(i,"-switch-right"),(0,c.Z)({},"".concat(i,"-switch-right-disabled"),h===g-1)),onClick:k},Z)),r.createElement("div",{className:"".concat(i,"-footer")},f&&r.createElement("div",{className:"".concat(i,"-progress")},d?d(h+1,g):"".concat(h+1," / ").concat(g)),P?P(K,(0,l.Z)((0,l.Z)({icons:{flipYIcon:q[0],flipXIcon:q[1],rotateLeftIcon:q[2],rotateRightIcon:q[3],zoomOutIcon:q[4],zoomInIcon:q[5]},actions:{onFlipY:L,onFlipX:N,onRotateLeft:R,onRotateRight:I,onZoomOut:w,onZoomIn:C,onReset:D,onClose:x},transform:m},B?{current:h,total:g}:{}),{},{image:F})):K)))})},S=n(91881),A=n(75164),O={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1},_=n(80334);function k(e,t,n,r){var a=t+n,i=(n-r)/2;if(n>r){if(t>0)return(0,c.Z)({},e,i);if(t<0&&ar)return(0,c.Z)({},e,t<0?i:-i);return{}}function x(e,t,n,r){var a=(0,f.g1)(),i=a.width,o=a.height,s=null;return e<=i&&t<=o?s={x:0,y:0}:(e>i||t>o)&&(s=(0,l.Z)((0,l.Z)({},k("x",n,e,i)),k("y",r,t,o))),s}function C(e){var t=e.src,n=e.isCustomPlaceholder,a=e.fallback,i=(0,r.useState)(n?"loading":"normal"),o=(0,u.Z)(i,2),s=o[0],l=o[1],c=(0,r.useRef)(!1),d="error"===s;(0,r.useEffect)(function(){var e=!0;return new Promise(function(e){var n=document.createElement("img");n.onerror=function(){return e(!1)},n.onload=function(){return e(!0)},n.src=t}).then(function(t){!t&&e&&l("error")}),function(){e=!1}},[t]),(0,r.useEffect)(function(){n&&!c.current?l("loading"):d&&l("normal")},[t]);var p=function(){l("normal")};return[function(e){c.current=!1,"loading"===s&&null!=e&&e.complete&&(e.naturalWidth||e.naturalHeight)&&(c.current=!0,p())},d&&a?{src:a}:{onLoad:p,src:t},s]}function w(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}var I=["fallback","src","imgRef"],R=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],N=function(e){var t=e.fallback,n=e.src,a=e.imgRef,i=(0,p.Z)(e,I),o=C({src:n,fallback:t}),l=(0,u.Z)(o,2),c=l[0],d=l[1];return r.createElement("img",(0,s.Z)({ref:function(e){a.current=e,c(e)}},i,d))},L=function(e){var t,n,a,i,d,h,y,E,k,C,I,L,D,P,M,F,B,j,U,G,H,$,z,Z,W,V,Y,q,K=e.prefixCls,X=e.src,Q=e.alt,J=e.imageInfo,ee=e.fallback,et=e.movable,en=void 0===et||et,er=e.onClose,ea=e.visible,ei=e.icons,eo=e.rootClassName,es=e.closeIcon,el=e.getContainer,ec=e.current,eu=void 0===ec?0:ec,ed=e.count,ep=void 0===ed?1:ed,ef=e.countRender,eh=e.scaleStep,em=void 0===eh?.5:eh,eg=e.minScale,eb=void 0===eg?1:eg,ey=e.maxScale,eE=void 0===ey?50:ey,ev=e.transitionName,eT=e.maskTransitionName,eS=void 0===eT?"fade":eT,eA=e.imageRender,eO=e.imgCommonProps,e_=e.toolbarRender,ek=e.onTransform,ex=e.onChange,eC=(0,p.Z)(e,R),ew=(0,r.useRef)(),eI=(0,r.useContext)(v),eR=eI&&ep>1,eN=eI&&ep>=1,eL=(0,r.useState)(!0),eD=(0,u.Z)(eL,2),eP=eD[0],eM=eD[1],eF=(t=(0,r.useRef)(null),n=(0,r.useRef)([]),a=(0,r.useState)(O),d=(i=(0,u.Z)(a,2))[0],h=i[1],y=function(e,r){null===t.current&&(n.current=[],t.current=(0,A.Z)(function(){h(function(e){var a=e;return n.current.forEach(function(e){a=(0,l.Z)((0,l.Z)({},a),e)}),t.current=null,null==ek||ek({transform:a,action:r}),a})})),n.current.push((0,l.Z)((0,l.Z)({},d),e))},{transform:d,resetTransform:function(e){h(O),(0,S.Z)(O,d)||null==ek||ek({transform:O,action:e})},updateTransform:y,dispatchZoomChange:function(e,t,n,r,a){var i=ew.current,o=i.width,s=i.height,l=i.offsetWidth,c=i.offsetHeight,u=i.offsetLeft,p=i.offsetTop,h=e,m=d.scale*e;m>eE?(m=eE,h=eE/d.scale):m0&&(t=1/t),eG(t,"wheel",e.clientX,e.clientY)}}}),e$=eH.isMoving,ez=eH.onMouseDown,eZ=eH.onWheel,eW=(U=eB.rotate,G=eB.scale,H=eB.x,$=eB.y,z=(0,r.useState)(!1),W=(Z=(0,u.Z)(z,2))[0],V=Z[1],Y=(0,r.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),q=function(e){Y.current=(0,l.Z)((0,l.Z)({},Y.current),e)},(0,r.useEffect)(function(){var e;return ea&&en&&(e=(0,g.Z)(window,"touchmove",function(e){return e.preventDefault()},{passive:!1})),function(){var t;null===(t=e)||void 0===t||t.remove()}},[ea,en]),{isTouching:W,onTouchStart:function(e){if(en){e.stopPropagation(),V(!0);var t=e.touches,n=void 0===t?[]:t;n.length>1?q({point1:{x:n[0].clientX,y:n[0].clientY},point2:{x:n[1].clientX,y:n[1].clientY},eventType:"touchZoom"}):q({point1:{x:n[0].clientX-H,y:n[0].clientY-$},eventType:"move"})}},onTouchMove:function(e){var t=e.touches,n=void 0===t?[]:t,r=Y.current,a=r.point1,i=r.point2,o=r.eventType;if(n.length>1&&"touchZoom"===o){var s={x:n[0].clientX,y:n[0].clientY},l={x:n[1].clientX,y:n[1].clientY},c=function(e,t,n,r){var a=w(e,n),i=w(t,r);if(0===a&&0===i)return[e.x,e.y];var o=a/(a+i);return[e.x+o*(t.x-e.x),e.y+o*(t.y-e.y)]}(a,i,s,l),d=(0,u.Z)(c,2),p=d[0],f=d[1];eG(w(s,l)/w(a,i),"touchZoom",p,f,!0),q({point1:s,point2:l,eventType:"touchZoom"})}else"move"===o&&(eU({x:n[0].clientX-a.x,y:n[0].clientY-a.y},"move"),q({eventType:"move"}))},onTouchEnd:function(){if(ea){if(W&&V(!1),q({eventType:"none"}),eb>G)return eU({x:0,y:0,scale:eb},"touchZoom");var e=ew.current.offsetWidth*G,t=ew.current.offsetHeight*G,n=ew.current.getBoundingClientRect(),r=n.left,a=n.top,i=U%180!=0,o=x(i?t:e,i?e:t,r,a);o&&eU((0,l.Z)({},o),"dragRebound")}}}),eV=eW.isTouching,eY=eW.onTouchStart,eq=eW.onTouchMove,eK=eW.onTouchEnd,eX=eB.rotate,eQ=eB.scale,eJ=o()((0,c.Z)({},"".concat(K,"-moving"),e$));(0,r.useEffect)(function(){eP||eM(!0)},[eP]);var e0=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu>0&&(eM(!1),ej("prev"),null==ex||ex(eu-1,eu))},e1=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu({position:e||"absolute",inset:0}),eu=e=>{let{iconCls:t,motionDurationSlow:n,paddingXXS:r,marginXXS:a,prefixCls:i,colorTextLightSolid:o}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:o,background:new en.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${i}-mask-info`]:Object.assign(Object.assign({},ea.vS),{padding:`0 ${(0,et.bf)(r)}`,[t]:{marginInlineEnd:a,svg:{verticalAlign:"baseline"}}})}},ed=e=>{let{previewCls:t,modalMaskBg:n,paddingSM:r,marginXL:a,margin:i,paddingLG:o,previewOperationColorDisabled:s,previewOperationHoverColor:l,motionDurationSlow:c,iconCls:u,colorTextLightSolid:d}=e,p=new en.C(n).setAlpha(.1),f=p.clone().setAlpha(.2);return{[`${t}-footer`]:{position:"fixed",bottom:a,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor,transform:"translateX(-50%)"},[`${t}-progress`]:{marginBottom:i},[`${t}-close`]:{position:"fixed",top:a,right:{_skip_check_:!0,value:a},display:"flex",color:d,backgroundColor:p.toRgbString(),borderRadius:"50%",padding:r,outline:0,border:0,cursor:"pointer",transition:`all ${c}`,"&:hover":{backgroundColor:f.toRgbString()},[`& > ${u}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,et.bf)(o)}`,backgroundColor:p.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:r,padding:r,cursor:"pointer",transition:`all ${c}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${u}`]:{color:l},"&-disabled":{color:s,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${u}`]:{fontSize:e.previewOperationSize}}}}},ep=e=>{let{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:r,previewCls:a,zIndexPopup:i,motionDurationSlow:o}=e,s=new en.C(t).setAlpha(.1),l=s.clone().setAlpha(.2);return{[`${a}-switch-left, ${a}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(i).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:s.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${o}`,userSelect:"none","&:hover":{background:l.toRgbString()},"&-disabled":{"&, &:hover":{color:r,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${a}-switch-left`]:{insetInlineStart:e.marginSM},[`${a}-switch-right`]:{insetInlineEnd:e.marginSM}}},ef=e=>{let{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:a}=e;return[{[`${a}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:Object.assign(Object.assign({},ec()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${r} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},ec()),{transition:`transform ${r} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${a}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${a}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal()},"&":[ed(e),ep(e)]}]},eh=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},eu(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},ec())}}},em=e=>{let{previewCls:t}=e;return{[`${t}-root`]:(0,ei._y)(e,"zoom"),"&":(0,eo.J$)(e,!0)}};var eg=(0,es.I$)("Image",e=>{let t=`${e.componentCls}-preview`,n=(0,el.IX)(e,{previewCls:t,modalMaskBg:new en.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[eh(n),ef(n),(0,er.QA)((0,el.IX)(n,{componentCls:t})),em(n)]},e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new en.C(e.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new en.C(e.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new en.C(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:1.5*e.fontSizeIcon})),eb=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ey={rotateLeft:r.createElement(K.Z,null),rotateRight:r.createElement(X.Z,null),zoomIn:r.createElement(J.Z,null),zoomOut:r.createElement(ee.Z,null),close:r.createElement(V.Z,null),left:r.createElement(Y.Z,null),right:r.createElement(q.Z,null),flipX:r.createElement(Q.Z,null),flipY:r.createElement(Q.Z,{rotate:90})};var eE=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ev=e=>{var t;let{prefixCls:n,preview:i,className:s,rootClassName:l,style:c}=e,u=eE(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:d,locale:p=W.Z,getPopupContainer:f,image:h}=r.useContext(z.E_),m=d("image",n),g=d(),b=p.Image||W.Z.Image,y=(0,Z.Z)(m),[E,v,T]=eg(m,y),S=o()(l,v,T,y),A=o()(s,v,null==h?void 0:h.className),[O]=(0,H.Cn)("ImagePreview","object"==typeof i?i.zIndex:void 0),_=r.useMemo(()=>{var e;if(!1===i)return i;let t="object"==typeof i?i:{},{getContainer:n,closeIcon:o}=t,s=eE(t,["getContainer","closeIcon"]);return Object.assign(Object.assign({mask:r.createElement("div",{className:`${m}-mask-info`},r.createElement(a.Z,null),null==b?void 0:b.preview),icons:ey},s),{getContainer:null!=n?n:f,transitionName:(0,$.m)(g,"zoom",t.transitionName),maskTransitionName:(0,$.m)(g,"fade",t.maskTransitionName),zIndex:O,closeIcon:null!=o?o:null===(e=null==h?void 0:h.preview)||void 0===e?void 0:e.closeIcon})},[i,b,null===(t=null==h?void 0:h.preview)||void 0===t?void 0:t.closeIcon]),k=Object.assign(Object.assign({},null==h?void 0:h.style),c);return E(r.createElement(G,Object.assign({prefixCls:m,preview:_,rootClassName:S,className:A,style:k},u)))};ev.PreviewGroup=e=>{var{previewPrefixCls:t,preview:n}=e,a=eb(e,["previewPrefixCls","preview"]);let{getPrefixCls:i}=r.useContext(z.E_),s=i("image",t),l=`${s}-preview`,c=i(),u=(0,Z.Z)(s),[d,p,f]=eg(s,u),[h]=(0,H.Cn)("ImagePreview","object"==typeof n?n.zIndex:void 0),m=r.useMemo(()=>{var e;if(!1===n)return n;let t="object"==typeof n?n:{},r=o()(p,f,u,null!==(e=t.rootClassName)&&void 0!==e?e:"");return Object.assign(Object.assign({},t),{transitionName:(0,$.m)(c,"zoom",t.transitionName),maskTransitionName:(0,$.m)(c,"fade",t.maskTransitionName),rootClassName:r,zIndex:h})},[n]);return d(r.createElement(G.PreviewGroup,Object.assign({preview:m,previewPrefixCls:l,icons:ey},a)))};var eT=ev},66309:function(e,t,n){"use strict";n.d(t,{Z:function(){return I}});var r=n(67294),a=n(93967),i=n.n(a),o=n(98423),s=n(98787),l=n(69760),c=n(96159),u=n(45353),d=n(53124),p=n(25446),f=n(10274),h=n(14747),m=n(83262),g=n(83559);let b=e=>{let{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:a,calc:i}=e,o=i(r).sub(n).equal(),s=i(t).sub(n).equal();return{[a]:Object.assign(Object.assign({},(0,h.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:o,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,p.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${a}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${a}-close-icon`]:{marginInlineStart:s,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${a}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${a}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:o}}),[`${a}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},y=e=>{let{lineWidth:t,fontSizeIcon:n,calc:r}=e,a=e.fontSizeSM,i=(0,m.IX)(e,{tagFontSize:a,tagLineHeight:(0,p.bf)(r(e.lineHeightSM).mul(a).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return i},E=e=>({defaultBg:new f.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var v=(0,g.I$)("Tag",e=>{let t=y(e);return b(t)},E),T=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let S=r.forwardRef((e,t)=>{let{prefixCls:n,style:a,className:o,checked:s,onChange:l,onClick:c}=e,u=T(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:p,tag:f}=r.useContext(d.E_),h=p("tag",n),[m,g,b]=v(h),y=i()(h,`${h}-checkable`,{[`${h}-checkable-checked`]:s},null==f?void 0:f.className,o,g,b);return m(r.createElement("span",Object.assign({},u,{ref:t,style:Object.assign(Object.assign({},a),null==f?void 0:f.style),className:y,onClick:e=>{null==l||l(!s),null==c||c(e)}})))});var A=n(98719);let O=e=>(0,A.Z)(e,(t,n)=>{let{textColor:r,lightBorderColor:a,lightColor:i,darkColor:o}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:i,borderColor:a,"&-inverse":{color:e.colorTextLightSolid,background:o,borderColor:o},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var _=(0,g.bk)(["Tag","preset"],e=>{let t=y(e);return O(t)},E);let k=(e,t,n)=>{let r=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var x=(0,g.bk)(["Tag","status"],e=>{let t=y(e);return[k(t,"success","Success"),k(t,"processing","Info"),k(t,"error","Error"),k(t,"warning","Warning")]},E),C=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let w=r.forwardRef((e,t)=>{let{prefixCls:n,className:a,rootClassName:p,style:f,children:h,icon:m,color:g,onClose:b,bordered:y=!0,visible:E}=e,T=C(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:S,direction:A,tag:O}=r.useContext(d.E_),[k,w]=r.useState(!0),I=(0,o.Z)(T,["closeIcon","closable"]);r.useEffect(()=>{void 0!==E&&w(E)},[E]);let R=(0,s.o2)(g),N=(0,s.yT)(g),L=R||N,D=Object.assign(Object.assign({backgroundColor:g&&!L?g:void 0},null==O?void 0:O.style),f),P=S("tag",n),[M,F,B]=v(P),j=i()(P,null==O?void 0:O.className,{[`${P}-${g}`]:L,[`${P}-has-color`]:g&&!L,[`${P}-hidden`]:!k,[`${P}-rtl`]:"rtl"===A,[`${P}-borderless`]:!y},a,p,F,B),U=e=>{e.stopPropagation(),null==b||b(e),e.defaultPrevented||w(!1)},[,G]=(0,l.Z)((0,l.w)(e),(0,l.w)(O),{closable:!1,closeIconRender:e=>{let t=r.createElement("span",{className:`${P}-close-icon`,onClick:U},e);return(0,c.wm)(e,t,e=>({onClick:t=>{var n;null===(n=null==e?void 0:e.onClick)||void 0===n||n.call(e,t),U(t)},className:i()(null==e?void 0:e.className,`${P}-close-icon`)}))}}),H="function"==typeof T.onClick||h&&"a"===h.type,$=m||null,z=$?r.createElement(r.Fragment,null,$,h&&r.createElement("span",null,h)):h,Z=r.createElement("span",Object.assign({},I,{ref:t,className:j,style:D}),z,G,R&&r.createElement(_,{key:"preset",prefixCls:P}),N&&r.createElement(x,{key:"status",prefixCls:P}));return M(H?r.createElement(u.Z,{component:"Tag"},Z):Z)});w.CheckableTag=S;var I=w},62502:function(e,t,n){"use strict";var r=n(15575),a=n(64977),i=n(72869),o=n(32473).Q,s=n(24395).Q;e.exports=function(e,t,n){var a=n?function(e){for(var t,n=e.length,r=-1,a={};++r4&&h.slice(0,4)===o&&s.test(t)&&("-"===t.charAt(4)?m=o+(n=t.slice(5).replace(l,d)).charAt(0).toUpperCase()+n.slice(1):(f=(p=t).slice(4),t=l.test(f)?p:("-"!==(f=f.replace(c,u)).charAt(0)&&(f="-"+f),o+f)),g=a),new g(m,t))};var s=/^data[-\w.:]+$/i,l=/-[a-z]/g,c=/[A-Z]/g;function u(e){return"-"+e.toLowerCase()}function d(e){return e.charAt(1).toUpperCase()}},48055:function(e,t,n){"use strict";var r=n(26230),a=n(13970),i=n(10629),o=n(647),s=n(91305),l=n(22537);e.exports=r([i,a,o,s,l])},91305:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=r.booleanish,o=r.number,s=r.spaceSeparated;e.exports=a({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:i,ariaAutoComplete:null,ariaBusy:i,ariaChecked:i,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:s,ariaCurrent:null,ariaDescribedBy:s,ariaDetails:null,ariaDisabled:i,ariaDropEffect:s,ariaErrorMessage:null,ariaExpanded:i,ariaFlowTo:s,ariaGrabbed:i,ariaHasPopup:null,ariaHidden:i,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s,ariaLevel:o,ariaLive:null,ariaModal:i,ariaMultiLine:i,ariaMultiSelectable:i,ariaOrientation:null,ariaOwns:s,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:i,ariaReadOnly:i,ariaRelevant:null,ariaRequired:i,ariaRoleDescription:s,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:i,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}})},22537:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=n(19348),o=r.boolean,s=r.overloadedBoolean,l=r.booleanish,c=r.number,u=r.spaceSeparated,d=r.commaSeparated;e.exports=a({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:i,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:d,acceptCharset:u,accessKey:u,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:u,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:u,cols:c,colSpan:null,content:null,contentEditable:l,controls:o,controlsList:u,coords:c|d,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:s,draggable:l,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:u,height:c,hidden:o,high:c,href:null,hrefLang:null,htmlFor:u,httpEquiv:u,id:null,imageSizes:null,imageSrcSet:d,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:u,itemRef:u,itemScope:o,itemType:u,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:u,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:u,required:o,reversed:o,rows:c,rowSpan:c,sandbox:u,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:c,sizes:null,slot:null,span:c,spellCheck:l,src:null,srcDoc:null,srcLang:null,srcSet:d,start:c,step:null,style:null,tabIndex:c,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:l,width:c,wrap:null,align:null,aLink:null,archive:u,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:l,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}})},19348:function(e,t,n){"use strict";var r=n(21098);e.exports=function(e,t){return r(e,t.toLowerCase())}},21098:function(e){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},47589:function(e,t,n){"use strict";var r=n(64977),a=n(16038),i=n(78444);e.exports=function(e){var t,n,o=e.space,s=e.mustUseProperty||[],l=e.attributes||{},c=e.properties,u=e.transform,d={},p={};for(t in c)n=new i(t,u(l,t),c[t],o),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),d[t]=n,p[r(t)]=t,p[r(n.attribute)]=t;return new a(d,p,o)}},78444:function(e,t,n){"use strict";var r=n(40313),a=n(61422);e.exports=s,s.prototype=new r,s.prototype.defined=!0;var i=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=i.length;function s(e,t,n,s){var l,c,u,d=-1;for(s&&(this.space=s),r.call(this,e,t);++d=97&&t<=122||t>=65&&t<=90}},7961:function(e,t,n){"use strict";var r=n(46260),a=n(46195);e.exports=function(e){return r(e)||a(e)}},46195:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},79480:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}},58264:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/construct/app/extra/components/NativeApp",function(){return n(76054)}])},85813:function(e,t,n){"use strict";n.d(t,{r:function(){return _6}});var r,a,i,o,s,l,c,u,d,p,f,h,m,g,b,y,E,v,T,S,A,O,_,k,x,C,w,I,R,N,L,D,P,M,F,B,j,U,G,H,$,z,Z,W,V,Y,q,K,X,Q,J,ee,et,en,er,ea={};n.r(ea),n.d(ea,{area:function(){return cf},bottom:function(){return cT},bottomLeft:function(){return cT},bottomRight:function(){return cT},inside:function(){return cT},left:function(){return cT},outside:function(){return c_},right:function(){return cT},spider:function(){return cR},surround:function(){return cL},top:function(){return cT},topLeft:function(){return cT},topRight:function(){return cT}});var ei={};n.r(ei),n.d(ei,{interpolateBlues:function(){return uD.interpolateBlues},interpolateBrBG:function(){return uD.interpolateBrBG},interpolateBuGn:function(){return uD.interpolateBuGn},interpolateBuPu:function(){return uD.interpolateBuPu},interpolateCividis:function(){return uD.interpolateCividis},interpolateCool:function(){return uD.interpolateCool},interpolateCubehelixDefault:function(){return uD.interpolateCubehelixDefault},interpolateGnBu:function(){return uD.interpolateGnBu},interpolateGreens:function(){return uD.interpolateGreens},interpolateGreys:function(){return uD.interpolateGreys},interpolateInferno:function(){return uD.interpolateInferno},interpolateMagma:function(){return uD.interpolateMagma},interpolateOrRd:function(){return uD.interpolateOrRd},interpolateOranges:function(){return uD.interpolateOranges},interpolatePRGn:function(){return uD.interpolatePRGn},interpolatePiYG:function(){return uD.interpolatePiYG},interpolatePlasma:function(){return uD.interpolatePlasma},interpolatePuBu:function(){return uD.interpolatePuBu},interpolatePuBuGn:function(){return uD.interpolatePuBuGn},interpolatePuOr:function(){return uD.interpolatePuOr},interpolatePuRd:function(){return uD.interpolatePuRd},interpolatePurples:function(){return uD.interpolatePurples},interpolateRainbow:function(){return uD.interpolateRainbow},interpolateRdBu:function(){return uD.interpolateRdBu},interpolateRdGy:function(){return uD.interpolateRdGy},interpolateRdPu:function(){return uD.interpolateRdPu},interpolateRdYlBu:function(){return uD.interpolateRdYlBu},interpolateRdYlGn:function(){return uD.interpolateRdYlGn},interpolateReds:function(){return uD.interpolateReds},interpolateSinebow:function(){return uD.interpolateSinebow},interpolateSpectral:function(){return uD.interpolateSpectral},interpolateTurbo:function(){return uD.interpolateTurbo},interpolateViridis:function(){return uD.interpolateViridis},interpolateWarm:function(){return uD.interpolateWarm},interpolateYlGn:function(){return uD.interpolateYlGn},interpolateYlGnBu:function(){return uD.interpolateYlGnBu},interpolateYlOrBr:function(){return uD.interpolateYlOrBr},interpolateYlOrRd:function(){return uD.interpolateYlOrRd},schemeAccent:function(){return uD.schemeAccent},schemeBlues:function(){return uD.schemeBlues},schemeBrBG:function(){return uD.schemeBrBG},schemeBuGn:function(){return uD.schemeBuGn},schemeBuPu:function(){return uD.schemeBuPu},schemeCategory10:function(){return uD.schemeCategory10},schemeDark2:function(){return uD.schemeDark2},schemeGnBu:function(){return uD.schemeGnBu},schemeGreens:function(){return uD.schemeGreens},schemeGreys:function(){return uD.schemeGreys},schemeOrRd:function(){return uD.schemeOrRd},schemeOranges:function(){return uD.schemeOranges},schemePRGn:function(){return uD.schemePRGn},schemePaired:function(){return uD.schemePaired},schemePastel1:function(){return uD.schemePastel1},schemePastel2:function(){return uD.schemePastel2},schemePiYG:function(){return uD.schemePiYG},schemePuBu:function(){return uD.schemePuBu},schemePuBuGn:function(){return uD.schemePuBuGn},schemePuOr:function(){return uD.schemePuOr},schemePuRd:function(){return uD.schemePuRd},schemePurples:function(){return uD.schemePurples},schemeRdBu:function(){return uD.schemeRdBu},schemeRdGy:function(){return uD.schemeRdGy},schemeRdPu:function(){return uD.schemeRdPu},schemeRdYlBu:function(){return uD.schemeRdYlBu},schemeRdYlGn:function(){return uD.schemeRdYlGn},schemeReds:function(){return uD.schemeReds},schemeSet1:function(){return uD.schemeSet1},schemeSet2:function(){return uD.schemeSet2},schemeSet3:function(){return uD.schemeSet3},schemeSpectral:function(){return uD.schemeSpectral},schemeTableau10:function(){return uD.schemeTableau10},schemeYlGn:function(){return uD.schemeYlGn},schemeYlGnBu:function(){return uD.schemeYlGnBu},schemeYlOrBr:function(){return uD.schemeYlOrBr},schemeYlOrRd:function(){return uD.schemeYlOrRd}});var eo={};n.r(eo);var es={};n.r(es),n.d(es,{geoAlbers:function(){return Ta.Z},geoAlbersUsa:function(){return Tr.Z},geoAzimuthalEqualArea:function(){return Ti.Z},geoAzimuthalEqualAreaRaw:function(){return Ti.l},geoAzimuthalEquidistant:function(){return To.Z},geoAzimuthalEquidistantRaw:function(){return To.N},geoConicConformal:function(){return Ts.Z},geoConicConformalRaw:function(){return Ts.l},geoConicEqualArea:function(){return Tl.Z},geoConicEqualAreaRaw:function(){return Tl.v},geoConicEquidistant:function(){return Tc.Z},geoConicEquidistantRaw:function(){return Tc.o},geoEqualEarth:function(){return Tu.Z},geoEqualEarthRaw:function(){return Tu.i},geoEquirectangular:function(){return Td.Z},geoEquirectangularRaw:function(){return Td.k},geoGnomonic:function(){return Tp.Z},geoGnomonicRaw:function(){return Tp.M},geoIdentity:function(){return Tf.Z},geoMercator:function(){return Tm.ZP},geoMercatorRaw:function(){return Tm.hk},geoNaturalEarth1:function(){return Tg.Z},geoNaturalEarth1Raw:function(){return Tg.K},geoOrthographic:function(){return Tb.Z},geoOrthographicRaw:function(){return Tb.I},geoProjection:function(){return Th.Z},geoProjectionMutator:function(){return Th.r},geoStereographic:function(){return Ty.Z},geoStereographicRaw:function(){return Ty.T},geoTransverseMercator:function(){return TE.Z},geoTransverseMercatorRaw:function(){return TE.F}});var el={};n.r(el),n.d(el,{frequency:function(){return Sh},id:function(){return Sm},name:function(){return Sg},weight:function(){return Sf}});var ec=n(74902),eu=n(1413),ed=n(87462),ep=n(97685),ef=n(45987),eh=n(50888),em=n(96486),eg=n(67294),eb=function(){return(eb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n-1&&!e.return)switch(e.type){case ek:e.return=function e(t,n,r){var a;switch(a=n,45^eD(t,0)?(((a<<2^eD(t,0))<<2^eD(t,1))<<2^eD(t,2))<<2^eD(t,3):0){case 5103:return eA+"print-"+t+t;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 eA+t+t;case 4789:return eS+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return eA+t+eS+t+eT+t+t;case 5936:switch(eD(t,n+11)){case 114:return eA+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return eA+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return eA+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return eA+t+eT+t+t;case 6165:return eA+t+eT+"flex-"+t+t;case 5187:return eA+t+eN(t,/(\w+).+(:[^]+)/,eA+"box-$1$2"+eT+"flex-$1$2")+t;case 5443:return eA+t+eT+"flex-item-"+eN(t,/flex-|-self/g,"")+(eR(t,/flex-|baseline/)?"":eT+"grid-row-"+eN(t,/flex-|-self/g,""))+t;case 4675:return eA+t+eT+"flex-line-pack"+eN(t,/align-content|flex-|-self/g,"")+t;case 5548:return eA+t+eT+eN(t,"shrink","negative")+t;case 5292:return eA+t+eT+eN(t,"basis","preferred-size")+t;case 6060:return eA+"box-"+eN(t,"-grow","")+eA+t+eT+eN(t,"grow","positive")+t;case 4554:return eA+eN(t,/([^-])(transform)/g,"$1"+eA+"$2")+t;case 6187:return eN(eN(eN(t,/(zoom-|grab)/,eA+"$1"),/(image-set)/,eA+"$1"),t,"")+t;case 5495:case 3959:return eN(t,/(image-set\([^]*)/,eA+"$1$`$1");case 4968:return eN(eN(t,/(.+:)(flex-)?(.*)/,eA+"box-pack:$3"+eT+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+eA+t+t;case 4200:if(!eR(t,/flex-|baseline/))return eT+"grid-column-align"+eP(t,n)+t;break;case 2592:case 3360:return eT+eN(t,"template-","")+t;case 4384:case 3616:if(r&&r.some(function(e,t){return n=t,eR(e.props,/grid-\w+-end/)}))return~eL(t+(r=r[n].value),"span",0)?t:eT+eN(t,"-start","")+t+eT+"grid-row-span:"+(~eL(r,"span",0)?eR(r,/\d+/):+eR(r,/\d+/)-+eR(t,/\d+/))+";";return eT+eN(t,"-start","")+t;case 4896:case 4128:return r&&r.some(function(e){return eR(e.props,/grid-\w+-start/)})?t:eT+eN(eN(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return eN(t,/(.+)-inline(.+)/,eA+"$1$2")+t;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(eM(t)-1-n>6)switch(eD(t,n+1)){case 109:if(45!==eD(t,n+4))break;case 102:return eN(t,/(.+:)(.+)-([^]+)/,"$1"+eA+"$2-$3$1"+eS+(108==eD(t,n+3)?"$3":"$2-$3"))+t;case 115:return~eL(t,"stretch",0)?e(eN(t,"stretch","fill-available"),n,r)+t:t}break;case 5152:case 5920:return eN(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(e,n,r,a,i,o,s){return eT+n+":"+r+s+(a?eT+n+"-span:"+(i?o:+o-+r)+s:"")+t});case 4949:if(121===eD(t,n+6))return eN(t,":",":"+eA)+t;break;case 6444:switch(eD(t,45===eD(t,14)?18:11)){case 120:return eN(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+eA+(45===eD(t,14)?"inline-":"")+"box$3$1"+eA+"$2$3$1"+eT+"$2box$3")+t;case 100:return eN(t,":",":"+eT)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return eN(t,"scroll-","scroll-snap-")+t}return t}(e.value,e.length,n);return;case ex:return eQ([eW(e,{value:eN(e.value,"@","@"+eA)})],r);case e_:if(e.length)return(n=e.props).map(function(t){switch(eR(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":eV(eW(e,{props:[eN(t,/:(read-\w+)/,":"+eS+"$1")]})),eV(eW(e,{props:[t]})),eI(e,{props:eB(n,r)});break;case"::placeholder":eV(eW(e,{props:[eN(t,/:(plac\w+)/,":"+eA+"input-$1")]})),eV(eW(e,{props:[eN(t,/:(plac\w+)/,":"+eS+"$1")]})),eV(eW(e,{props:[eN(t,/:(plac\w+)/,eT+"input-$1")]})),eV(eW(e,{props:[t]})),eI(e,{props:eB(n,r)})}return""}).join("")}}function e1(e,t,n,r,a,i,o,s,l,c,u,d){for(var p=a-1,f=0===a?i:[""],h=f.length,m=0,g=0,b=0;m0?f[y]+" "+E:eN(E,/&\f/g,f[y])).trim())&&(l[b++]=v);return eZ(e,t,n,0===a?e_:s,l,c,u,d)}function e2(e,t,n,r,a){return eZ(e,t,n,ek,eP(e,0,r),eP(e,r+1,-1),r,a)}var e3=n(94371),e5=n(83454),e4=void 0!==e5&&void 0!==e5.env&&(e5.env.REACT_APP_SC_ATTR||e5.env.SC_ATTR)||"data-styled",e6="active",e9="data-styled-version",e8="6.1.15",e7="/*!sc*/\n",te="undefined"!=typeof window&&"HTMLElement"in window,tt=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==e5&&void 0!==e5.env&&void 0!==e5.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==e5.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==e5.env.REACT_APP_SC_DISABLE_SPEEDY&&e5.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==e5&&void 0!==e5.env&&void 0!==e5.env.SC_DISABLE_SPEEDY&&""!==e5.env.SC_DISABLE_SPEEDY&&"false"!==e5.env.SC_DISABLE_SPEEDY&&e5.env.SC_DISABLE_SPEEDY),tn=Object.freeze([]),tr=Object.freeze({}),ta=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),ti=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,to=/(^-|-$)/g;function ts(e){return e.replace(ti,"-").replace(to,"")}var tl=/(a)(d)/gi,tc=function(e){return String.fromCharCode(e+(e>25?39:97))};function tu(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=tc(t%52)+n;return(tc(t%52)+n).replace(tl,"$1-$2")}var td,tp=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},tf=function(e){return tp(5381,e)};function th(e){return"string"==typeof e}var tm="function"==typeof Symbol&&Symbol.for,tg=tm?Symbol.for("react.memo"):60115,tb=tm?Symbol.for("react.forward_ref"):60112,ty={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},tE={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},tv={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},tT=((td={})[tb]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},td[tg]=tv,td);function tS(e){return("type"in e&&e.type.$$typeof)===tg?tv:"$$typeof"in e?tT[e.$$typeof]:ty}var tA=Object.defineProperty,tO=Object.getOwnPropertyNames,t_=Object.getOwnPropertySymbols,tk=Object.getOwnPropertyDescriptor,tx=Object.getPrototypeOf,tC=Object.prototype;function tw(e){return"function"==typeof e}function tI(e){return"object"==typeof e&&"styledComponentId"in e}function tR(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function tN(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r0?" Args: ".concat(t.join(", ")):""))}var tM=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,a=r;e>=a;)if((a<<=1)<0)throw tP(16,"".concat(e));this.groupSizes=new Uint32Array(a),this.groupSizes.set(n),this.length=a;for(var i=r;i=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),a=r+n,i=r;i=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(l+="".concat(e,","))}),r+="".concat(o).concat(s,'{content:"').concat(l,'"}').concat(e7)}}})(a);return r}(r)})}return e.registerId=function(e){return tU(e)},e.prototype.rehydrate=function(){!this.server&&te&&tW(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(eb(eb({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){var e,t,n,r;return this.tag||(this.tag=(n=(t=this.options).useCSSOMInjection,r=t.target,e=t.isServer?new tK(r):n?new tY(r):new tq(r),new tM(e)))},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(tU(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(tU(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(tU(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),t0=/&/g,t1=/^\s*\/\/.*$/gm;function t2(e){var t,n,r,a=void 0===e?tr:e,i=a.options,o=void 0===i?tr:i,s=a.plugins,l=void 0===s?tn:s,c=function(e,r,a){return a.startsWith(n)&&a.endsWith(n)&&a.replaceAll(n,"").length>0?".".concat(t):e},u=l.slice();u.push(function(e){e.type===e_&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(t0,n).replace(r,c))}),o.prefix&&u.push(e0),u.push(eJ);var d=function(e,a,i,s){void 0===a&&(a=""),void 0===i&&(i=""),void 0===s&&(s="&"),t=s,n=a,r=RegExp("\\".concat(n,"\\b"),"g");var l,c,d,p,f,h=e.replace(t1,""),m=(f=function e(t,n,r,a,i,o,s,l,c){for(var u,d=0,p=0,f=s,h=0,m=0,g=0,b=1,y=1,E=1,v=0,T="",S=i,A=o,O=a,_=T;y;)switch(g=v,v=eY()){case 40:if(108!=g&&58==eD(_,f-1)){-1!=eL(_+=eN(eX(v),"&","&\f"),"&\f",eC(d?l[d-1]:0))&&(E=-1);break}case 34:case 39:case 91:_+=eX(v);break;case 9:case 10:case 13:case 32:_+=function(e){for(;e$=eq();)if(e$<33)eY();else break;return eK(e)>2||eK(e$)>3?"":" "}(g);break;case 92:_+=function(e,t){for(var n;--t&&eY()&&!(e$<48)&&!(e$>102)&&(!(e$>57)||!(e$<65))&&(!(e$>70)||!(e$<97)););return n=eH+(t<6&&32==eq()&&32==eY()),eP(ez,e,n)}(eH-1,7);continue;case 47:switch(eq()){case 42:case 47:eF(eZ(u=function(e,t){for(;eY();)if(e+e$===57)break;else if(e+e$===84&&47===eq())break;return"/*"+eP(ez,t,eH-1)+"*"+ew(47===e?e:eY())}(eY(),eH),n,r,eO,ew(e$),eP(u,2,-2),0,c),c);break;default:_+="/"}break;case 123*b:l[d++]=eM(_)*E;case 125*b:case 59:case 0:switch(v){case 0:case 125:y=0;case 59+p:-1==E&&(_=eN(_,/\f/g,"")),m>0&&eM(_)-f&&eF(m>32?e2(_+";",a,r,f-1,c):e2(eN(_," ","")+";",a,r,f-2,c),c);break;case 59:_+=";";default:if(eF(O=e1(_,n,r,d,p,i,l,T,S=[],A=[],f,o),o),123===v){if(0===p)e(_,n,O,O,S,o,f,l,A);else switch(99===h&&110===eD(_,3)?100:h){case 100:case 108:case 109:case 115:e(t,O,O,a&&eF(e1(t,O,O,0,0,i,l,T,i,S=[],f,A),A),i,A,f,l,a?S:A);break;default:e(_,O,O,O,[""],A,0,l,A)}}}d=p=m=0,b=E=1,T=_="",f=s;break;case 58:f=1+eM(_),m=g;default:if(b<1){if(123==v)--b;else if(125==v&&0==b++&&125==(e$=eH>0?eD(ez,--eH):0,eU--,10===e$&&(eU=1,ej--),e$))continue}switch(_+=ew(v),v*b){case 38:E=p>0?1:(_+="\f",-1);break;case 44:l[d++]=(eM(_)-1)*E,E=1;break;case 64:45===eq()&&(_+=eX(eY())),h=eq(),p=f=eM(T=_+=function(e){for(;!eK(eq());)eY();return eP(ez,e,eH)}(eH)),v++;break;case 45:45===g&&2==eM(_)&&(b=0)}}return o}("",null,null,null,[""],(p=d=i||a?"".concat(i," ").concat(a," { ").concat(h," }"):h,ej=eU=1,eG=eM(ez=p),eH=0,d=[]),0,[0],d),ez="",f);o.namespace&&(m=function e(t,n){return t.map(function(t){return"rule"===t.type&&(t.value="".concat(n," ").concat(t.value),t.value=t.value.replaceAll(",",",".concat(n," ")),t.props=t.props.map(function(e){return"".concat(n," ").concat(e)})),Array.isArray(t.children)&&"@keyframes"!==t.type&&(t.children=e(t.children,n)),t})}(m,o.namespace));var g=[];return eQ(m,(c=(l=u.concat(function(e){var t;!e.root&&(e=e.return)&&(t=e,g.push(t))})).length,function(e,t,n,r){for(var a="",i=0;i="A"&&r<="Z"?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var nt=function(e){return null==e||!1===e||""===e},nn=function(e){var t=[];for(var n in e){var r=e[n];e.hasOwnProperty(n)&&!nt(r)&&(Array.isArray(r)&&r.isCss||tw(r)?t.push("".concat(ne(n),":"),r,";"):tL(r)?t.push.apply(t,ey(ey(["".concat(n," {")],nn(r),!1),["}"],!1)):t.push("".concat(ne(n),": ").concat(null==r||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||n in e3.Z||n.startsWith("--")?String(r).trim():"".concat(r,"px"),";")))}return t};function nr(e,t,n,r){return nt(e)?[]:tI(e)?[".".concat(e.styledComponentId)]:tw(e)?!tw(e)||e.prototype&&e.prototype.isReactComponent||!t?[e]:nr(e(t),t,n,r):e instanceof t7?n?(e.inject(n,r),[e.getName(r)]):[e]:tL(e)?nn(e):Array.isArray(e)?Array.prototype.concat.apply(tn,e.map(function(e){return nr(e,t,n,r)})):[e.toString()]}function na(e){for(var t=0;t>>0);if(!t.hasNameForId(this.componentId,i)){var o=n(a,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,o)}r=tR(r,i),this.staticRulesId=i}}else{for(var s=tp(this.baseHash,n.hash),l="",c=0;c>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(l,".".concat(p),void 0,this.componentId)),r=tR(r,p)}}return r},e}(),ns=eg.createContext(void 0);ns.Consumer;var nl={};function nc(e,t,n){var r,a,i,o,s=tI(e),l=!th(e),c=t.attrs,u=void 0===c?tn:c,d=t.componentId,p=void 0===d?(r=t.displayName,a=t.parentComponentId,nl[i="string"!=typeof r?"sc":ts(r)]=(nl[i]||0)+1,o="".concat(i,"-").concat(tu(tf(e8+i+nl[i])>>>0)),a?"".concat(a,"-").concat(o):o):d,f=t.displayName,h=void 0===f?th(e)?"styled.".concat(e):"Styled(".concat(e.displayName||e.name||"Component",")"):f,m=t.displayName&&t.componentId?"".concat(ts(t.displayName),"-").concat(t.componentId):t.componentId||p,g=s&&e.attrs?e.attrs.concat(u).filter(Boolean):u,b=t.shouldForwardProp;if(s&&e.shouldForwardProp){var y=e.shouldForwardProp;if(t.shouldForwardProp){var E=t.shouldForwardProp;b=function(e,t){return y(e,t)&&E(e,t)}}else b=y}var v=new no(n,m,s?e.componentStyle:void 0);function T(e,t){return function(e,t,n){var r,a,i=e.attrs,o=e.componentStyle,s=e.defaultProps,l=e.foldedComponentIds,c=e.styledComponentId,u=e.target,d=eg.useContext(ns),p=t9(),f=e.shouldForwardProp||p.shouldForwardProp,h=(void 0===(r=s)&&(r=tr),t.theme!==r.theme&&t.theme||d||r.theme||tr),m=function(e,t,n){for(var r,a=eb(eb({},t),{className:void 0,theme:n}),i=0;i2&&tJ.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=n.nc,a=tN([r&&'nonce="'.concat(r,'"'),"".concat(e4,'="true"'),"".concat(e9,'="').concat(e8,'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(e.sealed)throw tP(2);return e._emitSheetCSS()},this.getStyleElement=function(){if(e.sealed)throw tP(2);var t,r=e.instance.toString();if(!r)return[];var a=((t={})[e4]="",t[e9]=e8,t.dangerouslySetInnerHTML={__html:r},t),i=n.nc;return i&&(a.nonce=i),[eg.createElement("style",eb({},a,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new tJ({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw tP(2);return eg.createElement(t8,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw tP(3)}}();var nh=n(4942),nm=n(73935),ng=n.t(nm,2),nb=function(){return(nb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=18&&(J=ny.createRoot)}catch(e){}function nT(e){var t=ny.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"==typeof t&&(t.usingClientEntryPoint=e)}var nS="__rc_react_root__",nA=new Map;"undefined"!=typeof document&&nA.set("tooltip",document.createElement("div"));var nO=function(e,t){void 0===t&&(t=!1);var n=null;if(t)n=nA.get("tooltip");else if(n=document.createElement("div"),null==e?void 0:e.key){var r=nA.get(e.key);r?n=r:nA.set(e.key,n)}return!function(e,t){if(J){var n;nT(!0),n=t[nS]||J(t),nT(!1),n.render(e),t[nS]=n;return}nv(e,t)}(e,n),n},n_=function(e){if("undefined"==typeof document)return"loading";var t=e.attachShadow({mode:"open"}),n=document.createElement("div"),r=document.createElement("style");r.innerHTML=".loading {\n display: inline-block;\n position: relative;\n width: 80px;\n height: 80px;\n }\n .loading div {\n position: absolute;\n top: 33px;\n width: 13px;\n height: 13px;\n border-radius: 50%;\n background: #ccc;\n animation-timing-function: cubic-bezier(0, 1, 1, 0);\n }\n .loading div:nth-child(1) {\n left: 8px;\n animation: loading1 0.6s infinite;\n }\n .loading div:nth-child(2) {\n left: 8px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(3) {\n left: 32px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(4) {\n left: 56px;\n animation: loading3 0.6s infinite;\n }\n @keyframes loading1 {\n 0% {\n transform: scale(0);\n }\n 100% {\n transform: scale(1);\n }\n }\n @keyframes loading3 {\n 0% {\n transform: scale(1);\n }\n 100% {\n transform: scale(0);\n }\n }\n @keyframes loading2 {\n 0% {\n transform: translate(0, 0);\n }\n 100% {\n transform: translate(24px, 0);\n }\n }\n ",n.classList.add("loading"),n.innerHTML="
",t.appendChild(r),t.appendChild(n)},nk=function(e){var t=e.loadingTemplate,n=e.theme,r=eg.useRef(null);return eg.useEffect(function(){!t&&r.current&&n_(r.current)},[]),eg.createElement("div",{className:"charts-loading-container",style:{position:"absolute",width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",left:0,top:0,zIndex:99,backgroundColor:"dark"===(void 0===n?"light":n)?"rgb(20, 20, 20)":"rgb(255, 255, 255)"}},t||eg.createElement("div",{ref:r}))},nx=(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),nC=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={hasError:!1},t.renderError=function(e){var n=t.props.errorTemplate;return"function"==typeof n?n(e):n||eg.createElement("h5",null,"组件出错了,请核查后重试: ",e.message)},t}return nx(t,e),t.getDerivedStateFromError=function(e){return{hasError:!0,error:e}},t.getDerivedStateFromProps=function(e,t){return t.children!==e.children?{children:e.children,hasError:!1,error:void 0}:null},t.prototype.render=function(){return this.state.hasError?this.renderError(this.state.error):eg.createElement(eg.Fragment,null,this.props.children)},t}(eg.Component),nw=function(e,t,n){if(n||2==arguments.length)for(var r,a=0,i=t.length;a90)return this;this.computeMatrix()}return this._getAxes(),this.type===nN.iM.ORBITING||this.type===nN.iM.EXPLORING?this._getPosition():this.type===nN.iM.TRACKING&&this._getFocalPoint(),this._update(),this}},{key:"pan",value:function(e,t){var n=(0,nN.O4)(e,t,0),r=nG.d9(this.position);return nG.IH(r,r,nG.bA(nG.Ue(),this.right,n[0])),nG.IH(r,r,nG.bA(nG.Ue(),this.up,n[1])),this._setPosition(r),this.triggerUpdate(),this}},{key:"dolly",value:function(e){var t=this.forward,n=nG.d9(this.position),r=e*this.dollyingStep;return r=Math.max(Math.min(this.distance+e*this.dollyingStep,this.maxDistance),this.minDistance)-this.distance,n[0]+=r*t[0],n[1]+=r*t[1],n[2]+=r*t[2],this._setPosition(n),this.type===nN.iM.ORBITING||this.type===nN.iM.EXPLORING?this._getDistance():this.type===nN.iM.TRACKING&&nG.IH(this.focalPoint,n,this.distanceVector),this.triggerUpdate(),this}},{key:"cancelLandmarkAnimation",value:function(){void 0!==this.landmarkAnimationID&&this.canvas.cancelAnimationFrame(this.landmarkAnimationID)}},{key:"createLandmark",value:function(e){var t,n,r,a,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=i.position,s=void 0===o?this.position:o,l=i.focalPoint,c=void 0===l?this.focalPoint:l,u=i.roll,d=i.zoom,p=new nN.GZ.CameraContribution;p.setType(this.type,void 0),p.setPosition(s[0],null!==(t=s[1])&&void 0!==t?t:this.position[1],null!==(n=s[2])&&void 0!==n?n:this.position[2]),p.setFocalPoint(c[0],null!==(r=c[1])&&void 0!==r?r:this.focalPoint[1],null!==(a=c[2])&&void 0!==a?a:this.focalPoint[2]),p.setRoll(null!=u?u:this.roll),p.setZoom(null!=d?d:this.zoom);var f={name:e,matrix:nU.clone(p.getWorldTransform()),right:nG.d9(p.right),up:nG.d9(p.up),forward:nG.d9(p.forward),position:nG.d9(p.getPosition()),focalPoint:nG.d9(p.getFocalPoint()),distanceVector:nG.d9(p.getDistanceVector()),distance:p.getDistance(),dollyingStep:p.getDollyingStep(),azimuth:p.getAzimuth(),elevation:p.getElevation(),roll:p.getRoll(),relAzimuth:p.relAzimuth,relElevation:p.relElevation,relRoll:p.relRoll,zoom:p.getZoom()};return this.landmarks.push(f),f}},{key:"gotoLandmark",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=nB(e,"String")?this.landmarks.find(function(t){return t.name===e}):e;if(r){var a,i=nB(n,"Number")?{duration:n}:n,o=i.easing,s=void 0===o?"linear":o,l=i.duration,c=void 0===l?100:l,u=i.easingFunction,d=i.onfinish,p=void 0===d?void 0:d,f=i.onframe,h=void 0===f?void 0:f;this.cancelLandmarkAnimation();var m=r.position,g=r.focalPoint,b=r.zoom,y=r.roll,E=(void 0===u?void 0:u)||nN.GZ.EasingFunction(s),v=function(){t.setFocalPoint(g),t.setPosition(m),t.setRoll(y),t.setZoom(b),t.computeMatrix(),t.triggerUpdate(),null==p||p()};if(0===c)return v();var T=function(e){void 0===a&&(a=e);var n=e-a;if(n>=c){v();return}var r=E(n/c),i=nG.Ue(),o=nG.Ue(),s=1,l=0;if(nG.t7(i,t.focalPoint,g,r),nG.t7(o,t.position,m,r),l=t.roll*(1-r)+y*r,s=t.zoom*(1-r)+b*r,t.setFocalPoint(i),t.setPosition(o),t.setRoll(l),t.setZoom(s),nG.TK(i,g)+nG.TK(o,m)<=.01&&void 0===b&&void 0===y)return v();t.computeMatrix(),t.triggerUpdate(),nn?n:e},nW={}.toString,nV=function(e){return null==e},nY=function(e){function t(e,n,r,a){var i;return(0,nL.Z)(this,t),(i=(0,nP.Z)(this,t,[e])).currentTime=r,i.timelineTime=a,i.target=n,i.type="finish",i.bubbles=!1,i.currentTarget=n,i.defaultPrevented=!1,i.eventPhase=i.AT_TARGET,i.timeStamp=Date.now(),i.currentTime=r,i.timelineTime=a,i}return(0,nM.Z)(t,e),(0,nD.Z)(t)}(nN.xA),nq=0,nK=(0,nD.Z)(function e(t,n){var r;(0,nL.Z)(this,e),this.currentTimePending=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._playbackRate=1,this._inTimeline=!0,this.effect=t,t.animation=this,this.timeline=n,this.id="".concat(nq++),this._inEffect=!!this.effect.update(0),this._totalDuration=Number(null===(r=this.effect)||void 0===r?void 0:r.getComputedTiming().endTime),this._holdTime=0,this._paused=!1,this.oldPlayState="idle",this.updatePromises()},[{key:"pending",get:function(){return null===this._startTime&&!this._paused&&0!==this.playbackRate||this.currentTimePending}},{key:"playState",get:function(){return this._idle?"idle":this._isFinished?"finished":this._paused?"paused":"running"}},{key:"ready",get:function(){var e=this;return this.readyPromise||(-1===this.timeline.animationsWithPromises.indexOf(this)&&this.timeline.animationsWithPromises.push(this),this.readyPromise=new Promise(function(t,n){e.resolveReadyPromise=function(){t(e)},e.rejectReadyPromise=function(){n(Error())}}),this.pending||this.resolveReadyPromise()),this.readyPromise}},{key:"finished",get:function(){var e=this;return this.finishedPromise||(-1===this.timeline.animationsWithPromises.indexOf(this)&&this.timeline.animationsWithPromises.push(this),this.finishedPromise=new Promise(function(t,n){e.resolveFinishedPromise=function(){t(e)},e.rejectFinishedPromise=function(){n(Error())}}),"finished"===this.playState&&this.resolveFinishedPromise()),this.finishedPromise}},{key:"currentTime",get:function(){return this.updatePromises(),this._idle||this.currentTimePending?null:this._currentTime},set:function(e){if(!isNaN(e=Number(e))){if(this.timeline.restart(),!this._paused&&null!==this._startTime){var t;this._startTime=Number(null===(t=this.timeline)||void 0===t?void 0:t.currentTime)-e/this.playbackRate}this.currentTimePending=!1,this._currentTime!==e&&(this._idle&&(this._idle=!1,this._paused=!0),this.tickCurrentTime(e,!0),this.timeline.applyDirtiedAnimation(this))}}},{key:"startTime",get:function(){return this._startTime},set:function(e){null!==e&&(this.updatePromises(),!isNaN(e=Number(e))&&(this._paused||this._idle||(this._startTime=e,this.tickCurrentTime((Number(this.timeline.currentTime)-this._startTime)*this.playbackRate),this.timeline.applyDirtiedAnimation(this),this.updatePromises())))}},{key:"playbackRate",get:function(){return this._playbackRate},set:function(e){if(e!==this._playbackRate){this.updatePromises();var t=this.currentTime;this._playbackRate=e,this.startTime=null,"paused"!==this.playState&&"idle"!==this.playState&&(this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this)),null!==t&&(this.currentTime=t),this.updatePromises()}}},{key:"_isFinished",get:function(){return!this._idle&&(this._playbackRate>0&&Number(this._currentTime)>=this._totalDuration||this._playbackRate<0&&0>=Number(this._currentTime))}},{key:"totalDuration",get:function(){return this._totalDuration}},{key:"_needsTick",get:function(){return this.pending||"running"===this.playState||!this._finishedFlag}},{key:"updatePromises",value:function(){var e=this.oldPlayState,t=this.pending?"pending":this.playState;return this.readyPromise&&t!==e&&("idle"===t?(this.rejectReadyPromise(),this.readyPromise=void 0):"pending"===e?this.resolveReadyPromise():"pending"===t&&(this.readyPromise=void 0)),this.finishedPromise&&t!==e&&("idle"===t?(this.rejectFinishedPromise(),this.finishedPromise=void 0):"finished"===t?this.resolveFinishedPromise():"finished"===e&&(this.finishedPromise=void 0)),this.oldPlayState=t,this.readyPromise||this.finishedPromise}},{key:"play",value:function(){this.updatePromises(),this._paused=!1,(this._isFinished||this._idle)&&(this.rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this),-1===this.timeline.animations.indexOf(this)&&this.timeline.animations.push(this),this.updatePromises()}},{key:"pause",value:function(){this.updatePromises(),this.currentTime&&(this._holdTime=this.currentTime),this._isFinished||this._paused||this._idle?this._idle&&(this.rewind(),this._idle=!1):this.currentTimePending=!0,this._startTime=null,this._paused=!0,this.updatePromises()}},{key:"finish",value:function(){this.updatePromises(),this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this.currentTimePending=!1,this.timeline.applyDirtiedAnimation(this),this.updatePromises())}},{key:"cancel",value:function(){var e=this;if(this.updatePromises(),this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this.effect.update(null),this.timeline.applyDirtiedAnimation(this),this.updatePromises(),this.oncancel)){var t=new nY(null,this,this.currentTime,null);setTimeout(function(){e.oncancel(t)})}}},{key:"reverse",value:function(){this.updatePromises();var e=this.currentTime;this.playbackRate*=-1,this.play(),null!==e&&(this.currentTime=e),this.updatePromises()}},{key:"updatePlaybackRate",value:function(e){this.playbackRate=e}},{key:"targetAnimations",value:function(){var e;return(null===(e=this.effect)||void 0===e?void 0:e.target).getAnimations()}},{key:"markTarget",value:function(){var e=this.targetAnimations();-1===e.indexOf(this)&&e.push(this)}},{key:"unmarkTarget",value:function(){var e=this.targetAnimations(),t=e.indexOf(this);-1!==t&&e.splice(t,1)}},{key:"tick",value:function(e,t){this._idle||this._paused||(null===this._startTime?t&&(this.startTime=e-this._currentTime/this.playbackRate):this._isFinished||this.tickCurrentTime((e-this._startTime)*this.playbackRate)),t&&(this.currentTimePending=!1,this.fireEvents(e))}},{key:"rewind",value:function(){if(this.playbackRate>=0)this.currentTime=0;else if(this._totalDuration<1/0)this.currentTime=this._totalDuration;else throw Error("Unable to rewind negative playback rate animation with infinite duration")}},{key:"persist",value:function(){throw Error(nN.jf)}},{key:"addEventListener",value:function(e,t,n){throw Error(nN.jf)}},{key:"removeEventListener",value:function(e,t,n){throw Error(nN.jf)}},{key:"dispatchEvent",value:function(e){throw Error(nN.jf)}},{key:"commitStyles",value:function(){throw Error(nN.jf)}},{key:"ensureAlive",value:function(){var e,t;this.playbackRate<0&&0===this.currentTime?this._inEffect=!!(null!==(e=this.effect)&&void 0!==e&&e.update(-1)):this._inEffect=!!(null!==(t=this.effect)&&void 0!==t&&t.update(this.currentTime)),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,this.timeline.animations.push(this))}},{key:"tickCurrentTime",value:function(e,t){e!==this._currentTime&&(this._currentTime=e,this._isFinished&&!t&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this.ensureAlive())}},{key:"fireEvents",value:function(e){var t=this;if(this._isFinished){if(!this._finishedFlag){if(this.onfinish){var n=new nY(null,this,this.currentTime,e);setTimeout(function(){t.onfinish&&t.onfinish(n)})}this._finishedFlag=!0}}else{if(this.onframe&&"running"===this.playState){var r=new nY(null,this,this.currentTime,e);this.onframe(r)}this._finishedFlag=!1}}}]),nX="function"==typeof Float32Array,nQ=function(e,t){return 1-3*t+3*e},nJ=function(e,t){return 3*t-6*e},n0=function(e){return 3*e},n1=function(e,t,n){return((nQ(t,n)*e+nJ(t,n))*e+n0(t))*e},n2=function(e,t,n){return 3*nQ(t,n)*e*e+2*nJ(t,n)*e+n0(t)},n3=function(e,t,n,r,a){var i,o,s=0;do(i=n1(o=t+(n-t)/2,r,a)-e)>0?n=o:t=o;while(Math.abs(i)>1e-7&&++s<10);return o},n5=function(e,t,n,r){for(var a=0;a<4;++a){var i=n2(t,n,r);if(0===i)break;var o=n1(t,n,r)-e;t-=o/i}return t},n4=function(e,t,n,r){if(!(e>=0&&e<=1&&n>=0&&n<=1))throw Error("bezier x values must be in [0, 1] range");if(e===t&&n===r)return function(e){return e};for(var a=nX?new Float32Array(11):Array(11),i=0;i<11;++i)a[i]=n1(.1*i,e,n);var o=function(t){for(var r=0,i=1;10!==i&&a[i]<=t;++i)r+=.1;var o=r+(t-a[--i])/(a[i+1]-a[i])*.1,s=n2(o,e,n);return s>=.001?n5(t,o,e,n):0===s?o:n3(t,r,r+.1,e,n)};return function(e){return 0===e||1===e?e:n1(o(e),t,r)}},n6=function(e){return Math.pow(e,2)},n9=function(e){return Math.pow(e,3)},n8=function(e){return Math.pow(e,4)},n7=function(e){return Math.pow(e,5)},re=function(e){return Math.pow(e,6)},rt=function(e){return 1-Math.cos(e*Math.PI/2)},rn=function(e){return 1-Math.sqrt(1-e*e)},rr=function(e){return e*e*(3*e-2)},ra=function(e){for(var t,n=4;e<((t=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*t-2)/22-e,2)},ri=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,2),r=n[0],a=n[1],i=nZ(Number(void 0===r?1:r),1,10),o=nZ(Number(void 0===a?.5:a),.1,2);return 0===e||1===e?e:-i*Math.pow(2,10*(e-1))*Math.sin((e-1-o/(2*Math.PI)*Math.asin(1/i))*(2*Math.PI)/o)},ro=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,r=(0,nz.Z)(t,4),a=r[0],i=void 0===a?1:a,o=r[1],s=void 0===o?100:o,l=r[2],c=void 0===l?10:l,u=r[3],d=void 0===u?0:u;i=nZ(i,.1,1e3),s=nZ(s,.1,1e3),c=nZ(c,.1,1e3),d=nZ(d,.1,1e3);var p=Math.sqrt(s/i),f=c/(2*Math.sqrt(s*i)),h=f<1?p*Math.sqrt(1-f*f):0,m=f<1?(f*p+-d)/h:-d+p,g=n?n*e/1e3:e;return(g=f<1?Math.exp(-g*f*p)*(1*Math.cos(h*g)+m*Math.sin(h*g)):(1+m*g)*Math.exp(-g*p),0===e||1===e)?e:1-g},rs=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,2),r=n[0],a=void 0===r?10:r;return("start"===n[1]?Math.ceil:Math.floor)(nZ(e,0,1)*a)/a},rl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,4);return n4(n[0],n[1],n[2],n[3])(e)},rc=n4(.42,0,1,1),ru=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return 1-e(1-t,n,r)}},rd=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return t<.5?e(2*t,n,r)/2:1-e(-2*t+2,n,r)/2}},rp=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return t<.5?(1-e(1-2*t,n,r))/2:(e(2*t-1,n,r)+1)/2}},rf={steps:rs,"step-start":function(e){return rs(e,[1,"start"])},"step-end":function(e){return rs(e,[1,"end"])},linear:function(e){return e},"cubic-bezier":rl,ease:function(e){return rl(e,[.25,.1,.25,1])},in:rc,out:ru(rc),"in-out":rd(rc),"out-in":rp(rc),"in-quad":n6,"out-quad":ru(n6),"in-out-quad":rd(n6),"out-in-quad":rp(n6),"in-cubic":n9,"out-cubic":ru(n9),"in-out-cubic":rd(n9),"out-in-cubic":rp(n9),"in-quart":n8,"out-quart":ru(n8),"in-out-quart":rd(n8),"out-in-quart":rp(n8),"in-quint":n7,"out-quint":ru(n7),"in-out-quint":rd(n7),"out-in-quint":rp(n7),"in-expo":re,"out-expo":ru(re),"in-out-expo":rd(re),"out-in-expo":rp(re),"in-sine":rt,"out-sine":ru(rt),"in-out-sine":rd(rt),"out-in-sine":rp(rt),"in-circ":rn,"out-circ":ru(rn),"in-out-circ":rd(rn),"out-in-circ":rp(rn),"in-back":rr,"out-back":ru(rr),"in-out-back":rd(rr),"out-in-back":rp(rr),"in-bounce":ra,"out-bounce":ru(ra),"in-out-bounce":rd(ra),"out-in-bounce":rp(ra),"in-elastic":ri,"out-elastic":ru(ri),"in-out-elastic":rd(ri),"out-in-elastic":rp(ri),spring:ro,"spring-in":ro,"spring-out":ru(ro),"spring-in-out":rd(ro),"spring-out-in":rp(ro)},rh=function(e){var t;return("-"===(t=(t=e).replace(/([A-Z])/g,function(e){return"-".concat(e.toLowerCase())})).charAt(0)?t.substring(1):t).replace(/^ease-/,"").replace(/(\(|\s).+/,"").toLowerCase().trim()},rm=function(e){return e};function rg(e,t){return function(n){if(n>=1)return 1;var r=1/e;return(n+=t*r)-n%r}}var rb="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",ry=new RegExp("cubic-bezier\\(".concat(rb,",").concat(rb,",").concat(rb,",").concat(rb,"\\)")),rE=/steps\(\s*(\d+)\s*\)/,rv=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/;function rT(e){var t=ry.exec(e);if(t)return n4.apply(void 0,(0,n$.Z)(t.slice(1).map(Number)));var n=rE.exec(e);if(n)return rg(Number(n[1]),0);var r=rv.exec(e);return r?rg(Number(r[1]),{start:1,middle:.5,end:0}[r[2]]):rf[rh(e)]||rf.linear}function rS(e){return"offset"!==e&&"easing"!==e&&"composite"!==e&&"computedOffset"!==e}var rA=function(e,t,n){return function(r){var a,i=function e(t,n,r){if("number"==typeof t&&"number"==typeof n)return t*(1-r)+n*r;if("boolean"==typeof t&&"boolean"==typeof n||"string"==typeof t&&"string"==typeof n)return r<.5?t:n;if(Array.isArray(t)&&Array.isArray(n)){for(var a=t.length,i=n.length,o=Math.max(a,i),s=[],l=0;l1)throw Error("Keyframe offsets must be between 0 and 1.");n.computedOffset=a}}else if("composite"===r&&-1===["replace","add","accumulate","auto"].indexOf(a))throw Error("".concat(a," compositing is not supported"));n[r]=a}return void 0===n.offset&&(n.offset=null),void 0===n.easing&&(n.easing=(null==t?void 0:t.easing)||"linear"),void 0===n.composite&&(n.composite="auto"),n}),r=!0,a=-1/0,i=0;i=0&&1>=Number(e.offset)}),r||function(){var e,t,r=n.length;n[r-1].computedOffset=Number(null!==(e=n[r-1].offset)&&void 0!==e?e:1),r>1&&(n[0].computedOffset=Number(null!==(t=n[0].offset)&&void 0!==t?t:0));for(var a=0,i=Number(n[0].computedOffset),o=1;o=e.applyFrom&&t=Math.min(n.delay+e+n.endDelay,r)?2:3}(e,t,n),u=function(e,t,n,r,a){switch(r){case 1:if("backwards"===t||"both"===t)return 0;return null;case 3:return n-a;case 2:if("forwards"===t||"both"===t)return e;return null;case 0:return null}}(e,n.fill,t,c,n.delay);if(null===u)return null;var d="auto"===n.duration?0:n.duration,p=(r=n.iterations,a=n.iterationStart,0===d?1!==c&&(a+=r):a+=u/d,a),f=(i=n.iterationStart,o=n.iterations,0==(s=p===1/0?i%1:p%1)&&2===c&&0!==o&&(0!==u||0===d)&&(s=1),s),h=(l=n.iterations,2===c&&l===1/0?1/0:1===f?Math.floor(p)-1:Math.floor(p)),m=function(e,t,n){var r=e;if("normal"!==e&&"reverse"!==e){var a=t;"alternate-reverse"===e&&(a+=1),r="normal",a!==1/0&&a%2!=0&&(r="reverse")}return"normal"===r?n:1-n}(n.direction,h,f);return n.currentIteration=h,n.progress=m,n.easingFunction(m)}(this.timing.activeDuration,e,this.timing),null!==this.timeFraction)}},{key:"getKeyframes",value:function(){return this.normalizedKeyframes}},{key:"setKeyframes",value:function(e){this.normalizedKeyframes=r_(e)}},{key:"getComputedTiming",value:function(){return this.computedTiming}},{key:"getTiming",value:function(){return this.timing}},{key:"updateTiming",value:function(e){var t=this;Object.keys(e||{}).forEach(function(n){t.timing[n]=e[n]})}}]);function rw(e,t){return Number(e.id)-Number(t.id)}var rI=(0,nD.Z)(function e(t){var n=this;(0,nL.Z)(this,e),this.animations=[],this.ticking=!1,this.timelineTicking=!1,this.hasRestartedThisFrame=!1,this.animationsWithPromises=[],this.inTick=!1,this.pendingEffects=[],this.currentTime=null,this.rafId=0,this.rafCallbacks=[],this.webAnimationsNextTick=function(e){n.currentTime=e,n.discardAnimations(),0===n.animations.length?n.timelineTicking=!1:n.requestAnimationFrame(n.webAnimationsNextTick)},this.processRafCallbacks=function(e){var t=n.rafCallbacks;n.rafCallbacks=[],et.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let rN=(e,t,n)=>[["M",e-n,t],["A",n,n,0,1,0,e+n,t],["A",n,n,0,1,0,e-n,t],["Z"]];rN.style=["fill"];let rL=rN.bind(void 0);rL.style=["stroke","lineWidth"];let rD=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t-n],["L",e+n,t+n],["L",e-n,t+n],["Z"]];rD.style=["fill"];let rP=rD.bind(void 0);rP.style=["fill"];let rM=rD.bind(void 0);rM.style=["stroke","lineWidth"];let rF=(e,t,n)=>{let r=.618*n;return[["M",e-r,t],["L",e,t-n],["L",e+r,t],["L",e,t+n],["Z"]]};rF.style=["fill"];let rB=rF.bind(void 0);rB.style=["stroke","lineWidth"];let rj=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t+r],["L",e,t-r],["L",e+n,t+r],["Z"]]};rj.style=["fill"];let rU=rj.bind(void 0);rU.style=["stroke","lineWidth"];let rG=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t-r],["L",e+n,t-r],["L",e,t+r],["Z"]]};rG.style=["fill"];let rH=rG.bind(void 0);rH.style=["stroke","lineWidth"];let r$=(e,t,n)=>{let r=n/2*Math.sqrt(3);return[["M",e,t-n],["L",e+r,t-n/2],["L",e+r,t+n/2],["L",e,t+n],["L",e-r,t+n/2],["L",e-r,t-n/2],["Z"]]};r$.style=["fill"];let rz=r$.bind(void 0);rz.style=["stroke","lineWidth"];let rZ=(e,t,n)=>{let r=n-1.5;return[["M",e-n,t-r],["L",e+n,t+r],["L",e+n,t-r],["L",e-n,t+r],["Z"]]};rZ.style=["fill"];let rW=rZ.bind(void 0);rW.style=["stroke","lineWidth"];let rV=(e,t,n)=>[["M",e,t+n],["L",e,t-n]];rV.style=["stroke","lineWidth"];let rY=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t+n],["M",e+n,t-n],["L",e-n,t+n]];rY.style=["stroke","lineWidth"];let rq=(e,t,n)=>[["M",e-n/2,t-n],["L",e+n/2,t-n],["M",e,t-n],["L",e,t+n],["M",e-n/2,t+n],["L",e+n/2,t+n]];rq.style=["stroke","lineWidth"];let rK=(e,t,n)=>[["M",e-n,t],["L",e+n,t],["M",e,t-n],["L",e,t+n]];rK.style=["stroke","lineWidth"];let rX=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rX.style=["stroke","lineWidth"];let rQ=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rQ.style=["stroke","lineWidth"];let rJ=rQ.bind(void 0);rJ.style=["stroke","lineWidth"];let r0=(e,t,n)=>[["M",e-n,t],["A",n/2,n/2,0,1,1,e,t],["A",n/2,n/2,0,1,0,e+n,t]];r0.style=["stroke","lineWidth"];let r1=(e,t,n)=>[["M",e-n-1,t-2.5],["L",e,t-2.5],["L",e,t+2.5],["L",e+n+1,t+2.5]];r1.style=["stroke","lineWidth"];let r2=(e,t,n)=>[["M",e-n-1,t+2.5],["L",e,t+2.5],["L",e,t-2.5],["L",e+n+1,t-2.5]];r2.style=["stroke","lineWidth"];let r3=(e,t,n)=>[["M",e-(n+1),t+2.5],["L",e-n/2,t+2.5],["L",e-n/2,t-2.5],["L",e+n/2,t-2.5],["L",e+n/2,t+2.5],["L",e+n+1,t+2.5]];r3.style=["stroke","lineWidth"];let r5=(e,t,n)=>[["M",e-5,t+2.5],["L",e-5,t],["L",e,t],["L",e,t-3],["L",e,t+3],["L",e+6.5,t+3]];r5.style=["stroke","lineWidth"];let r4=new Map([["bowtie",rZ],["cross",rY],["dash",rJ],["diamond",rF],["dot",rQ],["hexagon",r$],["hollowBowtie",rW],["hollowDiamond",rB],["hollowHexagon",rz],["hollowPoint",rL],["hollowSquare",rM],["hollowTriangle",rU],["hollowTriangleDown",rH],["hv",r1],["hvh",r3],["hyphen",rX],["line",rV],["plus",rK],["point",rN],["rect",rP],["smooth",r0],["square",rD],["tick",rq],["triangleDown",rG],["triangle",rj],["vh",r2],["vhv",r5]]),r6={};function r9(e,t){if(e.startsWith("symbol.")){var n;n=e.split(".").pop(),r4.set(n,t)}else Object.assign(r6,{[e]:t})}var r8=n(88998);/*! * @antv/g-plugin-canvas-path-generator * @description A G plugin of path generator with Canvas2D API * @version 2.1.16 @@ -49,4 +49,4 @@ * @author Lea Verou * @namespace * @public - */var r=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},a={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=u.reach));S+=T.value.length,T=T.next){var A,O=T.value;if(n.length>t.length)return;if(!(O instanceof i)){var _=1;if(b){if(!(A=o(v,S,t,g))||A.index>=t.length)break;var k=A.index,x=A.index+A[0].length,C=S;for(C+=T.value.length;k>=C;)C+=(T=T.next).value.length;if(C-=T.value.length,S=C,T.value instanceof i)continue;for(var w=T;w!==n.tail&&(Cu.reach&&(u.reach=L);var D=T.prev;R&&(D=l(n,D,R),S+=R.length),function(e,t,n){for(var r=t.next,a=0;a1){var M={cause:d+","+f,reach:L};e(t,n,r,T.prev,S,M),u&&M.reach>u.reach&&(u.reach=M.reach)}}}}}}(e,c,t,c.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(c)},hooks:{all:{},add:function(e,t){var n=a.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=a.hooks.all[e];if(n&&n.length)for(var r,i=0;r=n[i++];)r(t)}},Token:i};function i(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var i=a[1].length;a.index+=i,a[0]=a[0].slice(i)}return a}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}if(e.Prism=a,i.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach(function(t){r+=e(t,n)}),r}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},o=t.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(i.classes,o):i.classes.push(o)),a.hooks.run("wrap",i);var s="";for(var l in i.attributes)s+=" "+l+'="'+(i.attributes[l]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+s+">"+i.content+""},!e.document)return e.addEventListener&&(a.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),r=n.language,i=n.code,o=n.immediateClose;e.postMessage(a.highlight(i,a.languages[r],r)),o&&e.close()},!1)),a;var c=a.util.currentScript();function u(){a.manual||a.highlightAll()}if(c&&(a.filename=c.src,c.hasAttribute("data-manual")&&(a.manual=!0)),!a.manual){var d=document.readyState;"loading"===d||"interactive"===d&&c&&c.defer?document.addEventListener("DOMContentLoaded",u):window.requestAnimationFrame?window.requestAnimationFrame(u):window.setTimeout(u,16)}return a}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=r),void 0!==n.g&&(n.g.Prism=r)},96774:function(e){e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),o=Object.keys(t);if(i.length!==o.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;le.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}},88998:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(95778);function a(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},13643:function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,{Z:function(){return r}})},98568:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)}n.d(t,{Z:function(){return a}})},99660:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(88998);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var l=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(l&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;C(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:I(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),b}},t}},16200:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59312);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw a}}return s}}(e,t)||(0,r.Z)(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},27567:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(13643);function a(){return(a="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var a=function(e,t){for(;!({}).hasOwnProperty.call(e,t)&&null!==(e=(0,r.Z)(e)););return e}(e,t);if(a){var i=Object.getOwnPropertyDescriptor(a,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}}).apply(null,arguments)}function i(e,t,n,i){var o=a((0,r.Z)(1&i?e.prototype:e),t,n);return 2&i&&"function"==typeof o?function(e){return o.apply(n,e)}:o}},25585:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(59630),a=n(59312);function i(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,a.Z)(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},95778:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(2846);function a(e){var t=function(e,t){if("object"!=(0,r.Z)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=(0,r.Z)(a))return a;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.Z)(t)?t:t+""}},2846:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{Z:function(){return r}})},59312:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59630);function a(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},21129:function(e,t,n){"use strict";var r=n(4503);t.Z=r},86676:function(e,t,n){"use strict";n.d(t,{r:function(){return a}});let r=/[#.]/g;function a(e,t){let n,a;let i=e||"",o={},s=0;for(;so&&(o=i):i=1,a=r+t.length,r=n.indexOf(t,a);return o}n.d(t,{J:function(){return r}})},24557:function(e,t,n){"use strict";n.d(t,{Z:function(){return ed}});var r={};n.r(r),n.d(r,{boolean:function(){return c},booleanish:function(){return u},commaOrSpaceSeparated:function(){return m},commaSeparated:function(){return h},number:function(){return p},overloadedBoolean:function(){return d},spaceSeparated:function(){return f}});class a{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function i(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new a(n,r,t)}function o(e){return e.toLowerCase()}a.prototype.normal={},a.prototype.property={},a.prototype.space=void 0;class s{constructor(e,t){this.attribute=t,this.property=e}}s.prototype.attribute="",s.prototype.booleanish=!1,s.prototype.boolean=!1,s.prototype.commaOrSpaceSeparated=!1,s.prototype.commaSeparated=!1,s.prototype.defined=!1,s.prototype.mustUseProperty=!1,s.prototype.number=!1,s.prototype.overloadedBoolean=!1,s.prototype.property="",s.prototype.spaceSeparated=!1,s.prototype.space=void 0;let l=0,c=g(),u=g(),d=g(),p=g(),f=g(),h=g(),m=g();function g(){return 2**++l}let b=Object.keys(r);class y extends s{constructor(e,t,n,a){var i,o;let s=-1;if(super(e,t),a&&(this.space=a),"number"==typeof n)for(;++s"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function T(e,t){return t in e?e[t]:t}function S(e,t){return T(e,t.toLowerCase())}let A=E({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:h,acceptCharset:f,accessKey:f,action:null,allow:null,allowFullScreen:c,allowPaymentRequest:c,allowUserMedia:c,alt:null,as:null,async:c,autoCapitalize:null,autoComplete:f,autoFocus:c,autoPlay:c,blocking:f,capture:null,charSet:null,checked:c,cite:null,className:f,cols:p,colSpan:null,content:null,contentEditable:u,controls:c,controlsList:f,coords:p|h,crossOrigin:null,data:null,dateTime:null,decoding:null,default:c,defer:c,dir:null,dirName:null,disabled:c,download:d,draggable:u,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:c,formTarget:null,headers:f,height:p,hidden:c,high:p,href:null,hrefLang:null,htmlFor:f,httpEquiv:f,id:null,imageSizes:null,imageSrcSet:null,inert:c,inputMode:null,integrity:null,is:null,isMap:c,itemId:null,itemProp:f,itemRef:f,itemScope:c,itemType:f,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:c,low:p,manifest:null,max:null,maxLength:p,media:null,method:null,min:null,minLength:p,multiple:c,muted:c,name:null,nonce:null,noModule:c,noValidate:c,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored: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,onScrollEnd: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:c,optimum:p,pattern:null,ping:f,placeholder:null,playsInline:c,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:c,referrerPolicy:null,rel:f,required:c,reversed:c,rows:p,rowSpan:p,sandbox:f,scope:null,scoped:c,seamless:c,selected:c,shadowRootClonable:c,shadowRootDelegatesFocus:c,shadowRootMode:null,shape:null,size:p,sizes:null,slot:null,span:p,spellCheck:u,src:null,srcDoc:null,srcLang:null,srcSet:null,start:p,step:null,style:null,tabIndex:p,target:null,title:null,translate:null,type:null,typeMustMatch:c,useMap:null,value:u,width:p,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:f,axis:null,background:null,bgColor:null,border:p,borderColor:null,bottomMargin:p,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:c,declare:c,event:null,face:null,frame:null,frameBorder:null,hSpace:p,leftMargin:p,link:null,longDesc:null,lowSrc:null,marginHeight:p,marginWidth:p,noResize:c,noHref:c,noShade:c,noWrap:c,object:null,profile:null,prompt:null,rev:null,rightMargin:p,rules:null,scheme:null,scrolling:u,standby:null,summary:null,text:null,topMargin:p,valueType:null,version:null,vAlign:null,vLink:null,vSpace:p,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:c,disableRemotePlayback:c,prefix:null,property:null,results:p,security:null,unselectable:null},space:"html",transform:S}),O=E({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:m,accentHeight:p,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:p,amplitude:p,arabicForm:null,ascent:p,attributeName:null,attributeType:null,azimuth:p,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:p,by:null,calcMode:null,capHeight:p,className:f,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:p,diffuseConstant:p,direction:null,display:null,dur:null,divisor:p,dominantBaseline:null,download:c,dx:null,dy:null,edgeMode:null,editable:null,elevation:p,enableBackground:null,end:null,event:null,exponent:p,externalResourcesRequired:null,fill:null,fillOpacity:p,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:h,g2:h,glyphName:h,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:p,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:p,horizOriginX:p,horizOriginY:p,id:null,ideographic:p,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:p,k:p,k1:p,k2:p,k3:p,k4:p,kernelMatrix:m,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:p,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:p,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose: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,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:p,overlineThickness:p,paintOrder:null,panose1:null,path:null,pathLength:p,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:f,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:p,pointsAtY:p,pointsAtZ:p,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:m,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:m,rev:m,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:m,requiredFeatures:m,requiredFonts:m,requiredFormats:m,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:p,specularExponent:p,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:p,strikethroughThickness:p,string:null,stroke:null,strokeDashArray:m,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:p,strokeOpacity:p,strokeWidth:null,style:null,surfaceScale:p,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:m,tabIndex:p,tableValues:null,target:null,targetX:p,targetY:p,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:m,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:p,underlineThickness:p,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:p,values:null,vAlphabetic:p,vMathematical:p,vectorEffect:null,vHanging:p,vIdeographic:p,version:null,vertAdvY:p,vertOriginX:p,vertOriginY:p,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:p,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:T}),_=E({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),k=E({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:S}),x=E({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),C=i([v,A,_,k,x],"html"),w=i([v,O,_,k,x],"svg");var I=n(25668),R=n(86676);let N=/[A-Z]/g,L=/-[a-z]/g,D=/^data[-\w.:]+$/i;function P(e){return"-"+e.toLowerCase()}function M(e){return e.charAt(1).toUpperCase()}var F=n(50342);function B(e,t,n){let r=n?function(e){let t=new Map;for(let n of e)t.set(n.toLowerCase(),n);return t}(n):void 0;return function(n,a,...i){let l;if(null==n)l={type:"root",children:[]},i.unshift(a);else{l=(0,R.r)(n,t);let c=l.tagName.toLowerCase(),u=r?r.get(c):void 0;if(l.tagName=u||c,function(e){if(null===e||"object"!=typeof e||Array.isArray(e))return!0;if("string"!=typeof e.type)return!1;let t=Object.keys(e);for(let n of t){let t=e[n];if(t&&"object"==typeof t){if(!Array.isArray(t))return!0;for(let e of t)if("number"!=typeof e&&"string"!=typeof e)return!0}}return!!("children"in e&&Array.isArray(e.children))}(a))i.unshift(a);else for(let[t,n]of Object.entries(a))!function(e,t,n,r){let a;let i=function(e,t){let n=o(t),r=t,a=s;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&D.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(L,M);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!L.test(e)){let n=e.replace(N,P);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}a=y}return new a(r,t)}(e,n);if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;a=r}else a="boolean"==typeof r?r:"string"==typeof r?i.spaceSeparated?(0,F.Q)(r):i.commaSeparated?(0,I.Q)(r):i.commaOrSpaceSeparated?(0,F.Q)((0,I.Q)(r).join(" ")):j(i,i.property,r):Array.isArray(r)?[...r]:"style"===i.property?function(e){let t=[];for(let[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}(r):String(r);if(Array.isArray(a)){let e=[];for(let t of a)e.push(j(i,i.property,t));a=e}"className"===i.property&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}(e,l.properties,t,n)}for(let e of i)!function e(t,n){if(null==n);else if("number"==typeof n||"string"==typeof n)t.push({type:"text",value:String(n)});else if(Array.isArray(n))for(let r of n)e(t,r);else if("object"==typeof n&&"type"in n)"root"===n.type?e(t,n.children):t.push(n);else throw Error("Expected node, nodes, or string, got `"+n+"`")}(l.children,e);return"element"===l.type&&"template"===l.tagName&&(l.content={type:"root",children:l.children},l.children=[]),l}}function j(e,t,n){if("string"==typeof n){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(""===n||o(n)===o(t)))return!0}return n}let U=B(C,"div"),G=B(w,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]);var H=n(49911);function $(e,t){let n=function(e,t){switch(e.nodeType){case 1:return function(e,t){let n=e.namespaceURI,r=n===H.t.svg?G:U,a=n===H.t.html?e.tagName.toLowerCase():e.tagName,i=n===H.t.html&&"template"===a?e.content:e,o=e.getAttributeNames(),s={},l=-1;for(;++ln&&(n=e):e&&(void 0!==n&&n>-1&&l.push("\n".repeat(n)||" "),n=-1,l.push(e))}return l.join("")}(d,{whitespace:"pre"});try{a=es.ZP.renderToString(p,{...t,displayMode:c,throwOnError:!0})}catch(o){let i=o.name.toLowerCase();n.message("Could not render math with KaTeX",{ancestors:[...r,e],cause:o,place:e.position,ruleId:i,source:"rehype-katex"});try{a=es.ZP.renderToString(p,{...t,displayMode:c,strict:"ignore",throwOnError:!1})}catch{a=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(o)},children:[{type:"text",value:p}]}]}}if("string"==typeof a){let e=function(e,t){let n=t?.fragment?function(e){let t=document.createElement("template");return t.innerHTML=e,t.content}(e):Z.parseFromString(e,"text/html");return $(n,{})||{type:"root",children:[]}}(a,{fragment:!0});a=e.children}let f=u.children.indexOf(d);return u.children.splice(f,1,...a),el.AM})}}},12384:function(e,t,n){"use strict";n.d(t,{Z:function(){return tJ}});var r,a,i,o,s,l,c,u,d,p,f,h,m,g,b,y,E,v,T,S,A,O,_=n(52835),k=n(24345),x=n(91634),C=n(25668),w=n(86676),I=n(26103),R=n(28051),N=n(50342);let L=new Set(["button","menu","reset","submit"]),D={}.hasOwnProperty;function P(e,t,n){let r=n&&function(e){let t={},n=-1;for(;++n1?n[e.line-2]:0)+e.column-1;if(r-1&&e<=t.length){let r=0;for(;;){let a=n[r];if(void 0===a){let e=j(t,n[r-1]);a=-1===e?t.length+1:e+1,n[r]=a}if(a>e)return{line:r+1,column:e-(r>0?n[r-1]:0)+1,offset:e};r++}}}}}(t),a=r.toPoint(0),i=r.toPoint(t.length);(0,k.ok)(a,"expected `start`"),(0,k.ok)(i,"expected `end`"),n.position={start:a,end:i}}return n}case"#documentType":return Z(e,t,n={type:"doctype"}),n;case"#text":return n={type:"text",value:t.value},Z(e,t,n),n;default:return function(e,t){let n=e.schema;e.schema=t.namespaceURI===U.t.svg?x.YP:x.dy;let r=-1,a={};for(;++r=55296&&e<=57343}function ei(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function eo(e){return e>=64976&&e<=65007||en.has(e)}(a=m=m||(m={})).controlCharacterInInputStream="control-character-in-input-stream",a.noncharacterInInputStream="noncharacter-in-input-stream",a.surrogateInInputStream="surrogate-in-input-stream",a.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",a.endTagWithAttributes="end-tag-with-attributes",a.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",a.unexpectedSolidusInTag="unexpected-solidus-in-tag",a.unexpectedNullCharacter="unexpected-null-character",a.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",a.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",a.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",a.missingEndTagName="missing-end-tag-name",a.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",a.unknownNamedCharacterReference="unknown-named-character-reference",a.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",a.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",a.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",a.eofBeforeTagName="eof-before-tag-name",a.eofInTag="eof-in-tag",a.missingAttributeValue="missing-attribute-value",a.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",a.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",a.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",a.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",a.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",a.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",a.missingDoctypePublicIdentifier="missing-doctype-public-identifier",a.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",a.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",a.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",a.cdataInHtmlContent="cdata-in-html-content",a.incorrectlyOpenedComment="incorrectly-opened-comment",a.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",a.eofInDoctype="eof-in-doctype",a.nestedComment="nested-comment",a.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",a.eofInComment="eof-in-comment",a.incorrectlyClosedComment="incorrectly-closed-comment",a.eofInCdata="eof-in-cdata",a.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",a.nullCharacterReference="null-character-reference",a.surrogateCharacterReference="surrogate-character-reference",a.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",a.controlCharacterReference="control-character-reference",a.noncharacterCharacterReference="noncharacter-character-reference",a.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",a.missingDoctypeName="missing-doctype-name",a.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",a.duplicateAttribute="duplicate-attribute",a.nonConformingDoctype="non-conforming-doctype",a.missingDoctype="missing-doctype",a.misplacedDoctype="misplaced-doctype",a.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",a.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",a.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",a.openElementsLeftAfterEof="open-elements-left-after-eof",a.abandonedHeadElementChild="abandoned-head-element-child",a.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",a.nestedNoscriptInHead="nested-noscript-in-head",a.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text";class es{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e){let{line:t,col:n,offset:r}=this;return{code:e,startLine:t,endLine:t,startCol:n,endCol:n,startOffset:r,endOffset:r}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let t=this.html.charCodeAt(this.pos+1);if(t>=56320&&t<=57343)return this.pos++,this._addGap(),(e-55296)*1024+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,h.EOF;return this._err(m.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,h.EOF;let n=this.html.charCodeAt(t);return n===h.CARRIAGE_RETURN?h.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,h.EOF;let e=this.html.charCodeAt(this.pos);if(e===h.CARRIAGE_RETURN)return this.isEol=!0,this.skipNextNewLine=!0,h.LINE_FEED;if(e===h.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine))return this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance();this.skipNextNewLine=!1,ea(e)&&(e=this._processSurrogate(e));let t=null===this.handler.onParseError||e>31&&e<127||e===h.LINE_FEED||e===h.CARRIAGE_RETURN||e>159&&e<64976;return t||this._checkForProblematicCharacters(e),e}_checkForProblematicCharacters(e){ei(e)?this._err(m.controlCharacterInInputStream):eo(e)&&this._err(m.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}(i=g=g||(g={}))[i.CHARACTER=0]="CHARACTER",i[i.NULL_CHARACTER=1]="NULL_CHARACTER",i[i.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",i[i.START_TAG=3]="START_TAG",i[i.END_TAG=4]="END_TAG",i[i.COMMENT=5]="COMMENT",i[i.DOCTYPE=6]="DOCTYPE",i[i.EOF=7]="EOF",i[i.HIBERNATION=8]="HIBERNATION";var ec=n(60411);(o=b=b||(b={})).HTML="http://www.w3.org/1999/xhtml",o.MATHML="http://www.w3.org/1998/Math/MathML",o.SVG="http://www.w3.org/2000/svg",o.XLINK="http://www.w3.org/1999/xlink",o.XML="http://www.w3.org/XML/1998/namespace",o.XMLNS="http://www.w3.org/2000/xmlns/",(s=y=y||(y={})).TYPE="type",s.ACTION="action",s.ENCODING="encoding",s.PROMPT="prompt",s.NAME="name",s.COLOR="color",s.FACE="face",s.SIZE="size",(l=E=E||(E={})).NO_QUIRKS="no-quirks",l.QUIRKS="quirks",l.LIMITED_QUIRKS="limited-quirks",(c=v=v||(v={})).A="a",c.ADDRESS="address",c.ANNOTATION_XML="annotation-xml",c.APPLET="applet",c.AREA="area",c.ARTICLE="article",c.ASIDE="aside",c.B="b",c.BASE="base",c.BASEFONT="basefont",c.BGSOUND="bgsound",c.BIG="big",c.BLOCKQUOTE="blockquote",c.BODY="body",c.BR="br",c.BUTTON="button",c.CAPTION="caption",c.CENTER="center",c.CODE="code",c.COL="col",c.COLGROUP="colgroup",c.DD="dd",c.DESC="desc",c.DETAILS="details",c.DIALOG="dialog",c.DIR="dir",c.DIV="div",c.DL="dl",c.DT="dt",c.EM="em",c.EMBED="embed",c.FIELDSET="fieldset",c.FIGCAPTION="figcaption",c.FIGURE="figure",c.FONT="font",c.FOOTER="footer",c.FOREIGN_OBJECT="foreignObject",c.FORM="form",c.FRAME="frame",c.FRAMESET="frameset",c.H1="h1",c.H2="h2",c.H3="h3",c.H4="h4",c.H5="h5",c.H6="h6",c.HEAD="head",c.HEADER="header",c.HGROUP="hgroup",c.HR="hr",c.HTML="html",c.I="i",c.IMG="img",c.IMAGE="image",c.INPUT="input",c.IFRAME="iframe",c.KEYGEN="keygen",c.LABEL="label",c.LI="li",c.LINK="link",c.LISTING="listing",c.MAIN="main",c.MALIGNMARK="malignmark",c.MARQUEE="marquee",c.MATH="math",c.MENU="menu",c.META="meta",c.MGLYPH="mglyph",c.MI="mi",c.MO="mo",c.MN="mn",c.MS="ms",c.MTEXT="mtext",c.NAV="nav",c.NOBR="nobr",c.NOFRAMES="noframes",c.NOEMBED="noembed",c.NOSCRIPT="noscript",c.OBJECT="object",c.OL="ol",c.OPTGROUP="optgroup",c.OPTION="option",c.P="p",c.PARAM="param",c.PLAINTEXT="plaintext",c.PRE="pre",c.RB="rb",c.RP="rp",c.RT="rt",c.RTC="rtc",c.RUBY="ruby",c.S="s",c.SCRIPT="script",c.SECTION="section",c.SELECT="select",c.SOURCE="source",c.SMALL="small",c.SPAN="span",c.STRIKE="strike",c.STRONG="strong",c.STYLE="style",c.SUB="sub",c.SUMMARY="summary",c.SUP="sup",c.TABLE="table",c.TBODY="tbody",c.TEMPLATE="template",c.TEXTAREA="textarea",c.TFOOT="tfoot",c.TD="td",c.TH="th",c.THEAD="thead",c.TITLE="title",c.TR="tr",c.TRACK="track",c.TT="tt",c.U="u",c.UL="ul",c.SVG="svg",c.VAR="var",c.WBR="wbr",c.XMP="xmp",(u=T=T||(T={}))[u.UNKNOWN=0]="UNKNOWN",u[u.A=1]="A",u[u.ADDRESS=2]="ADDRESS",u[u.ANNOTATION_XML=3]="ANNOTATION_XML",u[u.APPLET=4]="APPLET",u[u.AREA=5]="AREA",u[u.ARTICLE=6]="ARTICLE",u[u.ASIDE=7]="ASIDE",u[u.B=8]="B",u[u.BASE=9]="BASE",u[u.BASEFONT=10]="BASEFONT",u[u.BGSOUND=11]="BGSOUND",u[u.BIG=12]="BIG",u[u.BLOCKQUOTE=13]="BLOCKQUOTE",u[u.BODY=14]="BODY",u[u.BR=15]="BR",u[u.BUTTON=16]="BUTTON",u[u.CAPTION=17]="CAPTION",u[u.CENTER=18]="CENTER",u[u.CODE=19]="CODE",u[u.COL=20]="COL",u[u.COLGROUP=21]="COLGROUP",u[u.DD=22]="DD",u[u.DESC=23]="DESC",u[u.DETAILS=24]="DETAILS",u[u.DIALOG=25]="DIALOG",u[u.DIR=26]="DIR",u[u.DIV=27]="DIV",u[u.DL=28]="DL",u[u.DT=29]="DT",u[u.EM=30]="EM",u[u.EMBED=31]="EMBED",u[u.FIELDSET=32]="FIELDSET",u[u.FIGCAPTION=33]="FIGCAPTION",u[u.FIGURE=34]="FIGURE",u[u.FONT=35]="FONT",u[u.FOOTER=36]="FOOTER",u[u.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",u[u.FORM=38]="FORM",u[u.FRAME=39]="FRAME",u[u.FRAMESET=40]="FRAMESET",u[u.H1=41]="H1",u[u.H2=42]="H2",u[u.H3=43]="H3",u[u.H4=44]="H4",u[u.H5=45]="H5",u[u.H6=46]="H6",u[u.HEAD=47]="HEAD",u[u.HEADER=48]="HEADER",u[u.HGROUP=49]="HGROUP",u[u.HR=50]="HR",u[u.HTML=51]="HTML",u[u.I=52]="I",u[u.IMG=53]="IMG",u[u.IMAGE=54]="IMAGE",u[u.INPUT=55]="INPUT",u[u.IFRAME=56]="IFRAME",u[u.KEYGEN=57]="KEYGEN",u[u.LABEL=58]="LABEL",u[u.LI=59]="LI",u[u.LINK=60]="LINK",u[u.LISTING=61]="LISTING",u[u.MAIN=62]="MAIN",u[u.MALIGNMARK=63]="MALIGNMARK",u[u.MARQUEE=64]="MARQUEE",u[u.MATH=65]="MATH",u[u.MENU=66]="MENU",u[u.META=67]="META",u[u.MGLYPH=68]="MGLYPH",u[u.MI=69]="MI",u[u.MO=70]="MO",u[u.MN=71]="MN",u[u.MS=72]="MS",u[u.MTEXT=73]="MTEXT",u[u.NAV=74]="NAV",u[u.NOBR=75]="NOBR",u[u.NOFRAMES=76]="NOFRAMES",u[u.NOEMBED=77]="NOEMBED",u[u.NOSCRIPT=78]="NOSCRIPT",u[u.OBJECT=79]="OBJECT",u[u.OL=80]="OL",u[u.OPTGROUP=81]="OPTGROUP",u[u.OPTION=82]="OPTION",u[u.P=83]="P",u[u.PARAM=84]="PARAM",u[u.PLAINTEXT=85]="PLAINTEXT",u[u.PRE=86]="PRE",u[u.RB=87]="RB",u[u.RP=88]="RP",u[u.RT=89]="RT",u[u.RTC=90]="RTC",u[u.RUBY=91]="RUBY",u[u.S=92]="S",u[u.SCRIPT=93]="SCRIPT",u[u.SECTION=94]="SECTION",u[u.SELECT=95]="SELECT",u[u.SOURCE=96]="SOURCE",u[u.SMALL=97]="SMALL",u[u.SPAN=98]="SPAN",u[u.STRIKE=99]="STRIKE",u[u.STRONG=100]="STRONG",u[u.STYLE=101]="STYLE",u[u.SUB=102]="SUB",u[u.SUMMARY=103]="SUMMARY",u[u.SUP=104]="SUP",u[u.TABLE=105]="TABLE",u[u.TBODY=106]="TBODY",u[u.TEMPLATE=107]="TEMPLATE",u[u.TEXTAREA=108]="TEXTAREA",u[u.TFOOT=109]="TFOOT",u[u.TD=110]="TD",u[u.TH=111]="TH",u[u.THEAD=112]="THEAD",u[u.TITLE=113]="TITLE",u[u.TR=114]="TR",u[u.TRACK=115]="TRACK",u[u.TT=116]="TT",u[u.U=117]="U",u[u.UL=118]="UL",u[u.SVG=119]="SVG",u[u.VAR=120]="VAR",u[u.WBR=121]="WBR",u[u.XMP=122]="XMP";let eu=new Map([[v.A,T.A],[v.ADDRESS,T.ADDRESS],[v.ANNOTATION_XML,T.ANNOTATION_XML],[v.APPLET,T.APPLET],[v.AREA,T.AREA],[v.ARTICLE,T.ARTICLE],[v.ASIDE,T.ASIDE],[v.B,T.B],[v.BASE,T.BASE],[v.BASEFONT,T.BASEFONT],[v.BGSOUND,T.BGSOUND],[v.BIG,T.BIG],[v.BLOCKQUOTE,T.BLOCKQUOTE],[v.BODY,T.BODY],[v.BR,T.BR],[v.BUTTON,T.BUTTON],[v.CAPTION,T.CAPTION],[v.CENTER,T.CENTER],[v.CODE,T.CODE],[v.COL,T.COL],[v.COLGROUP,T.COLGROUP],[v.DD,T.DD],[v.DESC,T.DESC],[v.DETAILS,T.DETAILS],[v.DIALOG,T.DIALOG],[v.DIR,T.DIR],[v.DIV,T.DIV],[v.DL,T.DL],[v.DT,T.DT],[v.EM,T.EM],[v.EMBED,T.EMBED],[v.FIELDSET,T.FIELDSET],[v.FIGCAPTION,T.FIGCAPTION],[v.FIGURE,T.FIGURE],[v.FONT,T.FONT],[v.FOOTER,T.FOOTER],[v.FOREIGN_OBJECT,T.FOREIGN_OBJECT],[v.FORM,T.FORM],[v.FRAME,T.FRAME],[v.FRAMESET,T.FRAMESET],[v.H1,T.H1],[v.H2,T.H2],[v.H3,T.H3],[v.H4,T.H4],[v.H5,T.H5],[v.H6,T.H6],[v.HEAD,T.HEAD],[v.HEADER,T.HEADER],[v.HGROUP,T.HGROUP],[v.HR,T.HR],[v.HTML,T.HTML],[v.I,T.I],[v.IMG,T.IMG],[v.IMAGE,T.IMAGE],[v.INPUT,T.INPUT],[v.IFRAME,T.IFRAME],[v.KEYGEN,T.KEYGEN],[v.LABEL,T.LABEL],[v.LI,T.LI],[v.LINK,T.LINK],[v.LISTING,T.LISTING],[v.MAIN,T.MAIN],[v.MALIGNMARK,T.MALIGNMARK],[v.MARQUEE,T.MARQUEE],[v.MATH,T.MATH],[v.MENU,T.MENU],[v.META,T.META],[v.MGLYPH,T.MGLYPH],[v.MI,T.MI],[v.MO,T.MO],[v.MN,T.MN],[v.MS,T.MS],[v.MTEXT,T.MTEXT],[v.NAV,T.NAV],[v.NOBR,T.NOBR],[v.NOFRAMES,T.NOFRAMES],[v.NOEMBED,T.NOEMBED],[v.NOSCRIPT,T.NOSCRIPT],[v.OBJECT,T.OBJECT],[v.OL,T.OL],[v.OPTGROUP,T.OPTGROUP],[v.OPTION,T.OPTION],[v.P,T.P],[v.PARAM,T.PARAM],[v.PLAINTEXT,T.PLAINTEXT],[v.PRE,T.PRE],[v.RB,T.RB],[v.RP,T.RP],[v.RT,T.RT],[v.RTC,T.RTC],[v.RUBY,T.RUBY],[v.S,T.S],[v.SCRIPT,T.SCRIPT],[v.SECTION,T.SECTION],[v.SELECT,T.SELECT],[v.SOURCE,T.SOURCE],[v.SMALL,T.SMALL],[v.SPAN,T.SPAN],[v.STRIKE,T.STRIKE],[v.STRONG,T.STRONG],[v.STYLE,T.STYLE],[v.SUB,T.SUB],[v.SUMMARY,T.SUMMARY],[v.SUP,T.SUP],[v.TABLE,T.TABLE],[v.TBODY,T.TBODY],[v.TEMPLATE,T.TEMPLATE],[v.TEXTAREA,T.TEXTAREA],[v.TFOOT,T.TFOOT],[v.TD,T.TD],[v.TH,T.TH],[v.THEAD,T.THEAD],[v.TITLE,T.TITLE],[v.TR,T.TR],[v.TRACK,T.TRACK],[v.TT,T.TT],[v.U,T.U],[v.UL,T.UL],[v.SVG,T.SVG],[v.VAR,T.VAR],[v.WBR,T.WBR],[v.XMP,T.XMP]]);function ed(e){var t;return null!==(t=eu.get(e))&&void 0!==t?t:T.UNKNOWN}let ep=T,ef={[b.HTML]:new Set([ep.ADDRESS,ep.APPLET,ep.AREA,ep.ARTICLE,ep.ASIDE,ep.BASE,ep.BASEFONT,ep.BGSOUND,ep.BLOCKQUOTE,ep.BODY,ep.BR,ep.BUTTON,ep.CAPTION,ep.CENTER,ep.COL,ep.COLGROUP,ep.DD,ep.DETAILS,ep.DIR,ep.DIV,ep.DL,ep.DT,ep.EMBED,ep.FIELDSET,ep.FIGCAPTION,ep.FIGURE,ep.FOOTER,ep.FORM,ep.FRAME,ep.FRAMESET,ep.H1,ep.H2,ep.H3,ep.H4,ep.H5,ep.H6,ep.HEAD,ep.HEADER,ep.HGROUP,ep.HR,ep.HTML,ep.IFRAME,ep.IMG,ep.INPUT,ep.LI,ep.LINK,ep.LISTING,ep.MAIN,ep.MARQUEE,ep.MENU,ep.META,ep.NAV,ep.NOEMBED,ep.NOFRAMES,ep.NOSCRIPT,ep.OBJECT,ep.OL,ep.P,ep.PARAM,ep.PLAINTEXT,ep.PRE,ep.SCRIPT,ep.SECTION,ep.SELECT,ep.SOURCE,ep.STYLE,ep.SUMMARY,ep.TABLE,ep.TBODY,ep.TD,ep.TEMPLATE,ep.TEXTAREA,ep.TFOOT,ep.TH,ep.THEAD,ep.TITLE,ep.TR,ep.TRACK,ep.UL,ep.WBR,ep.XMP]),[b.MATHML]:new Set([ep.MI,ep.MO,ep.MN,ep.MS,ep.MTEXT,ep.ANNOTATION_XML]),[b.SVG]:new Set([ep.TITLE,ep.FOREIGN_OBJECT,ep.DESC]),[b.XLINK]:new Set,[b.XML]:new Set,[b.XMLNS]:new Set};function eh(e){return e===ep.H1||e===ep.H2||e===ep.H3||e===ep.H4||e===ep.H5||e===ep.H6}v.STYLE,v.SCRIPT,v.XMP,v.IFRAME,v.NOEMBED,v.NOFRAMES,v.PLAINTEXT;let em=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);(d=S||(S={}))[d.DATA=0]="DATA",d[d.RCDATA=1]="RCDATA",d[d.RAWTEXT=2]="RAWTEXT",d[d.SCRIPT_DATA=3]="SCRIPT_DATA",d[d.PLAINTEXT=4]="PLAINTEXT",d[d.TAG_OPEN=5]="TAG_OPEN",d[d.END_TAG_OPEN=6]="END_TAG_OPEN",d[d.TAG_NAME=7]="TAG_NAME",d[d.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",d[d.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",d[d.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",d[d.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",d[d.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",d[d.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",d[d.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",d[d.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",d[d.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",d[d.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",d[d.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",d[d.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",d[d.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",d[d.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",d[d.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",d[d.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",d[d.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",d[d.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",d[d.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",d[d.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",d[d.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",d[d.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",d[d.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",d[d.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",d[d.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",d[d.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",d[d.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",d[d.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",d[d.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",d[d.BOGUS_COMMENT=40]="BOGUS_COMMENT",d[d.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",d[d.COMMENT_START=42]="COMMENT_START",d[d.COMMENT_START_DASH=43]="COMMENT_START_DASH",d[d.COMMENT=44]="COMMENT",d[d.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",d[d.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",d[d.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",d[d.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",d[d.COMMENT_END_DASH=49]="COMMENT_END_DASH",d[d.COMMENT_END=50]="COMMENT_END",d[d.COMMENT_END_BANG=51]="COMMENT_END_BANG",d[d.DOCTYPE=52]="DOCTYPE",d[d.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",d[d.DOCTYPE_NAME=54]="DOCTYPE_NAME",d[d.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",d[d.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",d[d.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",d[d.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",d[d.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",d[d.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",d[d.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",d[d.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",d[d.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",d[d.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",d[d.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",d[d.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",d[d.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",d[d.CDATA_SECTION=68]="CDATA_SECTION",d[d.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",d[d.CDATA_SECTION_END=70]="CDATA_SECTION_END",d[d.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",d[d.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",d[d.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",d[d.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",d[d.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",d[d.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",d[d.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",d[d.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END";let eg={DATA:S.DATA,RCDATA:S.RCDATA,RAWTEXT:S.RAWTEXT,SCRIPT_DATA:S.SCRIPT_DATA,PLAINTEXT:S.PLAINTEXT,CDATA_SECTION:S.CDATA_SECTION};function eb(e){return e>=h.DIGIT_0&&e<=h.DIGIT_9}function ey(e){return e>=h.LATIN_CAPITAL_A&&e<=h.LATIN_CAPITAL_Z}function eE(e){return e>=h.LATIN_SMALL_A&&e<=h.LATIN_SMALL_Z||ey(e)}function ev(e){return eE(e)||eb(e)}function eT(e){return e>=h.LATIN_CAPITAL_A&&e<=h.LATIN_CAPITAL_F}function eS(e){return e>=h.LATIN_SMALL_A&&e<=h.LATIN_SMALL_F}function eA(e){return e===h.SPACE||e===h.LINE_FEED||e===h.TABULATION||e===h.FORM_FEED}function eO(e){return eA(e)||e===h.SOLIDUS||e===h.GREATER_THAN_SIGN}class e_{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=S.DATA,this.returnState=S.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new es(t),this.currentLocation=this.getCurrentLocation(-1)}_err(e){var t,n;null===(n=(t=this.handler).onParseError)||void 0===n||n.call(t,this.preprocessor.getError(e))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw Error("Parser was already resumed");this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(e){this.consumedAfterSnapshot-=e,this.preprocessor.retreat(e)}_reconsumeInState(e,t){this.state=e,this._callState(t)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t0&&this._err(m.endTagWithAttributes),e.selfClosing&&this._err(m.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case g.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case g.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case g.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:g.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type!==e)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=t;return}}this._createCharacterToken(e,t)}_emitCodePoint(e){let t=eA(e)?g.WHITESPACE_CHARACTER:e===h.NULL?g.NULL_CHARACTER:g.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(g.CHARACTER,e)}_matchNamedCharacterReference(e){let t=null,n=0,r=!1;for(let i=0,o=ec.HP[0];i>=0&&!((i=(0,ec.Go)(ec.HP,o,i+1,e))<0);e=this._consume()){n+=1,o=ec.HP[i];let s=o&ec.ge.VALUE_LENGTH;if(s){var a;let o=(s>>14)-1;if(e!==h.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((a=this.preprocessor.peek(1))===h.EQUALS_SIGN||ev(a))?(t=[h.AMPERSAND],i+=o):(t=0===o?[ec.HP[i]&~ec.ge.VALUE_LENGTH]:1===o?[ec.HP[++i]]:[ec.HP[++i],ec.HP[++i]],n=0,r=e!==h.SEMICOLON),0===o){this._consume();break}}}return this._unconsume(n),r&&!this.preprocessor.endOfChunkHit&&this._err(m.missingSemicolonAfterCharacterReference),this._unconsume(1),t}_isCharacterReferenceInAttribute(){return this.returnState===S.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case S.DATA:this._stateData(e);break;case S.RCDATA:this._stateRcdata(e);break;case S.RAWTEXT:this._stateRawtext(e);break;case S.SCRIPT_DATA:this._stateScriptData(e);break;case S.PLAINTEXT:this._statePlaintext(e);break;case S.TAG_OPEN:this._stateTagOpen(e);break;case S.END_TAG_OPEN:this._stateEndTagOpen(e);break;case S.TAG_NAME:this._stateTagName(e);break;case S.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case S.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case S.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case S.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case S.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case S.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case S.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case S.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case S.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case S.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case S.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case S.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case S.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case S.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case S.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case S.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case S.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case S.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case S.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case S.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case S.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case S.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case S.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case S.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case S.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case S.BOGUS_COMMENT:this._stateBogusComment(e);break;case S.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case S.COMMENT_START:this._stateCommentStart(e);break;case S.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case S.COMMENT:this._stateComment(e);break;case S.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case S.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case S.COMMENT_END:this._stateCommentEnd(e);break;case S.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case S.DOCTYPE:this._stateDoctype(e);break;case S.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case S.DOCTYPE_NAME:this._stateDoctypeName(e);break;case S.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case S.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case S.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case S.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case S.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case S.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case S.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case S.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case S.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case S.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case S.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case S.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case S.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case S.CDATA_SECTION:this._stateCdataSection(e);break;case S.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case S.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case S.CHARACTER_REFERENCE:this._stateCharacterReference(e);break;case S.NAMED_CHARACTER_REFERENCE:this._stateNamedCharacterReference(e);break;case S.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;case S.NUMERIC_CHARACTER_REFERENCE:this._stateNumericCharacterReference(e);break;case S.HEXADEMICAL_CHARACTER_REFERENCE_START:this._stateHexademicalCharacterReferenceStart(e);break;case S.HEXADEMICAL_CHARACTER_REFERENCE:this._stateHexademicalCharacterReference(e);break;case S.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(e);break;case S.NUMERIC_CHARACTER_REFERENCE_END:this._stateNumericCharacterReferenceEnd(e);break;default:throw Error("Unknown state")}}_stateData(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.TAG_OPEN;break;case h.AMPERSAND:this.returnState=S.DATA,this.state=S.CHARACTER_REFERENCE;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitCodePoint(e);break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case h.AMPERSAND:this.returnState=S.RCDATA,this.state=S.CHARACTER_REFERENCE;break;case h.LESS_THAN_SIGN:this.state=S.RCDATA_LESS_THAN_SIGN;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.RAWTEXT_LESS_THAN_SIGN;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.SCRIPT_DATA_LESS_THAN_SIGN;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(eE(e))this._createStartTagToken(),this.state=S.TAG_NAME,this._stateTagName(e);else switch(e){case h.EXCLAMATION_MARK:this.state=S.MARKUP_DECLARATION_OPEN;break;case h.SOLIDUS:this.state=S.END_TAG_OPEN;break;case h.QUESTION_MARK:this._err(m.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=S.BOGUS_COMMENT,this._stateBogusComment(e);break;case h.EOF:this._err(m.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(m.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=S.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(eE(e))this._createEndTagToken(),this.state=S.TAG_NAME,this._stateTagName(e);else switch(e){case h.GREATER_THAN_SIGN:this._err(m.missingEndTagName),this.state=S.DATA;break;case h.EOF:this._err(m.eofBeforeTagName),this._emitChars("");break;case h.NULL:this._err(m.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case h.EOF:this._err(m.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===h.SOLIDUS?this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:eE(e)?(this._emitChars("<"),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=S.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){eE(e)?(this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("");break;case h.NULL:this._err(m.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case h.EOF:this._err(m.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===h.SOLIDUS?(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(er.SCRIPT,!1)&&eO(this.preprocessor.peek(er.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e1114111)this._err(m.characterReferenceOutsideUnicodeRange),this.charRefCode=h.REPLACEMENT_CHARACTER;else if(ea(this.charRefCode))this._err(m.surrogateCharacterReference),this.charRefCode=h.REPLACEMENT_CHARACTER;else if(eo(this.charRefCode))this._err(m.noncharacterCharacterReference);else if(ei(this.charRefCode)||this.charRefCode===h.CARRIAGE_RETURN){this._err(m.controlCharacterReference);let e=em.get(this.charRefCode);void 0!==e&&(this.charRefCode=e)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}}let ek=new Set([T.DD,T.DT,T.LI,T.OPTGROUP,T.OPTION,T.P,T.RB,T.RP,T.RT,T.RTC]),ex=new Set([...ek,T.CAPTION,T.COLGROUP,T.TBODY,T.TD,T.TFOOT,T.TH,T.THEAD,T.TR]),eC=new Map([[T.APPLET,b.HTML],[T.CAPTION,b.HTML],[T.HTML,b.HTML],[T.MARQUEE,b.HTML],[T.OBJECT,b.HTML],[T.TABLE,b.HTML],[T.TD,b.HTML],[T.TEMPLATE,b.HTML],[T.TH,b.HTML],[T.ANNOTATION_XML,b.MATHML],[T.MI,b.MATHML],[T.MN,b.MATHML],[T.MO,b.MATHML],[T.MS,b.MATHML],[T.MTEXT,b.MATHML],[T.DESC,b.SVG],[T.FOREIGN_OBJECT,b.SVG],[T.TITLE,b.SVG]]),ew=[T.H1,T.H2,T.H3,T.H4,T.H5,T.H6],eI=[T.TR,T.TEMPLATE,T.HTML],eR=[T.TBODY,T.TFOOT,T.THEAD,T.TEMPLATE,T.HTML],eN=[T.TABLE,T.TEMPLATE,T.HTML],eL=[T.TD,T.TH];class eD{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=T.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===T.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===b.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){let r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==b.HTML);this.shortenToLength(t<0?0:t)}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop=0;n--)if(e.includes(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return -1}clearBackTo(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(eN,b.HTML)}clearBackToTableBodyContext(){this.clearBackTo(eR,b.HTML)}clearBackToTableRowContext(){this.clearBackTo(eI,b.HTML)}remove(e){let t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===T.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===T.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(eC.get(n)===r)return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(eh(t)&&n===b.HTML)break;if(eC.get(t)===n)return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if((n===T.UL||n===T.OL)&&r===b.HTML||eC.get(n)===r)return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(n===T.BUTTON&&r===b.HTML||eC.get(n)===r)return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n===T.TABLE||n===T.TEMPLATE||n===T.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(n===b.HTML){if(t===T.TBODY||t===T.THEAD||t===T.TFOOT)break;if(t===T.TABLE||t===T.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n!==T.OPTION&&n!==T.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;ek.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;ex.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&ex.has(this.currentTagId);)this.pop()}}(p=A=A||(A={}))[p.Marker=0]="Marker",p[p.Element=1]="Element";let eP={type:A.Marker};class eM{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let n=[],r=t.length,a=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let e=0;e[e.name,e.value])),a=0;for(let e=0;er.get(e.name)===e.value)&&(a+=1)>=3&&this.entries.splice(t.idx,1)}}insertMarker(){this.entries.unshift(eP)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:A.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:A.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);t>=0&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(eP);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===A.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===A.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===A.Element&&t.element===e)}}function eF(e){return{nodeName:"#text",value:e,parentNode:null}}let eB={createDocument:()=>({nodeName:"#document",mode:E.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){let r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,n,r){let a=e.childNodes.find(e=>"#documentType"===e.nodeName);a?(a.name=t,a.publicId=n,a.systemId=r):eB.appendChild(e,{nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null})},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let n=e.childNodes[e.childNodes.length-1];if(eB.isTextNode(n)){n.value+=t;return}}eB.appendChild(e,eF(t))},insertTextBefore(e,t,n){let r=e.childNodes[e.childNodes.indexOf(n)-1];r&&eB.isTextNode(r)?r.value+=t:eB.insertBefore(e,eF(t),n)},adoptAttributes(e,t){let n=new Set(e.attrs.map(e=>e.name));for(let r=0;re.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},ej="html",eU=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],eG=[...eU,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],eH=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),e$=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],ez=[...e$,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function eZ(e,t){return t.some(t=>e.startsWith(t))}let eW={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},eV=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),eY=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:b.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:b.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:b.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:b.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:b.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:b.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:b.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:b.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:b.XML}],["xml:space",{prefix:"xml",name:"space",namespace:b.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:b.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:b.XMLNS}]]),eq=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),eK=new Set([T.B,T.BIG,T.BLOCKQUOTE,T.BODY,T.BR,T.CENTER,T.CODE,T.DD,T.DIV,T.DL,T.DT,T.EM,T.EMBED,T.H1,T.H2,T.H3,T.H4,T.H5,T.H6,T.HEAD,T.HR,T.I,T.IMG,T.LI,T.LISTING,T.MENU,T.META,T.NOBR,T.OL,T.P,T.PRE,T.RUBY,T.S,T.SMALL,T.SPAN,T.STRONG,T.STRIKE,T.SUB,T.SUP,T.TABLE,T.TT,T.U,T.UL,T.VAR]);function eX(e){for(let t=0;t0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null===(r=(n=this.treeAdapter).onItemPop)||void 0===r||r.call(n,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let n=e===this.document||this.treeAdapter.getNamespaceURI(e)===b.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,b.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=O.TEXT}switchToPlaintextParsing(){this.insertionMode=O.TEXT,this.originalInsertionMode=O.IN_BODY,this.tokenizer.state=eg.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===v.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===b.HTML)switch(this.fragmentContextID){case T.TITLE:case T.TEXTAREA:this.tokenizer.state=eg.RCDATA;break;case T.STYLE:case T.XMP:case T.IFRAME:case T.NOEMBED:case T.NOFRAMES:case T.NOSCRIPT:this.tokenizer.state=eg.RAWTEXT;break;case T.SCRIPT:this.tokenizer.state=eg.SCRIPT_DATA;break;case T.PLAINTEXT:this.tokenizer.state=eg.PLAINTEXT}}_setDocumentType(e){let t=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){let t=this.treeAdapter.getChildNodes(this.document),n=t.find(e=>this.treeAdapter.isDocumentTypeNode(e));n&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){let n=this.treeAdapter.createElement(e,b.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,b.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(v.HTML,b.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,T.HTML)}_appendCommentNode(e,t){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let r=this.treeAdapter.getChildNodes(t),a=n?r.lastIndexOf(n):r.length,i=r[a-1],o=this.treeAdapter.getNodeSourceCodeLocation(i);if(o){let{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let n=t.location,r=this.treeAdapter.getTagName(e),a=t.type===g.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,a)}}shouldProcessStartTagTokenInForeignContent(e){let t,n;return!!this.currentNotInHTML&&(0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):{current:t,currentTagId:n}=this.openElements,(e.tagID!==T.SVG||this.treeAdapter.getTagName(t)!==v.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==b.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===T.MGLYPH||e.tagID===T.MALIGNMARK)&&!this._isIntegrationPoint(n,t,b.HTML)))}_processToken(e){switch(e.type){case g.CHARACTER:this.onCharacter(e);break;case g.NULL_CHARACTER:this.onNullCharacter(e);break;case g.COMMENT:this.onComment(e);break;case g.DOCTYPE:this.onDoctype(e);break;case g.START_TAG:this._processStartTag(e);break;case g.END_TAG:this.onEndTag(e);break;case g.EOF:this.onEof(e);break;case g.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){let r=this.treeAdapter.getNamespaceURI(t),a=this.treeAdapter.getAttrList(t);return(!n||n===b.HTML)&&function(e,t,n){if(t===b.MATHML&&e===T.ANNOTATION_XML){for(let e=0;ee.type===A.Marker||this.openElements.contains(e.element)),n=t<0?e-1:t-1;for(let e=n;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=O.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(T.P),this.openElements.popUntilTagNamePopped(T.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case T.TR:this.insertionMode=O.IN_ROW;return;case T.TBODY:case T.THEAD:case T.TFOOT:this.insertionMode=O.IN_TABLE_BODY;return;case T.CAPTION:this.insertionMode=O.IN_CAPTION;return;case T.COLGROUP:this.insertionMode=O.IN_COLUMN_GROUP;return;case T.TABLE:this.insertionMode=O.IN_TABLE;return;case T.BODY:this.insertionMode=O.IN_BODY;return;case T.FRAMESET:this.insertionMode=O.IN_FRAMESET;return;case T.SELECT:this._resetInsertionModeForSelect(e);return;case T.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case T.HTML:this.insertionMode=this.headElement?O.AFTER_HEAD:O.BEFORE_HEAD;return;case T.TD:case T.TH:if(e>0){this.insertionMode=O.IN_CELL;return}break;case T.HEAD:if(e>0){this.insertionMode=O.IN_HEAD;return}}this.insertionMode=O.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===T.TEMPLATE)break;if(e===T.TABLE){this.insertionMode=O.IN_SELECT_IN_TABLE;return}}this.insertionMode=O.IN_SELECT}_isElementCausesFosterParenting(e){return e1.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case T.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===b.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case T.TABLE:{let n=this.treeAdapter.getParentNode(t);if(n)return{parent:n,beforeElement:t};return{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){let n=this.treeAdapter.getNamespaceURI(e);return ef[n].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){this._insertCharacters(e),this.framesetOk=!1;return}switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.IN_BODY:case O.IN_CAPTION:case O.IN_CELL:case O.IN_TEMPLATE:ts(this,e);break;case O.TEXT:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tg(this,e);break;case O.IN_TABLE_TEXT:tT(this,e);break;case O.IN_COLUMN_GROUP:t_(this,e);break;case O.AFTER_BODY:tD(this,e);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){e.chars="�",this._insertCharacters(e);return}switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.TEXT:this._insertCharacters(e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tg(this,e);break;case O.IN_COLUMN_GROUP:t_(this,e);break;case O.AFTER_BODY:tD(this,e);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){e4(this,e);return}switch(this.insertionMode){case O.INITIAL:case O.BEFORE_HTML:case O.BEFORE_HEAD:case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:case O.IN_BODY:case O.IN_TABLE:case O.IN_CAPTION:case O.IN_COLUMN_GROUP:case O.IN_TABLE_BODY:case O.IN_ROW:case O.IN_CELL:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:case O.IN_TEMPLATE:case O.IN_FRAMESET:case O.AFTER_FRAMESET:e4(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case O.INITIAL:!function(e,t){e._setDocumentType(t);let n=t.forceQuirks?E.QUIRKS:function(e){if(e.name!==ej)return E.QUIRKS;let{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return E.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),eH.has(n))return E.QUIRKS;let e=null===t?eG:eU;if(eZ(n,e))return E.QUIRKS;if(eZ(n,e=null===t?e$:ez))return E.LIMITED_QUIRKS}return E.NO_QUIRKS}(t);t.name===ej&&null===t.publicId&&(null===t.systemId||"about:legacy-compat"===t.systemId)||e._err(t,m.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=O.BEFORE_HTML}(this,e);break;case O.BEFORE_HEAD:case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:this._err(e,m.misplacedDoctype);break;case O.IN_TABLE_TEXT:tS(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,m.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){let t=e.tagID,n=t===T.FONT&&e.attrs.some(({name:e})=>e===y.COLOR||e===y.SIZE||e===y.FACE);return n||eK.has(t)}(t))tM(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===b.MATHML?eX(t):r===b.SVG&&(function(e){let t=eq.get(e.tagName);null!=t&&(e.tagName=t,e.tagID=ed(e.tagName))}(t),eQ(t)),eJ(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e.tagID===T.HTML?(this._insertElement(e,b.HTML),this.insertionMode=O.BEFORE_HEAD):e8(this,e);break;case O.BEFORE_HEAD:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.HEAD:e._insertElement(t,b.HTML),e.headElement=e.openElements.current,e.insertionMode=O.IN_HEAD;break;default:e7(e,t)}}(this,e);break;case O.IN_HEAD:te(this,e);break;case O.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BASEFONT:case T.BGSOUND:case T.HEAD:case T.LINK:case T.META:case T.NOFRAMES:case T.STYLE:te(e,t);break;case T.NOSCRIPT:e._err(t,m.nestedNoscriptInHead);break;default:tr(e,t)}}(this,e);break;case O.AFTER_HEAD:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BODY:e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=O.IN_BODY;break;case T.FRAMESET:e._insertElement(t,b.HTML),e.insertionMode=O.IN_FRAMESET;break;case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:e._err(t,m.abandonedHeadElementChild),e.openElements.push(e.headElement,T.HEAD),te(e,t),e.openElements.remove(e.headElement);break;case T.HEAD:e._err(t,m.misplacedStartTagForHeadElement);break;default:ta(e,t)}}(this,e);break;case O.IN_BODY:tp(this,e);break;case O.IN_TABLE:tb(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_CAPTION:!function(e,t){let n=t.tagID;tA.has(n)?e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_TABLE,tb(e,t)):tp(e,t)}(this,e);break;case O.IN_COLUMN_GROUP:tO(this,e);break;case O.IN_TABLE_BODY:tk(this,e);break;case O.IN_ROW:tC(this,e);break;case O.IN_CELL:!function(e,t){let n=t.tagID;tA.has(n)?(e.openElements.hasInTableScope(T.TD)||e.openElements.hasInTableScope(T.TH))&&(e._closeTableCell(),tC(e,t)):tp(e,t)}(this,e);break;case O.IN_SELECT:tI(this,e);break;case O.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e._processStartTag(t)):tI(e,t)}(this,e);break;case O.IN_TEMPLATE:!function(e,t){switch(t.tagID){case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:te(e,t);break;case T.CAPTION:case T.COLGROUP:case T.TBODY:case T.TFOOT:case T.THEAD:e.tmplInsertionModeStack[0]=O.IN_TABLE,e.insertionMode=O.IN_TABLE,tb(e,t);break;case T.COL:e.tmplInsertionModeStack[0]=O.IN_COLUMN_GROUP,e.insertionMode=O.IN_COLUMN_GROUP,tO(e,t);break;case T.TR:e.tmplInsertionModeStack[0]=O.IN_TABLE_BODY,e.insertionMode=O.IN_TABLE_BODY,tk(e,t);break;case T.TD:case T.TH:e.tmplInsertionModeStack[0]=O.IN_ROW,e.insertionMode=O.IN_ROW,tC(e,t);break;default:e.tmplInsertionModeStack[0]=O.IN_BODY,e.insertionMode=O.IN_BODY,tp(e,t)}}(this,e);break;case O.AFTER_BODY:e.tagID===T.HTML?tp(this,e):tD(this,e);break;case O.IN_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.FRAMESET:e._insertElement(t,b.HTML);break;case T.FRAME:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.NOFRAMES:te(e,t)}}(this,e);break;case O.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.NOFRAMES:te(e,t)}}(this,e);break;case O.AFTER_AFTER_BODY:e.tagID===T.HTML?tp(this,e):tP(this,e);break;case O.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.NOFRAMES:te(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===T.P||t.tagID===T.BR){tM(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){let r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===b.HTML){e._endTagOutsideForeignContent(t);break}let a=e.treeAdapter.getTagName(r);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){var t;switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:!function(e,t){let n=t.tagID;(n===T.HTML||n===T.HEAD||n===T.BODY||n===T.BR)&&e8(e,t)}(this,e);break;case O.BEFORE_HEAD:!function(e,t){let n=t.tagID;n===T.HEAD||n===T.BODY||n===T.HTML||n===T.BR?e7(e,t):e._err(t,m.endTagWithoutMatchingOpenElement)}(this,e);break;case O.IN_HEAD:!function(e,t){switch(t.tagID){case T.HEAD:e.openElements.pop(),e.insertionMode=O.AFTER_HEAD;break;case T.BODY:case T.BR:case T.HTML:tn(e,t);break;case T.TEMPLATE:tt(e,t);break;default:e._err(t,m.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case T.NOSCRIPT:e.openElements.pop(),e.insertionMode=O.IN_HEAD;break;case T.BR:tr(e,t);break;default:e._err(t,m.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.AFTER_HEAD:!function(e,t){switch(t.tagID){case T.BODY:case T.HTML:case T.BR:ta(e,t);break;case T.TEMPLATE:tt(e,t);break;default:e._err(t,m.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.IN_BODY:th(this,e);break;case O.TEXT:e.tagID===T.SCRIPT&&(null===(t=this.scriptHandler)||void 0===t||t.call(this,this.openElements.current)),this.openElements.pop(),this.insertionMode=this.originalInsertionMode;break;case O.IN_TABLE:ty(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_CAPTION:!function(e,t){let n=t.tagID;switch(n){case T.CAPTION:case T.TABLE:e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_TABLE,n===T.TABLE&&ty(e,t));break;case T.BODY:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:th(e,t)}}(this,e);break;case O.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case T.COLGROUP:e.openElements.currentTagId===T.COLGROUP&&(e.openElements.pop(),e.insertionMode=O.IN_TABLE);break;case T.TEMPLATE:tt(e,t);break;case T.COL:break;default:t_(e,t)}}(this,e);break;case O.IN_TABLE_BODY:tx(this,e);break;case O.IN_ROW:tw(this,e);break;case O.IN_CELL:!function(e,t){let n=t.tagID;switch(n){case T.TD:case T.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_ROW);break;case T.TABLE:case T.TBODY:case T.TFOOT:case T.THEAD:case T.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),tw(e,t));break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:break;default:th(e,t)}}(this,e);break;case O.IN_SELECT:tR(this,e);break;case O.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e.onEndTag(t)):tR(e,t)}(this,e);break;case O.IN_TEMPLATE:e.tagID===T.TEMPLATE&&tt(this,e);break;case O.AFTER_BODY:tL(this,e);break;case O.IN_FRAMESET:e.tagID!==T.FRAMESET||this.openElements.isRootHtmlElementCurrent()||(this.openElements.pop(),this.fragmentContext||this.openElements.currentTagId===T.FRAMESET||(this.insertionMode=O.AFTER_FRAMESET));break;case O.AFTER_FRAMESET:e.tagID===T.HTML&&(this.insertionMode=O.AFTER_AFTER_FRAMESET);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onEof(e){switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.IN_BODY:case O.IN_TABLE:case O.IN_CAPTION:case O.IN_COLUMN_GROUP:case O.IN_TABLE_BODY:case O.IN_ROW:case O.IN_CELL:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:tm(this,e);break;case O.TEXT:this._err(e,m.eofInElementThatCanContainOnlyText),this.openElements.pop(),this.insertionMode=this.originalInsertionMode,this.onEof(e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_TEMPLATE:tN(this,e);break;case O.AFTER_BODY:case O.IN_FRAMESET:case O.AFTER_FRAMESET:case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:e6(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===h.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:case O.TEXT:case O.IN_COLUMN_GROUP:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:case O.IN_FRAMESET:case O.AFTER_FRAMESET:this._insertCharacters(e);break;case O.IN_BODY:case O.IN_CAPTION:case O.IN_CELL:case O.IN_TEMPLATE:case O.AFTER_BODY:case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:to(this,e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tg(this,e);break;case O.IN_TABLE_TEXT:tv(this,e)}}}function e5(e,t){for(let n=0;n<8;n++){let n=function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):tf(e,t),n}(e,t);if(!n)break;let r=function(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){let a=e.openElements.items[r];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[r])&&(n=a)}return n||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;let a=function(e,t,n){let r=t,a=e.openElements.getCommonAncestor(t);for(let i=0,o=a;o!==n;i++,o=a){a=e.openElements.getCommonAncestor(o);let n=e.activeFormattingElements.getElementEntry(o),s=n&&i>=3,l=!n||s;l?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(o)):(o=function(e,t){let n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}(e,r,n.element),i=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(a),i&&function(e,t,n){let r=e.treeAdapter.getTagName(t),a=ed(r);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(n);else{let r=e.treeAdapter.getNamespaceURI(t);a===T.TEMPLATE&&r===b.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}(e,i,a),function(e,t,n){let r=e.treeAdapter.getNamespaceURI(n.element),{token:a}=n,i=e.treeAdapter.createElement(a.tagName,r,a.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,a),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,a.tagID)}(e,r,n)}}function e4(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function e6(e,t){if(e.stopped=!0,t.location){let n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){let n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function e9(e,t){e._err(t,m.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,E.QUIRKS),e.insertionMode=O.BEFORE_HTML,e._processToken(t)}function e8(e,t){e._insertFakeRootElement(),e.insertionMode=O.BEFORE_HEAD,e._processToken(t)}function e7(e,t){e._insertFakeElement(v.HEAD,T.HEAD),e.headElement=e.openElements.current,e.insertionMode=O.IN_HEAD,e._processToken(t)}function te(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.TITLE:e._switchToTextParsing(t,eg.RCDATA);break;case T.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,eg.RAWTEXT):(e._insertElement(t,b.HTML),e.insertionMode=O.IN_HEAD_NO_SCRIPT);break;case T.NOFRAMES:case T.STYLE:e._switchToTextParsing(t,eg.RAWTEXT);break;case T.SCRIPT:e._switchToTextParsing(t,eg.SCRIPT_DATA);break;case T.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=O.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(O.IN_TEMPLATE);break;case T.HEAD:e._err(t,m.misplacedStartTagForHeadElement);break;default:tn(e,t)}}function tt(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==T.TEMPLATE&&e._err(t,m.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,m.endTagWithoutMatchingOpenElement)}function tn(e,t){e.openElements.pop(),e.insertionMode=O.AFTER_HEAD,e._processToken(t)}function tr(e,t){let n=t.type===g.EOF?m.openElementsLeftAfterEof:m.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=O.IN_HEAD,e._processToken(t)}function ta(e,t){e._insertFakeElement(v.BODY,T.BODY),e.insertionMode=O.IN_BODY,ti(e,t)}function ti(e,t){switch(t.type){case g.CHARACTER:ts(e,t);break;case g.WHITESPACE_CHARACTER:to(e,t);break;case g.COMMENT:e4(e,t);break;case g.START_TAG:tp(e,t);break;case g.END_TAG:th(e,t);break;case g.EOF:tm(e,t)}}function to(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function ts(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function tl(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function tc(e){let t=el(e,y.TYPE);return null!=t&&"hidden"===t.toLowerCase()}function tu(e,t){e._switchToTextParsing(t,eg.RAWTEXT)}function td(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML)}function tp(e,t){switch(t.tagID){case T.I:case T.S:case T.B:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.SMALL:case T.STRIKE:case T.STRONG:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case T.A:!function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(v.A);n&&(e5(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),eh(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,b.HTML);break;case T.P:case T.DL:case T.OL:case T.UL:case T.DIV:case T.DIR:case T.NAV:case T.MAIN:case T.MENU:case T.ASIDE:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.DETAILS:case T.ADDRESS:case T.ARTICLE:case T.SECTION:case T.SUMMARY:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML);break;case T.LI:case T.DD:case T.DT:!function(e,t){e.framesetOk=!1;let n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let r=e.openElements.tagIDs[t];if(n===T.LI&&r===T.LI||(n===T.DD||n===T.DT)&&(r===T.DD||r===T.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==T.ADDRESS&&r!==T.DIV&&r!==T.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML)}(e,t);break;case T.BR:case T.IMG:case T.WBR:case T.AREA:case T.EMBED:case T.KEYGEN:tl(e,t);break;case T.HR:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0;break;case T.RB:case T.RTC:e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,b.HTML);break;case T.RT:case T.RP:e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(T.RTC),e._insertElement(t,b.HTML);break;case T.PRE:case T.LISTING:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.framesetOk=!1;break;case T.XMP:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,eg.RAWTEXT);break;case T.SVG:e._reconstructActiveFormattingElements(),eQ(t),eJ(t),t.selfClosing?e._appendElement(t,b.SVG):e._insertElement(t,b.SVG),t.ackSelfClosing=!0;break;case T.HTML:0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs);break;case T.BASE:case T.LINK:case T.META:case T.STYLE:case T.TITLE:case T.SCRIPT:case T.BGSOUND:case T.BASEFONT:case T.TEMPLATE:te(e,t);break;case T.BODY:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t);break;case T.FORM:!function(e,t){let n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),n||(e.formElement=e.openElements.current))}(e,t);break;case T.NOBR:e._reconstructActiveFormattingElements(),e.openElements.hasInScope(T.NOBR)&&(e5(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case T.MATH:e._reconstructActiveFormattingElements(),eX(t),eJ(t),t.selfClosing?e._appendElement(t,b.MATHML):e._insertElement(t,b.MATHML),t.ackSelfClosing=!0;break;case T.TABLE:e.treeAdapter.getDocumentMode(e.document)!==E.QUIRKS&&e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=O.IN_TABLE;break;case T.INPUT:e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),tc(t)||(e.framesetOk=!1),t.ackSelfClosing=!0;break;case T.PARAM:case T.TRACK:case T.SOURCE:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.IMAGE:t.tagName=v.IMG,t.tagID=T.IMG,tl(e,t);break;case T.BUTTON:e.openElements.hasInScope(T.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1;break;case T.APPLET:case T.OBJECT:case T.MARQUEE:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1;break;case T.IFRAME:e.framesetOk=!1,e._switchToTextParsing(t,eg.RAWTEXT);break;case T.SELECT:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===O.IN_TABLE||e.insertionMode===O.IN_CAPTION||e.insertionMode===O.IN_TABLE_BODY||e.insertionMode===O.IN_ROW||e.insertionMode===O.IN_CELL?O.IN_SELECT_IN_TABLE:O.IN_SELECT;break;case T.OPTION:case T.OPTGROUP:e.openElements.currentTagId===T.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML);break;case T.NOEMBED:tu(e,t);break;case T.FRAMESET:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_FRAMESET)}(e,t);break;case T.TEXTAREA:e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.tokenizer.state=eg.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=O.TEXT;break;case T.NOSCRIPT:e.options.scriptingEnabled?tu(e,t):td(e,t);break;case T.PLAINTEXT:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.tokenizer.state=eg.PLAINTEXT;break;case T.COL:case T.TH:case T.TD:case T.TR:case T.HEAD:case T.FRAME:case T.TBODY:case T.TFOOT:case T.THEAD:case T.CAPTION:case T.COLGROUP:break;default:td(e,t)}}function tf(e,t){let n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let a=e.openElements.items[t],i=e.openElements.tagIDs[t];if(r===i&&(r!==T.UNKNOWN||e.treeAdapter.getTagName(a)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(a,i))break}}function th(e,t){switch(t.tagID){case T.A:case T.B:case T.I:case T.S:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.NOBR:case T.SMALL:case T.STRIKE:case T.STRONG:e5(e,t);break;case T.P:e.openElements.hasInButtonScope(T.P)||e._insertFakeElement(v.P,T.P),e._closePElement();break;case T.DL:case T.UL:case T.OL:case T.DIR:case T.DIV:case T.NAV:case T.PRE:case T.MAIN:case T.MENU:case T.ASIDE:case T.BUTTON:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.ADDRESS:case T.ARTICLE:case T.DETAILS:case T.SECTION:case T.SUMMARY:case T.LISTING:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case T.LI:e.openElements.hasInListItemScope(T.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(T.LI),e.openElements.popUntilTagNamePopped(T.LI));break;case T.DD:case T.DT:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped());break;case T.BR:e._reconstructActiveFormattingElements(),e._insertFakeElement(v.BR,T.BR),e.openElements.pop(),e.framesetOk=!1;break;case T.BODY:!function(e,t){if(e.openElements.hasInScope(T.BODY)&&(e.insertionMode=O.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}(e,t);break;case T.HTML:e.openElements.hasInScope(T.BODY)&&(e.insertionMode=O.AFTER_BODY,tL(e,t));break;case T.FORM:!function(e){let t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(T.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(T.FORM):n&&e.openElements.remove(n))}(e);break;case T.APPLET:case T.OBJECT:case T.MARQUEE:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}(e,t);break;case T.TEMPLATE:tt(e,t);break;default:tf(e,t)}}function tm(e,t){e.tmplInsertionModeStack.length>0?tN(e,t):e6(e,t)}function tg(e,t){if(e1.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=O.IN_TABLE_TEXT,t.type){case g.CHARACTER:tT(e,t);break;case g.WHITESPACE_CHARACTER:tv(e,t)}else tE(e,t)}function tb(e,t){switch(t.tagID){case T.TD:case T.TH:case T.TR:e.openElements.clearBackToTableContext(),e._insertFakeElement(v.TBODY,T.TBODY),e.insertionMode=O.IN_TABLE_BODY,tk(e,t);break;case T.STYLE:case T.SCRIPT:case T.TEMPLATE:te(e,t);break;case T.COL:e.openElements.clearBackToTableContext(),e._insertFakeElement(v.COLGROUP,T.COLGROUP),e.insertionMode=O.IN_COLUMN_GROUP,tO(e,t);break;case T.FORM:e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,b.HTML),e.formElement=e.openElements.current,e.openElements.pop());break;case T.TABLE:e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode(),e._processStartTag(t));break;case T.TBODY:case T.TFOOT:case T.THEAD:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_TABLE_BODY;break;case T.INPUT:tc(t)?e._appendElement(t,b.HTML):tE(e,t),t.ackSelfClosing=!0;break;case T.CAPTION:e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_CAPTION;break;case T.COLGROUP:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_COLUMN_GROUP;break;default:tE(e,t)}}function ty(e,t){switch(t.tagID){case T.TABLE:e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode());break;case T.TEMPLATE:tt(e,t);break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:tE(e,t)}}function tE(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,ti(e,t),e.fosterParentingEnabled=n}function tv(e,t){e.pendingCharacterTokens.push(t)}function tT(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function tS(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0&&e.openElements.currentTagId===T.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===T.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===T.OPTGROUP&&e.openElements.pop();break;case T.OPTION:e.openElements.currentTagId===T.OPTION&&e.openElements.pop();break;case T.SELECT:e.openElements.hasInSelectScope(T.SELECT)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode());break;case T.TEMPLATE:tt(e,t)}}function tN(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):e6(e,t)}function tL(e,t){var n;if(t.tagID===T.HTML){if(e.fragmentContext||(e.insertionMode=O.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===T.HTML){e._setEndLocation(e.openElements.items[0],t);let r=e.openElements.items[1];!r||(null===(n=e.treeAdapter.getNodeSourceCodeLocation(r))||void 0===n?void 0:n.endTag)||e._setEndLocation(r,t)}}else tD(e,t)}function tD(e,t){e.insertionMode=O.IN_BODY,ti(e,t)}function tP(e,t){e.insertionMode=O.IN_BODY,ti(e,t)}function tM(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==b.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}n(43470),v.AREA,v.BASE,v.BASEFONT,v.BGSOUND,v.BR,v.COL,v.EMBED,v.FRAME,v.HR,v.IMG,v.INPUT,v.KEYGEN,v.LINK,v.META,v.PARAM,v.SOURCE,v.TRACK,v.WBR;var tF=n(3980),tB=n(21623);let tj=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),tU={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function tG(e,t){let n=function(e){let t="root"===e.type?e.children[0]:e;return!!(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName.toLowerCase()))}(e),r=q("type",{handlers:{root:t$,element:tz,text:tZ,comment:tV,doctype:tW,raw:tY},unknown:tq}),a={parser:n?new e3(tU):e3.getFragmentParser(void 0,tU),handle(e){r(e,a)},stitches:!1,options:t||{}};r(e,a),tK(a,(0,tF.Pk)());let i=n?a.parser.document:a.parser.getFragment(),o=function(e,t){let n=t||{};return $({file:n.file||void 0,location:!1,schema:"svg"===n.space?x.YP:x.dy,verbose:n.verbose||!1},e)}(i,{file:a.options.file});return(a.stitches&&(0,tB.Vn)(o,"comment",function(e,t,n){if(e.value.stitch&&n&&void 0!==t){let r=n.children;return r[t]=e.value.stitch,t}}),"root"===o.type&&1===o.children.length&&o.children[0].type===e.type)?o.children[0]:o}function tH(e,t){let n=-1;if(e)for(;++n4&&(t.parser.tokenizer.state=0);let n={type:g.CHARACTER,chars:e.value,location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tW(e,t){let n={type:g.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tV(e,t){let n=e.value,r={type:g.COMMENT,data:n,location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function tY(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,tX(t,(0,tF.Pk)(e)),t.parser.tokenizer.write(e.value,!1),t.parser.tokenizer._runParsingLoop(),72===t.parser.tokenizer.state||78===t.parser.tokenizer.state){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;let e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function tq(e,t){if(t.options.passThrough&&t.options.passThrough.includes(e.type))!function(e,t){t.stitches=!0;let n="children"in e?(0,_.ZP)({...e,children:[]}):(0,_.ZP)(e);if("children"in e&&"children"in n){let r=tG({type:"root",children:e.children},t.options);n.children=r.children}tV({type:"comment",value:{stitch:n}},t)}(e,t);else{let t="";throw tj.has(e.type)&&(t=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),Error("Cannot compile `"+e.type+"` node"+t)}}function tK(e,t){tX(e,t);let n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=eg.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function tX(e,t){if(t&&void 0!==t.offset){let n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function tQ(e){let t=(0,tF.Pk)(e)||{line:void 0,column:void 0,offset:void 0},n=(0,tF.rb)(e)||{line:void 0,column:void 0,offset:void 0},r={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset};return r}function tJ(e){return function(t,n){let r=tG(t,{...e,file:n});return r}}},78600:function(e,t,n){"use strict";function r(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,a=n.indexOf(t);for(;-1!==a;)r++,a=n.indexOf(t,a+t.length);return r}n.d(t,{Z:function(){return eQ}});var a=n(24345),i=n(15459),o=n(88718),s=n(96093);let l="phrasing",c=["autolink","link","image","label"];function u(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function d(e){this.config.enter.autolinkProtocol.call(this,e)}function p(e){this.config.exit.autolinkProtocol.call(this,e)}function f(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];(0,a.ok)("link"===t.type),t.url="http://"+this.sliceSerialize(e)}function h(e){this.config.exit.autolinkEmail.call(this,e)}function m(e){this.exit(e)}function g(e){!function(e,t,n){let r=(0,s.O)((n||{}).ignore||[]),a=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r0?{type:"text",value:i}:void 0),!1===i?r.lastIndex=n+1:(s!==n&&d.push({type:"text",value:e.value.slice(s,n)}),Array.isArray(i)?d.push(...i):i&&d.push(i),s=n+p[0].length,u=!0),!r.global)break;p=r.exec(e.value)}return u?(s?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],a=n.indexOf(")"),i=r(e,"("),o=r(e,")");for(;-1!==a&&i>o;)e+=n.slice(0,a+1),a=(n=n.slice(a+1)).indexOf(")"),o++;return[e,n]}(n+a);if(!s[0])return!1;let l={type:"link",title:null,url:o+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[l,{type:"text",value:s[1]}]:l}function y(e,t,n,r){return!(!E(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function E(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||(0,i.B8)(n)||(0,i.Xh)(n))&&(!t||47!==n)}var v=n(11098);function T(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function S(){this.buffer()}function A(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteDefinition"===n.type),n.label=t,n.identifier=(0,v.d)(this.sliceSerialize(e)).toLowerCase()}function O(e){this.exit(e)}function _(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function k(){this.buffer()}function x(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteReference"===n.type),n.label=t,n.identifier=(0,v.d)(this.sliceSerialize(e)).toLowerCase()}function C(e){this.exit(e)}function w(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteReference"),s=n.enter("reference");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),o(),i+=a.move("]")}function I(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteDefinition"),s=n.enter("label");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),i+=a.move("]:"+(e.children&&e.children.length>0?" ":"")),a.shift(4),i+=a.move(n.indentLines(n.containerFlow(e,a.current()),R)),o(),i}function R(e,t,n){return 0===t?e:(n?"":" ")+e}w.peek=function(){return"["};let N=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function L(e){this.enter({type:"delete",children:[]},e)}function D(e){this.exit(e)}function P(e,t,n,r){let a=n.createTracker(r),i=n.enter("strikethrough"),o=a.move("~~");return o+=n.containerPhrasing(e,{...a.current(),before:o,after:"~"})+a.move("~~"),i(),o}function M(e){return e.length}function F(e){let t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function B(e,t,n){return">"+(n?"":" ")+e}function j(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),c+=l.move(")"),o(),c}function q(e,t,n,r){let a=e.referenceType,i=n.enter("imageReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("!["),c=n.safe(e.alt,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function K(e,t,n){let r=e.value||"",a="`",i=-1;for(;RegExp("(^|[^`])"+a+"([^`]|$)").test(r);)a+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i\u007F]/.test(e.url))}function Q(e,t,n,r){let a,i;let o=$(n),s='"'===o?"Quote":"Apostrophe",l=n.createTracker(r);if(X(e,n)){let t=n.stack;n.stack=[],a=n.enter("autolink");let r=l.move("<");return r+=l.move(n.containerPhrasing(e,{before:r,after:">",...l.current()}))+l.move(">"),a(),n.stack=t,r}a=n.enter("link"),i=n.enter("label");let c=l.move("[");return c+=l.move(n.containerPhrasing(e,{before:c,after:"](",...l.current()}))+l.move("]("),i(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(i=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(i=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),i(),e.title&&(i=n.enter(`title${s}`),c+=l.move(" "+o),c+=l.move(n.safe(e.title,{before:c,after:o,...l.current()}))+l.move(o),i()),c+=l.move(")"),a(),c}function J(e,t,n,r){let a=e.referenceType,i=n.enter("linkReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("["),c=n.containerPhrasing(e,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function ee(e){let t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function et(e){let t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}V.peek=function(){return"<"},Y.peek=function(){return"!"},q.peek=function(){return"!"},K.peek=function(){return"`"},Q.peek=function(e,t,n){return X(e,n)?"<":"["},J.peek=function(){return"["};let en=(0,s.O)(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function er(e,t,n,r){let a=function(e){let t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(n),i=n.enter("strong"),o=n.createTracker(r),s=o.move(a+a);return s+=o.move(n.containerPhrasing(e,{before:s,after:a,...o.current()}))+o.move(a+a),i(),s}er.peek=function(e,t,n){return n.options.strong||"*"};let ea={blockquote:function(e,t,n,r){let a=n.enter("blockquote"),i=n.createTracker(r);i.move("> "),i.shift(2);let o=n.indentLines(n.containerFlow(e,i.current()),B);return a(),o},break:U,code:function(e,t,n,r){let a=function(e){let t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),i=e.value||"",o="`"===a?"GraveAccent":"Tilde";if(!1===n.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value)){let e=n.enter("codeIndented"),t=n.indentLines(i,H);return e(),t}let s=n.createTracker(r),l=a.repeat(Math.max((0,G.J)(i,a)+1,3)),c=n.enter("codeFenced"),u=s.move(l);if(e.lang){let t=n.enter(`codeFencedLang${o}`);u+=s.move(n.safe(e.lang,{before:u,after:" ",encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${o}`);u+=s.move(" "),u+=s.move(n.safe(e.meta,{before:u,after:"\n",encode:["`"],...s.current()})),t()}return u+=s.move("\n"),i&&(u+=s.move(i+"\n")),u+=s.move(l),c(),u},definition:function(e,t,n,r){let a=$(n),i='"'===a?"Quote":"Apostrophe",o=n.enter("definition"),s=n.enter("label"),l=n.createTracker(r),c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()}))+l.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":"\n",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),o(),c},emphasis:z,hardBreak:U,heading:function(e,t,n,r){let a;let i=Math.max(Math.min(6,e.depth||1),1),s=n.createTracker(r);if(a=!1,(0,Z.Vn)(e,function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return a=!0,o.BK}),(!e.depth||e.depth<3)&&(0,W.B)(e)&&(n.options.setext||a)){let t=n.enter("headingSetext"),r=n.enter("phrasing"),a=n.containerPhrasing(e,{...s.current(),before:"\n",after:"\n"});return r(),t(),a+"\n"+(1===i?"=":"-").repeat(a.length-(Math.max(a.lastIndexOf("\r"),a.lastIndexOf("\n"))+1))}let l="#".repeat(i),c=n.enter("headingAtx"),u=n.enter("phrasing");s.move(l+" ");let d=n.containerPhrasing(e,{before:"# ",after:"\n",...s.current()});return/^[\t ]/.test(d)&&(d="&#x"+d.charCodeAt(0).toString(16).toUpperCase()+";"+d.slice(1)),d=d?l+" "+d:l,n.options.closeAtx&&(d+=" "+l),u(),c(),d},html:V,image:Y,imageReference:q,inlineCode:K,link:Q,linkReference:J,list:function(e,t,n,r){let a=n.enter("list"),i=n.bulletCurrent,o=e.ordered?function(e){let t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):ee(n),s=e.ordered?"."===o?")":".":function(e){let t=ee(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n),l=!!t&&!!n.bulletLastUsed&&o===n.bulletLastUsed;if(!e.ordered){let t=e.children?e.children[0]:void 0;if("*"!==o&&"-"!==o||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(l=!0),et(n)===o&&t){let t=-1;for(;++t-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+i);let o=i.length+1;("tab"===a||"mixed"===a&&(t&&"list"===t.type&&t.spread||e.spread))&&(o=4*Math.ceil(o/4));let s=n.createTracker(r);s.move(i+" ".repeat(o-i.length)),s.shift(o);let l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),function(e,t,n){return t?(n?"":" ".repeat(o))+e:(n?i:i+" ".repeat(o-i.length))+e});return l(),c},paragraph:function(e,t,n,r){let a=n.enter("paragraph"),i=n.enter("phrasing"),o=n.containerPhrasing(e,r);return i(),a(),o},root:function(e,t,n,r){let a=e.children.some(function(e){return en(e)}),i=a?n.containerPhrasing:n.containerFlow;return i.call(n,e,r)},strong:er,text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){let r=(et(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}};function ei(e){let t=e._align;(0,a.ok)(t,"expected `_align` on table"),this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function eo(e){this.exit(e),this.data.inTable=void 0}function es(e){this.enter({type:"tableRow",children:[]},e)}function el(e){this.exit(e)}function ec(e){this.enter({type:"tableCell",children:[]},e)}function eu(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,ed));let n=this.stack[this.stack.length-1];(0,a.ok)("inlineCode"===n.type),n.value=t,this.exit(e)}function ed(e,t){return"|"===t?t:e}function ep(e){let t=this.stack[this.stack.length-2];(0,a.ok)("listItem"===t.type),t.checked="taskListCheckValueChecked"===e.type}function ef(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1];(0,a.ok)("paragraph"===e.type);let n=e.children[0];if(n&&"text"===n.type){let r;let a=t.children,i=-1;for(;++i0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}eO[43]=eA,eO[45]=eA,eO[46]=eA,eO[95]=eA,eO[72]=[eA,eS],eO[104]=[eA,eS],eO[87]=[eA,eT],eO[119]=[eA,eT];var eR=n(23402),eN=n(42761);let eL={tokenize:function(e,t,n){let r=this;return(0,eN.f)(e,function(e){let a=r.events[r.events.length-1];return a&&"gfmFootnoteDefinitionIndent"===a[1].type&&4===a[2].sliceSerialize(a[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function eD(e,t,n){let r;let a=this,i=a.events.length,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);for(;i--;){let e=a.events[i][1];if("labelImage"===e.type){r=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(i){if(!r||!r._balanced)return n(i);let s=(0,v.d)(a.sliceSerialize({start:r.end,end:a.now()}));return 94===s.codePointAt(0)&&o.includes(s.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(i),e.exit("gfmFootnoteCallLabelMarker"),t(i)):n(i)}}function eP(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;let i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",a,t],["exit",a,t],["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function eM(e,t,n){let r;let a=this,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),s=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),l};function l(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(l){if(s>999||93===l&&!r||null===l||91===l||(0,i.z3)(l))return n(l);if(93===l){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return o.includes((0,v.d)(a.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(l)}return(0,i.z3)(l)||(r=!0),s++,e.consume(l),92===l?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function eF(e,t,n){let r,a;let o=this,s=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]),l=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(t)}function u(t){if(l>999||93===t&&!a||null===t||91===t||(0,i.z3)(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return r=(0,v.d)(o.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return(0,i.z3)(t)||(a=!0),l++,e.consume(t),92===t?d:u}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}function p(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s.includes(r)||s.push(r),(0,eN.f)(e,f,"gfmFootnoteDefinitionWhitespace")):n(t)}function f(e){return t(e)}}function eB(e,t,n){return e.check(eR.w,t,e.attempt(eL,t,n))}function ej(e){e.exit("gfmFootnoteDefinition")}var eU=n(21905),eG=n(62987),eH=n(63233);class e${constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let a=0;if(0!==n||0!==r.length){for(;a0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function ez(e,t,n){let r;let a=this,o=0,s=0;return function(e){let t=a.events.length-1;for(;t>-1;){let e=a.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let r=t>-1?a.events[t][1].type:null,i="tableHead"===r||"tableRow"===r?E:l;return i===E&&a.parser.lazy[a.now().line]?n(e):i(e)};function l(t){return e.enter("tableHead"),e.enter("tableRow"),124===t||(r=!0,s+=1),c(t)}function c(t){return null===t?n(t):(0,i.Ch)(t)?s>1?(s=0,a.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p):n(t):(0,i.xz)(t)?(0,eN.f)(e,c,"whitespace")(t):(s+=1,r&&(r=!1,o+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,c):(e.enter("data"),u(t))}function u(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),c(t)):(e.consume(t),92===t?d:u)}function d(t){return 92===t||124===t?(e.consume(t),u):u(t)}function p(t){return(a.interrupt=!1,a.parser.lazy[a.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,(0,i.xz)(t))?(0,eN.f)(e,f,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):f(t)}function f(t){return 45===t||58===t?m(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),h):n(t)}function h(t){return(0,i.xz)(t)?(0,eN.f)(e,m,"whitespace")(t):m(t)}function m(t){return 58===t?(s+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),g):45===t?(s+=1,g(t)):null===t||(0,i.Ch)(t)?y(t):n(t)}function g(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),b):(e.exit("tableDelimiterFiller"),b(n))}(t)):n(t)}function b(t){return(0,i.xz)(t)?(0,eN.f)(e,y,"whitespace")(t):y(t)}function y(a){return 124===a?f(a):null===a||(0,i.Ch)(a)?r&&o===s?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(a)):n(a):n(a)}function E(t){return e.enter("tableRow"),v(t)}function v(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),v):null===n||(0,i.Ch)(n)?(e.exit("tableRow"),t(n)):(0,i.xz)(n)?(0,eN.f)(e,v,"whitespace")(n):(e.enter("data"),T(n))}function T(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),v(t)):(e.consume(t),92===t?S:T)}function S(t){return 92===t||124===t?(e.consume(t),T):T(t)}}function eZ(e,t){let n,r,a,i=-1,o=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,d=0,p=new e$;for(;++in[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",o,t]])}return void 0!==a&&(i.end=Object.assign({},eY(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function eV(e,t,n,r,a){let i=[],o=eY(t.events,n);a&&(a.end=Object.assign({},o),i.push(["exit",a,t])),r.end=Object.assign({},o),i.push(["exit",r,t]),e.add(n+1,0,i)}function eY(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}let eq={name:"tasklistCheck",tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),a):n(t)};function a(t){return(0,i.z3)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(t)}function s(r){return(0,i.Ch)(r)?t(r):(0,i.xz)(r)?e.check({tokenize:eK},t,n)(r):n(r)}}};function eK(e,t,n){return(0,eN.f)(e,function(e){return null===e?n(e):t(e)},"whitespace")}let eX={};function eQ(e){let t=e||eX,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),i=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push((0,em.W)([{text:eO},{document:{91:{name:"gfmFootnoteDefinition",tokenize:eF,continuation:{tokenize:eB},exit:ej}},text:{91:{name:"gfmFootnoteCall",tokenize:eM},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:eD,resolveTo:eP}}},function(e){let t=(e||{}).singleTilde,n={name:"strikethrough",tokenize:function(e,n,r){let a=this.previous,i=this.events,o=0;return function(s){return 126===a&&"characterEscape"!==i[i.length-1][1].type?r(s):(e.enter("strikethroughSequenceTemporary"),function i(s){let l=(0,eG.r)(a);if(126===s)return o>1?r(s):(e.consume(s),o++,i);if(o<2&&!t)return r(s);let c=e.exit("strikethroughSequenceTemporary"),u=(0,eG.r)(s);return c._open=!u||2===u&&!!l,c._close=!l||2===l&&!!u,n(s)}(s))}},resolveAll:function(e,t){let n=-1;for(;++nl&&(l=e[c].length);++ds[d])&&(s[d]=e)}n.push(i)}i[c]=n,o[c]=a}let d=-1;if("object"==typeof n&&"length"in n)for(;++ds[d]&&(s[d]=i),f[d]=i),p[d]=o}i.splice(1,0,p),o.splice(1,0,f),c=-1;let h=[];for(;++c","Iacute":"\xcd","Icirc":"\xce","Igrave":"\xcc","Iuml":"\xcf","LT":"<","Ntilde":"\xd1","Oacute":"\xd3","Ocirc":"\xd4","Ograve":"\xd2","Oslash":"\xd8","Otilde":"\xd5","Ouml":"\xd6","QUOT":"\\"","REG":"\xae","THORN":"\xde","Uacute":"\xda","Ucirc":"\xdb","Ugrave":"\xd9","Uuml":"\xdc","Yacute":"\xdd","aacute":"\xe1","acirc":"\xe2","acute":"\xb4","aelig":"\xe6","agrave":"\xe0","amp":"&","aring":"\xe5","atilde":"\xe3","auml":"\xe4","brvbar":"\xa6","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","eacute":"\xe9","ecirc":"\xea","egrave":"\xe8","eth":"\xf0","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","iacute":"\xed","icirc":"\xee","iexcl":"\xa1","igrave":"\xec","iquest":"\xbf","iuml":"\xef","laquo":"\xab","lt":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","ntilde":"\xf1","oacute":"\xf3","ocirc":"\xf4","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","oslash":"\xf8","otilde":"\xf5","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","raquo":"\xbb","reg":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","thorn":"\xfe","times":"\xd7","uacute":"\xfa","ucirc":"\xfb","ugrave":"\xf9","uml":"\xa8","uuml":"\xfc","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')}},function(e){e.O(0,[3662,7034,6106,8674,3166,2837,2168,8163,1265,7728,2913,3791,5278,9859,4330,4041,8791,5030,5418,2783,3457,1300,4567,2398,2480,7410,7124,9773,4035,1154,2510,3345,9202,7249,3768,5789,9774,2888,179],function(){return e(e.s=58264)}),_N_E=e.O()}]); \ No newline at end of file + */var r=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},a={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=u.reach));S+=T.value.length,T=T.next){var A,O=T.value;if(n.length>t.length)return;if(!(O instanceof i)){var _=1;if(b){if(!(A=o(v,S,t,g))||A.index>=t.length)break;var k=A.index,x=A.index+A[0].length,C=S;for(C+=T.value.length;k>=C;)C+=(T=T.next).value.length;if(C-=T.value.length,S=C,T.value instanceof i)continue;for(var w=T;w!==n.tail&&(Cu.reach&&(u.reach=L);var D=T.prev;R&&(D=l(n,D,R),S+=R.length),function(e,t,n){for(var r=t.next,a=0;a1){var M={cause:d+","+f,reach:L};e(t,n,r,T.prev,S,M),u&&M.reach>u.reach&&(u.reach=M.reach)}}}}}}(e,c,t,c.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(c)},hooks:{all:{},add:function(e,t){var n=a.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=a.hooks.all[e];if(n&&n.length)for(var r,i=0;r=n[i++];)r(t)}},Token:i};function i(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var i=a[1].length;a.index+=i,a[0]=a[0].slice(i)}return a}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}if(e.Prism=a,i.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach(function(t){r+=e(t,n)}),r}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},o=t.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(i.classes,o):i.classes.push(o)),a.hooks.run("wrap",i);var s="";for(var l in i.attributes)s+=" "+l+'="'+(i.attributes[l]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+s+">"+i.content+""},!e.document)return e.addEventListener&&(a.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),r=n.language,i=n.code,o=n.immediateClose;e.postMessage(a.highlight(i,a.languages[r],r)),o&&e.close()},!1)),a;var c=a.util.currentScript();function u(){a.manual||a.highlightAll()}if(c&&(a.filename=c.src,c.hasAttribute("data-manual")&&(a.manual=!0)),!a.manual){var d=document.readyState;"loading"===d||"interactive"===d&&c&&c.defer?document.addEventListener("DOMContentLoaded",u):window.requestAnimationFrame?window.requestAnimationFrame(u):window.setTimeout(u,16)}return a}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=r),void 0!==n.g&&(n.g.Prism=r)},96774:function(e){e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),o=Object.keys(t);if(i.length!==o.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;le.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}},88998:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(95778);function a(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},13643:function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,{Z:function(){return r}})},98568:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)}n.d(t,{Z:function(){return a}})},99660:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(88998);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var l=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(l&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;C(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:I(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),b}},t}},55054:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59312);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw a}}return s}}(e,t)||(0,r.Z)(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},27567:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(13643);function a(){return(a="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var a=function(e,t){for(;!({}).hasOwnProperty.call(e,t)&&null!==(e=(0,r.Z)(e)););return e}(e,t);if(a){var i=Object.getOwnPropertyDescriptor(a,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}}).apply(null,arguments)}function i(e,t,n,i){var o=a((0,r.Z)(1&i?e.prototype:e),t,n);return 2&i&&"function"==typeof o?function(e){return o.apply(n,e)}:o}},25585:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(59630),a=n(59312);function i(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,a.Z)(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},95778:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(2846);function a(e){var t=function(e,t){if("object"!=(0,r.Z)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=(0,r.Z)(a))return a;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.Z)(t)?t:t+""}},2846:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{Z:function(){return r}})},59312:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59630);function a(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},21129:function(e,t,n){"use strict";var r=n(4503);t.Z=r},86676:function(e,t,n){"use strict";n.d(t,{r:function(){return a}});let r=/[#.]/g;function a(e,t){let n,a;let i=e||"",o={},s=0;for(;so&&(o=i):i=1,a=r+t.length,r=n.indexOf(t,a);return o}n.d(t,{J:function(){return r}})},24557:function(e,t,n){"use strict";n.d(t,{Z:function(){return ed}});var r={};n.r(r),n.d(r,{boolean:function(){return c},booleanish:function(){return u},commaOrSpaceSeparated:function(){return m},commaSeparated:function(){return h},number:function(){return p},overloadedBoolean:function(){return d},spaceSeparated:function(){return f}});class a{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function i(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new a(n,r,t)}function o(e){return e.toLowerCase()}a.prototype.normal={},a.prototype.property={},a.prototype.space=void 0;class s{constructor(e,t){this.attribute=t,this.property=e}}s.prototype.attribute="",s.prototype.booleanish=!1,s.prototype.boolean=!1,s.prototype.commaOrSpaceSeparated=!1,s.prototype.commaSeparated=!1,s.prototype.defined=!1,s.prototype.mustUseProperty=!1,s.prototype.number=!1,s.prototype.overloadedBoolean=!1,s.prototype.property="",s.prototype.spaceSeparated=!1,s.prototype.space=void 0;let l=0,c=g(),u=g(),d=g(),p=g(),f=g(),h=g(),m=g();function g(){return 2**++l}let b=Object.keys(r);class y extends s{constructor(e,t,n,a){var i,o;let s=-1;if(super(e,t),a&&(this.space=a),"number"==typeof n)for(;++s"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function T(e,t){return t in e?e[t]:t}function S(e,t){return T(e,t.toLowerCase())}let A=E({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:h,acceptCharset:f,accessKey:f,action:null,allow:null,allowFullScreen:c,allowPaymentRequest:c,allowUserMedia:c,alt:null,as:null,async:c,autoCapitalize:null,autoComplete:f,autoFocus:c,autoPlay:c,blocking:f,capture:null,charSet:null,checked:c,cite:null,className:f,cols:p,colSpan:null,content:null,contentEditable:u,controls:c,controlsList:f,coords:p|h,crossOrigin:null,data:null,dateTime:null,decoding:null,default:c,defer:c,dir:null,dirName:null,disabled:c,download:d,draggable:u,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:c,formTarget:null,headers:f,height:p,hidden:c,high:p,href:null,hrefLang:null,htmlFor:f,httpEquiv:f,id:null,imageSizes:null,imageSrcSet:null,inert:c,inputMode:null,integrity:null,is:null,isMap:c,itemId:null,itemProp:f,itemRef:f,itemScope:c,itemType:f,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:c,low:p,manifest:null,max:null,maxLength:p,media:null,method:null,min:null,minLength:p,multiple:c,muted:c,name:null,nonce:null,noModule:c,noValidate:c,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored: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,onScrollEnd: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:c,optimum:p,pattern:null,ping:f,placeholder:null,playsInline:c,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:c,referrerPolicy:null,rel:f,required:c,reversed:c,rows:p,rowSpan:p,sandbox:f,scope:null,scoped:c,seamless:c,selected:c,shadowRootClonable:c,shadowRootDelegatesFocus:c,shadowRootMode:null,shape:null,size:p,sizes:null,slot:null,span:p,spellCheck:u,src:null,srcDoc:null,srcLang:null,srcSet:null,start:p,step:null,style:null,tabIndex:p,target:null,title:null,translate:null,type:null,typeMustMatch:c,useMap:null,value:u,width:p,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:f,axis:null,background:null,bgColor:null,border:p,borderColor:null,bottomMargin:p,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:c,declare:c,event:null,face:null,frame:null,frameBorder:null,hSpace:p,leftMargin:p,link:null,longDesc:null,lowSrc:null,marginHeight:p,marginWidth:p,noResize:c,noHref:c,noShade:c,noWrap:c,object:null,profile:null,prompt:null,rev:null,rightMargin:p,rules:null,scheme:null,scrolling:u,standby:null,summary:null,text:null,topMargin:p,valueType:null,version:null,vAlign:null,vLink:null,vSpace:p,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:c,disableRemotePlayback:c,prefix:null,property:null,results:p,security:null,unselectable:null},space:"html",transform:S}),O=E({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:m,accentHeight:p,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:p,amplitude:p,arabicForm:null,ascent:p,attributeName:null,attributeType:null,azimuth:p,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:p,by:null,calcMode:null,capHeight:p,className:f,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:p,diffuseConstant:p,direction:null,display:null,dur:null,divisor:p,dominantBaseline:null,download:c,dx:null,dy:null,edgeMode:null,editable:null,elevation:p,enableBackground:null,end:null,event:null,exponent:p,externalResourcesRequired:null,fill:null,fillOpacity:p,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:h,g2:h,glyphName:h,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:p,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:p,horizOriginX:p,horizOriginY:p,id:null,ideographic:p,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:p,k:p,k1:p,k2:p,k3:p,k4:p,kernelMatrix:m,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:p,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:p,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose: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,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:p,overlineThickness:p,paintOrder:null,panose1:null,path:null,pathLength:p,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:f,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:p,pointsAtY:p,pointsAtZ:p,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:m,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:m,rev:m,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:m,requiredFeatures:m,requiredFonts:m,requiredFormats:m,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:p,specularExponent:p,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:p,strikethroughThickness:p,string:null,stroke:null,strokeDashArray:m,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:p,strokeOpacity:p,strokeWidth:null,style:null,surfaceScale:p,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:m,tabIndex:p,tableValues:null,target:null,targetX:p,targetY:p,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:m,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:p,underlineThickness:p,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:p,values:null,vAlphabetic:p,vMathematical:p,vectorEffect:null,vHanging:p,vIdeographic:p,version:null,vertAdvY:p,vertOriginX:p,vertOriginY:p,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:p,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:T}),_=E({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),k=E({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:S}),x=E({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),C=i([v,A,_,k,x],"html"),w=i([v,O,_,k,x],"svg");var I=n(25668),R=n(86676);let N=/[A-Z]/g,L=/-[a-z]/g,D=/^data[-\w.:]+$/i;function P(e){return"-"+e.toLowerCase()}function M(e){return e.charAt(1).toUpperCase()}var F=n(50342);function B(e,t,n){let r=n?function(e){let t=new Map;for(let n of e)t.set(n.toLowerCase(),n);return t}(n):void 0;return function(n,a,...i){let l;if(null==n)l={type:"root",children:[]},i.unshift(a);else{l=(0,R.r)(n,t);let c=l.tagName.toLowerCase(),u=r?r.get(c):void 0;if(l.tagName=u||c,function(e){if(null===e||"object"!=typeof e||Array.isArray(e))return!0;if("string"!=typeof e.type)return!1;let t=Object.keys(e);for(let n of t){let t=e[n];if(t&&"object"==typeof t){if(!Array.isArray(t))return!0;for(let e of t)if("number"!=typeof e&&"string"!=typeof e)return!0}}return!!("children"in e&&Array.isArray(e.children))}(a))i.unshift(a);else for(let[t,n]of Object.entries(a))!function(e,t,n,r){let a;let i=function(e,t){let n=o(t),r=t,a=s;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&D.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(L,M);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!L.test(e)){let n=e.replace(N,P);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}a=y}return new a(r,t)}(e,n);if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;a=r}else a="boolean"==typeof r?r:"string"==typeof r?i.spaceSeparated?(0,F.Q)(r):i.commaSeparated?(0,I.Q)(r):i.commaOrSpaceSeparated?(0,F.Q)((0,I.Q)(r).join(" ")):j(i,i.property,r):Array.isArray(r)?[...r]:"style"===i.property?function(e){let t=[];for(let[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}(r):String(r);if(Array.isArray(a)){let e=[];for(let t of a)e.push(j(i,i.property,t));a=e}"className"===i.property&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}(e,l.properties,t,n)}for(let e of i)!function e(t,n){if(null==n);else if("number"==typeof n||"string"==typeof n)t.push({type:"text",value:String(n)});else if(Array.isArray(n))for(let r of n)e(t,r);else if("object"==typeof n&&"type"in n)"root"===n.type?e(t,n.children):t.push(n);else throw Error("Expected node, nodes, or string, got `"+n+"`")}(l.children,e);return"element"===l.type&&"template"===l.tagName&&(l.content={type:"root",children:l.children},l.children=[]),l}}function j(e,t,n){if("string"==typeof n){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(""===n||o(n)===o(t)))return!0}return n}let U=B(C,"div"),G=B(w,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]);var H=n(49911);function $(e,t){let n=function(e,t){switch(e.nodeType){case 1:return function(e,t){let n=e.namespaceURI,r=n===H.t.svg?G:U,a=n===H.t.html?e.tagName.toLowerCase():e.tagName,i=n===H.t.html&&"template"===a?e.content:e,o=e.getAttributeNames(),s={},l=-1;for(;++ln&&(n=e):e&&(void 0!==n&&n>-1&&l.push("\n".repeat(n)||" "),n=-1,l.push(e))}return l.join("")}(d,{whitespace:"pre"});try{a=es.ZP.renderToString(p,{...t,displayMode:c,throwOnError:!0})}catch(o){let i=o.name.toLowerCase();n.message("Could not render math with KaTeX",{ancestors:[...r,e],cause:o,place:e.position,ruleId:i,source:"rehype-katex"});try{a=es.ZP.renderToString(p,{...t,displayMode:c,strict:"ignore",throwOnError:!1})}catch{a=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(o)},children:[{type:"text",value:p}]}]}}if("string"==typeof a){let e=function(e,t){let n=t?.fragment?function(e){let t=document.createElement("template");return t.innerHTML=e,t.content}(e):Z.parseFromString(e,"text/html");return $(n,{})||{type:"root",children:[]}}(a,{fragment:!0});a=e.children}let f=u.children.indexOf(d);return u.children.splice(f,1,...a),el.AM})}}},12384:function(e,t,n){"use strict";n.d(t,{Z:function(){return tJ}});var r,a,i,o,s,l,c,u,d,p,f,h,m,g,b,y,E,v,T,S,A,O,_=n(52835),k=n(24345),x=n(91634),C=n(25668),w=n(86676),I=n(26103),R=n(28051),N=n(50342);let L=new Set(["button","menu","reset","submit"]),D={}.hasOwnProperty;function P(e,t,n){let r=n&&function(e){let t={},n=-1;for(;++n1?n[e.line-2]:0)+e.column-1;if(r-1&&e<=t.length){let r=0;for(;;){let a=n[r];if(void 0===a){let e=j(t,n[r-1]);a=-1===e?t.length+1:e+1,n[r]=a}if(a>e)return{line:r+1,column:e-(r>0?n[r-1]:0)+1,offset:e};r++}}}}}(t),a=r.toPoint(0),i=r.toPoint(t.length);(0,k.ok)(a,"expected `start`"),(0,k.ok)(i,"expected `end`"),n.position={start:a,end:i}}return n}case"#documentType":return Z(e,t,n={type:"doctype"}),n;case"#text":return n={type:"text",value:t.value},Z(e,t,n),n;default:return function(e,t){let n=e.schema;e.schema=t.namespaceURI===U.t.svg?x.YP:x.dy;let r=-1,a={};for(;++r=55296&&e<=57343}function ei(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function eo(e){return e>=64976&&e<=65007||en.has(e)}(a=m=m||(m={})).controlCharacterInInputStream="control-character-in-input-stream",a.noncharacterInInputStream="noncharacter-in-input-stream",a.surrogateInInputStream="surrogate-in-input-stream",a.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",a.endTagWithAttributes="end-tag-with-attributes",a.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",a.unexpectedSolidusInTag="unexpected-solidus-in-tag",a.unexpectedNullCharacter="unexpected-null-character",a.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",a.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",a.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",a.missingEndTagName="missing-end-tag-name",a.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",a.unknownNamedCharacterReference="unknown-named-character-reference",a.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",a.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",a.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",a.eofBeforeTagName="eof-before-tag-name",a.eofInTag="eof-in-tag",a.missingAttributeValue="missing-attribute-value",a.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",a.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",a.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",a.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",a.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",a.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",a.missingDoctypePublicIdentifier="missing-doctype-public-identifier",a.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",a.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",a.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",a.cdataInHtmlContent="cdata-in-html-content",a.incorrectlyOpenedComment="incorrectly-opened-comment",a.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",a.eofInDoctype="eof-in-doctype",a.nestedComment="nested-comment",a.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",a.eofInComment="eof-in-comment",a.incorrectlyClosedComment="incorrectly-closed-comment",a.eofInCdata="eof-in-cdata",a.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",a.nullCharacterReference="null-character-reference",a.surrogateCharacterReference="surrogate-character-reference",a.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",a.controlCharacterReference="control-character-reference",a.noncharacterCharacterReference="noncharacter-character-reference",a.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",a.missingDoctypeName="missing-doctype-name",a.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",a.duplicateAttribute="duplicate-attribute",a.nonConformingDoctype="non-conforming-doctype",a.missingDoctype="missing-doctype",a.misplacedDoctype="misplaced-doctype",a.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",a.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",a.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",a.openElementsLeftAfterEof="open-elements-left-after-eof",a.abandonedHeadElementChild="abandoned-head-element-child",a.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",a.nestedNoscriptInHead="nested-noscript-in-head",a.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text";class es{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e){let{line:t,col:n,offset:r}=this;return{code:e,startLine:t,endLine:t,startCol:n,endCol:n,startOffset:r,endOffset:r}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let t=this.html.charCodeAt(this.pos+1);if(t>=56320&&t<=57343)return this.pos++,this._addGap(),(e-55296)*1024+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,h.EOF;return this._err(m.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,h.EOF;let n=this.html.charCodeAt(t);return n===h.CARRIAGE_RETURN?h.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,h.EOF;let e=this.html.charCodeAt(this.pos);if(e===h.CARRIAGE_RETURN)return this.isEol=!0,this.skipNextNewLine=!0,h.LINE_FEED;if(e===h.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine))return this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance();this.skipNextNewLine=!1,ea(e)&&(e=this._processSurrogate(e));let t=null===this.handler.onParseError||e>31&&e<127||e===h.LINE_FEED||e===h.CARRIAGE_RETURN||e>159&&e<64976;return t||this._checkForProblematicCharacters(e),e}_checkForProblematicCharacters(e){ei(e)?this._err(m.controlCharacterInInputStream):eo(e)&&this._err(m.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}(i=g=g||(g={}))[i.CHARACTER=0]="CHARACTER",i[i.NULL_CHARACTER=1]="NULL_CHARACTER",i[i.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",i[i.START_TAG=3]="START_TAG",i[i.END_TAG=4]="END_TAG",i[i.COMMENT=5]="COMMENT",i[i.DOCTYPE=6]="DOCTYPE",i[i.EOF=7]="EOF",i[i.HIBERNATION=8]="HIBERNATION";var ec=n(60411);(o=b=b||(b={})).HTML="http://www.w3.org/1999/xhtml",o.MATHML="http://www.w3.org/1998/Math/MathML",o.SVG="http://www.w3.org/2000/svg",o.XLINK="http://www.w3.org/1999/xlink",o.XML="http://www.w3.org/XML/1998/namespace",o.XMLNS="http://www.w3.org/2000/xmlns/",(s=y=y||(y={})).TYPE="type",s.ACTION="action",s.ENCODING="encoding",s.PROMPT="prompt",s.NAME="name",s.COLOR="color",s.FACE="face",s.SIZE="size",(l=E=E||(E={})).NO_QUIRKS="no-quirks",l.QUIRKS="quirks",l.LIMITED_QUIRKS="limited-quirks",(c=v=v||(v={})).A="a",c.ADDRESS="address",c.ANNOTATION_XML="annotation-xml",c.APPLET="applet",c.AREA="area",c.ARTICLE="article",c.ASIDE="aside",c.B="b",c.BASE="base",c.BASEFONT="basefont",c.BGSOUND="bgsound",c.BIG="big",c.BLOCKQUOTE="blockquote",c.BODY="body",c.BR="br",c.BUTTON="button",c.CAPTION="caption",c.CENTER="center",c.CODE="code",c.COL="col",c.COLGROUP="colgroup",c.DD="dd",c.DESC="desc",c.DETAILS="details",c.DIALOG="dialog",c.DIR="dir",c.DIV="div",c.DL="dl",c.DT="dt",c.EM="em",c.EMBED="embed",c.FIELDSET="fieldset",c.FIGCAPTION="figcaption",c.FIGURE="figure",c.FONT="font",c.FOOTER="footer",c.FOREIGN_OBJECT="foreignObject",c.FORM="form",c.FRAME="frame",c.FRAMESET="frameset",c.H1="h1",c.H2="h2",c.H3="h3",c.H4="h4",c.H5="h5",c.H6="h6",c.HEAD="head",c.HEADER="header",c.HGROUP="hgroup",c.HR="hr",c.HTML="html",c.I="i",c.IMG="img",c.IMAGE="image",c.INPUT="input",c.IFRAME="iframe",c.KEYGEN="keygen",c.LABEL="label",c.LI="li",c.LINK="link",c.LISTING="listing",c.MAIN="main",c.MALIGNMARK="malignmark",c.MARQUEE="marquee",c.MATH="math",c.MENU="menu",c.META="meta",c.MGLYPH="mglyph",c.MI="mi",c.MO="mo",c.MN="mn",c.MS="ms",c.MTEXT="mtext",c.NAV="nav",c.NOBR="nobr",c.NOFRAMES="noframes",c.NOEMBED="noembed",c.NOSCRIPT="noscript",c.OBJECT="object",c.OL="ol",c.OPTGROUP="optgroup",c.OPTION="option",c.P="p",c.PARAM="param",c.PLAINTEXT="plaintext",c.PRE="pre",c.RB="rb",c.RP="rp",c.RT="rt",c.RTC="rtc",c.RUBY="ruby",c.S="s",c.SCRIPT="script",c.SECTION="section",c.SELECT="select",c.SOURCE="source",c.SMALL="small",c.SPAN="span",c.STRIKE="strike",c.STRONG="strong",c.STYLE="style",c.SUB="sub",c.SUMMARY="summary",c.SUP="sup",c.TABLE="table",c.TBODY="tbody",c.TEMPLATE="template",c.TEXTAREA="textarea",c.TFOOT="tfoot",c.TD="td",c.TH="th",c.THEAD="thead",c.TITLE="title",c.TR="tr",c.TRACK="track",c.TT="tt",c.U="u",c.UL="ul",c.SVG="svg",c.VAR="var",c.WBR="wbr",c.XMP="xmp",(u=T=T||(T={}))[u.UNKNOWN=0]="UNKNOWN",u[u.A=1]="A",u[u.ADDRESS=2]="ADDRESS",u[u.ANNOTATION_XML=3]="ANNOTATION_XML",u[u.APPLET=4]="APPLET",u[u.AREA=5]="AREA",u[u.ARTICLE=6]="ARTICLE",u[u.ASIDE=7]="ASIDE",u[u.B=8]="B",u[u.BASE=9]="BASE",u[u.BASEFONT=10]="BASEFONT",u[u.BGSOUND=11]="BGSOUND",u[u.BIG=12]="BIG",u[u.BLOCKQUOTE=13]="BLOCKQUOTE",u[u.BODY=14]="BODY",u[u.BR=15]="BR",u[u.BUTTON=16]="BUTTON",u[u.CAPTION=17]="CAPTION",u[u.CENTER=18]="CENTER",u[u.CODE=19]="CODE",u[u.COL=20]="COL",u[u.COLGROUP=21]="COLGROUP",u[u.DD=22]="DD",u[u.DESC=23]="DESC",u[u.DETAILS=24]="DETAILS",u[u.DIALOG=25]="DIALOG",u[u.DIR=26]="DIR",u[u.DIV=27]="DIV",u[u.DL=28]="DL",u[u.DT=29]="DT",u[u.EM=30]="EM",u[u.EMBED=31]="EMBED",u[u.FIELDSET=32]="FIELDSET",u[u.FIGCAPTION=33]="FIGCAPTION",u[u.FIGURE=34]="FIGURE",u[u.FONT=35]="FONT",u[u.FOOTER=36]="FOOTER",u[u.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",u[u.FORM=38]="FORM",u[u.FRAME=39]="FRAME",u[u.FRAMESET=40]="FRAMESET",u[u.H1=41]="H1",u[u.H2=42]="H2",u[u.H3=43]="H3",u[u.H4=44]="H4",u[u.H5=45]="H5",u[u.H6=46]="H6",u[u.HEAD=47]="HEAD",u[u.HEADER=48]="HEADER",u[u.HGROUP=49]="HGROUP",u[u.HR=50]="HR",u[u.HTML=51]="HTML",u[u.I=52]="I",u[u.IMG=53]="IMG",u[u.IMAGE=54]="IMAGE",u[u.INPUT=55]="INPUT",u[u.IFRAME=56]="IFRAME",u[u.KEYGEN=57]="KEYGEN",u[u.LABEL=58]="LABEL",u[u.LI=59]="LI",u[u.LINK=60]="LINK",u[u.LISTING=61]="LISTING",u[u.MAIN=62]="MAIN",u[u.MALIGNMARK=63]="MALIGNMARK",u[u.MARQUEE=64]="MARQUEE",u[u.MATH=65]="MATH",u[u.MENU=66]="MENU",u[u.META=67]="META",u[u.MGLYPH=68]="MGLYPH",u[u.MI=69]="MI",u[u.MO=70]="MO",u[u.MN=71]="MN",u[u.MS=72]="MS",u[u.MTEXT=73]="MTEXT",u[u.NAV=74]="NAV",u[u.NOBR=75]="NOBR",u[u.NOFRAMES=76]="NOFRAMES",u[u.NOEMBED=77]="NOEMBED",u[u.NOSCRIPT=78]="NOSCRIPT",u[u.OBJECT=79]="OBJECT",u[u.OL=80]="OL",u[u.OPTGROUP=81]="OPTGROUP",u[u.OPTION=82]="OPTION",u[u.P=83]="P",u[u.PARAM=84]="PARAM",u[u.PLAINTEXT=85]="PLAINTEXT",u[u.PRE=86]="PRE",u[u.RB=87]="RB",u[u.RP=88]="RP",u[u.RT=89]="RT",u[u.RTC=90]="RTC",u[u.RUBY=91]="RUBY",u[u.S=92]="S",u[u.SCRIPT=93]="SCRIPT",u[u.SECTION=94]="SECTION",u[u.SELECT=95]="SELECT",u[u.SOURCE=96]="SOURCE",u[u.SMALL=97]="SMALL",u[u.SPAN=98]="SPAN",u[u.STRIKE=99]="STRIKE",u[u.STRONG=100]="STRONG",u[u.STYLE=101]="STYLE",u[u.SUB=102]="SUB",u[u.SUMMARY=103]="SUMMARY",u[u.SUP=104]="SUP",u[u.TABLE=105]="TABLE",u[u.TBODY=106]="TBODY",u[u.TEMPLATE=107]="TEMPLATE",u[u.TEXTAREA=108]="TEXTAREA",u[u.TFOOT=109]="TFOOT",u[u.TD=110]="TD",u[u.TH=111]="TH",u[u.THEAD=112]="THEAD",u[u.TITLE=113]="TITLE",u[u.TR=114]="TR",u[u.TRACK=115]="TRACK",u[u.TT=116]="TT",u[u.U=117]="U",u[u.UL=118]="UL",u[u.SVG=119]="SVG",u[u.VAR=120]="VAR",u[u.WBR=121]="WBR",u[u.XMP=122]="XMP";let eu=new Map([[v.A,T.A],[v.ADDRESS,T.ADDRESS],[v.ANNOTATION_XML,T.ANNOTATION_XML],[v.APPLET,T.APPLET],[v.AREA,T.AREA],[v.ARTICLE,T.ARTICLE],[v.ASIDE,T.ASIDE],[v.B,T.B],[v.BASE,T.BASE],[v.BASEFONT,T.BASEFONT],[v.BGSOUND,T.BGSOUND],[v.BIG,T.BIG],[v.BLOCKQUOTE,T.BLOCKQUOTE],[v.BODY,T.BODY],[v.BR,T.BR],[v.BUTTON,T.BUTTON],[v.CAPTION,T.CAPTION],[v.CENTER,T.CENTER],[v.CODE,T.CODE],[v.COL,T.COL],[v.COLGROUP,T.COLGROUP],[v.DD,T.DD],[v.DESC,T.DESC],[v.DETAILS,T.DETAILS],[v.DIALOG,T.DIALOG],[v.DIR,T.DIR],[v.DIV,T.DIV],[v.DL,T.DL],[v.DT,T.DT],[v.EM,T.EM],[v.EMBED,T.EMBED],[v.FIELDSET,T.FIELDSET],[v.FIGCAPTION,T.FIGCAPTION],[v.FIGURE,T.FIGURE],[v.FONT,T.FONT],[v.FOOTER,T.FOOTER],[v.FOREIGN_OBJECT,T.FOREIGN_OBJECT],[v.FORM,T.FORM],[v.FRAME,T.FRAME],[v.FRAMESET,T.FRAMESET],[v.H1,T.H1],[v.H2,T.H2],[v.H3,T.H3],[v.H4,T.H4],[v.H5,T.H5],[v.H6,T.H6],[v.HEAD,T.HEAD],[v.HEADER,T.HEADER],[v.HGROUP,T.HGROUP],[v.HR,T.HR],[v.HTML,T.HTML],[v.I,T.I],[v.IMG,T.IMG],[v.IMAGE,T.IMAGE],[v.INPUT,T.INPUT],[v.IFRAME,T.IFRAME],[v.KEYGEN,T.KEYGEN],[v.LABEL,T.LABEL],[v.LI,T.LI],[v.LINK,T.LINK],[v.LISTING,T.LISTING],[v.MAIN,T.MAIN],[v.MALIGNMARK,T.MALIGNMARK],[v.MARQUEE,T.MARQUEE],[v.MATH,T.MATH],[v.MENU,T.MENU],[v.META,T.META],[v.MGLYPH,T.MGLYPH],[v.MI,T.MI],[v.MO,T.MO],[v.MN,T.MN],[v.MS,T.MS],[v.MTEXT,T.MTEXT],[v.NAV,T.NAV],[v.NOBR,T.NOBR],[v.NOFRAMES,T.NOFRAMES],[v.NOEMBED,T.NOEMBED],[v.NOSCRIPT,T.NOSCRIPT],[v.OBJECT,T.OBJECT],[v.OL,T.OL],[v.OPTGROUP,T.OPTGROUP],[v.OPTION,T.OPTION],[v.P,T.P],[v.PARAM,T.PARAM],[v.PLAINTEXT,T.PLAINTEXT],[v.PRE,T.PRE],[v.RB,T.RB],[v.RP,T.RP],[v.RT,T.RT],[v.RTC,T.RTC],[v.RUBY,T.RUBY],[v.S,T.S],[v.SCRIPT,T.SCRIPT],[v.SECTION,T.SECTION],[v.SELECT,T.SELECT],[v.SOURCE,T.SOURCE],[v.SMALL,T.SMALL],[v.SPAN,T.SPAN],[v.STRIKE,T.STRIKE],[v.STRONG,T.STRONG],[v.STYLE,T.STYLE],[v.SUB,T.SUB],[v.SUMMARY,T.SUMMARY],[v.SUP,T.SUP],[v.TABLE,T.TABLE],[v.TBODY,T.TBODY],[v.TEMPLATE,T.TEMPLATE],[v.TEXTAREA,T.TEXTAREA],[v.TFOOT,T.TFOOT],[v.TD,T.TD],[v.TH,T.TH],[v.THEAD,T.THEAD],[v.TITLE,T.TITLE],[v.TR,T.TR],[v.TRACK,T.TRACK],[v.TT,T.TT],[v.U,T.U],[v.UL,T.UL],[v.SVG,T.SVG],[v.VAR,T.VAR],[v.WBR,T.WBR],[v.XMP,T.XMP]]);function ed(e){var t;return null!==(t=eu.get(e))&&void 0!==t?t:T.UNKNOWN}let ep=T,ef={[b.HTML]:new Set([ep.ADDRESS,ep.APPLET,ep.AREA,ep.ARTICLE,ep.ASIDE,ep.BASE,ep.BASEFONT,ep.BGSOUND,ep.BLOCKQUOTE,ep.BODY,ep.BR,ep.BUTTON,ep.CAPTION,ep.CENTER,ep.COL,ep.COLGROUP,ep.DD,ep.DETAILS,ep.DIR,ep.DIV,ep.DL,ep.DT,ep.EMBED,ep.FIELDSET,ep.FIGCAPTION,ep.FIGURE,ep.FOOTER,ep.FORM,ep.FRAME,ep.FRAMESET,ep.H1,ep.H2,ep.H3,ep.H4,ep.H5,ep.H6,ep.HEAD,ep.HEADER,ep.HGROUP,ep.HR,ep.HTML,ep.IFRAME,ep.IMG,ep.INPUT,ep.LI,ep.LINK,ep.LISTING,ep.MAIN,ep.MARQUEE,ep.MENU,ep.META,ep.NAV,ep.NOEMBED,ep.NOFRAMES,ep.NOSCRIPT,ep.OBJECT,ep.OL,ep.P,ep.PARAM,ep.PLAINTEXT,ep.PRE,ep.SCRIPT,ep.SECTION,ep.SELECT,ep.SOURCE,ep.STYLE,ep.SUMMARY,ep.TABLE,ep.TBODY,ep.TD,ep.TEMPLATE,ep.TEXTAREA,ep.TFOOT,ep.TH,ep.THEAD,ep.TITLE,ep.TR,ep.TRACK,ep.UL,ep.WBR,ep.XMP]),[b.MATHML]:new Set([ep.MI,ep.MO,ep.MN,ep.MS,ep.MTEXT,ep.ANNOTATION_XML]),[b.SVG]:new Set([ep.TITLE,ep.FOREIGN_OBJECT,ep.DESC]),[b.XLINK]:new Set,[b.XML]:new Set,[b.XMLNS]:new Set};function eh(e){return e===ep.H1||e===ep.H2||e===ep.H3||e===ep.H4||e===ep.H5||e===ep.H6}v.STYLE,v.SCRIPT,v.XMP,v.IFRAME,v.NOEMBED,v.NOFRAMES,v.PLAINTEXT;let em=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);(d=S||(S={}))[d.DATA=0]="DATA",d[d.RCDATA=1]="RCDATA",d[d.RAWTEXT=2]="RAWTEXT",d[d.SCRIPT_DATA=3]="SCRIPT_DATA",d[d.PLAINTEXT=4]="PLAINTEXT",d[d.TAG_OPEN=5]="TAG_OPEN",d[d.END_TAG_OPEN=6]="END_TAG_OPEN",d[d.TAG_NAME=7]="TAG_NAME",d[d.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",d[d.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",d[d.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",d[d.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",d[d.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",d[d.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",d[d.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",d[d.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",d[d.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",d[d.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",d[d.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",d[d.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",d[d.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",d[d.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",d[d.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",d[d.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",d[d.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",d[d.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",d[d.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",d[d.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",d[d.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",d[d.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",d[d.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",d[d.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",d[d.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",d[d.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",d[d.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",d[d.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",d[d.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",d[d.BOGUS_COMMENT=40]="BOGUS_COMMENT",d[d.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",d[d.COMMENT_START=42]="COMMENT_START",d[d.COMMENT_START_DASH=43]="COMMENT_START_DASH",d[d.COMMENT=44]="COMMENT",d[d.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",d[d.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",d[d.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",d[d.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",d[d.COMMENT_END_DASH=49]="COMMENT_END_DASH",d[d.COMMENT_END=50]="COMMENT_END",d[d.COMMENT_END_BANG=51]="COMMENT_END_BANG",d[d.DOCTYPE=52]="DOCTYPE",d[d.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",d[d.DOCTYPE_NAME=54]="DOCTYPE_NAME",d[d.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",d[d.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",d[d.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",d[d.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",d[d.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",d[d.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",d[d.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",d[d.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",d[d.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",d[d.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",d[d.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",d[d.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",d[d.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",d[d.CDATA_SECTION=68]="CDATA_SECTION",d[d.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",d[d.CDATA_SECTION_END=70]="CDATA_SECTION_END",d[d.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",d[d.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",d[d.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",d[d.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",d[d.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",d[d.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",d[d.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",d[d.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END";let eg={DATA:S.DATA,RCDATA:S.RCDATA,RAWTEXT:S.RAWTEXT,SCRIPT_DATA:S.SCRIPT_DATA,PLAINTEXT:S.PLAINTEXT,CDATA_SECTION:S.CDATA_SECTION};function eb(e){return e>=h.DIGIT_0&&e<=h.DIGIT_9}function ey(e){return e>=h.LATIN_CAPITAL_A&&e<=h.LATIN_CAPITAL_Z}function eE(e){return e>=h.LATIN_SMALL_A&&e<=h.LATIN_SMALL_Z||ey(e)}function ev(e){return eE(e)||eb(e)}function eT(e){return e>=h.LATIN_CAPITAL_A&&e<=h.LATIN_CAPITAL_F}function eS(e){return e>=h.LATIN_SMALL_A&&e<=h.LATIN_SMALL_F}function eA(e){return e===h.SPACE||e===h.LINE_FEED||e===h.TABULATION||e===h.FORM_FEED}function eO(e){return eA(e)||e===h.SOLIDUS||e===h.GREATER_THAN_SIGN}class e_{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=S.DATA,this.returnState=S.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new es(t),this.currentLocation=this.getCurrentLocation(-1)}_err(e){var t,n;null===(n=(t=this.handler).onParseError)||void 0===n||n.call(t,this.preprocessor.getError(e))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw Error("Parser was already resumed");this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(e){this.consumedAfterSnapshot-=e,this.preprocessor.retreat(e)}_reconsumeInState(e,t){this.state=e,this._callState(t)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t0&&this._err(m.endTagWithAttributes),e.selfClosing&&this._err(m.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case g.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case g.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case g.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:g.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type!==e)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=t;return}}this._createCharacterToken(e,t)}_emitCodePoint(e){let t=eA(e)?g.WHITESPACE_CHARACTER:e===h.NULL?g.NULL_CHARACTER:g.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(g.CHARACTER,e)}_matchNamedCharacterReference(e){let t=null,n=0,r=!1;for(let i=0,o=ec.HP[0];i>=0&&!((i=(0,ec.Go)(ec.HP,o,i+1,e))<0);e=this._consume()){n+=1,o=ec.HP[i];let s=o&ec.ge.VALUE_LENGTH;if(s){var a;let o=(s>>14)-1;if(e!==h.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((a=this.preprocessor.peek(1))===h.EQUALS_SIGN||ev(a))?(t=[h.AMPERSAND],i+=o):(t=0===o?[ec.HP[i]&~ec.ge.VALUE_LENGTH]:1===o?[ec.HP[++i]]:[ec.HP[++i],ec.HP[++i]],n=0,r=e!==h.SEMICOLON),0===o){this._consume();break}}}return this._unconsume(n),r&&!this.preprocessor.endOfChunkHit&&this._err(m.missingSemicolonAfterCharacterReference),this._unconsume(1),t}_isCharacterReferenceInAttribute(){return this.returnState===S.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case S.DATA:this._stateData(e);break;case S.RCDATA:this._stateRcdata(e);break;case S.RAWTEXT:this._stateRawtext(e);break;case S.SCRIPT_DATA:this._stateScriptData(e);break;case S.PLAINTEXT:this._statePlaintext(e);break;case S.TAG_OPEN:this._stateTagOpen(e);break;case S.END_TAG_OPEN:this._stateEndTagOpen(e);break;case S.TAG_NAME:this._stateTagName(e);break;case S.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case S.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case S.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case S.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case S.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case S.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case S.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case S.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case S.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case S.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case S.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case S.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case S.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case S.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case S.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case S.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case S.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case S.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case S.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case S.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case S.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case S.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case S.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case S.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case S.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case S.BOGUS_COMMENT:this._stateBogusComment(e);break;case S.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case S.COMMENT_START:this._stateCommentStart(e);break;case S.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case S.COMMENT:this._stateComment(e);break;case S.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case S.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case S.COMMENT_END:this._stateCommentEnd(e);break;case S.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case S.DOCTYPE:this._stateDoctype(e);break;case S.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case S.DOCTYPE_NAME:this._stateDoctypeName(e);break;case S.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case S.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case S.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case S.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case S.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case S.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case S.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case S.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case S.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case S.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case S.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case S.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case S.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case S.CDATA_SECTION:this._stateCdataSection(e);break;case S.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case S.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case S.CHARACTER_REFERENCE:this._stateCharacterReference(e);break;case S.NAMED_CHARACTER_REFERENCE:this._stateNamedCharacterReference(e);break;case S.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;case S.NUMERIC_CHARACTER_REFERENCE:this._stateNumericCharacterReference(e);break;case S.HEXADEMICAL_CHARACTER_REFERENCE_START:this._stateHexademicalCharacterReferenceStart(e);break;case S.HEXADEMICAL_CHARACTER_REFERENCE:this._stateHexademicalCharacterReference(e);break;case S.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(e);break;case S.NUMERIC_CHARACTER_REFERENCE_END:this._stateNumericCharacterReferenceEnd(e);break;default:throw Error("Unknown state")}}_stateData(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.TAG_OPEN;break;case h.AMPERSAND:this.returnState=S.DATA,this.state=S.CHARACTER_REFERENCE;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitCodePoint(e);break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case h.AMPERSAND:this.returnState=S.RCDATA,this.state=S.CHARACTER_REFERENCE;break;case h.LESS_THAN_SIGN:this.state=S.RCDATA_LESS_THAN_SIGN;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.RAWTEXT_LESS_THAN_SIGN;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.SCRIPT_DATA_LESS_THAN_SIGN;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(eE(e))this._createStartTagToken(),this.state=S.TAG_NAME,this._stateTagName(e);else switch(e){case h.EXCLAMATION_MARK:this.state=S.MARKUP_DECLARATION_OPEN;break;case h.SOLIDUS:this.state=S.END_TAG_OPEN;break;case h.QUESTION_MARK:this._err(m.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=S.BOGUS_COMMENT,this._stateBogusComment(e);break;case h.EOF:this._err(m.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(m.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=S.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(eE(e))this._createEndTagToken(),this.state=S.TAG_NAME,this._stateTagName(e);else switch(e){case h.GREATER_THAN_SIGN:this._err(m.missingEndTagName),this.state=S.DATA;break;case h.EOF:this._err(m.eofBeforeTagName),this._emitChars("");break;case h.NULL:this._err(m.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case h.EOF:this._err(m.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===h.SOLIDUS?this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:eE(e)?(this._emitChars("<"),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=S.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){eE(e)?(this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("");break;case h.NULL:this._err(m.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case h.EOF:this._err(m.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===h.SOLIDUS?(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(er.SCRIPT,!1)&&eO(this.preprocessor.peek(er.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e1114111)this._err(m.characterReferenceOutsideUnicodeRange),this.charRefCode=h.REPLACEMENT_CHARACTER;else if(ea(this.charRefCode))this._err(m.surrogateCharacterReference),this.charRefCode=h.REPLACEMENT_CHARACTER;else if(eo(this.charRefCode))this._err(m.noncharacterCharacterReference);else if(ei(this.charRefCode)||this.charRefCode===h.CARRIAGE_RETURN){this._err(m.controlCharacterReference);let e=em.get(this.charRefCode);void 0!==e&&(this.charRefCode=e)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}}let ek=new Set([T.DD,T.DT,T.LI,T.OPTGROUP,T.OPTION,T.P,T.RB,T.RP,T.RT,T.RTC]),ex=new Set([...ek,T.CAPTION,T.COLGROUP,T.TBODY,T.TD,T.TFOOT,T.TH,T.THEAD,T.TR]),eC=new Map([[T.APPLET,b.HTML],[T.CAPTION,b.HTML],[T.HTML,b.HTML],[T.MARQUEE,b.HTML],[T.OBJECT,b.HTML],[T.TABLE,b.HTML],[T.TD,b.HTML],[T.TEMPLATE,b.HTML],[T.TH,b.HTML],[T.ANNOTATION_XML,b.MATHML],[T.MI,b.MATHML],[T.MN,b.MATHML],[T.MO,b.MATHML],[T.MS,b.MATHML],[T.MTEXT,b.MATHML],[T.DESC,b.SVG],[T.FOREIGN_OBJECT,b.SVG],[T.TITLE,b.SVG]]),ew=[T.H1,T.H2,T.H3,T.H4,T.H5,T.H6],eI=[T.TR,T.TEMPLATE,T.HTML],eR=[T.TBODY,T.TFOOT,T.THEAD,T.TEMPLATE,T.HTML],eN=[T.TABLE,T.TEMPLATE,T.HTML],eL=[T.TD,T.TH];class eD{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=T.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===T.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===b.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){let r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==b.HTML);this.shortenToLength(t<0?0:t)}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop=0;n--)if(e.includes(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return -1}clearBackTo(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(eN,b.HTML)}clearBackToTableBodyContext(){this.clearBackTo(eR,b.HTML)}clearBackToTableRowContext(){this.clearBackTo(eI,b.HTML)}remove(e){let t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===T.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===T.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(eC.get(n)===r)return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(eh(t)&&n===b.HTML)break;if(eC.get(t)===n)return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if((n===T.UL||n===T.OL)&&r===b.HTML||eC.get(n)===r)return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(n===T.BUTTON&&r===b.HTML||eC.get(n)===r)return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n===T.TABLE||n===T.TEMPLATE||n===T.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(n===b.HTML){if(t===T.TBODY||t===T.THEAD||t===T.TFOOT)break;if(t===T.TABLE||t===T.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n!==T.OPTION&&n!==T.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;ek.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;ex.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&ex.has(this.currentTagId);)this.pop()}}(p=A=A||(A={}))[p.Marker=0]="Marker",p[p.Element=1]="Element";let eP={type:A.Marker};class eM{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let n=[],r=t.length,a=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let e=0;e[e.name,e.value])),a=0;for(let e=0;er.get(e.name)===e.value)&&(a+=1)>=3&&this.entries.splice(t.idx,1)}}insertMarker(){this.entries.unshift(eP)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:A.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:A.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);t>=0&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(eP);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===A.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===A.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===A.Element&&t.element===e)}}function eF(e){return{nodeName:"#text",value:e,parentNode:null}}let eB={createDocument:()=>({nodeName:"#document",mode:E.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){let r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,n,r){let a=e.childNodes.find(e=>"#documentType"===e.nodeName);a?(a.name=t,a.publicId=n,a.systemId=r):eB.appendChild(e,{nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null})},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let n=e.childNodes[e.childNodes.length-1];if(eB.isTextNode(n)){n.value+=t;return}}eB.appendChild(e,eF(t))},insertTextBefore(e,t,n){let r=e.childNodes[e.childNodes.indexOf(n)-1];r&&eB.isTextNode(r)?r.value+=t:eB.insertBefore(e,eF(t),n)},adoptAttributes(e,t){let n=new Set(e.attrs.map(e=>e.name));for(let r=0;re.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},ej="html",eU=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],eG=[...eU,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],eH=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),e$=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],ez=[...e$,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function eZ(e,t){return t.some(t=>e.startsWith(t))}let eW={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},eV=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),eY=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:b.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:b.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:b.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:b.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:b.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:b.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:b.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:b.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:b.XML}],["xml:space",{prefix:"xml",name:"space",namespace:b.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:b.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:b.XMLNS}]]),eq=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),eK=new Set([T.B,T.BIG,T.BLOCKQUOTE,T.BODY,T.BR,T.CENTER,T.CODE,T.DD,T.DIV,T.DL,T.DT,T.EM,T.EMBED,T.H1,T.H2,T.H3,T.H4,T.H5,T.H6,T.HEAD,T.HR,T.I,T.IMG,T.LI,T.LISTING,T.MENU,T.META,T.NOBR,T.OL,T.P,T.PRE,T.RUBY,T.S,T.SMALL,T.SPAN,T.STRONG,T.STRIKE,T.SUB,T.SUP,T.TABLE,T.TT,T.U,T.UL,T.VAR]);function eX(e){for(let t=0;t0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null===(r=(n=this.treeAdapter).onItemPop)||void 0===r||r.call(n,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let n=e===this.document||this.treeAdapter.getNamespaceURI(e)===b.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,b.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=O.TEXT}switchToPlaintextParsing(){this.insertionMode=O.TEXT,this.originalInsertionMode=O.IN_BODY,this.tokenizer.state=eg.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===v.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===b.HTML)switch(this.fragmentContextID){case T.TITLE:case T.TEXTAREA:this.tokenizer.state=eg.RCDATA;break;case T.STYLE:case T.XMP:case T.IFRAME:case T.NOEMBED:case T.NOFRAMES:case T.NOSCRIPT:this.tokenizer.state=eg.RAWTEXT;break;case T.SCRIPT:this.tokenizer.state=eg.SCRIPT_DATA;break;case T.PLAINTEXT:this.tokenizer.state=eg.PLAINTEXT}}_setDocumentType(e){let t=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){let t=this.treeAdapter.getChildNodes(this.document),n=t.find(e=>this.treeAdapter.isDocumentTypeNode(e));n&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){let n=this.treeAdapter.createElement(e,b.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,b.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(v.HTML,b.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,T.HTML)}_appendCommentNode(e,t){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let r=this.treeAdapter.getChildNodes(t),a=n?r.lastIndexOf(n):r.length,i=r[a-1],o=this.treeAdapter.getNodeSourceCodeLocation(i);if(o){let{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let n=t.location,r=this.treeAdapter.getTagName(e),a=t.type===g.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,a)}}shouldProcessStartTagTokenInForeignContent(e){let t,n;return!!this.currentNotInHTML&&(0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):{current:t,currentTagId:n}=this.openElements,(e.tagID!==T.SVG||this.treeAdapter.getTagName(t)!==v.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==b.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===T.MGLYPH||e.tagID===T.MALIGNMARK)&&!this._isIntegrationPoint(n,t,b.HTML)))}_processToken(e){switch(e.type){case g.CHARACTER:this.onCharacter(e);break;case g.NULL_CHARACTER:this.onNullCharacter(e);break;case g.COMMENT:this.onComment(e);break;case g.DOCTYPE:this.onDoctype(e);break;case g.START_TAG:this._processStartTag(e);break;case g.END_TAG:this.onEndTag(e);break;case g.EOF:this.onEof(e);break;case g.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){let r=this.treeAdapter.getNamespaceURI(t),a=this.treeAdapter.getAttrList(t);return(!n||n===b.HTML)&&function(e,t,n){if(t===b.MATHML&&e===T.ANNOTATION_XML){for(let e=0;ee.type===A.Marker||this.openElements.contains(e.element)),n=t<0?e-1:t-1;for(let e=n;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=O.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(T.P),this.openElements.popUntilTagNamePopped(T.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case T.TR:this.insertionMode=O.IN_ROW;return;case T.TBODY:case T.THEAD:case T.TFOOT:this.insertionMode=O.IN_TABLE_BODY;return;case T.CAPTION:this.insertionMode=O.IN_CAPTION;return;case T.COLGROUP:this.insertionMode=O.IN_COLUMN_GROUP;return;case T.TABLE:this.insertionMode=O.IN_TABLE;return;case T.BODY:this.insertionMode=O.IN_BODY;return;case T.FRAMESET:this.insertionMode=O.IN_FRAMESET;return;case T.SELECT:this._resetInsertionModeForSelect(e);return;case T.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case T.HTML:this.insertionMode=this.headElement?O.AFTER_HEAD:O.BEFORE_HEAD;return;case T.TD:case T.TH:if(e>0){this.insertionMode=O.IN_CELL;return}break;case T.HEAD:if(e>0){this.insertionMode=O.IN_HEAD;return}}this.insertionMode=O.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===T.TEMPLATE)break;if(e===T.TABLE){this.insertionMode=O.IN_SELECT_IN_TABLE;return}}this.insertionMode=O.IN_SELECT}_isElementCausesFosterParenting(e){return e1.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case T.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===b.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case T.TABLE:{let n=this.treeAdapter.getParentNode(t);if(n)return{parent:n,beforeElement:t};return{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){let n=this.treeAdapter.getNamespaceURI(e);return ef[n].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){this._insertCharacters(e),this.framesetOk=!1;return}switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.IN_BODY:case O.IN_CAPTION:case O.IN_CELL:case O.IN_TEMPLATE:ts(this,e);break;case O.TEXT:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tg(this,e);break;case O.IN_TABLE_TEXT:tT(this,e);break;case O.IN_COLUMN_GROUP:t_(this,e);break;case O.AFTER_BODY:tD(this,e);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){e.chars="�",this._insertCharacters(e);return}switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.TEXT:this._insertCharacters(e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tg(this,e);break;case O.IN_COLUMN_GROUP:t_(this,e);break;case O.AFTER_BODY:tD(this,e);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){e4(this,e);return}switch(this.insertionMode){case O.INITIAL:case O.BEFORE_HTML:case O.BEFORE_HEAD:case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:case O.IN_BODY:case O.IN_TABLE:case O.IN_CAPTION:case O.IN_COLUMN_GROUP:case O.IN_TABLE_BODY:case O.IN_ROW:case O.IN_CELL:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:case O.IN_TEMPLATE:case O.IN_FRAMESET:case O.AFTER_FRAMESET:e4(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case O.INITIAL:!function(e,t){e._setDocumentType(t);let n=t.forceQuirks?E.QUIRKS:function(e){if(e.name!==ej)return E.QUIRKS;let{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return E.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),eH.has(n))return E.QUIRKS;let e=null===t?eG:eU;if(eZ(n,e))return E.QUIRKS;if(eZ(n,e=null===t?e$:ez))return E.LIMITED_QUIRKS}return E.NO_QUIRKS}(t);t.name===ej&&null===t.publicId&&(null===t.systemId||"about:legacy-compat"===t.systemId)||e._err(t,m.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=O.BEFORE_HTML}(this,e);break;case O.BEFORE_HEAD:case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:this._err(e,m.misplacedDoctype);break;case O.IN_TABLE_TEXT:tS(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,m.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){let t=e.tagID,n=t===T.FONT&&e.attrs.some(({name:e})=>e===y.COLOR||e===y.SIZE||e===y.FACE);return n||eK.has(t)}(t))tM(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===b.MATHML?eX(t):r===b.SVG&&(function(e){let t=eq.get(e.tagName);null!=t&&(e.tagName=t,e.tagID=ed(e.tagName))}(t),eQ(t)),eJ(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e.tagID===T.HTML?(this._insertElement(e,b.HTML),this.insertionMode=O.BEFORE_HEAD):e8(this,e);break;case O.BEFORE_HEAD:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.HEAD:e._insertElement(t,b.HTML),e.headElement=e.openElements.current,e.insertionMode=O.IN_HEAD;break;default:e7(e,t)}}(this,e);break;case O.IN_HEAD:te(this,e);break;case O.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BASEFONT:case T.BGSOUND:case T.HEAD:case T.LINK:case T.META:case T.NOFRAMES:case T.STYLE:te(e,t);break;case T.NOSCRIPT:e._err(t,m.nestedNoscriptInHead);break;default:tr(e,t)}}(this,e);break;case O.AFTER_HEAD:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BODY:e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=O.IN_BODY;break;case T.FRAMESET:e._insertElement(t,b.HTML),e.insertionMode=O.IN_FRAMESET;break;case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:e._err(t,m.abandonedHeadElementChild),e.openElements.push(e.headElement,T.HEAD),te(e,t),e.openElements.remove(e.headElement);break;case T.HEAD:e._err(t,m.misplacedStartTagForHeadElement);break;default:ta(e,t)}}(this,e);break;case O.IN_BODY:tp(this,e);break;case O.IN_TABLE:tb(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_CAPTION:!function(e,t){let n=t.tagID;tA.has(n)?e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_TABLE,tb(e,t)):tp(e,t)}(this,e);break;case O.IN_COLUMN_GROUP:tO(this,e);break;case O.IN_TABLE_BODY:tk(this,e);break;case O.IN_ROW:tC(this,e);break;case O.IN_CELL:!function(e,t){let n=t.tagID;tA.has(n)?(e.openElements.hasInTableScope(T.TD)||e.openElements.hasInTableScope(T.TH))&&(e._closeTableCell(),tC(e,t)):tp(e,t)}(this,e);break;case O.IN_SELECT:tI(this,e);break;case O.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e._processStartTag(t)):tI(e,t)}(this,e);break;case O.IN_TEMPLATE:!function(e,t){switch(t.tagID){case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:te(e,t);break;case T.CAPTION:case T.COLGROUP:case T.TBODY:case T.TFOOT:case T.THEAD:e.tmplInsertionModeStack[0]=O.IN_TABLE,e.insertionMode=O.IN_TABLE,tb(e,t);break;case T.COL:e.tmplInsertionModeStack[0]=O.IN_COLUMN_GROUP,e.insertionMode=O.IN_COLUMN_GROUP,tO(e,t);break;case T.TR:e.tmplInsertionModeStack[0]=O.IN_TABLE_BODY,e.insertionMode=O.IN_TABLE_BODY,tk(e,t);break;case T.TD:case T.TH:e.tmplInsertionModeStack[0]=O.IN_ROW,e.insertionMode=O.IN_ROW,tC(e,t);break;default:e.tmplInsertionModeStack[0]=O.IN_BODY,e.insertionMode=O.IN_BODY,tp(e,t)}}(this,e);break;case O.AFTER_BODY:e.tagID===T.HTML?tp(this,e):tD(this,e);break;case O.IN_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.FRAMESET:e._insertElement(t,b.HTML);break;case T.FRAME:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.NOFRAMES:te(e,t)}}(this,e);break;case O.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.NOFRAMES:te(e,t)}}(this,e);break;case O.AFTER_AFTER_BODY:e.tagID===T.HTML?tp(this,e):tP(this,e);break;case O.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.NOFRAMES:te(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===T.P||t.tagID===T.BR){tM(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){let r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===b.HTML){e._endTagOutsideForeignContent(t);break}let a=e.treeAdapter.getTagName(r);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){var t;switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:!function(e,t){let n=t.tagID;(n===T.HTML||n===T.HEAD||n===T.BODY||n===T.BR)&&e8(e,t)}(this,e);break;case O.BEFORE_HEAD:!function(e,t){let n=t.tagID;n===T.HEAD||n===T.BODY||n===T.HTML||n===T.BR?e7(e,t):e._err(t,m.endTagWithoutMatchingOpenElement)}(this,e);break;case O.IN_HEAD:!function(e,t){switch(t.tagID){case T.HEAD:e.openElements.pop(),e.insertionMode=O.AFTER_HEAD;break;case T.BODY:case T.BR:case T.HTML:tn(e,t);break;case T.TEMPLATE:tt(e,t);break;default:e._err(t,m.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case T.NOSCRIPT:e.openElements.pop(),e.insertionMode=O.IN_HEAD;break;case T.BR:tr(e,t);break;default:e._err(t,m.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.AFTER_HEAD:!function(e,t){switch(t.tagID){case T.BODY:case T.HTML:case T.BR:ta(e,t);break;case T.TEMPLATE:tt(e,t);break;default:e._err(t,m.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.IN_BODY:th(this,e);break;case O.TEXT:e.tagID===T.SCRIPT&&(null===(t=this.scriptHandler)||void 0===t||t.call(this,this.openElements.current)),this.openElements.pop(),this.insertionMode=this.originalInsertionMode;break;case O.IN_TABLE:ty(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_CAPTION:!function(e,t){let n=t.tagID;switch(n){case T.CAPTION:case T.TABLE:e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_TABLE,n===T.TABLE&&ty(e,t));break;case T.BODY:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:th(e,t)}}(this,e);break;case O.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case T.COLGROUP:e.openElements.currentTagId===T.COLGROUP&&(e.openElements.pop(),e.insertionMode=O.IN_TABLE);break;case T.TEMPLATE:tt(e,t);break;case T.COL:break;default:t_(e,t)}}(this,e);break;case O.IN_TABLE_BODY:tx(this,e);break;case O.IN_ROW:tw(this,e);break;case O.IN_CELL:!function(e,t){let n=t.tagID;switch(n){case T.TD:case T.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_ROW);break;case T.TABLE:case T.TBODY:case T.TFOOT:case T.THEAD:case T.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),tw(e,t));break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:break;default:th(e,t)}}(this,e);break;case O.IN_SELECT:tR(this,e);break;case O.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e.onEndTag(t)):tR(e,t)}(this,e);break;case O.IN_TEMPLATE:e.tagID===T.TEMPLATE&&tt(this,e);break;case O.AFTER_BODY:tL(this,e);break;case O.IN_FRAMESET:e.tagID!==T.FRAMESET||this.openElements.isRootHtmlElementCurrent()||(this.openElements.pop(),this.fragmentContext||this.openElements.currentTagId===T.FRAMESET||(this.insertionMode=O.AFTER_FRAMESET));break;case O.AFTER_FRAMESET:e.tagID===T.HTML&&(this.insertionMode=O.AFTER_AFTER_FRAMESET);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onEof(e){switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.IN_BODY:case O.IN_TABLE:case O.IN_CAPTION:case O.IN_COLUMN_GROUP:case O.IN_TABLE_BODY:case O.IN_ROW:case O.IN_CELL:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:tm(this,e);break;case O.TEXT:this._err(e,m.eofInElementThatCanContainOnlyText),this.openElements.pop(),this.insertionMode=this.originalInsertionMode,this.onEof(e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_TEMPLATE:tN(this,e);break;case O.AFTER_BODY:case O.IN_FRAMESET:case O.AFTER_FRAMESET:case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:e6(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===h.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:case O.TEXT:case O.IN_COLUMN_GROUP:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:case O.IN_FRAMESET:case O.AFTER_FRAMESET:this._insertCharacters(e);break;case O.IN_BODY:case O.IN_CAPTION:case O.IN_CELL:case O.IN_TEMPLATE:case O.AFTER_BODY:case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:to(this,e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tg(this,e);break;case O.IN_TABLE_TEXT:tv(this,e)}}}function e5(e,t){for(let n=0;n<8;n++){let n=function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):tf(e,t),n}(e,t);if(!n)break;let r=function(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){let a=e.openElements.items[r];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[r])&&(n=a)}return n||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;let a=function(e,t,n){let r=t,a=e.openElements.getCommonAncestor(t);for(let i=0,o=a;o!==n;i++,o=a){a=e.openElements.getCommonAncestor(o);let n=e.activeFormattingElements.getElementEntry(o),s=n&&i>=3,l=!n||s;l?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(o)):(o=function(e,t){let n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}(e,r,n.element),i=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(a),i&&function(e,t,n){let r=e.treeAdapter.getTagName(t),a=ed(r);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(n);else{let r=e.treeAdapter.getNamespaceURI(t);a===T.TEMPLATE&&r===b.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}(e,i,a),function(e,t,n){let r=e.treeAdapter.getNamespaceURI(n.element),{token:a}=n,i=e.treeAdapter.createElement(a.tagName,r,a.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,a),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,a.tagID)}(e,r,n)}}function e4(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function e6(e,t){if(e.stopped=!0,t.location){let n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){let n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function e9(e,t){e._err(t,m.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,E.QUIRKS),e.insertionMode=O.BEFORE_HTML,e._processToken(t)}function e8(e,t){e._insertFakeRootElement(),e.insertionMode=O.BEFORE_HEAD,e._processToken(t)}function e7(e,t){e._insertFakeElement(v.HEAD,T.HEAD),e.headElement=e.openElements.current,e.insertionMode=O.IN_HEAD,e._processToken(t)}function te(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.TITLE:e._switchToTextParsing(t,eg.RCDATA);break;case T.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,eg.RAWTEXT):(e._insertElement(t,b.HTML),e.insertionMode=O.IN_HEAD_NO_SCRIPT);break;case T.NOFRAMES:case T.STYLE:e._switchToTextParsing(t,eg.RAWTEXT);break;case T.SCRIPT:e._switchToTextParsing(t,eg.SCRIPT_DATA);break;case T.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=O.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(O.IN_TEMPLATE);break;case T.HEAD:e._err(t,m.misplacedStartTagForHeadElement);break;default:tn(e,t)}}function tt(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==T.TEMPLATE&&e._err(t,m.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,m.endTagWithoutMatchingOpenElement)}function tn(e,t){e.openElements.pop(),e.insertionMode=O.AFTER_HEAD,e._processToken(t)}function tr(e,t){let n=t.type===g.EOF?m.openElementsLeftAfterEof:m.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=O.IN_HEAD,e._processToken(t)}function ta(e,t){e._insertFakeElement(v.BODY,T.BODY),e.insertionMode=O.IN_BODY,ti(e,t)}function ti(e,t){switch(t.type){case g.CHARACTER:ts(e,t);break;case g.WHITESPACE_CHARACTER:to(e,t);break;case g.COMMENT:e4(e,t);break;case g.START_TAG:tp(e,t);break;case g.END_TAG:th(e,t);break;case g.EOF:tm(e,t)}}function to(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function ts(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function tl(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function tc(e){let t=el(e,y.TYPE);return null!=t&&"hidden"===t.toLowerCase()}function tu(e,t){e._switchToTextParsing(t,eg.RAWTEXT)}function td(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML)}function tp(e,t){switch(t.tagID){case T.I:case T.S:case T.B:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.SMALL:case T.STRIKE:case T.STRONG:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case T.A:!function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(v.A);n&&(e5(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),eh(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,b.HTML);break;case T.P:case T.DL:case T.OL:case T.UL:case T.DIV:case T.DIR:case T.NAV:case T.MAIN:case T.MENU:case T.ASIDE:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.DETAILS:case T.ADDRESS:case T.ARTICLE:case T.SECTION:case T.SUMMARY:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML);break;case T.LI:case T.DD:case T.DT:!function(e,t){e.framesetOk=!1;let n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let r=e.openElements.tagIDs[t];if(n===T.LI&&r===T.LI||(n===T.DD||n===T.DT)&&(r===T.DD||r===T.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==T.ADDRESS&&r!==T.DIV&&r!==T.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML)}(e,t);break;case T.BR:case T.IMG:case T.WBR:case T.AREA:case T.EMBED:case T.KEYGEN:tl(e,t);break;case T.HR:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0;break;case T.RB:case T.RTC:e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,b.HTML);break;case T.RT:case T.RP:e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(T.RTC),e._insertElement(t,b.HTML);break;case T.PRE:case T.LISTING:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.framesetOk=!1;break;case T.XMP:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,eg.RAWTEXT);break;case T.SVG:e._reconstructActiveFormattingElements(),eQ(t),eJ(t),t.selfClosing?e._appendElement(t,b.SVG):e._insertElement(t,b.SVG),t.ackSelfClosing=!0;break;case T.HTML:0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs);break;case T.BASE:case T.LINK:case T.META:case T.STYLE:case T.TITLE:case T.SCRIPT:case T.BGSOUND:case T.BASEFONT:case T.TEMPLATE:te(e,t);break;case T.BODY:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t);break;case T.FORM:!function(e,t){let n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),n||(e.formElement=e.openElements.current))}(e,t);break;case T.NOBR:e._reconstructActiveFormattingElements(),e.openElements.hasInScope(T.NOBR)&&(e5(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case T.MATH:e._reconstructActiveFormattingElements(),eX(t),eJ(t),t.selfClosing?e._appendElement(t,b.MATHML):e._insertElement(t,b.MATHML),t.ackSelfClosing=!0;break;case T.TABLE:e.treeAdapter.getDocumentMode(e.document)!==E.QUIRKS&&e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=O.IN_TABLE;break;case T.INPUT:e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),tc(t)||(e.framesetOk=!1),t.ackSelfClosing=!0;break;case T.PARAM:case T.TRACK:case T.SOURCE:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.IMAGE:t.tagName=v.IMG,t.tagID=T.IMG,tl(e,t);break;case T.BUTTON:e.openElements.hasInScope(T.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1;break;case T.APPLET:case T.OBJECT:case T.MARQUEE:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1;break;case T.IFRAME:e.framesetOk=!1,e._switchToTextParsing(t,eg.RAWTEXT);break;case T.SELECT:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===O.IN_TABLE||e.insertionMode===O.IN_CAPTION||e.insertionMode===O.IN_TABLE_BODY||e.insertionMode===O.IN_ROW||e.insertionMode===O.IN_CELL?O.IN_SELECT_IN_TABLE:O.IN_SELECT;break;case T.OPTION:case T.OPTGROUP:e.openElements.currentTagId===T.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML);break;case T.NOEMBED:tu(e,t);break;case T.FRAMESET:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_FRAMESET)}(e,t);break;case T.TEXTAREA:e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.tokenizer.state=eg.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=O.TEXT;break;case T.NOSCRIPT:e.options.scriptingEnabled?tu(e,t):td(e,t);break;case T.PLAINTEXT:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.tokenizer.state=eg.PLAINTEXT;break;case T.COL:case T.TH:case T.TD:case T.TR:case T.HEAD:case T.FRAME:case T.TBODY:case T.TFOOT:case T.THEAD:case T.CAPTION:case T.COLGROUP:break;default:td(e,t)}}function tf(e,t){let n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let a=e.openElements.items[t],i=e.openElements.tagIDs[t];if(r===i&&(r!==T.UNKNOWN||e.treeAdapter.getTagName(a)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(a,i))break}}function th(e,t){switch(t.tagID){case T.A:case T.B:case T.I:case T.S:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.NOBR:case T.SMALL:case T.STRIKE:case T.STRONG:e5(e,t);break;case T.P:e.openElements.hasInButtonScope(T.P)||e._insertFakeElement(v.P,T.P),e._closePElement();break;case T.DL:case T.UL:case T.OL:case T.DIR:case T.DIV:case T.NAV:case T.PRE:case T.MAIN:case T.MENU:case T.ASIDE:case T.BUTTON:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.ADDRESS:case T.ARTICLE:case T.DETAILS:case T.SECTION:case T.SUMMARY:case T.LISTING:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case T.LI:e.openElements.hasInListItemScope(T.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(T.LI),e.openElements.popUntilTagNamePopped(T.LI));break;case T.DD:case T.DT:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped());break;case T.BR:e._reconstructActiveFormattingElements(),e._insertFakeElement(v.BR,T.BR),e.openElements.pop(),e.framesetOk=!1;break;case T.BODY:!function(e,t){if(e.openElements.hasInScope(T.BODY)&&(e.insertionMode=O.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}(e,t);break;case T.HTML:e.openElements.hasInScope(T.BODY)&&(e.insertionMode=O.AFTER_BODY,tL(e,t));break;case T.FORM:!function(e){let t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(T.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(T.FORM):n&&e.openElements.remove(n))}(e);break;case T.APPLET:case T.OBJECT:case T.MARQUEE:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}(e,t);break;case T.TEMPLATE:tt(e,t);break;default:tf(e,t)}}function tm(e,t){e.tmplInsertionModeStack.length>0?tN(e,t):e6(e,t)}function tg(e,t){if(e1.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=O.IN_TABLE_TEXT,t.type){case g.CHARACTER:tT(e,t);break;case g.WHITESPACE_CHARACTER:tv(e,t)}else tE(e,t)}function tb(e,t){switch(t.tagID){case T.TD:case T.TH:case T.TR:e.openElements.clearBackToTableContext(),e._insertFakeElement(v.TBODY,T.TBODY),e.insertionMode=O.IN_TABLE_BODY,tk(e,t);break;case T.STYLE:case T.SCRIPT:case T.TEMPLATE:te(e,t);break;case T.COL:e.openElements.clearBackToTableContext(),e._insertFakeElement(v.COLGROUP,T.COLGROUP),e.insertionMode=O.IN_COLUMN_GROUP,tO(e,t);break;case T.FORM:e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,b.HTML),e.formElement=e.openElements.current,e.openElements.pop());break;case T.TABLE:e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode(),e._processStartTag(t));break;case T.TBODY:case T.TFOOT:case T.THEAD:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_TABLE_BODY;break;case T.INPUT:tc(t)?e._appendElement(t,b.HTML):tE(e,t),t.ackSelfClosing=!0;break;case T.CAPTION:e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_CAPTION;break;case T.COLGROUP:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_COLUMN_GROUP;break;default:tE(e,t)}}function ty(e,t){switch(t.tagID){case T.TABLE:e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode());break;case T.TEMPLATE:tt(e,t);break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:tE(e,t)}}function tE(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,ti(e,t),e.fosterParentingEnabled=n}function tv(e,t){e.pendingCharacterTokens.push(t)}function tT(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function tS(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0&&e.openElements.currentTagId===T.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===T.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===T.OPTGROUP&&e.openElements.pop();break;case T.OPTION:e.openElements.currentTagId===T.OPTION&&e.openElements.pop();break;case T.SELECT:e.openElements.hasInSelectScope(T.SELECT)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode());break;case T.TEMPLATE:tt(e,t)}}function tN(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):e6(e,t)}function tL(e,t){var n;if(t.tagID===T.HTML){if(e.fragmentContext||(e.insertionMode=O.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===T.HTML){e._setEndLocation(e.openElements.items[0],t);let r=e.openElements.items[1];!r||(null===(n=e.treeAdapter.getNodeSourceCodeLocation(r))||void 0===n?void 0:n.endTag)||e._setEndLocation(r,t)}}else tD(e,t)}function tD(e,t){e.insertionMode=O.IN_BODY,ti(e,t)}function tP(e,t){e.insertionMode=O.IN_BODY,ti(e,t)}function tM(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==b.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}n(43470),v.AREA,v.BASE,v.BASEFONT,v.BGSOUND,v.BR,v.COL,v.EMBED,v.FRAME,v.HR,v.IMG,v.INPUT,v.KEYGEN,v.LINK,v.META,v.PARAM,v.SOURCE,v.TRACK,v.WBR;var tF=n(3980),tB=n(21623);let tj=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),tU={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function tG(e,t){let n=function(e){let t="root"===e.type?e.children[0]:e;return!!(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName.toLowerCase()))}(e),r=q("type",{handlers:{root:t$,element:tz,text:tZ,comment:tV,doctype:tW,raw:tY},unknown:tq}),a={parser:n?new e3(tU):e3.getFragmentParser(void 0,tU),handle(e){r(e,a)},stitches:!1,options:t||{}};r(e,a),tK(a,(0,tF.Pk)());let i=n?a.parser.document:a.parser.getFragment(),o=function(e,t){let n=t||{};return $({file:n.file||void 0,location:!1,schema:"svg"===n.space?x.YP:x.dy,verbose:n.verbose||!1},e)}(i,{file:a.options.file});return(a.stitches&&(0,tB.Vn)(o,"comment",function(e,t,n){if(e.value.stitch&&n&&void 0!==t){let r=n.children;return r[t]=e.value.stitch,t}}),"root"===o.type&&1===o.children.length&&o.children[0].type===e.type)?o.children[0]:o}function tH(e,t){let n=-1;if(e)for(;++n4&&(t.parser.tokenizer.state=0);let n={type:g.CHARACTER,chars:e.value,location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tW(e,t){let n={type:g.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tV(e,t){let n=e.value,r={type:g.COMMENT,data:n,location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function tY(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,tX(t,(0,tF.Pk)(e)),t.parser.tokenizer.write(e.value,!1),t.parser.tokenizer._runParsingLoop(),72===t.parser.tokenizer.state||78===t.parser.tokenizer.state){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;let e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function tq(e,t){if(t.options.passThrough&&t.options.passThrough.includes(e.type))!function(e,t){t.stitches=!0;let n="children"in e?(0,_.ZP)({...e,children:[]}):(0,_.ZP)(e);if("children"in e&&"children"in n){let r=tG({type:"root",children:e.children},t.options);n.children=r.children}tV({type:"comment",value:{stitch:n}},t)}(e,t);else{let t="";throw tj.has(e.type)&&(t=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),Error("Cannot compile `"+e.type+"` node"+t)}}function tK(e,t){tX(e,t);let n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=eg.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function tX(e,t){if(t&&void 0!==t.offset){let n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function tQ(e){let t=(0,tF.Pk)(e)||{line:void 0,column:void 0,offset:void 0},n=(0,tF.rb)(e)||{line:void 0,column:void 0,offset:void 0},r={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset};return r}function tJ(e){return function(t,n){let r=tG(t,{...e,file:n});return r}}},78600:function(e,t,n){"use strict";function r(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,a=n.indexOf(t);for(;-1!==a;)r++,a=n.indexOf(t,a+t.length);return r}n.d(t,{Z:function(){return eQ}});var a=n(24345),i=n(15459),o=n(88718),s=n(96093);let l="phrasing",c=["autolink","link","image","label"];function u(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function d(e){this.config.enter.autolinkProtocol.call(this,e)}function p(e){this.config.exit.autolinkProtocol.call(this,e)}function f(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];(0,a.ok)("link"===t.type),t.url="http://"+this.sliceSerialize(e)}function h(e){this.config.exit.autolinkEmail.call(this,e)}function m(e){this.exit(e)}function g(e){!function(e,t,n){let r=(0,s.O)((n||{}).ignore||[]),a=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r0?{type:"text",value:i}:void 0),!1===i?r.lastIndex=n+1:(s!==n&&d.push({type:"text",value:e.value.slice(s,n)}),Array.isArray(i)?d.push(...i):i&&d.push(i),s=n+p[0].length,u=!0),!r.global)break;p=r.exec(e.value)}return u?(s?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],a=n.indexOf(")"),i=r(e,"("),o=r(e,")");for(;-1!==a&&i>o;)e+=n.slice(0,a+1),a=(n=n.slice(a+1)).indexOf(")"),o++;return[e,n]}(n+a);if(!s[0])return!1;let l={type:"link",title:null,url:o+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[l,{type:"text",value:s[1]}]:l}function y(e,t,n,r){return!(!E(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function E(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||(0,i.B8)(n)||(0,i.Xh)(n))&&(!t||47!==n)}var v=n(11098);function T(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function S(){this.buffer()}function A(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteDefinition"===n.type),n.label=t,n.identifier=(0,v.d)(this.sliceSerialize(e)).toLowerCase()}function O(e){this.exit(e)}function _(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function k(){this.buffer()}function x(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteReference"===n.type),n.label=t,n.identifier=(0,v.d)(this.sliceSerialize(e)).toLowerCase()}function C(e){this.exit(e)}function w(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteReference"),s=n.enter("reference");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),o(),i+=a.move("]")}function I(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteDefinition"),s=n.enter("label");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),i+=a.move("]:"+(e.children&&e.children.length>0?" ":"")),a.shift(4),i+=a.move(n.indentLines(n.containerFlow(e,a.current()),R)),o(),i}function R(e,t,n){return 0===t?e:(n?"":" ")+e}w.peek=function(){return"["};let N=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function L(e){this.enter({type:"delete",children:[]},e)}function D(e){this.exit(e)}function P(e,t,n,r){let a=n.createTracker(r),i=n.enter("strikethrough"),o=a.move("~~");return o+=n.containerPhrasing(e,{...a.current(),before:o,after:"~"})+a.move("~~"),i(),o}function M(e){return e.length}function F(e){let t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function B(e,t,n){return">"+(n?"":" ")+e}function j(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),c+=l.move(")"),o(),c}function q(e,t,n,r){let a=e.referenceType,i=n.enter("imageReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("!["),c=n.safe(e.alt,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function K(e,t,n){let r=e.value||"",a="`",i=-1;for(;RegExp("(^|[^`])"+a+"([^`]|$)").test(r);)a+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i\u007F]/.test(e.url))}function Q(e,t,n,r){let a,i;let o=$(n),s='"'===o?"Quote":"Apostrophe",l=n.createTracker(r);if(X(e,n)){let t=n.stack;n.stack=[],a=n.enter("autolink");let r=l.move("<");return r+=l.move(n.containerPhrasing(e,{before:r,after:">",...l.current()}))+l.move(">"),a(),n.stack=t,r}a=n.enter("link"),i=n.enter("label");let c=l.move("[");return c+=l.move(n.containerPhrasing(e,{before:c,after:"](",...l.current()}))+l.move("]("),i(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(i=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(i=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),i(),e.title&&(i=n.enter(`title${s}`),c+=l.move(" "+o),c+=l.move(n.safe(e.title,{before:c,after:o,...l.current()}))+l.move(o),i()),c+=l.move(")"),a(),c}function J(e,t,n,r){let a=e.referenceType,i=n.enter("linkReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("["),c=n.containerPhrasing(e,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function ee(e){let t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function et(e){let t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}V.peek=function(){return"<"},Y.peek=function(){return"!"},q.peek=function(){return"!"},K.peek=function(){return"`"},Q.peek=function(e,t,n){return X(e,n)?"<":"["},J.peek=function(){return"["};let en=(0,s.O)(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function er(e,t,n,r){let a=function(e){let t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(n),i=n.enter("strong"),o=n.createTracker(r),s=o.move(a+a);return s+=o.move(n.containerPhrasing(e,{before:s,after:a,...o.current()}))+o.move(a+a),i(),s}er.peek=function(e,t,n){return n.options.strong||"*"};let ea={blockquote:function(e,t,n,r){let a=n.enter("blockquote"),i=n.createTracker(r);i.move("> "),i.shift(2);let o=n.indentLines(n.containerFlow(e,i.current()),B);return a(),o},break:U,code:function(e,t,n,r){let a=function(e){let t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),i=e.value||"",o="`"===a?"GraveAccent":"Tilde";if(!1===n.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value)){let e=n.enter("codeIndented"),t=n.indentLines(i,H);return e(),t}let s=n.createTracker(r),l=a.repeat(Math.max((0,G.J)(i,a)+1,3)),c=n.enter("codeFenced"),u=s.move(l);if(e.lang){let t=n.enter(`codeFencedLang${o}`);u+=s.move(n.safe(e.lang,{before:u,after:" ",encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${o}`);u+=s.move(" "),u+=s.move(n.safe(e.meta,{before:u,after:"\n",encode:["`"],...s.current()})),t()}return u+=s.move("\n"),i&&(u+=s.move(i+"\n")),u+=s.move(l),c(),u},definition:function(e,t,n,r){let a=$(n),i='"'===a?"Quote":"Apostrophe",o=n.enter("definition"),s=n.enter("label"),l=n.createTracker(r),c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()}))+l.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":"\n",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),o(),c},emphasis:z,hardBreak:U,heading:function(e,t,n,r){let a;let i=Math.max(Math.min(6,e.depth||1),1),s=n.createTracker(r);if(a=!1,(0,Z.Vn)(e,function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return a=!0,o.BK}),(!e.depth||e.depth<3)&&(0,W.B)(e)&&(n.options.setext||a)){let t=n.enter("headingSetext"),r=n.enter("phrasing"),a=n.containerPhrasing(e,{...s.current(),before:"\n",after:"\n"});return r(),t(),a+"\n"+(1===i?"=":"-").repeat(a.length-(Math.max(a.lastIndexOf("\r"),a.lastIndexOf("\n"))+1))}let l="#".repeat(i),c=n.enter("headingAtx"),u=n.enter("phrasing");s.move(l+" ");let d=n.containerPhrasing(e,{before:"# ",after:"\n",...s.current()});return/^[\t ]/.test(d)&&(d="&#x"+d.charCodeAt(0).toString(16).toUpperCase()+";"+d.slice(1)),d=d?l+" "+d:l,n.options.closeAtx&&(d+=" "+l),u(),c(),d},html:V,image:Y,imageReference:q,inlineCode:K,link:Q,linkReference:J,list:function(e,t,n,r){let a=n.enter("list"),i=n.bulletCurrent,o=e.ordered?function(e){let t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):ee(n),s=e.ordered?"."===o?")":".":function(e){let t=ee(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n),l=!!t&&!!n.bulletLastUsed&&o===n.bulletLastUsed;if(!e.ordered){let t=e.children?e.children[0]:void 0;if("*"!==o&&"-"!==o||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(l=!0),et(n)===o&&t){let t=-1;for(;++t-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+i);let o=i.length+1;("tab"===a||"mixed"===a&&(t&&"list"===t.type&&t.spread||e.spread))&&(o=4*Math.ceil(o/4));let s=n.createTracker(r);s.move(i+" ".repeat(o-i.length)),s.shift(o);let l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),function(e,t,n){return t?(n?"":" ".repeat(o))+e:(n?i:i+" ".repeat(o-i.length))+e});return l(),c},paragraph:function(e,t,n,r){let a=n.enter("paragraph"),i=n.enter("phrasing"),o=n.containerPhrasing(e,r);return i(),a(),o},root:function(e,t,n,r){let a=e.children.some(function(e){return en(e)}),i=a?n.containerPhrasing:n.containerFlow;return i.call(n,e,r)},strong:er,text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){let r=(et(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}};function ei(e){let t=e._align;(0,a.ok)(t,"expected `_align` on table"),this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function eo(e){this.exit(e),this.data.inTable=void 0}function es(e){this.enter({type:"tableRow",children:[]},e)}function el(e){this.exit(e)}function ec(e){this.enter({type:"tableCell",children:[]},e)}function eu(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,ed));let n=this.stack[this.stack.length-1];(0,a.ok)("inlineCode"===n.type),n.value=t,this.exit(e)}function ed(e,t){return"|"===t?t:e}function ep(e){let t=this.stack[this.stack.length-2];(0,a.ok)("listItem"===t.type),t.checked="taskListCheckValueChecked"===e.type}function ef(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1];(0,a.ok)("paragraph"===e.type);let n=e.children[0];if(n&&"text"===n.type){let r;let a=t.children,i=-1;for(;++i0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}eO[43]=eA,eO[45]=eA,eO[46]=eA,eO[95]=eA,eO[72]=[eA,eS],eO[104]=[eA,eS],eO[87]=[eA,eT],eO[119]=[eA,eT];var eR=n(23402),eN=n(42761);let eL={tokenize:function(e,t,n){let r=this;return(0,eN.f)(e,function(e){let a=r.events[r.events.length-1];return a&&"gfmFootnoteDefinitionIndent"===a[1].type&&4===a[2].sliceSerialize(a[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function eD(e,t,n){let r;let a=this,i=a.events.length,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);for(;i--;){let e=a.events[i][1];if("labelImage"===e.type){r=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(i){if(!r||!r._balanced)return n(i);let s=(0,v.d)(a.sliceSerialize({start:r.end,end:a.now()}));return 94===s.codePointAt(0)&&o.includes(s.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(i),e.exit("gfmFootnoteCallLabelMarker"),t(i)):n(i)}}function eP(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;let i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",a,t],["exit",a,t],["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function eM(e,t,n){let r;let a=this,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),s=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),l};function l(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(l){if(s>999||93===l&&!r||null===l||91===l||(0,i.z3)(l))return n(l);if(93===l){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return o.includes((0,v.d)(a.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(l)}return(0,i.z3)(l)||(r=!0),s++,e.consume(l),92===l?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function eF(e,t,n){let r,a;let o=this,s=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]),l=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(t)}function u(t){if(l>999||93===t&&!a||null===t||91===t||(0,i.z3)(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return r=(0,v.d)(o.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return(0,i.z3)(t)||(a=!0),l++,e.consume(t),92===t?d:u}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}function p(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s.includes(r)||s.push(r),(0,eN.f)(e,f,"gfmFootnoteDefinitionWhitespace")):n(t)}function f(e){return t(e)}}function eB(e,t,n){return e.check(eR.w,t,e.attempt(eL,t,n))}function ej(e){e.exit("gfmFootnoteDefinition")}var eU=n(21905),eG=n(62987),eH=n(63233);class e${constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let a=0;if(0!==n||0!==r.length){for(;a0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function ez(e,t,n){let r;let a=this,o=0,s=0;return function(e){let t=a.events.length-1;for(;t>-1;){let e=a.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let r=t>-1?a.events[t][1].type:null,i="tableHead"===r||"tableRow"===r?E:l;return i===E&&a.parser.lazy[a.now().line]?n(e):i(e)};function l(t){return e.enter("tableHead"),e.enter("tableRow"),124===t||(r=!0,s+=1),c(t)}function c(t){return null===t?n(t):(0,i.Ch)(t)?s>1?(s=0,a.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p):n(t):(0,i.xz)(t)?(0,eN.f)(e,c,"whitespace")(t):(s+=1,r&&(r=!1,o+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,c):(e.enter("data"),u(t))}function u(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),c(t)):(e.consume(t),92===t?d:u)}function d(t){return 92===t||124===t?(e.consume(t),u):u(t)}function p(t){return(a.interrupt=!1,a.parser.lazy[a.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,(0,i.xz)(t))?(0,eN.f)(e,f,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):f(t)}function f(t){return 45===t||58===t?m(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),h):n(t)}function h(t){return(0,i.xz)(t)?(0,eN.f)(e,m,"whitespace")(t):m(t)}function m(t){return 58===t?(s+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),g):45===t?(s+=1,g(t)):null===t||(0,i.Ch)(t)?y(t):n(t)}function g(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),b):(e.exit("tableDelimiterFiller"),b(n))}(t)):n(t)}function b(t){return(0,i.xz)(t)?(0,eN.f)(e,y,"whitespace")(t):y(t)}function y(a){return 124===a?f(a):null===a||(0,i.Ch)(a)?r&&o===s?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(a)):n(a):n(a)}function E(t){return e.enter("tableRow"),v(t)}function v(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),v):null===n||(0,i.Ch)(n)?(e.exit("tableRow"),t(n)):(0,i.xz)(n)?(0,eN.f)(e,v,"whitespace")(n):(e.enter("data"),T(n))}function T(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),v(t)):(e.consume(t),92===t?S:T)}function S(t){return 92===t||124===t?(e.consume(t),T):T(t)}}function eZ(e,t){let n,r,a,i=-1,o=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,d=0,p=new e$;for(;++in[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",o,t]])}return void 0!==a&&(i.end=Object.assign({},eY(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function eV(e,t,n,r,a){let i=[],o=eY(t.events,n);a&&(a.end=Object.assign({},o),i.push(["exit",a,t])),r.end=Object.assign({},o),i.push(["exit",r,t]),e.add(n+1,0,i)}function eY(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}let eq={name:"tasklistCheck",tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),a):n(t)};function a(t){return(0,i.z3)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(t)}function s(r){return(0,i.Ch)(r)?t(r):(0,i.xz)(r)?e.check({tokenize:eK},t,n)(r):n(r)}}};function eK(e,t,n){return(0,eN.f)(e,function(e){return null===e?n(e):t(e)},"whitespace")}let eX={};function eQ(e){let t=e||eX,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),i=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push((0,em.W)([{text:eO},{document:{91:{name:"gfmFootnoteDefinition",tokenize:eF,continuation:{tokenize:eB},exit:ej}},text:{91:{name:"gfmFootnoteCall",tokenize:eM},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:eD,resolveTo:eP}}},function(e){let t=(e||{}).singleTilde,n={name:"strikethrough",tokenize:function(e,n,r){let a=this.previous,i=this.events,o=0;return function(s){return 126===a&&"characterEscape"!==i[i.length-1][1].type?r(s):(e.enter("strikethroughSequenceTemporary"),function i(s){let l=(0,eG.r)(a);if(126===s)return o>1?r(s):(e.consume(s),o++,i);if(o<2&&!t)return r(s);let c=e.exit("strikethroughSequenceTemporary"),u=(0,eG.r)(s);return c._open=!u||2===u&&!!l,c._close=!l||2===l&&!!u,n(s)}(s))}},resolveAll:function(e,t){let n=-1;for(;++nl&&(l=e[c].length);++ds[d])&&(s[d]=e)}n.push(i)}i[c]=n,o[c]=a}let d=-1;if("object"==typeof n&&"length"in n)for(;++ds[d]&&(s[d]=i),f[d]=i),p[d]=o}i.splice(1,0,p),o.splice(1,0,f),c=-1;let h=[];for(;++c","Iacute":"\xcd","Icirc":"\xce","Igrave":"\xcc","Iuml":"\xcf","LT":"<","Ntilde":"\xd1","Oacute":"\xd3","Ocirc":"\xd4","Ograve":"\xd2","Oslash":"\xd8","Otilde":"\xd5","Ouml":"\xd6","QUOT":"\\"","REG":"\xae","THORN":"\xde","Uacute":"\xda","Ucirc":"\xdb","Ugrave":"\xd9","Uuml":"\xdc","Yacute":"\xdd","aacute":"\xe1","acirc":"\xe2","acute":"\xb4","aelig":"\xe6","agrave":"\xe0","amp":"&","aring":"\xe5","atilde":"\xe3","auml":"\xe4","brvbar":"\xa6","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","eacute":"\xe9","ecirc":"\xea","egrave":"\xe8","eth":"\xf0","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","iacute":"\xed","icirc":"\xee","iexcl":"\xa1","igrave":"\xec","iquest":"\xbf","iuml":"\xef","laquo":"\xab","lt":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","ntilde":"\xf1","oacute":"\xf3","ocirc":"\xf4","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","oslash":"\xf8","otilde":"\xf5","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","raquo":"\xbb","reg":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","thorn":"\xfe","times":"\xd7","uacute":"\xfa","ucirc":"\xfb","ugrave":"\xf9","uml":"\xa8","uuml":"\xfc","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')}},function(e){e.O(0,[3662,7034,6106,8674,3166,2837,2168,8163,1265,7728,2913,3791,5278,9859,4330,4041,8791,5030,5418,2783,3457,1300,4567,2398,2480,7410,7124,9773,4035,1154,2510,3345,9202,7249,3768,5789,9774,2888,179],function(){return e(e.s=58264)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/app/extra/components/auto-plan-c350be2154ec541d.js b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/app/extra/components/auto-plan-79ea6c304d0952b1.js similarity index 99% rename from packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/app/extra/components/auto-plan-c350be2154ec541d.js rename to packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/app/extra/components/auto-plan-79ea6c304d0952b1.js index 7526d121d..5c98ffb69 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/app/extra/components/auto-plan-c350be2154ec541d.js +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/app/extra/components/auto-plan-79ea6c304d0952b1.js @@ -1,4 +1,4 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7537,9618,6231,8424,5265,2640,3913,952],{11475:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},27496:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},94668:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},34971:function(e,t){"use strict";t.Z=function(e,t,n){return en?n:e}},24960:function(e,t,n){"use strict";var r=n(44002);t.Z=function(e){return Array.isArray?Array.isArray(e):(0,r.Z)(e,"Array")}},52176:function(e,t,n){"use strict";var r=n(44002);t.Z=function(e){return(0,r.Z)(e,"Boolean")}},55265:function(e,t){"use strict";t.Z=function(e){return"function"==typeof e}},82993:function(e,t){"use strict";t.Z=function(e){return null==e}},23198:function(e,t,n){"use strict";function r(e,t,n){return void 0===n&&(n=1e-5),Math.abs(e-t)1&&(E*=C=Math.sqrt(C),v*=C);var w=E*E,I=v*v,R=(o===l?-1:1)*Math.sqrt(Math.abs((w*I-w*x*x-I*k*k)/(w*x*x+I*k*k)));m=R*E*x/v+(b+T)/2,g=-(R*v)*k/E+(y+S)/2,f=Math.asin(((y-g)/v*1e9>>0)/1e9),h=Math.asin(((S-g)/v*1e9>>0)/1e9),f=bh&&(f-=2*Math.PI),!l&&h>f&&(h-=2*Math.PI)}var N=h-f;if(Math.abs(N)>A){var L=h,D=T,P=S;_=e(T=m+E*Math.cos(h=f+A*(l&&h>f?1:-1)),S=g+v*Math.sin(h),E,v,i,0,l,D,P,[h,L,m,g])}N=h-f;var M=Math.cos(f),F=Math.cos(h),B=Math.tan(N/4),j=4/3*E*B,U=4/3*v*B,G=[b,y],H=[b+j*Math.sin(f),y-U*M],$=[T+j*Math.sin(h),S-U*F],z=[T,S];if(H[0]=2*G[0]-H[0],H[1]=2*G[1]-H[1],d)return H.concat($,z,_);_=H.concat($,z,_);for(var Z=[],W=0,V=_.length;W7){e[n].shift();for(var r=e[n],a=n;r.length;)t[n]="A",e.splice(a+=1,0,["C"].concat(r.splice(0,6)));e.splice(n,1)}}(d,f,b),m=d.length,"Z"===h&&g.push(b),l=(n=d[b]).length,p.x1=+n[l-2],p.y1=+n[l-1],p.x2=+n[l-4]||p.x1,p.y2=+n[l-3]||p.y1}return t?[d,g]:d}},19586:function(e,t,n){"use strict";n.d(t,{R:function(){return r}});var r={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0}},33554:function(e,t,n){"use strict";n.d(t,{z:function(){return r}});var r={x1:0,y1:0,x2:0,y2:0,x:0,y:0,qx:null,qy:null}},54947:function(e,t,n){"use strict";function r(e){return e.map(function(e){return Array.isArray(e)?[].concat(e):e})}n.d(t,{U:function(){return r}})},94918:function(e,t,n){"use strict";n.d(t,{A:function(){return f}});var r=n(97582),a=n(65336),i=n(33554),o=n(60310),s=n(97153),l=n(19586);function c(e){for(var t=e.pathValue[e.segmentStart],n=t.toLowerCase(),r=e.data;r.length>=l.R[n]&&("m"===n&&r.length>2?(e.segments.push([t].concat(r.splice(0,2))),n="l",t="m"===t?"l":"L"):e.segments.push([t].concat(r.splice(0,l.R[n]))),l.R[n]););}function u(e){return e>=48&&e<=57}function d(e){for(var t,n=e.pathValue,r=e.max;e.index=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].includes(t));)e.index+=1}var p=function(e){this.pathValue=e,this.segments=[],this.max=e.length,this.index=0,this.param=0,this.segmentStart=0,this.data=[],this.err=""};function f(e){if((0,a.y)(e))return[].concat(e);for(var t=function(e){if((0,o.b)(e))return[].concat(e);var t=function(e){if((0,s.n)(e))return[].concat(e);var t=new p(e);for(d(t);t.index0;s-=1){if((32|a)==97&&(3===s||4===s)?function(e){var t=e.index,n=e.pathValue,r=n.charCodeAt(t);if(48===r){e.param=0,e.index+=1;return}if(49===r){e.param=1,e.index+=1;return}e.err='[path-util]: invalid Arc flag "'+n[t]+'", expecting 0 or 1 at index '+t}(e):function(e){var t,n=e.max,r=e.pathValue,a=e.index,i=a,o=!1,s=!1,l=!1,c=!1;if(i>=n){e.err="[path-util]: Invalid path value at index "+i+', "pathValue" is missing param';return}if((43===(t=r.charCodeAt(i))||45===t)&&(i+=1,t=r.charCodeAt(i)),!u(t)&&46!==t){e.err="[path-util]: Invalid path value at index "+i+', "'+r[i]+'" is not a number';return}if(46!==t){if(o=48===t,i+=1,t=r.charCodeAt(i),o&&i=e.max||!((o=n.charCodeAt(e.index))>=48&&o<=57||43===o||45===o||46===o))break}c(e)}(t);return t.err?t.err:t.segments}(e),n=0,r=0,a=0,i=0;return t.map(function(e){var t,o=e.slice(1).map(Number),s=e[0],l=s.toUpperCase();if("M"===s)return n=o[0],r=o[1],a=n,i=r,["M",n,r];if(s!==l)switch(l){case"A":t=[l,o[0],o[1],o[2],o[3],o[4],o[5]+n,o[6]+r];break;case"V":t=[l,o[0]+r];break;case"H":t=[l,o[0]+n];break;default:t=[l].concat(o.map(function(e,t){return e+(t%2?r:n)}))}else t=[l].concat(o);var c=t.length;switch(l){case"Z":n=a,r=i;break;case"H":n=t[1];break;case"V":r=t[1];break;default:n=t[c-2],r=t[c-1],"M"===l&&(a=n,i=r)}return t})}(e),n=(0,r.pi)({},i.z),f=0;f=h[t],m[t]-=g?1:0,g?e.ss:[e.s]}).flat()});return b[0].length===b[1].length?b:e(b[0],b[1],f)}}});var r=n(50944),a=n(51777);function i(e){return e.map(function(e,t,n){var i,o,s,l,c,u,d,p,f,h,m,g,b=t&&n[t-1].slice(-2).concat(e.slice(1)),y=t?(0,a.S)(b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7],b[8],{bbox:!1}).length:0;return g=t?y?(void 0===i&&(i=.5),o=b.slice(0,2),s=b.slice(2,4),l=b.slice(4,6),c=b.slice(6,8),u=(0,r.k)(o,s,i),d=(0,r.k)(s,l,i),p=(0,r.k)(l,c,i),f=(0,r.k)(u,d,i),h=(0,r.k)(d,p,i),m=(0,r.k)(f,h,i),[["C"].concat(u,f,m),["C"].concat(h,p,c)]):[e,e]:[e],{s:e,ss:g,l:y}})}},46516:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var r=n(27872);function a(e){var t,n,a;return t=0,n=0,a=0,(0,r.Y)(e).map(function(e){if("M"===e[0])return t=e[1],n=e[2],0;var r,i,o,s=e.slice(1),l=s[0],c=s[1],u=s[2],d=s[3],p=s[4],f=s[5];return i=t,a=3*((f-(o=n))*(l+u)-(p-i)*(c+d)+c*(i-u)-l*(o-d)+f*(u+i/3)-p*(d+o/3))/20,t=(r=e.slice(-2))[0],n=r[1],a}).reduce(function(e,t){return e+t},0)>=0}},90046:function(e,t,n){"use strict";n.d(t,{r:function(){return i}});var r=n(97582),a=n(10992);function i(e,t,n){return(0,a.s)(e,t,(0,r.pi)((0,r.pi)({},n),{bbox:!1,length:!0})).point}},91952:function(e,t,n){"use strict";n.d(t,{g:function(){return a}});var r=n(58076);function a(e,t){var n,a,i=e.length-1,o=[],s=0,l=(a=(n=e.length)-1,e.map(function(t,r){return e.map(function(t,i){var o=r+i;return 0===i||e[o]&&"M"===e[o][0]?["M"].concat(e[o].slice(-2)):(o>=n&&(o-=a),e[o])})}));return l.forEach(function(n,a){e.slice(1).forEach(function(n,o){s+=(0,r.y)(e[(a+o)%i].slice(-2),t[o%i].slice(-2))}),o[a]=s,s=0}),l[o.indexOf(Math.min.apply(null,o))]}},62436:function(e,t,n){"use strict";n.d(t,{D:function(){return i}});var r=n(97582),a=n(10992);function i(e,t){return(0,a.s)(e,void 0,(0,r.pi)((0,r.pi)({},t),{bbox:!1,length:!0})).length}},60310:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var r=n(97153);function a(e){return(0,r.n)(e)&&e.every(function(e){var t=e[0];return t===t.toUpperCase()})}},65336:function(e,t,n){"use strict";n.d(t,{y:function(){return a}});var r=n(60310);function a(e){return(0,r.b)(e)&&e.every(function(e){var t=e[0];return"ACLMQZ".includes(t)})}},97153:function(e,t,n){"use strict";n.d(t,{n:function(){return a}});var r=n(19586);function a(e){return Array.isArray(e)&&e.every(function(e){var t=e[0].toLowerCase();return r.R[t]===e.length-1&&"achlmqstvz".includes(t)})}},50944:function(e,t,n){"use strict";function r(e,t,n){var r=e[0],a=e[1];return[r+(t[0]-r)*n,a+(t[1]-a)*n]}n.d(t,{k:function(){return r}})},10992:function(e,t,n){"use strict";n.d(t,{s:function(){return c}});var r=n(94918),a=n(50944),i=n(58076);function o(e,t,n,r,o){var s=(0,i.y)([e,t],[n,r]),l={x:0,y:0};if("number"==typeof o){if(o<=0)l={x:e,y:t};else if(o>=s)l={x:n,y:r};else{var c=(0,a.k)([e,t],[n,r],o/s);l={x:c[0],y:c[1]}}}return{length:s,point:l,min:{x:Math.min(e,n),y:Math.min(t,r)},max:{x:Math.max(e,n),y:Math.max(t,r)}}}function s(e,t){var n=e.x,r=e.y,a=t.x,i=t.y,o=Math.sqrt((Math.pow(n,2)+Math.pow(r,2))*(Math.pow(a,2)+Math.pow(i,2)));return(n*i-r*a<0?-1:1)*Math.acos((n*a+r*i)/o)}var l=n(51777);function c(e,t,n){for(var a,c,u,d,p,f,h,m,g,b=(0,r.A)(e),y="number"==typeof t,E=[],v=0,T=0,S=0,A=0,O=[],_=[],k=0,x={x:0,y:0},C=x,w=x,I=x,R=0,N=0,L=b.length;N1&&(b*=m(A),y*=m(A));var O=(Math.pow(b,2)*Math.pow(y,2)-Math.pow(b,2)*Math.pow(S.y,2)-Math.pow(y,2)*Math.pow(S.x,2))/(Math.pow(b,2)*Math.pow(S.y,2)+Math.pow(y,2)*Math.pow(S.x,2)),_=(i!==l?1:-1)*m(O=O<0?0:O),k={x:_*(b*S.y/y),y:_*(-(y*S.x)/b)},x={x:h(E)*k.x-f(E)*k.y+(e+c)/2,y:f(E)*k.x+h(E)*k.y+(t+u)/2},C={x:(S.x-k.x)/b,y:(S.y-k.y)/y},w=s({x:1,y:0},C),I=s(C,{x:(-S.x-k.x)/b,y:(-S.y-k.y)/y});!l&&I>0?I-=2*g:l&&I<0&&(I+=2*g);var R=w+(I%=2*g)*d,N=b*h(R),L=y*f(R);return{x:h(E)*N-f(E)*L+x.x,y:f(E)*N+h(E)*L+x.y}}(e,t,n,r,a,l,c,u,d,w/v)).x,A=h.y,g&&C.push({x:S,y:A}),y&&(O+=(0,i.y)(k,[S,A])),k=[S,A],T&&O>=p&&p>_[2]){var I=(O-p)/(O-_[2]);x={x:k[0]*(1-I)+_[0]*I,y:k[1]*(1-I)+_[1]*I}}_=[S,A,O]}return T&&p>=O&&(x={x:u,y:d}),{length:O,point:x,min:{x:Math.min.apply(null,C.map(function(e){return e.x})),y:Math.min.apply(null,C.map(function(e){return e.y}))},max:{x:Math.max.apply(null,C.map(function(e){return e.x})),y:Math.max.apply(null,C.map(function(e){return e.y}))}}}(E[0],E[1],E[2],E[3],E[4],E[5],E[6],E[7],E[8],(t||0)-R,n||{})).length,x=c.min,C=c.max,w=c.point):"C"===m?(k=(u=(0,l.S)(E[0],E[1],E[2],E[3],E[4],E[5],E[6],E[7],(t||0)-R,n||{})).length,x=u.min,C=u.max,w=u.point):"Q"===m?(k=(d=function(e,t,n,r,a,o,s,l){var c,u=l.bbox,d=void 0===u||u,p=l.length,f=void 0===p||p,h=l.sampleSize,m=void 0===h?10:h,g="number"==typeof s,b=e,y=t,E=0,v=[b,y,0],T=[b,y],S={x:0,y:0},A=[{x:b,y:y}];g&&s<=0&&(S={x:b,y:y});for(var O=0;O<=m;O+=1){if(b=(c=function(e,t,n,r,a,i,o){var s=1-o;return{x:Math.pow(s,2)*e+2*s*o*n+Math.pow(o,2)*a,y:Math.pow(s,2)*t+2*s*o*r+Math.pow(o,2)*i}}(e,t,n,r,a,o,O/m)).x,y=c.y,d&&A.push({x:b,y:y}),f&&(E+=(0,i.y)(T,[b,y])),T=[b,y],g&&E>=s&&s>v[2]){var _=(E-s)/(E-v[2]);S={x:T[0]*(1-_)+v[0]*_,y:T[1]*(1-_)+v[1]*_}}v=[b,y,E]}return g&&s>=E&&(S={x:a,y:o}),{length:E,point:S,min:{x:Math.min.apply(null,A.map(function(e){return e.x})),y:Math.min.apply(null,A.map(function(e){return e.y}))},max:{x:Math.max.apply(null,A.map(function(e){return e.x})),y:Math.max.apply(null,A.map(function(e){return e.y}))}}}(E[0],E[1],E[2],E[3],E[4],E[5],(t||0)-R,n||{})).length,x=d.min,C=d.max,w=d.point):"Z"===m&&(k=(p=o((E=[v,T,S,A])[0],E[1],E[2],E[3],(t||0)-R)).length,x=p.min,C=p.max,w=p.point),y&&R=t&&(I=w),_.push(C),O.push(x),R+=k,v=(f="Z"!==m?g.slice(-2):[S,A])[0],T=f[1];return y&&t>=R&&(I={x:v,y:T}),{length:R,point:I,min:{x:Math.min.apply(null,O.map(function(e){return e.x})),y:Math.min.apply(null,O.map(function(e){return e.y}))},max:{x:Math.max.apply(null,_.map(function(e){return e.x})),y:Math.max.apply(null,_.map(function(e){return e.y}))}}}},51777:function(e,t,n){"use strict";n.d(t,{S:function(){return a}});var r=n(58076);function a(e,t,n,a,i,o,s,l,c,u){var d,p=u.bbox,f=void 0===p||p,h=u.length,m=void 0===h||h,g=u.sampleSize,b=void 0===g?10:g,y="number"==typeof c,E=e,v=t,T=0,S=[E,v,0],A=[E,v],O={x:0,y:0},_=[{x:E,y:v}];y&&c<=0&&(O={x:E,y:v});for(var k=0;k<=b;k+=1){if(E=(d=function(e,t,n,r,a,i,o,s,l){var c=1-l;return{x:Math.pow(c,3)*e+3*Math.pow(c,2)*l*n+3*c*Math.pow(l,2)*a+Math.pow(l,3)*o,y:Math.pow(c,3)*t+3*Math.pow(c,2)*l*r+3*c*Math.pow(l,2)*i+Math.pow(l,3)*s}}(e,t,n,a,i,o,s,l,k/b)).x,v=d.y,f&&_.push({x:E,y:v}),m&&(T+=(0,r.y)(A,[E,v])),A=[E,v],y&&T>=c&&c>S[2]){var x=(T-c)/(T-S[2]);O={x:A[0]*(1-x)+S[0]*x,y:A[1]*(1-x)+S[1]*x}}S=[E,v,T]}return y&&c>=T&&(O={x:s,y:l}),{length:T,point:O,min:{x:Math.min.apply(null,_.map(function(e){return e.x})),y:Math.min.apply(null,_.map(function(e){return e.y}))},max:{x:Math.max.apply(null,_.map(function(e){return e.x})),y:Math.max.apply(null,_.map(function(e){return e.y}))}}}},4503:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function i(e,t,r,i,o){if("function"!=typeof r)throw TypeError("The listener must be a function");var s=new a(r,i||e,o),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function o(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,a=[];if(0===this._eventsCount)return a;for(r in e=this._events)t.call(e,r)&&a.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?a.concat(Object.getOwnPropertySymbols(e)):a},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var a=0,i=r.length,o=Array(i);at.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let o="text/event-stream",s="last-event-id";function l(e,t){var{signal:n,headers:l,onopen:u,onmessage:d,onclose:p,onerror:f,openWhenHidden:h,fetch:m}=t,g=i(t,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((t,i)=>{let b;let y=Object.assign({},l);function E(){b.abort(),document.hidden||_()}y.accept||(y.accept=o),h||document.addEventListener("visibilitychange",E);let v=1e3,T=0;function S(){document.removeEventListener("visibilitychange",E),window.clearTimeout(T),b.abort()}null==n||n.addEventListener("abort",()=>{S(),t()});let A=null!=m?m:window.fetch,O=null!=u?u:c;async function _(){var n,o;b=new AbortController;try{let n,i,l,c;let u=await A(e,Object.assign(Object.assign({},g),{headers:y,signal:b.signal}));await O(u),await r(u.body,(o=function(e,t,n){let r=a(),i=new TextDecoder;return function(o,s){if(0===o.length)null==n||n(r),r=a();else if(s>0){let n=i.decode(o.subarray(0,s)),a=s+(32===o[s+1]?2:1),l=i.decode(o.subarray(a));switch(n){case"data":r.data=r.data?r.data+"\n"+l:l;break;case"event":r.event=l;break;case"id":e(r.id=l);break;case"retry":let c=parseInt(l,10);isNaN(c)||t(r.retry=c)}}}}(e=>{e?y[s]=e:delete y[s]},e=>{v=e},d),c=!1,function(e){void 0===n?(n=e,i=0,l=-1):n=function(e,t){let n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}(n,e);let t=n.length,r=0;for(;i=n?k.text.primary:_.text.primary;return t}let w=({color:e,name:t,mainShade:n=500,lightShade:i=300,darkShade:o=700})=>{if(!(e=(0,r.Z)({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw Error((0,u.Z)(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw Error((0,u.Z)(12,t?` (${t})`:"",JSON.stringify(e.main)));return x(e,"light",i,a),x(e,"dark",o,a),e.contrastText||(e.contrastText=C(e.main)),e},I=(0,d.Z)((0,r.Z)({common:(0,r.Z)({},g),mode:t,primary:w({color:s,name:"primary"}),secondary:w({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:w({color:c,name:"error"}),warning:w({color:h,name:"warning"}),info:w({color:p,name:"info"}),success:w({color:f,name:"success"}),grey:b,contrastThreshold:n,getContrastText:C,augmentColor:w,tonalOffset:a},{dark:k,light:_}[t]),o);return I}(a),R=(0,h.Z)(e),U=(0,d.Z)(R,{mixins:(t=R.breakpoints,(0,r.Z)({toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}}},n)),palette:c,shadows:N.slice(),typography:function(e,t){let n="function"==typeof t?t(e):t,{fontFamily:a=I,fontSize:o=14,fontWeightLight:s=300,fontWeightRegular:l=400,fontWeightMedium:c=500,fontWeightBold:u=700,htmlFontSize:p=16,allVariants:f,pxToRem:h}=n,m=(0,i.Z)(n,C),g=o/14,b=h||(e=>`${e/p*g}rem`),y=(e,t,n,i,o)=>(0,r.Z)({fontFamily:a,fontWeight:e,fontSize:b(t),lineHeight:n},a===I?{letterSpacing:`${Math.round(1e5*(i/t))/1e5}em`}:{},o,f),E={h1:y(s,96,1.167,-1.5),h2:y(s,60,1.2,-.5),h3:y(l,48,1.167,0),h4:y(l,34,1.235,.25),h5:y(l,24,1.334,0),h6:y(c,20,1.6,.15),subtitle1:y(l,16,1.75,.15),subtitle2:y(c,14,1.57,.1),body1:y(l,16,1.5,.15),body2:y(l,14,1.43,.15),button:y(c,14,1.75,.4,w),caption:y(l,12,1.66,.4),overline:y(l,12,2.66,1,w),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,d.Z)((0,r.Z)({htmlFontSize:p,pxToRem:b,fontFamily:a,fontSize:o,fontWeightLight:s,fontWeightRegular:l,fontWeightMedium:c,fontWeightBold:u},E),m,{clone:!1})}(c,s),transitions:function(e){let t=(0,r.Z)({},D,e.easing),n=(0,r.Z)({},P,e.duration);return(0,r.Z)({getAutoHeightDuration:F,create:(e=["all"],r={})=>{let{duration:a=n.standard,easing:o=t.easeInOut,delay:s=0}=r;return(0,i.Z)(r,L),(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof a?a:M(a)} ${o} ${"string"==typeof s?s:M(s)}`).join(",")}},e,{easing:t,duration:n})}(o),zIndex:(0,r.Z)({},B)});return(U=[].reduce((e,t)=>(0,d.Z)(e,t),U=(0,d.Z)(U,l))).unstable_sxConfig=(0,r.Z)({},p.Z,null==l?void 0:l.unstable_sxConfig),U.unstable_sx=function(e){return(0,f.Z)({sx:e,theme:this})},U}();var G="$$material",H=n(58128);let $=(0,H.ZP)({themeId:G,defaultTheme:U,rootShouldForwardProp:e=>"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e&&"classes"!==e});var z=n(1977),Z=n(8027);function W(e){return(0,Z.ZP)("MuiSvgIcon",e)}(0,z.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var V=n(85893);let Y=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],q=e=>{let{color:t,fontSize:n,classes:r}=e,a={root:["root","inherit"!==t&&`color${l(t)}`,`fontSize${l(n)}`]};return(0,s.Z)(a,W,r)},K=$("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${l(n.color)}`],t[`fontSize${l(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,a,i,o,s,l,c,u,d,p,f,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(a=e.transitions)||null==(a=a.duration)?void 0:a.shorter}),fontSize:({inherit:"inherit",small:(null==(i=e.typography)||null==(o=i.pxToRem)?void 0:o.call(i,20))||"1.25rem",medium:(null==(s=e.typography)||null==(l=s.pxToRem)?void 0:l.call(s,24))||"1.5rem",large:(null==(c=e.typography)||null==(u=c.pxToRem)?void 0:u.call(c,35))||"2.1875rem"})[t.fontSize],color:null!=(d=null==(p=(e.vars||e).palette)||null==(p=p[t.color])?void 0:p.main)?d:({action:null==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.active,disabled:null==(h=(e.vars||e).palette)||null==(h=h.action)?void 0:h.disabled,inherit:void 0})[t.color]}}),X=a.forwardRef(function(e,t){let n=function({props:e,name:t}){return(0,c.Z)({props:e,name:t,defaultTheme:U,themeId:G})}({props:e,name:"MuiSvgIcon"}),{children:s,className:l,color:u="inherit",component:d="svg",fontSize:p="medium",htmlColor:f,inheritViewBox:h=!1,titleAccess:m,viewBox:g="0 0 24 24"}=n,b=(0,i.Z)(n,Y),y=a.isValidElement(s)&&"svg"===s.type,E=(0,r.Z)({},n,{color:u,component:d,fontSize:p,instanceFontSize:e.fontSize,inheritViewBox:h,viewBox:g,hasSvgAsChild:y}),v={};h||(v.viewBox=g);let T=q(E);return(0,V.jsxs)(K,(0,r.Z)({as:d,className:(0,o.Z)(T.root,l),focusable:"false",color:f,"aria-hidden":!m||void 0,role:m?"img":void 0,ref:t},v,b,y&&s.props,{ownerState:E,children:[y?s.props.children:s,m?(0,V.jsx)("title",{children:m}):null]}))});function Q(e,t){function n(n,a){return(0,V.jsx)(X,(0,r.Z)({"data-testid":`${t}Icon`,ref:a},n,{children:e}))}return n.muiName=X.muiName,a.memo(a.forwardRef(n))}X.muiName="SvgIcon"},2101:function(e,t,n){"use strict";var r=n(64836);t._j=function(e,t){if(e=s(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return l(e)},t.mi=function(e,t){let n=c(e),r=c(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)},t.$n=function(e,t){if(e=s(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return l(e)};var a=r(n(743)),i=r(n(49425));function o(e,t=0,n=1){return(0,i.default)(e,t,n)}function s(e){let t;if(e.type)return e;if("#"===e.charAt(0))return s(function(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map(e=>e+e)),n?`rgb${4===n.length?"a":""}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));let n=e.indexOf("("),r=e.substring(0,n);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw Error((0,a.default)(9,e));let i=e.substring(n+1,e.length-1);if("color"===r){if(t=(i=i.split(" ")).shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(t))throw Error((0,a.default)(10,t))}else i=i.split(",");return{type:r,values:i=i.map(e=>parseFloat(e)),colorSpace:t}}function l(e){let{type:t,colorSpace:n}=e,{values:r}=e;return -1!==t.indexOf("rgb")?r=r.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),`${t}(${r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`})`}function c(e){let t="hsl"===(e=s(e)).type||"hsla"===e.type?s(function(e){e=s(e);let{values:t}=e,n=t[0],r=t[1]/100,a=t[2]/100,i=r*Math.min(a,1-a),o=(e,t=(e+n/30)%12)=>a-i*Math.max(Math.min(t-3,9-t,1),-1),c="rgb",u=[Math.round(255*o(0)),Math.round(255*o(8)),Math.round(255*o(4))];return"hsla"===e.type&&(c+="a",u.push(t[3])),l({type:c,values:u})}(e)).values:e.values;return Number((.2126*(t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)))[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}},58128:function(e,t,n){"use strict";var r=n(64836);t.ZP=function(e={}){let{themeId:t,defaultTheme:n=m,rootShouldForwardProp:r=h,slotShouldForwardProp:l=h}=e,u=e=>(0,c.default)((0,a.default)({},e,{theme:b((0,a.default)({},e,{defaultTheme:n,themeId:t}))}));return u.__mui_systemSx=!0,(e,c={})=>{var d;let f;(0,o.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));let{name:m,slot:E,skipVariantsResolver:v,skipSx:T,overridesResolver:S=(d=g(E))?(e,t)=>t[d]:null}=c,A=(0,i.default)(c,p),O=void 0!==v?v:E&&"Root"!==E&&"root"!==E||!1,_=T||!1,k=h;"Root"===E||"root"===E?k=r:E?k=l:"string"==typeof e&&e.charCodeAt(0)>96&&(k=void 0);let x=(0,o.default)(e,(0,a.default)({shouldForwardProp:k,label:f},A)),C=e=>"function"==typeof e&&e.__emotion_real!==e||(0,s.isPlainObject)(e)?r=>y(e,(0,a.default)({},r,{theme:b({theme:r.theme,defaultTheme:n,themeId:t})})):e,w=(r,...i)=>{let o=C(r),s=i?i.map(C):[];m&&S&&s.push(e=>{let r=b((0,a.default)({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[m]||!r.components[m].styleOverrides)return null;let i=r.components[m].styleOverrides,o={};return Object.entries(i).forEach(([t,n])=>{o[t]=y(n,(0,a.default)({},e,{theme:r}))}),S(e,o)}),m&&!O&&s.push(e=>{var r;let i=b((0,a.default)({},e,{defaultTheme:n,themeId:t})),o=null==i||null==(r=i.components)||null==(r=r[m])?void 0:r.variants;return y({variants:o},(0,a.default)({},e,{theme:i}))}),_||s.push(u);let l=s.length-i.length;if(Array.isArray(r)&&l>0){let e=Array(l).fill("");(o=[...r,...e]).raw=[...r.raw,...e]}let c=x(o,...s);return e.muiName&&(c.muiName=e.muiName),c};return x.withConfig&&(w.withConfig=x.withConfig),w}};var a=r(n(10434)),i=r(n(7071)),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(23534)),s=n(211);r(n(99698)),r(n(37889));var l=r(n(19926)),c=r(n(386));let u=["ownerState"],d=["variants"],p=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function h(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}let m=(0,l.default)(),g=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function b({defaultTheme:e,theme:t,themeId:n}){return 0===Object.keys(t).length?e:t[n]||t}function y(e,t){let{ownerState:n}=t,r=(0,i.default)(t,u),o="function"==typeof e?e((0,a.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(e=>y(e,(0,a.default)({ownerState:n},r)));if(o&&"object"==typeof o&&Array.isArray(o.variants)){let{variants:e=[]}=o,t=(0,i.default)(o,d),s=t;return e.forEach(e=>{let t=!0;"function"==typeof e.props?t=e.props((0,a.default)({ownerState:n},r,n)):Object.keys(e.props).forEach(a=>{(null==n?void 0:n[a])!==e.props[a]&&r[a]!==e.props[a]&&(t=!1)}),t&&(Array.isArray(s)||(s=[s]),s.push("function"==typeof e.style?e.style((0,a.default)({ownerState:n},r,n)):e.style))}),s}return o}},19926:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},private_createBreakpoints:function(){return a.Z},unstable_applyStyles:function(){return i.Z}});var r=n(88647),a=n(41512),i=n(57064)},386:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},extendSxProp:function(){return a.Z},unstable_createStyleFunctionSx:function(){return r.n},unstable_defaultSxConfig:function(){return i.Z}});var r=n(86523),a=n(39707),i=n(44920)},99698:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(62908)},49425:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r}});var r=function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}},211:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},isPlainObject:function(){return r.P}});var r=n(68027)},743:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(78758)},37889:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return l},getFunctionName:function(){return i}});var r=n(59864);let a=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function i(e){let t=`${e}`.match(a),n=t&&t[1];return n||""}function o(e,t=""){return e.displayName||e.name||i(e)||t}function s(e,t,n){let r=o(t);return e.displayName||(""!==r?`${n}(${r})`:n)}function l(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return o(e,"Component");if("object"==typeof e)switch(e.$$typeof){case r.ForwardRef:return s(e,e.render,"ForwardRef");case r.Memo:return s(e,e.type,"memo")}}}},2093:function(e,t,n){"use strict";var r=n(97582),a=n(67294),i=n(92770);t.Z=function(e,t){(0,a.useEffect)(function(){var t=e(),n=!1;return!function(){(0,r.mG)(this,void 0,void 0,function(){return(0,r.Jh)(this,function(e){switch(e.label){case 0:if(!(0,i.mf)(t[Symbol.asyncIterator]))return[3,4];e.label=1;case 1:return[4,t.next()];case 2:if(e.sent().done||n)return[3,3];return[3,1];case 3:return[3,6];case 4:return[4,t];case 5:e.sent(),e.label=6;case 6:return[2]}})})}(),function(){n=!0}},t)}},85265:function(e,t,n){"use strict";n.d(t,{Z:function(){return q}});var r=n(67294),a=n(93967),i=n.n(a),o=n(1413),s=n(97685),l=n(2788),c=n(8410),u=r.createContext(null),d=r.createContext({}),p=n(4942),f=n(87462),h=n(29372),m=n(15105),g=n(64217),b=n(45987),y=n(42550),E=["prefixCls","className","containerRef"],v=function(e){var t=e.prefixCls,n=e.className,a=e.containerRef,o=(0,b.Z)(e,E),s=r.useContext(d).panel,l=(0,y.x1)(s,a);return r.createElement("div",(0,f.Z)({className:i()("".concat(t,"-content"),n),role:"dialog",ref:l},(0,g.Z)(e,{aria:!0}),{"aria-modal":"true"},o))},T=n(80334);function S(e){return"string"==typeof e&&String(Number(e))===e?((0,T.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var A={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"},O=r.forwardRef(function(e,t){var n,a,l,c=e.prefixCls,d=e.open,b=e.placement,y=e.inline,E=e.push,T=e.forceRender,O=e.autoFocus,_=e.keyboard,k=e.classNames,x=e.rootClassName,C=e.rootStyle,w=e.zIndex,I=e.className,R=e.id,N=e.style,L=e.motion,D=e.width,P=e.height,M=e.children,F=e.mask,B=e.maskClosable,j=e.maskMotion,U=e.maskClassName,G=e.maskStyle,H=e.afterOpenChange,$=e.onClose,z=e.onMouseEnter,Z=e.onMouseOver,W=e.onMouseLeave,V=e.onClick,Y=e.onKeyDown,q=e.onKeyUp,K=e.styles,X=e.drawerRender,Q=r.useRef(),J=r.useRef(),ee=r.useRef();r.useImperativeHandle(t,function(){return Q.current}),r.useEffect(function(){if(d&&O){var e;null===(e=Q.current)||void 0===e||e.focus({preventScroll:!0})}},[d]);var et=r.useState(!1),en=(0,s.Z)(et,2),er=en[0],ea=en[1],ei=r.useContext(u),eo=null!==(n=null!==(a=null===(l="boolean"==typeof E?E?{}:{distance:0}:E||{})||void 0===l?void 0:l.distance)&&void 0!==a?a:null==ei?void 0:ei.pushDistance)&&void 0!==n?n:180,es=r.useMemo(function(){return{pushDistance:eo,push:function(){ea(!0)},pull:function(){ea(!1)}}},[eo]);r.useEffect(function(){var e,t;d?null==ei||null===(e=ei.push)||void 0===e||e.call(ei):null==ei||null===(t=ei.pull)||void 0===t||t.call(ei)},[d]),r.useEffect(function(){return function(){var e;null==ei||null===(e=ei.pull)||void 0===e||e.call(ei)}},[]);var el=F&&r.createElement(h.ZP,(0,f.Z)({key:"mask"},j,{visible:d}),function(e,t){var n=e.className,a=e.style;return r.createElement("div",{className:i()("".concat(c,"-mask"),n,null==k?void 0:k.mask,U),style:(0,o.Z)((0,o.Z)((0,o.Z)({},a),G),null==K?void 0:K.mask),onClick:B&&d?$:void 0,ref:t})}),ec="function"==typeof L?L(b):L,eu={};if(er&&eo)switch(b){case"top":eu.transform="translateY(".concat(eo,"px)");break;case"bottom":eu.transform="translateY(".concat(-eo,"px)");break;case"left":eu.transform="translateX(".concat(eo,"px)");break;default:eu.transform="translateX(".concat(-eo,"px)")}"left"===b||"right"===b?eu.width=S(D):eu.height=S(P);var ed={onMouseEnter:z,onMouseOver:Z,onMouseLeave:W,onClick:V,onKeyDown:Y,onKeyUp:q},ep=r.createElement(h.ZP,(0,f.Z)({key:"panel"},ec,{visible:d,forceRender:T,onVisibleChanged:function(e){null==H||H(e)},removeOnLeave:!1,leavedClassName:"".concat(c,"-content-wrapper-hidden")}),function(t,n){var a=t.className,s=t.style,l=r.createElement(v,(0,f.Z)({id:R,containerRef:n,prefixCls:c,className:i()(I,null==k?void 0:k.content),style:(0,o.Z)((0,o.Z)({},N),null==K?void 0:K.content)},(0,g.Z)(e,{aria:!0}),ed),M);return r.createElement("div",(0,f.Z)({className:i()("".concat(c,"-content-wrapper"),null==k?void 0:k.wrapper,a),style:(0,o.Z)((0,o.Z)((0,o.Z)({},eu),s),null==K?void 0:K.wrapper)},(0,g.Z)(e,{data:!0})),X?X(l):l)}),ef=(0,o.Z)({},C);return w&&(ef.zIndex=w),r.createElement(u.Provider,{value:es},r.createElement("div",{className:i()(c,"".concat(c,"-").concat(b),x,(0,p.Z)((0,p.Z)({},"".concat(c,"-open"),d),"".concat(c,"-inline"),y)),style:ef,tabIndex:-1,ref:Q,onKeyDown:function(e){var t,n,r=e.keyCode,a=e.shiftKey;switch(r){case m.Z.TAB:r===m.Z.TAB&&(a||document.activeElement!==ee.current?a&&document.activeElement===J.current&&(null===(n=ee.current)||void 0===n||n.focus({preventScroll:!0})):null===(t=J.current)||void 0===t||t.focus({preventScroll:!0}));break;case m.Z.ESC:$&&_&&(e.stopPropagation(),$(e))}}},el,r.createElement("div",{tabIndex:0,ref:J,style:A,"aria-hidden":"true","data-sentinel":"start"}),ep,r.createElement("div",{tabIndex:0,ref:ee,style:A,"aria-hidden":"true","data-sentinel":"end"})))}),_=function(e){var t=e.open,n=e.prefixCls,a=e.placement,i=e.autoFocus,u=e.keyboard,p=e.width,f=e.mask,h=void 0===f||f,m=e.maskClosable,g=e.getContainer,b=e.forceRender,y=e.afterOpenChange,E=e.destroyOnClose,v=e.onMouseEnter,T=e.onMouseOver,S=e.onMouseLeave,A=e.onClick,_=e.onKeyDown,k=e.onKeyUp,x=e.panelRef,C=r.useState(!1),w=(0,s.Z)(C,2),I=w[0],R=w[1],N=r.useState(!1),L=(0,s.Z)(N,2),D=L[0],P=L[1];(0,c.Z)(function(){P(!0)},[]);var M=!!D&&void 0!==t&&t,F=r.useRef(),B=r.useRef();(0,c.Z)(function(){M&&(B.current=document.activeElement)},[M]);var j=r.useMemo(function(){return{panel:x}},[x]);if(!b&&!I&&!M&&E)return null;var U=(0,o.Z)((0,o.Z)({},e),{},{open:M,prefixCls:void 0===n?"rc-drawer":n,placement:void 0===a?"right":a,autoFocus:void 0===i||i,keyboard:void 0===u||u,width:void 0===p?378:p,mask:h,maskClosable:void 0===m||m,inline:!1===g,afterOpenChange:function(e){var t,n;R(e),null==y||y(e),e||!B.current||null!==(t=F.current)&&void 0!==t&&t.contains(B.current)||null===(n=B.current)||void 0===n||n.focus({preventScroll:!0})},ref:F},{onMouseEnter:v,onMouseOver:T,onMouseLeave:S,onClick:A,onKeyDown:_,onKeyUp:k});return r.createElement(d.Provider,{value:j},r.createElement(l.Z,{open:M||b||I,autoDestroy:!1,getContainer:g,autoLock:h&&(M||I)},r.createElement(O,U)))},k=n(89942),x=n(87263),C=n(33603),w=n(43945),I=n(53124),R=n(16569),N=n(69760),L=n(48054),D=e=>{var t,n;let{prefixCls:a,title:o,footer:s,extra:l,loading:c,onClose:u,headerStyle:d,bodyStyle:p,footerStyle:f,children:h,classNames:m,styles:g}=e,{drawer:b}=r.useContext(I.E_),y=r.useCallback(e=>r.createElement("button",{type:"button",onClick:u,"aria-label":"Close",className:`${a}-close`},e),[u]),[E,v]=(0,N.Z)((0,N.w)(e),(0,N.w)(b),{closable:!0,closeIconRender:y}),T=r.useMemo(()=>{var e,t;return o||E?r.createElement("div",{style:Object.assign(Object.assign(Object.assign({},null===(e=null==b?void 0:b.styles)||void 0===e?void 0:e.header),d),null==g?void 0:g.header),className:i()(`${a}-header`,{[`${a}-header-close-only`]:E&&!o&&!l},null===(t=null==b?void 0:b.classNames)||void 0===t?void 0:t.header,null==m?void 0:m.header)},r.createElement("div",{className:`${a}-header-title`},v,o&&r.createElement("div",{className:`${a}-title`},o)),l&&r.createElement("div",{className:`${a}-extra`},l)):null},[E,v,l,d,a,o]),S=r.useMemo(()=>{var e,t;if(!s)return null;let n=`${a}-footer`;return r.createElement("div",{className:i()(n,null===(e=null==b?void 0:b.classNames)||void 0===e?void 0:e.footer,null==m?void 0:m.footer),style:Object.assign(Object.assign(Object.assign({},null===(t=null==b?void 0:b.styles)||void 0===t?void 0:t.footer),f),null==g?void 0:g.footer)},s)},[s,f,a]);return r.createElement(r.Fragment,null,T,r.createElement("div",{className:i()(`${a}-body`,null==m?void 0:m.body,null===(t=null==b?void 0:b.classNames)||void 0===t?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},null===(n=null==b?void 0:b.styles)||void 0===n?void 0:n.body),p),null==g?void 0:g.body)},c?r.createElement(L.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${a}-body-skeleton`}):h),S)},P=n(25446),M=n(14747),F=n(83559),B=n(83262);let j=e=>{let t="100%";return({left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`})[e]},U=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),G=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}}},U({opacity:e},{opacity:1})),H=(e,t)=>[G(.7,t),U({transform:j(e)},{transform:"none"})];var $=e=>{let{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:G(0,n),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce((e,t)=>Object.assign(Object.assign({},e),{[`&-${t}`]:H(t,n)}),{})}}};let z=e=>{let{borderRadiusSM:t,componentCls:n,zIndexPopup:r,colorBgMask:a,colorBgElevated:i,motionDurationSlow:o,motionDurationMid:s,paddingXS:l,padding:c,paddingLG:u,fontSizeLG:d,lineHeightLG:p,lineWidth:f,lineType:h,colorSplit:m,marginXS:g,colorIcon:b,colorIconHover:y,colorBgTextHover:E,colorBgTextActive:v,colorText:T,fontWeightStrong:S,footerPaddingBlock:A,footerPaddingInline:O,calc:_}=e,k=`${n}-content-wrapper`;return{[n]:{position:"fixed",inset:0,zIndex:r,pointerEvents:"none",color:T,"&-pure":{position:"relative",background:i,display:"flex",flexDirection:"column",[`&${n}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${n}-mask`]:{position:"absolute",inset:0,zIndex:r,background:a,pointerEvents:"auto"},[k]:{position:"absolute",zIndex:r,maxWidth:"100vw",transition:`all ${o}`,"&-hidden":{display:"none"}},[`&-left > ${k}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${k}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${k}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${k}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${n}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:i,pointerEvents:"auto"},[`${n}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,P.bf)(c)} ${(0,P.bf)(u)}`,fontSize:d,lineHeight:p,borderBottom:`${(0,P.bf)(f)} ${h} ${m}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:"none"},[`${n}-close`]:Object.assign({display:"inline-flex",width:_(d).add(l).equal(),height:_(d).add(l).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",marginInlineEnd:g,color:b,fontWeight:S,fontSize:d,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${s}`,textRendering:"auto","&:hover":{color:y,backgroundColor:E,textDecoration:"none"},"&:active":{backgroundColor:v}},(0,M.Qy)(e)),[`${n}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:d,lineHeight:p},[`${n}-body`]:{flex:1,minWidth:0,minHeight:0,padding:u,overflow:"auto",[`${n}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${n}-footer`]:{flexShrink:0,padding:`${(0,P.bf)(A)} ${(0,P.bf)(O)}`,borderTop:`${(0,P.bf)(f)} ${h} ${m}`},"&-rtl":{direction:"rtl"}}}};var Z=(0,F.I$)("Drawer",e=>{let t=(0,B.IX)(e,{});return[z(t),$(t)]},e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding})),W=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let V={distance:180},Y=e=>{let{rootClassName:t,width:n,height:a,size:o="default",mask:s=!0,push:l=V,open:c,afterOpenChange:u,onClose:d,prefixCls:p,getContainer:f,style:h,className:m,visible:g,afterVisibleChange:b,maskStyle:y,drawerStyle:E,contentWrapperStyle:v}=e,T=W(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:S,getPrefixCls:A,direction:O,drawer:N}=r.useContext(I.E_),L=A("drawer",p),[P,M,F]=Z(L),B=void 0===f&&S?()=>S(document.body):f,j=i()({"no-mask":!s,[`${L}-rtl`]:"rtl"===O},t,M,F),U=r.useMemo(()=>null!=n?n:"large"===o?736:378,[n,o]),G=r.useMemo(()=>null!=a?a:"large"===o?736:378,[a,o]),H={motionName:(0,C.m)(L,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},$=(0,R.H)(),[z,Y]=(0,x.Cn)("Drawer",T.zIndex),{classNames:q={},styles:K={}}=T,{classNames:X={},styles:Q={}}=N||{};return P(r.createElement(k.Z,{form:!0,space:!0},r.createElement(w.Z.Provider,{value:Y},r.createElement(_,Object.assign({prefixCls:L,onClose:d,maskMotion:H,motion:e=>({motionName:(0,C.m)(L,`panel-motion-${e}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500})},T,{classNames:{mask:i()(q.mask,X.mask),content:i()(q.content,X.content),wrapper:i()(q.wrapper,X.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},K.mask),y),Q.mask),content:Object.assign(Object.assign(Object.assign({},K.content),E),Q.content),wrapper:Object.assign(Object.assign(Object.assign({},K.wrapper),v),Q.wrapper)},open:null!=c?c:g,mask:s,push:l,width:U,height:G,style:Object.assign(Object.assign({},null==N?void 0:N.style),h),className:i()(null==N?void 0:N.className,m),rootClassName:j,getContainer:B,afterOpenChange:null!=u?u:b,panelRef:$,zIndex:z}),r.createElement(D,Object.assign({prefixCls:L},T,{onClose:d}))))))};Y._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,style:n,className:a,placement:o="right"}=e,s=W(e,["prefixCls","style","className","placement"]),{getPrefixCls:l}=r.useContext(I.E_),c=l("drawer",t),[u,d,p]=Z(c),f=i()(c,`${c}-pure`,`${c}-${o}`,d,p,a);return u(r.createElement("div",{className:f,style:n},r.createElement(D,Object.assign({prefixCls:c},s))))};var q=Y},86250:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r=n(67294),a=n(93967),i=n.n(a),o=n(98423),s=n(98065),l=n(53124),c=n(83559),u=n(83262);let d=["wrap","nowrap","wrap-reverse"],p=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],f=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],h=(e,t)=>{let n=!0===t.wrap?"wrap":t.wrap;return{[`${e}-wrap-${n}`]:n&&d.includes(n)}},m=(e,t)=>{let n={};return f.forEach(r=>{n[`${e}-align-${r}`]=t.align===r}),n[`${e}-align-stretch`]=!t.align&&!!t.vertical,n},g=(e,t)=>{let n={};return p.forEach(r=>{n[`${e}-justify-${r}`]=t.justify===r}),n},b=e=>{let{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},y=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},E=e=>{let{componentCls:t}=e,n={};return d.forEach(e=>{n[`${t}-wrap-${e}`]={flexWrap:e}}),n},v=e=>{let{componentCls:t}=e,n={};return f.forEach(e=>{n[`${t}-align-${e}`]={alignItems:e}}),n},T=e=>{let{componentCls:t}=e,n={};return p.forEach(e=>{n[`${t}-justify-${e}`]={justifyContent:e}}),n};var S=(0,c.I$)("Flex",e=>{let{paddingXS:t,padding:n,paddingLG:r}=e,a=(0,u.IX)(e,{flexGapSM:t,flexGap:n,flexGapLG:r});return[b(a),y(a),E(a),v(a),T(a)]},()=>({}),{resetStyle:!1}),A=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let O=r.forwardRef((e,t)=>{let{prefixCls:n,rootClassName:a,className:c,style:u,flex:d,gap:p,children:f,vertical:b=!1,component:y="div"}=e,E=A(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:v,direction:T,getPrefixCls:O}=r.useContext(l.E_),_=O("flex",n),[k,x,C]=S(_),w=null!=b?b:null==v?void 0:v.vertical,I=i()(c,a,null==v?void 0:v.className,_,x,C,i()(Object.assign(Object.assign(Object.assign({},h(_,e)),m(_,e)),g(_,e))),{[`${_}-rtl`]:"rtl"===T,[`${_}-gap-${p}`]:(0,s.n)(p),[`${_}-vertical`]:w}),R=Object.assign(Object.assign({},null==v?void 0:v.style),u);return d&&(R.flex=d),p&&!(0,s.n)(p)&&(R.gap=p),k(r.createElement(y,Object.assign({ref:t,className:I,style:R},(0,o.Z)(E,["justify","wrap","align"])),f))});var _=O},57020:function(e,t,n){"use strict";n.d(t,{Z:function(){return eT}});var r=n(67294),a=n(99611),i=n(93967),o=n.n(i),s=n(87462),l=n(1413),c=n(4942),u=n(97685),d=n(71002),p=n(45987),f=n(27678),h=n(21770),m=n(40974),g=n(64019),b=n(15105),y=n(2788),E=n(29372),v=r.createContext(null),T=function(e){var t=e.visible,n=e.maskTransitionName,a=e.getContainer,i=e.prefixCls,s=e.rootClassName,u=e.icons,d=e.countRender,p=e.showSwitch,f=e.showProgress,h=e.current,m=e.transform,g=e.count,T=e.scale,S=e.minScale,A=e.maxScale,O=e.closeIcon,_=e.onSwitchLeft,k=e.onSwitchRight,x=e.onClose,C=e.onZoomIn,w=e.onZoomOut,I=e.onRotateRight,R=e.onRotateLeft,N=e.onFlipX,L=e.onFlipY,D=e.onReset,P=e.toolbarRender,M=e.zIndex,F=e.image,B=(0,r.useContext)(v),j=u.rotateLeft,U=u.rotateRight,G=u.zoomIn,H=u.zoomOut,$=u.close,z=u.left,Z=u.right,W=u.flipX,V=u.flipY,Y="".concat(i,"-operations-operation");r.useEffect(function(){var e=function(e){e.keyCode===b.Z.ESC&&x()};return t&&window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}},[t]);var q=[{icon:V,onClick:L,type:"flipY"},{icon:W,onClick:N,type:"flipX"},{icon:j,onClick:R,type:"rotateLeft"},{icon:U,onClick:I,type:"rotateRight"},{icon:H,onClick:w,type:"zoomOut",disabled:T<=S},{icon:G,onClick:C,type:"zoomIn",disabled:T===A}].map(function(e){var t,n=e.icon,a=e.onClick,s=e.type,l=e.disabled;return r.createElement("div",{className:o()(Y,(t={},(0,c.Z)(t,"".concat(i,"-operations-operation-").concat(s),!0),(0,c.Z)(t,"".concat(i,"-operations-operation-disabled"),!!l),t)),onClick:a,key:s},n)}),K=r.createElement("div",{className:"".concat(i,"-operations")},q);return r.createElement(E.ZP,{visible:t,motionName:n},function(e){var t=e.className,n=e.style;return r.createElement(y.Z,{open:!0,getContainer:null!=a?a:document.body},r.createElement("div",{className:o()("".concat(i,"-operations-wrapper"),t,s),style:(0,l.Z)((0,l.Z)({},n),{},{zIndex:M})},null===O?null:r.createElement("button",{className:"".concat(i,"-close"),onClick:x},O||$),p&&r.createElement(r.Fragment,null,r.createElement("div",{className:o()("".concat(i,"-switch-left"),(0,c.Z)({},"".concat(i,"-switch-left-disabled"),0===h)),onClick:_},z),r.createElement("div",{className:o()("".concat(i,"-switch-right"),(0,c.Z)({},"".concat(i,"-switch-right-disabled"),h===g-1)),onClick:k},Z)),r.createElement("div",{className:"".concat(i,"-footer")},f&&r.createElement("div",{className:"".concat(i,"-progress")},d?d(h+1,g):"".concat(h+1," / ").concat(g)),P?P(K,(0,l.Z)((0,l.Z)({icons:{flipYIcon:q[0],flipXIcon:q[1],rotateLeftIcon:q[2],rotateRightIcon:q[3],zoomOutIcon:q[4],zoomInIcon:q[5]},actions:{onFlipY:L,onFlipX:N,onRotateLeft:R,onRotateRight:I,onZoomOut:w,onZoomIn:C,onReset:D,onClose:x},transform:m},B?{current:h,total:g}:{}),{},{image:F})):K)))})},S=n(91881),A=n(75164),O={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1},_=n(80334);function k(e,t,n,r){var a=t+n,i=(n-r)/2;if(n>r){if(t>0)return(0,c.Z)({},e,i);if(t<0&&ar)return(0,c.Z)({},e,t<0?i:-i);return{}}function x(e,t,n,r){var a=(0,f.g1)(),i=a.width,o=a.height,s=null;return e<=i&&t<=o?s={x:0,y:0}:(e>i||t>o)&&(s=(0,l.Z)((0,l.Z)({},k("x",n,e,i)),k("y",r,t,o))),s}function C(e){var t=e.src,n=e.isCustomPlaceholder,a=e.fallback,i=(0,r.useState)(n?"loading":"normal"),o=(0,u.Z)(i,2),s=o[0],l=o[1],c=(0,r.useRef)(!1),d="error"===s;(0,r.useEffect)(function(){var e=!0;return new Promise(function(e){var n=document.createElement("img");n.onerror=function(){return e(!1)},n.onload=function(){return e(!0)},n.src=t}).then(function(t){!t&&e&&l("error")}),function(){e=!1}},[t]),(0,r.useEffect)(function(){n&&!c.current?l("loading"):d&&l("normal")},[t]);var p=function(){l("normal")};return[function(e){c.current=!1,"loading"===s&&null!=e&&e.complete&&(e.naturalWidth||e.naturalHeight)&&(c.current=!0,p())},d&&a?{src:a}:{onLoad:p,src:t},s]}function w(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}var I=["fallback","src","imgRef"],R=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],N=function(e){var t=e.fallback,n=e.src,a=e.imgRef,i=(0,p.Z)(e,I),o=C({src:n,fallback:t}),l=(0,u.Z)(o,2),c=l[0],d=l[1];return r.createElement("img",(0,s.Z)({ref:function(e){a.current=e,c(e)}},i,d))},L=function(e){var t,n,a,i,d,h,y,E,k,C,I,L,D,P,M,F,B,j,U,G,H,$,z,Z,W,V,Y,q,K=e.prefixCls,X=e.src,Q=e.alt,J=e.imageInfo,ee=e.fallback,et=e.movable,en=void 0===et||et,er=e.onClose,ea=e.visible,ei=e.icons,eo=e.rootClassName,es=e.closeIcon,el=e.getContainer,ec=e.current,eu=void 0===ec?0:ec,ed=e.count,ep=void 0===ed?1:ed,ef=e.countRender,eh=e.scaleStep,em=void 0===eh?.5:eh,eg=e.minScale,eb=void 0===eg?1:eg,ey=e.maxScale,eE=void 0===ey?50:ey,ev=e.transitionName,eT=e.maskTransitionName,eS=void 0===eT?"fade":eT,eA=e.imageRender,eO=e.imgCommonProps,e_=e.toolbarRender,ek=e.onTransform,ex=e.onChange,eC=(0,p.Z)(e,R),ew=(0,r.useRef)(),eI=(0,r.useContext)(v),eR=eI&&ep>1,eN=eI&&ep>=1,eL=(0,r.useState)(!0),eD=(0,u.Z)(eL,2),eP=eD[0],eM=eD[1],eF=(t=(0,r.useRef)(null),n=(0,r.useRef)([]),a=(0,r.useState)(O),d=(i=(0,u.Z)(a,2))[0],h=i[1],y=function(e,r){null===t.current&&(n.current=[],t.current=(0,A.Z)(function(){h(function(e){var a=e;return n.current.forEach(function(e){a=(0,l.Z)((0,l.Z)({},a),e)}),t.current=null,null==ek||ek({transform:a,action:r}),a})})),n.current.push((0,l.Z)((0,l.Z)({},d),e))},{transform:d,resetTransform:function(e){h(O),(0,S.Z)(O,d)||null==ek||ek({transform:O,action:e})},updateTransform:y,dispatchZoomChange:function(e,t,n,r,a){var i=ew.current,o=i.width,s=i.height,l=i.offsetWidth,c=i.offsetHeight,u=i.offsetLeft,p=i.offsetTop,h=e,m=d.scale*e;m>eE?(m=eE,h=eE/d.scale):m0&&(t=1/t),eG(t,"wheel",e.clientX,e.clientY)}}}),e$=eH.isMoving,ez=eH.onMouseDown,eZ=eH.onWheel,eW=(U=eB.rotate,G=eB.scale,H=eB.x,$=eB.y,z=(0,r.useState)(!1),W=(Z=(0,u.Z)(z,2))[0],V=Z[1],Y=(0,r.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),q=function(e){Y.current=(0,l.Z)((0,l.Z)({},Y.current),e)},(0,r.useEffect)(function(){var e;return ea&&en&&(e=(0,g.Z)(window,"touchmove",function(e){return e.preventDefault()},{passive:!1})),function(){var t;null===(t=e)||void 0===t||t.remove()}},[ea,en]),{isTouching:W,onTouchStart:function(e){if(en){e.stopPropagation(),V(!0);var t=e.touches,n=void 0===t?[]:t;n.length>1?q({point1:{x:n[0].clientX,y:n[0].clientY},point2:{x:n[1].clientX,y:n[1].clientY},eventType:"touchZoom"}):q({point1:{x:n[0].clientX-H,y:n[0].clientY-$},eventType:"move"})}},onTouchMove:function(e){var t=e.touches,n=void 0===t?[]:t,r=Y.current,a=r.point1,i=r.point2,o=r.eventType;if(n.length>1&&"touchZoom"===o){var s={x:n[0].clientX,y:n[0].clientY},l={x:n[1].clientX,y:n[1].clientY},c=function(e,t,n,r){var a=w(e,n),i=w(t,r);if(0===a&&0===i)return[e.x,e.y];var o=a/(a+i);return[e.x+o*(t.x-e.x),e.y+o*(t.y-e.y)]}(a,i,s,l),d=(0,u.Z)(c,2),p=d[0],f=d[1];eG(w(s,l)/w(a,i),"touchZoom",p,f,!0),q({point1:s,point2:l,eventType:"touchZoom"})}else"move"===o&&(eU({x:n[0].clientX-a.x,y:n[0].clientY-a.y},"move"),q({eventType:"move"}))},onTouchEnd:function(){if(ea){if(W&&V(!1),q({eventType:"none"}),eb>G)return eU({x:0,y:0,scale:eb},"touchZoom");var e=ew.current.offsetWidth*G,t=ew.current.offsetHeight*G,n=ew.current.getBoundingClientRect(),r=n.left,a=n.top,i=U%180!=0,o=x(i?t:e,i?e:t,r,a);o&&eU((0,l.Z)({},o),"dragRebound")}}}),eV=eW.isTouching,eY=eW.onTouchStart,eq=eW.onTouchMove,eK=eW.onTouchEnd,eX=eB.rotate,eQ=eB.scale,eJ=o()((0,c.Z)({},"".concat(K,"-moving"),e$));(0,r.useEffect)(function(){eP||eM(!0)},[eP]);var e0=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu>0&&(eM(!1),ej("prev"),null==ex||ex(eu-1,eu))},e1=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu({position:e||"absolute",inset:0}),eu=e=>{let{iconCls:t,motionDurationSlow:n,paddingXXS:r,marginXXS:a,prefixCls:i,colorTextLightSolid:o}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:o,background:new en.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${i}-mask-info`]:Object.assign(Object.assign({},ea.vS),{padding:`0 ${(0,et.bf)(r)}`,[t]:{marginInlineEnd:a,svg:{verticalAlign:"baseline"}}})}},ed=e=>{let{previewCls:t,modalMaskBg:n,paddingSM:r,marginXL:a,margin:i,paddingLG:o,previewOperationColorDisabled:s,previewOperationHoverColor:l,motionDurationSlow:c,iconCls:u,colorTextLightSolid:d}=e,p=new en.C(n).setAlpha(.1),f=p.clone().setAlpha(.2);return{[`${t}-footer`]:{position:"fixed",bottom:a,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor,transform:"translateX(-50%)"},[`${t}-progress`]:{marginBottom:i},[`${t}-close`]:{position:"fixed",top:a,right:{_skip_check_:!0,value:a},display:"flex",color:d,backgroundColor:p.toRgbString(),borderRadius:"50%",padding:r,outline:0,border:0,cursor:"pointer",transition:`all ${c}`,"&:hover":{backgroundColor:f.toRgbString()},[`& > ${u}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,et.bf)(o)}`,backgroundColor:p.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:r,padding:r,cursor:"pointer",transition:`all ${c}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${u}`]:{color:l},"&-disabled":{color:s,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${u}`]:{fontSize:e.previewOperationSize}}}}},ep=e=>{let{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:r,previewCls:a,zIndexPopup:i,motionDurationSlow:o}=e,s=new en.C(t).setAlpha(.1),l=s.clone().setAlpha(.2);return{[`${a}-switch-left, ${a}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(i).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:s.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${o}`,userSelect:"none","&:hover":{background:l.toRgbString()},"&-disabled":{"&, &:hover":{color:r,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${a}-switch-left`]:{insetInlineStart:e.marginSM},[`${a}-switch-right`]:{insetInlineEnd:e.marginSM}}},ef=e=>{let{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:a}=e;return[{[`${a}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:Object.assign(Object.assign({},ec()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${r} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},ec()),{transition:`transform ${r} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${a}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${a}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal()},"&":[ed(e),ep(e)]}]},eh=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},eu(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},ec())}}},em=e=>{let{previewCls:t}=e;return{[`${t}-root`]:(0,ei._y)(e,"zoom"),"&":(0,eo.J$)(e,!0)}};var eg=(0,es.I$)("Image",e=>{let t=`${e.componentCls}-preview`,n=(0,el.IX)(e,{previewCls:t,modalMaskBg:new en.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[eh(n),ef(n),(0,er.QA)((0,el.IX)(n,{componentCls:t})),em(n)]},e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new en.C(e.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new en.C(e.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new en.C(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:1.5*e.fontSizeIcon})),eb=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ey={rotateLeft:r.createElement(K.Z,null),rotateRight:r.createElement(X.Z,null),zoomIn:r.createElement(J.Z,null),zoomOut:r.createElement(ee.Z,null),close:r.createElement(V.Z,null),left:r.createElement(Y.Z,null),right:r.createElement(q.Z,null),flipX:r.createElement(Q.Z,null),flipY:r.createElement(Q.Z,{rotate:90})};var eE=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ev=e=>{var t;let{prefixCls:n,preview:i,className:s,rootClassName:l,style:c}=e,u=eE(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:d,locale:p=W.Z,getPopupContainer:f,image:h}=r.useContext(z.E_),m=d("image",n),g=d(),b=p.Image||W.Z.Image,y=(0,Z.Z)(m),[E,v,T]=eg(m,y),S=o()(l,v,T,y),A=o()(s,v,null==h?void 0:h.className),[O]=(0,H.Cn)("ImagePreview","object"==typeof i?i.zIndex:void 0),_=r.useMemo(()=>{var e;if(!1===i)return i;let t="object"==typeof i?i:{},{getContainer:n,closeIcon:o}=t,s=eE(t,["getContainer","closeIcon"]);return Object.assign(Object.assign({mask:r.createElement("div",{className:`${m}-mask-info`},r.createElement(a.Z,null),null==b?void 0:b.preview),icons:ey},s),{getContainer:null!=n?n:f,transitionName:(0,$.m)(g,"zoom",t.transitionName),maskTransitionName:(0,$.m)(g,"fade",t.maskTransitionName),zIndex:O,closeIcon:null!=o?o:null===(e=null==h?void 0:h.preview)||void 0===e?void 0:e.closeIcon})},[i,b,null===(t=null==h?void 0:h.preview)||void 0===t?void 0:t.closeIcon]),k=Object.assign(Object.assign({},null==h?void 0:h.style),c);return E(r.createElement(G,Object.assign({prefixCls:m,preview:_,rootClassName:S,className:A,style:k},u)))};ev.PreviewGroup=e=>{var{previewPrefixCls:t,preview:n}=e,a=eb(e,["previewPrefixCls","preview"]);let{getPrefixCls:i}=r.useContext(z.E_),s=i("image",t),l=`${s}-preview`,c=i(),u=(0,Z.Z)(s),[d,p,f]=eg(s,u),[h]=(0,H.Cn)("ImagePreview","object"==typeof n?n.zIndex:void 0),m=r.useMemo(()=>{var e;if(!1===n)return n;let t="object"==typeof n?n:{},r=o()(p,f,u,null!==(e=t.rootClassName)&&void 0!==e?e:"");return Object.assign(Object.assign({},t),{transitionName:(0,$.m)(c,"zoom",t.transitionName),maskTransitionName:(0,$.m)(c,"fade",t.maskTransitionName),rootClassName:r,zIndex:h})},[n]);return d(r.createElement(G.PreviewGroup,Object.assign({preview:m,previewPrefixCls:l,icons:ey},a)))};var eT=ev},66309:function(e,t,n){"use strict";n.d(t,{Z:function(){return I}});var r=n(67294),a=n(93967),i=n.n(a),o=n(98423),s=n(98787),l=n(69760),c=n(96159),u=n(45353),d=n(53124),p=n(25446),f=n(10274),h=n(14747),m=n(83262),g=n(83559);let b=e=>{let{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:a,calc:i}=e,o=i(r).sub(n).equal(),s=i(t).sub(n).equal();return{[a]:Object.assign(Object.assign({},(0,h.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:o,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,p.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${a}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${a}-close-icon`]:{marginInlineStart:s,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${a}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${a}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:o}}),[`${a}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},y=e=>{let{lineWidth:t,fontSizeIcon:n,calc:r}=e,a=e.fontSizeSM,i=(0,m.IX)(e,{tagFontSize:a,tagLineHeight:(0,p.bf)(r(e.lineHeightSM).mul(a).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return i},E=e=>({defaultBg:new f.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var v=(0,g.I$)("Tag",e=>{let t=y(e);return b(t)},E),T=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let S=r.forwardRef((e,t)=>{let{prefixCls:n,style:a,className:o,checked:s,onChange:l,onClick:c}=e,u=T(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:p,tag:f}=r.useContext(d.E_),h=p("tag",n),[m,g,b]=v(h),y=i()(h,`${h}-checkable`,{[`${h}-checkable-checked`]:s},null==f?void 0:f.className,o,g,b);return m(r.createElement("span",Object.assign({},u,{ref:t,style:Object.assign(Object.assign({},a),null==f?void 0:f.style),className:y,onClick:e=>{null==l||l(!s),null==c||c(e)}})))});var A=n(98719);let O=e=>(0,A.Z)(e,(t,n)=>{let{textColor:r,lightBorderColor:a,lightColor:i,darkColor:o}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:i,borderColor:a,"&-inverse":{color:e.colorTextLightSolid,background:o,borderColor:o},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var _=(0,g.bk)(["Tag","preset"],e=>{let t=y(e);return O(t)},E);let k=(e,t,n)=>{let r=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var x=(0,g.bk)(["Tag","status"],e=>{let t=y(e);return[k(t,"success","Success"),k(t,"processing","Info"),k(t,"error","Error"),k(t,"warning","Warning")]},E),C=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let w=r.forwardRef((e,t)=>{let{prefixCls:n,className:a,rootClassName:p,style:f,children:h,icon:m,color:g,onClose:b,bordered:y=!0,visible:E}=e,T=C(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:S,direction:A,tag:O}=r.useContext(d.E_),[k,w]=r.useState(!0),I=(0,o.Z)(T,["closeIcon","closable"]);r.useEffect(()=>{void 0!==E&&w(E)},[E]);let R=(0,s.o2)(g),N=(0,s.yT)(g),L=R||N,D=Object.assign(Object.assign({backgroundColor:g&&!L?g:void 0},null==O?void 0:O.style),f),P=S("tag",n),[M,F,B]=v(P),j=i()(P,null==O?void 0:O.className,{[`${P}-${g}`]:L,[`${P}-has-color`]:g&&!L,[`${P}-hidden`]:!k,[`${P}-rtl`]:"rtl"===A,[`${P}-borderless`]:!y},a,p,F,B),U=e=>{e.stopPropagation(),null==b||b(e),e.defaultPrevented||w(!1)},[,G]=(0,l.Z)((0,l.w)(e),(0,l.w)(O),{closable:!1,closeIconRender:e=>{let t=r.createElement("span",{className:`${P}-close-icon`,onClick:U},e);return(0,c.wm)(e,t,e=>({onClick:t=>{var n;null===(n=null==e?void 0:e.onClick)||void 0===n||n.call(e,t),U(t)},className:i()(null==e?void 0:e.className,`${P}-close-icon`)}))}}),H="function"==typeof T.onClick||h&&"a"===h.type,$=m||null,z=$?r.createElement(r.Fragment,null,$,h&&r.createElement("span",null,h)):h,Z=r.createElement("span",Object.assign({},I,{ref:t,className:j,style:D}),z,G,R&&r.createElement(_,{key:"preset",prefixCls:P}),N&&r.createElement(x,{key:"status",prefixCls:P}));return M(H?r.createElement(u.Z,{component:"Tag"},Z):Z)});w.CheckableTag=S;var I=w},62502:function(e,t,n){"use strict";var r=n(15575),a=n(64977),i=n(72869),o=n(32473).Q,s=n(24395).Q;e.exports=function(e,t,n){var a=n?function(e){for(var t,n=e.length,r=-1,a={};++r4&&h.slice(0,4)===o&&s.test(t)&&("-"===t.charAt(4)?m=o+(n=t.slice(5).replace(l,d)).charAt(0).toUpperCase()+n.slice(1):(f=(p=t).slice(4),t=l.test(f)?p:("-"!==(f=f.replace(c,u)).charAt(0)&&(f="-"+f),o+f)),g=a),new g(m,t))};var s=/^data[-\w.:]+$/i,l=/-[a-z]/g,c=/[A-Z]/g;function u(e){return"-"+e.toLowerCase()}function d(e){return e.charAt(1).toUpperCase()}},48055:function(e,t,n){"use strict";var r=n(26230),a=n(13970),i=n(10629),o=n(647),s=n(91305),l=n(22537);e.exports=r([i,a,o,s,l])},91305:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=r.booleanish,o=r.number,s=r.spaceSeparated;e.exports=a({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:i,ariaAutoComplete:null,ariaBusy:i,ariaChecked:i,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:s,ariaCurrent:null,ariaDescribedBy:s,ariaDetails:null,ariaDisabled:i,ariaDropEffect:s,ariaErrorMessage:null,ariaExpanded:i,ariaFlowTo:s,ariaGrabbed:i,ariaHasPopup:null,ariaHidden:i,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s,ariaLevel:o,ariaLive:null,ariaModal:i,ariaMultiLine:i,ariaMultiSelectable:i,ariaOrientation:null,ariaOwns:s,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:i,ariaReadOnly:i,ariaRelevant:null,ariaRequired:i,ariaRoleDescription:s,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:i,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}})},22537:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=n(19348),o=r.boolean,s=r.overloadedBoolean,l=r.booleanish,c=r.number,u=r.spaceSeparated,d=r.commaSeparated;e.exports=a({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:i,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:d,acceptCharset:u,accessKey:u,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:u,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:u,cols:c,colSpan:null,content:null,contentEditable:l,controls:o,controlsList:u,coords:c|d,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:s,draggable:l,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:u,height:c,hidden:o,high:c,href:null,hrefLang:null,htmlFor:u,httpEquiv:u,id:null,imageSizes:null,imageSrcSet:d,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:u,itemRef:u,itemScope:o,itemType:u,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:u,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:u,required:o,reversed:o,rows:c,rowSpan:c,sandbox:u,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:c,sizes:null,slot:null,span:c,spellCheck:l,src:null,srcDoc:null,srcLang:null,srcSet:d,start:c,step:null,style:null,tabIndex:c,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:l,width:c,wrap:null,align:null,aLink:null,archive:u,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:l,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}})},19348:function(e,t,n){"use strict";var r=n(21098);e.exports=function(e,t){return r(e,t.toLowerCase())}},21098:function(e){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},47589:function(e,t,n){"use strict";var r=n(64977),a=n(16038),i=n(78444);e.exports=function(e){var t,n,o=e.space,s=e.mustUseProperty||[],l=e.attributes||{},c=e.properties,u=e.transform,d={},p={};for(t in c)n=new i(t,u(l,t),c[t],o),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),d[t]=n,p[r(t)]=t,p[r(n.attribute)]=t;return new a(d,p,o)}},78444:function(e,t,n){"use strict";var r=n(40313),a=n(61422);e.exports=s,s.prototype=new r,s.prototype.defined=!0;var i=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=i.length;function s(e,t,n,s){var l,c,u,d=-1;for(s&&(this.space=s),r.call(this,e,t);++d=97&&t<=122||t>=65&&t<=90}},7961:function(e,t,n){"use strict";var r=n(46260),a=n(46195);e.exports=function(e){return r(e)||a(e)}},46195:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},79480:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}},15531:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/construct/app/extra/components/auto-plan",function(){return n(78174)}])},85813:function(e,t,n){"use strict";n.d(t,{r:function(){return _6}});var r,a,i,o,s,l,c,u,d,p,f,h,m,g,b,y,E,v,T,S,A,O,_,k,x,C,w,I,R,N,L,D,P,M,F,B,j,U,G,H,$,z,Z,W,V,Y,q,K,X,Q,J,ee,et,en,er,ea={};n.r(ea),n.d(ea,{area:function(){return cf},bottom:function(){return cT},bottomLeft:function(){return cT},bottomRight:function(){return cT},inside:function(){return cT},left:function(){return cT},outside:function(){return c_},right:function(){return cT},spider:function(){return cR},surround:function(){return cL},top:function(){return cT},topLeft:function(){return cT},topRight:function(){return cT}});var ei={};n.r(ei),n.d(ei,{interpolateBlues:function(){return uD.interpolateBlues},interpolateBrBG:function(){return uD.interpolateBrBG},interpolateBuGn:function(){return uD.interpolateBuGn},interpolateBuPu:function(){return uD.interpolateBuPu},interpolateCividis:function(){return uD.interpolateCividis},interpolateCool:function(){return uD.interpolateCool},interpolateCubehelixDefault:function(){return uD.interpolateCubehelixDefault},interpolateGnBu:function(){return uD.interpolateGnBu},interpolateGreens:function(){return uD.interpolateGreens},interpolateGreys:function(){return uD.interpolateGreys},interpolateInferno:function(){return uD.interpolateInferno},interpolateMagma:function(){return uD.interpolateMagma},interpolateOrRd:function(){return uD.interpolateOrRd},interpolateOranges:function(){return uD.interpolateOranges},interpolatePRGn:function(){return uD.interpolatePRGn},interpolatePiYG:function(){return uD.interpolatePiYG},interpolatePlasma:function(){return uD.interpolatePlasma},interpolatePuBu:function(){return uD.interpolatePuBu},interpolatePuBuGn:function(){return uD.interpolatePuBuGn},interpolatePuOr:function(){return uD.interpolatePuOr},interpolatePuRd:function(){return uD.interpolatePuRd},interpolatePurples:function(){return uD.interpolatePurples},interpolateRainbow:function(){return uD.interpolateRainbow},interpolateRdBu:function(){return uD.interpolateRdBu},interpolateRdGy:function(){return uD.interpolateRdGy},interpolateRdPu:function(){return uD.interpolateRdPu},interpolateRdYlBu:function(){return uD.interpolateRdYlBu},interpolateRdYlGn:function(){return uD.interpolateRdYlGn},interpolateReds:function(){return uD.interpolateReds},interpolateSinebow:function(){return uD.interpolateSinebow},interpolateSpectral:function(){return uD.interpolateSpectral},interpolateTurbo:function(){return uD.interpolateTurbo},interpolateViridis:function(){return uD.interpolateViridis},interpolateWarm:function(){return uD.interpolateWarm},interpolateYlGn:function(){return uD.interpolateYlGn},interpolateYlGnBu:function(){return uD.interpolateYlGnBu},interpolateYlOrBr:function(){return uD.interpolateYlOrBr},interpolateYlOrRd:function(){return uD.interpolateYlOrRd},schemeAccent:function(){return uD.schemeAccent},schemeBlues:function(){return uD.schemeBlues},schemeBrBG:function(){return uD.schemeBrBG},schemeBuGn:function(){return uD.schemeBuGn},schemeBuPu:function(){return uD.schemeBuPu},schemeCategory10:function(){return uD.schemeCategory10},schemeDark2:function(){return uD.schemeDark2},schemeGnBu:function(){return uD.schemeGnBu},schemeGreens:function(){return uD.schemeGreens},schemeGreys:function(){return uD.schemeGreys},schemeOrRd:function(){return uD.schemeOrRd},schemeOranges:function(){return uD.schemeOranges},schemePRGn:function(){return uD.schemePRGn},schemePaired:function(){return uD.schemePaired},schemePastel1:function(){return uD.schemePastel1},schemePastel2:function(){return uD.schemePastel2},schemePiYG:function(){return uD.schemePiYG},schemePuBu:function(){return uD.schemePuBu},schemePuBuGn:function(){return uD.schemePuBuGn},schemePuOr:function(){return uD.schemePuOr},schemePuRd:function(){return uD.schemePuRd},schemePurples:function(){return uD.schemePurples},schemeRdBu:function(){return uD.schemeRdBu},schemeRdGy:function(){return uD.schemeRdGy},schemeRdPu:function(){return uD.schemeRdPu},schemeRdYlBu:function(){return uD.schemeRdYlBu},schemeRdYlGn:function(){return uD.schemeRdYlGn},schemeReds:function(){return uD.schemeReds},schemeSet1:function(){return uD.schemeSet1},schemeSet2:function(){return uD.schemeSet2},schemeSet3:function(){return uD.schemeSet3},schemeSpectral:function(){return uD.schemeSpectral},schemeTableau10:function(){return uD.schemeTableau10},schemeYlGn:function(){return uD.schemeYlGn},schemeYlGnBu:function(){return uD.schemeYlGnBu},schemeYlOrBr:function(){return uD.schemeYlOrBr},schemeYlOrRd:function(){return uD.schemeYlOrRd}});var eo={};n.r(eo);var es={};n.r(es),n.d(es,{geoAlbers:function(){return Ta.Z},geoAlbersUsa:function(){return Tr.Z},geoAzimuthalEqualArea:function(){return Ti.Z},geoAzimuthalEqualAreaRaw:function(){return Ti.l},geoAzimuthalEquidistant:function(){return To.Z},geoAzimuthalEquidistantRaw:function(){return To.N},geoConicConformal:function(){return Ts.Z},geoConicConformalRaw:function(){return Ts.l},geoConicEqualArea:function(){return Tl.Z},geoConicEqualAreaRaw:function(){return Tl.v},geoConicEquidistant:function(){return Tc.Z},geoConicEquidistantRaw:function(){return Tc.o},geoEqualEarth:function(){return Tu.Z},geoEqualEarthRaw:function(){return Tu.i},geoEquirectangular:function(){return Td.Z},geoEquirectangularRaw:function(){return Td.k},geoGnomonic:function(){return Tp.Z},geoGnomonicRaw:function(){return Tp.M},geoIdentity:function(){return Tf.Z},geoMercator:function(){return Tm.ZP},geoMercatorRaw:function(){return Tm.hk},geoNaturalEarth1:function(){return Tg.Z},geoNaturalEarth1Raw:function(){return Tg.K},geoOrthographic:function(){return Tb.Z},geoOrthographicRaw:function(){return Tb.I},geoProjection:function(){return Th.Z},geoProjectionMutator:function(){return Th.r},geoStereographic:function(){return Ty.Z},geoStereographicRaw:function(){return Ty.T},geoTransverseMercator:function(){return TE.Z},geoTransverseMercatorRaw:function(){return TE.F}});var el={};n.r(el),n.d(el,{frequency:function(){return Sh},id:function(){return Sm},name:function(){return Sg},weight:function(){return Sf}});var ec=n(74902),eu=n(1413),ed=n(87462),ep=n(97685),ef=n(45987),eh=n(50888),em=n(96486),eg=n(67294),eb=function(){return(eb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n-1&&!e.return)switch(e.type){case ek:e.return=function e(t,n,r){var a;switch(a=n,45^eD(t,0)?(((a<<2^eD(t,0))<<2^eD(t,1))<<2^eD(t,2))<<2^eD(t,3):0){case 5103:return eA+"print-"+t+t;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 eA+t+t;case 4789:return eS+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return eA+t+eS+t+eT+t+t;case 5936:switch(eD(t,n+11)){case 114:return eA+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return eA+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return eA+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return eA+t+eT+t+t;case 6165:return eA+t+eT+"flex-"+t+t;case 5187:return eA+t+eN(t,/(\w+).+(:[^]+)/,eA+"box-$1$2"+eT+"flex-$1$2")+t;case 5443:return eA+t+eT+"flex-item-"+eN(t,/flex-|-self/g,"")+(eR(t,/flex-|baseline/)?"":eT+"grid-row-"+eN(t,/flex-|-self/g,""))+t;case 4675:return eA+t+eT+"flex-line-pack"+eN(t,/align-content|flex-|-self/g,"")+t;case 5548:return eA+t+eT+eN(t,"shrink","negative")+t;case 5292:return eA+t+eT+eN(t,"basis","preferred-size")+t;case 6060:return eA+"box-"+eN(t,"-grow","")+eA+t+eT+eN(t,"grow","positive")+t;case 4554:return eA+eN(t,/([^-])(transform)/g,"$1"+eA+"$2")+t;case 6187:return eN(eN(eN(t,/(zoom-|grab)/,eA+"$1"),/(image-set)/,eA+"$1"),t,"")+t;case 5495:case 3959:return eN(t,/(image-set\([^]*)/,eA+"$1$`$1");case 4968:return eN(eN(t,/(.+:)(flex-)?(.*)/,eA+"box-pack:$3"+eT+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+eA+t+t;case 4200:if(!eR(t,/flex-|baseline/))return eT+"grid-column-align"+eP(t,n)+t;break;case 2592:case 3360:return eT+eN(t,"template-","")+t;case 4384:case 3616:if(r&&r.some(function(e,t){return n=t,eR(e.props,/grid-\w+-end/)}))return~eL(t+(r=r[n].value),"span",0)?t:eT+eN(t,"-start","")+t+eT+"grid-row-span:"+(~eL(r,"span",0)?eR(r,/\d+/):+eR(r,/\d+/)-+eR(t,/\d+/))+";";return eT+eN(t,"-start","")+t;case 4896:case 4128:return r&&r.some(function(e){return eR(e.props,/grid-\w+-start/)})?t:eT+eN(eN(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return eN(t,/(.+)-inline(.+)/,eA+"$1$2")+t;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(eM(t)-1-n>6)switch(eD(t,n+1)){case 109:if(45!==eD(t,n+4))break;case 102:return eN(t,/(.+:)(.+)-([^]+)/,"$1"+eA+"$2-$3$1"+eS+(108==eD(t,n+3)?"$3":"$2-$3"))+t;case 115:return~eL(t,"stretch",0)?e(eN(t,"stretch","fill-available"),n,r)+t:t}break;case 5152:case 5920:return eN(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(e,n,r,a,i,o,s){return eT+n+":"+r+s+(a?eT+n+"-span:"+(i?o:+o-+r)+s:"")+t});case 4949:if(121===eD(t,n+6))return eN(t,":",":"+eA)+t;break;case 6444:switch(eD(t,45===eD(t,14)?18:11)){case 120:return eN(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+eA+(45===eD(t,14)?"inline-":"")+"box$3$1"+eA+"$2$3$1"+eT+"$2box$3")+t;case 100:return eN(t,":",":"+eT)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return eN(t,"scroll-","scroll-snap-")+t}return t}(e.value,e.length,n);return;case ex:return eQ([eW(e,{value:eN(e.value,"@","@"+eA)})],r);case e_:if(e.length)return(n=e.props).map(function(t){switch(eR(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":eV(eW(e,{props:[eN(t,/:(read-\w+)/,":"+eS+"$1")]})),eV(eW(e,{props:[t]})),eI(e,{props:eB(n,r)});break;case"::placeholder":eV(eW(e,{props:[eN(t,/:(plac\w+)/,":"+eA+"input-$1")]})),eV(eW(e,{props:[eN(t,/:(plac\w+)/,":"+eS+"$1")]})),eV(eW(e,{props:[eN(t,/:(plac\w+)/,eT+"input-$1")]})),eV(eW(e,{props:[t]})),eI(e,{props:eB(n,r)})}return""}).join("")}}function e1(e,t,n,r,a,i,o,s,l,c,u,d){for(var p=a-1,f=0===a?i:[""],h=f.length,m=0,g=0,b=0;m0?f[y]+" "+E:eN(E,/&\f/g,f[y])).trim())&&(l[b++]=v);return eZ(e,t,n,0===a?e_:s,l,c,u,d)}function e2(e,t,n,r,a){return eZ(e,t,n,ek,eP(e,0,r),eP(e,r+1,-1),r,a)}var e3=n(94371),e5=n(83454),e4=void 0!==e5&&void 0!==e5.env&&(e5.env.REACT_APP_SC_ATTR||e5.env.SC_ATTR)||"data-styled",e6="active",e9="data-styled-version",e8="6.1.15",e7="/*!sc*/\n",te="undefined"!=typeof window&&"HTMLElement"in window,tt=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==e5&&void 0!==e5.env&&void 0!==e5.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==e5.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==e5.env.REACT_APP_SC_DISABLE_SPEEDY&&e5.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==e5&&void 0!==e5.env&&void 0!==e5.env.SC_DISABLE_SPEEDY&&""!==e5.env.SC_DISABLE_SPEEDY&&"false"!==e5.env.SC_DISABLE_SPEEDY&&e5.env.SC_DISABLE_SPEEDY),tn=Object.freeze([]),tr=Object.freeze({}),ta=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),ti=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,to=/(^-|-$)/g;function ts(e){return e.replace(ti,"-").replace(to,"")}var tl=/(a)(d)/gi,tc=function(e){return String.fromCharCode(e+(e>25?39:97))};function tu(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=tc(t%52)+n;return(tc(t%52)+n).replace(tl,"$1-$2")}var td,tp=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},tf=function(e){return tp(5381,e)};function th(e){return"string"==typeof e}var tm="function"==typeof Symbol&&Symbol.for,tg=tm?Symbol.for("react.memo"):60115,tb=tm?Symbol.for("react.forward_ref"):60112,ty={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},tE={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},tv={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},tT=((td={})[tb]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},td[tg]=tv,td);function tS(e){return("type"in e&&e.type.$$typeof)===tg?tv:"$$typeof"in e?tT[e.$$typeof]:ty}var tA=Object.defineProperty,tO=Object.getOwnPropertyNames,t_=Object.getOwnPropertySymbols,tk=Object.getOwnPropertyDescriptor,tx=Object.getPrototypeOf,tC=Object.prototype;function tw(e){return"function"==typeof e}function tI(e){return"object"==typeof e&&"styledComponentId"in e}function tR(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function tN(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r0?" Args: ".concat(t.join(", ")):""))}var tM=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,a=r;e>=a;)if((a<<=1)<0)throw tP(16,"".concat(e));this.groupSizes=new Uint32Array(a),this.groupSizes.set(n),this.length=a;for(var i=r;i=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),a=r+n,i=r;i=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(l+="".concat(e,","))}),r+="".concat(o).concat(s,'{content:"').concat(l,'"}').concat(e7)}}})(a);return r}(r)})}return e.registerId=function(e){return tU(e)},e.prototype.rehydrate=function(){!this.server&&te&&tW(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(eb(eb({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){var e,t,n,r;return this.tag||(this.tag=(n=(t=this.options).useCSSOMInjection,r=t.target,e=t.isServer?new tK(r):n?new tY(r):new tq(r),new tM(e)))},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(tU(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(tU(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(tU(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),t0=/&/g,t1=/^\s*\/\/.*$/gm;function t2(e){var t,n,r,a=void 0===e?tr:e,i=a.options,o=void 0===i?tr:i,s=a.plugins,l=void 0===s?tn:s,c=function(e,r,a){return a.startsWith(n)&&a.endsWith(n)&&a.replaceAll(n,"").length>0?".".concat(t):e},u=l.slice();u.push(function(e){e.type===e_&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(t0,n).replace(r,c))}),o.prefix&&u.push(e0),u.push(eJ);var d=function(e,a,i,s){void 0===a&&(a=""),void 0===i&&(i=""),void 0===s&&(s="&"),t=s,n=a,r=RegExp("\\".concat(n,"\\b"),"g");var l,c,d,p,f,h=e.replace(t1,""),m=(f=function e(t,n,r,a,i,o,s,l,c){for(var u,d=0,p=0,f=s,h=0,m=0,g=0,b=1,y=1,E=1,v=0,T="",S=i,A=o,O=a,_=T;y;)switch(g=v,v=eY()){case 40:if(108!=g&&58==eD(_,f-1)){-1!=eL(_+=eN(eX(v),"&","&\f"),"&\f",eC(d?l[d-1]:0))&&(E=-1);break}case 34:case 39:case 91:_+=eX(v);break;case 9:case 10:case 13:case 32:_+=function(e){for(;e$=eq();)if(e$<33)eY();else break;return eK(e)>2||eK(e$)>3?"":" "}(g);break;case 92:_+=function(e,t){for(var n;--t&&eY()&&!(e$<48)&&!(e$>102)&&(!(e$>57)||!(e$<65))&&(!(e$>70)||!(e$<97)););return n=eH+(t<6&&32==eq()&&32==eY()),eP(ez,e,n)}(eH-1,7);continue;case 47:switch(eq()){case 42:case 47:eF(eZ(u=function(e,t){for(;eY();)if(e+e$===57)break;else if(e+e$===84&&47===eq())break;return"/*"+eP(ez,t,eH-1)+"*"+ew(47===e?e:eY())}(eY(),eH),n,r,eO,ew(e$),eP(u,2,-2),0,c),c);break;default:_+="/"}break;case 123*b:l[d++]=eM(_)*E;case 125*b:case 59:case 0:switch(v){case 0:case 125:y=0;case 59+p:-1==E&&(_=eN(_,/\f/g,"")),m>0&&eM(_)-f&&eF(m>32?e2(_+";",a,r,f-1,c):e2(eN(_," ","")+";",a,r,f-2,c),c);break;case 59:_+=";";default:if(eF(O=e1(_,n,r,d,p,i,l,T,S=[],A=[],f,o),o),123===v){if(0===p)e(_,n,O,O,S,o,f,l,A);else switch(99===h&&110===eD(_,3)?100:h){case 100:case 108:case 109:case 115:e(t,O,O,a&&eF(e1(t,O,O,0,0,i,l,T,i,S=[],f,A),A),i,A,f,l,a?S:A);break;default:e(_,O,O,O,[""],A,0,l,A)}}}d=p=m=0,b=E=1,T=_="",f=s;break;case 58:f=1+eM(_),m=g;default:if(b<1){if(123==v)--b;else if(125==v&&0==b++&&125==(e$=eH>0?eD(ez,--eH):0,eU--,10===e$&&(eU=1,ej--),e$))continue}switch(_+=ew(v),v*b){case 38:E=p>0?1:(_+="\f",-1);break;case 44:l[d++]=(eM(_)-1)*E,E=1;break;case 64:45===eq()&&(_+=eX(eY())),h=eq(),p=f=eM(T=_+=function(e){for(;!eK(eq());)eY();return eP(ez,e,eH)}(eH)),v++;break;case 45:45===g&&2==eM(_)&&(b=0)}}return o}("",null,null,null,[""],(p=d=i||a?"".concat(i," ").concat(a," { ").concat(h," }"):h,ej=eU=1,eG=eM(ez=p),eH=0,d=[]),0,[0],d),ez="",f);o.namespace&&(m=function e(t,n){return t.map(function(t){return"rule"===t.type&&(t.value="".concat(n," ").concat(t.value),t.value=t.value.replaceAll(",",",".concat(n," ")),t.props=t.props.map(function(e){return"".concat(n," ").concat(e)})),Array.isArray(t.children)&&"@keyframes"!==t.type&&(t.children=e(t.children,n)),t})}(m,o.namespace));var g=[];return eQ(m,(c=(l=u.concat(function(e){var t;!e.root&&(e=e.return)&&(t=e,g.push(t))})).length,function(e,t,n,r){for(var a="",i=0;i="A"&&r<="Z"?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var nt=function(e){return null==e||!1===e||""===e},nn=function(e){var t=[];for(var n in e){var r=e[n];e.hasOwnProperty(n)&&!nt(r)&&(Array.isArray(r)&&r.isCss||tw(r)?t.push("".concat(ne(n),":"),r,";"):tL(r)?t.push.apply(t,ey(ey(["".concat(n," {")],nn(r),!1),["}"],!1)):t.push("".concat(ne(n),": ").concat(null==r||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||n in e3.Z||n.startsWith("--")?String(r).trim():"".concat(r,"px"),";")))}return t};function nr(e,t,n,r){return nt(e)?[]:tI(e)?[".".concat(e.styledComponentId)]:tw(e)?!tw(e)||e.prototype&&e.prototype.isReactComponent||!t?[e]:nr(e(t),t,n,r):e instanceof t7?n?(e.inject(n,r),[e.getName(r)]):[e]:tL(e)?nn(e):Array.isArray(e)?Array.prototype.concat.apply(tn,e.map(function(e){return nr(e,t,n,r)})):[e.toString()]}function na(e){for(var t=0;t>>0);if(!t.hasNameForId(this.componentId,i)){var o=n(a,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,o)}r=tR(r,i),this.staticRulesId=i}}else{for(var s=tp(this.baseHash,n.hash),l="",c=0;c>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(l,".".concat(p),void 0,this.componentId)),r=tR(r,p)}}return r},e}(),ns=eg.createContext(void 0);ns.Consumer;var nl={};function nc(e,t,n){var r,a,i,o,s=tI(e),l=!th(e),c=t.attrs,u=void 0===c?tn:c,d=t.componentId,p=void 0===d?(r=t.displayName,a=t.parentComponentId,nl[i="string"!=typeof r?"sc":ts(r)]=(nl[i]||0)+1,o="".concat(i,"-").concat(tu(tf(e8+i+nl[i])>>>0)),a?"".concat(a,"-").concat(o):o):d,f=t.displayName,h=void 0===f?th(e)?"styled.".concat(e):"Styled(".concat(e.displayName||e.name||"Component",")"):f,m=t.displayName&&t.componentId?"".concat(ts(t.displayName),"-").concat(t.componentId):t.componentId||p,g=s&&e.attrs?e.attrs.concat(u).filter(Boolean):u,b=t.shouldForwardProp;if(s&&e.shouldForwardProp){var y=e.shouldForwardProp;if(t.shouldForwardProp){var E=t.shouldForwardProp;b=function(e,t){return y(e,t)&&E(e,t)}}else b=y}var v=new no(n,m,s?e.componentStyle:void 0);function T(e,t){return function(e,t,n){var r,a,i=e.attrs,o=e.componentStyle,s=e.defaultProps,l=e.foldedComponentIds,c=e.styledComponentId,u=e.target,d=eg.useContext(ns),p=t9(),f=e.shouldForwardProp||p.shouldForwardProp,h=(void 0===(r=s)&&(r=tr),t.theme!==r.theme&&t.theme||d||r.theme||tr),m=function(e,t,n){for(var r,a=eb(eb({},t),{className:void 0,theme:n}),i=0;i2&&tJ.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=n.nc,a=tN([r&&'nonce="'.concat(r,'"'),"".concat(e4,'="true"'),"".concat(e9,'="').concat(e8,'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(e.sealed)throw tP(2);return e._emitSheetCSS()},this.getStyleElement=function(){if(e.sealed)throw tP(2);var t,r=e.instance.toString();if(!r)return[];var a=((t={})[e4]="",t[e9]=e8,t.dangerouslySetInnerHTML={__html:r},t),i=n.nc;return i&&(a.nonce=i),[eg.createElement("style",eb({},a,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new tJ({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw tP(2);return eg.createElement(t8,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw tP(3)}}();var nh=n(4942),nm=n(73935),ng=n.t(nm,2),nb=function(){return(nb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=18&&(J=ny.createRoot)}catch(e){}function nT(e){var t=ny.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"==typeof t&&(t.usingClientEntryPoint=e)}var nS="__rc_react_root__",nA=new Map;"undefined"!=typeof document&&nA.set("tooltip",document.createElement("div"));var nO=function(e,t){void 0===t&&(t=!1);var n=null;if(t)n=nA.get("tooltip");else if(n=document.createElement("div"),null==e?void 0:e.key){var r=nA.get(e.key);r?n=r:nA.set(e.key,n)}return!function(e,t){if(J){var n;nT(!0),n=t[nS]||J(t),nT(!1),n.render(e),t[nS]=n;return}nv(e,t)}(e,n),n},n_=function(e){if("undefined"==typeof document)return"loading";var t=e.attachShadow({mode:"open"}),n=document.createElement("div"),r=document.createElement("style");r.innerHTML=".loading {\n display: inline-block;\n position: relative;\n width: 80px;\n height: 80px;\n }\n .loading div {\n position: absolute;\n top: 33px;\n width: 13px;\n height: 13px;\n border-radius: 50%;\n background: #ccc;\n animation-timing-function: cubic-bezier(0, 1, 1, 0);\n }\n .loading div:nth-child(1) {\n left: 8px;\n animation: loading1 0.6s infinite;\n }\n .loading div:nth-child(2) {\n left: 8px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(3) {\n left: 32px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(4) {\n left: 56px;\n animation: loading3 0.6s infinite;\n }\n @keyframes loading1 {\n 0% {\n transform: scale(0);\n }\n 100% {\n transform: scale(1);\n }\n }\n @keyframes loading3 {\n 0% {\n transform: scale(1);\n }\n 100% {\n transform: scale(0);\n }\n }\n @keyframes loading2 {\n 0% {\n transform: translate(0, 0);\n }\n 100% {\n transform: translate(24px, 0);\n }\n }\n ",n.classList.add("loading"),n.innerHTML="
",t.appendChild(r),t.appendChild(n)},nk=function(e){var t=e.loadingTemplate,n=e.theme,r=eg.useRef(null);return eg.useEffect(function(){!t&&r.current&&n_(r.current)},[]),eg.createElement("div",{className:"charts-loading-container",style:{position:"absolute",width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",left:0,top:0,zIndex:99,backgroundColor:"dark"===(void 0===n?"light":n)?"rgb(20, 20, 20)":"rgb(255, 255, 255)"}},t||eg.createElement("div",{ref:r}))},nx=(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),nC=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={hasError:!1},t.renderError=function(e){var n=t.props.errorTemplate;return"function"==typeof n?n(e):n||eg.createElement("h5",null,"组件出错了,请核查后重试: ",e.message)},t}return nx(t,e),t.getDerivedStateFromError=function(e){return{hasError:!0,error:e}},t.getDerivedStateFromProps=function(e,t){return t.children!==e.children?{children:e.children,hasError:!1,error:void 0}:null},t.prototype.render=function(){return this.state.hasError?this.renderError(this.state.error):eg.createElement(eg.Fragment,null,this.props.children)},t}(eg.Component),nw=function(e,t,n){if(n||2==arguments.length)for(var r,a=0,i=t.length;a90)return this;this.computeMatrix()}return this._getAxes(),this.type===nN.iM.ORBITING||this.type===nN.iM.EXPLORING?this._getPosition():this.type===nN.iM.TRACKING&&this._getFocalPoint(),this._update(),this}},{key:"pan",value:function(e,t){var n=(0,nN.O4)(e,t,0),r=nG.d9(this.position);return nG.IH(r,r,nG.bA(nG.Ue(),this.right,n[0])),nG.IH(r,r,nG.bA(nG.Ue(),this.up,n[1])),this._setPosition(r),this.triggerUpdate(),this}},{key:"dolly",value:function(e){var t=this.forward,n=nG.d9(this.position),r=e*this.dollyingStep;return r=Math.max(Math.min(this.distance+e*this.dollyingStep,this.maxDistance),this.minDistance)-this.distance,n[0]+=r*t[0],n[1]+=r*t[1],n[2]+=r*t[2],this._setPosition(n),this.type===nN.iM.ORBITING||this.type===nN.iM.EXPLORING?this._getDistance():this.type===nN.iM.TRACKING&&nG.IH(this.focalPoint,n,this.distanceVector),this.triggerUpdate(),this}},{key:"cancelLandmarkAnimation",value:function(){void 0!==this.landmarkAnimationID&&this.canvas.cancelAnimationFrame(this.landmarkAnimationID)}},{key:"createLandmark",value:function(e){var t,n,r,a,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=i.position,s=void 0===o?this.position:o,l=i.focalPoint,c=void 0===l?this.focalPoint:l,u=i.roll,d=i.zoom,p=new nN.GZ.CameraContribution;p.setType(this.type,void 0),p.setPosition(s[0],null!==(t=s[1])&&void 0!==t?t:this.position[1],null!==(n=s[2])&&void 0!==n?n:this.position[2]),p.setFocalPoint(c[0],null!==(r=c[1])&&void 0!==r?r:this.focalPoint[1],null!==(a=c[2])&&void 0!==a?a:this.focalPoint[2]),p.setRoll(null!=u?u:this.roll),p.setZoom(null!=d?d:this.zoom);var f={name:e,matrix:nU.clone(p.getWorldTransform()),right:nG.d9(p.right),up:nG.d9(p.up),forward:nG.d9(p.forward),position:nG.d9(p.getPosition()),focalPoint:nG.d9(p.getFocalPoint()),distanceVector:nG.d9(p.getDistanceVector()),distance:p.getDistance(),dollyingStep:p.getDollyingStep(),azimuth:p.getAzimuth(),elevation:p.getElevation(),roll:p.getRoll(),relAzimuth:p.relAzimuth,relElevation:p.relElevation,relRoll:p.relRoll,zoom:p.getZoom()};return this.landmarks.push(f),f}},{key:"gotoLandmark",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=nB(e,"String")?this.landmarks.find(function(t){return t.name===e}):e;if(r){var a,i=nB(n,"Number")?{duration:n}:n,o=i.easing,s=void 0===o?"linear":o,l=i.duration,c=void 0===l?100:l,u=i.easingFunction,d=i.onfinish,p=void 0===d?void 0:d,f=i.onframe,h=void 0===f?void 0:f;this.cancelLandmarkAnimation();var m=r.position,g=r.focalPoint,b=r.zoom,y=r.roll,E=(void 0===u?void 0:u)||nN.GZ.EasingFunction(s),v=function(){t.setFocalPoint(g),t.setPosition(m),t.setRoll(y),t.setZoom(b),t.computeMatrix(),t.triggerUpdate(),null==p||p()};if(0===c)return v();var T=function(e){void 0===a&&(a=e);var n=e-a;if(n>=c){v();return}var r=E(n/c),i=nG.Ue(),o=nG.Ue(),s=1,l=0;if(nG.t7(i,t.focalPoint,g,r),nG.t7(o,t.position,m,r),l=t.roll*(1-r)+y*r,s=t.zoom*(1-r)+b*r,t.setFocalPoint(i),t.setPosition(o),t.setRoll(l),t.setZoom(s),nG.TK(i,g)+nG.TK(o,m)<=.01&&void 0===b&&void 0===y)return v();t.computeMatrix(),t.triggerUpdate(),nn?n:e},nW={}.toString,nV=function(e){return null==e},nY=function(e){function t(e,n,r,a){var i;return(0,nL.Z)(this,t),(i=(0,nP.Z)(this,t,[e])).currentTime=r,i.timelineTime=a,i.target=n,i.type="finish",i.bubbles=!1,i.currentTarget=n,i.defaultPrevented=!1,i.eventPhase=i.AT_TARGET,i.timeStamp=Date.now(),i.currentTime=r,i.timelineTime=a,i}return(0,nM.Z)(t,e),(0,nD.Z)(t)}(nN.xA),nq=0,nK=(0,nD.Z)(function e(t,n){var r;(0,nL.Z)(this,e),this.currentTimePending=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._playbackRate=1,this._inTimeline=!0,this.effect=t,t.animation=this,this.timeline=n,this.id="".concat(nq++),this._inEffect=!!this.effect.update(0),this._totalDuration=Number(null===(r=this.effect)||void 0===r?void 0:r.getComputedTiming().endTime),this._holdTime=0,this._paused=!1,this.oldPlayState="idle",this.updatePromises()},[{key:"pending",get:function(){return null===this._startTime&&!this._paused&&0!==this.playbackRate||this.currentTimePending}},{key:"playState",get:function(){return this._idle?"idle":this._isFinished?"finished":this._paused?"paused":"running"}},{key:"ready",get:function(){var e=this;return this.readyPromise||(-1===this.timeline.animationsWithPromises.indexOf(this)&&this.timeline.animationsWithPromises.push(this),this.readyPromise=new Promise(function(t,n){e.resolveReadyPromise=function(){t(e)},e.rejectReadyPromise=function(){n(Error())}}),this.pending||this.resolveReadyPromise()),this.readyPromise}},{key:"finished",get:function(){var e=this;return this.finishedPromise||(-1===this.timeline.animationsWithPromises.indexOf(this)&&this.timeline.animationsWithPromises.push(this),this.finishedPromise=new Promise(function(t,n){e.resolveFinishedPromise=function(){t(e)},e.rejectFinishedPromise=function(){n(Error())}}),"finished"===this.playState&&this.resolveFinishedPromise()),this.finishedPromise}},{key:"currentTime",get:function(){return this.updatePromises(),this._idle||this.currentTimePending?null:this._currentTime},set:function(e){if(!isNaN(e=Number(e))){if(this.timeline.restart(),!this._paused&&null!==this._startTime){var t;this._startTime=Number(null===(t=this.timeline)||void 0===t?void 0:t.currentTime)-e/this.playbackRate}this.currentTimePending=!1,this._currentTime!==e&&(this._idle&&(this._idle=!1,this._paused=!0),this.tickCurrentTime(e,!0),this.timeline.applyDirtiedAnimation(this))}}},{key:"startTime",get:function(){return this._startTime},set:function(e){null!==e&&(this.updatePromises(),!isNaN(e=Number(e))&&(this._paused||this._idle||(this._startTime=e,this.tickCurrentTime((Number(this.timeline.currentTime)-this._startTime)*this.playbackRate),this.timeline.applyDirtiedAnimation(this),this.updatePromises())))}},{key:"playbackRate",get:function(){return this._playbackRate},set:function(e){if(e!==this._playbackRate){this.updatePromises();var t=this.currentTime;this._playbackRate=e,this.startTime=null,"paused"!==this.playState&&"idle"!==this.playState&&(this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this)),null!==t&&(this.currentTime=t),this.updatePromises()}}},{key:"_isFinished",get:function(){return!this._idle&&(this._playbackRate>0&&Number(this._currentTime)>=this._totalDuration||this._playbackRate<0&&0>=Number(this._currentTime))}},{key:"totalDuration",get:function(){return this._totalDuration}},{key:"_needsTick",get:function(){return this.pending||"running"===this.playState||!this._finishedFlag}},{key:"updatePromises",value:function(){var e=this.oldPlayState,t=this.pending?"pending":this.playState;return this.readyPromise&&t!==e&&("idle"===t?(this.rejectReadyPromise(),this.readyPromise=void 0):"pending"===e?this.resolveReadyPromise():"pending"===t&&(this.readyPromise=void 0)),this.finishedPromise&&t!==e&&("idle"===t?(this.rejectFinishedPromise(),this.finishedPromise=void 0):"finished"===t?this.resolveFinishedPromise():"finished"===e&&(this.finishedPromise=void 0)),this.oldPlayState=t,this.readyPromise||this.finishedPromise}},{key:"play",value:function(){this.updatePromises(),this._paused=!1,(this._isFinished||this._idle)&&(this.rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this),-1===this.timeline.animations.indexOf(this)&&this.timeline.animations.push(this),this.updatePromises()}},{key:"pause",value:function(){this.updatePromises(),this.currentTime&&(this._holdTime=this.currentTime),this._isFinished||this._paused||this._idle?this._idle&&(this.rewind(),this._idle=!1):this.currentTimePending=!0,this._startTime=null,this._paused=!0,this.updatePromises()}},{key:"finish",value:function(){this.updatePromises(),this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this.currentTimePending=!1,this.timeline.applyDirtiedAnimation(this),this.updatePromises())}},{key:"cancel",value:function(){var e=this;if(this.updatePromises(),this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this.effect.update(null),this.timeline.applyDirtiedAnimation(this),this.updatePromises(),this.oncancel)){var t=new nY(null,this,this.currentTime,null);setTimeout(function(){e.oncancel(t)})}}},{key:"reverse",value:function(){this.updatePromises();var e=this.currentTime;this.playbackRate*=-1,this.play(),null!==e&&(this.currentTime=e),this.updatePromises()}},{key:"updatePlaybackRate",value:function(e){this.playbackRate=e}},{key:"targetAnimations",value:function(){var e;return(null===(e=this.effect)||void 0===e?void 0:e.target).getAnimations()}},{key:"markTarget",value:function(){var e=this.targetAnimations();-1===e.indexOf(this)&&e.push(this)}},{key:"unmarkTarget",value:function(){var e=this.targetAnimations(),t=e.indexOf(this);-1!==t&&e.splice(t,1)}},{key:"tick",value:function(e,t){this._idle||this._paused||(null===this._startTime?t&&(this.startTime=e-this._currentTime/this.playbackRate):this._isFinished||this.tickCurrentTime((e-this._startTime)*this.playbackRate)),t&&(this.currentTimePending=!1,this.fireEvents(e))}},{key:"rewind",value:function(){if(this.playbackRate>=0)this.currentTime=0;else if(this._totalDuration<1/0)this.currentTime=this._totalDuration;else throw Error("Unable to rewind negative playback rate animation with infinite duration")}},{key:"persist",value:function(){throw Error(nN.jf)}},{key:"addEventListener",value:function(e,t,n){throw Error(nN.jf)}},{key:"removeEventListener",value:function(e,t,n){throw Error(nN.jf)}},{key:"dispatchEvent",value:function(e){throw Error(nN.jf)}},{key:"commitStyles",value:function(){throw Error(nN.jf)}},{key:"ensureAlive",value:function(){var e,t;this.playbackRate<0&&0===this.currentTime?this._inEffect=!!(null!==(e=this.effect)&&void 0!==e&&e.update(-1)):this._inEffect=!!(null!==(t=this.effect)&&void 0!==t&&t.update(this.currentTime)),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,this.timeline.animations.push(this))}},{key:"tickCurrentTime",value:function(e,t){e!==this._currentTime&&(this._currentTime=e,this._isFinished&&!t&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this.ensureAlive())}},{key:"fireEvents",value:function(e){var t=this;if(this._isFinished){if(!this._finishedFlag){if(this.onfinish){var n=new nY(null,this,this.currentTime,e);setTimeout(function(){t.onfinish&&t.onfinish(n)})}this._finishedFlag=!0}}else{if(this.onframe&&"running"===this.playState){var r=new nY(null,this,this.currentTime,e);this.onframe(r)}this._finishedFlag=!1}}}]),nX="function"==typeof Float32Array,nQ=function(e,t){return 1-3*t+3*e},nJ=function(e,t){return 3*t-6*e},n0=function(e){return 3*e},n1=function(e,t,n){return((nQ(t,n)*e+nJ(t,n))*e+n0(t))*e},n2=function(e,t,n){return 3*nQ(t,n)*e*e+2*nJ(t,n)*e+n0(t)},n3=function(e,t,n,r,a){var i,o,s=0;do(i=n1(o=t+(n-t)/2,r,a)-e)>0?n=o:t=o;while(Math.abs(i)>1e-7&&++s<10);return o},n5=function(e,t,n,r){for(var a=0;a<4;++a){var i=n2(t,n,r);if(0===i)break;var o=n1(t,n,r)-e;t-=o/i}return t},n4=function(e,t,n,r){if(!(e>=0&&e<=1&&n>=0&&n<=1))throw Error("bezier x values must be in [0, 1] range");if(e===t&&n===r)return function(e){return e};for(var a=nX?new Float32Array(11):Array(11),i=0;i<11;++i)a[i]=n1(.1*i,e,n);var o=function(t){for(var r=0,i=1;10!==i&&a[i]<=t;++i)r+=.1;var o=r+(t-a[--i])/(a[i+1]-a[i])*.1,s=n2(o,e,n);return s>=.001?n5(t,o,e,n):0===s?o:n3(t,r,r+.1,e,n)};return function(e){return 0===e||1===e?e:n1(o(e),t,r)}},n6=function(e){return Math.pow(e,2)},n9=function(e){return Math.pow(e,3)},n8=function(e){return Math.pow(e,4)},n7=function(e){return Math.pow(e,5)},re=function(e){return Math.pow(e,6)},rt=function(e){return 1-Math.cos(e*Math.PI/2)},rn=function(e){return 1-Math.sqrt(1-e*e)},rr=function(e){return e*e*(3*e-2)},ra=function(e){for(var t,n=4;e<((t=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*t-2)/22-e,2)},ri=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,2),r=n[0],a=n[1],i=nZ(Number(void 0===r?1:r),1,10),o=nZ(Number(void 0===a?.5:a),.1,2);return 0===e||1===e?e:-i*Math.pow(2,10*(e-1))*Math.sin((e-1-o/(2*Math.PI)*Math.asin(1/i))*(2*Math.PI)/o)},ro=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,r=(0,nz.Z)(t,4),a=r[0],i=void 0===a?1:a,o=r[1],s=void 0===o?100:o,l=r[2],c=void 0===l?10:l,u=r[3],d=void 0===u?0:u;i=nZ(i,.1,1e3),s=nZ(s,.1,1e3),c=nZ(c,.1,1e3),d=nZ(d,.1,1e3);var p=Math.sqrt(s/i),f=c/(2*Math.sqrt(s*i)),h=f<1?p*Math.sqrt(1-f*f):0,m=f<1?(f*p+-d)/h:-d+p,g=n?n*e/1e3:e;return(g=f<1?Math.exp(-g*f*p)*(1*Math.cos(h*g)+m*Math.sin(h*g)):(1+m*g)*Math.exp(-g*p),0===e||1===e)?e:1-g},rs=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,2),r=n[0],a=void 0===r?10:r;return("start"===n[1]?Math.ceil:Math.floor)(nZ(e,0,1)*a)/a},rl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,4);return n4(n[0],n[1],n[2],n[3])(e)},rc=n4(.42,0,1,1),ru=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return 1-e(1-t,n,r)}},rd=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return t<.5?e(2*t,n,r)/2:1-e(-2*t+2,n,r)/2}},rp=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return t<.5?(1-e(1-2*t,n,r))/2:(e(2*t-1,n,r)+1)/2}},rf={steps:rs,"step-start":function(e){return rs(e,[1,"start"])},"step-end":function(e){return rs(e,[1,"end"])},linear:function(e){return e},"cubic-bezier":rl,ease:function(e){return rl(e,[.25,.1,.25,1])},in:rc,out:ru(rc),"in-out":rd(rc),"out-in":rp(rc),"in-quad":n6,"out-quad":ru(n6),"in-out-quad":rd(n6),"out-in-quad":rp(n6),"in-cubic":n9,"out-cubic":ru(n9),"in-out-cubic":rd(n9),"out-in-cubic":rp(n9),"in-quart":n8,"out-quart":ru(n8),"in-out-quart":rd(n8),"out-in-quart":rp(n8),"in-quint":n7,"out-quint":ru(n7),"in-out-quint":rd(n7),"out-in-quint":rp(n7),"in-expo":re,"out-expo":ru(re),"in-out-expo":rd(re),"out-in-expo":rp(re),"in-sine":rt,"out-sine":ru(rt),"in-out-sine":rd(rt),"out-in-sine":rp(rt),"in-circ":rn,"out-circ":ru(rn),"in-out-circ":rd(rn),"out-in-circ":rp(rn),"in-back":rr,"out-back":ru(rr),"in-out-back":rd(rr),"out-in-back":rp(rr),"in-bounce":ra,"out-bounce":ru(ra),"in-out-bounce":rd(ra),"out-in-bounce":rp(ra),"in-elastic":ri,"out-elastic":ru(ri),"in-out-elastic":rd(ri),"out-in-elastic":rp(ri),spring:ro,"spring-in":ro,"spring-out":ru(ro),"spring-in-out":rd(ro),"spring-out-in":rp(ro)},rh=function(e){var t;return("-"===(t=(t=e).replace(/([A-Z])/g,function(e){return"-".concat(e.toLowerCase())})).charAt(0)?t.substring(1):t).replace(/^ease-/,"").replace(/(\(|\s).+/,"").toLowerCase().trim()},rm=function(e){return e};function rg(e,t){return function(n){if(n>=1)return 1;var r=1/e;return(n+=t*r)-n%r}}var rb="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",ry=new RegExp("cubic-bezier\\(".concat(rb,",").concat(rb,",").concat(rb,",").concat(rb,"\\)")),rE=/steps\(\s*(\d+)\s*\)/,rv=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/;function rT(e){var t=ry.exec(e);if(t)return n4.apply(void 0,(0,n$.Z)(t.slice(1).map(Number)));var n=rE.exec(e);if(n)return rg(Number(n[1]),0);var r=rv.exec(e);return r?rg(Number(r[1]),{start:1,middle:.5,end:0}[r[2]]):rf[rh(e)]||rf.linear}function rS(e){return"offset"!==e&&"easing"!==e&&"composite"!==e&&"computedOffset"!==e}var rA=function(e,t,n){return function(r){var a,i=function e(t,n,r){if("number"==typeof t&&"number"==typeof n)return t*(1-r)+n*r;if("boolean"==typeof t&&"boolean"==typeof n||"string"==typeof t&&"string"==typeof n)return r<.5?t:n;if(Array.isArray(t)&&Array.isArray(n)){for(var a=t.length,i=n.length,o=Math.max(a,i),s=[],l=0;l1)throw Error("Keyframe offsets must be between 0 and 1.");n.computedOffset=a}}else if("composite"===r&&-1===["replace","add","accumulate","auto"].indexOf(a))throw Error("".concat(a," compositing is not supported"));n[r]=a}return void 0===n.offset&&(n.offset=null),void 0===n.easing&&(n.easing=(null==t?void 0:t.easing)||"linear"),void 0===n.composite&&(n.composite="auto"),n}),r=!0,a=-1/0,i=0;i=0&&1>=Number(e.offset)}),r||function(){var e,t,r=n.length;n[r-1].computedOffset=Number(null!==(e=n[r-1].offset)&&void 0!==e?e:1),r>1&&(n[0].computedOffset=Number(null!==(t=n[0].offset)&&void 0!==t?t:0));for(var a=0,i=Number(n[0].computedOffset),o=1;o=e.applyFrom&&t=Math.min(n.delay+e+n.endDelay,r)?2:3}(e,t,n),u=function(e,t,n,r,a){switch(r){case 1:if("backwards"===t||"both"===t)return 0;return null;case 3:return n-a;case 2:if("forwards"===t||"both"===t)return e;return null;case 0:return null}}(e,n.fill,t,c,n.delay);if(null===u)return null;var d="auto"===n.duration?0:n.duration,p=(r=n.iterations,a=n.iterationStart,0===d?1!==c&&(a+=r):a+=u/d,a),f=(i=n.iterationStart,o=n.iterations,0==(s=p===1/0?i%1:p%1)&&2===c&&0!==o&&(0!==u||0===d)&&(s=1),s),h=(l=n.iterations,2===c&&l===1/0?1/0:1===f?Math.floor(p)-1:Math.floor(p)),m=function(e,t,n){var r=e;if("normal"!==e&&"reverse"!==e){var a=t;"alternate-reverse"===e&&(a+=1),r="normal",a!==1/0&&a%2!=0&&(r="reverse")}return"normal"===r?n:1-n}(n.direction,h,f);return n.currentIteration=h,n.progress=m,n.easingFunction(m)}(this.timing.activeDuration,e,this.timing),null!==this.timeFraction)}},{key:"getKeyframes",value:function(){return this.normalizedKeyframes}},{key:"setKeyframes",value:function(e){this.normalizedKeyframes=r_(e)}},{key:"getComputedTiming",value:function(){return this.computedTiming}},{key:"getTiming",value:function(){return this.timing}},{key:"updateTiming",value:function(e){var t=this;Object.keys(e||{}).forEach(function(n){t.timing[n]=e[n]})}}]);function rw(e,t){return Number(e.id)-Number(t.id)}var rI=(0,nD.Z)(function e(t){var n=this;(0,nL.Z)(this,e),this.animations=[],this.ticking=!1,this.timelineTicking=!1,this.hasRestartedThisFrame=!1,this.animationsWithPromises=[],this.inTick=!1,this.pendingEffects=[],this.currentTime=null,this.rafId=0,this.rafCallbacks=[],this.webAnimationsNextTick=function(e){n.currentTime=e,n.discardAnimations(),0===n.animations.length?n.timelineTicking=!1:n.requestAnimationFrame(n.webAnimationsNextTick)},this.processRafCallbacks=function(e){var t=n.rafCallbacks;n.rafCallbacks=[],et.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let rN=(e,t,n)=>[["M",e-n,t],["A",n,n,0,1,0,e+n,t],["A",n,n,0,1,0,e-n,t],["Z"]];rN.style=["fill"];let rL=rN.bind(void 0);rL.style=["stroke","lineWidth"];let rD=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t-n],["L",e+n,t+n],["L",e-n,t+n],["Z"]];rD.style=["fill"];let rP=rD.bind(void 0);rP.style=["fill"];let rM=rD.bind(void 0);rM.style=["stroke","lineWidth"];let rF=(e,t,n)=>{let r=.618*n;return[["M",e-r,t],["L",e,t-n],["L",e+r,t],["L",e,t+n],["Z"]]};rF.style=["fill"];let rB=rF.bind(void 0);rB.style=["stroke","lineWidth"];let rj=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t+r],["L",e,t-r],["L",e+n,t+r],["Z"]]};rj.style=["fill"];let rU=rj.bind(void 0);rU.style=["stroke","lineWidth"];let rG=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t-r],["L",e+n,t-r],["L",e,t+r],["Z"]]};rG.style=["fill"];let rH=rG.bind(void 0);rH.style=["stroke","lineWidth"];let r$=(e,t,n)=>{let r=n/2*Math.sqrt(3);return[["M",e,t-n],["L",e+r,t-n/2],["L",e+r,t+n/2],["L",e,t+n],["L",e-r,t+n/2],["L",e-r,t-n/2],["Z"]]};r$.style=["fill"];let rz=r$.bind(void 0);rz.style=["stroke","lineWidth"];let rZ=(e,t,n)=>{let r=n-1.5;return[["M",e-n,t-r],["L",e+n,t+r],["L",e+n,t-r],["L",e-n,t+r],["Z"]]};rZ.style=["fill"];let rW=rZ.bind(void 0);rW.style=["stroke","lineWidth"];let rV=(e,t,n)=>[["M",e,t+n],["L",e,t-n]];rV.style=["stroke","lineWidth"];let rY=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t+n],["M",e+n,t-n],["L",e-n,t+n]];rY.style=["stroke","lineWidth"];let rq=(e,t,n)=>[["M",e-n/2,t-n],["L",e+n/2,t-n],["M",e,t-n],["L",e,t+n],["M",e-n/2,t+n],["L",e+n/2,t+n]];rq.style=["stroke","lineWidth"];let rK=(e,t,n)=>[["M",e-n,t],["L",e+n,t],["M",e,t-n],["L",e,t+n]];rK.style=["stroke","lineWidth"];let rX=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rX.style=["stroke","lineWidth"];let rQ=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rQ.style=["stroke","lineWidth"];let rJ=rQ.bind(void 0);rJ.style=["stroke","lineWidth"];let r0=(e,t,n)=>[["M",e-n,t],["A",n/2,n/2,0,1,1,e,t],["A",n/2,n/2,0,1,0,e+n,t]];r0.style=["stroke","lineWidth"];let r1=(e,t,n)=>[["M",e-n-1,t-2.5],["L",e,t-2.5],["L",e,t+2.5],["L",e+n+1,t+2.5]];r1.style=["stroke","lineWidth"];let r2=(e,t,n)=>[["M",e-n-1,t+2.5],["L",e,t+2.5],["L",e,t-2.5],["L",e+n+1,t-2.5]];r2.style=["stroke","lineWidth"];let r3=(e,t,n)=>[["M",e-(n+1),t+2.5],["L",e-n/2,t+2.5],["L",e-n/2,t-2.5],["L",e+n/2,t-2.5],["L",e+n/2,t+2.5],["L",e+n+1,t+2.5]];r3.style=["stroke","lineWidth"];let r5=(e,t,n)=>[["M",e-5,t+2.5],["L",e-5,t],["L",e,t],["L",e,t-3],["L",e,t+3],["L",e+6.5,t+3]];r5.style=["stroke","lineWidth"];let r4=new Map([["bowtie",rZ],["cross",rY],["dash",rJ],["diamond",rF],["dot",rQ],["hexagon",r$],["hollowBowtie",rW],["hollowDiamond",rB],["hollowHexagon",rz],["hollowPoint",rL],["hollowSquare",rM],["hollowTriangle",rU],["hollowTriangleDown",rH],["hv",r1],["hvh",r3],["hyphen",rX],["line",rV],["plus",rK],["point",rN],["rect",rP],["smooth",r0],["square",rD],["tick",rq],["triangleDown",rG],["triangle",rj],["vh",r2],["vhv",r5]]),r6={};function r9(e,t){if(e.startsWith("symbol.")){var n;n=e.split(".").pop(),r4.set(n,t)}else Object.assign(r6,{[e]:t})}var r8=n(88998);/*! +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7537,9618,6231,8424,5265,2640,3913,952],{11475:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},27496:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},94668:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},34971:function(e,t){"use strict";t.Z=function(e,t,n){return en?n:e}},24960:function(e,t,n){"use strict";var r=n(44002);t.Z=function(e){return Array.isArray?Array.isArray(e):(0,r.Z)(e,"Array")}},52176:function(e,t,n){"use strict";var r=n(44002);t.Z=function(e){return(0,r.Z)(e,"Boolean")}},55265:function(e,t){"use strict";t.Z=function(e){return"function"==typeof e}},82993:function(e,t){"use strict";t.Z=function(e){return null==e}},23198:function(e,t,n){"use strict";function r(e,t,n){return void 0===n&&(n=1e-5),Math.abs(e-t)1&&(E*=C=Math.sqrt(C),v*=C);var w=E*E,I=v*v,R=(o===l?-1:1)*Math.sqrt(Math.abs((w*I-w*x*x-I*k*k)/(w*x*x+I*k*k)));m=R*E*x/v+(b+T)/2,g=-(R*v)*k/E+(y+S)/2,f=Math.asin(((y-g)/v*1e9>>0)/1e9),h=Math.asin(((S-g)/v*1e9>>0)/1e9),f=bh&&(f-=2*Math.PI),!l&&h>f&&(h-=2*Math.PI)}var N=h-f;if(Math.abs(N)>A){var L=h,D=T,P=S;_=e(T=m+E*Math.cos(h=f+A*(l&&h>f?1:-1)),S=g+v*Math.sin(h),E,v,i,0,l,D,P,[h,L,m,g])}N=h-f;var M=Math.cos(f),F=Math.cos(h),B=Math.tan(N/4),j=4/3*E*B,U=4/3*v*B,G=[b,y],H=[b+j*Math.sin(f),y-U*M],$=[T+j*Math.sin(h),S-U*F],z=[T,S];if(H[0]=2*G[0]-H[0],H[1]=2*G[1]-H[1],d)return H.concat($,z,_);_=H.concat($,z,_);for(var Z=[],W=0,V=_.length;W7){e[n].shift();for(var r=e[n],a=n;r.length;)t[n]="A",e.splice(a+=1,0,["C"].concat(r.splice(0,6)));e.splice(n,1)}}(d,f,b),m=d.length,"Z"===h&&g.push(b),l=(n=d[b]).length,p.x1=+n[l-2],p.y1=+n[l-1],p.x2=+n[l-4]||p.x1,p.y2=+n[l-3]||p.y1}return t?[d,g]:d}},19586:function(e,t,n){"use strict";n.d(t,{R:function(){return r}});var r={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0}},33554:function(e,t,n){"use strict";n.d(t,{z:function(){return r}});var r={x1:0,y1:0,x2:0,y2:0,x:0,y:0,qx:null,qy:null}},54947:function(e,t,n){"use strict";function r(e){return e.map(function(e){return Array.isArray(e)?[].concat(e):e})}n.d(t,{U:function(){return r}})},94918:function(e,t,n){"use strict";n.d(t,{A:function(){return f}});var r=n(97582),a=n(65336),i=n(33554),o=n(60310),s=n(97153),l=n(19586);function c(e){for(var t=e.pathValue[e.segmentStart],n=t.toLowerCase(),r=e.data;r.length>=l.R[n]&&("m"===n&&r.length>2?(e.segments.push([t].concat(r.splice(0,2))),n="l",t="m"===t?"l":"L"):e.segments.push([t].concat(r.splice(0,l.R[n]))),l.R[n]););}function u(e){return e>=48&&e<=57}function d(e){for(var t,n=e.pathValue,r=e.max;e.index=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].includes(t));)e.index+=1}var p=function(e){this.pathValue=e,this.segments=[],this.max=e.length,this.index=0,this.param=0,this.segmentStart=0,this.data=[],this.err=""};function f(e){if((0,a.y)(e))return[].concat(e);for(var t=function(e){if((0,o.b)(e))return[].concat(e);var t=function(e){if((0,s.n)(e))return[].concat(e);var t=new p(e);for(d(t);t.index0;s-=1){if((32|a)==97&&(3===s||4===s)?function(e){var t=e.index,n=e.pathValue,r=n.charCodeAt(t);if(48===r){e.param=0,e.index+=1;return}if(49===r){e.param=1,e.index+=1;return}e.err='[path-util]: invalid Arc flag "'+n[t]+'", expecting 0 or 1 at index '+t}(e):function(e){var t,n=e.max,r=e.pathValue,a=e.index,i=a,o=!1,s=!1,l=!1,c=!1;if(i>=n){e.err="[path-util]: Invalid path value at index "+i+', "pathValue" is missing param';return}if((43===(t=r.charCodeAt(i))||45===t)&&(i+=1,t=r.charCodeAt(i)),!u(t)&&46!==t){e.err="[path-util]: Invalid path value at index "+i+', "'+r[i]+'" is not a number';return}if(46!==t){if(o=48===t,i+=1,t=r.charCodeAt(i),o&&i=e.max||!((o=n.charCodeAt(e.index))>=48&&o<=57||43===o||45===o||46===o))break}c(e)}(t);return t.err?t.err:t.segments}(e),n=0,r=0,a=0,i=0;return t.map(function(e){var t,o=e.slice(1).map(Number),s=e[0],l=s.toUpperCase();if("M"===s)return n=o[0],r=o[1],a=n,i=r,["M",n,r];if(s!==l)switch(l){case"A":t=[l,o[0],o[1],o[2],o[3],o[4],o[5]+n,o[6]+r];break;case"V":t=[l,o[0]+r];break;case"H":t=[l,o[0]+n];break;default:t=[l].concat(o.map(function(e,t){return e+(t%2?r:n)}))}else t=[l].concat(o);var c=t.length;switch(l){case"Z":n=a,r=i;break;case"H":n=t[1];break;case"V":r=t[1];break;default:n=t[c-2],r=t[c-1],"M"===l&&(a=n,i=r)}return t})}(e),n=(0,r.pi)({},i.z),f=0;f=h[t],m[t]-=g?1:0,g?e.ss:[e.s]}).flat()});return b[0].length===b[1].length?b:e(b[0],b[1],f)}}});var r=n(50944),a=n(51777);function i(e){return e.map(function(e,t,n){var i,o,s,l,c,u,d,p,f,h,m,g,b=t&&n[t-1].slice(-2).concat(e.slice(1)),y=t?(0,a.S)(b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7],b[8],{bbox:!1}).length:0;return g=t?y?(void 0===i&&(i=.5),o=b.slice(0,2),s=b.slice(2,4),l=b.slice(4,6),c=b.slice(6,8),u=(0,r.k)(o,s,i),d=(0,r.k)(s,l,i),p=(0,r.k)(l,c,i),f=(0,r.k)(u,d,i),h=(0,r.k)(d,p,i),m=(0,r.k)(f,h,i),[["C"].concat(u,f,m),["C"].concat(h,p,c)]):[e,e]:[e],{s:e,ss:g,l:y}})}},46516:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var r=n(27872);function a(e){var t,n,a;return t=0,n=0,a=0,(0,r.Y)(e).map(function(e){if("M"===e[0])return t=e[1],n=e[2],0;var r,i,o,s=e.slice(1),l=s[0],c=s[1],u=s[2],d=s[3],p=s[4],f=s[5];return i=t,a=3*((f-(o=n))*(l+u)-(p-i)*(c+d)+c*(i-u)-l*(o-d)+f*(u+i/3)-p*(d+o/3))/20,t=(r=e.slice(-2))[0],n=r[1],a}).reduce(function(e,t){return e+t},0)>=0}},90046:function(e,t,n){"use strict";n.d(t,{r:function(){return i}});var r=n(97582),a=n(10992);function i(e,t,n){return(0,a.s)(e,t,(0,r.pi)((0,r.pi)({},n),{bbox:!1,length:!0})).point}},91952:function(e,t,n){"use strict";n.d(t,{g:function(){return a}});var r=n(58076);function a(e,t){var n,a,i=e.length-1,o=[],s=0,l=(a=(n=e.length)-1,e.map(function(t,r){return e.map(function(t,i){var o=r+i;return 0===i||e[o]&&"M"===e[o][0]?["M"].concat(e[o].slice(-2)):(o>=n&&(o-=a),e[o])})}));return l.forEach(function(n,a){e.slice(1).forEach(function(n,o){s+=(0,r.y)(e[(a+o)%i].slice(-2),t[o%i].slice(-2))}),o[a]=s,s=0}),l[o.indexOf(Math.min.apply(null,o))]}},62436:function(e,t,n){"use strict";n.d(t,{D:function(){return i}});var r=n(97582),a=n(10992);function i(e,t){return(0,a.s)(e,void 0,(0,r.pi)((0,r.pi)({},t),{bbox:!1,length:!0})).length}},60310:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var r=n(97153);function a(e){return(0,r.n)(e)&&e.every(function(e){var t=e[0];return t===t.toUpperCase()})}},65336:function(e,t,n){"use strict";n.d(t,{y:function(){return a}});var r=n(60310);function a(e){return(0,r.b)(e)&&e.every(function(e){var t=e[0];return"ACLMQZ".includes(t)})}},97153:function(e,t,n){"use strict";n.d(t,{n:function(){return a}});var r=n(19586);function a(e){return Array.isArray(e)&&e.every(function(e){var t=e[0].toLowerCase();return r.R[t]===e.length-1&&"achlmqstvz".includes(t)})}},50944:function(e,t,n){"use strict";function r(e,t,n){var r=e[0],a=e[1];return[r+(t[0]-r)*n,a+(t[1]-a)*n]}n.d(t,{k:function(){return r}})},10992:function(e,t,n){"use strict";n.d(t,{s:function(){return c}});var r=n(94918),a=n(50944),i=n(58076);function o(e,t,n,r,o){var s=(0,i.y)([e,t],[n,r]),l={x:0,y:0};if("number"==typeof o){if(o<=0)l={x:e,y:t};else if(o>=s)l={x:n,y:r};else{var c=(0,a.k)([e,t],[n,r],o/s);l={x:c[0],y:c[1]}}}return{length:s,point:l,min:{x:Math.min(e,n),y:Math.min(t,r)},max:{x:Math.max(e,n),y:Math.max(t,r)}}}function s(e,t){var n=e.x,r=e.y,a=t.x,i=t.y,o=Math.sqrt((Math.pow(n,2)+Math.pow(r,2))*(Math.pow(a,2)+Math.pow(i,2)));return(n*i-r*a<0?-1:1)*Math.acos((n*a+r*i)/o)}var l=n(51777);function c(e,t,n){for(var a,c,u,d,p,f,h,m,g,b=(0,r.A)(e),y="number"==typeof t,E=[],v=0,T=0,S=0,A=0,O=[],_=[],k=0,x={x:0,y:0},C=x,w=x,I=x,R=0,N=0,L=b.length;N1&&(b*=m(A),y*=m(A));var O=(Math.pow(b,2)*Math.pow(y,2)-Math.pow(b,2)*Math.pow(S.y,2)-Math.pow(y,2)*Math.pow(S.x,2))/(Math.pow(b,2)*Math.pow(S.y,2)+Math.pow(y,2)*Math.pow(S.x,2)),_=(i!==l?1:-1)*m(O=O<0?0:O),k={x:_*(b*S.y/y),y:_*(-(y*S.x)/b)},x={x:h(E)*k.x-f(E)*k.y+(e+c)/2,y:f(E)*k.x+h(E)*k.y+(t+u)/2},C={x:(S.x-k.x)/b,y:(S.y-k.y)/y},w=s({x:1,y:0},C),I=s(C,{x:(-S.x-k.x)/b,y:(-S.y-k.y)/y});!l&&I>0?I-=2*g:l&&I<0&&(I+=2*g);var R=w+(I%=2*g)*d,N=b*h(R),L=y*f(R);return{x:h(E)*N-f(E)*L+x.x,y:f(E)*N+h(E)*L+x.y}}(e,t,n,r,a,l,c,u,d,w/v)).x,A=h.y,g&&C.push({x:S,y:A}),y&&(O+=(0,i.y)(k,[S,A])),k=[S,A],T&&O>=p&&p>_[2]){var I=(O-p)/(O-_[2]);x={x:k[0]*(1-I)+_[0]*I,y:k[1]*(1-I)+_[1]*I}}_=[S,A,O]}return T&&p>=O&&(x={x:u,y:d}),{length:O,point:x,min:{x:Math.min.apply(null,C.map(function(e){return e.x})),y:Math.min.apply(null,C.map(function(e){return e.y}))},max:{x:Math.max.apply(null,C.map(function(e){return e.x})),y:Math.max.apply(null,C.map(function(e){return e.y}))}}}(E[0],E[1],E[2],E[3],E[4],E[5],E[6],E[7],E[8],(t||0)-R,n||{})).length,x=c.min,C=c.max,w=c.point):"C"===m?(k=(u=(0,l.S)(E[0],E[1],E[2],E[3],E[4],E[5],E[6],E[7],(t||0)-R,n||{})).length,x=u.min,C=u.max,w=u.point):"Q"===m?(k=(d=function(e,t,n,r,a,o,s,l){var c,u=l.bbox,d=void 0===u||u,p=l.length,f=void 0===p||p,h=l.sampleSize,m=void 0===h?10:h,g="number"==typeof s,b=e,y=t,E=0,v=[b,y,0],T=[b,y],S={x:0,y:0},A=[{x:b,y:y}];g&&s<=0&&(S={x:b,y:y});for(var O=0;O<=m;O+=1){if(b=(c=function(e,t,n,r,a,i,o){var s=1-o;return{x:Math.pow(s,2)*e+2*s*o*n+Math.pow(o,2)*a,y:Math.pow(s,2)*t+2*s*o*r+Math.pow(o,2)*i}}(e,t,n,r,a,o,O/m)).x,y=c.y,d&&A.push({x:b,y:y}),f&&(E+=(0,i.y)(T,[b,y])),T=[b,y],g&&E>=s&&s>v[2]){var _=(E-s)/(E-v[2]);S={x:T[0]*(1-_)+v[0]*_,y:T[1]*(1-_)+v[1]*_}}v=[b,y,E]}return g&&s>=E&&(S={x:a,y:o}),{length:E,point:S,min:{x:Math.min.apply(null,A.map(function(e){return e.x})),y:Math.min.apply(null,A.map(function(e){return e.y}))},max:{x:Math.max.apply(null,A.map(function(e){return e.x})),y:Math.max.apply(null,A.map(function(e){return e.y}))}}}(E[0],E[1],E[2],E[3],E[4],E[5],(t||0)-R,n||{})).length,x=d.min,C=d.max,w=d.point):"Z"===m&&(k=(p=o((E=[v,T,S,A])[0],E[1],E[2],E[3],(t||0)-R)).length,x=p.min,C=p.max,w=p.point),y&&R=t&&(I=w),_.push(C),O.push(x),R+=k,v=(f="Z"!==m?g.slice(-2):[S,A])[0],T=f[1];return y&&t>=R&&(I={x:v,y:T}),{length:R,point:I,min:{x:Math.min.apply(null,O.map(function(e){return e.x})),y:Math.min.apply(null,O.map(function(e){return e.y}))},max:{x:Math.max.apply(null,_.map(function(e){return e.x})),y:Math.max.apply(null,_.map(function(e){return e.y}))}}}},51777:function(e,t,n){"use strict";n.d(t,{S:function(){return a}});var r=n(58076);function a(e,t,n,a,i,o,s,l,c,u){var d,p=u.bbox,f=void 0===p||p,h=u.length,m=void 0===h||h,g=u.sampleSize,b=void 0===g?10:g,y="number"==typeof c,E=e,v=t,T=0,S=[E,v,0],A=[E,v],O={x:0,y:0},_=[{x:E,y:v}];y&&c<=0&&(O={x:E,y:v});for(var k=0;k<=b;k+=1){if(E=(d=function(e,t,n,r,a,i,o,s,l){var c=1-l;return{x:Math.pow(c,3)*e+3*Math.pow(c,2)*l*n+3*c*Math.pow(l,2)*a+Math.pow(l,3)*o,y:Math.pow(c,3)*t+3*Math.pow(c,2)*l*r+3*c*Math.pow(l,2)*i+Math.pow(l,3)*s}}(e,t,n,a,i,o,s,l,k/b)).x,v=d.y,f&&_.push({x:E,y:v}),m&&(T+=(0,r.y)(A,[E,v])),A=[E,v],y&&T>=c&&c>S[2]){var x=(T-c)/(T-S[2]);O={x:A[0]*(1-x)+S[0]*x,y:A[1]*(1-x)+S[1]*x}}S=[E,v,T]}return y&&c>=T&&(O={x:s,y:l}),{length:T,point:O,min:{x:Math.min.apply(null,_.map(function(e){return e.x})),y:Math.min.apply(null,_.map(function(e){return e.y}))},max:{x:Math.max.apply(null,_.map(function(e){return e.x})),y:Math.max.apply(null,_.map(function(e){return e.y}))}}}},4503:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function i(e,t,r,i,o){if("function"!=typeof r)throw TypeError("The listener must be a function");var s=new a(r,i||e,o),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function o(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,a=[];if(0===this._eventsCount)return a;for(r in e=this._events)t.call(e,r)&&a.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?a.concat(Object.getOwnPropertySymbols(e)):a},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var a=0,i=r.length,o=Array(i);at.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let o="text/event-stream",s="last-event-id";function l(e,t){var{signal:n,headers:l,onopen:u,onmessage:d,onclose:p,onerror:f,openWhenHidden:h,fetch:m}=t,g=i(t,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((t,i)=>{let b;let y=Object.assign({},l);function E(){b.abort(),document.hidden||_()}y.accept||(y.accept=o),h||document.addEventListener("visibilitychange",E);let v=1e3,T=0;function S(){document.removeEventListener("visibilitychange",E),window.clearTimeout(T),b.abort()}null==n||n.addEventListener("abort",()=>{S(),t()});let A=null!=m?m:window.fetch,O=null!=u?u:c;async function _(){var n,o;b=new AbortController;try{let n,i,l,c;let u=await A(e,Object.assign(Object.assign({},g),{headers:y,signal:b.signal}));await O(u),await r(u.body,(o=function(e,t,n){let r=a(),i=new TextDecoder;return function(o,s){if(0===o.length)null==n||n(r),r=a();else if(s>0){let n=i.decode(o.subarray(0,s)),a=s+(32===o[s+1]?2:1),l=i.decode(o.subarray(a));switch(n){case"data":r.data=r.data?r.data+"\n"+l:l;break;case"event":r.event=l;break;case"id":e(r.id=l);break;case"retry":let c=parseInt(l,10);isNaN(c)||t(r.retry=c)}}}}(e=>{e?y[s]=e:delete y[s]},e=>{v=e},d),c=!1,function(e){void 0===n?(n=e,i=0,l=-1):n=function(e,t){let n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}(n,e);let t=n.length,r=0;for(;i=n?k.text.primary:_.text.primary;return t}let w=({color:e,name:t,mainShade:n=500,lightShade:i=300,darkShade:o=700})=>{if(!(e=(0,r.Z)({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw Error((0,u.Z)(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw Error((0,u.Z)(12,t?` (${t})`:"",JSON.stringify(e.main)));return x(e,"light",i,a),x(e,"dark",o,a),e.contrastText||(e.contrastText=C(e.main)),e},I=(0,d.Z)((0,r.Z)({common:(0,r.Z)({},g),mode:t,primary:w({color:s,name:"primary"}),secondary:w({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:w({color:c,name:"error"}),warning:w({color:h,name:"warning"}),info:w({color:p,name:"info"}),success:w({color:f,name:"success"}),grey:b,contrastThreshold:n,getContrastText:C,augmentColor:w,tonalOffset:a},{dark:k,light:_}[t]),o);return I}(a),R=(0,h.Z)(e),U=(0,d.Z)(R,{mixins:(t=R.breakpoints,(0,r.Z)({toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}}},n)),palette:c,shadows:N.slice(),typography:function(e,t){let n="function"==typeof t?t(e):t,{fontFamily:a=I,fontSize:o=14,fontWeightLight:s=300,fontWeightRegular:l=400,fontWeightMedium:c=500,fontWeightBold:u=700,htmlFontSize:p=16,allVariants:f,pxToRem:h}=n,m=(0,i.Z)(n,C),g=o/14,b=h||(e=>`${e/p*g}rem`),y=(e,t,n,i,o)=>(0,r.Z)({fontFamily:a,fontWeight:e,fontSize:b(t),lineHeight:n},a===I?{letterSpacing:`${Math.round(1e5*(i/t))/1e5}em`}:{},o,f),E={h1:y(s,96,1.167,-1.5),h2:y(s,60,1.2,-.5),h3:y(l,48,1.167,0),h4:y(l,34,1.235,.25),h5:y(l,24,1.334,0),h6:y(c,20,1.6,.15),subtitle1:y(l,16,1.75,.15),subtitle2:y(c,14,1.57,.1),body1:y(l,16,1.5,.15),body2:y(l,14,1.43,.15),button:y(c,14,1.75,.4,w),caption:y(l,12,1.66,.4),overline:y(l,12,2.66,1,w),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,d.Z)((0,r.Z)({htmlFontSize:p,pxToRem:b,fontFamily:a,fontSize:o,fontWeightLight:s,fontWeightRegular:l,fontWeightMedium:c,fontWeightBold:u},E),m,{clone:!1})}(c,s),transitions:function(e){let t=(0,r.Z)({},D,e.easing),n=(0,r.Z)({},P,e.duration);return(0,r.Z)({getAutoHeightDuration:F,create:(e=["all"],r={})=>{let{duration:a=n.standard,easing:o=t.easeInOut,delay:s=0}=r;return(0,i.Z)(r,L),(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof a?a:M(a)} ${o} ${"string"==typeof s?s:M(s)}`).join(",")}},e,{easing:t,duration:n})}(o),zIndex:(0,r.Z)({},B)});return(U=[].reduce((e,t)=>(0,d.Z)(e,t),U=(0,d.Z)(U,l))).unstable_sxConfig=(0,r.Z)({},p.Z,null==l?void 0:l.unstable_sxConfig),U.unstable_sx=function(e){return(0,f.Z)({sx:e,theme:this})},U}();var G="$$material",H=n(58128);let $=(0,H.ZP)({themeId:G,defaultTheme:U,rootShouldForwardProp:e=>"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e&&"classes"!==e});var z=n(1977),Z=n(8027);function W(e){return(0,Z.ZP)("MuiSvgIcon",e)}(0,z.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var V=n(85893);let Y=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],q=e=>{let{color:t,fontSize:n,classes:r}=e,a={root:["root","inherit"!==t&&`color${l(t)}`,`fontSize${l(n)}`]};return(0,s.Z)(a,W,r)},K=$("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${l(n.color)}`],t[`fontSize${l(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,a,i,o,s,l,c,u,d,p,f,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(a=e.transitions)||null==(a=a.duration)?void 0:a.shorter}),fontSize:({inherit:"inherit",small:(null==(i=e.typography)||null==(o=i.pxToRem)?void 0:o.call(i,20))||"1.25rem",medium:(null==(s=e.typography)||null==(l=s.pxToRem)?void 0:l.call(s,24))||"1.5rem",large:(null==(c=e.typography)||null==(u=c.pxToRem)?void 0:u.call(c,35))||"2.1875rem"})[t.fontSize],color:null!=(d=null==(p=(e.vars||e).palette)||null==(p=p[t.color])?void 0:p.main)?d:({action:null==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.active,disabled:null==(h=(e.vars||e).palette)||null==(h=h.action)?void 0:h.disabled,inherit:void 0})[t.color]}}),X=a.forwardRef(function(e,t){let n=function({props:e,name:t}){return(0,c.Z)({props:e,name:t,defaultTheme:U,themeId:G})}({props:e,name:"MuiSvgIcon"}),{children:s,className:l,color:u="inherit",component:d="svg",fontSize:p="medium",htmlColor:f,inheritViewBox:h=!1,titleAccess:m,viewBox:g="0 0 24 24"}=n,b=(0,i.Z)(n,Y),y=a.isValidElement(s)&&"svg"===s.type,E=(0,r.Z)({},n,{color:u,component:d,fontSize:p,instanceFontSize:e.fontSize,inheritViewBox:h,viewBox:g,hasSvgAsChild:y}),v={};h||(v.viewBox=g);let T=q(E);return(0,V.jsxs)(K,(0,r.Z)({as:d,className:(0,o.Z)(T.root,l),focusable:"false",color:f,"aria-hidden":!m||void 0,role:m?"img":void 0,ref:t},v,b,y&&s.props,{ownerState:E,children:[y?s.props.children:s,m?(0,V.jsx)("title",{children:m}):null]}))});function Q(e,t){function n(n,a){return(0,V.jsx)(X,(0,r.Z)({"data-testid":`${t}Icon`,ref:a},n,{children:e}))}return n.muiName=X.muiName,a.memo(a.forwardRef(n))}X.muiName="SvgIcon"},2101:function(e,t,n){"use strict";var r=n(64836);t._j=function(e,t){if(e=s(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return l(e)},t.mi=function(e,t){let n=c(e),r=c(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)},t.$n=function(e,t){if(e=s(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return l(e)};var a=r(n(743)),i=r(n(49425));function o(e,t=0,n=1){return(0,i.default)(e,t,n)}function s(e){let t;if(e.type)return e;if("#"===e.charAt(0))return s(function(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map(e=>e+e)),n?`rgb${4===n.length?"a":""}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));let n=e.indexOf("("),r=e.substring(0,n);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw Error((0,a.default)(9,e));let i=e.substring(n+1,e.length-1);if("color"===r){if(t=(i=i.split(" ")).shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(t))throw Error((0,a.default)(10,t))}else i=i.split(",");return{type:r,values:i=i.map(e=>parseFloat(e)),colorSpace:t}}function l(e){let{type:t,colorSpace:n}=e,{values:r}=e;return -1!==t.indexOf("rgb")?r=r.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),`${t}(${r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`})`}function c(e){let t="hsl"===(e=s(e)).type||"hsla"===e.type?s(function(e){e=s(e);let{values:t}=e,n=t[0],r=t[1]/100,a=t[2]/100,i=r*Math.min(a,1-a),o=(e,t=(e+n/30)%12)=>a-i*Math.max(Math.min(t-3,9-t,1),-1),c="rgb",u=[Math.round(255*o(0)),Math.round(255*o(8)),Math.round(255*o(4))];return"hsla"===e.type&&(c+="a",u.push(t[3])),l({type:c,values:u})}(e)).values:e.values;return Number((.2126*(t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)))[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}},58128:function(e,t,n){"use strict";var r=n(64836);t.ZP=function(e={}){let{themeId:t,defaultTheme:n=m,rootShouldForwardProp:r=h,slotShouldForwardProp:l=h}=e,u=e=>(0,c.default)((0,a.default)({},e,{theme:b((0,a.default)({},e,{defaultTheme:n,themeId:t}))}));return u.__mui_systemSx=!0,(e,c={})=>{var d;let f;(0,o.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));let{name:m,slot:E,skipVariantsResolver:v,skipSx:T,overridesResolver:S=(d=g(E))?(e,t)=>t[d]:null}=c,A=(0,i.default)(c,p),O=void 0!==v?v:E&&"Root"!==E&&"root"!==E||!1,_=T||!1,k=h;"Root"===E||"root"===E?k=r:E?k=l:"string"==typeof e&&e.charCodeAt(0)>96&&(k=void 0);let x=(0,o.default)(e,(0,a.default)({shouldForwardProp:k,label:f},A)),C=e=>"function"==typeof e&&e.__emotion_real!==e||(0,s.isPlainObject)(e)?r=>y(e,(0,a.default)({},r,{theme:b({theme:r.theme,defaultTheme:n,themeId:t})})):e,w=(r,...i)=>{let o=C(r),s=i?i.map(C):[];m&&S&&s.push(e=>{let r=b((0,a.default)({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[m]||!r.components[m].styleOverrides)return null;let i=r.components[m].styleOverrides,o={};return Object.entries(i).forEach(([t,n])=>{o[t]=y(n,(0,a.default)({},e,{theme:r}))}),S(e,o)}),m&&!O&&s.push(e=>{var r;let i=b((0,a.default)({},e,{defaultTheme:n,themeId:t})),o=null==i||null==(r=i.components)||null==(r=r[m])?void 0:r.variants;return y({variants:o},(0,a.default)({},e,{theme:i}))}),_||s.push(u);let l=s.length-i.length;if(Array.isArray(r)&&l>0){let e=Array(l).fill("");(o=[...r,...e]).raw=[...r.raw,...e]}let c=x(o,...s);return e.muiName&&(c.muiName=e.muiName),c};return x.withConfig&&(w.withConfig=x.withConfig),w}};var a=r(n(10434)),i=r(n(7071)),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(23534)),s=n(211);r(n(99698)),r(n(37889));var l=r(n(19926)),c=r(n(386));let u=["ownerState"],d=["variants"],p=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function h(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}let m=(0,l.default)(),g=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function b({defaultTheme:e,theme:t,themeId:n}){return 0===Object.keys(t).length?e:t[n]||t}function y(e,t){let{ownerState:n}=t,r=(0,i.default)(t,u),o="function"==typeof e?e((0,a.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(e=>y(e,(0,a.default)({ownerState:n},r)));if(o&&"object"==typeof o&&Array.isArray(o.variants)){let{variants:e=[]}=o,t=(0,i.default)(o,d),s=t;return e.forEach(e=>{let t=!0;"function"==typeof e.props?t=e.props((0,a.default)({ownerState:n},r,n)):Object.keys(e.props).forEach(a=>{(null==n?void 0:n[a])!==e.props[a]&&r[a]!==e.props[a]&&(t=!1)}),t&&(Array.isArray(s)||(s=[s]),s.push("function"==typeof e.style?e.style((0,a.default)({ownerState:n},r,n)):e.style))}),s}return o}},19926:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},private_createBreakpoints:function(){return a.Z},unstable_applyStyles:function(){return i.Z}});var r=n(88647),a=n(41512),i=n(57064)},386:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},extendSxProp:function(){return a.Z},unstable_createStyleFunctionSx:function(){return r.n},unstable_defaultSxConfig:function(){return i.Z}});var r=n(86523),a=n(39707),i=n(44920)},99698:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(62908)},49425:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r}});var r=function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}},211:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},isPlainObject:function(){return r.P}});var r=n(68027)},743:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(78758)},37889:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return l},getFunctionName:function(){return i}});var r=n(59864);let a=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function i(e){let t=`${e}`.match(a),n=t&&t[1];return n||""}function o(e,t=""){return e.displayName||e.name||i(e)||t}function s(e,t,n){let r=o(t);return e.displayName||(""!==r?`${n}(${r})`:n)}function l(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return o(e,"Component");if("object"==typeof e)switch(e.$$typeof){case r.ForwardRef:return s(e,e.render,"ForwardRef");case r.Memo:return s(e,e.type,"memo")}}}},2093:function(e,t,n){"use strict";var r=n(97582),a=n(67294),i=n(92770);t.Z=function(e,t){(0,a.useEffect)(function(){var t=e(),n=!1;return!function(){(0,r.mG)(this,void 0,void 0,function(){return(0,r.Jh)(this,function(e){switch(e.label){case 0:if(!(0,i.mf)(t[Symbol.asyncIterator]))return[3,4];e.label=1;case 1:return[4,t.next()];case 2:if(e.sent().done||n)return[3,3];return[3,1];case 3:return[3,6];case 4:return[4,t];case 5:e.sent(),e.label=6;case 6:return[2]}})})}(),function(){n=!0}},t)}},85265:function(e,t,n){"use strict";n.d(t,{Z:function(){return q}});var r=n(67294),a=n(93967),i=n.n(a),o=n(1413),s=n(97685),l=n(2788),c=n(8410),u=r.createContext(null),d=r.createContext({}),p=n(4942),f=n(87462),h=n(29372),m=n(15105),g=n(64217),b=n(45987),y=n(42550),E=["prefixCls","className","containerRef"],v=function(e){var t=e.prefixCls,n=e.className,a=e.containerRef,o=(0,b.Z)(e,E),s=r.useContext(d).panel,l=(0,y.x1)(s,a);return r.createElement("div",(0,f.Z)({className:i()("".concat(t,"-content"),n),role:"dialog",ref:l},(0,g.Z)(e,{aria:!0}),{"aria-modal":"true"},o))},T=n(80334);function S(e){return"string"==typeof e&&String(Number(e))===e?((0,T.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var A={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"},O=r.forwardRef(function(e,t){var n,a,l,c=e.prefixCls,d=e.open,b=e.placement,y=e.inline,E=e.push,T=e.forceRender,O=e.autoFocus,_=e.keyboard,k=e.classNames,x=e.rootClassName,C=e.rootStyle,w=e.zIndex,I=e.className,R=e.id,N=e.style,L=e.motion,D=e.width,P=e.height,M=e.children,F=e.mask,B=e.maskClosable,j=e.maskMotion,U=e.maskClassName,G=e.maskStyle,H=e.afterOpenChange,$=e.onClose,z=e.onMouseEnter,Z=e.onMouseOver,W=e.onMouseLeave,V=e.onClick,Y=e.onKeyDown,q=e.onKeyUp,K=e.styles,X=e.drawerRender,Q=r.useRef(),J=r.useRef(),ee=r.useRef();r.useImperativeHandle(t,function(){return Q.current}),r.useEffect(function(){if(d&&O){var e;null===(e=Q.current)||void 0===e||e.focus({preventScroll:!0})}},[d]);var et=r.useState(!1),en=(0,s.Z)(et,2),er=en[0],ea=en[1],ei=r.useContext(u),eo=null!==(n=null!==(a=null===(l="boolean"==typeof E?E?{}:{distance:0}:E||{})||void 0===l?void 0:l.distance)&&void 0!==a?a:null==ei?void 0:ei.pushDistance)&&void 0!==n?n:180,es=r.useMemo(function(){return{pushDistance:eo,push:function(){ea(!0)},pull:function(){ea(!1)}}},[eo]);r.useEffect(function(){var e,t;d?null==ei||null===(e=ei.push)||void 0===e||e.call(ei):null==ei||null===(t=ei.pull)||void 0===t||t.call(ei)},[d]),r.useEffect(function(){return function(){var e;null==ei||null===(e=ei.pull)||void 0===e||e.call(ei)}},[]);var el=F&&r.createElement(h.ZP,(0,f.Z)({key:"mask"},j,{visible:d}),function(e,t){var n=e.className,a=e.style;return r.createElement("div",{className:i()("".concat(c,"-mask"),n,null==k?void 0:k.mask,U),style:(0,o.Z)((0,o.Z)((0,o.Z)({},a),G),null==K?void 0:K.mask),onClick:B&&d?$:void 0,ref:t})}),ec="function"==typeof L?L(b):L,eu={};if(er&&eo)switch(b){case"top":eu.transform="translateY(".concat(eo,"px)");break;case"bottom":eu.transform="translateY(".concat(-eo,"px)");break;case"left":eu.transform="translateX(".concat(eo,"px)");break;default:eu.transform="translateX(".concat(-eo,"px)")}"left"===b||"right"===b?eu.width=S(D):eu.height=S(P);var ed={onMouseEnter:z,onMouseOver:Z,onMouseLeave:W,onClick:V,onKeyDown:Y,onKeyUp:q},ep=r.createElement(h.ZP,(0,f.Z)({key:"panel"},ec,{visible:d,forceRender:T,onVisibleChanged:function(e){null==H||H(e)},removeOnLeave:!1,leavedClassName:"".concat(c,"-content-wrapper-hidden")}),function(t,n){var a=t.className,s=t.style,l=r.createElement(v,(0,f.Z)({id:R,containerRef:n,prefixCls:c,className:i()(I,null==k?void 0:k.content),style:(0,o.Z)((0,o.Z)({},N),null==K?void 0:K.content)},(0,g.Z)(e,{aria:!0}),ed),M);return r.createElement("div",(0,f.Z)({className:i()("".concat(c,"-content-wrapper"),null==k?void 0:k.wrapper,a),style:(0,o.Z)((0,o.Z)((0,o.Z)({},eu),s),null==K?void 0:K.wrapper)},(0,g.Z)(e,{data:!0})),X?X(l):l)}),ef=(0,o.Z)({},C);return w&&(ef.zIndex=w),r.createElement(u.Provider,{value:es},r.createElement("div",{className:i()(c,"".concat(c,"-").concat(b),x,(0,p.Z)((0,p.Z)({},"".concat(c,"-open"),d),"".concat(c,"-inline"),y)),style:ef,tabIndex:-1,ref:Q,onKeyDown:function(e){var t,n,r=e.keyCode,a=e.shiftKey;switch(r){case m.Z.TAB:r===m.Z.TAB&&(a||document.activeElement!==ee.current?a&&document.activeElement===J.current&&(null===(n=ee.current)||void 0===n||n.focus({preventScroll:!0})):null===(t=J.current)||void 0===t||t.focus({preventScroll:!0}));break;case m.Z.ESC:$&&_&&(e.stopPropagation(),$(e))}}},el,r.createElement("div",{tabIndex:0,ref:J,style:A,"aria-hidden":"true","data-sentinel":"start"}),ep,r.createElement("div",{tabIndex:0,ref:ee,style:A,"aria-hidden":"true","data-sentinel":"end"})))}),_=function(e){var t=e.open,n=e.prefixCls,a=e.placement,i=e.autoFocus,u=e.keyboard,p=e.width,f=e.mask,h=void 0===f||f,m=e.maskClosable,g=e.getContainer,b=e.forceRender,y=e.afterOpenChange,E=e.destroyOnClose,v=e.onMouseEnter,T=e.onMouseOver,S=e.onMouseLeave,A=e.onClick,_=e.onKeyDown,k=e.onKeyUp,x=e.panelRef,C=r.useState(!1),w=(0,s.Z)(C,2),I=w[0],R=w[1],N=r.useState(!1),L=(0,s.Z)(N,2),D=L[0],P=L[1];(0,c.Z)(function(){P(!0)},[]);var M=!!D&&void 0!==t&&t,F=r.useRef(),B=r.useRef();(0,c.Z)(function(){M&&(B.current=document.activeElement)},[M]);var j=r.useMemo(function(){return{panel:x}},[x]);if(!b&&!I&&!M&&E)return null;var U=(0,o.Z)((0,o.Z)({},e),{},{open:M,prefixCls:void 0===n?"rc-drawer":n,placement:void 0===a?"right":a,autoFocus:void 0===i||i,keyboard:void 0===u||u,width:void 0===p?378:p,mask:h,maskClosable:void 0===m||m,inline:!1===g,afterOpenChange:function(e){var t,n;R(e),null==y||y(e),e||!B.current||null!==(t=F.current)&&void 0!==t&&t.contains(B.current)||null===(n=B.current)||void 0===n||n.focus({preventScroll:!0})},ref:F},{onMouseEnter:v,onMouseOver:T,onMouseLeave:S,onClick:A,onKeyDown:_,onKeyUp:k});return r.createElement(d.Provider,{value:j},r.createElement(l.Z,{open:M||b||I,autoDestroy:!1,getContainer:g,autoLock:h&&(M||I)},r.createElement(O,U)))},k=n(89942),x=n(87263),C=n(33603),w=n(43945),I=n(53124),R=n(16569),N=n(69760),L=n(48054),D=e=>{var t,n;let{prefixCls:a,title:o,footer:s,extra:l,loading:c,onClose:u,headerStyle:d,bodyStyle:p,footerStyle:f,children:h,classNames:m,styles:g}=e,{drawer:b}=r.useContext(I.E_),y=r.useCallback(e=>r.createElement("button",{type:"button",onClick:u,"aria-label":"Close",className:`${a}-close`},e),[u]),[E,v]=(0,N.Z)((0,N.w)(e),(0,N.w)(b),{closable:!0,closeIconRender:y}),T=r.useMemo(()=>{var e,t;return o||E?r.createElement("div",{style:Object.assign(Object.assign(Object.assign({},null===(e=null==b?void 0:b.styles)||void 0===e?void 0:e.header),d),null==g?void 0:g.header),className:i()(`${a}-header`,{[`${a}-header-close-only`]:E&&!o&&!l},null===(t=null==b?void 0:b.classNames)||void 0===t?void 0:t.header,null==m?void 0:m.header)},r.createElement("div",{className:`${a}-header-title`},v,o&&r.createElement("div",{className:`${a}-title`},o)),l&&r.createElement("div",{className:`${a}-extra`},l)):null},[E,v,l,d,a,o]),S=r.useMemo(()=>{var e,t;if(!s)return null;let n=`${a}-footer`;return r.createElement("div",{className:i()(n,null===(e=null==b?void 0:b.classNames)||void 0===e?void 0:e.footer,null==m?void 0:m.footer),style:Object.assign(Object.assign(Object.assign({},null===(t=null==b?void 0:b.styles)||void 0===t?void 0:t.footer),f),null==g?void 0:g.footer)},s)},[s,f,a]);return r.createElement(r.Fragment,null,T,r.createElement("div",{className:i()(`${a}-body`,null==m?void 0:m.body,null===(t=null==b?void 0:b.classNames)||void 0===t?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},null===(n=null==b?void 0:b.styles)||void 0===n?void 0:n.body),p),null==g?void 0:g.body)},c?r.createElement(L.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${a}-body-skeleton`}):h),S)},P=n(25446),M=n(14747),F=n(83559),B=n(83262);let j=e=>{let t="100%";return({left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`})[e]},U=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),G=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}}},U({opacity:e},{opacity:1})),H=(e,t)=>[G(.7,t),U({transform:j(e)},{transform:"none"})];var $=e=>{let{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:G(0,n),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce((e,t)=>Object.assign(Object.assign({},e),{[`&-${t}`]:H(t,n)}),{})}}};let z=e=>{let{borderRadiusSM:t,componentCls:n,zIndexPopup:r,colorBgMask:a,colorBgElevated:i,motionDurationSlow:o,motionDurationMid:s,paddingXS:l,padding:c,paddingLG:u,fontSizeLG:d,lineHeightLG:p,lineWidth:f,lineType:h,colorSplit:m,marginXS:g,colorIcon:b,colorIconHover:y,colorBgTextHover:E,colorBgTextActive:v,colorText:T,fontWeightStrong:S,footerPaddingBlock:A,footerPaddingInline:O,calc:_}=e,k=`${n}-content-wrapper`;return{[n]:{position:"fixed",inset:0,zIndex:r,pointerEvents:"none",color:T,"&-pure":{position:"relative",background:i,display:"flex",flexDirection:"column",[`&${n}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${n}-mask`]:{position:"absolute",inset:0,zIndex:r,background:a,pointerEvents:"auto"},[k]:{position:"absolute",zIndex:r,maxWidth:"100vw",transition:`all ${o}`,"&-hidden":{display:"none"}},[`&-left > ${k}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${k}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${k}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${k}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${n}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:i,pointerEvents:"auto"},[`${n}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,P.bf)(c)} ${(0,P.bf)(u)}`,fontSize:d,lineHeight:p,borderBottom:`${(0,P.bf)(f)} ${h} ${m}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:"none"},[`${n}-close`]:Object.assign({display:"inline-flex",width:_(d).add(l).equal(),height:_(d).add(l).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",marginInlineEnd:g,color:b,fontWeight:S,fontSize:d,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${s}`,textRendering:"auto","&:hover":{color:y,backgroundColor:E,textDecoration:"none"},"&:active":{backgroundColor:v}},(0,M.Qy)(e)),[`${n}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:d,lineHeight:p},[`${n}-body`]:{flex:1,minWidth:0,minHeight:0,padding:u,overflow:"auto",[`${n}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${n}-footer`]:{flexShrink:0,padding:`${(0,P.bf)(A)} ${(0,P.bf)(O)}`,borderTop:`${(0,P.bf)(f)} ${h} ${m}`},"&-rtl":{direction:"rtl"}}}};var Z=(0,F.I$)("Drawer",e=>{let t=(0,B.IX)(e,{});return[z(t),$(t)]},e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding})),W=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let V={distance:180},Y=e=>{let{rootClassName:t,width:n,height:a,size:o="default",mask:s=!0,push:l=V,open:c,afterOpenChange:u,onClose:d,prefixCls:p,getContainer:f,style:h,className:m,visible:g,afterVisibleChange:b,maskStyle:y,drawerStyle:E,contentWrapperStyle:v}=e,T=W(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:S,getPrefixCls:A,direction:O,drawer:N}=r.useContext(I.E_),L=A("drawer",p),[P,M,F]=Z(L),B=void 0===f&&S?()=>S(document.body):f,j=i()({"no-mask":!s,[`${L}-rtl`]:"rtl"===O},t,M,F),U=r.useMemo(()=>null!=n?n:"large"===o?736:378,[n,o]),G=r.useMemo(()=>null!=a?a:"large"===o?736:378,[a,o]),H={motionName:(0,C.m)(L,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},$=(0,R.H)(),[z,Y]=(0,x.Cn)("Drawer",T.zIndex),{classNames:q={},styles:K={}}=T,{classNames:X={},styles:Q={}}=N||{};return P(r.createElement(k.Z,{form:!0,space:!0},r.createElement(w.Z.Provider,{value:Y},r.createElement(_,Object.assign({prefixCls:L,onClose:d,maskMotion:H,motion:e=>({motionName:(0,C.m)(L,`panel-motion-${e}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500})},T,{classNames:{mask:i()(q.mask,X.mask),content:i()(q.content,X.content),wrapper:i()(q.wrapper,X.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},K.mask),y),Q.mask),content:Object.assign(Object.assign(Object.assign({},K.content),E),Q.content),wrapper:Object.assign(Object.assign(Object.assign({},K.wrapper),v),Q.wrapper)},open:null!=c?c:g,mask:s,push:l,width:U,height:G,style:Object.assign(Object.assign({},null==N?void 0:N.style),h),className:i()(null==N?void 0:N.className,m),rootClassName:j,getContainer:B,afterOpenChange:null!=u?u:b,panelRef:$,zIndex:z}),r.createElement(D,Object.assign({prefixCls:L},T,{onClose:d}))))))};Y._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,style:n,className:a,placement:o="right"}=e,s=W(e,["prefixCls","style","className","placement"]),{getPrefixCls:l}=r.useContext(I.E_),c=l("drawer",t),[u,d,p]=Z(c),f=i()(c,`${c}-pure`,`${c}-${o}`,d,p,a);return u(r.createElement("div",{className:f,style:n},r.createElement(D,Object.assign({prefixCls:c},s))))};var q=Y},86250:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r=n(67294),a=n(93967),i=n.n(a),o=n(98423),s=n(98065),l=n(53124),c=n(83559),u=n(83262);let d=["wrap","nowrap","wrap-reverse"],p=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],f=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],h=(e,t)=>{let n=!0===t.wrap?"wrap":t.wrap;return{[`${e}-wrap-${n}`]:n&&d.includes(n)}},m=(e,t)=>{let n={};return f.forEach(r=>{n[`${e}-align-${r}`]=t.align===r}),n[`${e}-align-stretch`]=!t.align&&!!t.vertical,n},g=(e,t)=>{let n={};return p.forEach(r=>{n[`${e}-justify-${r}`]=t.justify===r}),n},b=e=>{let{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},y=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},E=e=>{let{componentCls:t}=e,n={};return d.forEach(e=>{n[`${t}-wrap-${e}`]={flexWrap:e}}),n},v=e=>{let{componentCls:t}=e,n={};return f.forEach(e=>{n[`${t}-align-${e}`]={alignItems:e}}),n},T=e=>{let{componentCls:t}=e,n={};return p.forEach(e=>{n[`${t}-justify-${e}`]={justifyContent:e}}),n};var S=(0,c.I$)("Flex",e=>{let{paddingXS:t,padding:n,paddingLG:r}=e,a=(0,u.IX)(e,{flexGapSM:t,flexGap:n,flexGapLG:r});return[b(a),y(a),E(a),v(a),T(a)]},()=>({}),{resetStyle:!1}),A=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let O=r.forwardRef((e,t)=>{let{prefixCls:n,rootClassName:a,className:c,style:u,flex:d,gap:p,children:f,vertical:b=!1,component:y="div"}=e,E=A(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:v,direction:T,getPrefixCls:O}=r.useContext(l.E_),_=O("flex",n),[k,x,C]=S(_),w=null!=b?b:null==v?void 0:v.vertical,I=i()(c,a,null==v?void 0:v.className,_,x,C,i()(Object.assign(Object.assign(Object.assign({},h(_,e)),m(_,e)),g(_,e))),{[`${_}-rtl`]:"rtl"===T,[`${_}-gap-${p}`]:(0,s.n)(p),[`${_}-vertical`]:w}),R=Object.assign(Object.assign({},null==v?void 0:v.style),u);return d&&(R.flex=d),p&&!(0,s.n)(p)&&(R.gap=p),k(r.createElement(y,Object.assign({ref:t,className:I,style:R},(0,o.Z)(E,["justify","wrap","align"])),f))});var _=O},57020:function(e,t,n){"use strict";n.d(t,{Z:function(){return eT}});var r=n(67294),a=n(99611),i=n(93967),o=n.n(i),s=n(87462),l=n(1413),c=n(4942),u=n(97685),d=n(71002),p=n(45987),f=n(27678),h=n(21770),m=n(40974),g=n(64019),b=n(15105),y=n(2788),E=n(29372),v=r.createContext(null),T=function(e){var t=e.visible,n=e.maskTransitionName,a=e.getContainer,i=e.prefixCls,s=e.rootClassName,u=e.icons,d=e.countRender,p=e.showSwitch,f=e.showProgress,h=e.current,m=e.transform,g=e.count,T=e.scale,S=e.minScale,A=e.maxScale,O=e.closeIcon,_=e.onSwitchLeft,k=e.onSwitchRight,x=e.onClose,C=e.onZoomIn,w=e.onZoomOut,I=e.onRotateRight,R=e.onRotateLeft,N=e.onFlipX,L=e.onFlipY,D=e.onReset,P=e.toolbarRender,M=e.zIndex,F=e.image,B=(0,r.useContext)(v),j=u.rotateLeft,U=u.rotateRight,G=u.zoomIn,H=u.zoomOut,$=u.close,z=u.left,Z=u.right,W=u.flipX,V=u.flipY,Y="".concat(i,"-operations-operation");r.useEffect(function(){var e=function(e){e.keyCode===b.Z.ESC&&x()};return t&&window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}},[t]);var q=[{icon:V,onClick:L,type:"flipY"},{icon:W,onClick:N,type:"flipX"},{icon:j,onClick:R,type:"rotateLeft"},{icon:U,onClick:I,type:"rotateRight"},{icon:H,onClick:w,type:"zoomOut",disabled:T<=S},{icon:G,onClick:C,type:"zoomIn",disabled:T===A}].map(function(e){var t,n=e.icon,a=e.onClick,s=e.type,l=e.disabled;return r.createElement("div",{className:o()(Y,(t={},(0,c.Z)(t,"".concat(i,"-operations-operation-").concat(s),!0),(0,c.Z)(t,"".concat(i,"-operations-operation-disabled"),!!l),t)),onClick:a,key:s},n)}),K=r.createElement("div",{className:"".concat(i,"-operations")},q);return r.createElement(E.ZP,{visible:t,motionName:n},function(e){var t=e.className,n=e.style;return r.createElement(y.Z,{open:!0,getContainer:null!=a?a:document.body},r.createElement("div",{className:o()("".concat(i,"-operations-wrapper"),t,s),style:(0,l.Z)((0,l.Z)({},n),{},{zIndex:M})},null===O?null:r.createElement("button",{className:"".concat(i,"-close"),onClick:x},O||$),p&&r.createElement(r.Fragment,null,r.createElement("div",{className:o()("".concat(i,"-switch-left"),(0,c.Z)({},"".concat(i,"-switch-left-disabled"),0===h)),onClick:_},z),r.createElement("div",{className:o()("".concat(i,"-switch-right"),(0,c.Z)({},"".concat(i,"-switch-right-disabled"),h===g-1)),onClick:k},Z)),r.createElement("div",{className:"".concat(i,"-footer")},f&&r.createElement("div",{className:"".concat(i,"-progress")},d?d(h+1,g):"".concat(h+1," / ").concat(g)),P?P(K,(0,l.Z)((0,l.Z)({icons:{flipYIcon:q[0],flipXIcon:q[1],rotateLeftIcon:q[2],rotateRightIcon:q[3],zoomOutIcon:q[4],zoomInIcon:q[5]},actions:{onFlipY:L,onFlipX:N,onRotateLeft:R,onRotateRight:I,onZoomOut:w,onZoomIn:C,onReset:D,onClose:x},transform:m},B?{current:h,total:g}:{}),{},{image:F})):K)))})},S=n(91881),A=n(75164),O={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1},_=n(80334);function k(e,t,n,r){var a=t+n,i=(n-r)/2;if(n>r){if(t>0)return(0,c.Z)({},e,i);if(t<0&&ar)return(0,c.Z)({},e,t<0?i:-i);return{}}function x(e,t,n,r){var a=(0,f.g1)(),i=a.width,o=a.height,s=null;return e<=i&&t<=o?s={x:0,y:0}:(e>i||t>o)&&(s=(0,l.Z)((0,l.Z)({},k("x",n,e,i)),k("y",r,t,o))),s}function C(e){var t=e.src,n=e.isCustomPlaceholder,a=e.fallback,i=(0,r.useState)(n?"loading":"normal"),o=(0,u.Z)(i,2),s=o[0],l=o[1],c=(0,r.useRef)(!1),d="error"===s;(0,r.useEffect)(function(){var e=!0;return new Promise(function(e){var n=document.createElement("img");n.onerror=function(){return e(!1)},n.onload=function(){return e(!0)},n.src=t}).then(function(t){!t&&e&&l("error")}),function(){e=!1}},[t]),(0,r.useEffect)(function(){n&&!c.current?l("loading"):d&&l("normal")},[t]);var p=function(){l("normal")};return[function(e){c.current=!1,"loading"===s&&null!=e&&e.complete&&(e.naturalWidth||e.naturalHeight)&&(c.current=!0,p())},d&&a?{src:a}:{onLoad:p,src:t},s]}function w(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}var I=["fallback","src","imgRef"],R=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],N=function(e){var t=e.fallback,n=e.src,a=e.imgRef,i=(0,p.Z)(e,I),o=C({src:n,fallback:t}),l=(0,u.Z)(o,2),c=l[0],d=l[1];return r.createElement("img",(0,s.Z)({ref:function(e){a.current=e,c(e)}},i,d))},L=function(e){var t,n,a,i,d,h,y,E,k,C,I,L,D,P,M,F,B,j,U,G,H,$,z,Z,W,V,Y,q,K=e.prefixCls,X=e.src,Q=e.alt,J=e.imageInfo,ee=e.fallback,et=e.movable,en=void 0===et||et,er=e.onClose,ea=e.visible,ei=e.icons,eo=e.rootClassName,es=e.closeIcon,el=e.getContainer,ec=e.current,eu=void 0===ec?0:ec,ed=e.count,ep=void 0===ed?1:ed,ef=e.countRender,eh=e.scaleStep,em=void 0===eh?.5:eh,eg=e.minScale,eb=void 0===eg?1:eg,ey=e.maxScale,eE=void 0===ey?50:ey,ev=e.transitionName,eT=e.maskTransitionName,eS=void 0===eT?"fade":eT,eA=e.imageRender,eO=e.imgCommonProps,e_=e.toolbarRender,ek=e.onTransform,ex=e.onChange,eC=(0,p.Z)(e,R),ew=(0,r.useRef)(),eI=(0,r.useContext)(v),eR=eI&&ep>1,eN=eI&&ep>=1,eL=(0,r.useState)(!0),eD=(0,u.Z)(eL,2),eP=eD[0],eM=eD[1],eF=(t=(0,r.useRef)(null),n=(0,r.useRef)([]),a=(0,r.useState)(O),d=(i=(0,u.Z)(a,2))[0],h=i[1],y=function(e,r){null===t.current&&(n.current=[],t.current=(0,A.Z)(function(){h(function(e){var a=e;return n.current.forEach(function(e){a=(0,l.Z)((0,l.Z)({},a),e)}),t.current=null,null==ek||ek({transform:a,action:r}),a})})),n.current.push((0,l.Z)((0,l.Z)({},d),e))},{transform:d,resetTransform:function(e){h(O),(0,S.Z)(O,d)||null==ek||ek({transform:O,action:e})},updateTransform:y,dispatchZoomChange:function(e,t,n,r,a){var i=ew.current,o=i.width,s=i.height,l=i.offsetWidth,c=i.offsetHeight,u=i.offsetLeft,p=i.offsetTop,h=e,m=d.scale*e;m>eE?(m=eE,h=eE/d.scale):m0&&(t=1/t),eG(t,"wheel",e.clientX,e.clientY)}}}),e$=eH.isMoving,ez=eH.onMouseDown,eZ=eH.onWheel,eW=(U=eB.rotate,G=eB.scale,H=eB.x,$=eB.y,z=(0,r.useState)(!1),W=(Z=(0,u.Z)(z,2))[0],V=Z[1],Y=(0,r.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),q=function(e){Y.current=(0,l.Z)((0,l.Z)({},Y.current),e)},(0,r.useEffect)(function(){var e;return ea&&en&&(e=(0,g.Z)(window,"touchmove",function(e){return e.preventDefault()},{passive:!1})),function(){var t;null===(t=e)||void 0===t||t.remove()}},[ea,en]),{isTouching:W,onTouchStart:function(e){if(en){e.stopPropagation(),V(!0);var t=e.touches,n=void 0===t?[]:t;n.length>1?q({point1:{x:n[0].clientX,y:n[0].clientY},point2:{x:n[1].clientX,y:n[1].clientY},eventType:"touchZoom"}):q({point1:{x:n[0].clientX-H,y:n[0].clientY-$},eventType:"move"})}},onTouchMove:function(e){var t=e.touches,n=void 0===t?[]:t,r=Y.current,a=r.point1,i=r.point2,o=r.eventType;if(n.length>1&&"touchZoom"===o){var s={x:n[0].clientX,y:n[0].clientY},l={x:n[1].clientX,y:n[1].clientY},c=function(e,t,n,r){var a=w(e,n),i=w(t,r);if(0===a&&0===i)return[e.x,e.y];var o=a/(a+i);return[e.x+o*(t.x-e.x),e.y+o*(t.y-e.y)]}(a,i,s,l),d=(0,u.Z)(c,2),p=d[0],f=d[1];eG(w(s,l)/w(a,i),"touchZoom",p,f,!0),q({point1:s,point2:l,eventType:"touchZoom"})}else"move"===o&&(eU({x:n[0].clientX-a.x,y:n[0].clientY-a.y},"move"),q({eventType:"move"}))},onTouchEnd:function(){if(ea){if(W&&V(!1),q({eventType:"none"}),eb>G)return eU({x:0,y:0,scale:eb},"touchZoom");var e=ew.current.offsetWidth*G,t=ew.current.offsetHeight*G,n=ew.current.getBoundingClientRect(),r=n.left,a=n.top,i=U%180!=0,o=x(i?t:e,i?e:t,r,a);o&&eU((0,l.Z)({},o),"dragRebound")}}}),eV=eW.isTouching,eY=eW.onTouchStart,eq=eW.onTouchMove,eK=eW.onTouchEnd,eX=eB.rotate,eQ=eB.scale,eJ=o()((0,c.Z)({},"".concat(K,"-moving"),e$));(0,r.useEffect)(function(){eP||eM(!0)},[eP]);var e0=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu>0&&(eM(!1),ej("prev"),null==ex||ex(eu-1,eu))},e1=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu({position:e||"absolute",inset:0}),eu=e=>{let{iconCls:t,motionDurationSlow:n,paddingXXS:r,marginXXS:a,prefixCls:i,colorTextLightSolid:o}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:o,background:new en.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${i}-mask-info`]:Object.assign(Object.assign({},ea.vS),{padding:`0 ${(0,et.bf)(r)}`,[t]:{marginInlineEnd:a,svg:{verticalAlign:"baseline"}}})}},ed=e=>{let{previewCls:t,modalMaskBg:n,paddingSM:r,marginXL:a,margin:i,paddingLG:o,previewOperationColorDisabled:s,previewOperationHoverColor:l,motionDurationSlow:c,iconCls:u,colorTextLightSolid:d}=e,p=new en.C(n).setAlpha(.1),f=p.clone().setAlpha(.2);return{[`${t}-footer`]:{position:"fixed",bottom:a,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor,transform:"translateX(-50%)"},[`${t}-progress`]:{marginBottom:i},[`${t}-close`]:{position:"fixed",top:a,right:{_skip_check_:!0,value:a},display:"flex",color:d,backgroundColor:p.toRgbString(),borderRadius:"50%",padding:r,outline:0,border:0,cursor:"pointer",transition:`all ${c}`,"&:hover":{backgroundColor:f.toRgbString()},[`& > ${u}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,et.bf)(o)}`,backgroundColor:p.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:r,padding:r,cursor:"pointer",transition:`all ${c}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${u}`]:{color:l},"&-disabled":{color:s,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${u}`]:{fontSize:e.previewOperationSize}}}}},ep=e=>{let{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:r,previewCls:a,zIndexPopup:i,motionDurationSlow:o}=e,s=new en.C(t).setAlpha(.1),l=s.clone().setAlpha(.2);return{[`${a}-switch-left, ${a}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(i).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:s.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${o}`,userSelect:"none","&:hover":{background:l.toRgbString()},"&-disabled":{"&, &:hover":{color:r,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${a}-switch-left`]:{insetInlineStart:e.marginSM},[`${a}-switch-right`]:{insetInlineEnd:e.marginSM}}},ef=e=>{let{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:a}=e;return[{[`${a}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:Object.assign(Object.assign({},ec()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${r} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},ec()),{transition:`transform ${r} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${a}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${a}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal()},"&":[ed(e),ep(e)]}]},eh=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},eu(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},ec())}}},em=e=>{let{previewCls:t}=e;return{[`${t}-root`]:(0,ei._y)(e,"zoom"),"&":(0,eo.J$)(e,!0)}};var eg=(0,es.I$)("Image",e=>{let t=`${e.componentCls}-preview`,n=(0,el.IX)(e,{previewCls:t,modalMaskBg:new en.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[eh(n),ef(n),(0,er.QA)((0,el.IX)(n,{componentCls:t})),em(n)]},e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new en.C(e.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new en.C(e.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new en.C(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:1.5*e.fontSizeIcon})),eb=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ey={rotateLeft:r.createElement(K.Z,null),rotateRight:r.createElement(X.Z,null),zoomIn:r.createElement(J.Z,null),zoomOut:r.createElement(ee.Z,null),close:r.createElement(V.Z,null),left:r.createElement(Y.Z,null),right:r.createElement(q.Z,null),flipX:r.createElement(Q.Z,null),flipY:r.createElement(Q.Z,{rotate:90})};var eE=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ev=e=>{var t;let{prefixCls:n,preview:i,className:s,rootClassName:l,style:c}=e,u=eE(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:d,locale:p=W.Z,getPopupContainer:f,image:h}=r.useContext(z.E_),m=d("image",n),g=d(),b=p.Image||W.Z.Image,y=(0,Z.Z)(m),[E,v,T]=eg(m,y),S=o()(l,v,T,y),A=o()(s,v,null==h?void 0:h.className),[O]=(0,H.Cn)("ImagePreview","object"==typeof i?i.zIndex:void 0),_=r.useMemo(()=>{var e;if(!1===i)return i;let t="object"==typeof i?i:{},{getContainer:n,closeIcon:o}=t,s=eE(t,["getContainer","closeIcon"]);return Object.assign(Object.assign({mask:r.createElement("div",{className:`${m}-mask-info`},r.createElement(a.Z,null),null==b?void 0:b.preview),icons:ey},s),{getContainer:null!=n?n:f,transitionName:(0,$.m)(g,"zoom",t.transitionName),maskTransitionName:(0,$.m)(g,"fade",t.maskTransitionName),zIndex:O,closeIcon:null!=o?o:null===(e=null==h?void 0:h.preview)||void 0===e?void 0:e.closeIcon})},[i,b,null===(t=null==h?void 0:h.preview)||void 0===t?void 0:t.closeIcon]),k=Object.assign(Object.assign({},null==h?void 0:h.style),c);return E(r.createElement(G,Object.assign({prefixCls:m,preview:_,rootClassName:S,className:A,style:k},u)))};ev.PreviewGroup=e=>{var{previewPrefixCls:t,preview:n}=e,a=eb(e,["previewPrefixCls","preview"]);let{getPrefixCls:i}=r.useContext(z.E_),s=i("image",t),l=`${s}-preview`,c=i(),u=(0,Z.Z)(s),[d,p,f]=eg(s,u),[h]=(0,H.Cn)("ImagePreview","object"==typeof n?n.zIndex:void 0),m=r.useMemo(()=>{var e;if(!1===n)return n;let t="object"==typeof n?n:{},r=o()(p,f,u,null!==(e=t.rootClassName)&&void 0!==e?e:"");return Object.assign(Object.assign({},t),{transitionName:(0,$.m)(c,"zoom",t.transitionName),maskTransitionName:(0,$.m)(c,"fade",t.maskTransitionName),rootClassName:r,zIndex:h})},[n]);return d(r.createElement(G.PreviewGroup,Object.assign({preview:m,previewPrefixCls:l,icons:ey},a)))};var eT=ev},66309:function(e,t,n){"use strict";n.d(t,{Z:function(){return I}});var r=n(67294),a=n(93967),i=n.n(a),o=n(98423),s=n(98787),l=n(69760),c=n(96159),u=n(45353),d=n(53124),p=n(25446),f=n(10274),h=n(14747),m=n(83262),g=n(83559);let b=e=>{let{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:a,calc:i}=e,o=i(r).sub(n).equal(),s=i(t).sub(n).equal();return{[a]:Object.assign(Object.assign({},(0,h.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:o,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,p.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${a}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${a}-close-icon`]:{marginInlineStart:s,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${a}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${a}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:o}}),[`${a}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},y=e=>{let{lineWidth:t,fontSizeIcon:n,calc:r}=e,a=e.fontSizeSM,i=(0,m.IX)(e,{tagFontSize:a,tagLineHeight:(0,p.bf)(r(e.lineHeightSM).mul(a).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return i},E=e=>({defaultBg:new f.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var v=(0,g.I$)("Tag",e=>{let t=y(e);return b(t)},E),T=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let S=r.forwardRef((e,t)=>{let{prefixCls:n,style:a,className:o,checked:s,onChange:l,onClick:c}=e,u=T(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:p,tag:f}=r.useContext(d.E_),h=p("tag",n),[m,g,b]=v(h),y=i()(h,`${h}-checkable`,{[`${h}-checkable-checked`]:s},null==f?void 0:f.className,o,g,b);return m(r.createElement("span",Object.assign({},u,{ref:t,style:Object.assign(Object.assign({},a),null==f?void 0:f.style),className:y,onClick:e=>{null==l||l(!s),null==c||c(e)}})))});var A=n(98719);let O=e=>(0,A.Z)(e,(t,n)=>{let{textColor:r,lightBorderColor:a,lightColor:i,darkColor:o}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:i,borderColor:a,"&-inverse":{color:e.colorTextLightSolid,background:o,borderColor:o},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var _=(0,g.bk)(["Tag","preset"],e=>{let t=y(e);return O(t)},E);let k=(e,t,n)=>{let r=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var x=(0,g.bk)(["Tag","status"],e=>{let t=y(e);return[k(t,"success","Success"),k(t,"processing","Info"),k(t,"error","Error"),k(t,"warning","Warning")]},E),C=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let w=r.forwardRef((e,t)=>{let{prefixCls:n,className:a,rootClassName:p,style:f,children:h,icon:m,color:g,onClose:b,bordered:y=!0,visible:E}=e,T=C(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:S,direction:A,tag:O}=r.useContext(d.E_),[k,w]=r.useState(!0),I=(0,o.Z)(T,["closeIcon","closable"]);r.useEffect(()=>{void 0!==E&&w(E)},[E]);let R=(0,s.o2)(g),N=(0,s.yT)(g),L=R||N,D=Object.assign(Object.assign({backgroundColor:g&&!L?g:void 0},null==O?void 0:O.style),f),P=S("tag",n),[M,F,B]=v(P),j=i()(P,null==O?void 0:O.className,{[`${P}-${g}`]:L,[`${P}-has-color`]:g&&!L,[`${P}-hidden`]:!k,[`${P}-rtl`]:"rtl"===A,[`${P}-borderless`]:!y},a,p,F,B),U=e=>{e.stopPropagation(),null==b||b(e),e.defaultPrevented||w(!1)},[,G]=(0,l.Z)((0,l.w)(e),(0,l.w)(O),{closable:!1,closeIconRender:e=>{let t=r.createElement("span",{className:`${P}-close-icon`,onClick:U},e);return(0,c.wm)(e,t,e=>({onClick:t=>{var n;null===(n=null==e?void 0:e.onClick)||void 0===n||n.call(e,t),U(t)},className:i()(null==e?void 0:e.className,`${P}-close-icon`)}))}}),H="function"==typeof T.onClick||h&&"a"===h.type,$=m||null,z=$?r.createElement(r.Fragment,null,$,h&&r.createElement("span",null,h)):h,Z=r.createElement("span",Object.assign({},I,{ref:t,className:j,style:D}),z,G,R&&r.createElement(_,{key:"preset",prefixCls:P}),N&&r.createElement(x,{key:"status",prefixCls:P}));return M(H?r.createElement(u.Z,{component:"Tag"},Z):Z)});w.CheckableTag=S;var I=w},62502:function(e,t,n){"use strict";var r=n(15575),a=n(64977),i=n(72869),o=n(32473).Q,s=n(24395).Q;e.exports=function(e,t,n){var a=n?function(e){for(var t,n=e.length,r=-1,a={};++r4&&h.slice(0,4)===o&&s.test(t)&&("-"===t.charAt(4)?m=o+(n=t.slice(5).replace(l,d)).charAt(0).toUpperCase()+n.slice(1):(f=(p=t).slice(4),t=l.test(f)?p:("-"!==(f=f.replace(c,u)).charAt(0)&&(f="-"+f),o+f)),g=a),new g(m,t))};var s=/^data[-\w.:]+$/i,l=/-[a-z]/g,c=/[A-Z]/g;function u(e){return"-"+e.toLowerCase()}function d(e){return e.charAt(1).toUpperCase()}},48055:function(e,t,n){"use strict";var r=n(26230),a=n(13970),i=n(10629),o=n(647),s=n(91305),l=n(22537);e.exports=r([i,a,o,s,l])},91305:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=r.booleanish,o=r.number,s=r.spaceSeparated;e.exports=a({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:i,ariaAutoComplete:null,ariaBusy:i,ariaChecked:i,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:s,ariaCurrent:null,ariaDescribedBy:s,ariaDetails:null,ariaDisabled:i,ariaDropEffect:s,ariaErrorMessage:null,ariaExpanded:i,ariaFlowTo:s,ariaGrabbed:i,ariaHasPopup:null,ariaHidden:i,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s,ariaLevel:o,ariaLive:null,ariaModal:i,ariaMultiLine:i,ariaMultiSelectable:i,ariaOrientation:null,ariaOwns:s,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:i,ariaReadOnly:i,ariaRelevant:null,ariaRequired:i,ariaRoleDescription:s,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:i,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}})},22537:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=n(19348),o=r.boolean,s=r.overloadedBoolean,l=r.booleanish,c=r.number,u=r.spaceSeparated,d=r.commaSeparated;e.exports=a({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:i,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:d,acceptCharset:u,accessKey:u,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:u,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:u,cols:c,colSpan:null,content:null,contentEditable:l,controls:o,controlsList:u,coords:c|d,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:s,draggable:l,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:u,height:c,hidden:o,high:c,href:null,hrefLang:null,htmlFor:u,httpEquiv:u,id:null,imageSizes:null,imageSrcSet:d,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:u,itemRef:u,itemScope:o,itemType:u,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:u,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:u,required:o,reversed:o,rows:c,rowSpan:c,sandbox:u,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:c,sizes:null,slot:null,span:c,spellCheck:l,src:null,srcDoc:null,srcLang:null,srcSet:d,start:c,step:null,style:null,tabIndex:c,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:l,width:c,wrap:null,align:null,aLink:null,archive:u,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:l,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}})},19348:function(e,t,n){"use strict";var r=n(21098);e.exports=function(e,t){return r(e,t.toLowerCase())}},21098:function(e){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},47589:function(e,t,n){"use strict";var r=n(64977),a=n(16038),i=n(78444);e.exports=function(e){var t,n,o=e.space,s=e.mustUseProperty||[],l=e.attributes||{},c=e.properties,u=e.transform,d={},p={};for(t in c)n=new i(t,u(l,t),c[t],o),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),d[t]=n,p[r(t)]=t,p[r(n.attribute)]=t;return new a(d,p,o)}},78444:function(e,t,n){"use strict";var r=n(40313),a=n(61422);e.exports=s,s.prototype=new r,s.prototype.defined=!0;var i=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=i.length;function s(e,t,n,s){var l,c,u,d=-1;for(s&&(this.space=s),r.call(this,e,t);++d=97&&t<=122||t>=65&&t<=90}},7961:function(e,t,n){"use strict";var r=n(46260),a=n(46195);e.exports=function(e){return r(e)||a(e)}},46195:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},79480:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}},15531:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/construct/app/extra/components/auto-plan",function(){return n(78174)}])},85813:function(e,t,n){"use strict";n.d(t,{r:function(){return _6}});var r,a,i,o,s,l,c,u,d,p,f,h,m,g,b,y,E,v,T,S,A,O,_,k,x,C,w,I,R,N,L,D,P,M,F,B,j,U,G,H,$,z,Z,W,V,Y,q,K,X,Q,J,ee,et,en,er,ea={};n.r(ea),n.d(ea,{area:function(){return cf},bottom:function(){return cT},bottomLeft:function(){return cT},bottomRight:function(){return cT},inside:function(){return cT},left:function(){return cT},outside:function(){return c_},right:function(){return cT},spider:function(){return cR},surround:function(){return cL},top:function(){return cT},topLeft:function(){return cT},topRight:function(){return cT}});var ei={};n.r(ei),n.d(ei,{interpolateBlues:function(){return uD.interpolateBlues},interpolateBrBG:function(){return uD.interpolateBrBG},interpolateBuGn:function(){return uD.interpolateBuGn},interpolateBuPu:function(){return uD.interpolateBuPu},interpolateCividis:function(){return uD.interpolateCividis},interpolateCool:function(){return uD.interpolateCool},interpolateCubehelixDefault:function(){return uD.interpolateCubehelixDefault},interpolateGnBu:function(){return uD.interpolateGnBu},interpolateGreens:function(){return uD.interpolateGreens},interpolateGreys:function(){return uD.interpolateGreys},interpolateInferno:function(){return uD.interpolateInferno},interpolateMagma:function(){return uD.interpolateMagma},interpolateOrRd:function(){return uD.interpolateOrRd},interpolateOranges:function(){return uD.interpolateOranges},interpolatePRGn:function(){return uD.interpolatePRGn},interpolatePiYG:function(){return uD.interpolatePiYG},interpolatePlasma:function(){return uD.interpolatePlasma},interpolatePuBu:function(){return uD.interpolatePuBu},interpolatePuBuGn:function(){return uD.interpolatePuBuGn},interpolatePuOr:function(){return uD.interpolatePuOr},interpolatePuRd:function(){return uD.interpolatePuRd},interpolatePurples:function(){return uD.interpolatePurples},interpolateRainbow:function(){return uD.interpolateRainbow},interpolateRdBu:function(){return uD.interpolateRdBu},interpolateRdGy:function(){return uD.interpolateRdGy},interpolateRdPu:function(){return uD.interpolateRdPu},interpolateRdYlBu:function(){return uD.interpolateRdYlBu},interpolateRdYlGn:function(){return uD.interpolateRdYlGn},interpolateReds:function(){return uD.interpolateReds},interpolateSinebow:function(){return uD.interpolateSinebow},interpolateSpectral:function(){return uD.interpolateSpectral},interpolateTurbo:function(){return uD.interpolateTurbo},interpolateViridis:function(){return uD.interpolateViridis},interpolateWarm:function(){return uD.interpolateWarm},interpolateYlGn:function(){return uD.interpolateYlGn},interpolateYlGnBu:function(){return uD.interpolateYlGnBu},interpolateYlOrBr:function(){return uD.interpolateYlOrBr},interpolateYlOrRd:function(){return uD.interpolateYlOrRd},schemeAccent:function(){return uD.schemeAccent},schemeBlues:function(){return uD.schemeBlues},schemeBrBG:function(){return uD.schemeBrBG},schemeBuGn:function(){return uD.schemeBuGn},schemeBuPu:function(){return uD.schemeBuPu},schemeCategory10:function(){return uD.schemeCategory10},schemeDark2:function(){return uD.schemeDark2},schemeGnBu:function(){return uD.schemeGnBu},schemeGreens:function(){return uD.schemeGreens},schemeGreys:function(){return uD.schemeGreys},schemeOrRd:function(){return uD.schemeOrRd},schemeOranges:function(){return uD.schemeOranges},schemePRGn:function(){return uD.schemePRGn},schemePaired:function(){return uD.schemePaired},schemePastel1:function(){return uD.schemePastel1},schemePastel2:function(){return uD.schemePastel2},schemePiYG:function(){return uD.schemePiYG},schemePuBu:function(){return uD.schemePuBu},schemePuBuGn:function(){return uD.schemePuBuGn},schemePuOr:function(){return uD.schemePuOr},schemePuRd:function(){return uD.schemePuRd},schemePurples:function(){return uD.schemePurples},schemeRdBu:function(){return uD.schemeRdBu},schemeRdGy:function(){return uD.schemeRdGy},schemeRdPu:function(){return uD.schemeRdPu},schemeRdYlBu:function(){return uD.schemeRdYlBu},schemeRdYlGn:function(){return uD.schemeRdYlGn},schemeReds:function(){return uD.schemeReds},schemeSet1:function(){return uD.schemeSet1},schemeSet2:function(){return uD.schemeSet2},schemeSet3:function(){return uD.schemeSet3},schemeSpectral:function(){return uD.schemeSpectral},schemeTableau10:function(){return uD.schemeTableau10},schemeYlGn:function(){return uD.schemeYlGn},schemeYlGnBu:function(){return uD.schemeYlGnBu},schemeYlOrBr:function(){return uD.schemeYlOrBr},schemeYlOrRd:function(){return uD.schemeYlOrRd}});var eo={};n.r(eo);var es={};n.r(es),n.d(es,{geoAlbers:function(){return Ta.Z},geoAlbersUsa:function(){return Tr.Z},geoAzimuthalEqualArea:function(){return Ti.Z},geoAzimuthalEqualAreaRaw:function(){return Ti.l},geoAzimuthalEquidistant:function(){return To.Z},geoAzimuthalEquidistantRaw:function(){return To.N},geoConicConformal:function(){return Ts.Z},geoConicConformalRaw:function(){return Ts.l},geoConicEqualArea:function(){return Tl.Z},geoConicEqualAreaRaw:function(){return Tl.v},geoConicEquidistant:function(){return Tc.Z},geoConicEquidistantRaw:function(){return Tc.o},geoEqualEarth:function(){return Tu.Z},geoEqualEarthRaw:function(){return Tu.i},geoEquirectangular:function(){return Td.Z},geoEquirectangularRaw:function(){return Td.k},geoGnomonic:function(){return Tp.Z},geoGnomonicRaw:function(){return Tp.M},geoIdentity:function(){return Tf.Z},geoMercator:function(){return Tm.ZP},geoMercatorRaw:function(){return Tm.hk},geoNaturalEarth1:function(){return Tg.Z},geoNaturalEarth1Raw:function(){return Tg.K},geoOrthographic:function(){return Tb.Z},geoOrthographicRaw:function(){return Tb.I},geoProjection:function(){return Th.Z},geoProjectionMutator:function(){return Th.r},geoStereographic:function(){return Ty.Z},geoStereographicRaw:function(){return Ty.T},geoTransverseMercator:function(){return TE.Z},geoTransverseMercatorRaw:function(){return TE.F}});var el={};n.r(el),n.d(el,{frequency:function(){return Sh},id:function(){return Sm},name:function(){return Sg},weight:function(){return Sf}});var ec=n(74902),eu=n(1413),ed=n(87462),ep=n(97685),ef=n(45987),eh=n(50888),em=n(96486),eg=n(67294),eb=function(){return(eb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n-1&&!e.return)switch(e.type){case ek:e.return=function e(t,n,r){var a;switch(a=n,45^eD(t,0)?(((a<<2^eD(t,0))<<2^eD(t,1))<<2^eD(t,2))<<2^eD(t,3):0){case 5103:return eA+"print-"+t+t;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 eA+t+t;case 4789:return eS+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return eA+t+eS+t+eT+t+t;case 5936:switch(eD(t,n+11)){case 114:return eA+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return eA+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return eA+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return eA+t+eT+t+t;case 6165:return eA+t+eT+"flex-"+t+t;case 5187:return eA+t+eN(t,/(\w+).+(:[^]+)/,eA+"box-$1$2"+eT+"flex-$1$2")+t;case 5443:return eA+t+eT+"flex-item-"+eN(t,/flex-|-self/g,"")+(eR(t,/flex-|baseline/)?"":eT+"grid-row-"+eN(t,/flex-|-self/g,""))+t;case 4675:return eA+t+eT+"flex-line-pack"+eN(t,/align-content|flex-|-self/g,"")+t;case 5548:return eA+t+eT+eN(t,"shrink","negative")+t;case 5292:return eA+t+eT+eN(t,"basis","preferred-size")+t;case 6060:return eA+"box-"+eN(t,"-grow","")+eA+t+eT+eN(t,"grow","positive")+t;case 4554:return eA+eN(t,/([^-])(transform)/g,"$1"+eA+"$2")+t;case 6187:return eN(eN(eN(t,/(zoom-|grab)/,eA+"$1"),/(image-set)/,eA+"$1"),t,"")+t;case 5495:case 3959:return eN(t,/(image-set\([^]*)/,eA+"$1$`$1");case 4968:return eN(eN(t,/(.+:)(flex-)?(.*)/,eA+"box-pack:$3"+eT+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+eA+t+t;case 4200:if(!eR(t,/flex-|baseline/))return eT+"grid-column-align"+eP(t,n)+t;break;case 2592:case 3360:return eT+eN(t,"template-","")+t;case 4384:case 3616:if(r&&r.some(function(e,t){return n=t,eR(e.props,/grid-\w+-end/)}))return~eL(t+(r=r[n].value),"span",0)?t:eT+eN(t,"-start","")+t+eT+"grid-row-span:"+(~eL(r,"span",0)?eR(r,/\d+/):+eR(r,/\d+/)-+eR(t,/\d+/))+";";return eT+eN(t,"-start","")+t;case 4896:case 4128:return r&&r.some(function(e){return eR(e.props,/grid-\w+-start/)})?t:eT+eN(eN(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return eN(t,/(.+)-inline(.+)/,eA+"$1$2")+t;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(eM(t)-1-n>6)switch(eD(t,n+1)){case 109:if(45!==eD(t,n+4))break;case 102:return eN(t,/(.+:)(.+)-([^]+)/,"$1"+eA+"$2-$3$1"+eS+(108==eD(t,n+3)?"$3":"$2-$3"))+t;case 115:return~eL(t,"stretch",0)?e(eN(t,"stretch","fill-available"),n,r)+t:t}break;case 5152:case 5920:return eN(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(e,n,r,a,i,o,s){return eT+n+":"+r+s+(a?eT+n+"-span:"+(i?o:+o-+r)+s:"")+t});case 4949:if(121===eD(t,n+6))return eN(t,":",":"+eA)+t;break;case 6444:switch(eD(t,45===eD(t,14)?18:11)){case 120:return eN(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+eA+(45===eD(t,14)?"inline-":"")+"box$3$1"+eA+"$2$3$1"+eT+"$2box$3")+t;case 100:return eN(t,":",":"+eT)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return eN(t,"scroll-","scroll-snap-")+t}return t}(e.value,e.length,n);return;case ex:return eQ([eW(e,{value:eN(e.value,"@","@"+eA)})],r);case e_:if(e.length)return(n=e.props).map(function(t){switch(eR(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":eV(eW(e,{props:[eN(t,/:(read-\w+)/,":"+eS+"$1")]})),eV(eW(e,{props:[t]})),eI(e,{props:eB(n,r)});break;case"::placeholder":eV(eW(e,{props:[eN(t,/:(plac\w+)/,":"+eA+"input-$1")]})),eV(eW(e,{props:[eN(t,/:(plac\w+)/,":"+eS+"$1")]})),eV(eW(e,{props:[eN(t,/:(plac\w+)/,eT+"input-$1")]})),eV(eW(e,{props:[t]})),eI(e,{props:eB(n,r)})}return""}).join("")}}function e1(e,t,n,r,a,i,o,s,l,c,u,d){for(var p=a-1,f=0===a?i:[""],h=f.length,m=0,g=0,b=0;m0?f[y]+" "+E:eN(E,/&\f/g,f[y])).trim())&&(l[b++]=v);return eZ(e,t,n,0===a?e_:s,l,c,u,d)}function e2(e,t,n,r,a){return eZ(e,t,n,ek,eP(e,0,r),eP(e,r+1,-1),r,a)}var e3=n(94371),e5=n(83454),e4=void 0!==e5&&void 0!==e5.env&&(e5.env.REACT_APP_SC_ATTR||e5.env.SC_ATTR)||"data-styled",e6="active",e9="data-styled-version",e8="6.1.15",e7="/*!sc*/\n",te="undefined"!=typeof window&&"HTMLElement"in window,tt=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==e5&&void 0!==e5.env&&void 0!==e5.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==e5.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==e5.env.REACT_APP_SC_DISABLE_SPEEDY&&e5.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==e5&&void 0!==e5.env&&void 0!==e5.env.SC_DISABLE_SPEEDY&&""!==e5.env.SC_DISABLE_SPEEDY&&"false"!==e5.env.SC_DISABLE_SPEEDY&&e5.env.SC_DISABLE_SPEEDY),tn=Object.freeze([]),tr=Object.freeze({}),ta=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),ti=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,to=/(^-|-$)/g;function ts(e){return e.replace(ti,"-").replace(to,"")}var tl=/(a)(d)/gi,tc=function(e){return String.fromCharCode(e+(e>25?39:97))};function tu(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=tc(t%52)+n;return(tc(t%52)+n).replace(tl,"$1-$2")}var td,tp=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},tf=function(e){return tp(5381,e)};function th(e){return"string"==typeof e}var tm="function"==typeof Symbol&&Symbol.for,tg=tm?Symbol.for("react.memo"):60115,tb=tm?Symbol.for("react.forward_ref"):60112,ty={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},tE={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},tv={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},tT=((td={})[tb]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},td[tg]=tv,td);function tS(e){return("type"in e&&e.type.$$typeof)===tg?tv:"$$typeof"in e?tT[e.$$typeof]:ty}var tA=Object.defineProperty,tO=Object.getOwnPropertyNames,t_=Object.getOwnPropertySymbols,tk=Object.getOwnPropertyDescriptor,tx=Object.getPrototypeOf,tC=Object.prototype;function tw(e){return"function"==typeof e}function tI(e){return"object"==typeof e&&"styledComponentId"in e}function tR(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function tN(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r0?" Args: ".concat(t.join(", ")):""))}var tM=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,a=r;e>=a;)if((a<<=1)<0)throw tP(16,"".concat(e));this.groupSizes=new Uint32Array(a),this.groupSizes.set(n),this.length=a;for(var i=r;i=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),a=r+n,i=r;i=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(l+="".concat(e,","))}),r+="".concat(o).concat(s,'{content:"').concat(l,'"}').concat(e7)}}})(a);return r}(r)})}return e.registerId=function(e){return tU(e)},e.prototype.rehydrate=function(){!this.server&&te&&tW(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(eb(eb({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){var e,t,n,r;return this.tag||(this.tag=(n=(t=this.options).useCSSOMInjection,r=t.target,e=t.isServer?new tK(r):n?new tY(r):new tq(r),new tM(e)))},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(tU(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(tU(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(tU(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),t0=/&/g,t1=/^\s*\/\/.*$/gm;function t2(e){var t,n,r,a=void 0===e?tr:e,i=a.options,o=void 0===i?tr:i,s=a.plugins,l=void 0===s?tn:s,c=function(e,r,a){return a.startsWith(n)&&a.endsWith(n)&&a.replaceAll(n,"").length>0?".".concat(t):e},u=l.slice();u.push(function(e){e.type===e_&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(t0,n).replace(r,c))}),o.prefix&&u.push(e0),u.push(eJ);var d=function(e,a,i,s){void 0===a&&(a=""),void 0===i&&(i=""),void 0===s&&(s="&"),t=s,n=a,r=RegExp("\\".concat(n,"\\b"),"g");var l,c,d,p,f,h=e.replace(t1,""),m=(f=function e(t,n,r,a,i,o,s,l,c){for(var u,d=0,p=0,f=s,h=0,m=0,g=0,b=1,y=1,E=1,v=0,T="",S=i,A=o,O=a,_=T;y;)switch(g=v,v=eY()){case 40:if(108!=g&&58==eD(_,f-1)){-1!=eL(_+=eN(eX(v),"&","&\f"),"&\f",eC(d?l[d-1]:0))&&(E=-1);break}case 34:case 39:case 91:_+=eX(v);break;case 9:case 10:case 13:case 32:_+=function(e){for(;e$=eq();)if(e$<33)eY();else break;return eK(e)>2||eK(e$)>3?"":" "}(g);break;case 92:_+=function(e,t){for(var n;--t&&eY()&&!(e$<48)&&!(e$>102)&&(!(e$>57)||!(e$<65))&&(!(e$>70)||!(e$<97)););return n=eH+(t<6&&32==eq()&&32==eY()),eP(ez,e,n)}(eH-1,7);continue;case 47:switch(eq()){case 42:case 47:eF(eZ(u=function(e,t){for(;eY();)if(e+e$===57)break;else if(e+e$===84&&47===eq())break;return"/*"+eP(ez,t,eH-1)+"*"+ew(47===e?e:eY())}(eY(),eH),n,r,eO,ew(e$),eP(u,2,-2),0,c),c);break;default:_+="/"}break;case 123*b:l[d++]=eM(_)*E;case 125*b:case 59:case 0:switch(v){case 0:case 125:y=0;case 59+p:-1==E&&(_=eN(_,/\f/g,"")),m>0&&eM(_)-f&&eF(m>32?e2(_+";",a,r,f-1,c):e2(eN(_," ","")+";",a,r,f-2,c),c);break;case 59:_+=";";default:if(eF(O=e1(_,n,r,d,p,i,l,T,S=[],A=[],f,o),o),123===v){if(0===p)e(_,n,O,O,S,o,f,l,A);else switch(99===h&&110===eD(_,3)?100:h){case 100:case 108:case 109:case 115:e(t,O,O,a&&eF(e1(t,O,O,0,0,i,l,T,i,S=[],f,A),A),i,A,f,l,a?S:A);break;default:e(_,O,O,O,[""],A,0,l,A)}}}d=p=m=0,b=E=1,T=_="",f=s;break;case 58:f=1+eM(_),m=g;default:if(b<1){if(123==v)--b;else if(125==v&&0==b++&&125==(e$=eH>0?eD(ez,--eH):0,eU--,10===e$&&(eU=1,ej--),e$))continue}switch(_+=ew(v),v*b){case 38:E=p>0?1:(_+="\f",-1);break;case 44:l[d++]=(eM(_)-1)*E,E=1;break;case 64:45===eq()&&(_+=eX(eY())),h=eq(),p=f=eM(T=_+=function(e){for(;!eK(eq());)eY();return eP(ez,e,eH)}(eH)),v++;break;case 45:45===g&&2==eM(_)&&(b=0)}}return o}("",null,null,null,[""],(p=d=i||a?"".concat(i," ").concat(a," { ").concat(h," }"):h,ej=eU=1,eG=eM(ez=p),eH=0,d=[]),0,[0],d),ez="",f);o.namespace&&(m=function e(t,n){return t.map(function(t){return"rule"===t.type&&(t.value="".concat(n," ").concat(t.value),t.value=t.value.replaceAll(",",",".concat(n," ")),t.props=t.props.map(function(e){return"".concat(n," ").concat(e)})),Array.isArray(t.children)&&"@keyframes"!==t.type&&(t.children=e(t.children,n)),t})}(m,o.namespace));var g=[];return eQ(m,(c=(l=u.concat(function(e){var t;!e.root&&(e=e.return)&&(t=e,g.push(t))})).length,function(e,t,n,r){for(var a="",i=0;i="A"&&r<="Z"?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var nt=function(e){return null==e||!1===e||""===e},nn=function(e){var t=[];for(var n in e){var r=e[n];e.hasOwnProperty(n)&&!nt(r)&&(Array.isArray(r)&&r.isCss||tw(r)?t.push("".concat(ne(n),":"),r,";"):tL(r)?t.push.apply(t,ey(ey(["".concat(n," {")],nn(r),!1),["}"],!1)):t.push("".concat(ne(n),": ").concat(null==r||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||n in e3.Z||n.startsWith("--")?String(r).trim():"".concat(r,"px"),";")))}return t};function nr(e,t,n,r){return nt(e)?[]:tI(e)?[".".concat(e.styledComponentId)]:tw(e)?!tw(e)||e.prototype&&e.prototype.isReactComponent||!t?[e]:nr(e(t),t,n,r):e instanceof t7?n?(e.inject(n,r),[e.getName(r)]):[e]:tL(e)?nn(e):Array.isArray(e)?Array.prototype.concat.apply(tn,e.map(function(e){return nr(e,t,n,r)})):[e.toString()]}function na(e){for(var t=0;t>>0);if(!t.hasNameForId(this.componentId,i)){var o=n(a,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,o)}r=tR(r,i),this.staticRulesId=i}}else{for(var s=tp(this.baseHash,n.hash),l="",c=0;c>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(l,".".concat(p),void 0,this.componentId)),r=tR(r,p)}}return r},e}(),ns=eg.createContext(void 0);ns.Consumer;var nl={};function nc(e,t,n){var r,a,i,o,s=tI(e),l=!th(e),c=t.attrs,u=void 0===c?tn:c,d=t.componentId,p=void 0===d?(r=t.displayName,a=t.parentComponentId,nl[i="string"!=typeof r?"sc":ts(r)]=(nl[i]||0)+1,o="".concat(i,"-").concat(tu(tf(e8+i+nl[i])>>>0)),a?"".concat(a,"-").concat(o):o):d,f=t.displayName,h=void 0===f?th(e)?"styled.".concat(e):"Styled(".concat(e.displayName||e.name||"Component",")"):f,m=t.displayName&&t.componentId?"".concat(ts(t.displayName),"-").concat(t.componentId):t.componentId||p,g=s&&e.attrs?e.attrs.concat(u).filter(Boolean):u,b=t.shouldForwardProp;if(s&&e.shouldForwardProp){var y=e.shouldForwardProp;if(t.shouldForwardProp){var E=t.shouldForwardProp;b=function(e,t){return y(e,t)&&E(e,t)}}else b=y}var v=new no(n,m,s?e.componentStyle:void 0);function T(e,t){return function(e,t,n){var r,a,i=e.attrs,o=e.componentStyle,s=e.defaultProps,l=e.foldedComponentIds,c=e.styledComponentId,u=e.target,d=eg.useContext(ns),p=t9(),f=e.shouldForwardProp||p.shouldForwardProp,h=(void 0===(r=s)&&(r=tr),t.theme!==r.theme&&t.theme||d||r.theme||tr),m=function(e,t,n){for(var r,a=eb(eb({},t),{className:void 0,theme:n}),i=0;i2&&tJ.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=n.nc,a=tN([r&&'nonce="'.concat(r,'"'),"".concat(e4,'="true"'),"".concat(e9,'="').concat(e8,'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(e.sealed)throw tP(2);return e._emitSheetCSS()},this.getStyleElement=function(){if(e.sealed)throw tP(2);var t,r=e.instance.toString();if(!r)return[];var a=((t={})[e4]="",t[e9]=e8,t.dangerouslySetInnerHTML={__html:r},t),i=n.nc;return i&&(a.nonce=i),[eg.createElement("style",eb({},a,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new tJ({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw tP(2);return eg.createElement(t8,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw tP(3)}}();var nh=n(4942),nm=n(73935),ng=n.t(nm,2),nb=function(){return(nb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=18&&(J=ny.createRoot)}catch(e){}function nT(e){var t=ny.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"==typeof t&&(t.usingClientEntryPoint=e)}var nS="__rc_react_root__",nA=new Map;"undefined"!=typeof document&&nA.set("tooltip",document.createElement("div"));var nO=function(e,t){void 0===t&&(t=!1);var n=null;if(t)n=nA.get("tooltip");else if(n=document.createElement("div"),null==e?void 0:e.key){var r=nA.get(e.key);r?n=r:nA.set(e.key,n)}return!function(e,t){if(J){var n;nT(!0),n=t[nS]||J(t),nT(!1),n.render(e),t[nS]=n;return}nv(e,t)}(e,n),n},n_=function(e){if("undefined"==typeof document)return"loading";var t=e.attachShadow({mode:"open"}),n=document.createElement("div"),r=document.createElement("style");r.innerHTML=".loading {\n display: inline-block;\n position: relative;\n width: 80px;\n height: 80px;\n }\n .loading div {\n position: absolute;\n top: 33px;\n width: 13px;\n height: 13px;\n border-radius: 50%;\n background: #ccc;\n animation-timing-function: cubic-bezier(0, 1, 1, 0);\n }\n .loading div:nth-child(1) {\n left: 8px;\n animation: loading1 0.6s infinite;\n }\n .loading div:nth-child(2) {\n left: 8px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(3) {\n left: 32px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(4) {\n left: 56px;\n animation: loading3 0.6s infinite;\n }\n @keyframes loading1 {\n 0% {\n transform: scale(0);\n }\n 100% {\n transform: scale(1);\n }\n }\n @keyframes loading3 {\n 0% {\n transform: scale(1);\n }\n 100% {\n transform: scale(0);\n }\n }\n @keyframes loading2 {\n 0% {\n transform: translate(0, 0);\n }\n 100% {\n transform: translate(24px, 0);\n }\n }\n ",n.classList.add("loading"),n.innerHTML="
",t.appendChild(r),t.appendChild(n)},nk=function(e){var t=e.loadingTemplate,n=e.theme,r=eg.useRef(null);return eg.useEffect(function(){!t&&r.current&&n_(r.current)},[]),eg.createElement("div",{className:"charts-loading-container",style:{position:"absolute",width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",left:0,top:0,zIndex:99,backgroundColor:"dark"===(void 0===n?"light":n)?"rgb(20, 20, 20)":"rgb(255, 255, 255)"}},t||eg.createElement("div",{ref:r}))},nx=(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),nC=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={hasError:!1},t.renderError=function(e){var n=t.props.errorTemplate;return"function"==typeof n?n(e):n||eg.createElement("h5",null,"组件出错了,请核查后重试: ",e.message)},t}return nx(t,e),t.getDerivedStateFromError=function(e){return{hasError:!0,error:e}},t.getDerivedStateFromProps=function(e,t){return t.children!==e.children?{children:e.children,hasError:!1,error:void 0}:null},t.prototype.render=function(){return this.state.hasError?this.renderError(this.state.error):eg.createElement(eg.Fragment,null,this.props.children)},t}(eg.Component),nw=function(e,t,n){if(n||2==arguments.length)for(var r,a=0,i=t.length;a90)return this;this.computeMatrix()}return this._getAxes(),this.type===nN.iM.ORBITING||this.type===nN.iM.EXPLORING?this._getPosition():this.type===nN.iM.TRACKING&&this._getFocalPoint(),this._update(),this}},{key:"pan",value:function(e,t){var n=(0,nN.O4)(e,t,0),r=nG.d9(this.position);return nG.IH(r,r,nG.bA(nG.Ue(),this.right,n[0])),nG.IH(r,r,nG.bA(nG.Ue(),this.up,n[1])),this._setPosition(r),this.triggerUpdate(),this}},{key:"dolly",value:function(e){var t=this.forward,n=nG.d9(this.position),r=e*this.dollyingStep;return r=Math.max(Math.min(this.distance+e*this.dollyingStep,this.maxDistance),this.minDistance)-this.distance,n[0]+=r*t[0],n[1]+=r*t[1],n[2]+=r*t[2],this._setPosition(n),this.type===nN.iM.ORBITING||this.type===nN.iM.EXPLORING?this._getDistance():this.type===nN.iM.TRACKING&&nG.IH(this.focalPoint,n,this.distanceVector),this.triggerUpdate(),this}},{key:"cancelLandmarkAnimation",value:function(){void 0!==this.landmarkAnimationID&&this.canvas.cancelAnimationFrame(this.landmarkAnimationID)}},{key:"createLandmark",value:function(e){var t,n,r,a,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=i.position,s=void 0===o?this.position:o,l=i.focalPoint,c=void 0===l?this.focalPoint:l,u=i.roll,d=i.zoom,p=new nN.GZ.CameraContribution;p.setType(this.type,void 0),p.setPosition(s[0],null!==(t=s[1])&&void 0!==t?t:this.position[1],null!==(n=s[2])&&void 0!==n?n:this.position[2]),p.setFocalPoint(c[0],null!==(r=c[1])&&void 0!==r?r:this.focalPoint[1],null!==(a=c[2])&&void 0!==a?a:this.focalPoint[2]),p.setRoll(null!=u?u:this.roll),p.setZoom(null!=d?d:this.zoom);var f={name:e,matrix:nU.clone(p.getWorldTransform()),right:nG.d9(p.right),up:nG.d9(p.up),forward:nG.d9(p.forward),position:nG.d9(p.getPosition()),focalPoint:nG.d9(p.getFocalPoint()),distanceVector:nG.d9(p.getDistanceVector()),distance:p.getDistance(),dollyingStep:p.getDollyingStep(),azimuth:p.getAzimuth(),elevation:p.getElevation(),roll:p.getRoll(),relAzimuth:p.relAzimuth,relElevation:p.relElevation,relRoll:p.relRoll,zoom:p.getZoom()};return this.landmarks.push(f),f}},{key:"gotoLandmark",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=nB(e,"String")?this.landmarks.find(function(t){return t.name===e}):e;if(r){var a,i=nB(n,"Number")?{duration:n}:n,o=i.easing,s=void 0===o?"linear":o,l=i.duration,c=void 0===l?100:l,u=i.easingFunction,d=i.onfinish,p=void 0===d?void 0:d,f=i.onframe,h=void 0===f?void 0:f;this.cancelLandmarkAnimation();var m=r.position,g=r.focalPoint,b=r.zoom,y=r.roll,E=(void 0===u?void 0:u)||nN.GZ.EasingFunction(s),v=function(){t.setFocalPoint(g),t.setPosition(m),t.setRoll(y),t.setZoom(b),t.computeMatrix(),t.triggerUpdate(),null==p||p()};if(0===c)return v();var T=function(e){void 0===a&&(a=e);var n=e-a;if(n>=c){v();return}var r=E(n/c),i=nG.Ue(),o=nG.Ue(),s=1,l=0;if(nG.t7(i,t.focalPoint,g,r),nG.t7(o,t.position,m,r),l=t.roll*(1-r)+y*r,s=t.zoom*(1-r)+b*r,t.setFocalPoint(i),t.setPosition(o),t.setRoll(l),t.setZoom(s),nG.TK(i,g)+nG.TK(o,m)<=.01&&void 0===b&&void 0===y)return v();t.computeMatrix(),t.triggerUpdate(),nn?n:e},nW={}.toString,nV=function(e){return null==e},nY=function(e){function t(e,n,r,a){var i;return(0,nL.Z)(this,t),(i=(0,nP.Z)(this,t,[e])).currentTime=r,i.timelineTime=a,i.target=n,i.type="finish",i.bubbles=!1,i.currentTarget=n,i.defaultPrevented=!1,i.eventPhase=i.AT_TARGET,i.timeStamp=Date.now(),i.currentTime=r,i.timelineTime=a,i}return(0,nM.Z)(t,e),(0,nD.Z)(t)}(nN.xA),nq=0,nK=(0,nD.Z)(function e(t,n){var r;(0,nL.Z)(this,e),this.currentTimePending=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._playbackRate=1,this._inTimeline=!0,this.effect=t,t.animation=this,this.timeline=n,this.id="".concat(nq++),this._inEffect=!!this.effect.update(0),this._totalDuration=Number(null===(r=this.effect)||void 0===r?void 0:r.getComputedTiming().endTime),this._holdTime=0,this._paused=!1,this.oldPlayState="idle",this.updatePromises()},[{key:"pending",get:function(){return null===this._startTime&&!this._paused&&0!==this.playbackRate||this.currentTimePending}},{key:"playState",get:function(){return this._idle?"idle":this._isFinished?"finished":this._paused?"paused":"running"}},{key:"ready",get:function(){var e=this;return this.readyPromise||(-1===this.timeline.animationsWithPromises.indexOf(this)&&this.timeline.animationsWithPromises.push(this),this.readyPromise=new Promise(function(t,n){e.resolveReadyPromise=function(){t(e)},e.rejectReadyPromise=function(){n(Error())}}),this.pending||this.resolveReadyPromise()),this.readyPromise}},{key:"finished",get:function(){var e=this;return this.finishedPromise||(-1===this.timeline.animationsWithPromises.indexOf(this)&&this.timeline.animationsWithPromises.push(this),this.finishedPromise=new Promise(function(t,n){e.resolveFinishedPromise=function(){t(e)},e.rejectFinishedPromise=function(){n(Error())}}),"finished"===this.playState&&this.resolveFinishedPromise()),this.finishedPromise}},{key:"currentTime",get:function(){return this.updatePromises(),this._idle||this.currentTimePending?null:this._currentTime},set:function(e){if(!isNaN(e=Number(e))){if(this.timeline.restart(),!this._paused&&null!==this._startTime){var t;this._startTime=Number(null===(t=this.timeline)||void 0===t?void 0:t.currentTime)-e/this.playbackRate}this.currentTimePending=!1,this._currentTime!==e&&(this._idle&&(this._idle=!1,this._paused=!0),this.tickCurrentTime(e,!0),this.timeline.applyDirtiedAnimation(this))}}},{key:"startTime",get:function(){return this._startTime},set:function(e){null!==e&&(this.updatePromises(),!isNaN(e=Number(e))&&(this._paused||this._idle||(this._startTime=e,this.tickCurrentTime((Number(this.timeline.currentTime)-this._startTime)*this.playbackRate),this.timeline.applyDirtiedAnimation(this),this.updatePromises())))}},{key:"playbackRate",get:function(){return this._playbackRate},set:function(e){if(e!==this._playbackRate){this.updatePromises();var t=this.currentTime;this._playbackRate=e,this.startTime=null,"paused"!==this.playState&&"idle"!==this.playState&&(this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this)),null!==t&&(this.currentTime=t),this.updatePromises()}}},{key:"_isFinished",get:function(){return!this._idle&&(this._playbackRate>0&&Number(this._currentTime)>=this._totalDuration||this._playbackRate<0&&0>=Number(this._currentTime))}},{key:"totalDuration",get:function(){return this._totalDuration}},{key:"_needsTick",get:function(){return this.pending||"running"===this.playState||!this._finishedFlag}},{key:"updatePromises",value:function(){var e=this.oldPlayState,t=this.pending?"pending":this.playState;return this.readyPromise&&t!==e&&("idle"===t?(this.rejectReadyPromise(),this.readyPromise=void 0):"pending"===e?this.resolveReadyPromise():"pending"===t&&(this.readyPromise=void 0)),this.finishedPromise&&t!==e&&("idle"===t?(this.rejectFinishedPromise(),this.finishedPromise=void 0):"finished"===t?this.resolveFinishedPromise():"finished"===e&&(this.finishedPromise=void 0)),this.oldPlayState=t,this.readyPromise||this.finishedPromise}},{key:"play",value:function(){this.updatePromises(),this._paused=!1,(this._isFinished||this._idle)&&(this.rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this),-1===this.timeline.animations.indexOf(this)&&this.timeline.animations.push(this),this.updatePromises()}},{key:"pause",value:function(){this.updatePromises(),this.currentTime&&(this._holdTime=this.currentTime),this._isFinished||this._paused||this._idle?this._idle&&(this.rewind(),this._idle=!1):this.currentTimePending=!0,this._startTime=null,this._paused=!0,this.updatePromises()}},{key:"finish",value:function(){this.updatePromises(),this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this.currentTimePending=!1,this.timeline.applyDirtiedAnimation(this),this.updatePromises())}},{key:"cancel",value:function(){var e=this;if(this.updatePromises(),this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this.effect.update(null),this.timeline.applyDirtiedAnimation(this),this.updatePromises(),this.oncancel)){var t=new nY(null,this,this.currentTime,null);setTimeout(function(){e.oncancel(t)})}}},{key:"reverse",value:function(){this.updatePromises();var e=this.currentTime;this.playbackRate*=-1,this.play(),null!==e&&(this.currentTime=e),this.updatePromises()}},{key:"updatePlaybackRate",value:function(e){this.playbackRate=e}},{key:"targetAnimations",value:function(){var e;return(null===(e=this.effect)||void 0===e?void 0:e.target).getAnimations()}},{key:"markTarget",value:function(){var e=this.targetAnimations();-1===e.indexOf(this)&&e.push(this)}},{key:"unmarkTarget",value:function(){var e=this.targetAnimations(),t=e.indexOf(this);-1!==t&&e.splice(t,1)}},{key:"tick",value:function(e,t){this._idle||this._paused||(null===this._startTime?t&&(this.startTime=e-this._currentTime/this.playbackRate):this._isFinished||this.tickCurrentTime((e-this._startTime)*this.playbackRate)),t&&(this.currentTimePending=!1,this.fireEvents(e))}},{key:"rewind",value:function(){if(this.playbackRate>=0)this.currentTime=0;else if(this._totalDuration<1/0)this.currentTime=this._totalDuration;else throw Error("Unable to rewind negative playback rate animation with infinite duration")}},{key:"persist",value:function(){throw Error(nN.jf)}},{key:"addEventListener",value:function(e,t,n){throw Error(nN.jf)}},{key:"removeEventListener",value:function(e,t,n){throw Error(nN.jf)}},{key:"dispatchEvent",value:function(e){throw Error(nN.jf)}},{key:"commitStyles",value:function(){throw Error(nN.jf)}},{key:"ensureAlive",value:function(){var e,t;this.playbackRate<0&&0===this.currentTime?this._inEffect=!!(null!==(e=this.effect)&&void 0!==e&&e.update(-1)):this._inEffect=!!(null!==(t=this.effect)&&void 0!==t&&t.update(this.currentTime)),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,this.timeline.animations.push(this))}},{key:"tickCurrentTime",value:function(e,t){e!==this._currentTime&&(this._currentTime=e,this._isFinished&&!t&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this.ensureAlive())}},{key:"fireEvents",value:function(e){var t=this;if(this._isFinished){if(!this._finishedFlag){if(this.onfinish){var n=new nY(null,this,this.currentTime,e);setTimeout(function(){t.onfinish&&t.onfinish(n)})}this._finishedFlag=!0}}else{if(this.onframe&&"running"===this.playState){var r=new nY(null,this,this.currentTime,e);this.onframe(r)}this._finishedFlag=!1}}}]),nX="function"==typeof Float32Array,nQ=function(e,t){return 1-3*t+3*e},nJ=function(e,t){return 3*t-6*e},n0=function(e){return 3*e},n1=function(e,t,n){return((nQ(t,n)*e+nJ(t,n))*e+n0(t))*e},n2=function(e,t,n){return 3*nQ(t,n)*e*e+2*nJ(t,n)*e+n0(t)},n3=function(e,t,n,r,a){var i,o,s=0;do(i=n1(o=t+(n-t)/2,r,a)-e)>0?n=o:t=o;while(Math.abs(i)>1e-7&&++s<10);return o},n5=function(e,t,n,r){for(var a=0;a<4;++a){var i=n2(t,n,r);if(0===i)break;var o=n1(t,n,r)-e;t-=o/i}return t},n4=function(e,t,n,r){if(!(e>=0&&e<=1&&n>=0&&n<=1))throw Error("bezier x values must be in [0, 1] range");if(e===t&&n===r)return function(e){return e};for(var a=nX?new Float32Array(11):Array(11),i=0;i<11;++i)a[i]=n1(.1*i,e,n);var o=function(t){for(var r=0,i=1;10!==i&&a[i]<=t;++i)r+=.1;var o=r+(t-a[--i])/(a[i+1]-a[i])*.1,s=n2(o,e,n);return s>=.001?n5(t,o,e,n):0===s?o:n3(t,r,r+.1,e,n)};return function(e){return 0===e||1===e?e:n1(o(e),t,r)}},n6=function(e){return Math.pow(e,2)},n9=function(e){return Math.pow(e,3)},n8=function(e){return Math.pow(e,4)},n7=function(e){return Math.pow(e,5)},re=function(e){return Math.pow(e,6)},rt=function(e){return 1-Math.cos(e*Math.PI/2)},rn=function(e){return 1-Math.sqrt(1-e*e)},rr=function(e){return e*e*(3*e-2)},ra=function(e){for(var t,n=4;e<((t=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*t-2)/22-e,2)},ri=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,2),r=n[0],a=n[1],i=nZ(Number(void 0===r?1:r),1,10),o=nZ(Number(void 0===a?.5:a),.1,2);return 0===e||1===e?e:-i*Math.pow(2,10*(e-1))*Math.sin((e-1-o/(2*Math.PI)*Math.asin(1/i))*(2*Math.PI)/o)},ro=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,r=(0,nz.Z)(t,4),a=r[0],i=void 0===a?1:a,o=r[1],s=void 0===o?100:o,l=r[2],c=void 0===l?10:l,u=r[3],d=void 0===u?0:u;i=nZ(i,.1,1e3),s=nZ(s,.1,1e3),c=nZ(c,.1,1e3),d=nZ(d,.1,1e3);var p=Math.sqrt(s/i),f=c/(2*Math.sqrt(s*i)),h=f<1?p*Math.sqrt(1-f*f):0,m=f<1?(f*p+-d)/h:-d+p,g=n?n*e/1e3:e;return(g=f<1?Math.exp(-g*f*p)*(1*Math.cos(h*g)+m*Math.sin(h*g)):(1+m*g)*Math.exp(-g*p),0===e||1===e)?e:1-g},rs=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,2),r=n[0],a=void 0===r?10:r;return("start"===n[1]?Math.ceil:Math.floor)(nZ(e,0,1)*a)/a},rl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,4);return n4(n[0],n[1],n[2],n[3])(e)},rc=n4(.42,0,1,1),ru=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return 1-e(1-t,n,r)}},rd=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return t<.5?e(2*t,n,r)/2:1-e(-2*t+2,n,r)/2}},rp=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return t<.5?(1-e(1-2*t,n,r))/2:(e(2*t-1,n,r)+1)/2}},rf={steps:rs,"step-start":function(e){return rs(e,[1,"start"])},"step-end":function(e){return rs(e,[1,"end"])},linear:function(e){return e},"cubic-bezier":rl,ease:function(e){return rl(e,[.25,.1,.25,1])},in:rc,out:ru(rc),"in-out":rd(rc),"out-in":rp(rc),"in-quad":n6,"out-quad":ru(n6),"in-out-quad":rd(n6),"out-in-quad":rp(n6),"in-cubic":n9,"out-cubic":ru(n9),"in-out-cubic":rd(n9),"out-in-cubic":rp(n9),"in-quart":n8,"out-quart":ru(n8),"in-out-quart":rd(n8),"out-in-quart":rp(n8),"in-quint":n7,"out-quint":ru(n7),"in-out-quint":rd(n7),"out-in-quint":rp(n7),"in-expo":re,"out-expo":ru(re),"in-out-expo":rd(re),"out-in-expo":rp(re),"in-sine":rt,"out-sine":ru(rt),"in-out-sine":rd(rt),"out-in-sine":rp(rt),"in-circ":rn,"out-circ":ru(rn),"in-out-circ":rd(rn),"out-in-circ":rp(rn),"in-back":rr,"out-back":ru(rr),"in-out-back":rd(rr),"out-in-back":rp(rr),"in-bounce":ra,"out-bounce":ru(ra),"in-out-bounce":rd(ra),"out-in-bounce":rp(ra),"in-elastic":ri,"out-elastic":ru(ri),"in-out-elastic":rd(ri),"out-in-elastic":rp(ri),spring:ro,"spring-in":ro,"spring-out":ru(ro),"spring-in-out":rd(ro),"spring-out-in":rp(ro)},rh=function(e){var t;return("-"===(t=(t=e).replace(/([A-Z])/g,function(e){return"-".concat(e.toLowerCase())})).charAt(0)?t.substring(1):t).replace(/^ease-/,"").replace(/(\(|\s).+/,"").toLowerCase().trim()},rm=function(e){return e};function rg(e,t){return function(n){if(n>=1)return 1;var r=1/e;return(n+=t*r)-n%r}}var rb="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",ry=new RegExp("cubic-bezier\\(".concat(rb,",").concat(rb,",").concat(rb,",").concat(rb,"\\)")),rE=/steps\(\s*(\d+)\s*\)/,rv=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/;function rT(e){var t=ry.exec(e);if(t)return n4.apply(void 0,(0,n$.Z)(t.slice(1).map(Number)));var n=rE.exec(e);if(n)return rg(Number(n[1]),0);var r=rv.exec(e);return r?rg(Number(r[1]),{start:1,middle:.5,end:0}[r[2]]):rf[rh(e)]||rf.linear}function rS(e){return"offset"!==e&&"easing"!==e&&"composite"!==e&&"computedOffset"!==e}var rA=function(e,t,n){return function(r){var a,i=function e(t,n,r){if("number"==typeof t&&"number"==typeof n)return t*(1-r)+n*r;if("boolean"==typeof t&&"boolean"==typeof n||"string"==typeof t&&"string"==typeof n)return r<.5?t:n;if(Array.isArray(t)&&Array.isArray(n)){for(var a=t.length,i=n.length,o=Math.max(a,i),s=[],l=0;l1)throw Error("Keyframe offsets must be between 0 and 1.");n.computedOffset=a}}else if("composite"===r&&-1===["replace","add","accumulate","auto"].indexOf(a))throw Error("".concat(a," compositing is not supported"));n[r]=a}return void 0===n.offset&&(n.offset=null),void 0===n.easing&&(n.easing=(null==t?void 0:t.easing)||"linear"),void 0===n.composite&&(n.composite="auto"),n}),r=!0,a=-1/0,i=0;i=0&&1>=Number(e.offset)}),r||function(){var e,t,r=n.length;n[r-1].computedOffset=Number(null!==(e=n[r-1].offset)&&void 0!==e?e:1),r>1&&(n[0].computedOffset=Number(null!==(t=n[0].offset)&&void 0!==t?t:0));for(var a=0,i=Number(n[0].computedOffset),o=1;o=e.applyFrom&&t=Math.min(n.delay+e+n.endDelay,r)?2:3}(e,t,n),u=function(e,t,n,r,a){switch(r){case 1:if("backwards"===t||"both"===t)return 0;return null;case 3:return n-a;case 2:if("forwards"===t||"both"===t)return e;return null;case 0:return null}}(e,n.fill,t,c,n.delay);if(null===u)return null;var d="auto"===n.duration?0:n.duration,p=(r=n.iterations,a=n.iterationStart,0===d?1!==c&&(a+=r):a+=u/d,a),f=(i=n.iterationStart,o=n.iterations,0==(s=p===1/0?i%1:p%1)&&2===c&&0!==o&&(0!==u||0===d)&&(s=1),s),h=(l=n.iterations,2===c&&l===1/0?1/0:1===f?Math.floor(p)-1:Math.floor(p)),m=function(e,t,n){var r=e;if("normal"!==e&&"reverse"!==e){var a=t;"alternate-reverse"===e&&(a+=1),r="normal",a!==1/0&&a%2!=0&&(r="reverse")}return"normal"===r?n:1-n}(n.direction,h,f);return n.currentIteration=h,n.progress=m,n.easingFunction(m)}(this.timing.activeDuration,e,this.timing),null!==this.timeFraction)}},{key:"getKeyframes",value:function(){return this.normalizedKeyframes}},{key:"setKeyframes",value:function(e){this.normalizedKeyframes=r_(e)}},{key:"getComputedTiming",value:function(){return this.computedTiming}},{key:"getTiming",value:function(){return this.timing}},{key:"updateTiming",value:function(e){var t=this;Object.keys(e||{}).forEach(function(n){t.timing[n]=e[n]})}}]);function rw(e,t){return Number(e.id)-Number(t.id)}var rI=(0,nD.Z)(function e(t){var n=this;(0,nL.Z)(this,e),this.animations=[],this.ticking=!1,this.timelineTicking=!1,this.hasRestartedThisFrame=!1,this.animationsWithPromises=[],this.inTick=!1,this.pendingEffects=[],this.currentTime=null,this.rafId=0,this.rafCallbacks=[],this.webAnimationsNextTick=function(e){n.currentTime=e,n.discardAnimations(),0===n.animations.length?n.timelineTicking=!1:n.requestAnimationFrame(n.webAnimationsNextTick)},this.processRafCallbacks=function(e){var t=n.rafCallbacks;n.rafCallbacks=[],et.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let rN=(e,t,n)=>[["M",e-n,t],["A",n,n,0,1,0,e+n,t],["A",n,n,0,1,0,e-n,t],["Z"]];rN.style=["fill"];let rL=rN.bind(void 0);rL.style=["stroke","lineWidth"];let rD=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t-n],["L",e+n,t+n],["L",e-n,t+n],["Z"]];rD.style=["fill"];let rP=rD.bind(void 0);rP.style=["fill"];let rM=rD.bind(void 0);rM.style=["stroke","lineWidth"];let rF=(e,t,n)=>{let r=.618*n;return[["M",e-r,t],["L",e,t-n],["L",e+r,t],["L",e,t+n],["Z"]]};rF.style=["fill"];let rB=rF.bind(void 0);rB.style=["stroke","lineWidth"];let rj=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t+r],["L",e,t-r],["L",e+n,t+r],["Z"]]};rj.style=["fill"];let rU=rj.bind(void 0);rU.style=["stroke","lineWidth"];let rG=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t-r],["L",e+n,t-r],["L",e,t+r],["Z"]]};rG.style=["fill"];let rH=rG.bind(void 0);rH.style=["stroke","lineWidth"];let r$=(e,t,n)=>{let r=n/2*Math.sqrt(3);return[["M",e,t-n],["L",e+r,t-n/2],["L",e+r,t+n/2],["L",e,t+n],["L",e-r,t+n/2],["L",e-r,t-n/2],["Z"]]};r$.style=["fill"];let rz=r$.bind(void 0);rz.style=["stroke","lineWidth"];let rZ=(e,t,n)=>{let r=n-1.5;return[["M",e-n,t-r],["L",e+n,t+r],["L",e+n,t-r],["L",e-n,t+r],["Z"]]};rZ.style=["fill"];let rW=rZ.bind(void 0);rW.style=["stroke","lineWidth"];let rV=(e,t,n)=>[["M",e,t+n],["L",e,t-n]];rV.style=["stroke","lineWidth"];let rY=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t+n],["M",e+n,t-n],["L",e-n,t+n]];rY.style=["stroke","lineWidth"];let rq=(e,t,n)=>[["M",e-n/2,t-n],["L",e+n/2,t-n],["M",e,t-n],["L",e,t+n],["M",e-n/2,t+n],["L",e+n/2,t+n]];rq.style=["stroke","lineWidth"];let rK=(e,t,n)=>[["M",e-n,t],["L",e+n,t],["M",e,t-n],["L",e,t+n]];rK.style=["stroke","lineWidth"];let rX=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rX.style=["stroke","lineWidth"];let rQ=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rQ.style=["stroke","lineWidth"];let rJ=rQ.bind(void 0);rJ.style=["stroke","lineWidth"];let r0=(e,t,n)=>[["M",e-n,t],["A",n/2,n/2,0,1,1,e,t],["A",n/2,n/2,0,1,0,e+n,t]];r0.style=["stroke","lineWidth"];let r1=(e,t,n)=>[["M",e-n-1,t-2.5],["L",e,t-2.5],["L",e,t+2.5],["L",e+n+1,t+2.5]];r1.style=["stroke","lineWidth"];let r2=(e,t,n)=>[["M",e-n-1,t+2.5],["L",e,t+2.5],["L",e,t-2.5],["L",e+n+1,t-2.5]];r2.style=["stroke","lineWidth"];let r3=(e,t,n)=>[["M",e-(n+1),t+2.5],["L",e-n/2,t+2.5],["L",e-n/2,t-2.5],["L",e+n/2,t-2.5],["L",e+n/2,t+2.5],["L",e+n+1,t+2.5]];r3.style=["stroke","lineWidth"];let r5=(e,t,n)=>[["M",e-5,t+2.5],["L",e-5,t],["L",e,t],["L",e,t-3],["L",e,t+3],["L",e+6.5,t+3]];r5.style=["stroke","lineWidth"];let r4=new Map([["bowtie",rZ],["cross",rY],["dash",rJ],["diamond",rF],["dot",rQ],["hexagon",r$],["hollowBowtie",rW],["hollowDiamond",rB],["hollowHexagon",rz],["hollowPoint",rL],["hollowSquare",rM],["hollowTriangle",rU],["hollowTriangleDown",rH],["hv",r1],["hvh",r3],["hyphen",rX],["line",rV],["plus",rK],["point",rN],["rect",rP],["smooth",r0],["square",rD],["tick",rq],["triangleDown",rG],["triangle",rj],["vh",r2],["vhv",r5]]),r6={};function r9(e,t){if(e.startsWith("symbol.")){var n;n=e.split(".").pop(),r4.set(n,t)}else Object.assign(r6,{[e]:t})}var r8=n(88998);/*! * @antv/g-plugin-canvas-path-generator * @description A G plugin of path generator with Canvas2D API * @version 2.1.16 @@ -49,4 +49,4 @@ * @author Lea Verou * @namespace * @public - */var r=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},a={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=u.reach));S+=T.value.length,T=T.next){var A,O=T.value;if(n.length>t.length)return;if(!(O instanceof i)){var _=1;if(b){if(!(A=o(v,S,t,g))||A.index>=t.length)break;var k=A.index,x=A.index+A[0].length,C=S;for(C+=T.value.length;k>=C;)C+=(T=T.next).value.length;if(C-=T.value.length,S=C,T.value instanceof i)continue;for(var w=T;w!==n.tail&&(Cu.reach&&(u.reach=L);var D=T.prev;R&&(D=l(n,D,R),S+=R.length),function(e,t,n){for(var r=t.next,a=0;a1){var M={cause:d+","+f,reach:L};e(t,n,r,T.prev,S,M),u&&M.reach>u.reach&&(u.reach=M.reach)}}}}}}(e,c,t,c.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(c)},hooks:{all:{},add:function(e,t){var n=a.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=a.hooks.all[e];if(n&&n.length)for(var r,i=0;r=n[i++];)r(t)}},Token:i};function i(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var i=a[1].length;a.index+=i,a[0]=a[0].slice(i)}return a}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}if(e.Prism=a,i.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach(function(t){r+=e(t,n)}),r}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},o=t.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(i.classes,o):i.classes.push(o)),a.hooks.run("wrap",i);var s="";for(var l in i.attributes)s+=" "+l+'="'+(i.attributes[l]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+s+">"+i.content+""},!e.document)return e.addEventListener&&(a.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),r=n.language,i=n.code,o=n.immediateClose;e.postMessage(a.highlight(i,a.languages[r],r)),o&&e.close()},!1)),a;var c=a.util.currentScript();function u(){a.manual||a.highlightAll()}if(c&&(a.filename=c.src,c.hasAttribute("data-manual")&&(a.manual=!0)),!a.manual){var d=document.readyState;"loading"===d||"interactive"===d&&c&&c.defer?document.addEventListener("DOMContentLoaded",u):window.requestAnimationFrame?window.requestAnimationFrame(u):window.setTimeout(u,16)}return a}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=r),void 0!==n.g&&(n.g.Prism=r)},96774:function(e){e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),o=Object.keys(t);if(i.length!==o.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;le.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}},88998:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(95778);function a(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},13643:function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,{Z:function(){return r}})},98568:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)}n.d(t,{Z:function(){return a}})},99660:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(88998);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var l=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(l&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;C(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:I(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),b}},t}},16200:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59312);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw a}}return s}}(e,t)||(0,r.Z)(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},27567:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(13643);function a(){return(a="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var a=function(e,t){for(;!({}).hasOwnProperty.call(e,t)&&null!==(e=(0,r.Z)(e)););return e}(e,t);if(a){var i=Object.getOwnPropertyDescriptor(a,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}}).apply(null,arguments)}function i(e,t,n,i){var o=a((0,r.Z)(1&i?e.prototype:e),t,n);return 2&i&&"function"==typeof o?function(e){return o.apply(n,e)}:o}},25585:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(59630),a=n(59312);function i(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,a.Z)(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},95778:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(2846);function a(e){var t=function(e,t){if("object"!=(0,r.Z)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=(0,r.Z)(a))return a;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.Z)(t)?t:t+""}},2846:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{Z:function(){return r}})},59312:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59630);function a(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},21129:function(e,t,n){"use strict";var r=n(4503);t.Z=r},86676:function(e,t,n){"use strict";n.d(t,{r:function(){return a}});let r=/[#.]/g;function a(e,t){let n,a;let i=e||"",o={},s=0;for(;so&&(o=i):i=1,a=r+t.length,r=n.indexOf(t,a);return o}n.d(t,{J:function(){return r}})},24557:function(e,t,n){"use strict";n.d(t,{Z:function(){return ed}});var r={};n.r(r),n.d(r,{boolean:function(){return c},booleanish:function(){return u},commaOrSpaceSeparated:function(){return m},commaSeparated:function(){return h},number:function(){return p},overloadedBoolean:function(){return d},spaceSeparated:function(){return f}});class a{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function i(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new a(n,r,t)}function o(e){return e.toLowerCase()}a.prototype.normal={},a.prototype.property={},a.prototype.space=void 0;class s{constructor(e,t){this.attribute=t,this.property=e}}s.prototype.attribute="",s.prototype.booleanish=!1,s.prototype.boolean=!1,s.prototype.commaOrSpaceSeparated=!1,s.prototype.commaSeparated=!1,s.prototype.defined=!1,s.prototype.mustUseProperty=!1,s.prototype.number=!1,s.prototype.overloadedBoolean=!1,s.prototype.property="",s.prototype.spaceSeparated=!1,s.prototype.space=void 0;let l=0,c=g(),u=g(),d=g(),p=g(),f=g(),h=g(),m=g();function g(){return 2**++l}let b=Object.keys(r);class y extends s{constructor(e,t,n,a){var i,o;let s=-1;if(super(e,t),a&&(this.space=a),"number"==typeof n)for(;++s"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function T(e,t){return t in e?e[t]:t}function S(e,t){return T(e,t.toLowerCase())}let A=E({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:h,acceptCharset:f,accessKey:f,action:null,allow:null,allowFullScreen:c,allowPaymentRequest:c,allowUserMedia:c,alt:null,as:null,async:c,autoCapitalize:null,autoComplete:f,autoFocus:c,autoPlay:c,blocking:f,capture:null,charSet:null,checked:c,cite:null,className:f,cols:p,colSpan:null,content:null,contentEditable:u,controls:c,controlsList:f,coords:p|h,crossOrigin:null,data:null,dateTime:null,decoding:null,default:c,defer:c,dir:null,dirName:null,disabled:c,download:d,draggable:u,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:c,formTarget:null,headers:f,height:p,hidden:c,high:p,href:null,hrefLang:null,htmlFor:f,httpEquiv:f,id:null,imageSizes:null,imageSrcSet:null,inert:c,inputMode:null,integrity:null,is:null,isMap:c,itemId:null,itemProp:f,itemRef:f,itemScope:c,itemType:f,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:c,low:p,manifest:null,max:null,maxLength:p,media:null,method:null,min:null,minLength:p,multiple:c,muted:c,name:null,nonce:null,noModule:c,noValidate:c,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored: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,onScrollEnd: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:c,optimum:p,pattern:null,ping:f,placeholder:null,playsInline:c,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:c,referrerPolicy:null,rel:f,required:c,reversed:c,rows:p,rowSpan:p,sandbox:f,scope:null,scoped:c,seamless:c,selected:c,shadowRootClonable:c,shadowRootDelegatesFocus:c,shadowRootMode:null,shape:null,size:p,sizes:null,slot:null,span:p,spellCheck:u,src:null,srcDoc:null,srcLang:null,srcSet:null,start:p,step:null,style:null,tabIndex:p,target:null,title:null,translate:null,type:null,typeMustMatch:c,useMap:null,value:u,width:p,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:f,axis:null,background:null,bgColor:null,border:p,borderColor:null,bottomMargin:p,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:c,declare:c,event:null,face:null,frame:null,frameBorder:null,hSpace:p,leftMargin:p,link:null,longDesc:null,lowSrc:null,marginHeight:p,marginWidth:p,noResize:c,noHref:c,noShade:c,noWrap:c,object:null,profile:null,prompt:null,rev:null,rightMargin:p,rules:null,scheme:null,scrolling:u,standby:null,summary:null,text:null,topMargin:p,valueType:null,version:null,vAlign:null,vLink:null,vSpace:p,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:c,disableRemotePlayback:c,prefix:null,property:null,results:p,security:null,unselectable:null},space:"html",transform:S}),O=E({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:m,accentHeight:p,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:p,amplitude:p,arabicForm:null,ascent:p,attributeName:null,attributeType:null,azimuth:p,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:p,by:null,calcMode:null,capHeight:p,className:f,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:p,diffuseConstant:p,direction:null,display:null,dur:null,divisor:p,dominantBaseline:null,download:c,dx:null,dy:null,edgeMode:null,editable:null,elevation:p,enableBackground:null,end:null,event:null,exponent:p,externalResourcesRequired:null,fill:null,fillOpacity:p,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:h,g2:h,glyphName:h,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:p,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:p,horizOriginX:p,horizOriginY:p,id:null,ideographic:p,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:p,k:p,k1:p,k2:p,k3:p,k4:p,kernelMatrix:m,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:p,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:p,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose: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,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:p,overlineThickness:p,paintOrder:null,panose1:null,path:null,pathLength:p,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:f,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:p,pointsAtY:p,pointsAtZ:p,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:m,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:m,rev:m,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:m,requiredFeatures:m,requiredFonts:m,requiredFormats:m,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:p,specularExponent:p,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:p,strikethroughThickness:p,string:null,stroke:null,strokeDashArray:m,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:p,strokeOpacity:p,strokeWidth:null,style:null,surfaceScale:p,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:m,tabIndex:p,tableValues:null,target:null,targetX:p,targetY:p,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:m,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:p,underlineThickness:p,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:p,values:null,vAlphabetic:p,vMathematical:p,vectorEffect:null,vHanging:p,vIdeographic:p,version:null,vertAdvY:p,vertOriginX:p,vertOriginY:p,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:p,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:T}),_=E({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),k=E({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:S}),x=E({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),C=i([v,A,_,k,x],"html"),w=i([v,O,_,k,x],"svg");var I=n(25668),R=n(86676);let N=/[A-Z]/g,L=/-[a-z]/g,D=/^data[-\w.:]+$/i;function P(e){return"-"+e.toLowerCase()}function M(e){return e.charAt(1).toUpperCase()}var F=n(50342);function B(e,t,n){let r=n?function(e){let t=new Map;for(let n of e)t.set(n.toLowerCase(),n);return t}(n):void 0;return function(n,a,...i){let l;if(null==n)l={type:"root",children:[]},i.unshift(a);else{l=(0,R.r)(n,t);let c=l.tagName.toLowerCase(),u=r?r.get(c):void 0;if(l.tagName=u||c,function(e){if(null===e||"object"!=typeof e||Array.isArray(e))return!0;if("string"!=typeof e.type)return!1;let t=Object.keys(e);for(let n of t){let t=e[n];if(t&&"object"==typeof t){if(!Array.isArray(t))return!0;for(let e of t)if("number"!=typeof e&&"string"!=typeof e)return!0}}return!!("children"in e&&Array.isArray(e.children))}(a))i.unshift(a);else for(let[t,n]of Object.entries(a))!function(e,t,n,r){let a;let i=function(e,t){let n=o(t),r=t,a=s;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&D.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(L,M);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!L.test(e)){let n=e.replace(N,P);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}a=y}return new a(r,t)}(e,n);if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;a=r}else a="boolean"==typeof r?r:"string"==typeof r?i.spaceSeparated?(0,F.Q)(r):i.commaSeparated?(0,I.Q)(r):i.commaOrSpaceSeparated?(0,F.Q)((0,I.Q)(r).join(" ")):j(i,i.property,r):Array.isArray(r)?[...r]:"style"===i.property?function(e){let t=[];for(let[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}(r):String(r);if(Array.isArray(a)){let e=[];for(let t of a)e.push(j(i,i.property,t));a=e}"className"===i.property&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}(e,l.properties,t,n)}for(let e of i)!function e(t,n){if(null==n);else if("number"==typeof n||"string"==typeof n)t.push({type:"text",value:String(n)});else if(Array.isArray(n))for(let r of n)e(t,r);else if("object"==typeof n&&"type"in n)"root"===n.type?e(t,n.children):t.push(n);else throw Error("Expected node, nodes, or string, got `"+n+"`")}(l.children,e);return"element"===l.type&&"template"===l.tagName&&(l.content={type:"root",children:l.children},l.children=[]),l}}function j(e,t,n){if("string"==typeof n){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(""===n||o(n)===o(t)))return!0}return n}let U=B(C,"div"),G=B(w,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]);var H=n(49911);function $(e,t){let n=function(e,t){switch(e.nodeType){case 1:return function(e,t){let n=e.namespaceURI,r=n===H.t.svg?G:U,a=n===H.t.html?e.tagName.toLowerCase():e.tagName,i=n===H.t.html&&"template"===a?e.content:e,o=e.getAttributeNames(),s={},l=-1;for(;++ln&&(n=e):e&&(void 0!==n&&n>-1&&l.push("\n".repeat(n)||" "),n=-1,l.push(e))}return l.join("")}(d,{whitespace:"pre"});try{a=es.ZP.renderToString(p,{...t,displayMode:c,throwOnError:!0})}catch(o){let i=o.name.toLowerCase();n.message("Could not render math with KaTeX",{ancestors:[...r,e],cause:o,place:e.position,ruleId:i,source:"rehype-katex"});try{a=es.ZP.renderToString(p,{...t,displayMode:c,strict:"ignore",throwOnError:!1})}catch{a=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(o)},children:[{type:"text",value:p}]}]}}if("string"==typeof a){let e=function(e,t){let n=t?.fragment?function(e){let t=document.createElement("template");return t.innerHTML=e,t.content}(e):Z.parseFromString(e,"text/html");return $(n,{})||{type:"root",children:[]}}(a,{fragment:!0});a=e.children}let f=u.children.indexOf(d);return u.children.splice(f,1,...a),el.AM})}}},12384:function(e,t,n){"use strict";n.d(t,{Z:function(){return tJ}});var r,a,i,o,s,l,c,u,d,p,f,h,m,g,b,y,E,v,T,S,A,O,_=n(52835),k=n(24345),x=n(91634),C=n(25668),w=n(86676),I=n(26103),R=n(28051),N=n(50342);let L=new Set(["button","menu","reset","submit"]),D={}.hasOwnProperty;function P(e,t,n){let r=n&&function(e){let t={},n=-1;for(;++n1?n[e.line-2]:0)+e.column-1;if(r-1&&e<=t.length){let r=0;for(;;){let a=n[r];if(void 0===a){let e=j(t,n[r-1]);a=-1===e?t.length+1:e+1,n[r]=a}if(a>e)return{line:r+1,column:e-(r>0?n[r-1]:0)+1,offset:e};r++}}}}}(t),a=r.toPoint(0),i=r.toPoint(t.length);(0,k.ok)(a,"expected `start`"),(0,k.ok)(i,"expected `end`"),n.position={start:a,end:i}}return n}case"#documentType":return Z(e,t,n={type:"doctype"}),n;case"#text":return n={type:"text",value:t.value},Z(e,t,n),n;default:return function(e,t){let n=e.schema;e.schema=t.namespaceURI===U.t.svg?x.YP:x.dy;let r=-1,a={};for(;++r=55296&&e<=57343}function ei(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function eo(e){return e>=64976&&e<=65007||en.has(e)}(a=m=m||(m={})).controlCharacterInInputStream="control-character-in-input-stream",a.noncharacterInInputStream="noncharacter-in-input-stream",a.surrogateInInputStream="surrogate-in-input-stream",a.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",a.endTagWithAttributes="end-tag-with-attributes",a.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",a.unexpectedSolidusInTag="unexpected-solidus-in-tag",a.unexpectedNullCharacter="unexpected-null-character",a.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",a.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",a.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",a.missingEndTagName="missing-end-tag-name",a.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",a.unknownNamedCharacterReference="unknown-named-character-reference",a.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",a.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",a.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",a.eofBeforeTagName="eof-before-tag-name",a.eofInTag="eof-in-tag",a.missingAttributeValue="missing-attribute-value",a.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",a.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",a.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",a.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",a.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",a.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",a.missingDoctypePublicIdentifier="missing-doctype-public-identifier",a.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",a.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",a.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",a.cdataInHtmlContent="cdata-in-html-content",a.incorrectlyOpenedComment="incorrectly-opened-comment",a.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",a.eofInDoctype="eof-in-doctype",a.nestedComment="nested-comment",a.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",a.eofInComment="eof-in-comment",a.incorrectlyClosedComment="incorrectly-closed-comment",a.eofInCdata="eof-in-cdata",a.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",a.nullCharacterReference="null-character-reference",a.surrogateCharacterReference="surrogate-character-reference",a.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",a.controlCharacterReference="control-character-reference",a.noncharacterCharacterReference="noncharacter-character-reference",a.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",a.missingDoctypeName="missing-doctype-name",a.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",a.duplicateAttribute="duplicate-attribute",a.nonConformingDoctype="non-conforming-doctype",a.missingDoctype="missing-doctype",a.misplacedDoctype="misplaced-doctype",a.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",a.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",a.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",a.openElementsLeftAfterEof="open-elements-left-after-eof",a.abandonedHeadElementChild="abandoned-head-element-child",a.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",a.nestedNoscriptInHead="nested-noscript-in-head",a.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text";class es{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e){let{line:t,col:n,offset:r}=this;return{code:e,startLine:t,endLine:t,startCol:n,endCol:n,startOffset:r,endOffset:r}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let t=this.html.charCodeAt(this.pos+1);if(t>=56320&&t<=57343)return this.pos++,this._addGap(),(e-55296)*1024+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,h.EOF;return this._err(m.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,h.EOF;let n=this.html.charCodeAt(t);return n===h.CARRIAGE_RETURN?h.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,h.EOF;let e=this.html.charCodeAt(this.pos);if(e===h.CARRIAGE_RETURN)return this.isEol=!0,this.skipNextNewLine=!0,h.LINE_FEED;if(e===h.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine))return this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance();this.skipNextNewLine=!1,ea(e)&&(e=this._processSurrogate(e));let t=null===this.handler.onParseError||e>31&&e<127||e===h.LINE_FEED||e===h.CARRIAGE_RETURN||e>159&&e<64976;return t||this._checkForProblematicCharacters(e),e}_checkForProblematicCharacters(e){ei(e)?this._err(m.controlCharacterInInputStream):eo(e)&&this._err(m.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}(i=g=g||(g={}))[i.CHARACTER=0]="CHARACTER",i[i.NULL_CHARACTER=1]="NULL_CHARACTER",i[i.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",i[i.START_TAG=3]="START_TAG",i[i.END_TAG=4]="END_TAG",i[i.COMMENT=5]="COMMENT",i[i.DOCTYPE=6]="DOCTYPE",i[i.EOF=7]="EOF",i[i.HIBERNATION=8]="HIBERNATION";var ec=n(60411);(o=b=b||(b={})).HTML="http://www.w3.org/1999/xhtml",o.MATHML="http://www.w3.org/1998/Math/MathML",o.SVG="http://www.w3.org/2000/svg",o.XLINK="http://www.w3.org/1999/xlink",o.XML="http://www.w3.org/XML/1998/namespace",o.XMLNS="http://www.w3.org/2000/xmlns/",(s=y=y||(y={})).TYPE="type",s.ACTION="action",s.ENCODING="encoding",s.PROMPT="prompt",s.NAME="name",s.COLOR="color",s.FACE="face",s.SIZE="size",(l=E=E||(E={})).NO_QUIRKS="no-quirks",l.QUIRKS="quirks",l.LIMITED_QUIRKS="limited-quirks",(c=v=v||(v={})).A="a",c.ADDRESS="address",c.ANNOTATION_XML="annotation-xml",c.APPLET="applet",c.AREA="area",c.ARTICLE="article",c.ASIDE="aside",c.B="b",c.BASE="base",c.BASEFONT="basefont",c.BGSOUND="bgsound",c.BIG="big",c.BLOCKQUOTE="blockquote",c.BODY="body",c.BR="br",c.BUTTON="button",c.CAPTION="caption",c.CENTER="center",c.CODE="code",c.COL="col",c.COLGROUP="colgroup",c.DD="dd",c.DESC="desc",c.DETAILS="details",c.DIALOG="dialog",c.DIR="dir",c.DIV="div",c.DL="dl",c.DT="dt",c.EM="em",c.EMBED="embed",c.FIELDSET="fieldset",c.FIGCAPTION="figcaption",c.FIGURE="figure",c.FONT="font",c.FOOTER="footer",c.FOREIGN_OBJECT="foreignObject",c.FORM="form",c.FRAME="frame",c.FRAMESET="frameset",c.H1="h1",c.H2="h2",c.H3="h3",c.H4="h4",c.H5="h5",c.H6="h6",c.HEAD="head",c.HEADER="header",c.HGROUP="hgroup",c.HR="hr",c.HTML="html",c.I="i",c.IMG="img",c.IMAGE="image",c.INPUT="input",c.IFRAME="iframe",c.KEYGEN="keygen",c.LABEL="label",c.LI="li",c.LINK="link",c.LISTING="listing",c.MAIN="main",c.MALIGNMARK="malignmark",c.MARQUEE="marquee",c.MATH="math",c.MENU="menu",c.META="meta",c.MGLYPH="mglyph",c.MI="mi",c.MO="mo",c.MN="mn",c.MS="ms",c.MTEXT="mtext",c.NAV="nav",c.NOBR="nobr",c.NOFRAMES="noframes",c.NOEMBED="noembed",c.NOSCRIPT="noscript",c.OBJECT="object",c.OL="ol",c.OPTGROUP="optgroup",c.OPTION="option",c.P="p",c.PARAM="param",c.PLAINTEXT="plaintext",c.PRE="pre",c.RB="rb",c.RP="rp",c.RT="rt",c.RTC="rtc",c.RUBY="ruby",c.S="s",c.SCRIPT="script",c.SECTION="section",c.SELECT="select",c.SOURCE="source",c.SMALL="small",c.SPAN="span",c.STRIKE="strike",c.STRONG="strong",c.STYLE="style",c.SUB="sub",c.SUMMARY="summary",c.SUP="sup",c.TABLE="table",c.TBODY="tbody",c.TEMPLATE="template",c.TEXTAREA="textarea",c.TFOOT="tfoot",c.TD="td",c.TH="th",c.THEAD="thead",c.TITLE="title",c.TR="tr",c.TRACK="track",c.TT="tt",c.U="u",c.UL="ul",c.SVG="svg",c.VAR="var",c.WBR="wbr",c.XMP="xmp",(u=T=T||(T={}))[u.UNKNOWN=0]="UNKNOWN",u[u.A=1]="A",u[u.ADDRESS=2]="ADDRESS",u[u.ANNOTATION_XML=3]="ANNOTATION_XML",u[u.APPLET=4]="APPLET",u[u.AREA=5]="AREA",u[u.ARTICLE=6]="ARTICLE",u[u.ASIDE=7]="ASIDE",u[u.B=8]="B",u[u.BASE=9]="BASE",u[u.BASEFONT=10]="BASEFONT",u[u.BGSOUND=11]="BGSOUND",u[u.BIG=12]="BIG",u[u.BLOCKQUOTE=13]="BLOCKQUOTE",u[u.BODY=14]="BODY",u[u.BR=15]="BR",u[u.BUTTON=16]="BUTTON",u[u.CAPTION=17]="CAPTION",u[u.CENTER=18]="CENTER",u[u.CODE=19]="CODE",u[u.COL=20]="COL",u[u.COLGROUP=21]="COLGROUP",u[u.DD=22]="DD",u[u.DESC=23]="DESC",u[u.DETAILS=24]="DETAILS",u[u.DIALOG=25]="DIALOG",u[u.DIR=26]="DIR",u[u.DIV=27]="DIV",u[u.DL=28]="DL",u[u.DT=29]="DT",u[u.EM=30]="EM",u[u.EMBED=31]="EMBED",u[u.FIELDSET=32]="FIELDSET",u[u.FIGCAPTION=33]="FIGCAPTION",u[u.FIGURE=34]="FIGURE",u[u.FONT=35]="FONT",u[u.FOOTER=36]="FOOTER",u[u.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",u[u.FORM=38]="FORM",u[u.FRAME=39]="FRAME",u[u.FRAMESET=40]="FRAMESET",u[u.H1=41]="H1",u[u.H2=42]="H2",u[u.H3=43]="H3",u[u.H4=44]="H4",u[u.H5=45]="H5",u[u.H6=46]="H6",u[u.HEAD=47]="HEAD",u[u.HEADER=48]="HEADER",u[u.HGROUP=49]="HGROUP",u[u.HR=50]="HR",u[u.HTML=51]="HTML",u[u.I=52]="I",u[u.IMG=53]="IMG",u[u.IMAGE=54]="IMAGE",u[u.INPUT=55]="INPUT",u[u.IFRAME=56]="IFRAME",u[u.KEYGEN=57]="KEYGEN",u[u.LABEL=58]="LABEL",u[u.LI=59]="LI",u[u.LINK=60]="LINK",u[u.LISTING=61]="LISTING",u[u.MAIN=62]="MAIN",u[u.MALIGNMARK=63]="MALIGNMARK",u[u.MARQUEE=64]="MARQUEE",u[u.MATH=65]="MATH",u[u.MENU=66]="MENU",u[u.META=67]="META",u[u.MGLYPH=68]="MGLYPH",u[u.MI=69]="MI",u[u.MO=70]="MO",u[u.MN=71]="MN",u[u.MS=72]="MS",u[u.MTEXT=73]="MTEXT",u[u.NAV=74]="NAV",u[u.NOBR=75]="NOBR",u[u.NOFRAMES=76]="NOFRAMES",u[u.NOEMBED=77]="NOEMBED",u[u.NOSCRIPT=78]="NOSCRIPT",u[u.OBJECT=79]="OBJECT",u[u.OL=80]="OL",u[u.OPTGROUP=81]="OPTGROUP",u[u.OPTION=82]="OPTION",u[u.P=83]="P",u[u.PARAM=84]="PARAM",u[u.PLAINTEXT=85]="PLAINTEXT",u[u.PRE=86]="PRE",u[u.RB=87]="RB",u[u.RP=88]="RP",u[u.RT=89]="RT",u[u.RTC=90]="RTC",u[u.RUBY=91]="RUBY",u[u.S=92]="S",u[u.SCRIPT=93]="SCRIPT",u[u.SECTION=94]="SECTION",u[u.SELECT=95]="SELECT",u[u.SOURCE=96]="SOURCE",u[u.SMALL=97]="SMALL",u[u.SPAN=98]="SPAN",u[u.STRIKE=99]="STRIKE",u[u.STRONG=100]="STRONG",u[u.STYLE=101]="STYLE",u[u.SUB=102]="SUB",u[u.SUMMARY=103]="SUMMARY",u[u.SUP=104]="SUP",u[u.TABLE=105]="TABLE",u[u.TBODY=106]="TBODY",u[u.TEMPLATE=107]="TEMPLATE",u[u.TEXTAREA=108]="TEXTAREA",u[u.TFOOT=109]="TFOOT",u[u.TD=110]="TD",u[u.TH=111]="TH",u[u.THEAD=112]="THEAD",u[u.TITLE=113]="TITLE",u[u.TR=114]="TR",u[u.TRACK=115]="TRACK",u[u.TT=116]="TT",u[u.U=117]="U",u[u.UL=118]="UL",u[u.SVG=119]="SVG",u[u.VAR=120]="VAR",u[u.WBR=121]="WBR",u[u.XMP=122]="XMP";let eu=new Map([[v.A,T.A],[v.ADDRESS,T.ADDRESS],[v.ANNOTATION_XML,T.ANNOTATION_XML],[v.APPLET,T.APPLET],[v.AREA,T.AREA],[v.ARTICLE,T.ARTICLE],[v.ASIDE,T.ASIDE],[v.B,T.B],[v.BASE,T.BASE],[v.BASEFONT,T.BASEFONT],[v.BGSOUND,T.BGSOUND],[v.BIG,T.BIG],[v.BLOCKQUOTE,T.BLOCKQUOTE],[v.BODY,T.BODY],[v.BR,T.BR],[v.BUTTON,T.BUTTON],[v.CAPTION,T.CAPTION],[v.CENTER,T.CENTER],[v.CODE,T.CODE],[v.COL,T.COL],[v.COLGROUP,T.COLGROUP],[v.DD,T.DD],[v.DESC,T.DESC],[v.DETAILS,T.DETAILS],[v.DIALOG,T.DIALOG],[v.DIR,T.DIR],[v.DIV,T.DIV],[v.DL,T.DL],[v.DT,T.DT],[v.EM,T.EM],[v.EMBED,T.EMBED],[v.FIELDSET,T.FIELDSET],[v.FIGCAPTION,T.FIGCAPTION],[v.FIGURE,T.FIGURE],[v.FONT,T.FONT],[v.FOOTER,T.FOOTER],[v.FOREIGN_OBJECT,T.FOREIGN_OBJECT],[v.FORM,T.FORM],[v.FRAME,T.FRAME],[v.FRAMESET,T.FRAMESET],[v.H1,T.H1],[v.H2,T.H2],[v.H3,T.H3],[v.H4,T.H4],[v.H5,T.H5],[v.H6,T.H6],[v.HEAD,T.HEAD],[v.HEADER,T.HEADER],[v.HGROUP,T.HGROUP],[v.HR,T.HR],[v.HTML,T.HTML],[v.I,T.I],[v.IMG,T.IMG],[v.IMAGE,T.IMAGE],[v.INPUT,T.INPUT],[v.IFRAME,T.IFRAME],[v.KEYGEN,T.KEYGEN],[v.LABEL,T.LABEL],[v.LI,T.LI],[v.LINK,T.LINK],[v.LISTING,T.LISTING],[v.MAIN,T.MAIN],[v.MALIGNMARK,T.MALIGNMARK],[v.MARQUEE,T.MARQUEE],[v.MATH,T.MATH],[v.MENU,T.MENU],[v.META,T.META],[v.MGLYPH,T.MGLYPH],[v.MI,T.MI],[v.MO,T.MO],[v.MN,T.MN],[v.MS,T.MS],[v.MTEXT,T.MTEXT],[v.NAV,T.NAV],[v.NOBR,T.NOBR],[v.NOFRAMES,T.NOFRAMES],[v.NOEMBED,T.NOEMBED],[v.NOSCRIPT,T.NOSCRIPT],[v.OBJECT,T.OBJECT],[v.OL,T.OL],[v.OPTGROUP,T.OPTGROUP],[v.OPTION,T.OPTION],[v.P,T.P],[v.PARAM,T.PARAM],[v.PLAINTEXT,T.PLAINTEXT],[v.PRE,T.PRE],[v.RB,T.RB],[v.RP,T.RP],[v.RT,T.RT],[v.RTC,T.RTC],[v.RUBY,T.RUBY],[v.S,T.S],[v.SCRIPT,T.SCRIPT],[v.SECTION,T.SECTION],[v.SELECT,T.SELECT],[v.SOURCE,T.SOURCE],[v.SMALL,T.SMALL],[v.SPAN,T.SPAN],[v.STRIKE,T.STRIKE],[v.STRONG,T.STRONG],[v.STYLE,T.STYLE],[v.SUB,T.SUB],[v.SUMMARY,T.SUMMARY],[v.SUP,T.SUP],[v.TABLE,T.TABLE],[v.TBODY,T.TBODY],[v.TEMPLATE,T.TEMPLATE],[v.TEXTAREA,T.TEXTAREA],[v.TFOOT,T.TFOOT],[v.TD,T.TD],[v.TH,T.TH],[v.THEAD,T.THEAD],[v.TITLE,T.TITLE],[v.TR,T.TR],[v.TRACK,T.TRACK],[v.TT,T.TT],[v.U,T.U],[v.UL,T.UL],[v.SVG,T.SVG],[v.VAR,T.VAR],[v.WBR,T.WBR],[v.XMP,T.XMP]]);function ed(e){var t;return null!==(t=eu.get(e))&&void 0!==t?t:T.UNKNOWN}let ep=T,ef={[b.HTML]:new Set([ep.ADDRESS,ep.APPLET,ep.AREA,ep.ARTICLE,ep.ASIDE,ep.BASE,ep.BASEFONT,ep.BGSOUND,ep.BLOCKQUOTE,ep.BODY,ep.BR,ep.BUTTON,ep.CAPTION,ep.CENTER,ep.COL,ep.COLGROUP,ep.DD,ep.DETAILS,ep.DIR,ep.DIV,ep.DL,ep.DT,ep.EMBED,ep.FIELDSET,ep.FIGCAPTION,ep.FIGURE,ep.FOOTER,ep.FORM,ep.FRAME,ep.FRAMESET,ep.H1,ep.H2,ep.H3,ep.H4,ep.H5,ep.H6,ep.HEAD,ep.HEADER,ep.HGROUP,ep.HR,ep.HTML,ep.IFRAME,ep.IMG,ep.INPUT,ep.LI,ep.LINK,ep.LISTING,ep.MAIN,ep.MARQUEE,ep.MENU,ep.META,ep.NAV,ep.NOEMBED,ep.NOFRAMES,ep.NOSCRIPT,ep.OBJECT,ep.OL,ep.P,ep.PARAM,ep.PLAINTEXT,ep.PRE,ep.SCRIPT,ep.SECTION,ep.SELECT,ep.SOURCE,ep.STYLE,ep.SUMMARY,ep.TABLE,ep.TBODY,ep.TD,ep.TEMPLATE,ep.TEXTAREA,ep.TFOOT,ep.TH,ep.THEAD,ep.TITLE,ep.TR,ep.TRACK,ep.UL,ep.WBR,ep.XMP]),[b.MATHML]:new Set([ep.MI,ep.MO,ep.MN,ep.MS,ep.MTEXT,ep.ANNOTATION_XML]),[b.SVG]:new Set([ep.TITLE,ep.FOREIGN_OBJECT,ep.DESC]),[b.XLINK]:new Set,[b.XML]:new Set,[b.XMLNS]:new Set};function eh(e){return e===ep.H1||e===ep.H2||e===ep.H3||e===ep.H4||e===ep.H5||e===ep.H6}v.STYLE,v.SCRIPT,v.XMP,v.IFRAME,v.NOEMBED,v.NOFRAMES,v.PLAINTEXT;let em=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);(d=S||(S={}))[d.DATA=0]="DATA",d[d.RCDATA=1]="RCDATA",d[d.RAWTEXT=2]="RAWTEXT",d[d.SCRIPT_DATA=3]="SCRIPT_DATA",d[d.PLAINTEXT=4]="PLAINTEXT",d[d.TAG_OPEN=5]="TAG_OPEN",d[d.END_TAG_OPEN=6]="END_TAG_OPEN",d[d.TAG_NAME=7]="TAG_NAME",d[d.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",d[d.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",d[d.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",d[d.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",d[d.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",d[d.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",d[d.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",d[d.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",d[d.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",d[d.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",d[d.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",d[d.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",d[d.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",d[d.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",d[d.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",d[d.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",d[d.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",d[d.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",d[d.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",d[d.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",d[d.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",d[d.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",d[d.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",d[d.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",d[d.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",d[d.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",d[d.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",d[d.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",d[d.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",d[d.BOGUS_COMMENT=40]="BOGUS_COMMENT",d[d.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",d[d.COMMENT_START=42]="COMMENT_START",d[d.COMMENT_START_DASH=43]="COMMENT_START_DASH",d[d.COMMENT=44]="COMMENT",d[d.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",d[d.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",d[d.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",d[d.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",d[d.COMMENT_END_DASH=49]="COMMENT_END_DASH",d[d.COMMENT_END=50]="COMMENT_END",d[d.COMMENT_END_BANG=51]="COMMENT_END_BANG",d[d.DOCTYPE=52]="DOCTYPE",d[d.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",d[d.DOCTYPE_NAME=54]="DOCTYPE_NAME",d[d.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",d[d.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",d[d.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",d[d.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",d[d.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",d[d.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",d[d.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",d[d.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",d[d.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",d[d.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",d[d.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",d[d.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",d[d.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",d[d.CDATA_SECTION=68]="CDATA_SECTION",d[d.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",d[d.CDATA_SECTION_END=70]="CDATA_SECTION_END",d[d.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",d[d.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",d[d.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",d[d.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",d[d.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",d[d.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",d[d.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",d[d.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END";let eg={DATA:S.DATA,RCDATA:S.RCDATA,RAWTEXT:S.RAWTEXT,SCRIPT_DATA:S.SCRIPT_DATA,PLAINTEXT:S.PLAINTEXT,CDATA_SECTION:S.CDATA_SECTION};function eb(e){return e>=h.DIGIT_0&&e<=h.DIGIT_9}function ey(e){return e>=h.LATIN_CAPITAL_A&&e<=h.LATIN_CAPITAL_Z}function eE(e){return e>=h.LATIN_SMALL_A&&e<=h.LATIN_SMALL_Z||ey(e)}function ev(e){return eE(e)||eb(e)}function eT(e){return e>=h.LATIN_CAPITAL_A&&e<=h.LATIN_CAPITAL_F}function eS(e){return e>=h.LATIN_SMALL_A&&e<=h.LATIN_SMALL_F}function eA(e){return e===h.SPACE||e===h.LINE_FEED||e===h.TABULATION||e===h.FORM_FEED}function eO(e){return eA(e)||e===h.SOLIDUS||e===h.GREATER_THAN_SIGN}class e_{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=S.DATA,this.returnState=S.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new es(t),this.currentLocation=this.getCurrentLocation(-1)}_err(e){var t,n;null===(n=(t=this.handler).onParseError)||void 0===n||n.call(t,this.preprocessor.getError(e))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw Error("Parser was already resumed");this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(e){this.consumedAfterSnapshot-=e,this.preprocessor.retreat(e)}_reconsumeInState(e,t){this.state=e,this._callState(t)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t0&&this._err(m.endTagWithAttributes),e.selfClosing&&this._err(m.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case g.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case g.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case g.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:g.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type!==e)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=t;return}}this._createCharacterToken(e,t)}_emitCodePoint(e){let t=eA(e)?g.WHITESPACE_CHARACTER:e===h.NULL?g.NULL_CHARACTER:g.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(g.CHARACTER,e)}_matchNamedCharacterReference(e){let t=null,n=0,r=!1;for(let i=0,o=ec.HP[0];i>=0&&!((i=(0,ec.Go)(ec.HP,o,i+1,e))<0);e=this._consume()){n+=1,o=ec.HP[i];let s=o&ec.ge.VALUE_LENGTH;if(s){var a;let o=(s>>14)-1;if(e!==h.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((a=this.preprocessor.peek(1))===h.EQUALS_SIGN||ev(a))?(t=[h.AMPERSAND],i+=o):(t=0===o?[ec.HP[i]&~ec.ge.VALUE_LENGTH]:1===o?[ec.HP[++i]]:[ec.HP[++i],ec.HP[++i]],n=0,r=e!==h.SEMICOLON),0===o){this._consume();break}}}return this._unconsume(n),r&&!this.preprocessor.endOfChunkHit&&this._err(m.missingSemicolonAfterCharacterReference),this._unconsume(1),t}_isCharacterReferenceInAttribute(){return this.returnState===S.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case S.DATA:this._stateData(e);break;case S.RCDATA:this._stateRcdata(e);break;case S.RAWTEXT:this._stateRawtext(e);break;case S.SCRIPT_DATA:this._stateScriptData(e);break;case S.PLAINTEXT:this._statePlaintext(e);break;case S.TAG_OPEN:this._stateTagOpen(e);break;case S.END_TAG_OPEN:this._stateEndTagOpen(e);break;case S.TAG_NAME:this._stateTagName(e);break;case S.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case S.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case S.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case S.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case S.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case S.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case S.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case S.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case S.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case S.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case S.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case S.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case S.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case S.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case S.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case S.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case S.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case S.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case S.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case S.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case S.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case S.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case S.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case S.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case S.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case S.BOGUS_COMMENT:this._stateBogusComment(e);break;case S.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case S.COMMENT_START:this._stateCommentStart(e);break;case S.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case S.COMMENT:this._stateComment(e);break;case S.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case S.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case S.COMMENT_END:this._stateCommentEnd(e);break;case S.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case S.DOCTYPE:this._stateDoctype(e);break;case S.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case S.DOCTYPE_NAME:this._stateDoctypeName(e);break;case S.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case S.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case S.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case S.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case S.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case S.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case S.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case S.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case S.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case S.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case S.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case S.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case S.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case S.CDATA_SECTION:this._stateCdataSection(e);break;case S.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case S.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case S.CHARACTER_REFERENCE:this._stateCharacterReference(e);break;case S.NAMED_CHARACTER_REFERENCE:this._stateNamedCharacterReference(e);break;case S.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;case S.NUMERIC_CHARACTER_REFERENCE:this._stateNumericCharacterReference(e);break;case S.HEXADEMICAL_CHARACTER_REFERENCE_START:this._stateHexademicalCharacterReferenceStart(e);break;case S.HEXADEMICAL_CHARACTER_REFERENCE:this._stateHexademicalCharacterReference(e);break;case S.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(e);break;case S.NUMERIC_CHARACTER_REFERENCE_END:this._stateNumericCharacterReferenceEnd(e);break;default:throw Error("Unknown state")}}_stateData(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.TAG_OPEN;break;case h.AMPERSAND:this.returnState=S.DATA,this.state=S.CHARACTER_REFERENCE;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitCodePoint(e);break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case h.AMPERSAND:this.returnState=S.RCDATA,this.state=S.CHARACTER_REFERENCE;break;case h.LESS_THAN_SIGN:this.state=S.RCDATA_LESS_THAN_SIGN;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.RAWTEXT_LESS_THAN_SIGN;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.SCRIPT_DATA_LESS_THAN_SIGN;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(eE(e))this._createStartTagToken(),this.state=S.TAG_NAME,this._stateTagName(e);else switch(e){case h.EXCLAMATION_MARK:this.state=S.MARKUP_DECLARATION_OPEN;break;case h.SOLIDUS:this.state=S.END_TAG_OPEN;break;case h.QUESTION_MARK:this._err(m.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=S.BOGUS_COMMENT,this._stateBogusComment(e);break;case h.EOF:this._err(m.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(m.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=S.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(eE(e))this._createEndTagToken(),this.state=S.TAG_NAME,this._stateTagName(e);else switch(e){case h.GREATER_THAN_SIGN:this._err(m.missingEndTagName),this.state=S.DATA;break;case h.EOF:this._err(m.eofBeforeTagName),this._emitChars("");break;case h.NULL:this._err(m.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case h.EOF:this._err(m.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===h.SOLIDUS?this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:eE(e)?(this._emitChars("<"),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=S.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){eE(e)?(this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("");break;case h.NULL:this._err(m.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case h.EOF:this._err(m.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===h.SOLIDUS?(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(er.SCRIPT,!1)&&eO(this.preprocessor.peek(er.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e1114111)this._err(m.characterReferenceOutsideUnicodeRange),this.charRefCode=h.REPLACEMENT_CHARACTER;else if(ea(this.charRefCode))this._err(m.surrogateCharacterReference),this.charRefCode=h.REPLACEMENT_CHARACTER;else if(eo(this.charRefCode))this._err(m.noncharacterCharacterReference);else if(ei(this.charRefCode)||this.charRefCode===h.CARRIAGE_RETURN){this._err(m.controlCharacterReference);let e=em.get(this.charRefCode);void 0!==e&&(this.charRefCode=e)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}}let ek=new Set([T.DD,T.DT,T.LI,T.OPTGROUP,T.OPTION,T.P,T.RB,T.RP,T.RT,T.RTC]),ex=new Set([...ek,T.CAPTION,T.COLGROUP,T.TBODY,T.TD,T.TFOOT,T.TH,T.THEAD,T.TR]),eC=new Map([[T.APPLET,b.HTML],[T.CAPTION,b.HTML],[T.HTML,b.HTML],[T.MARQUEE,b.HTML],[T.OBJECT,b.HTML],[T.TABLE,b.HTML],[T.TD,b.HTML],[T.TEMPLATE,b.HTML],[T.TH,b.HTML],[T.ANNOTATION_XML,b.MATHML],[T.MI,b.MATHML],[T.MN,b.MATHML],[T.MO,b.MATHML],[T.MS,b.MATHML],[T.MTEXT,b.MATHML],[T.DESC,b.SVG],[T.FOREIGN_OBJECT,b.SVG],[T.TITLE,b.SVG]]),ew=[T.H1,T.H2,T.H3,T.H4,T.H5,T.H6],eI=[T.TR,T.TEMPLATE,T.HTML],eR=[T.TBODY,T.TFOOT,T.THEAD,T.TEMPLATE,T.HTML],eN=[T.TABLE,T.TEMPLATE,T.HTML],eL=[T.TD,T.TH];class eD{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=T.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===T.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===b.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){let r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==b.HTML);this.shortenToLength(t<0?0:t)}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop=0;n--)if(e.includes(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return -1}clearBackTo(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(eN,b.HTML)}clearBackToTableBodyContext(){this.clearBackTo(eR,b.HTML)}clearBackToTableRowContext(){this.clearBackTo(eI,b.HTML)}remove(e){let t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===T.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===T.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(eC.get(n)===r)return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(eh(t)&&n===b.HTML)break;if(eC.get(t)===n)return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if((n===T.UL||n===T.OL)&&r===b.HTML||eC.get(n)===r)return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(n===T.BUTTON&&r===b.HTML||eC.get(n)===r)return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n===T.TABLE||n===T.TEMPLATE||n===T.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(n===b.HTML){if(t===T.TBODY||t===T.THEAD||t===T.TFOOT)break;if(t===T.TABLE||t===T.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n!==T.OPTION&&n!==T.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;ek.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;ex.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&ex.has(this.currentTagId);)this.pop()}}(p=A=A||(A={}))[p.Marker=0]="Marker",p[p.Element=1]="Element";let eP={type:A.Marker};class eM{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let n=[],r=t.length,a=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let e=0;e[e.name,e.value])),a=0;for(let e=0;er.get(e.name)===e.value)&&(a+=1)>=3&&this.entries.splice(t.idx,1)}}insertMarker(){this.entries.unshift(eP)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:A.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:A.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);t>=0&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(eP);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===A.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===A.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===A.Element&&t.element===e)}}function eF(e){return{nodeName:"#text",value:e,parentNode:null}}let eB={createDocument:()=>({nodeName:"#document",mode:E.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){let r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,n,r){let a=e.childNodes.find(e=>"#documentType"===e.nodeName);a?(a.name=t,a.publicId=n,a.systemId=r):eB.appendChild(e,{nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null})},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let n=e.childNodes[e.childNodes.length-1];if(eB.isTextNode(n)){n.value+=t;return}}eB.appendChild(e,eF(t))},insertTextBefore(e,t,n){let r=e.childNodes[e.childNodes.indexOf(n)-1];r&&eB.isTextNode(r)?r.value+=t:eB.insertBefore(e,eF(t),n)},adoptAttributes(e,t){let n=new Set(e.attrs.map(e=>e.name));for(let r=0;re.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},ej="html",eU=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],eG=[...eU,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],eH=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),e$=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],ez=[...e$,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function eZ(e,t){return t.some(t=>e.startsWith(t))}let eW={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},eV=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),eY=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:b.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:b.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:b.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:b.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:b.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:b.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:b.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:b.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:b.XML}],["xml:space",{prefix:"xml",name:"space",namespace:b.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:b.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:b.XMLNS}]]),eq=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),eK=new Set([T.B,T.BIG,T.BLOCKQUOTE,T.BODY,T.BR,T.CENTER,T.CODE,T.DD,T.DIV,T.DL,T.DT,T.EM,T.EMBED,T.H1,T.H2,T.H3,T.H4,T.H5,T.H6,T.HEAD,T.HR,T.I,T.IMG,T.LI,T.LISTING,T.MENU,T.META,T.NOBR,T.OL,T.P,T.PRE,T.RUBY,T.S,T.SMALL,T.SPAN,T.STRONG,T.STRIKE,T.SUB,T.SUP,T.TABLE,T.TT,T.U,T.UL,T.VAR]);function eX(e){for(let t=0;t0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null===(r=(n=this.treeAdapter).onItemPop)||void 0===r||r.call(n,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let n=e===this.document||this.treeAdapter.getNamespaceURI(e)===b.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,b.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=O.TEXT}switchToPlaintextParsing(){this.insertionMode=O.TEXT,this.originalInsertionMode=O.IN_BODY,this.tokenizer.state=eg.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===v.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===b.HTML)switch(this.fragmentContextID){case T.TITLE:case T.TEXTAREA:this.tokenizer.state=eg.RCDATA;break;case T.STYLE:case T.XMP:case T.IFRAME:case T.NOEMBED:case T.NOFRAMES:case T.NOSCRIPT:this.tokenizer.state=eg.RAWTEXT;break;case T.SCRIPT:this.tokenizer.state=eg.SCRIPT_DATA;break;case T.PLAINTEXT:this.tokenizer.state=eg.PLAINTEXT}}_setDocumentType(e){let t=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){let t=this.treeAdapter.getChildNodes(this.document),n=t.find(e=>this.treeAdapter.isDocumentTypeNode(e));n&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){let n=this.treeAdapter.createElement(e,b.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,b.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(v.HTML,b.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,T.HTML)}_appendCommentNode(e,t){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let r=this.treeAdapter.getChildNodes(t),a=n?r.lastIndexOf(n):r.length,i=r[a-1],o=this.treeAdapter.getNodeSourceCodeLocation(i);if(o){let{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let n=t.location,r=this.treeAdapter.getTagName(e),a=t.type===g.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,a)}}shouldProcessStartTagTokenInForeignContent(e){let t,n;return!!this.currentNotInHTML&&(0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):{current:t,currentTagId:n}=this.openElements,(e.tagID!==T.SVG||this.treeAdapter.getTagName(t)!==v.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==b.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===T.MGLYPH||e.tagID===T.MALIGNMARK)&&!this._isIntegrationPoint(n,t,b.HTML)))}_processToken(e){switch(e.type){case g.CHARACTER:this.onCharacter(e);break;case g.NULL_CHARACTER:this.onNullCharacter(e);break;case g.COMMENT:this.onComment(e);break;case g.DOCTYPE:this.onDoctype(e);break;case g.START_TAG:this._processStartTag(e);break;case g.END_TAG:this.onEndTag(e);break;case g.EOF:this.onEof(e);break;case g.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){let r=this.treeAdapter.getNamespaceURI(t),a=this.treeAdapter.getAttrList(t);return(!n||n===b.HTML)&&function(e,t,n){if(t===b.MATHML&&e===T.ANNOTATION_XML){for(let e=0;ee.type===A.Marker||this.openElements.contains(e.element)),n=t<0?e-1:t-1;for(let e=n;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=O.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(T.P),this.openElements.popUntilTagNamePopped(T.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case T.TR:this.insertionMode=O.IN_ROW;return;case T.TBODY:case T.THEAD:case T.TFOOT:this.insertionMode=O.IN_TABLE_BODY;return;case T.CAPTION:this.insertionMode=O.IN_CAPTION;return;case T.COLGROUP:this.insertionMode=O.IN_COLUMN_GROUP;return;case T.TABLE:this.insertionMode=O.IN_TABLE;return;case T.BODY:this.insertionMode=O.IN_BODY;return;case T.FRAMESET:this.insertionMode=O.IN_FRAMESET;return;case T.SELECT:this._resetInsertionModeForSelect(e);return;case T.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case T.HTML:this.insertionMode=this.headElement?O.AFTER_HEAD:O.BEFORE_HEAD;return;case T.TD:case T.TH:if(e>0){this.insertionMode=O.IN_CELL;return}break;case T.HEAD:if(e>0){this.insertionMode=O.IN_HEAD;return}}this.insertionMode=O.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===T.TEMPLATE)break;if(e===T.TABLE){this.insertionMode=O.IN_SELECT_IN_TABLE;return}}this.insertionMode=O.IN_SELECT}_isElementCausesFosterParenting(e){return e1.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case T.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===b.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case T.TABLE:{let n=this.treeAdapter.getParentNode(t);if(n)return{parent:n,beforeElement:t};return{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){let n=this.treeAdapter.getNamespaceURI(e);return ef[n].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){this._insertCharacters(e),this.framesetOk=!1;return}switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.IN_BODY:case O.IN_CAPTION:case O.IN_CELL:case O.IN_TEMPLATE:ts(this,e);break;case O.TEXT:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tg(this,e);break;case O.IN_TABLE_TEXT:tT(this,e);break;case O.IN_COLUMN_GROUP:t_(this,e);break;case O.AFTER_BODY:tD(this,e);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){e.chars="�",this._insertCharacters(e);return}switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.TEXT:this._insertCharacters(e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tg(this,e);break;case O.IN_COLUMN_GROUP:t_(this,e);break;case O.AFTER_BODY:tD(this,e);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){e4(this,e);return}switch(this.insertionMode){case O.INITIAL:case O.BEFORE_HTML:case O.BEFORE_HEAD:case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:case O.IN_BODY:case O.IN_TABLE:case O.IN_CAPTION:case O.IN_COLUMN_GROUP:case O.IN_TABLE_BODY:case O.IN_ROW:case O.IN_CELL:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:case O.IN_TEMPLATE:case O.IN_FRAMESET:case O.AFTER_FRAMESET:e4(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case O.INITIAL:!function(e,t){e._setDocumentType(t);let n=t.forceQuirks?E.QUIRKS:function(e){if(e.name!==ej)return E.QUIRKS;let{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return E.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),eH.has(n))return E.QUIRKS;let e=null===t?eG:eU;if(eZ(n,e))return E.QUIRKS;if(eZ(n,e=null===t?e$:ez))return E.LIMITED_QUIRKS}return E.NO_QUIRKS}(t);t.name===ej&&null===t.publicId&&(null===t.systemId||"about:legacy-compat"===t.systemId)||e._err(t,m.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=O.BEFORE_HTML}(this,e);break;case O.BEFORE_HEAD:case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:this._err(e,m.misplacedDoctype);break;case O.IN_TABLE_TEXT:tS(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,m.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){let t=e.tagID,n=t===T.FONT&&e.attrs.some(({name:e})=>e===y.COLOR||e===y.SIZE||e===y.FACE);return n||eK.has(t)}(t))tM(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===b.MATHML?eX(t):r===b.SVG&&(function(e){let t=eq.get(e.tagName);null!=t&&(e.tagName=t,e.tagID=ed(e.tagName))}(t),eQ(t)),eJ(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e.tagID===T.HTML?(this._insertElement(e,b.HTML),this.insertionMode=O.BEFORE_HEAD):e8(this,e);break;case O.BEFORE_HEAD:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.HEAD:e._insertElement(t,b.HTML),e.headElement=e.openElements.current,e.insertionMode=O.IN_HEAD;break;default:e7(e,t)}}(this,e);break;case O.IN_HEAD:te(this,e);break;case O.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BASEFONT:case T.BGSOUND:case T.HEAD:case T.LINK:case T.META:case T.NOFRAMES:case T.STYLE:te(e,t);break;case T.NOSCRIPT:e._err(t,m.nestedNoscriptInHead);break;default:tr(e,t)}}(this,e);break;case O.AFTER_HEAD:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BODY:e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=O.IN_BODY;break;case T.FRAMESET:e._insertElement(t,b.HTML),e.insertionMode=O.IN_FRAMESET;break;case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:e._err(t,m.abandonedHeadElementChild),e.openElements.push(e.headElement,T.HEAD),te(e,t),e.openElements.remove(e.headElement);break;case T.HEAD:e._err(t,m.misplacedStartTagForHeadElement);break;default:ta(e,t)}}(this,e);break;case O.IN_BODY:tp(this,e);break;case O.IN_TABLE:tb(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_CAPTION:!function(e,t){let n=t.tagID;tA.has(n)?e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_TABLE,tb(e,t)):tp(e,t)}(this,e);break;case O.IN_COLUMN_GROUP:tO(this,e);break;case O.IN_TABLE_BODY:tk(this,e);break;case O.IN_ROW:tC(this,e);break;case O.IN_CELL:!function(e,t){let n=t.tagID;tA.has(n)?(e.openElements.hasInTableScope(T.TD)||e.openElements.hasInTableScope(T.TH))&&(e._closeTableCell(),tC(e,t)):tp(e,t)}(this,e);break;case O.IN_SELECT:tI(this,e);break;case O.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e._processStartTag(t)):tI(e,t)}(this,e);break;case O.IN_TEMPLATE:!function(e,t){switch(t.tagID){case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:te(e,t);break;case T.CAPTION:case T.COLGROUP:case T.TBODY:case T.TFOOT:case T.THEAD:e.tmplInsertionModeStack[0]=O.IN_TABLE,e.insertionMode=O.IN_TABLE,tb(e,t);break;case T.COL:e.tmplInsertionModeStack[0]=O.IN_COLUMN_GROUP,e.insertionMode=O.IN_COLUMN_GROUP,tO(e,t);break;case T.TR:e.tmplInsertionModeStack[0]=O.IN_TABLE_BODY,e.insertionMode=O.IN_TABLE_BODY,tk(e,t);break;case T.TD:case T.TH:e.tmplInsertionModeStack[0]=O.IN_ROW,e.insertionMode=O.IN_ROW,tC(e,t);break;default:e.tmplInsertionModeStack[0]=O.IN_BODY,e.insertionMode=O.IN_BODY,tp(e,t)}}(this,e);break;case O.AFTER_BODY:e.tagID===T.HTML?tp(this,e):tD(this,e);break;case O.IN_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.FRAMESET:e._insertElement(t,b.HTML);break;case T.FRAME:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.NOFRAMES:te(e,t)}}(this,e);break;case O.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.NOFRAMES:te(e,t)}}(this,e);break;case O.AFTER_AFTER_BODY:e.tagID===T.HTML?tp(this,e):tP(this,e);break;case O.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.NOFRAMES:te(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===T.P||t.tagID===T.BR){tM(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){let r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===b.HTML){e._endTagOutsideForeignContent(t);break}let a=e.treeAdapter.getTagName(r);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){var t;switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:!function(e,t){let n=t.tagID;(n===T.HTML||n===T.HEAD||n===T.BODY||n===T.BR)&&e8(e,t)}(this,e);break;case O.BEFORE_HEAD:!function(e,t){let n=t.tagID;n===T.HEAD||n===T.BODY||n===T.HTML||n===T.BR?e7(e,t):e._err(t,m.endTagWithoutMatchingOpenElement)}(this,e);break;case O.IN_HEAD:!function(e,t){switch(t.tagID){case T.HEAD:e.openElements.pop(),e.insertionMode=O.AFTER_HEAD;break;case T.BODY:case T.BR:case T.HTML:tn(e,t);break;case T.TEMPLATE:tt(e,t);break;default:e._err(t,m.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case T.NOSCRIPT:e.openElements.pop(),e.insertionMode=O.IN_HEAD;break;case T.BR:tr(e,t);break;default:e._err(t,m.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.AFTER_HEAD:!function(e,t){switch(t.tagID){case T.BODY:case T.HTML:case T.BR:ta(e,t);break;case T.TEMPLATE:tt(e,t);break;default:e._err(t,m.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.IN_BODY:th(this,e);break;case O.TEXT:e.tagID===T.SCRIPT&&(null===(t=this.scriptHandler)||void 0===t||t.call(this,this.openElements.current)),this.openElements.pop(),this.insertionMode=this.originalInsertionMode;break;case O.IN_TABLE:ty(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_CAPTION:!function(e,t){let n=t.tagID;switch(n){case T.CAPTION:case T.TABLE:e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_TABLE,n===T.TABLE&&ty(e,t));break;case T.BODY:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:th(e,t)}}(this,e);break;case O.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case T.COLGROUP:e.openElements.currentTagId===T.COLGROUP&&(e.openElements.pop(),e.insertionMode=O.IN_TABLE);break;case T.TEMPLATE:tt(e,t);break;case T.COL:break;default:t_(e,t)}}(this,e);break;case O.IN_TABLE_BODY:tx(this,e);break;case O.IN_ROW:tw(this,e);break;case O.IN_CELL:!function(e,t){let n=t.tagID;switch(n){case T.TD:case T.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_ROW);break;case T.TABLE:case T.TBODY:case T.TFOOT:case T.THEAD:case T.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),tw(e,t));break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:break;default:th(e,t)}}(this,e);break;case O.IN_SELECT:tR(this,e);break;case O.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e.onEndTag(t)):tR(e,t)}(this,e);break;case O.IN_TEMPLATE:e.tagID===T.TEMPLATE&&tt(this,e);break;case O.AFTER_BODY:tL(this,e);break;case O.IN_FRAMESET:e.tagID!==T.FRAMESET||this.openElements.isRootHtmlElementCurrent()||(this.openElements.pop(),this.fragmentContext||this.openElements.currentTagId===T.FRAMESET||(this.insertionMode=O.AFTER_FRAMESET));break;case O.AFTER_FRAMESET:e.tagID===T.HTML&&(this.insertionMode=O.AFTER_AFTER_FRAMESET);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onEof(e){switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.IN_BODY:case O.IN_TABLE:case O.IN_CAPTION:case O.IN_COLUMN_GROUP:case O.IN_TABLE_BODY:case O.IN_ROW:case O.IN_CELL:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:tm(this,e);break;case O.TEXT:this._err(e,m.eofInElementThatCanContainOnlyText),this.openElements.pop(),this.insertionMode=this.originalInsertionMode,this.onEof(e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_TEMPLATE:tN(this,e);break;case O.AFTER_BODY:case O.IN_FRAMESET:case O.AFTER_FRAMESET:case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:e6(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===h.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:case O.TEXT:case O.IN_COLUMN_GROUP:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:case O.IN_FRAMESET:case O.AFTER_FRAMESET:this._insertCharacters(e);break;case O.IN_BODY:case O.IN_CAPTION:case O.IN_CELL:case O.IN_TEMPLATE:case O.AFTER_BODY:case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:to(this,e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tg(this,e);break;case O.IN_TABLE_TEXT:tv(this,e)}}}function e5(e,t){for(let n=0;n<8;n++){let n=function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):tf(e,t),n}(e,t);if(!n)break;let r=function(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){let a=e.openElements.items[r];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[r])&&(n=a)}return n||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;let a=function(e,t,n){let r=t,a=e.openElements.getCommonAncestor(t);for(let i=0,o=a;o!==n;i++,o=a){a=e.openElements.getCommonAncestor(o);let n=e.activeFormattingElements.getElementEntry(o),s=n&&i>=3,l=!n||s;l?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(o)):(o=function(e,t){let n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}(e,r,n.element),i=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(a),i&&function(e,t,n){let r=e.treeAdapter.getTagName(t),a=ed(r);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(n);else{let r=e.treeAdapter.getNamespaceURI(t);a===T.TEMPLATE&&r===b.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}(e,i,a),function(e,t,n){let r=e.treeAdapter.getNamespaceURI(n.element),{token:a}=n,i=e.treeAdapter.createElement(a.tagName,r,a.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,a),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,a.tagID)}(e,r,n)}}function e4(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function e6(e,t){if(e.stopped=!0,t.location){let n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){let n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function e9(e,t){e._err(t,m.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,E.QUIRKS),e.insertionMode=O.BEFORE_HTML,e._processToken(t)}function e8(e,t){e._insertFakeRootElement(),e.insertionMode=O.BEFORE_HEAD,e._processToken(t)}function e7(e,t){e._insertFakeElement(v.HEAD,T.HEAD),e.headElement=e.openElements.current,e.insertionMode=O.IN_HEAD,e._processToken(t)}function te(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.TITLE:e._switchToTextParsing(t,eg.RCDATA);break;case T.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,eg.RAWTEXT):(e._insertElement(t,b.HTML),e.insertionMode=O.IN_HEAD_NO_SCRIPT);break;case T.NOFRAMES:case T.STYLE:e._switchToTextParsing(t,eg.RAWTEXT);break;case T.SCRIPT:e._switchToTextParsing(t,eg.SCRIPT_DATA);break;case T.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=O.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(O.IN_TEMPLATE);break;case T.HEAD:e._err(t,m.misplacedStartTagForHeadElement);break;default:tn(e,t)}}function tt(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==T.TEMPLATE&&e._err(t,m.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,m.endTagWithoutMatchingOpenElement)}function tn(e,t){e.openElements.pop(),e.insertionMode=O.AFTER_HEAD,e._processToken(t)}function tr(e,t){let n=t.type===g.EOF?m.openElementsLeftAfterEof:m.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=O.IN_HEAD,e._processToken(t)}function ta(e,t){e._insertFakeElement(v.BODY,T.BODY),e.insertionMode=O.IN_BODY,ti(e,t)}function ti(e,t){switch(t.type){case g.CHARACTER:ts(e,t);break;case g.WHITESPACE_CHARACTER:to(e,t);break;case g.COMMENT:e4(e,t);break;case g.START_TAG:tp(e,t);break;case g.END_TAG:th(e,t);break;case g.EOF:tm(e,t)}}function to(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function ts(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function tl(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function tc(e){let t=el(e,y.TYPE);return null!=t&&"hidden"===t.toLowerCase()}function tu(e,t){e._switchToTextParsing(t,eg.RAWTEXT)}function td(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML)}function tp(e,t){switch(t.tagID){case T.I:case T.S:case T.B:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.SMALL:case T.STRIKE:case T.STRONG:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case T.A:!function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(v.A);n&&(e5(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),eh(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,b.HTML);break;case T.P:case T.DL:case T.OL:case T.UL:case T.DIV:case T.DIR:case T.NAV:case T.MAIN:case T.MENU:case T.ASIDE:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.DETAILS:case T.ADDRESS:case T.ARTICLE:case T.SECTION:case T.SUMMARY:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML);break;case T.LI:case T.DD:case T.DT:!function(e,t){e.framesetOk=!1;let n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let r=e.openElements.tagIDs[t];if(n===T.LI&&r===T.LI||(n===T.DD||n===T.DT)&&(r===T.DD||r===T.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==T.ADDRESS&&r!==T.DIV&&r!==T.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML)}(e,t);break;case T.BR:case T.IMG:case T.WBR:case T.AREA:case T.EMBED:case T.KEYGEN:tl(e,t);break;case T.HR:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0;break;case T.RB:case T.RTC:e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,b.HTML);break;case T.RT:case T.RP:e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(T.RTC),e._insertElement(t,b.HTML);break;case T.PRE:case T.LISTING:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.framesetOk=!1;break;case T.XMP:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,eg.RAWTEXT);break;case T.SVG:e._reconstructActiveFormattingElements(),eQ(t),eJ(t),t.selfClosing?e._appendElement(t,b.SVG):e._insertElement(t,b.SVG),t.ackSelfClosing=!0;break;case T.HTML:0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs);break;case T.BASE:case T.LINK:case T.META:case T.STYLE:case T.TITLE:case T.SCRIPT:case T.BGSOUND:case T.BASEFONT:case T.TEMPLATE:te(e,t);break;case T.BODY:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t);break;case T.FORM:!function(e,t){let n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),n||(e.formElement=e.openElements.current))}(e,t);break;case T.NOBR:e._reconstructActiveFormattingElements(),e.openElements.hasInScope(T.NOBR)&&(e5(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case T.MATH:e._reconstructActiveFormattingElements(),eX(t),eJ(t),t.selfClosing?e._appendElement(t,b.MATHML):e._insertElement(t,b.MATHML),t.ackSelfClosing=!0;break;case T.TABLE:e.treeAdapter.getDocumentMode(e.document)!==E.QUIRKS&&e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=O.IN_TABLE;break;case T.INPUT:e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),tc(t)||(e.framesetOk=!1),t.ackSelfClosing=!0;break;case T.PARAM:case T.TRACK:case T.SOURCE:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.IMAGE:t.tagName=v.IMG,t.tagID=T.IMG,tl(e,t);break;case T.BUTTON:e.openElements.hasInScope(T.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1;break;case T.APPLET:case T.OBJECT:case T.MARQUEE:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1;break;case T.IFRAME:e.framesetOk=!1,e._switchToTextParsing(t,eg.RAWTEXT);break;case T.SELECT:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===O.IN_TABLE||e.insertionMode===O.IN_CAPTION||e.insertionMode===O.IN_TABLE_BODY||e.insertionMode===O.IN_ROW||e.insertionMode===O.IN_CELL?O.IN_SELECT_IN_TABLE:O.IN_SELECT;break;case T.OPTION:case T.OPTGROUP:e.openElements.currentTagId===T.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML);break;case T.NOEMBED:tu(e,t);break;case T.FRAMESET:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_FRAMESET)}(e,t);break;case T.TEXTAREA:e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.tokenizer.state=eg.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=O.TEXT;break;case T.NOSCRIPT:e.options.scriptingEnabled?tu(e,t):td(e,t);break;case T.PLAINTEXT:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.tokenizer.state=eg.PLAINTEXT;break;case T.COL:case T.TH:case T.TD:case T.TR:case T.HEAD:case T.FRAME:case T.TBODY:case T.TFOOT:case T.THEAD:case T.CAPTION:case T.COLGROUP:break;default:td(e,t)}}function tf(e,t){let n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let a=e.openElements.items[t],i=e.openElements.tagIDs[t];if(r===i&&(r!==T.UNKNOWN||e.treeAdapter.getTagName(a)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(a,i))break}}function th(e,t){switch(t.tagID){case T.A:case T.B:case T.I:case T.S:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.NOBR:case T.SMALL:case T.STRIKE:case T.STRONG:e5(e,t);break;case T.P:e.openElements.hasInButtonScope(T.P)||e._insertFakeElement(v.P,T.P),e._closePElement();break;case T.DL:case T.UL:case T.OL:case T.DIR:case T.DIV:case T.NAV:case T.PRE:case T.MAIN:case T.MENU:case T.ASIDE:case T.BUTTON:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.ADDRESS:case T.ARTICLE:case T.DETAILS:case T.SECTION:case T.SUMMARY:case T.LISTING:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case T.LI:e.openElements.hasInListItemScope(T.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(T.LI),e.openElements.popUntilTagNamePopped(T.LI));break;case T.DD:case T.DT:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped());break;case T.BR:e._reconstructActiveFormattingElements(),e._insertFakeElement(v.BR,T.BR),e.openElements.pop(),e.framesetOk=!1;break;case T.BODY:!function(e,t){if(e.openElements.hasInScope(T.BODY)&&(e.insertionMode=O.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}(e,t);break;case T.HTML:e.openElements.hasInScope(T.BODY)&&(e.insertionMode=O.AFTER_BODY,tL(e,t));break;case T.FORM:!function(e){let t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(T.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(T.FORM):n&&e.openElements.remove(n))}(e);break;case T.APPLET:case T.OBJECT:case T.MARQUEE:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}(e,t);break;case T.TEMPLATE:tt(e,t);break;default:tf(e,t)}}function tm(e,t){e.tmplInsertionModeStack.length>0?tN(e,t):e6(e,t)}function tg(e,t){if(e1.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=O.IN_TABLE_TEXT,t.type){case g.CHARACTER:tT(e,t);break;case g.WHITESPACE_CHARACTER:tv(e,t)}else tE(e,t)}function tb(e,t){switch(t.tagID){case T.TD:case T.TH:case T.TR:e.openElements.clearBackToTableContext(),e._insertFakeElement(v.TBODY,T.TBODY),e.insertionMode=O.IN_TABLE_BODY,tk(e,t);break;case T.STYLE:case T.SCRIPT:case T.TEMPLATE:te(e,t);break;case T.COL:e.openElements.clearBackToTableContext(),e._insertFakeElement(v.COLGROUP,T.COLGROUP),e.insertionMode=O.IN_COLUMN_GROUP,tO(e,t);break;case T.FORM:e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,b.HTML),e.formElement=e.openElements.current,e.openElements.pop());break;case T.TABLE:e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode(),e._processStartTag(t));break;case T.TBODY:case T.TFOOT:case T.THEAD:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_TABLE_BODY;break;case T.INPUT:tc(t)?e._appendElement(t,b.HTML):tE(e,t),t.ackSelfClosing=!0;break;case T.CAPTION:e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_CAPTION;break;case T.COLGROUP:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_COLUMN_GROUP;break;default:tE(e,t)}}function ty(e,t){switch(t.tagID){case T.TABLE:e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode());break;case T.TEMPLATE:tt(e,t);break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:tE(e,t)}}function tE(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,ti(e,t),e.fosterParentingEnabled=n}function tv(e,t){e.pendingCharacterTokens.push(t)}function tT(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function tS(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0&&e.openElements.currentTagId===T.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===T.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===T.OPTGROUP&&e.openElements.pop();break;case T.OPTION:e.openElements.currentTagId===T.OPTION&&e.openElements.pop();break;case T.SELECT:e.openElements.hasInSelectScope(T.SELECT)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode());break;case T.TEMPLATE:tt(e,t)}}function tN(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):e6(e,t)}function tL(e,t){var n;if(t.tagID===T.HTML){if(e.fragmentContext||(e.insertionMode=O.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===T.HTML){e._setEndLocation(e.openElements.items[0],t);let r=e.openElements.items[1];!r||(null===(n=e.treeAdapter.getNodeSourceCodeLocation(r))||void 0===n?void 0:n.endTag)||e._setEndLocation(r,t)}}else tD(e,t)}function tD(e,t){e.insertionMode=O.IN_BODY,ti(e,t)}function tP(e,t){e.insertionMode=O.IN_BODY,ti(e,t)}function tM(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==b.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}n(43470),v.AREA,v.BASE,v.BASEFONT,v.BGSOUND,v.BR,v.COL,v.EMBED,v.FRAME,v.HR,v.IMG,v.INPUT,v.KEYGEN,v.LINK,v.META,v.PARAM,v.SOURCE,v.TRACK,v.WBR;var tF=n(3980),tB=n(21623);let tj=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),tU={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function tG(e,t){let n=function(e){let t="root"===e.type?e.children[0]:e;return!!(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName.toLowerCase()))}(e),r=q("type",{handlers:{root:t$,element:tz,text:tZ,comment:tV,doctype:tW,raw:tY},unknown:tq}),a={parser:n?new e3(tU):e3.getFragmentParser(void 0,tU),handle(e){r(e,a)},stitches:!1,options:t||{}};r(e,a),tK(a,(0,tF.Pk)());let i=n?a.parser.document:a.parser.getFragment(),o=function(e,t){let n=t||{};return $({file:n.file||void 0,location:!1,schema:"svg"===n.space?x.YP:x.dy,verbose:n.verbose||!1},e)}(i,{file:a.options.file});return(a.stitches&&(0,tB.Vn)(o,"comment",function(e,t,n){if(e.value.stitch&&n&&void 0!==t){let r=n.children;return r[t]=e.value.stitch,t}}),"root"===o.type&&1===o.children.length&&o.children[0].type===e.type)?o.children[0]:o}function tH(e,t){let n=-1;if(e)for(;++n4&&(t.parser.tokenizer.state=0);let n={type:g.CHARACTER,chars:e.value,location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tW(e,t){let n={type:g.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tV(e,t){let n=e.value,r={type:g.COMMENT,data:n,location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function tY(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,tX(t,(0,tF.Pk)(e)),t.parser.tokenizer.write(e.value,!1),t.parser.tokenizer._runParsingLoop(),72===t.parser.tokenizer.state||78===t.parser.tokenizer.state){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;let e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function tq(e,t){if(t.options.passThrough&&t.options.passThrough.includes(e.type))!function(e,t){t.stitches=!0;let n="children"in e?(0,_.ZP)({...e,children:[]}):(0,_.ZP)(e);if("children"in e&&"children"in n){let r=tG({type:"root",children:e.children},t.options);n.children=r.children}tV({type:"comment",value:{stitch:n}},t)}(e,t);else{let t="";throw tj.has(e.type)&&(t=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),Error("Cannot compile `"+e.type+"` node"+t)}}function tK(e,t){tX(e,t);let n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=eg.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function tX(e,t){if(t&&void 0!==t.offset){let n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function tQ(e){let t=(0,tF.Pk)(e)||{line:void 0,column:void 0,offset:void 0},n=(0,tF.rb)(e)||{line:void 0,column:void 0,offset:void 0},r={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset};return r}function tJ(e){return function(t,n){let r=tG(t,{...e,file:n});return r}}},78600:function(e,t,n){"use strict";function r(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,a=n.indexOf(t);for(;-1!==a;)r++,a=n.indexOf(t,a+t.length);return r}n.d(t,{Z:function(){return eQ}});var a=n(24345),i=n(15459),o=n(88718),s=n(96093);let l="phrasing",c=["autolink","link","image","label"];function u(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function d(e){this.config.enter.autolinkProtocol.call(this,e)}function p(e){this.config.exit.autolinkProtocol.call(this,e)}function f(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];(0,a.ok)("link"===t.type),t.url="http://"+this.sliceSerialize(e)}function h(e){this.config.exit.autolinkEmail.call(this,e)}function m(e){this.exit(e)}function g(e){!function(e,t,n){let r=(0,s.O)((n||{}).ignore||[]),a=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r0?{type:"text",value:i}:void 0),!1===i?r.lastIndex=n+1:(s!==n&&d.push({type:"text",value:e.value.slice(s,n)}),Array.isArray(i)?d.push(...i):i&&d.push(i),s=n+p[0].length,u=!0),!r.global)break;p=r.exec(e.value)}return u?(s?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],a=n.indexOf(")"),i=r(e,"("),o=r(e,")");for(;-1!==a&&i>o;)e+=n.slice(0,a+1),a=(n=n.slice(a+1)).indexOf(")"),o++;return[e,n]}(n+a);if(!s[0])return!1;let l={type:"link",title:null,url:o+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[l,{type:"text",value:s[1]}]:l}function y(e,t,n,r){return!(!E(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function E(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||(0,i.B8)(n)||(0,i.Xh)(n))&&(!t||47!==n)}var v=n(11098);function T(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function S(){this.buffer()}function A(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteDefinition"===n.type),n.label=t,n.identifier=(0,v.d)(this.sliceSerialize(e)).toLowerCase()}function O(e){this.exit(e)}function _(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function k(){this.buffer()}function x(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteReference"===n.type),n.label=t,n.identifier=(0,v.d)(this.sliceSerialize(e)).toLowerCase()}function C(e){this.exit(e)}function w(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteReference"),s=n.enter("reference");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),o(),i+=a.move("]")}function I(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteDefinition"),s=n.enter("label");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),i+=a.move("]:"+(e.children&&e.children.length>0?" ":"")),a.shift(4),i+=a.move(n.indentLines(n.containerFlow(e,a.current()),R)),o(),i}function R(e,t,n){return 0===t?e:(n?"":" ")+e}w.peek=function(){return"["};let N=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function L(e){this.enter({type:"delete",children:[]},e)}function D(e){this.exit(e)}function P(e,t,n,r){let a=n.createTracker(r),i=n.enter("strikethrough"),o=a.move("~~");return o+=n.containerPhrasing(e,{...a.current(),before:o,after:"~"})+a.move("~~"),i(),o}function M(e){return e.length}function F(e){let t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function B(e,t,n){return">"+(n?"":" ")+e}function j(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),c+=l.move(")"),o(),c}function q(e,t,n,r){let a=e.referenceType,i=n.enter("imageReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("!["),c=n.safe(e.alt,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function K(e,t,n){let r=e.value||"",a="`",i=-1;for(;RegExp("(^|[^`])"+a+"([^`]|$)").test(r);)a+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i\u007F]/.test(e.url))}function Q(e,t,n,r){let a,i;let o=$(n),s='"'===o?"Quote":"Apostrophe",l=n.createTracker(r);if(X(e,n)){let t=n.stack;n.stack=[],a=n.enter("autolink");let r=l.move("<");return r+=l.move(n.containerPhrasing(e,{before:r,after:">",...l.current()}))+l.move(">"),a(),n.stack=t,r}a=n.enter("link"),i=n.enter("label");let c=l.move("[");return c+=l.move(n.containerPhrasing(e,{before:c,after:"](",...l.current()}))+l.move("]("),i(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(i=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(i=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),i(),e.title&&(i=n.enter(`title${s}`),c+=l.move(" "+o),c+=l.move(n.safe(e.title,{before:c,after:o,...l.current()}))+l.move(o),i()),c+=l.move(")"),a(),c}function J(e,t,n,r){let a=e.referenceType,i=n.enter("linkReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("["),c=n.containerPhrasing(e,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function ee(e){let t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function et(e){let t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}V.peek=function(){return"<"},Y.peek=function(){return"!"},q.peek=function(){return"!"},K.peek=function(){return"`"},Q.peek=function(e,t,n){return X(e,n)?"<":"["},J.peek=function(){return"["};let en=(0,s.O)(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function er(e,t,n,r){let a=function(e){let t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(n),i=n.enter("strong"),o=n.createTracker(r),s=o.move(a+a);return s+=o.move(n.containerPhrasing(e,{before:s,after:a,...o.current()}))+o.move(a+a),i(),s}er.peek=function(e,t,n){return n.options.strong||"*"};let ea={blockquote:function(e,t,n,r){let a=n.enter("blockquote"),i=n.createTracker(r);i.move("> "),i.shift(2);let o=n.indentLines(n.containerFlow(e,i.current()),B);return a(),o},break:U,code:function(e,t,n,r){let a=function(e){let t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),i=e.value||"",o="`"===a?"GraveAccent":"Tilde";if(!1===n.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value)){let e=n.enter("codeIndented"),t=n.indentLines(i,H);return e(),t}let s=n.createTracker(r),l=a.repeat(Math.max((0,G.J)(i,a)+1,3)),c=n.enter("codeFenced"),u=s.move(l);if(e.lang){let t=n.enter(`codeFencedLang${o}`);u+=s.move(n.safe(e.lang,{before:u,after:" ",encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${o}`);u+=s.move(" "),u+=s.move(n.safe(e.meta,{before:u,after:"\n",encode:["`"],...s.current()})),t()}return u+=s.move("\n"),i&&(u+=s.move(i+"\n")),u+=s.move(l),c(),u},definition:function(e,t,n,r){let a=$(n),i='"'===a?"Quote":"Apostrophe",o=n.enter("definition"),s=n.enter("label"),l=n.createTracker(r),c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()}))+l.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":"\n",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),o(),c},emphasis:z,hardBreak:U,heading:function(e,t,n,r){let a;let i=Math.max(Math.min(6,e.depth||1),1),s=n.createTracker(r);if(a=!1,(0,Z.Vn)(e,function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return a=!0,o.BK}),(!e.depth||e.depth<3)&&(0,W.B)(e)&&(n.options.setext||a)){let t=n.enter("headingSetext"),r=n.enter("phrasing"),a=n.containerPhrasing(e,{...s.current(),before:"\n",after:"\n"});return r(),t(),a+"\n"+(1===i?"=":"-").repeat(a.length-(Math.max(a.lastIndexOf("\r"),a.lastIndexOf("\n"))+1))}let l="#".repeat(i),c=n.enter("headingAtx"),u=n.enter("phrasing");s.move(l+" ");let d=n.containerPhrasing(e,{before:"# ",after:"\n",...s.current()});return/^[\t ]/.test(d)&&(d="&#x"+d.charCodeAt(0).toString(16).toUpperCase()+";"+d.slice(1)),d=d?l+" "+d:l,n.options.closeAtx&&(d+=" "+l),u(),c(),d},html:V,image:Y,imageReference:q,inlineCode:K,link:Q,linkReference:J,list:function(e,t,n,r){let a=n.enter("list"),i=n.bulletCurrent,o=e.ordered?function(e){let t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):ee(n),s=e.ordered?"."===o?")":".":function(e){let t=ee(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n),l=!!t&&!!n.bulletLastUsed&&o===n.bulletLastUsed;if(!e.ordered){let t=e.children?e.children[0]:void 0;if("*"!==o&&"-"!==o||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(l=!0),et(n)===o&&t){let t=-1;for(;++t-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+i);let o=i.length+1;("tab"===a||"mixed"===a&&(t&&"list"===t.type&&t.spread||e.spread))&&(o=4*Math.ceil(o/4));let s=n.createTracker(r);s.move(i+" ".repeat(o-i.length)),s.shift(o);let l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),function(e,t,n){return t?(n?"":" ".repeat(o))+e:(n?i:i+" ".repeat(o-i.length))+e});return l(),c},paragraph:function(e,t,n,r){let a=n.enter("paragraph"),i=n.enter("phrasing"),o=n.containerPhrasing(e,r);return i(),a(),o},root:function(e,t,n,r){let a=e.children.some(function(e){return en(e)}),i=a?n.containerPhrasing:n.containerFlow;return i.call(n,e,r)},strong:er,text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){let r=(et(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}};function ei(e){let t=e._align;(0,a.ok)(t,"expected `_align` on table"),this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function eo(e){this.exit(e),this.data.inTable=void 0}function es(e){this.enter({type:"tableRow",children:[]},e)}function el(e){this.exit(e)}function ec(e){this.enter({type:"tableCell",children:[]},e)}function eu(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,ed));let n=this.stack[this.stack.length-1];(0,a.ok)("inlineCode"===n.type),n.value=t,this.exit(e)}function ed(e,t){return"|"===t?t:e}function ep(e){let t=this.stack[this.stack.length-2];(0,a.ok)("listItem"===t.type),t.checked="taskListCheckValueChecked"===e.type}function ef(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1];(0,a.ok)("paragraph"===e.type);let n=e.children[0];if(n&&"text"===n.type){let r;let a=t.children,i=-1;for(;++i0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}eO[43]=eA,eO[45]=eA,eO[46]=eA,eO[95]=eA,eO[72]=[eA,eS],eO[104]=[eA,eS],eO[87]=[eA,eT],eO[119]=[eA,eT];var eR=n(23402),eN=n(42761);let eL={tokenize:function(e,t,n){let r=this;return(0,eN.f)(e,function(e){let a=r.events[r.events.length-1];return a&&"gfmFootnoteDefinitionIndent"===a[1].type&&4===a[2].sliceSerialize(a[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function eD(e,t,n){let r;let a=this,i=a.events.length,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);for(;i--;){let e=a.events[i][1];if("labelImage"===e.type){r=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(i){if(!r||!r._balanced)return n(i);let s=(0,v.d)(a.sliceSerialize({start:r.end,end:a.now()}));return 94===s.codePointAt(0)&&o.includes(s.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(i),e.exit("gfmFootnoteCallLabelMarker"),t(i)):n(i)}}function eP(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;let i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",a,t],["exit",a,t],["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function eM(e,t,n){let r;let a=this,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),s=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),l};function l(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(l){if(s>999||93===l&&!r||null===l||91===l||(0,i.z3)(l))return n(l);if(93===l){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return o.includes((0,v.d)(a.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(l)}return(0,i.z3)(l)||(r=!0),s++,e.consume(l),92===l?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function eF(e,t,n){let r,a;let o=this,s=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]),l=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(t)}function u(t){if(l>999||93===t&&!a||null===t||91===t||(0,i.z3)(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return r=(0,v.d)(o.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return(0,i.z3)(t)||(a=!0),l++,e.consume(t),92===t?d:u}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}function p(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s.includes(r)||s.push(r),(0,eN.f)(e,f,"gfmFootnoteDefinitionWhitespace")):n(t)}function f(e){return t(e)}}function eB(e,t,n){return e.check(eR.w,t,e.attempt(eL,t,n))}function ej(e){e.exit("gfmFootnoteDefinition")}var eU=n(21905),eG=n(62987),eH=n(63233);class e${constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let a=0;if(0!==n||0!==r.length){for(;a0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function ez(e,t,n){let r;let a=this,o=0,s=0;return function(e){let t=a.events.length-1;for(;t>-1;){let e=a.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let r=t>-1?a.events[t][1].type:null,i="tableHead"===r||"tableRow"===r?E:l;return i===E&&a.parser.lazy[a.now().line]?n(e):i(e)};function l(t){return e.enter("tableHead"),e.enter("tableRow"),124===t||(r=!0,s+=1),c(t)}function c(t){return null===t?n(t):(0,i.Ch)(t)?s>1?(s=0,a.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p):n(t):(0,i.xz)(t)?(0,eN.f)(e,c,"whitespace")(t):(s+=1,r&&(r=!1,o+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,c):(e.enter("data"),u(t))}function u(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),c(t)):(e.consume(t),92===t?d:u)}function d(t){return 92===t||124===t?(e.consume(t),u):u(t)}function p(t){return(a.interrupt=!1,a.parser.lazy[a.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,(0,i.xz)(t))?(0,eN.f)(e,f,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):f(t)}function f(t){return 45===t||58===t?m(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),h):n(t)}function h(t){return(0,i.xz)(t)?(0,eN.f)(e,m,"whitespace")(t):m(t)}function m(t){return 58===t?(s+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),g):45===t?(s+=1,g(t)):null===t||(0,i.Ch)(t)?y(t):n(t)}function g(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),b):(e.exit("tableDelimiterFiller"),b(n))}(t)):n(t)}function b(t){return(0,i.xz)(t)?(0,eN.f)(e,y,"whitespace")(t):y(t)}function y(a){return 124===a?f(a):null===a||(0,i.Ch)(a)?r&&o===s?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(a)):n(a):n(a)}function E(t){return e.enter("tableRow"),v(t)}function v(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),v):null===n||(0,i.Ch)(n)?(e.exit("tableRow"),t(n)):(0,i.xz)(n)?(0,eN.f)(e,v,"whitespace")(n):(e.enter("data"),T(n))}function T(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),v(t)):(e.consume(t),92===t?S:T)}function S(t){return 92===t||124===t?(e.consume(t),T):T(t)}}function eZ(e,t){let n,r,a,i=-1,o=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,d=0,p=new e$;for(;++in[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",o,t]])}return void 0!==a&&(i.end=Object.assign({},eY(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function eV(e,t,n,r,a){let i=[],o=eY(t.events,n);a&&(a.end=Object.assign({},o),i.push(["exit",a,t])),r.end=Object.assign({},o),i.push(["exit",r,t]),e.add(n+1,0,i)}function eY(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}let eq={name:"tasklistCheck",tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),a):n(t)};function a(t){return(0,i.z3)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(t)}function s(r){return(0,i.Ch)(r)?t(r):(0,i.xz)(r)?e.check({tokenize:eK},t,n)(r):n(r)}}};function eK(e,t,n){return(0,eN.f)(e,function(e){return null===e?n(e):t(e)},"whitespace")}let eX={};function eQ(e){let t=e||eX,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),i=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push((0,em.W)([{text:eO},{document:{91:{name:"gfmFootnoteDefinition",tokenize:eF,continuation:{tokenize:eB},exit:ej}},text:{91:{name:"gfmFootnoteCall",tokenize:eM},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:eD,resolveTo:eP}}},function(e){let t=(e||{}).singleTilde,n={name:"strikethrough",tokenize:function(e,n,r){let a=this.previous,i=this.events,o=0;return function(s){return 126===a&&"characterEscape"!==i[i.length-1][1].type?r(s):(e.enter("strikethroughSequenceTemporary"),function i(s){let l=(0,eG.r)(a);if(126===s)return o>1?r(s):(e.consume(s),o++,i);if(o<2&&!t)return r(s);let c=e.exit("strikethroughSequenceTemporary"),u=(0,eG.r)(s);return c._open=!u||2===u&&!!l,c._close=!l||2===l&&!!u,n(s)}(s))}},resolveAll:function(e,t){let n=-1;for(;++nl&&(l=e[c].length);++ds[d])&&(s[d]=e)}n.push(i)}i[c]=n,o[c]=a}let d=-1;if("object"==typeof n&&"length"in n)for(;++ds[d]&&(s[d]=i),f[d]=i),p[d]=o}i.splice(1,0,p),o.splice(1,0,f),c=-1;let h=[];for(;++c","Iacute":"\xcd","Icirc":"\xce","Igrave":"\xcc","Iuml":"\xcf","LT":"<","Ntilde":"\xd1","Oacute":"\xd3","Ocirc":"\xd4","Ograve":"\xd2","Oslash":"\xd8","Otilde":"\xd5","Ouml":"\xd6","QUOT":"\\"","REG":"\xae","THORN":"\xde","Uacute":"\xda","Ucirc":"\xdb","Ugrave":"\xd9","Uuml":"\xdc","Yacute":"\xdd","aacute":"\xe1","acirc":"\xe2","acute":"\xb4","aelig":"\xe6","agrave":"\xe0","amp":"&","aring":"\xe5","atilde":"\xe3","auml":"\xe4","brvbar":"\xa6","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","eacute":"\xe9","ecirc":"\xea","egrave":"\xe8","eth":"\xf0","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","iacute":"\xed","icirc":"\xee","iexcl":"\xa1","igrave":"\xec","iquest":"\xbf","iuml":"\xef","laquo":"\xab","lt":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","ntilde":"\xf1","oacute":"\xf3","ocirc":"\xf4","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","oslash":"\xf8","otilde":"\xf5","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","raquo":"\xbb","reg":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","thorn":"\xfe","times":"\xd7","uacute":"\xfa","ucirc":"\xfb","ugrave":"\xf9","uml":"\xa8","uuml":"\xfc","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')}},function(e){e.O(0,[3662,7034,6106,8674,3166,2837,2168,8163,1265,7728,2913,3791,5278,9859,4330,4041,8791,5030,5418,2783,3457,1300,4567,2398,2480,7410,7124,9773,4035,1154,2510,3345,9202,1585,7249,3768,5789,9774,2888,179],function(){return e(e.s=15531)}),_N_E=e.O()}]); \ No newline at end of file + */var r=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},a={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=u.reach));S+=T.value.length,T=T.next){var A,O=T.value;if(n.length>t.length)return;if(!(O instanceof i)){var _=1;if(b){if(!(A=o(v,S,t,g))||A.index>=t.length)break;var k=A.index,x=A.index+A[0].length,C=S;for(C+=T.value.length;k>=C;)C+=(T=T.next).value.length;if(C-=T.value.length,S=C,T.value instanceof i)continue;for(var w=T;w!==n.tail&&(Cu.reach&&(u.reach=L);var D=T.prev;R&&(D=l(n,D,R),S+=R.length),function(e,t,n){for(var r=t.next,a=0;a1){var M={cause:d+","+f,reach:L};e(t,n,r,T.prev,S,M),u&&M.reach>u.reach&&(u.reach=M.reach)}}}}}}(e,c,t,c.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(c)},hooks:{all:{},add:function(e,t){var n=a.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=a.hooks.all[e];if(n&&n.length)for(var r,i=0;r=n[i++];)r(t)}},Token:i};function i(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var i=a[1].length;a.index+=i,a[0]=a[0].slice(i)}return a}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}if(e.Prism=a,i.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach(function(t){r+=e(t,n)}),r}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},o=t.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(i.classes,o):i.classes.push(o)),a.hooks.run("wrap",i);var s="";for(var l in i.attributes)s+=" "+l+'="'+(i.attributes[l]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+s+">"+i.content+""},!e.document)return e.addEventListener&&(a.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),r=n.language,i=n.code,o=n.immediateClose;e.postMessage(a.highlight(i,a.languages[r],r)),o&&e.close()},!1)),a;var c=a.util.currentScript();function u(){a.manual||a.highlightAll()}if(c&&(a.filename=c.src,c.hasAttribute("data-manual")&&(a.manual=!0)),!a.manual){var d=document.readyState;"loading"===d||"interactive"===d&&c&&c.defer?document.addEventListener("DOMContentLoaded",u):window.requestAnimationFrame?window.requestAnimationFrame(u):window.setTimeout(u,16)}return a}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=r),void 0!==n.g&&(n.g.Prism=r)},96774:function(e){e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),o=Object.keys(t);if(i.length!==o.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;le.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}},88998:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(95778);function a(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},13643:function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,{Z:function(){return r}})},98568:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)}n.d(t,{Z:function(){return a}})},99660:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(88998);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var l=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(l&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;C(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:I(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),b}},t}},55054:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59312);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw a}}return s}}(e,t)||(0,r.Z)(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},27567:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(13643);function a(){return(a="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var a=function(e,t){for(;!({}).hasOwnProperty.call(e,t)&&null!==(e=(0,r.Z)(e)););return e}(e,t);if(a){var i=Object.getOwnPropertyDescriptor(a,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}}).apply(null,arguments)}function i(e,t,n,i){var o=a((0,r.Z)(1&i?e.prototype:e),t,n);return 2&i&&"function"==typeof o?function(e){return o.apply(n,e)}:o}},25585:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(59630),a=n(59312);function i(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,a.Z)(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},95778:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(2846);function a(e){var t=function(e,t){if("object"!=(0,r.Z)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=(0,r.Z)(a))return a;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.Z)(t)?t:t+""}},2846:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{Z:function(){return r}})},59312:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59630);function a(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},21129:function(e,t,n){"use strict";var r=n(4503);t.Z=r},86676:function(e,t,n){"use strict";n.d(t,{r:function(){return a}});let r=/[#.]/g;function a(e,t){let n,a;let i=e||"",o={},s=0;for(;so&&(o=i):i=1,a=r+t.length,r=n.indexOf(t,a);return o}n.d(t,{J:function(){return r}})},24557:function(e,t,n){"use strict";n.d(t,{Z:function(){return ed}});var r={};n.r(r),n.d(r,{boolean:function(){return c},booleanish:function(){return u},commaOrSpaceSeparated:function(){return m},commaSeparated:function(){return h},number:function(){return p},overloadedBoolean:function(){return d},spaceSeparated:function(){return f}});class a{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function i(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new a(n,r,t)}function o(e){return e.toLowerCase()}a.prototype.normal={},a.prototype.property={},a.prototype.space=void 0;class s{constructor(e,t){this.attribute=t,this.property=e}}s.prototype.attribute="",s.prototype.booleanish=!1,s.prototype.boolean=!1,s.prototype.commaOrSpaceSeparated=!1,s.prototype.commaSeparated=!1,s.prototype.defined=!1,s.prototype.mustUseProperty=!1,s.prototype.number=!1,s.prototype.overloadedBoolean=!1,s.prototype.property="",s.prototype.spaceSeparated=!1,s.prototype.space=void 0;let l=0,c=g(),u=g(),d=g(),p=g(),f=g(),h=g(),m=g();function g(){return 2**++l}let b=Object.keys(r);class y extends s{constructor(e,t,n,a){var i,o;let s=-1;if(super(e,t),a&&(this.space=a),"number"==typeof n)for(;++s"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function T(e,t){return t in e?e[t]:t}function S(e,t){return T(e,t.toLowerCase())}let A=E({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:h,acceptCharset:f,accessKey:f,action:null,allow:null,allowFullScreen:c,allowPaymentRequest:c,allowUserMedia:c,alt:null,as:null,async:c,autoCapitalize:null,autoComplete:f,autoFocus:c,autoPlay:c,blocking:f,capture:null,charSet:null,checked:c,cite:null,className:f,cols:p,colSpan:null,content:null,contentEditable:u,controls:c,controlsList:f,coords:p|h,crossOrigin:null,data:null,dateTime:null,decoding:null,default:c,defer:c,dir:null,dirName:null,disabled:c,download:d,draggable:u,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:c,formTarget:null,headers:f,height:p,hidden:c,high:p,href:null,hrefLang:null,htmlFor:f,httpEquiv:f,id:null,imageSizes:null,imageSrcSet:null,inert:c,inputMode:null,integrity:null,is:null,isMap:c,itemId:null,itemProp:f,itemRef:f,itemScope:c,itemType:f,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:c,low:p,manifest:null,max:null,maxLength:p,media:null,method:null,min:null,minLength:p,multiple:c,muted:c,name:null,nonce:null,noModule:c,noValidate:c,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored: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,onScrollEnd: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:c,optimum:p,pattern:null,ping:f,placeholder:null,playsInline:c,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:c,referrerPolicy:null,rel:f,required:c,reversed:c,rows:p,rowSpan:p,sandbox:f,scope:null,scoped:c,seamless:c,selected:c,shadowRootClonable:c,shadowRootDelegatesFocus:c,shadowRootMode:null,shape:null,size:p,sizes:null,slot:null,span:p,spellCheck:u,src:null,srcDoc:null,srcLang:null,srcSet:null,start:p,step:null,style:null,tabIndex:p,target:null,title:null,translate:null,type:null,typeMustMatch:c,useMap:null,value:u,width:p,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:f,axis:null,background:null,bgColor:null,border:p,borderColor:null,bottomMargin:p,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:c,declare:c,event:null,face:null,frame:null,frameBorder:null,hSpace:p,leftMargin:p,link:null,longDesc:null,lowSrc:null,marginHeight:p,marginWidth:p,noResize:c,noHref:c,noShade:c,noWrap:c,object:null,profile:null,prompt:null,rev:null,rightMargin:p,rules:null,scheme:null,scrolling:u,standby:null,summary:null,text:null,topMargin:p,valueType:null,version:null,vAlign:null,vLink:null,vSpace:p,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:c,disableRemotePlayback:c,prefix:null,property:null,results:p,security:null,unselectable:null},space:"html",transform:S}),O=E({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:m,accentHeight:p,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:p,amplitude:p,arabicForm:null,ascent:p,attributeName:null,attributeType:null,azimuth:p,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:p,by:null,calcMode:null,capHeight:p,className:f,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:p,diffuseConstant:p,direction:null,display:null,dur:null,divisor:p,dominantBaseline:null,download:c,dx:null,dy:null,edgeMode:null,editable:null,elevation:p,enableBackground:null,end:null,event:null,exponent:p,externalResourcesRequired:null,fill:null,fillOpacity:p,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:h,g2:h,glyphName:h,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:p,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:p,horizOriginX:p,horizOriginY:p,id:null,ideographic:p,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:p,k:p,k1:p,k2:p,k3:p,k4:p,kernelMatrix:m,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:p,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:p,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose: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,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:p,overlineThickness:p,paintOrder:null,panose1:null,path:null,pathLength:p,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:f,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:p,pointsAtY:p,pointsAtZ:p,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:m,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:m,rev:m,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:m,requiredFeatures:m,requiredFonts:m,requiredFormats:m,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:p,specularExponent:p,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:p,strikethroughThickness:p,string:null,stroke:null,strokeDashArray:m,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:p,strokeOpacity:p,strokeWidth:null,style:null,surfaceScale:p,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:m,tabIndex:p,tableValues:null,target:null,targetX:p,targetY:p,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:m,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:p,underlineThickness:p,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:p,values:null,vAlphabetic:p,vMathematical:p,vectorEffect:null,vHanging:p,vIdeographic:p,version:null,vertAdvY:p,vertOriginX:p,vertOriginY:p,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:p,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:T}),_=E({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),k=E({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:S}),x=E({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),C=i([v,A,_,k,x],"html"),w=i([v,O,_,k,x],"svg");var I=n(25668),R=n(86676);let N=/[A-Z]/g,L=/-[a-z]/g,D=/^data[-\w.:]+$/i;function P(e){return"-"+e.toLowerCase()}function M(e){return e.charAt(1).toUpperCase()}var F=n(50342);function B(e,t,n){let r=n?function(e){let t=new Map;for(let n of e)t.set(n.toLowerCase(),n);return t}(n):void 0;return function(n,a,...i){let l;if(null==n)l={type:"root",children:[]},i.unshift(a);else{l=(0,R.r)(n,t);let c=l.tagName.toLowerCase(),u=r?r.get(c):void 0;if(l.tagName=u||c,function(e){if(null===e||"object"!=typeof e||Array.isArray(e))return!0;if("string"!=typeof e.type)return!1;let t=Object.keys(e);for(let n of t){let t=e[n];if(t&&"object"==typeof t){if(!Array.isArray(t))return!0;for(let e of t)if("number"!=typeof e&&"string"!=typeof e)return!0}}return!!("children"in e&&Array.isArray(e.children))}(a))i.unshift(a);else for(let[t,n]of Object.entries(a))!function(e,t,n,r){let a;let i=function(e,t){let n=o(t),r=t,a=s;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&D.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(L,M);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!L.test(e)){let n=e.replace(N,P);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}a=y}return new a(r,t)}(e,n);if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;a=r}else a="boolean"==typeof r?r:"string"==typeof r?i.spaceSeparated?(0,F.Q)(r):i.commaSeparated?(0,I.Q)(r):i.commaOrSpaceSeparated?(0,F.Q)((0,I.Q)(r).join(" ")):j(i,i.property,r):Array.isArray(r)?[...r]:"style"===i.property?function(e){let t=[];for(let[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}(r):String(r);if(Array.isArray(a)){let e=[];for(let t of a)e.push(j(i,i.property,t));a=e}"className"===i.property&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}(e,l.properties,t,n)}for(let e of i)!function e(t,n){if(null==n);else if("number"==typeof n||"string"==typeof n)t.push({type:"text",value:String(n)});else if(Array.isArray(n))for(let r of n)e(t,r);else if("object"==typeof n&&"type"in n)"root"===n.type?e(t,n.children):t.push(n);else throw Error("Expected node, nodes, or string, got `"+n+"`")}(l.children,e);return"element"===l.type&&"template"===l.tagName&&(l.content={type:"root",children:l.children},l.children=[]),l}}function j(e,t,n){if("string"==typeof n){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(""===n||o(n)===o(t)))return!0}return n}let U=B(C,"div"),G=B(w,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]);var H=n(49911);function $(e,t){let n=function(e,t){switch(e.nodeType){case 1:return function(e,t){let n=e.namespaceURI,r=n===H.t.svg?G:U,a=n===H.t.html?e.tagName.toLowerCase():e.tagName,i=n===H.t.html&&"template"===a?e.content:e,o=e.getAttributeNames(),s={},l=-1;for(;++ln&&(n=e):e&&(void 0!==n&&n>-1&&l.push("\n".repeat(n)||" "),n=-1,l.push(e))}return l.join("")}(d,{whitespace:"pre"});try{a=es.ZP.renderToString(p,{...t,displayMode:c,throwOnError:!0})}catch(o){let i=o.name.toLowerCase();n.message("Could not render math with KaTeX",{ancestors:[...r,e],cause:o,place:e.position,ruleId:i,source:"rehype-katex"});try{a=es.ZP.renderToString(p,{...t,displayMode:c,strict:"ignore",throwOnError:!1})}catch{a=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(o)},children:[{type:"text",value:p}]}]}}if("string"==typeof a){let e=function(e,t){let n=t?.fragment?function(e){let t=document.createElement("template");return t.innerHTML=e,t.content}(e):Z.parseFromString(e,"text/html");return $(n,{})||{type:"root",children:[]}}(a,{fragment:!0});a=e.children}let f=u.children.indexOf(d);return u.children.splice(f,1,...a),el.AM})}}},12384:function(e,t,n){"use strict";n.d(t,{Z:function(){return tJ}});var r,a,i,o,s,l,c,u,d,p,f,h,m,g,b,y,E,v,T,S,A,O,_=n(52835),k=n(24345),x=n(91634),C=n(25668),w=n(86676),I=n(26103),R=n(28051),N=n(50342);let L=new Set(["button","menu","reset","submit"]),D={}.hasOwnProperty;function P(e,t,n){let r=n&&function(e){let t={},n=-1;for(;++n1?n[e.line-2]:0)+e.column-1;if(r-1&&e<=t.length){let r=0;for(;;){let a=n[r];if(void 0===a){let e=j(t,n[r-1]);a=-1===e?t.length+1:e+1,n[r]=a}if(a>e)return{line:r+1,column:e-(r>0?n[r-1]:0)+1,offset:e};r++}}}}}(t),a=r.toPoint(0),i=r.toPoint(t.length);(0,k.ok)(a,"expected `start`"),(0,k.ok)(i,"expected `end`"),n.position={start:a,end:i}}return n}case"#documentType":return Z(e,t,n={type:"doctype"}),n;case"#text":return n={type:"text",value:t.value},Z(e,t,n),n;default:return function(e,t){let n=e.schema;e.schema=t.namespaceURI===U.t.svg?x.YP:x.dy;let r=-1,a={};for(;++r=55296&&e<=57343}function ei(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function eo(e){return e>=64976&&e<=65007||en.has(e)}(a=m=m||(m={})).controlCharacterInInputStream="control-character-in-input-stream",a.noncharacterInInputStream="noncharacter-in-input-stream",a.surrogateInInputStream="surrogate-in-input-stream",a.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",a.endTagWithAttributes="end-tag-with-attributes",a.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",a.unexpectedSolidusInTag="unexpected-solidus-in-tag",a.unexpectedNullCharacter="unexpected-null-character",a.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",a.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",a.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",a.missingEndTagName="missing-end-tag-name",a.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",a.unknownNamedCharacterReference="unknown-named-character-reference",a.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",a.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",a.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",a.eofBeforeTagName="eof-before-tag-name",a.eofInTag="eof-in-tag",a.missingAttributeValue="missing-attribute-value",a.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",a.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",a.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",a.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",a.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",a.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",a.missingDoctypePublicIdentifier="missing-doctype-public-identifier",a.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",a.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",a.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",a.cdataInHtmlContent="cdata-in-html-content",a.incorrectlyOpenedComment="incorrectly-opened-comment",a.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",a.eofInDoctype="eof-in-doctype",a.nestedComment="nested-comment",a.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",a.eofInComment="eof-in-comment",a.incorrectlyClosedComment="incorrectly-closed-comment",a.eofInCdata="eof-in-cdata",a.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",a.nullCharacterReference="null-character-reference",a.surrogateCharacterReference="surrogate-character-reference",a.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",a.controlCharacterReference="control-character-reference",a.noncharacterCharacterReference="noncharacter-character-reference",a.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",a.missingDoctypeName="missing-doctype-name",a.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",a.duplicateAttribute="duplicate-attribute",a.nonConformingDoctype="non-conforming-doctype",a.missingDoctype="missing-doctype",a.misplacedDoctype="misplaced-doctype",a.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",a.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",a.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",a.openElementsLeftAfterEof="open-elements-left-after-eof",a.abandonedHeadElementChild="abandoned-head-element-child",a.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",a.nestedNoscriptInHead="nested-noscript-in-head",a.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text";class es{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e){let{line:t,col:n,offset:r}=this;return{code:e,startLine:t,endLine:t,startCol:n,endCol:n,startOffset:r,endOffset:r}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let t=this.html.charCodeAt(this.pos+1);if(t>=56320&&t<=57343)return this.pos++,this._addGap(),(e-55296)*1024+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,h.EOF;return this._err(m.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,h.EOF;let n=this.html.charCodeAt(t);return n===h.CARRIAGE_RETURN?h.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,h.EOF;let e=this.html.charCodeAt(this.pos);if(e===h.CARRIAGE_RETURN)return this.isEol=!0,this.skipNextNewLine=!0,h.LINE_FEED;if(e===h.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine))return this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance();this.skipNextNewLine=!1,ea(e)&&(e=this._processSurrogate(e));let t=null===this.handler.onParseError||e>31&&e<127||e===h.LINE_FEED||e===h.CARRIAGE_RETURN||e>159&&e<64976;return t||this._checkForProblematicCharacters(e),e}_checkForProblematicCharacters(e){ei(e)?this._err(m.controlCharacterInInputStream):eo(e)&&this._err(m.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}(i=g=g||(g={}))[i.CHARACTER=0]="CHARACTER",i[i.NULL_CHARACTER=1]="NULL_CHARACTER",i[i.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",i[i.START_TAG=3]="START_TAG",i[i.END_TAG=4]="END_TAG",i[i.COMMENT=5]="COMMENT",i[i.DOCTYPE=6]="DOCTYPE",i[i.EOF=7]="EOF",i[i.HIBERNATION=8]="HIBERNATION";var ec=n(60411);(o=b=b||(b={})).HTML="http://www.w3.org/1999/xhtml",o.MATHML="http://www.w3.org/1998/Math/MathML",o.SVG="http://www.w3.org/2000/svg",o.XLINK="http://www.w3.org/1999/xlink",o.XML="http://www.w3.org/XML/1998/namespace",o.XMLNS="http://www.w3.org/2000/xmlns/",(s=y=y||(y={})).TYPE="type",s.ACTION="action",s.ENCODING="encoding",s.PROMPT="prompt",s.NAME="name",s.COLOR="color",s.FACE="face",s.SIZE="size",(l=E=E||(E={})).NO_QUIRKS="no-quirks",l.QUIRKS="quirks",l.LIMITED_QUIRKS="limited-quirks",(c=v=v||(v={})).A="a",c.ADDRESS="address",c.ANNOTATION_XML="annotation-xml",c.APPLET="applet",c.AREA="area",c.ARTICLE="article",c.ASIDE="aside",c.B="b",c.BASE="base",c.BASEFONT="basefont",c.BGSOUND="bgsound",c.BIG="big",c.BLOCKQUOTE="blockquote",c.BODY="body",c.BR="br",c.BUTTON="button",c.CAPTION="caption",c.CENTER="center",c.CODE="code",c.COL="col",c.COLGROUP="colgroup",c.DD="dd",c.DESC="desc",c.DETAILS="details",c.DIALOG="dialog",c.DIR="dir",c.DIV="div",c.DL="dl",c.DT="dt",c.EM="em",c.EMBED="embed",c.FIELDSET="fieldset",c.FIGCAPTION="figcaption",c.FIGURE="figure",c.FONT="font",c.FOOTER="footer",c.FOREIGN_OBJECT="foreignObject",c.FORM="form",c.FRAME="frame",c.FRAMESET="frameset",c.H1="h1",c.H2="h2",c.H3="h3",c.H4="h4",c.H5="h5",c.H6="h6",c.HEAD="head",c.HEADER="header",c.HGROUP="hgroup",c.HR="hr",c.HTML="html",c.I="i",c.IMG="img",c.IMAGE="image",c.INPUT="input",c.IFRAME="iframe",c.KEYGEN="keygen",c.LABEL="label",c.LI="li",c.LINK="link",c.LISTING="listing",c.MAIN="main",c.MALIGNMARK="malignmark",c.MARQUEE="marquee",c.MATH="math",c.MENU="menu",c.META="meta",c.MGLYPH="mglyph",c.MI="mi",c.MO="mo",c.MN="mn",c.MS="ms",c.MTEXT="mtext",c.NAV="nav",c.NOBR="nobr",c.NOFRAMES="noframes",c.NOEMBED="noembed",c.NOSCRIPT="noscript",c.OBJECT="object",c.OL="ol",c.OPTGROUP="optgroup",c.OPTION="option",c.P="p",c.PARAM="param",c.PLAINTEXT="plaintext",c.PRE="pre",c.RB="rb",c.RP="rp",c.RT="rt",c.RTC="rtc",c.RUBY="ruby",c.S="s",c.SCRIPT="script",c.SECTION="section",c.SELECT="select",c.SOURCE="source",c.SMALL="small",c.SPAN="span",c.STRIKE="strike",c.STRONG="strong",c.STYLE="style",c.SUB="sub",c.SUMMARY="summary",c.SUP="sup",c.TABLE="table",c.TBODY="tbody",c.TEMPLATE="template",c.TEXTAREA="textarea",c.TFOOT="tfoot",c.TD="td",c.TH="th",c.THEAD="thead",c.TITLE="title",c.TR="tr",c.TRACK="track",c.TT="tt",c.U="u",c.UL="ul",c.SVG="svg",c.VAR="var",c.WBR="wbr",c.XMP="xmp",(u=T=T||(T={}))[u.UNKNOWN=0]="UNKNOWN",u[u.A=1]="A",u[u.ADDRESS=2]="ADDRESS",u[u.ANNOTATION_XML=3]="ANNOTATION_XML",u[u.APPLET=4]="APPLET",u[u.AREA=5]="AREA",u[u.ARTICLE=6]="ARTICLE",u[u.ASIDE=7]="ASIDE",u[u.B=8]="B",u[u.BASE=9]="BASE",u[u.BASEFONT=10]="BASEFONT",u[u.BGSOUND=11]="BGSOUND",u[u.BIG=12]="BIG",u[u.BLOCKQUOTE=13]="BLOCKQUOTE",u[u.BODY=14]="BODY",u[u.BR=15]="BR",u[u.BUTTON=16]="BUTTON",u[u.CAPTION=17]="CAPTION",u[u.CENTER=18]="CENTER",u[u.CODE=19]="CODE",u[u.COL=20]="COL",u[u.COLGROUP=21]="COLGROUP",u[u.DD=22]="DD",u[u.DESC=23]="DESC",u[u.DETAILS=24]="DETAILS",u[u.DIALOG=25]="DIALOG",u[u.DIR=26]="DIR",u[u.DIV=27]="DIV",u[u.DL=28]="DL",u[u.DT=29]="DT",u[u.EM=30]="EM",u[u.EMBED=31]="EMBED",u[u.FIELDSET=32]="FIELDSET",u[u.FIGCAPTION=33]="FIGCAPTION",u[u.FIGURE=34]="FIGURE",u[u.FONT=35]="FONT",u[u.FOOTER=36]="FOOTER",u[u.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",u[u.FORM=38]="FORM",u[u.FRAME=39]="FRAME",u[u.FRAMESET=40]="FRAMESET",u[u.H1=41]="H1",u[u.H2=42]="H2",u[u.H3=43]="H3",u[u.H4=44]="H4",u[u.H5=45]="H5",u[u.H6=46]="H6",u[u.HEAD=47]="HEAD",u[u.HEADER=48]="HEADER",u[u.HGROUP=49]="HGROUP",u[u.HR=50]="HR",u[u.HTML=51]="HTML",u[u.I=52]="I",u[u.IMG=53]="IMG",u[u.IMAGE=54]="IMAGE",u[u.INPUT=55]="INPUT",u[u.IFRAME=56]="IFRAME",u[u.KEYGEN=57]="KEYGEN",u[u.LABEL=58]="LABEL",u[u.LI=59]="LI",u[u.LINK=60]="LINK",u[u.LISTING=61]="LISTING",u[u.MAIN=62]="MAIN",u[u.MALIGNMARK=63]="MALIGNMARK",u[u.MARQUEE=64]="MARQUEE",u[u.MATH=65]="MATH",u[u.MENU=66]="MENU",u[u.META=67]="META",u[u.MGLYPH=68]="MGLYPH",u[u.MI=69]="MI",u[u.MO=70]="MO",u[u.MN=71]="MN",u[u.MS=72]="MS",u[u.MTEXT=73]="MTEXT",u[u.NAV=74]="NAV",u[u.NOBR=75]="NOBR",u[u.NOFRAMES=76]="NOFRAMES",u[u.NOEMBED=77]="NOEMBED",u[u.NOSCRIPT=78]="NOSCRIPT",u[u.OBJECT=79]="OBJECT",u[u.OL=80]="OL",u[u.OPTGROUP=81]="OPTGROUP",u[u.OPTION=82]="OPTION",u[u.P=83]="P",u[u.PARAM=84]="PARAM",u[u.PLAINTEXT=85]="PLAINTEXT",u[u.PRE=86]="PRE",u[u.RB=87]="RB",u[u.RP=88]="RP",u[u.RT=89]="RT",u[u.RTC=90]="RTC",u[u.RUBY=91]="RUBY",u[u.S=92]="S",u[u.SCRIPT=93]="SCRIPT",u[u.SECTION=94]="SECTION",u[u.SELECT=95]="SELECT",u[u.SOURCE=96]="SOURCE",u[u.SMALL=97]="SMALL",u[u.SPAN=98]="SPAN",u[u.STRIKE=99]="STRIKE",u[u.STRONG=100]="STRONG",u[u.STYLE=101]="STYLE",u[u.SUB=102]="SUB",u[u.SUMMARY=103]="SUMMARY",u[u.SUP=104]="SUP",u[u.TABLE=105]="TABLE",u[u.TBODY=106]="TBODY",u[u.TEMPLATE=107]="TEMPLATE",u[u.TEXTAREA=108]="TEXTAREA",u[u.TFOOT=109]="TFOOT",u[u.TD=110]="TD",u[u.TH=111]="TH",u[u.THEAD=112]="THEAD",u[u.TITLE=113]="TITLE",u[u.TR=114]="TR",u[u.TRACK=115]="TRACK",u[u.TT=116]="TT",u[u.U=117]="U",u[u.UL=118]="UL",u[u.SVG=119]="SVG",u[u.VAR=120]="VAR",u[u.WBR=121]="WBR",u[u.XMP=122]="XMP";let eu=new Map([[v.A,T.A],[v.ADDRESS,T.ADDRESS],[v.ANNOTATION_XML,T.ANNOTATION_XML],[v.APPLET,T.APPLET],[v.AREA,T.AREA],[v.ARTICLE,T.ARTICLE],[v.ASIDE,T.ASIDE],[v.B,T.B],[v.BASE,T.BASE],[v.BASEFONT,T.BASEFONT],[v.BGSOUND,T.BGSOUND],[v.BIG,T.BIG],[v.BLOCKQUOTE,T.BLOCKQUOTE],[v.BODY,T.BODY],[v.BR,T.BR],[v.BUTTON,T.BUTTON],[v.CAPTION,T.CAPTION],[v.CENTER,T.CENTER],[v.CODE,T.CODE],[v.COL,T.COL],[v.COLGROUP,T.COLGROUP],[v.DD,T.DD],[v.DESC,T.DESC],[v.DETAILS,T.DETAILS],[v.DIALOG,T.DIALOG],[v.DIR,T.DIR],[v.DIV,T.DIV],[v.DL,T.DL],[v.DT,T.DT],[v.EM,T.EM],[v.EMBED,T.EMBED],[v.FIELDSET,T.FIELDSET],[v.FIGCAPTION,T.FIGCAPTION],[v.FIGURE,T.FIGURE],[v.FONT,T.FONT],[v.FOOTER,T.FOOTER],[v.FOREIGN_OBJECT,T.FOREIGN_OBJECT],[v.FORM,T.FORM],[v.FRAME,T.FRAME],[v.FRAMESET,T.FRAMESET],[v.H1,T.H1],[v.H2,T.H2],[v.H3,T.H3],[v.H4,T.H4],[v.H5,T.H5],[v.H6,T.H6],[v.HEAD,T.HEAD],[v.HEADER,T.HEADER],[v.HGROUP,T.HGROUP],[v.HR,T.HR],[v.HTML,T.HTML],[v.I,T.I],[v.IMG,T.IMG],[v.IMAGE,T.IMAGE],[v.INPUT,T.INPUT],[v.IFRAME,T.IFRAME],[v.KEYGEN,T.KEYGEN],[v.LABEL,T.LABEL],[v.LI,T.LI],[v.LINK,T.LINK],[v.LISTING,T.LISTING],[v.MAIN,T.MAIN],[v.MALIGNMARK,T.MALIGNMARK],[v.MARQUEE,T.MARQUEE],[v.MATH,T.MATH],[v.MENU,T.MENU],[v.META,T.META],[v.MGLYPH,T.MGLYPH],[v.MI,T.MI],[v.MO,T.MO],[v.MN,T.MN],[v.MS,T.MS],[v.MTEXT,T.MTEXT],[v.NAV,T.NAV],[v.NOBR,T.NOBR],[v.NOFRAMES,T.NOFRAMES],[v.NOEMBED,T.NOEMBED],[v.NOSCRIPT,T.NOSCRIPT],[v.OBJECT,T.OBJECT],[v.OL,T.OL],[v.OPTGROUP,T.OPTGROUP],[v.OPTION,T.OPTION],[v.P,T.P],[v.PARAM,T.PARAM],[v.PLAINTEXT,T.PLAINTEXT],[v.PRE,T.PRE],[v.RB,T.RB],[v.RP,T.RP],[v.RT,T.RT],[v.RTC,T.RTC],[v.RUBY,T.RUBY],[v.S,T.S],[v.SCRIPT,T.SCRIPT],[v.SECTION,T.SECTION],[v.SELECT,T.SELECT],[v.SOURCE,T.SOURCE],[v.SMALL,T.SMALL],[v.SPAN,T.SPAN],[v.STRIKE,T.STRIKE],[v.STRONG,T.STRONG],[v.STYLE,T.STYLE],[v.SUB,T.SUB],[v.SUMMARY,T.SUMMARY],[v.SUP,T.SUP],[v.TABLE,T.TABLE],[v.TBODY,T.TBODY],[v.TEMPLATE,T.TEMPLATE],[v.TEXTAREA,T.TEXTAREA],[v.TFOOT,T.TFOOT],[v.TD,T.TD],[v.TH,T.TH],[v.THEAD,T.THEAD],[v.TITLE,T.TITLE],[v.TR,T.TR],[v.TRACK,T.TRACK],[v.TT,T.TT],[v.U,T.U],[v.UL,T.UL],[v.SVG,T.SVG],[v.VAR,T.VAR],[v.WBR,T.WBR],[v.XMP,T.XMP]]);function ed(e){var t;return null!==(t=eu.get(e))&&void 0!==t?t:T.UNKNOWN}let ep=T,ef={[b.HTML]:new Set([ep.ADDRESS,ep.APPLET,ep.AREA,ep.ARTICLE,ep.ASIDE,ep.BASE,ep.BASEFONT,ep.BGSOUND,ep.BLOCKQUOTE,ep.BODY,ep.BR,ep.BUTTON,ep.CAPTION,ep.CENTER,ep.COL,ep.COLGROUP,ep.DD,ep.DETAILS,ep.DIR,ep.DIV,ep.DL,ep.DT,ep.EMBED,ep.FIELDSET,ep.FIGCAPTION,ep.FIGURE,ep.FOOTER,ep.FORM,ep.FRAME,ep.FRAMESET,ep.H1,ep.H2,ep.H3,ep.H4,ep.H5,ep.H6,ep.HEAD,ep.HEADER,ep.HGROUP,ep.HR,ep.HTML,ep.IFRAME,ep.IMG,ep.INPUT,ep.LI,ep.LINK,ep.LISTING,ep.MAIN,ep.MARQUEE,ep.MENU,ep.META,ep.NAV,ep.NOEMBED,ep.NOFRAMES,ep.NOSCRIPT,ep.OBJECT,ep.OL,ep.P,ep.PARAM,ep.PLAINTEXT,ep.PRE,ep.SCRIPT,ep.SECTION,ep.SELECT,ep.SOURCE,ep.STYLE,ep.SUMMARY,ep.TABLE,ep.TBODY,ep.TD,ep.TEMPLATE,ep.TEXTAREA,ep.TFOOT,ep.TH,ep.THEAD,ep.TITLE,ep.TR,ep.TRACK,ep.UL,ep.WBR,ep.XMP]),[b.MATHML]:new Set([ep.MI,ep.MO,ep.MN,ep.MS,ep.MTEXT,ep.ANNOTATION_XML]),[b.SVG]:new Set([ep.TITLE,ep.FOREIGN_OBJECT,ep.DESC]),[b.XLINK]:new Set,[b.XML]:new Set,[b.XMLNS]:new Set};function eh(e){return e===ep.H1||e===ep.H2||e===ep.H3||e===ep.H4||e===ep.H5||e===ep.H6}v.STYLE,v.SCRIPT,v.XMP,v.IFRAME,v.NOEMBED,v.NOFRAMES,v.PLAINTEXT;let em=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);(d=S||(S={}))[d.DATA=0]="DATA",d[d.RCDATA=1]="RCDATA",d[d.RAWTEXT=2]="RAWTEXT",d[d.SCRIPT_DATA=3]="SCRIPT_DATA",d[d.PLAINTEXT=4]="PLAINTEXT",d[d.TAG_OPEN=5]="TAG_OPEN",d[d.END_TAG_OPEN=6]="END_TAG_OPEN",d[d.TAG_NAME=7]="TAG_NAME",d[d.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",d[d.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",d[d.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",d[d.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",d[d.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",d[d.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",d[d.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",d[d.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",d[d.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",d[d.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",d[d.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",d[d.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",d[d.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",d[d.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",d[d.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",d[d.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",d[d.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",d[d.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",d[d.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",d[d.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",d[d.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",d[d.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",d[d.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",d[d.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",d[d.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",d[d.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",d[d.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",d[d.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",d[d.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",d[d.BOGUS_COMMENT=40]="BOGUS_COMMENT",d[d.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",d[d.COMMENT_START=42]="COMMENT_START",d[d.COMMENT_START_DASH=43]="COMMENT_START_DASH",d[d.COMMENT=44]="COMMENT",d[d.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",d[d.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",d[d.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",d[d.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",d[d.COMMENT_END_DASH=49]="COMMENT_END_DASH",d[d.COMMENT_END=50]="COMMENT_END",d[d.COMMENT_END_BANG=51]="COMMENT_END_BANG",d[d.DOCTYPE=52]="DOCTYPE",d[d.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",d[d.DOCTYPE_NAME=54]="DOCTYPE_NAME",d[d.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",d[d.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",d[d.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",d[d.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",d[d.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",d[d.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",d[d.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",d[d.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",d[d.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",d[d.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",d[d.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",d[d.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",d[d.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",d[d.CDATA_SECTION=68]="CDATA_SECTION",d[d.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",d[d.CDATA_SECTION_END=70]="CDATA_SECTION_END",d[d.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",d[d.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",d[d.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",d[d.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",d[d.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",d[d.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",d[d.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",d[d.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END";let eg={DATA:S.DATA,RCDATA:S.RCDATA,RAWTEXT:S.RAWTEXT,SCRIPT_DATA:S.SCRIPT_DATA,PLAINTEXT:S.PLAINTEXT,CDATA_SECTION:S.CDATA_SECTION};function eb(e){return e>=h.DIGIT_0&&e<=h.DIGIT_9}function ey(e){return e>=h.LATIN_CAPITAL_A&&e<=h.LATIN_CAPITAL_Z}function eE(e){return e>=h.LATIN_SMALL_A&&e<=h.LATIN_SMALL_Z||ey(e)}function ev(e){return eE(e)||eb(e)}function eT(e){return e>=h.LATIN_CAPITAL_A&&e<=h.LATIN_CAPITAL_F}function eS(e){return e>=h.LATIN_SMALL_A&&e<=h.LATIN_SMALL_F}function eA(e){return e===h.SPACE||e===h.LINE_FEED||e===h.TABULATION||e===h.FORM_FEED}function eO(e){return eA(e)||e===h.SOLIDUS||e===h.GREATER_THAN_SIGN}class e_{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=S.DATA,this.returnState=S.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new es(t),this.currentLocation=this.getCurrentLocation(-1)}_err(e){var t,n;null===(n=(t=this.handler).onParseError)||void 0===n||n.call(t,this.preprocessor.getError(e))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw Error("Parser was already resumed");this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(e){this.consumedAfterSnapshot-=e,this.preprocessor.retreat(e)}_reconsumeInState(e,t){this.state=e,this._callState(t)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t0&&this._err(m.endTagWithAttributes),e.selfClosing&&this._err(m.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case g.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case g.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case g.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:g.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type!==e)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=t;return}}this._createCharacterToken(e,t)}_emitCodePoint(e){let t=eA(e)?g.WHITESPACE_CHARACTER:e===h.NULL?g.NULL_CHARACTER:g.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(g.CHARACTER,e)}_matchNamedCharacterReference(e){let t=null,n=0,r=!1;for(let i=0,o=ec.HP[0];i>=0&&!((i=(0,ec.Go)(ec.HP,o,i+1,e))<0);e=this._consume()){n+=1,o=ec.HP[i];let s=o&ec.ge.VALUE_LENGTH;if(s){var a;let o=(s>>14)-1;if(e!==h.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((a=this.preprocessor.peek(1))===h.EQUALS_SIGN||ev(a))?(t=[h.AMPERSAND],i+=o):(t=0===o?[ec.HP[i]&~ec.ge.VALUE_LENGTH]:1===o?[ec.HP[++i]]:[ec.HP[++i],ec.HP[++i]],n=0,r=e!==h.SEMICOLON),0===o){this._consume();break}}}return this._unconsume(n),r&&!this.preprocessor.endOfChunkHit&&this._err(m.missingSemicolonAfterCharacterReference),this._unconsume(1),t}_isCharacterReferenceInAttribute(){return this.returnState===S.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case S.DATA:this._stateData(e);break;case S.RCDATA:this._stateRcdata(e);break;case S.RAWTEXT:this._stateRawtext(e);break;case S.SCRIPT_DATA:this._stateScriptData(e);break;case S.PLAINTEXT:this._statePlaintext(e);break;case S.TAG_OPEN:this._stateTagOpen(e);break;case S.END_TAG_OPEN:this._stateEndTagOpen(e);break;case S.TAG_NAME:this._stateTagName(e);break;case S.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case S.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case S.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case S.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case S.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case S.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case S.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case S.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case S.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case S.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case S.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case S.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case S.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case S.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case S.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case S.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case S.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case S.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case S.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case S.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case S.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case S.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case S.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case S.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case S.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case S.BOGUS_COMMENT:this._stateBogusComment(e);break;case S.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case S.COMMENT_START:this._stateCommentStart(e);break;case S.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case S.COMMENT:this._stateComment(e);break;case S.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case S.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case S.COMMENT_END:this._stateCommentEnd(e);break;case S.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case S.DOCTYPE:this._stateDoctype(e);break;case S.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case S.DOCTYPE_NAME:this._stateDoctypeName(e);break;case S.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case S.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case S.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case S.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case S.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case S.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case S.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case S.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case S.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case S.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case S.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case S.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case S.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case S.CDATA_SECTION:this._stateCdataSection(e);break;case S.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case S.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case S.CHARACTER_REFERENCE:this._stateCharacterReference(e);break;case S.NAMED_CHARACTER_REFERENCE:this._stateNamedCharacterReference(e);break;case S.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;case S.NUMERIC_CHARACTER_REFERENCE:this._stateNumericCharacterReference(e);break;case S.HEXADEMICAL_CHARACTER_REFERENCE_START:this._stateHexademicalCharacterReferenceStart(e);break;case S.HEXADEMICAL_CHARACTER_REFERENCE:this._stateHexademicalCharacterReference(e);break;case S.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(e);break;case S.NUMERIC_CHARACTER_REFERENCE_END:this._stateNumericCharacterReferenceEnd(e);break;default:throw Error("Unknown state")}}_stateData(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.TAG_OPEN;break;case h.AMPERSAND:this.returnState=S.DATA,this.state=S.CHARACTER_REFERENCE;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitCodePoint(e);break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case h.AMPERSAND:this.returnState=S.RCDATA,this.state=S.CHARACTER_REFERENCE;break;case h.LESS_THAN_SIGN:this.state=S.RCDATA_LESS_THAN_SIGN;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.RAWTEXT_LESS_THAN_SIGN;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.SCRIPT_DATA_LESS_THAN_SIGN;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(eE(e))this._createStartTagToken(),this.state=S.TAG_NAME,this._stateTagName(e);else switch(e){case h.EXCLAMATION_MARK:this.state=S.MARKUP_DECLARATION_OPEN;break;case h.SOLIDUS:this.state=S.END_TAG_OPEN;break;case h.QUESTION_MARK:this._err(m.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=S.BOGUS_COMMENT,this._stateBogusComment(e);break;case h.EOF:this._err(m.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(m.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=S.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(eE(e))this._createEndTagToken(),this.state=S.TAG_NAME,this._stateTagName(e);else switch(e){case h.GREATER_THAN_SIGN:this._err(m.missingEndTagName),this.state=S.DATA;break;case h.EOF:this._err(m.eofBeforeTagName),this._emitChars("");break;case h.NULL:this._err(m.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case h.EOF:this._err(m.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===h.SOLIDUS?this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:eE(e)?(this._emitChars("<"),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=S.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){eE(e)?(this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("");break;case h.NULL:this._err(m.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case h.EOF:this._err(m.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===h.SOLIDUS?(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(er.SCRIPT,!1)&&eO(this.preprocessor.peek(er.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e1114111)this._err(m.characterReferenceOutsideUnicodeRange),this.charRefCode=h.REPLACEMENT_CHARACTER;else if(ea(this.charRefCode))this._err(m.surrogateCharacterReference),this.charRefCode=h.REPLACEMENT_CHARACTER;else if(eo(this.charRefCode))this._err(m.noncharacterCharacterReference);else if(ei(this.charRefCode)||this.charRefCode===h.CARRIAGE_RETURN){this._err(m.controlCharacterReference);let e=em.get(this.charRefCode);void 0!==e&&(this.charRefCode=e)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}}let ek=new Set([T.DD,T.DT,T.LI,T.OPTGROUP,T.OPTION,T.P,T.RB,T.RP,T.RT,T.RTC]),ex=new Set([...ek,T.CAPTION,T.COLGROUP,T.TBODY,T.TD,T.TFOOT,T.TH,T.THEAD,T.TR]),eC=new Map([[T.APPLET,b.HTML],[T.CAPTION,b.HTML],[T.HTML,b.HTML],[T.MARQUEE,b.HTML],[T.OBJECT,b.HTML],[T.TABLE,b.HTML],[T.TD,b.HTML],[T.TEMPLATE,b.HTML],[T.TH,b.HTML],[T.ANNOTATION_XML,b.MATHML],[T.MI,b.MATHML],[T.MN,b.MATHML],[T.MO,b.MATHML],[T.MS,b.MATHML],[T.MTEXT,b.MATHML],[T.DESC,b.SVG],[T.FOREIGN_OBJECT,b.SVG],[T.TITLE,b.SVG]]),ew=[T.H1,T.H2,T.H3,T.H4,T.H5,T.H6],eI=[T.TR,T.TEMPLATE,T.HTML],eR=[T.TBODY,T.TFOOT,T.THEAD,T.TEMPLATE,T.HTML],eN=[T.TABLE,T.TEMPLATE,T.HTML],eL=[T.TD,T.TH];class eD{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=T.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===T.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===b.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){let r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==b.HTML);this.shortenToLength(t<0?0:t)}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop=0;n--)if(e.includes(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return -1}clearBackTo(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(eN,b.HTML)}clearBackToTableBodyContext(){this.clearBackTo(eR,b.HTML)}clearBackToTableRowContext(){this.clearBackTo(eI,b.HTML)}remove(e){let t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===T.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===T.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(eC.get(n)===r)return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(eh(t)&&n===b.HTML)break;if(eC.get(t)===n)return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if((n===T.UL||n===T.OL)&&r===b.HTML||eC.get(n)===r)return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(n===T.BUTTON&&r===b.HTML||eC.get(n)===r)return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n===T.TABLE||n===T.TEMPLATE||n===T.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(n===b.HTML){if(t===T.TBODY||t===T.THEAD||t===T.TFOOT)break;if(t===T.TABLE||t===T.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n!==T.OPTION&&n!==T.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;ek.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;ex.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&ex.has(this.currentTagId);)this.pop()}}(p=A=A||(A={}))[p.Marker=0]="Marker",p[p.Element=1]="Element";let eP={type:A.Marker};class eM{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let n=[],r=t.length,a=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let e=0;e[e.name,e.value])),a=0;for(let e=0;er.get(e.name)===e.value)&&(a+=1)>=3&&this.entries.splice(t.idx,1)}}insertMarker(){this.entries.unshift(eP)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:A.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:A.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);t>=0&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(eP);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===A.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===A.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===A.Element&&t.element===e)}}function eF(e){return{nodeName:"#text",value:e,parentNode:null}}let eB={createDocument:()=>({nodeName:"#document",mode:E.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){let r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,n,r){let a=e.childNodes.find(e=>"#documentType"===e.nodeName);a?(a.name=t,a.publicId=n,a.systemId=r):eB.appendChild(e,{nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null})},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let n=e.childNodes[e.childNodes.length-1];if(eB.isTextNode(n)){n.value+=t;return}}eB.appendChild(e,eF(t))},insertTextBefore(e,t,n){let r=e.childNodes[e.childNodes.indexOf(n)-1];r&&eB.isTextNode(r)?r.value+=t:eB.insertBefore(e,eF(t),n)},adoptAttributes(e,t){let n=new Set(e.attrs.map(e=>e.name));for(let r=0;re.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},ej="html",eU=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],eG=[...eU,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],eH=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),e$=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],ez=[...e$,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function eZ(e,t){return t.some(t=>e.startsWith(t))}let eW={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},eV=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),eY=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:b.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:b.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:b.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:b.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:b.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:b.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:b.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:b.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:b.XML}],["xml:space",{prefix:"xml",name:"space",namespace:b.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:b.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:b.XMLNS}]]),eq=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),eK=new Set([T.B,T.BIG,T.BLOCKQUOTE,T.BODY,T.BR,T.CENTER,T.CODE,T.DD,T.DIV,T.DL,T.DT,T.EM,T.EMBED,T.H1,T.H2,T.H3,T.H4,T.H5,T.H6,T.HEAD,T.HR,T.I,T.IMG,T.LI,T.LISTING,T.MENU,T.META,T.NOBR,T.OL,T.P,T.PRE,T.RUBY,T.S,T.SMALL,T.SPAN,T.STRONG,T.STRIKE,T.SUB,T.SUP,T.TABLE,T.TT,T.U,T.UL,T.VAR]);function eX(e){for(let t=0;t0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null===(r=(n=this.treeAdapter).onItemPop)||void 0===r||r.call(n,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let n=e===this.document||this.treeAdapter.getNamespaceURI(e)===b.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,b.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=O.TEXT}switchToPlaintextParsing(){this.insertionMode=O.TEXT,this.originalInsertionMode=O.IN_BODY,this.tokenizer.state=eg.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===v.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===b.HTML)switch(this.fragmentContextID){case T.TITLE:case T.TEXTAREA:this.tokenizer.state=eg.RCDATA;break;case T.STYLE:case T.XMP:case T.IFRAME:case T.NOEMBED:case T.NOFRAMES:case T.NOSCRIPT:this.tokenizer.state=eg.RAWTEXT;break;case T.SCRIPT:this.tokenizer.state=eg.SCRIPT_DATA;break;case T.PLAINTEXT:this.tokenizer.state=eg.PLAINTEXT}}_setDocumentType(e){let t=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){let t=this.treeAdapter.getChildNodes(this.document),n=t.find(e=>this.treeAdapter.isDocumentTypeNode(e));n&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){let n=this.treeAdapter.createElement(e,b.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,b.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(v.HTML,b.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,T.HTML)}_appendCommentNode(e,t){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let r=this.treeAdapter.getChildNodes(t),a=n?r.lastIndexOf(n):r.length,i=r[a-1],o=this.treeAdapter.getNodeSourceCodeLocation(i);if(o){let{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let n=t.location,r=this.treeAdapter.getTagName(e),a=t.type===g.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,a)}}shouldProcessStartTagTokenInForeignContent(e){let t,n;return!!this.currentNotInHTML&&(0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):{current:t,currentTagId:n}=this.openElements,(e.tagID!==T.SVG||this.treeAdapter.getTagName(t)!==v.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==b.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===T.MGLYPH||e.tagID===T.MALIGNMARK)&&!this._isIntegrationPoint(n,t,b.HTML)))}_processToken(e){switch(e.type){case g.CHARACTER:this.onCharacter(e);break;case g.NULL_CHARACTER:this.onNullCharacter(e);break;case g.COMMENT:this.onComment(e);break;case g.DOCTYPE:this.onDoctype(e);break;case g.START_TAG:this._processStartTag(e);break;case g.END_TAG:this.onEndTag(e);break;case g.EOF:this.onEof(e);break;case g.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){let r=this.treeAdapter.getNamespaceURI(t),a=this.treeAdapter.getAttrList(t);return(!n||n===b.HTML)&&function(e,t,n){if(t===b.MATHML&&e===T.ANNOTATION_XML){for(let e=0;ee.type===A.Marker||this.openElements.contains(e.element)),n=t<0?e-1:t-1;for(let e=n;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=O.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(T.P),this.openElements.popUntilTagNamePopped(T.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case T.TR:this.insertionMode=O.IN_ROW;return;case T.TBODY:case T.THEAD:case T.TFOOT:this.insertionMode=O.IN_TABLE_BODY;return;case T.CAPTION:this.insertionMode=O.IN_CAPTION;return;case T.COLGROUP:this.insertionMode=O.IN_COLUMN_GROUP;return;case T.TABLE:this.insertionMode=O.IN_TABLE;return;case T.BODY:this.insertionMode=O.IN_BODY;return;case T.FRAMESET:this.insertionMode=O.IN_FRAMESET;return;case T.SELECT:this._resetInsertionModeForSelect(e);return;case T.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case T.HTML:this.insertionMode=this.headElement?O.AFTER_HEAD:O.BEFORE_HEAD;return;case T.TD:case T.TH:if(e>0){this.insertionMode=O.IN_CELL;return}break;case T.HEAD:if(e>0){this.insertionMode=O.IN_HEAD;return}}this.insertionMode=O.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===T.TEMPLATE)break;if(e===T.TABLE){this.insertionMode=O.IN_SELECT_IN_TABLE;return}}this.insertionMode=O.IN_SELECT}_isElementCausesFosterParenting(e){return e1.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case T.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===b.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case T.TABLE:{let n=this.treeAdapter.getParentNode(t);if(n)return{parent:n,beforeElement:t};return{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){let n=this.treeAdapter.getNamespaceURI(e);return ef[n].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){this._insertCharacters(e),this.framesetOk=!1;return}switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.IN_BODY:case O.IN_CAPTION:case O.IN_CELL:case O.IN_TEMPLATE:ts(this,e);break;case O.TEXT:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tg(this,e);break;case O.IN_TABLE_TEXT:tT(this,e);break;case O.IN_COLUMN_GROUP:t_(this,e);break;case O.AFTER_BODY:tD(this,e);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){e.chars="�",this._insertCharacters(e);return}switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.TEXT:this._insertCharacters(e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tg(this,e);break;case O.IN_COLUMN_GROUP:t_(this,e);break;case O.AFTER_BODY:tD(this,e);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){e4(this,e);return}switch(this.insertionMode){case O.INITIAL:case O.BEFORE_HTML:case O.BEFORE_HEAD:case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:case O.IN_BODY:case O.IN_TABLE:case O.IN_CAPTION:case O.IN_COLUMN_GROUP:case O.IN_TABLE_BODY:case O.IN_ROW:case O.IN_CELL:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:case O.IN_TEMPLATE:case O.IN_FRAMESET:case O.AFTER_FRAMESET:e4(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case O.INITIAL:!function(e,t){e._setDocumentType(t);let n=t.forceQuirks?E.QUIRKS:function(e){if(e.name!==ej)return E.QUIRKS;let{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return E.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),eH.has(n))return E.QUIRKS;let e=null===t?eG:eU;if(eZ(n,e))return E.QUIRKS;if(eZ(n,e=null===t?e$:ez))return E.LIMITED_QUIRKS}return E.NO_QUIRKS}(t);t.name===ej&&null===t.publicId&&(null===t.systemId||"about:legacy-compat"===t.systemId)||e._err(t,m.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=O.BEFORE_HTML}(this,e);break;case O.BEFORE_HEAD:case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:this._err(e,m.misplacedDoctype);break;case O.IN_TABLE_TEXT:tS(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,m.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){let t=e.tagID,n=t===T.FONT&&e.attrs.some(({name:e})=>e===y.COLOR||e===y.SIZE||e===y.FACE);return n||eK.has(t)}(t))tM(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===b.MATHML?eX(t):r===b.SVG&&(function(e){let t=eq.get(e.tagName);null!=t&&(e.tagName=t,e.tagID=ed(e.tagName))}(t),eQ(t)),eJ(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e.tagID===T.HTML?(this._insertElement(e,b.HTML),this.insertionMode=O.BEFORE_HEAD):e8(this,e);break;case O.BEFORE_HEAD:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.HEAD:e._insertElement(t,b.HTML),e.headElement=e.openElements.current,e.insertionMode=O.IN_HEAD;break;default:e7(e,t)}}(this,e);break;case O.IN_HEAD:te(this,e);break;case O.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BASEFONT:case T.BGSOUND:case T.HEAD:case T.LINK:case T.META:case T.NOFRAMES:case T.STYLE:te(e,t);break;case T.NOSCRIPT:e._err(t,m.nestedNoscriptInHead);break;default:tr(e,t)}}(this,e);break;case O.AFTER_HEAD:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BODY:e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=O.IN_BODY;break;case T.FRAMESET:e._insertElement(t,b.HTML),e.insertionMode=O.IN_FRAMESET;break;case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:e._err(t,m.abandonedHeadElementChild),e.openElements.push(e.headElement,T.HEAD),te(e,t),e.openElements.remove(e.headElement);break;case T.HEAD:e._err(t,m.misplacedStartTagForHeadElement);break;default:ta(e,t)}}(this,e);break;case O.IN_BODY:tp(this,e);break;case O.IN_TABLE:tb(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_CAPTION:!function(e,t){let n=t.tagID;tA.has(n)?e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_TABLE,tb(e,t)):tp(e,t)}(this,e);break;case O.IN_COLUMN_GROUP:tO(this,e);break;case O.IN_TABLE_BODY:tk(this,e);break;case O.IN_ROW:tC(this,e);break;case O.IN_CELL:!function(e,t){let n=t.tagID;tA.has(n)?(e.openElements.hasInTableScope(T.TD)||e.openElements.hasInTableScope(T.TH))&&(e._closeTableCell(),tC(e,t)):tp(e,t)}(this,e);break;case O.IN_SELECT:tI(this,e);break;case O.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e._processStartTag(t)):tI(e,t)}(this,e);break;case O.IN_TEMPLATE:!function(e,t){switch(t.tagID){case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:te(e,t);break;case T.CAPTION:case T.COLGROUP:case T.TBODY:case T.TFOOT:case T.THEAD:e.tmplInsertionModeStack[0]=O.IN_TABLE,e.insertionMode=O.IN_TABLE,tb(e,t);break;case T.COL:e.tmplInsertionModeStack[0]=O.IN_COLUMN_GROUP,e.insertionMode=O.IN_COLUMN_GROUP,tO(e,t);break;case T.TR:e.tmplInsertionModeStack[0]=O.IN_TABLE_BODY,e.insertionMode=O.IN_TABLE_BODY,tk(e,t);break;case T.TD:case T.TH:e.tmplInsertionModeStack[0]=O.IN_ROW,e.insertionMode=O.IN_ROW,tC(e,t);break;default:e.tmplInsertionModeStack[0]=O.IN_BODY,e.insertionMode=O.IN_BODY,tp(e,t)}}(this,e);break;case O.AFTER_BODY:e.tagID===T.HTML?tp(this,e):tD(this,e);break;case O.IN_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.FRAMESET:e._insertElement(t,b.HTML);break;case T.FRAME:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.NOFRAMES:te(e,t)}}(this,e);break;case O.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.NOFRAMES:te(e,t)}}(this,e);break;case O.AFTER_AFTER_BODY:e.tagID===T.HTML?tp(this,e):tP(this,e);break;case O.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.NOFRAMES:te(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===T.P||t.tagID===T.BR){tM(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){let r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===b.HTML){e._endTagOutsideForeignContent(t);break}let a=e.treeAdapter.getTagName(r);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){var t;switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:!function(e,t){let n=t.tagID;(n===T.HTML||n===T.HEAD||n===T.BODY||n===T.BR)&&e8(e,t)}(this,e);break;case O.BEFORE_HEAD:!function(e,t){let n=t.tagID;n===T.HEAD||n===T.BODY||n===T.HTML||n===T.BR?e7(e,t):e._err(t,m.endTagWithoutMatchingOpenElement)}(this,e);break;case O.IN_HEAD:!function(e,t){switch(t.tagID){case T.HEAD:e.openElements.pop(),e.insertionMode=O.AFTER_HEAD;break;case T.BODY:case T.BR:case T.HTML:tn(e,t);break;case T.TEMPLATE:tt(e,t);break;default:e._err(t,m.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case T.NOSCRIPT:e.openElements.pop(),e.insertionMode=O.IN_HEAD;break;case T.BR:tr(e,t);break;default:e._err(t,m.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.AFTER_HEAD:!function(e,t){switch(t.tagID){case T.BODY:case T.HTML:case T.BR:ta(e,t);break;case T.TEMPLATE:tt(e,t);break;default:e._err(t,m.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.IN_BODY:th(this,e);break;case O.TEXT:e.tagID===T.SCRIPT&&(null===(t=this.scriptHandler)||void 0===t||t.call(this,this.openElements.current)),this.openElements.pop(),this.insertionMode=this.originalInsertionMode;break;case O.IN_TABLE:ty(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_CAPTION:!function(e,t){let n=t.tagID;switch(n){case T.CAPTION:case T.TABLE:e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_TABLE,n===T.TABLE&&ty(e,t));break;case T.BODY:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:th(e,t)}}(this,e);break;case O.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case T.COLGROUP:e.openElements.currentTagId===T.COLGROUP&&(e.openElements.pop(),e.insertionMode=O.IN_TABLE);break;case T.TEMPLATE:tt(e,t);break;case T.COL:break;default:t_(e,t)}}(this,e);break;case O.IN_TABLE_BODY:tx(this,e);break;case O.IN_ROW:tw(this,e);break;case O.IN_CELL:!function(e,t){let n=t.tagID;switch(n){case T.TD:case T.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_ROW);break;case T.TABLE:case T.TBODY:case T.TFOOT:case T.THEAD:case T.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),tw(e,t));break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:break;default:th(e,t)}}(this,e);break;case O.IN_SELECT:tR(this,e);break;case O.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e.onEndTag(t)):tR(e,t)}(this,e);break;case O.IN_TEMPLATE:e.tagID===T.TEMPLATE&&tt(this,e);break;case O.AFTER_BODY:tL(this,e);break;case O.IN_FRAMESET:e.tagID!==T.FRAMESET||this.openElements.isRootHtmlElementCurrent()||(this.openElements.pop(),this.fragmentContext||this.openElements.currentTagId===T.FRAMESET||(this.insertionMode=O.AFTER_FRAMESET));break;case O.AFTER_FRAMESET:e.tagID===T.HTML&&(this.insertionMode=O.AFTER_AFTER_FRAMESET);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onEof(e){switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.IN_BODY:case O.IN_TABLE:case O.IN_CAPTION:case O.IN_COLUMN_GROUP:case O.IN_TABLE_BODY:case O.IN_ROW:case O.IN_CELL:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:tm(this,e);break;case O.TEXT:this._err(e,m.eofInElementThatCanContainOnlyText),this.openElements.pop(),this.insertionMode=this.originalInsertionMode,this.onEof(e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_TEMPLATE:tN(this,e);break;case O.AFTER_BODY:case O.IN_FRAMESET:case O.AFTER_FRAMESET:case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:e6(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===h.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:case O.TEXT:case O.IN_COLUMN_GROUP:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:case O.IN_FRAMESET:case O.AFTER_FRAMESET:this._insertCharacters(e);break;case O.IN_BODY:case O.IN_CAPTION:case O.IN_CELL:case O.IN_TEMPLATE:case O.AFTER_BODY:case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:to(this,e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tg(this,e);break;case O.IN_TABLE_TEXT:tv(this,e)}}}function e5(e,t){for(let n=0;n<8;n++){let n=function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):tf(e,t),n}(e,t);if(!n)break;let r=function(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){let a=e.openElements.items[r];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[r])&&(n=a)}return n||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;let a=function(e,t,n){let r=t,a=e.openElements.getCommonAncestor(t);for(let i=0,o=a;o!==n;i++,o=a){a=e.openElements.getCommonAncestor(o);let n=e.activeFormattingElements.getElementEntry(o),s=n&&i>=3,l=!n||s;l?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(o)):(o=function(e,t){let n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}(e,r,n.element),i=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(a),i&&function(e,t,n){let r=e.treeAdapter.getTagName(t),a=ed(r);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(n);else{let r=e.treeAdapter.getNamespaceURI(t);a===T.TEMPLATE&&r===b.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}(e,i,a),function(e,t,n){let r=e.treeAdapter.getNamespaceURI(n.element),{token:a}=n,i=e.treeAdapter.createElement(a.tagName,r,a.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,a),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,a.tagID)}(e,r,n)}}function e4(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function e6(e,t){if(e.stopped=!0,t.location){let n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){let n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function e9(e,t){e._err(t,m.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,E.QUIRKS),e.insertionMode=O.BEFORE_HTML,e._processToken(t)}function e8(e,t){e._insertFakeRootElement(),e.insertionMode=O.BEFORE_HEAD,e._processToken(t)}function e7(e,t){e._insertFakeElement(v.HEAD,T.HEAD),e.headElement=e.openElements.current,e.insertionMode=O.IN_HEAD,e._processToken(t)}function te(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.TITLE:e._switchToTextParsing(t,eg.RCDATA);break;case T.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,eg.RAWTEXT):(e._insertElement(t,b.HTML),e.insertionMode=O.IN_HEAD_NO_SCRIPT);break;case T.NOFRAMES:case T.STYLE:e._switchToTextParsing(t,eg.RAWTEXT);break;case T.SCRIPT:e._switchToTextParsing(t,eg.SCRIPT_DATA);break;case T.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=O.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(O.IN_TEMPLATE);break;case T.HEAD:e._err(t,m.misplacedStartTagForHeadElement);break;default:tn(e,t)}}function tt(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==T.TEMPLATE&&e._err(t,m.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,m.endTagWithoutMatchingOpenElement)}function tn(e,t){e.openElements.pop(),e.insertionMode=O.AFTER_HEAD,e._processToken(t)}function tr(e,t){let n=t.type===g.EOF?m.openElementsLeftAfterEof:m.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=O.IN_HEAD,e._processToken(t)}function ta(e,t){e._insertFakeElement(v.BODY,T.BODY),e.insertionMode=O.IN_BODY,ti(e,t)}function ti(e,t){switch(t.type){case g.CHARACTER:ts(e,t);break;case g.WHITESPACE_CHARACTER:to(e,t);break;case g.COMMENT:e4(e,t);break;case g.START_TAG:tp(e,t);break;case g.END_TAG:th(e,t);break;case g.EOF:tm(e,t)}}function to(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function ts(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function tl(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function tc(e){let t=el(e,y.TYPE);return null!=t&&"hidden"===t.toLowerCase()}function tu(e,t){e._switchToTextParsing(t,eg.RAWTEXT)}function td(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML)}function tp(e,t){switch(t.tagID){case T.I:case T.S:case T.B:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.SMALL:case T.STRIKE:case T.STRONG:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case T.A:!function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(v.A);n&&(e5(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),eh(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,b.HTML);break;case T.P:case T.DL:case T.OL:case T.UL:case T.DIV:case T.DIR:case T.NAV:case T.MAIN:case T.MENU:case T.ASIDE:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.DETAILS:case T.ADDRESS:case T.ARTICLE:case T.SECTION:case T.SUMMARY:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML);break;case T.LI:case T.DD:case T.DT:!function(e,t){e.framesetOk=!1;let n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let r=e.openElements.tagIDs[t];if(n===T.LI&&r===T.LI||(n===T.DD||n===T.DT)&&(r===T.DD||r===T.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==T.ADDRESS&&r!==T.DIV&&r!==T.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML)}(e,t);break;case T.BR:case T.IMG:case T.WBR:case T.AREA:case T.EMBED:case T.KEYGEN:tl(e,t);break;case T.HR:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0;break;case T.RB:case T.RTC:e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,b.HTML);break;case T.RT:case T.RP:e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(T.RTC),e._insertElement(t,b.HTML);break;case T.PRE:case T.LISTING:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.framesetOk=!1;break;case T.XMP:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,eg.RAWTEXT);break;case T.SVG:e._reconstructActiveFormattingElements(),eQ(t),eJ(t),t.selfClosing?e._appendElement(t,b.SVG):e._insertElement(t,b.SVG),t.ackSelfClosing=!0;break;case T.HTML:0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs);break;case T.BASE:case T.LINK:case T.META:case T.STYLE:case T.TITLE:case T.SCRIPT:case T.BGSOUND:case T.BASEFONT:case T.TEMPLATE:te(e,t);break;case T.BODY:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t);break;case T.FORM:!function(e,t){let n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),n||(e.formElement=e.openElements.current))}(e,t);break;case T.NOBR:e._reconstructActiveFormattingElements(),e.openElements.hasInScope(T.NOBR)&&(e5(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case T.MATH:e._reconstructActiveFormattingElements(),eX(t),eJ(t),t.selfClosing?e._appendElement(t,b.MATHML):e._insertElement(t,b.MATHML),t.ackSelfClosing=!0;break;case T.TABLE:e.treeAdapter.getDocumentMode(e.document)!==E.QUIRKS&&e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=O.IN_TABLE;break;case T.INPUT:e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),tc(t)||(e.framesetOk=!1),t.ackSelfClosing=!0;break;case T.PARAM:case T.TRACK:case T.SOURCE:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.IMAGE:t.tagName=v.IMG,t.tagID=T.IMG,tl(e,t);break;case T.BUTTON:e.openElements.hasInScope(T.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1;break;case T.APPLET:case T.OBJECT:case T.MARQUEE:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1;break;case T.IFRAME:e.framesetOk=!1,e._switchToTextParsing(t,eg.RAWTEXT);break;case T.SELECT:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===O.IN_TABLE||e.insertionMode===O.IN_CAPTION||e.insertionMode===O.IN_TABLE_BODY||e.insertionMode===O.IN_ROW||e.insertionMode===O.IN_CELL?O.IN_SELECT_IN_TABLE:O.IN_SELECT;break;case T.OPTION:case T.OPTGROUP:e.openElements.currentTagId===T.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML);break;case T.NOEMBED:tu(e,t);break;case T.FRAMESET:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_FRAMESET)}(e,t);break;case T.TEXTAREA:e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.tokenizer.state=eg.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=O.TEXT;break;case T.NOSCRIPT:e.options.scriptingEnabled?tu(e,t):td(e,t);break;case T.PLAINTEXT:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.tokenizer.state=eg.PLAINTEXT;break;case T.COL:case T.TH:case T.TD:case T.TR:case T.HEAD:case T.FRAME:case T.TBODY:case T.TFOOT:case T.THEAD:case T.CAPTION:case T.COLGROUP:break;default:td(e,t)}}function tf(e,t){let n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let a=e.openElements.items[t],i=e.openElements.tagIDs[t];if(r===i&&(r!==T.UNKNOWN||e.treeAdapter.getTagName(a)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(a,i))break}}function th(e,t){switch(t.tagID){case T.A:case T.B:case T.I:case T.S:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.NOBR:case T.SMALL:case T.STRIKE:case T.STRONG:e5(e,t);break;case T.P:e.openElements.hasInButtonScope(T.P)||e._insertFakeElement(v.P,T.P),e._closePElement();break;case T.DL:case T.UL:case T.OL:case T.DIR:case T.DIV:case T.NAV:case T.PRE:case T.MAIN:case T.MENU:case T.ASIDE:case T.BUTTON:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.ADDRESS:case T.ARTICLE:case T.DETAILS:case T.SECTION:case T.SUMMARY:case T.LISTING:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case T.LI:e.openElements.hasInListItemScope(T.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(T.LI),e.openElements.popUntilTagNamePopped(T.LI));break;case T.DD:case T.DT:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped());break;case T.BR:e._reconstructActiveFormattingElements(),e._insertFakeElement(v.BR,T.BR),e.openElements.pop(),e.framesetOk=!1;break;case T.BODY:!function(e,t){if(e.openElements.hasInScope(T.BODY)&&(e.insertionMode=O.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}(e,t);break;case T.HTML:e.openElements.hasInScope(T.BODY)&&(e.insertionMode=O.AFTER_BODY,tL(e,t));break;case T.FORM:!function(e){let t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(T.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(T.FORM):n&&e.openElements.remove(n))}(e);break;case T.APPLET:case T.OBJECT:case T.MARQUEE:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}(e,t);break;case T.TEMPLATE:tt(e,t);break;default:tf(e,t)}}function tm(e,t){e.tmplInsertionModeStack.length>0?tN(e,t):e6(e,t)}function tg(e,t){if(e1.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=O.IN_TABLE_TEXT,t.type){case g.CHARACTER:tT(e,t);break;case g.WHITESPACE_CHARACTER:tv(e,t)}else tE(e,t)}function tb(e,t){switch(t.tagID){case T.TD:case T.TH:case T.TR:e.openElements.clearBackToTableContext(),e._insertFakeElement(v.TBODY,T.TBODY),e.insertionMode=O.IN_TABLE_BODY,tk(e,t);break;case T.STYLE:case T.SCRIPT:case T.TEMPLATE:te(e,t);break;case T.COL:e.openElements.clearBackToTableContext(),e._insertFakeElement(v.COLGROUP,T.COLGROUP),e.insertionMode=O.IN_COLUMN_GROUP,tO(e,t);break;case T.FORM:e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,b.HTML),e.formElement=e.openElements.current,e.openElements.pop());break;case T.TABLE:e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode(),e._processStartTag(t));break;case T.TBODY:case T.TFOOT:case T.THEAD:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_TABLE_BODY;break;case T.INPUT:tc(t)?e._appendElement(t,b.HTML):tE(e,t),t.ackSelfClosing=!0;break;case T.CAPTION:e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_CAPTION;break;case T.COLGROUP:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_COLUMN_GROUP;break;default:tE(e,t)}}function ty(e,t){switch(t.tagID){case T.TABLE:e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode());break;case T.TEMPLATE:tt(e,t);break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:tE(e,t)}}function tE(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,ti(e,t),e.fosterParentingEnabled=n}function tv(e,t){e.pendingCharacterTokens.push(t)}function tT(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function tS(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0&&e.openElements.currentTagId===T.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===T.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===T.OPTGROUP&&e.openElements.pop();break;case T.OPTION:e.openElements.currentTagId===T.OPTION&&e.openElements.pop();break;case T.SELECT:e.openElements.hasInSelectScope(T.SELECT)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode());break;case T.TEMPLATE:tt(e,t)}}function tN(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):e6(e,t)}function tL(e,t){var n;if(t.tagID===T.HTML){if(e.fragmentContext||(e.insertionMode=O.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===T.HTML){e._setEndLocation(e.openElements.items[0],t);let r=e.openElements.items[1];!r||(null===(n=e.treeAdapter.getNodeSourceCodeLocation(r))||void 0===n?void 0:n.endTag)||e._setEndLocation(r,t)}}else tD(e,t)}function tD(e,t){e.insertionMode=O.IN_BODY,ti(e,t)}function tP(e,t){e.insertionMode=O.IN_BODY,ti(e,t)}function tM(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==b.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}n(43470),v.AREA,v.BASE,v.BASEFONT,v.BGSOUND,v.BR,v.COL,v.EMBED,v.FRAME,v.HR,v.IMG,v.INPUT,v.KEYGEN,v.LINK,v.META,v.PARAM,v.SOURCE,v.TRACK,v.WBR;var tF=n(3980),tB=n(21623);let tj=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),tU={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function tG(e,t){let n=function(e){let t="root"===e.type?e.children[0]:e;return!!(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName.toLowerCase()))}(e),r=q("type",{handlers:{root:t$,element:tz,text:tZ,comment:tV,doctype:tW,raw:tY},unknown:tq}),a={parser:n?new e3(tU):e3.getFragmentParser(void 0,tU),handle(e){r(e,a)},stitches:!1,options:t||{}};r(e,a),tK(a,(0,tF.Pk)());let i=n?a.parser.document:a.parser.getFragment(),o=function(e,t){let n=t||{};return $({file:n.file||void 0,location:!1,schema:"svg"===n.space?x.YP:x.dy,verbose:n.verbose||!1},e)}(i,{file:a.options.file});return(a.stitches&&(0,tB.Vn)(o,"comment",function(e,t,n){if(e.value.stitch&&n&&void 0!==t){let r=n.children;return r[t]=e.value.stitch,t}}),"root"===o.type&&1===o.children.length&&o.children[0].type===e.type)?o.children[0]:o}function tH(e,t){let n=-1;if(e)for(;++n4&&(t.parser.tokenizer.state=0);let n={type:g.CHARACTER,chars:e.value,location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tW(e,t){let n={type:g.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tV(e,t){let n=e.value,r={type:g.COMMENT,data:n,location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function tY(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,tX(t,(0,tF.Pk)(e)),t.parser.tokenizer.write(e.value,!1),t.parser.tokenizer._runParsingLoop(),72===t.parser.tokenizer.state||78===t.parser.tokenizer.state){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;let e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function tq(e,t){if(t.options.passThrough&&t.options.passThrough.includes(e.type))!function(e,t){t.stitches=!0;let n="children"in e?(0,_.ZP)({...e,children:[]}):(0,_.ZP)(e);if("children"in e&&"children"in n){let r=tG({type:"root",children:e.children},t.options);n.children=r.children}tV({type:"comment",value:{stitch:n}},t)}(e,t);else{let t="";throw tj.has(e.type)&&(t=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),Error("Cannot compile `"+e.type+"` node"+t)}}function tK(e,t){tX(e,t);let n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=eg.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function tX(e,t){if(t&&void 0!==t.offset){let n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function tQ(e){let t=(0,tF.Pk)(e)||{line:void 0,column:void 0,offset:void 0},n=(0,tF.rb)(e)||{line:void 0,column:void 0,offset:void 0},r={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset};return r}function tJ(e){return function(t,n){let r=tG(t,{...e,file:n});return r}}},78600:function(e,t,n){"use strict";function r(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,a=n.indexOf(t);for(;-1!==a;)r++,a=n.indexOf(t,a+t.length);return r}n.d(t,{Z:function(){return eQ}});var a=n(24345),i=n(15459),o=n(88718),s=n(96093);let l="phrasing",c=["autolink","link","image","label"];function u(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function d(e){this.config.enter.autolinkProtocol.call(this,e)}function p(e){this.config.exit.autolinkProtocol.call(this,e)}function f(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];(0,a.ok)("link"===t.type),t.url="http://"+this.sliceSerialize(e)}function h(e){this.config.exit.autolinkEmail.call(this,e)}function m(e){this.exit(e)}function g(e){!function(e,t,n){let r=(0,s.O)((n||{}).ignore||[]),a=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r0?{type:"text",value:i}:void 0),!1===i?r.lastIndex=n+1:(s!==n&&d.push({type:"text",value:e.value.slice(s,n)}),Array.isArray(i)?d.push(...i):i&&d.push(i),s=n+p[0].length,u=!0),!r.global)break;p=r.exec(e.value)}return u?(s?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],a=n.indexOf(")"),i=r(e,"("),o=r(e,")");for(;-1!==a&&i>o;)e+=n.slice(0,a+1),a=(n=n.slice(a+1)).indexOf(")"),o++;return[e,n]}(n+a);if(!s[0])return!1;let l={type:"link",title:null,url:o+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[l,{type:"text",value:s[1]}]:l}function y(e,t,n,r){return!(!E(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function E(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||(0,i.B8)(n)||(0,i.Xh)(n))&&(!t||47!==n)}var v=n(11098);function T(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function S(){this.buffer()}function A(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteDefinition"===n.type),n.label=t,n.identifier=(0,v.d)(this.sliceSerialize(e)).toLowerCase()}function O(e){this.exit(e)}function _(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function k(){this.buffer()}function x(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteReference"===n.type),n.label=t,n.identifier=(0,v.d)(this.sliceSerialize(e)).toLowerCase()}function C(e){this.exit(e)}function w(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteReference"),s=n.enter("reference");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),o(),i+=a.move("]")}function I(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteDefinition"),s=n.enter("label");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),i+=a.move("]:"+(e.children&&e.children.length>0?" ":"")),a.shift(4),i+=a.move(n.indentLines(n.containerFlow(e,a.current()),R)),o(),i}function R(e,t,n){return 0===t?e:(n?"":" ")+e}w.peek=function(){return"["};let N=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function L(e){this.enter({type:"delete",children:[]},e)}function D(e){this.exit(e)}function P(e,t,n,r){let a=n.createTracker(r),i=n.enter("strikethrough"),o=a.move("~~");return o+=n.containerPhrasing(e,{...a.current(),before:o,after:"~"})+a.move("~~"),i(),o}function M(e){return e.length}function F(e){let t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function B(e,t,n){return">"+(n?"":" ")+e}function j(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),c+=l.move(")"),o(),c}function q(e,t,n,r){let a=e.referenceType,i=n.enter("imageReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("!["),c=n.safe(e.alt,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function K(e,t,n){let r=e.value||"",a="`",i=-1;for(;RegExp("(^|[^`])"+a+"([^`]|$)").test(r);)a+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i\u007F]/.test(e.url))}function Q(e,t,n,r){let a,i;let o=$(n),s='"'===o?"Quote":"Apostrophe",l=n.createTracker(r);if(X(e,n)){let t=n.stack;n.stack=[],a=n.enter("autolink");let r=l.move("<");return r+=l.move(n.containerPhrasing(e,{before:r,after:">",...l.current()}))+l.move(">"),a(),n.stack=t,r}a=n.enter("link"),i=n.enter("label");let c=l.move("[");return c+=l.move(n.containerPhrasing(e,{before:c,after:"](",...l.current()}))+l.move("]("),i(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(i=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(i=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),i(),e.title&&(i=n.enter(`title${s}`),c+=l.move(" "+o),c+=l.move(n.safe(e.title,{before:c,after:o,...l.current()}))+l.move(o),i()),c+=l.move(")"),a(),c}function J(e,t,n,r){let a=e.referenceType,i=n.enter("linkReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("["),c=n.containerPhrasing(e,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function ee(e){let t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function et(e){let t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}V.peek=function(){return"<"},Y.peek=function(){return"!"},q.peek=function(){return"!"},K.peek=function(){return"`"},Q.peek=function(e,t,n){return X(e,n)?"<":"["},J.peek=function(){return"["};let en=(0,s.O)(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function er(e,t,n,r){let a=function(e){let t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(n),i=n.enter("strong"),o=n.createTracker(r),s=o.move(a+a);return s+=o.move(n.containerPhrasing(e,{before:s,after:a,...o.current()}))+o.move(a+a),i(),s}er.peek=function(e,t,n){return n.options.strong||"*"};let ea={blockquote:function(e,t,n,r){let a=n.enter("blockquote"),i=n.createTracker(r);i.move("> "),i.shift(2);let o=n.indentLines(n.containerFlow(e,i.current()),B);return a(),o},break:U,code:function(e,t,n,r){let a=function(e){let t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),i=e.value||"",o="`"===a?"GraveAccent":"Tilde";if(!1===n.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value)){let e=n.enter("codeIndented"),t=n.indentLines(i,H);return e(),t}let s=n.createTracker(r),l=a.repeat(Math.max((0,G.J)(i,a)+1,3)),c=n.enter("codeFenced"),u=s.move(l);if(e.lang){let t=n.enter(`codeFencedLang${o}`);u+=s.move(n.safe(e.lang,{before:u,after:" ",encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${o}`);u+=s.move(" "),u+=s.move(n.safe(e.meta,{before:u,after:"\n",encode:["`"],...s.current()})),t()}return u+=s.move("\n"),i&&(u+=s.move(i+"\n")),u+=s.move(l),c(),u},definition:function(e,t,n,r){let a=$(n),i='"'===a?"Quote":"Apostrophe",o=n.enter("definition"),s=n.enter("label"),l=n.createTracker(r),c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()}))+l.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":"\n",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),o(),c},emphasis:z,hardBreak:U,heading:function(e,t,n,r){let a;let i=Math.max(Math.min(6,e.depth||1),1),s=n.createTracker(r);if(a=!1,(0,Z.Vn)(e,function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return a=!0,o.BK}),(!e.depth||e.depth<3)&&(0,W.B)(e)&&(n.options.setext||a)){let t=n.enter("headingSetext"),r=n.enter("phrasing"),a=n.containerPhrasing(e,{...s.current(),before:"\n",after:"\n"});return r(),t(),a+"\n"+(1===i?"=":"-").repeat(a.length-(Math.max(a.lastIndexOf("\r"),a.lastIndexOf("\n"))+1))}let l="#".repeat(i),c=n.enter("headingAtx"),u=n.enter("phrasing");s.move(l+" ");let d=n.containerPhrasing(e,{before:"# ",after:"\n",...s.current()});return/^[\t ]/.test(d)&&(d="&#x"+d.charCodeAt(0).toString(16).toUpperCase()+";"+d.slice(1)),d=d?l+" "+d:l,n.options.closeAtx&&(d+=" "+l),u(),c(),d},html:V,image:Y,imageReference:q,inlineCode:K,link:Q,linkReference:J,list:function(e,t,n,r){let a=n.enter("list"),i=n.bulletCurrent,o=e.ordered?function(e){let t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):ee(n),s=e.ordered?"."===o?")":".":function(e){let t=ee(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n),l=!!t&&!!n.bulletLastUsed&&o===n.bulletLastUsed;if(!e.ordered){let t=e.children?e.children[0]:void 0;if("*"!==o&&"-"!==o||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(l=!0),et(n)===o&&t){let t=-1;for(;++t-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+i);let o=i.length+1;("tab"===a||"mixed"===a&&(t&&"list"===t.type&&t.spread||e.spread))&&(o=4*Math.ceil(o/4));let s=n.createTracker(r);s.move(i+" ".repeat(o-i.length)),s.shift(o);let l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),function(e,t,n){return t?(n?"":" ".repeat(o))+e:(n?i:i+" ".repeat(o-i.length))+e});return l(),c},paragraph:function(e,t,n,r){let a=n.enter("paragraph"),i=n.enter("phrasing"),o=n.containerPhrasing(e,r);return i(),a(),o},root:function(e,t,n,r){let a=e.children.some(function(e){return en(e)}),i=a?n.containerPhrasing:n.containerFlow;return i.call(n,e,r)},strong:er,text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){let r=(et(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}};function ei(e){let t=e._align;(0,a.ok)(t,"expected `_align` on table"),this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function eo(e){this.exit(e),this.data.inTable=void 0}function es(e){this.enter({type:"tableRow",children:[]},e)}function el(e){this.exit(e)}function ec(e){this.enter({type:"tableCell",children:[]},e)}function eu(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,ed));let n=this.stack[this.stack.length-1];(0,a.ok)("inlineCode"===n.type),n.value=t,this.exit(e)}function ed(e,t){return"|"===t?t:e}function ep(e){let t=this.stack[this.stack.length-2];(0,a.ok)("listItem"===t.type),t.checked="taskListCheckValueChecked"===e.type}function ef(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1];(0,a.ok)("paragraph"===e.type);let n=e.children[0];if(n&&"text"===n.type){let r;let a=t.children,i=-1;for(;++i0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}eO[43]=eA,eO[45]=eA,eO[46]=eA,eO[95]=eA,eO[72]=[eA,eS],eO[104]=[eA,eS],eO[87]=[eA,eT],eO[119]=[eA,eT];var eR=n(23402),eN=n(42761);let eL={tokenize:function(e,t,n){let r=this;return(0,eN.f)(e,function(e){let a=r.events[r.events.length-1];return a&&"gfmFootnoteDefinitionIndent"===a[1].type&&4===a[2].sliceSerialize(a[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function eD(e,t,n){let r;let a=this,i=a.events.length,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);for(;i--;){let e=a.events[i][1];if("labelImage"===e.type){r=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(i){if(!r||!r._balanced)return n(i);let s=(0,v.d)(a.sliceSerialize({start:r.end,end:a.now()}));return 94===s.codePointAt(0)&&o.includes(s.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(i),e.exit("gfmFootnoteCallLabelMarker"),t(i)):n(i)}}function eP(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;let i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",a,t],["exit",a,t],["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function eM(e,t,n){let r;let a=this,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),s=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),l};function l(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(l){if(s>999||93===l&&!r||null===l||91===l||(0,i.z3)(l))return n(l);if(93===l){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return o.includes((0,v.d)(a.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(l)}return(0,i.z3)(l)||(r=!0),s++,e.consume(l),92===l?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function eF(e,t,n){let r,a;let o=this,s=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]),l=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(t)}function u(t){if(l>999||93===t&&!a||null===t||91===t||(0,i.z3)(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return r=(0,v.d)(o.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return(0,i.z3)(t)||(a=!0),l++,e.consume(t),92===t?d:u}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}function p(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s.includes(r)||s.push(r),(0,eN.f)(e,f,"gfmFootnoteDefinitionWhitespace")):n(t)}function f(e){return t(e)}}function eB(e,t,n){return e.check(eR.w,t,e.attempt(eL,t,n))}function ej(e){e.exit("gfmFootnoteDefinition")}var eU=n(21905),eG=n(62987),eH=n(63233);class e${constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let a=0;if(0!==n||0!==r.length){for(;a0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function ez(e,t,n){let r;let a=this,o=0,s=0;return function(e){let t=a.events.length-1;for(;t>-1;){let e=a.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let r=t>-1?a.events[t][1].type:null,i="tableHead"===r||"tableRow"===r?E:l;return i===E&&a.parser.lazy[a.now().line]?n(e):i(e)};function l(t){return e.enter("tableHead"),e.enter("tableRow"),124===t||(r=!0,s+=1),c(t)}function c(t){return null===t?n(t):(0,i.Ch)(t)?s>1?(s=0,a.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p):n(t):(0,i.xz)(t)?(0,eN.f)(e,c,"whitespace")(t):(s+=1,r&&(r=!1,o+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,c):(e.enter("data"),u(t))}function u(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),c(t)):(e.consume(t),92===t?d:u)}function d(t){return 92===t||124===t?(e.consume(t),u):u(t)}function p(t){return(a.interrupt=!1,a.parser.lazy[a.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,(0,i.xz)(t))?(0,eN.f)(e,f,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):f(t)}function f(t){return 45===t||58===t?m(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),h):n(t)}function h(t){return(0,i.xz)(t)?(0,eN.f)(e,m,"whitespace")(t):m(t)}function m(t){return 58===t?(s+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),g):45===t?(s+=1,g(t)):null===t||(0,i.Ch)(t)?y(t):n(t)}function g(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),b):(e.exit("tableDelimiterFiller"),b(n))}(t)):n(t)}function b(t){return(0,i.xz)(t)?(0,eN.f)(e,y,"whitespace")(t):y(t)}function y(a){return 124===a?f(a):null===a||(0,i.Ch)(a)?r&&o===s?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(a)):n(a):n(a)}function E(t){return e.enter("tableRow"),v(t)}function v(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),v):null===n||(0,i.Ch)(n)?(e.exit("tableRow"),t(n)):(0,i.xz)(n)?(0,eN.f)(e,v,"whitespace")(n):(e.enter("data"),T(n))}function T(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),v(t)):(e.consume(t),92===t?S:T)}function S(t){return 92===t||124===t?(e.consume(t),T):T(t)}}function eZ(e,t){let n,r,a,i=-1,o=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,d=0,p=new e$;for(;++in[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",o,t]])}return void 0!==a&&(i.end=Object.assign({},eY(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function eV(e,t,n,r,a){let i=[],o=eY(t.events,n);a&&(a.end=Object.assign({},o),i.push(["exit",a,t])),r.end=Object.assign({},o),i.push(["exit",r,t]),e.add(n+1,0,i)}function eY(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}let eq={name:"tasklistCheck",tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),a):n(t)};function a(t){return(0,i.z3)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(t)}function s(r){return(0,i.Ch)(r)?t(r):(0,i.xz)(r)?e.check({tokenize:eK},t,n)(r):n(r)}}};function eK(e,t,n){return(0,eN.f)(e,function(e){return null===e?n(e):t(e)},"whitespace")}let eX={};function eQ(e){let t=e||eX,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),i=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push((0,em.W)([{text:eO},{document:{91:{name:"gfmFootnoteDefinition",tokenize:eF,continuation:{tokenize:eB},exit:ej}},text:{91:{name:"gfmFootnoteCall",tokenize:eM},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:eD,resolveTo:eP}}},function(e){let t=(e||{}).singleTilde,n={name:"strikethrough",tokenize:function(e,n,r){let a=this.previous,i=this.events,o=0;return function(s){return 126===a&&"characterEscape"!==i[i.length-1][1].type?r(s):(e.enter("strikethroughSequenceTemporary"),function i(s){let l=(0,eG.r)(a);if(126===s)return o>1?r(s):(e.consume(s),o++,i);if(o<2&&!t)return r(s);let c=e.exit("strikethroughSequenceTemporary"),u=(0,eG.r)(s);return c._open=!u||2===u&&!!l,c._close=!l||2===l&&!!u,n(s)}(s))}},resolveAll:function(e,t){let n=-1;for(;++nl&&(l=e[c].length);++ds[d])&&(s[d]=e)}n.push(i)}i[c]=n,o[c]=a}let d=-1;if("object"==typeof n&&"length"in n)for(;++ds[d]&&(s[d]=i),f[d]=i),p[d]=o}i.splice(1,0,p),o.splice(1,0,f),c=-1;let h=[];for(;++c","Iacute":"\xcd","Icirc":"\xce","Igrave":"\xcc","Iuml":"\xcf","LT":"<","Ntilde":"\xd1","Oacute":"\xd3","Ocirc":"\xd4","Ograve":"\xd2","Oslash":"\xd8","Otilde":"\xd5","Ouml":"\xd6","QUOT":"\\"","REG":"\xae","THORN":"\xde","Uacute":"\xda","Ucirc":"\xdb","Ugrave":"\xd9","Uuml":"\xdc","Yacute":"\xdd","aacute":"\xe1","acirc":"\xe2","acute":"\xb4","aelig":"\xe6","agrave":"\xe0","amp":"&","aring":"\xe5","atilde":"\xe3","auml":"\xe4","brvbar":"\xa6","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","eacute":"\xe9","ecirc":"\xea","egrave":"\xe8","eth":"\xf0","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","iacute":"\xed","icirc":"\xee","iexcl":"\xa1","igrave":"\xec","iquest":"\xbf","iuml":"\xef","laquo":"\xab","lt":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","ntilde":"\xf1","oacute":"\xf3","ocirc":"\xf4","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","oslash":"\xf8","otilde":"\xf5","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","raquo":"\xbb","reg":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","thorn":"\xfe","times":"\xd7","uacute":"\xfa","ucirc":"\xfb","ugrave":"\xf9","uml":"\xa8","uuml":"\xfc","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')}},function(e){e.O(0,[3662,7034,6106,8674,3166,2837,2168,8163,1265,7728,2913,3791,5278,9859,4330,4041,8791,5030,5418,2783,3457,1300,4567,2398,2480,7410,7124,9773,4035,1154,2510,3345,9202,1585,7249,3768,5789,9774,2888,179],function(){return e(e.s=15531)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/app/extra/components/auto-plan/DetailsCard-e86f4e05d8d023d6.js b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/app/extra/components/auto-plan/DetailsCard-ff2ef99799f94c82.js similarity index 99% rename from packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/app/extra/components/auto-plan/DetailsCard-e86f4e05d8d023d6.js rename to packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/app/extra/components/auto-plan/DetailsCard-ff2ef99799f94c82.js index c83640d04..026bdd59d 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/app/extra/components/auto-plan/DetailsCard-e86f4e05d8d023d6.js +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/app/extra/components/auto-plan/DetailsCard-ff2ef99799f94c82.js @@ -1,4 +1,4 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6864,9618,6231,8424,5265,2640,3913,952],{11475:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},27496:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},94668:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},34971:function(e,t){"use strict";t.Z=function(e,t,n){return en?n:e}},24960:function(e,t,n){"use strict";var r=n(44002);t.Z=function(e){return Array.isArray?Array.isArray(e):(0,r.Z)(e,"Array")}},52176:function(e,t,n){"use strict";var r=n(44002);t.Z=function(e){return(0,r.Z)(e,"Boolean")}},55265:function(e,t){"use strict";t.Z=function(e){return"function"==typeof e}},82993:function(e,t){"use strict";t.Z=function(e){return null==e}},23198:function(e,t,n){"use strict";function r(e,t,n){return void 0===n&&(n=1e-5),Math.abs(e-t)1&&(E*=C=Math.sqrt(C),v*=C);var w=E*E,I=v*v,R=(o===l?-1:1)*Math.sqrt(Math.abs((w*I-w*x*x-I*k*k)/(w*x*x+I*k*k)));m=R*E*x/v+(b+T)/2,g=-(R*v)*k/E+(y+S)/2,f=Math.asin(((y-g)/v*1e9>>0)/1e9),h=Math.asin(((S-g)/v*1e9>>0)/1e9),f=bh&&(f-=2*Math.PI),!l&&h>f&&(h-=2*Math.PI)}var N=h-f;if(Math.abs(N)>A){var L=h,D=T,P=S;_=e(T=m+E*Math.cos(h=f+A*(l&&h>f?1:-1)),S=g+v*Math.sin(h),E,v,i,0,l,D,P,[h,L,m,g])}N=h-f;var M=Math.cos(f),F=Math.cos(h),B=Math.tan(N/4),j=4/3*E*B,U=4/3*v*B,G=[b,y],H=[b+j*Math.sin(f),y-U*M],$=[T+j*Math.sin(h),S-U*F],z=[T,S];if(H[0]=2*G[0]-H[0],H[1]=2*G[1]-H[1],d)return H.concat($,z,_);_=H.concat($,z,_);for(var Z=[],W=0,V=_.length;W7){e[n].shift();for(var r=e[n],a=n;r.length;)t[n]="A",e.splice(a+=1,0,["C"].concat(r.splice(0,6)));e.splice(n,1)}}(d,f,b),m=d.length,"Z"===h&&g.push(b),l=(n=d[b]).length,p.x1=+n[l-2],p.y1=+n[l-1],p.x2=+n[l-4]||p.x1,p.y2=+n[l-3]||p.y1}return t?[d,g]:d}},19586:function(e,t,n){"use strict";n.d(t,{R:function(){return r}});var r={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0}},33554:function(e,t,n){"use strict";n.d(t,{z:function(){return r}});var r={x1:0,y1:0,x2:0,y2:0,x:0,y:0,qx:null,qy:null}},54947:function(e,t,n){"use strict";function r(e){return e.map(function(e){return Array.isArray(e)?[].concat(e):e})}n.d(t,{U:function(){return r}})},94918:function(e,t,n){"use strict";n.d(t,{A:function(){return f}});var r=n(97582),a=n(65336),i=n(33554),o=n(60310),s=n(97153),l=n(19586);function c(e){for(var t=e.pathValue[e.segmentStart],n=t.toLowerCase(),r=e.data;r.length>=l.R[n]&&("m"===n&&r.length>2?(e.segments.push([t].concat(r.splice(0,2))),n="l",t="m"===t?"l":"L"):e.segments.push([t].concat(r.splice(0,l.R[n]))),l.R[n]););}function u(e){return e>=48&&e<=57}function d(e){for(var t,n=e.pathValue,r=e.max;e.index=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].includes(t));)e.index+=1}var p=function(e){this.pathValue=e,this.segments=[],this.max=e.length,this.index=0,this.param=0,this.segmentStart=0,this.data=[],this.err=""};function f(e){if((0,a.y)(e))return[].concat(e);for(var t=function(e){if((0,o.b)(e))return[].concat(e);var t=function(e){if((0,s.n)(e))return[].concat(e);var t=new p(e);for(d(t);t.index0;s-=1){if((32|a)==97&&(3===s||4===s)?function(e){var t=e.index,n=e.pathValue,r=n.charCodeAt(t);if(48===r){e.param=0,e.index+=1;return}if(49===r){e.param=1,e.index+=1;return}e.err='[path-util]: invalid Arc flag "'+n[t]+'", expecting 0 or 1 at index '+t}(e):function(e){var t,n=e.max,r=e.pathValue,a=e.index,i=a,o=!1,s=!1,l=!1,c=!1;if(i>=n){e.err="[path-util]: Invalid path value at index "+i+', "pathValue" is missing param';return}if((43===(t=r.charCodeAt(i))||45===t)&&(i+=1,t=r.charCodeAt(i)),!u(t)&&46!==t){e.err="[path-util]: Invalid path value at index "+i+', "'+r[i]+'" is not a number';return}if(46!==t){if(o=48===t,i+=1,t=r.charCodeAt(i),o&&i=e.max||!((o=n.charCodeAt(e.index))>=48&&o<=57||43===o||45===o||46===o))break}c(e)}(t);return t.err?t.err:t.segments}(e),n=0,r=0,a=0,i=0;return t.map(function(e){var t,o=e.slice(1).map(Number),s=e[0],l=s.toUpperCase();if("M"===s)return n=o[0],r=o[1],a=n,i=r,["M",n,r];if(s!==l)switch(l){case"A":t=[l,o[0],o[1],o[2],o[3],o[4],o[5]+n,o[6]+r];break;case"V":t=[l,o[0]+r];break;case"H":t=[l,o[0]+n];break;default:t=[l].concat(o.map(function(e,t){return e+(t%2?r:n)}))}else t=[l].concat(o);var c=t.length;switch(l){case"Z":n=a,r=i;break;case"H":n=t[1];break;case"V":r=t[1];break;default:n=t[c-2],r=t[c-1],"M"===l&&(a=n,i=r)}return t})}(e),n=(0,r.pi)({},i.z),f=0;f=h[t],m[t]-=g?1:0,g?e.ss:[e.s]}).flat()});return b[0].length===b[1].length?b:e(b[0],b[1],f)}}});var r=n(50944),a=n(51777);function i(e){return e.map(function(e,t,n){var i,o,s,l,c,u,d,p,f,h,m,g,b=t&&n[t-1].slice(-2).concat(e.slice(1)),y=t?(0,a.S)(b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7],b[8],{bbox:!1}).length:0;return g=t?y?(void 0===i&&(i=.5),o=b.slice(0,2),s=b.slice(2,4),l=b.slice(4,6),c=b.slice(6,8),u=(0,r.k)(o,s,i),d=(0,r.k)(s,l,i),p=(0,r.k)(l,c,i),f=(0,r.k)(u,d,i),h=(0,r.k)(d,p,i),m=(0,r.k)(f,h,i),[["C"].concat(u,f,m),["C"].concat(h,p,c)]):[e,e]:[e],{s:e,ss:g,l:y}})}},46516:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var r=n(27872);function a(e){var t,n,a;return t=0,n=0,a=0,(0,r.Y)(e).map(function(e){if("M"===e[0])return t=e[1],n=e[2],0;var r,i,o,s=e.slice(1),l=s[0],c=s[1],u=s[2],d=s[3],p=s[4],f=s[5];return i=t,a=3*((f-(o=n))*(l+u)-(p-i)*(c+d)+c*(i-u)-l*(o-d)+f*(u+i/3)-p*(d+o/3))/20,t=(r=e.slice(-2))[0],n=r[1],a}).reduce(function(e,t){return e+t},0)>=0}},90046:function(e,t,n){"use strict";n.d(t,{r:function(){return i}});var r=n(97582),a=n(10992);function i(e,t,n){return(0,a.s)(e,t,(0,r.pi)((0,r.pi)({},n),{bbox:!1,length:!0})).point}},91952:function(e,t,n){"use strict";n.d(t,{g:function(){return a}});var r=n(58076);function a(e,t){var n,a,i=e.length-1,o=[],s=0,l=(a=(n=e.length)-1,e.map(function(t,r){return e.map(function(t,i){var o=r+i;return 0===i||e[o]&&"M"===e[o][0]?["M"].concat(e[o].slice(-2)):(o>=n&&(o-=a),e[o])})}));return l.forEach(function(n,a){e.slice(1).forEach(function(n,o){s+=(0,r.y)(e[(a+o)%i].slice(-2),t[o%i].slice(-2))}),o[a]=s,s=0}),l[o.indexOf(Math.min.apply(null,o))]}},62436:function(e,t,n){"use strict";n.d(t,{D:function(){return i}});var r=n(97582),a=n(10992);function i(e,t){return(0,a.s)(e,void 0,(0,r.pi)((0,r.pi)({},t),{bbox:!1,length:!0})).length}},60310:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var r=n(97153);function a(e){return(0,r.n)(e)&&e.every(function(e){var t=e[0];return t===t.toUpperCase()})}},65336:function(e,t,n){"use strict";n.d(t,{y:function(){return a}});var r=n(60310);function a(e){return(0,r.b)(e)&&e.every(function(e){var t=e[0];return"ACLMQZ".includes(t)})}},97153:function(e,t,n){"use strict";n.d(t,{n:function(){return a}});var r=n(19586);function a(e){return Array.isArray(e)&&e.every(function(e){var t=e[0].toLowerCase();return r.R[t]===e.length-1&&"achlmqstvz".includes(t)})}},50944:function(e,t,n){"use strict";function r(e,t,n){var r=e[0],a=e[1];return[r+(t[0]-r)*n,a+(t[1]-a)*n]}n.d(t,{k:function(){return r}})},10992:function(e,t,n){"use strict";n.d(t,{s:function(){return c}});var r=n(94918),a=n(50944),i=n(58076);function o(e,t,n,r,o){var s=(0,i.y)([e,t],[n,r]),l={x:0,y:0};if("number"==typeof o){if(o<=0)l={x:e,y:t};else if(o>=s)l={x:n,y:r};else{var c=(0,a.k)([e,t],[n,r],o/s);l={x:c[0],y:c[1]}}}return{length:s,point:l,min:{x:Math.min(e,n),y:Math.min(t,r)},max:{x:Math.max(e,n),y:Math.max(t,r)}}}function s(e,t){var n=e.x,r=e.y,a=t.x,i=t.y,o=Math.sqrt((Math.pow(n,2)+Math.pow(r,2))*(Math.pow(a,2)+Math.pow(i,2)));return(n*i-r*a<0?-1:1)*Math.acos((n*a+r*i)/o)}var l=n(51777);function c(e,t,n){for(var a,c,u,d,p,f,h,m,g,b=(0,r.A)(e),y="number"==typeof t,E=[],v=0,T=0,S=0,A=0,O=[],_=[],k=0,x={x:0,y:0},C=x,w=x,I=x,R=0,N=0,L=b.length;N1&&(b*=m(A),y*=m(A));var O=(Math.pow(b,2)*Math.pow(y,2)-Math.pow(b,2)*Math.pow(S.y,2)-Math.pow(y,2)*Math.pow(S.x,2))/(Math.pow(b,2)*Math.pow(S.y,2)+Math.pow(y,2)*Math.pow(S.x,2)),_=(i!==l?1:-1)*m(O=O<0?0:O),k={x:_*(b*S.y/y),y:_*(-(y*S.x)/b)},x={x:h(E)*k.x-f(E)*k.y+(e+c)/2,y:f(E)*k.x+h(E)*k.y+(t+u)/2},C={x:(S.x-k.x)/b,y:(S.y-k.y)/y},w=s({x:1,y:0},C),I=s(C,{x:(-S.x-k.x)/b,y:(-S.y-k.y)/y});!l&&I>0?I-=2*g:l&&I<0&&(I+=2*g);var R=w+(I%=2*g)*d,N=b*h(R),L=y*f(R);return{x:h(E)*N-f(E)*L+x.x,y:f(E)*N+h(E)*L+x.y}}(e,t,n,r,a,l,c,u,d,w/v)).x,A=h.y,g&&C.push({x:S,y:A}),y&&(O+=(0,i.y)(k,[S,A])),k=[S,A],T&&O>=p&&p>_[2]){var I=(O-p)/(O-_[2]);x={x:k[0]*(1-I)+_[0]*I,y:k[1]*(1-I)+_[1]*I}}_=[S,A,O]}return T&&p>=O&&(x={x:u,y:d}),{length:O,point:x,min:{x:Math.min.apply(null,C.map(function(e){return e.x})),y:Math.min.apply(null,C.map(function(e){return e.y}))},max:{x:Math.max.apply(null,C.map(function(e){return e.x})),y:Math.max.apply(null,C.map(function(e){return e.y}))}}}(E[0],E[1],E[2],E[3],E[4],E[5],E[6],E[7],E[8],(t||0)-R,n||{})).length,x=c.min,C=c.max,w=c.point):"C"===m?(k=(u=(0,l.S)(E[0],E[1],E[2],E[3],E[4],E[5],E[6],E[7],(t||0)-R,n||{})).length,x=u.min,C=u.max,w=u.point):"Q"===m?(k=(d=function(e,t,n,r,a,o,s,l){var c,u=l.bbox,d=void 0===u||u,p=l.length,f=void 0===p||p,h=l.sampleSize,m=void 0===h?10:h,g="number"==typeof s,b=e,y=t,E=0,v=[b,y,0],T=[b,y],S={x:0,y:0},A=[{x:b,y:y}];g&&s<=0&&(S={x:b,y:y});for(var O=0;O<=m;O+=1){if(b=(c=function(e,t,n,r,a,i,o){var s=1-o;return{x:Math.pow(s,2)*e+2*s*o*n+Math.pow(o,2)*a,y:Math.pow(s,2)*t+2*s*o*r+Math.pow(o,2)*i}}(e,t,n,r,a,o,O/m)).x,y=c.y,d&&A.push({x:b,y:y}),f&&(E+=(0,i.y)(T,[b,y])),T=[b,y],g&&E>=s&&s>v[2]){var _=(E-s)/(E-v[2]);S={x:T[0]*(1-_)+v[0]*_,y:T[1]*(1-_)+v[1]*_}}v=[b,y,E]}return g&&s>=E&&(S={x:a,y:o}),{length:E,point:S,min:{x:Math.min.apply(null,A.map(function(e){return e.x})),y:Math.min.apply(null,A.map(function(e){return e.y}))},max:{x:Math.max.apply(null,A.map(function(e){return e.x})),y:Math.max.apply(null,A.map(function(e){return e.y}))}}}(E[0],E[1],E[2],E[3],E[4],E[5],(t||0)-R,n||{})).length,x=d.min,C=d.max,w=d.point):"Z"===m&&(k=(p=o((E=[v,T,S,A])[0],E[1],E[2],E[3],(t||0)-R)).length,x=p.min,C=p.max,w=p.point),y&&R=t&&(I=w),_.push(C),O.push(x),R+=k,v=(f="Z"!==m?g.slice(-2):[S,A])[0],T=f[1];return y&&t>=R&&(I={x:v,y:T}),{length:R,point:I,min:{x:Math.min.apply(null,O.map(function(e){return e.x})),y:Math.min.apply(null,O.map(function(e){return e.y}))},max:{x:Math.max.apply(null,_.map(function(e){return e.x})),y:Math.max.apply(null,_.map(function(e){return e.y}))}}}},51777:function(e,t,n){"use strict";n.d(t,{S:function(){return a}});var r=n(58076);function a(e,t,n,a,i,o,s,l,c,u){var d,p=u.bbox,f=void 0===p||p,h=u.length,m=void 0===h||h,g=u.sampleSize,b=void 0===g?10:g,y="number"==typeof c,E=e,v=t,T=0,S=[E,v,0],A=[E,v],O={x:0,y:0},_=[{x:E,y:v}];y&&c<=0&&(O={x:E,y:v});for(var k=0;k<=b;k+=1){if(E=(d=function(e,t,n,r,a,i,o,s,l){var c=1-l;return{x:Math.pow(c,3)*e+3*Math.pow(c,2)*l*n+3*c*Math.pow(l,2)*a+Math.pow(l,3)*o,y:Math.pow(c,3)*t+3*Math.pow(c,2)*l*r+3*c*Math.pow(l,2)*i+Math.pow(l,3)*s}}(e,t,n,a,i,o,s,l,k/b)).x,v=d.y,f&&_.push({x:E,y:v}),m&&(T+=(0,r.y)(A,[E,v])),A=[E,v],y&&T>=c&&c>S[2]){var x=(T-c)/(T-S[2]);O={x:A[0]*(1-x)+S[0]*x,y:A[1]*(1-x)+S[1]*x}}S=[E,v,T]}return y&&c>=T&&(O={x:s,y:l}),{length:T,point:O,min:{x:Math.min.apply(null,_.map(function(e){return e.x})),y:Math.min.apply(null,_.map(function(e){return e.y}))},max:{x:Math.max.apply(null,_.map(function(e){return e.x})),y:Math.max.apply(null,_.map(function(e){return e.y}))}}}},4503:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function i(e,t,r,i,o){if("function"!=typeof r)throw TypeError("The listener must be a function");var s=new a(r,i||e,o),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function o(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,a=[];if(0===this._eventsCount)return a;for(r in e=this._events)t.call(e,r)&&a.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?a.concat(Object.getOwnPropertySymbols(e)):a},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var a=0,i=r.length,o=Array(i);at.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let o="text/event-stream",s="last-event-id";function l(e,t){var{signal:n,headers:l,onopen:u,onmessage:d,onclose:p,onerror:f,openWhenHidden:h,fetch:m}=t,g=i(t,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((t,i)=>{let b;let y=Object.assign({},l);function E(){b.abort(),document.hidden||_()}y.accept||(y.accept=o),h||document.addEventListener("visibilitychange",E);let v=1e3,T=0;function S(){document.removeEventListener("visibilitychange",E),window.clearTimeout(T),b.abort()}null==n||n.addEventListener("abort",()=>{S(),t()});let A=null!=m?m:window.fetch,O=null!=u?u:c;async function _(){var n,o;b=new AbortController;try{let n,i,l,c;let u=await A(e,Object.assign(Object.assign({},g),{headers:y,signal:b.signal}));await O(u),await r(u.body,(o=function(e,t,n){let r=a(),i=new TextDecoder;return function(o,s){if(0===o.length)null==n||n(r),r=a();else if(s>0){let n=i.decode(o.subarray(0,s)),a=s+(32===o[s+1]?2:1),l=i.decode(o.subarray(a));switch(n){case"data":r.data=r.data?r.data+"\n"+l:l;break;case"event":r.event=l;break;case"id":e(r.id=l);break;case"retry":let c=parseInt(l,10);isNaN(c)||t(r.retry=c)}}}}(e=>{e?y[s]=e:delete y[s]},e=>{v=e},d),c=!1,function(e){void 0===n?(n=e,i=0,l=-1):n=function(e,t){let n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}(n,e);let t=n.length,r=0;for(;i=n?k.text.primary:_.text.primary;return t}let w=({color:e,name:t,mainShade:n=500,lightShade:i=300,darkShade:o=700})=>{if(!(e=(0,r.Z)({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw Error((0,u.Z)(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw Error((0,u.Z)(12,t?` (${t})`:"",JSON.stringify(e.main)));return x(e,"light",i,a),x(e,"dark",o,a),e.contrastText||(e.contrastText=C(e.main)),e},I=(0,d.Z)((0,r.Z)({common:(0,r.Z)({},g),mode:t,primary:w({color:s,name:"primary"}),secondary:w({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:w({color:c,name:"error"}),warning:w({color:h,name:"warning"}),info:w({color:p,name:"info"}),success:w({color:f,name:"success"}),grey:b,contrastThreshold:n,getContrastText:C,augmentColor:w,tonalOffset:a},{dark:k,light:_}[t]),o);return I}(a),R=(0,h.Z)(e),U=(0,d.Z)(R,{mixins:(t=R.breakpoints,(0,r.Z)({toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}}},n)),palette:c,shadows:N.slice(),typography:function(e,t){let n="function"==typeof t?t(e):t,{fontFamily:a=I,fontSize:o=14,fontWeightLight:s=300,fontWeightRegular:l=400,fontWeightMedium:c=500,fontWeightBold:u=700,htmlFontSize:p=16,allVariants:f,pxToRem:h}=n,m=(0,i.Z)(n,C),g=o/14,b=h||(e=>`${e/p*g}rem`),y=(e,t,n,i,o)=>(0,r.Z)({fontFamily:a,fontWeight:e,fontSize:b(t),lineHeight:n},a===I?{letterSpacing:`${Math.round(1e5*(i/t))/1e5}em`}:{},o,f),E={h1:y(s,96,1.167,-1.5),h2:y(s,60,1.2,-.5),h3:y(l,48,1.167,0),h4:y(l,34,1.235,.25),h5:y(l,24,1.334,0),h6:y(c,20,1.6,.15),subtitle1:y(l,16,1.75,.15),subtitle2:y(c,14,1.57,.1),body1:y(l,16,1.5,.15),body2:y(l,14,1.43,.15),button:y(c,14,1.75,.4,w),caption:y(l,12,1.66,.4),overline:y(l,12,2.66,1,w),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,d.Z)((0,r.Z)({htmlFontSize:p,pxToRem:b,fontFamily:a,fontSize:o,fontWeightLight:s,fontWeightRegular:l,fontWeightMedium:c,fontWeightBold:u},E),m,{clone:!1})}(c,s),transitions:function(e){let t=(0,r.Z)({},D,e.easing),n=(0,r.Z)({},P,e.duration);return(0,r.Z)({getAutoHeightDuration:F,create:(e=["all"],r={})=>{let{duration:a=n.standard,easing:o=t.easeInOut,delay:s=0}=r;return(0,i.Z)(r,L),(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof a?a:M(a)} ${o} ${"string"==typeof s?s:M(s)}`).join(",")}},e,{easing:t,duration:n})}(o),zIndex:(0,r.Z)({},B)});return(U=[].reduce((e,t)=>(0,d.Z)(e,t),U=(0,d.Z)(U,l))).unstable_sxConfig=(0,r.Z)({},p.Z,null==l?void 0:l.unstable_sxConfig),U.unstable_sx=function(e){return(0,f.Z)({sx:e,theme:this})},U}();var G="$$material",H=n(58128);let $=(0,H.ZP)({themeId:G,defaultTheme:U,rootShouldForwardProp:e=>"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e&&"classes"!==e});var z=n(1977),Z=n(8027);function W(e){return(0,Z.ZP)("MuiSvgIcon",e)}(0,z.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var V=n(85893);let Y=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],q=e=>{let{color:t,fontSize:n,classes:r}=e,a={root:["root","inherit"!==t&&`color${l(t)}`,`fontSize${l(n)}`]};return(0,s.Z)(a,W,r)},K=$("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${l(n.color)}`],t[`fontSize${l(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,a,i,o,s,l,c,u,d,p,f,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(a=e.transitions)||null==(a=a.duration)?void 0:a.shorter}),fontSize:({inherit:"inherit",small:(null==(i=e.typography)||null==(o=i.pxToRem)?void 0:o.call(i,20))||"1.25rem",medium:(null==(s=e.typography)||null==(l=s.pxToRem)?void 0:l.call(s,24))||"1.5rem",large:(null==(c=e.typography)||null==(u=c.pxToRem)?void 0:u.call(c,35))||"2.1875rem"})[t.fontSize],color:null!=(d=null==(p=(e.vars||e).palette)||null==(p=p[t.color])?void 0:p.main)?d:({action:null==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.active,disabled:null==(h=(e.vars||e).palette)||null==(h=h.action)?void 0:h.disabled,inherit:void 0})[t.color]}}),X=a.forwardRef(function(e,t){let n=function({props:e,name:t}){return(0,c.Z)({props:e,name:t,defaultTheme:U,themeId:G})}({props:e,name:"MuiSvgIcon"}),{children:s,className:l,color:u="inherit",component:d="svg",fontSize:p="medium",htmlColor:f,inheritViewBox:h=!1,titleAccess:m,viewBox:g="0 0 24 24"}=n,b=(0,i.Z)(n,Y),y=a.isValidElement(s)&&"svg"===s.type,E=(0,r.Z)({},n,{color:u,component:d,fontSize:p,instanceFontSize:e.fontSize,inheritViewBox:h,viewBox:g,hasSvgAsChild:y}),v={};h||(v.viewBox=g);let T=q(E);return(0,V.jsxs)(K,(0,r.Z)({as:d,className:(0,o.Z)(T.root,l),focusable:"false",color:f,"aria-hidden":!m||void 0,role:m?"img":void 0,ref:t},v,b,y&&s.props,{ownerState:E,children:[y?s.props.children:s,m?(0,V.jsx)("title",{children:m}):null]}))});function Q(e,t){function n(n,a){return(0,V.jsx)(X,(0,r.Z)({"data-testid":`${t}Icon`,ref:a},n,{children:e}))}return n.muiName=X.muiName,a.memo(a.forwardRef(n))}X.muiName="SvgIcon"},2101:function(e,t,n){"use strict";var r=n(64836);t._j=function(e,t){if(e=s(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return l(e)},t.mi=function(e,t){let n=c(e),r=c(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)},t.$n=function(e,t){if(e=s(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return l(e)};var a=r(n(743)),i=r(n(49425));function o(e,t=0,n=1){return(0,i.default)(e,t,n)}function s(e){let t;if(e.type)return e;if("#"===e.charAt(0))return s(function(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map(e=>e+e)),n?`rgb${4===n.length?"a":""}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));let n=e.indexOf("("),r=e.substring(0,n);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw Error((0,a.default)(9,e));let i=e.substring(n+1,e.length-1);if("color"===r){if(t=(i=i.split(" ")).shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(t))throw Error((0,a.default)(10,t))}else i=i.split(",");return{type:r,values:i=i.map(e=>parseFloat(e)),colorSpace:t}}function l(e){let{type:t,colorSpace:n}=e,{values:r}=e;return -1!==t.indexOf("rgb")?r=r.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),`${t}(${r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`})`}function c(e){let t="hsl"===(e=s(e)).type||"hsla"===e.type?s(function(e){e=s(e);let{values:t}=e,n=t[0],r=t[1]/100,a=t[2]/100,i=r*Math.min(a,1-a),o=(e,t=(e+n/30)%12)=>a-i*Math.max(Math.min(t-3,9-t,1),-1),c="rgb",u=[Math.round(255*o(0)),Math.round(255*o(8)),Math.round(255*o(4))];return"hsla"===e.type&&(c+="a",u.push(t[3])),l({type:c,values:u})}(e)).values:e.values;return Number((.2126*(t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)))[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}},58128:function(e,t,n){"use strict";var r=n(64836);t.ZP=function(e={}){let{themeId:t,defaultTheme:n=m,rootShouldForwardProp:r=h,slotShouldForwardProp:l=h}=e,u=e=>(0,c.default)((0,a.default)({},e,{theme:b((0,a.default)({},e,{defaultTheme:n,themeId:t}))}));return u.__mui_systemSx=!0,(e,c={})=>{var d;let f;(0,o.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));let{name:m,slot:E,skipVariantsResolver:v,skipSx:T,overridesResolver:S=(d=g(E))?(e,t)=>t[d]:null}=c,A=(0,i.default)(c,p),O=void 0!==v?v:E&&"Root"!==E&&"root"!==E||!1,_=T||!1,k=h;"Root"===E||"root"===E?k=r:E?k=l:"string"==typeof e&&e.charCodeAt(0)>96&&(k=void 0);let x=(0,o.default)(e,(0,a.default)({shouldForwardProp:k,label:f},A)),C=e=>"function"==typeof e&&e.__emotion_real!==e||(0,s.isPlainObject)(e)?r=>y(e,(0,a.default)({},r,{theme:b({theme:r.theme,defaultTheme:n,themeId:t})})):e,w=(r,...i)=>{let o=C(r),s=i?i.map(C):[];m&&S&&s.push(e=>{let r=b((0,a.default)({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[m]||!r.components[m].styleOverrides)return null;let i=r.components[m].styleOverrides,o={};return Object.entries(i).forEach(([t,n])=>{o[t]=y(n,(0,a.default)({},e,{theme:r}))}),S(e,o)}),m&&!O&&s.push(e=>{var r;let i=b((0,a.default)({},e,{defaultTheme:n,themeId:t})),o=null==i||null==(r=i.components)||null==(r=r[m])?void 0:r.variants;return y({variants:o},(0,a.default)({},e,{theme:i}))}),_||s.push(u);let l=s.length-i.length;if(Array.isArray(r)&&l>0){let e=Array(l).fill("");(o=[...r,...e]).raw=[...r.raw,...e]}let c=x(o,...s);return e.muiName&&(c.muiName=e.muiName),c};return x.withConfig&&(w.withConfig=x.withConfig),w}};var a=r(n(10434)),i=r(n(7071)),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(23534)),s=n(211);r(n(99698)),r(n(37889));var l=r(n(19926)),c=r(n(386));let u=["ownerState"],d=["variants"],p=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function h(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}let m=(0,l.default)(),g=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function b({defaultTheme:e,theme:t,themeId:n}){return 0===Object.keys(t).length?e:t[n]||t}function y(e,t){let{ownerState:n}=t,r=(0,i.default)(t,u),o="function"==typeof e?e((0,a.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(e=>y(e,(0,a.default)({ownerState:n},r)));if(o&&"object"==typeof o&&Array.isArray(o.variants)){let{variants:e=[]}=o,t=(0,i.default)(o,d),s=t;return e.forEach(e=>{let t=!0;"function"==typeof e.props?t=e.props((0,a.default)({ownerState:n},r,n)):Object.keys(e.props).forEach(a=>{(null==n?void 0:n[a])!==e.props[a]&&r[a]!==e.props[a]&&(t=!1)}),t&&(Array.isArray(s)||(s=[s]),s.push("function"==typeof e.style?e.style((0,a.default)({ownerState:n},r,n)):e.style))}),s}return o}},19926:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},private_createBreakpoints:function(){return a.Z},unstable_applyStyles:function(){return i.Z}});var r=n(88647),a=n(41512),i=n(57064)},386:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},extendSxProp:function(){return a.Z},unstable_createStyleFunctionSx:function(){return r.n},unstable_defaultSxConfig:function(){return i.Z}});var r=n(86523),a=n(39707),i=n(44920)},99698:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(62908)},49425:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r}});var r=function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}},211:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},isPlainObject:function(){return r.P}});var r=n(68027)},743:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(78758)},37889:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return l},getFunctionName:function(){return i}});var r=n(59864);let a=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function i(e){let t=`${e}`.match(a),n=t&&t[1];return n||""}function o(e,t=""){return e.displayName||e.name||i(e)||t}function s(e,t,n){let r=o(t);return e.displayName||(""!==r?`${n}(${r})`:n)}function l(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return o(e,"Component");if("object"==typeof e)switch(e.$$typeof){case r.ForwardRef:return s(e,e.render,"ForwardRef");case r.Memo:return s(e,e.type,"memo")}}}},2093:function(e,t,n){"use strict";var r=n(97582),a=n(67294),i=n(92770);t.Z=function(e,t){(0,a.useEffect)(function(){var t=e(),n=!1;return!function(){(0,r.mG)(this,void 0,void 0,function(){return(0,r.Jh)(this,function(e){switch(e.label){case 0:if(!(0,i.mf)(t[Symbol.asyncIterator]))return[3,4];e.label=1;case 1:return[4,t.next()];case 2:if(e.sent().done||n)return[3,3];return[3,1];case 3:return[3,6];case 4:return[4,t];case 5:e.sent(),e.label=6;case 6:return[2]}})})}(),function(){n=!0}},t)}},85265:function(e,t,n){"use strict";n.d(t,{Z:function(){return q}});var r=n(67294),a=n(93967),i=n.n(a),o=n(1413),s=n(97685),l=n(2788),c=n(8410),u=r.createContext(null),d=r.createContext({}),p=n(4942),f=n(87462),h=n(29372),m=n(15105),g=n(64217),b=n(45987),y=n(42550),E=["prefixCls","className","containerRef"],v=function(e){var t=e.prefixCls,n=e.className,a=e.containerRef,o=(0,b.Z)(e,E),s=r.useContext(d).panel,l=(0,y.x1)(s,a);return r.createElement("div",(0,f.Z)({className:i()("".concat(t,"-content"),n),role:"dialog",ref:l},(0,g.Z)(e,{aria:!0}),{"aria-modal":"true"},o))},T=n(80334);function S(e){return"string"==typeof e&&String(Number(e))===e?((0,T.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var A={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"},O=r.forwardRef(function(e,t){var n,a,l,c=e.prefixCls,d=e.open,b=e.placement,y=e.inline,E=e.push,T=e.forceRender,O=e.autoFocus,_=e.keyboard,k=e.classNames,x=e.rootClassName,C=e.rootStyle,w=e.zIndex,I=e.className,R=e.id,N=e.style,L=e.motion,D=e.width,P=e.height,M=e.children,F=e.mask,B=e.maskClosable,j=e.maskMotion,U=e.maskClassName,G=e.maskStyle,H=e.afterOpenChange,$=e.onClose,z=e.onMouseEnter,Z=e.onMouseOver,W=e.onMouseLeave,V=e.onClick,Y=e.onKeyDown,q=e.onKeyUp,K=e.styles,X=e.drawerRender,Q=r.useRef(),J=r.useRef(),ee=r.useRef();r.useImperativeHandle(t,function(){return Q.current}),r.useEffect(function(){if(d&&O){var e;null===(e=Q.current)||void 0===e||e.focus({preventScroll:!0})}},[d]);var et=r.useState(!1),en=(0,s.Z)(et,2),er=en[0],ea=en[1],ei=r.useContext(u),eo=null!==(n=null!==(a=null===(l="boolean"==typeof E?E?{}:{distance:0}:E||{})||void 0===l?void 0:l.distance)&&void 0!==a?a:null==ei?void 0:ei.pushDistance)&&void 0!==n?n:180,es=r.useMemo(function(){return{pushDistance:eo,push:function(){ea(!0)},pull:function(){ea(!1)}}},[eo]);r.useEffect(function(){var e,t;d?null==ei||null===(e=ei.push)||void 0===e||e.call(ei):null==ei||null===(t=ei.pull)||void 0===t||t.call(ei)},[d]),r.useEffect(function(){return function(){var e;null==ei||null===(e=ei.pull)||void 0===e||e.call(ei)}},[]);var el=F&&r.createElement(h.ZP,(0,f.Z)({key:"mask"},j,{visible:d}),function(e,t){var n=e.className,a=e.style;return r.createElement("div",{className:i()("".concat(c,"-mask"),n,null==k?void 0:k.mask,U),style:(0,o.Z)((0,o.Z)((0,o.Z)({},a),G),null==K?void 0:K.mask),onClick:B&&d?$:void 0,ref:t})}),ec="function"==typeof L?L(b):L,eu={};if(er&&eo)switch(b){case"top":eu.transform="translateY(".concat(eo,"px)");break;case"bottom":eu.transform="translateY(".concat(-eo,"px)");break;case"left":eu.transform="translateX(".concat(eo,"px)");break;default:eu.transform="translateX(".concat(-eo,"px)")}"left"===b||"right"===b?eu.width=S(D):eu.height=S(P);var ed={onMouseEnter:z,onMouseOver:Z,onMouseLeave:W,onClick:V,onKeyDown:Y,onKeyUp:q},ep=r.createElement(h.ZP,(0,f.Z)({key:"panel"},ec,{visible:d,forceRender:T,onVisibleChanged:function(e){null==H||H(e)},removeOnLeave:!1,leavedClassName:"".concat(c,"-content-wrapper-hidden")}),function(t,n){var a=t.className,s=t.style,l=r.createElement(v,(0,f.Z)({id:R,containerRef:n,prefixCls:c,className:i()(I,null==k?void 0:k.content),style:(0,o.Z)((0,o.Z)({},N),null==K?void 0:K.content)},(0,g.Z)(e,{aria:!0}),ed),M);return r.createElement("div",(0,f.Z)({className:i()("".concat(c,"-content-wrapper"),null==k?void 0:k.wrapper,a),style:(0,o.Z)((0,o.Z)((0,o.Z)({},eu),s),null==K?void 0:K.wrapper)},(0,g.Z)(e,{data:!0})),X?X(l):l)}),ef=(0,o.Z)({},C);return w&&(ef.zIndex=w),r.createElement(u.Provider,{value:es},r.createElement("div",{className:i()(c,"".concat(c,"-").concat(b),x,(0,p.Z)((0,p.Z)({},"".concat(c,"-open"),d),"".concat(c,"-inline"),y)),style:ef,tabIndex:-1,ref:Q,onKeyDown:function(e){var t,n,r=e.keyCode,a=e.shiftKey;switch(r){case m.Z.TAB:r===m.Z.TAB&&(a||document.activeElement!==ee.current?a&&document.activeElement===J.current&&(null===(n=ee.current)||void 0===n||n.focus({preventScroll:!0})):null===(t=J.current)||void 0===t||t.focus({preventScroll:!0}));break;case m.Z.ESC:$&&_&&(e.stopPropagation(),$(e))}}},el,r.createElement("div",{tabIndex:0,ref:J,style:A,"aria-hidden":"true","data-sentinel":"start"}),ep,r.createElement("div",{tabIndex:0,ref:ee,style:A,"aria-hidden":"true","data-sentinel":"end"})))}),_=function(e){var t=e.open,n=e.prefixCls,a=e.placement,i=e.autoFocus,u=e.keyboard,p=e.width,f=e.mask,h=void 0===f||f,m=e.maskClosable,g=e.getContainer,b=e.forceRender,y=e.afterOpenChange,E=e.destroyOnClose,v=e.onMouseEnter,T=e.onMouseOver,S=e.onMouseLeave,A=e.onClick,_=e.onKeyDown,k=e.onKeyUp,x=e.panelRef,C=r.useState(!1),w=(0,s.Z)(C,2),I=w[0],R=w[1],N=r.useState(!1),L=(0,s.Z)(N,2),D=L[0],P=L[1];(0,c.Z)(function(){P(!0)},[]);var M=!!D&&void 0!==t&&t,F=r.useRef(),B=r.useRef();(0,c.Z)(function(){M&&(B.current=document.activeElement)},[M]);var j=r.useMemo(function(){return{panel:x}},[x]);if(!b&&!I&&!M&&E)return null;var U=(0,o.Z)((0,o.Z)({},e),{},{open:M,prefixCls:void 0===n?"rc-drawer":n,placement:void 0===a?"right":a,autoFocus:void 0===i||i,keyboard:void 0===u||u,width:void 0===p?378:p,mask:h,maskClosable:void 0===m||m,inline:!1===g,afterOpenChange:function(e){var t,n;R(e),null==y||y(e),e||!B.current||null!==(t=F.current)&&void 0!==t&&t.contains(B.current)||null===(n=B.current)||void 0===n||n.focus({preventScroll:!0})},ref:F},{onMouseEnter:v,onMouseOver:T,onMouseLeave:S,onClick:A,onKeyDown:_,onKeyUp:k});return r.createElement(d.Provider,{value:j},r.createElement(l.Z,{open:M||b||I,autoDestroy:!1,getContainer:g,autoLock:h&&(M||I)},r.createElement(O,U)))},k=n(89942),x=n(87263),C=n(33603),w=n(43945),I=n(53124),R=n(16569),N=n(69760),L=n(48054),D=e=>{var t,n;let{prefixCls:a,title:o,footer:s,extra:l,loading:c,onClose:u,headerStyle:d,bodyStyle:p,footerStyle:f,children:h,classNames:m,styles:g}=e,{drawer:b}=r.useContext(I.E_),y=r.useCallback(e=>r.createElement("button",{type:"button",onClick:u,"aria-label":"Close",className:`${a}-close`},e),[u]),[E,v]=(0,N.Z)((0,N.w)(e),(0,N.w)(b),{closable:!0,closeIconRender:y}),T=r.useMemo(()=>{var e,t;return o||E?r.createElement("div",{style:Object.assign(Object.assign(Object.assign({},null===(e=null==b?void 0:b.styles)||void 0===e?void 0:e.header),d),null==g?void 0:g.header),className:i()(`${a}-header`,{[`${a}-header-close-only`]:E&&!o&&!l},null===(t=null==b?void 0:b.classNames)||void 0===t?void 0:t.header,null==m?void 0:m.header)},r.createElement("div",{className:`${a}-header-title`},v,o&&r.createElement("div",{className:`${a}-title`},o)),l&&r.createElement("div",{className:`${a}-extra`},l)):null},[E,v,l,d,a,o]),S=r.useMemo(()=>{var e,t;if(!s)return null;let n=`${a}-footer`;return r.createElement("div",{className:i()(n,null===(e=null==b?void 0:b.classNames)||void 0===e?void 0:e.footer,null==m?void 0:m.footer),style:Object.assign(Object.assign(Object.assign({},null===(t=null==b?void 0:b.styles)||void 0===t?void 0:t.footer),f),null==g?void 0:g.footer)},s)},[s,f,a]);return r.createElement(r.Fragment,null,T,r.createElement("div",{className:i()(`${a}-body`,null==m?void 0:m.body,null===(t=null==b?void 0:b.classNames)||void 0===t?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},null===(n=null==b?void 0:b.styles)||void 0===n?void 0:n.body),p),null==g?void 0:g.body)},c?r.createElement(L.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${a}-body-skeleton`}):h),S)},P=n(25446),M=n(14747),F=n(83559),B=n(83262);let j=e=>{let t="100%";return({left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`})[e]},U=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),G=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}}},U({opacity:e},{opacity:1})),H=(e,t)=>[G(.7,t),U({transform:j(e)},{transform:"none"})];var $=e=>{let{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:G(0,n),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce((e,t)=>Object.assign(Object.assign({},e),{[`&-${t}`]:H(t,n)}),{})}}};let z=e=>{let{borderRadiusSM:t,componentCls:n,zIndexPopup:r,colorBgMask:a,colorBgElevated:i,motionDurationSlow:o,motionDurationMid:s,paddingXS:l,padding:c,paddingLG:u,fontSizeLG:d,lineHeightLG:p,lineWidth:f,lineType:h,colorSplit:m,marginXS:g,colorIcon:b,colorIconHover:y,colorBgTextHover:E,colorBgTextActive:v,colorText:T,fontWeightStrong:S,footerPaddingBlock:A,footerPaddingInline:O,calc:_}=e,k=`${n}-content-wrapper`;return{[n]:{position:"fixed",inset:0,zIndex:r,pointerEvents:"none",color:T,"&-pure":{position:"relative",background:i,display:"flex",flexDirection:"column",[`&${n}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${n}-mask`]:{position:"absolute",inset:0,zIndex:r,background:a,pointerEvents:"auto"},[k]:{position:"absolute",zIndex:r,maxWidth:"100vw",transition:`all ${o}`,"&-hidden":{display:"none"}},[`&-left > ${k}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${k}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${k}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${k}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${n}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:i,pointerEvents:"auto"},[`${n}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,P.bf)(c)} ${(0,P.bf)(u)}`,fontSize:d,lineHeight:p,borderBottom:`${(0,P.bf)(f)} ${h} ${m}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:"none"},[`${n}-close`]:Object.assign({display:"inline-flex",width:_(d).add(l).equal(),height:_(d).add(l).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",marginInlineEnd:g,color:b,fontWeight:S,fontSize:d,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${s}`,textRendering:"auto","&:hover":{color:y,backgroundColor:E,textDecoration:"none"},"&:active":{backgroundColor:v}},(0,M.Qy)(e)),[`${n}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:d,lineHeight:p},[`${n}-body`]:{flex:1,minWidth:0,minHeight:0,padding:u,overflow:"auto",[`${n}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${n}-footer`]:{flexShrink:0,padding:`${(0,P.bf)(A)} ${(0,P.bf)(O)}`,borderTop:`${(0,P.bf)(f)} ${h} ${m}`},"&-rtl":{direction:"rtl"}}}};var Z=(0,F.I$)("Drawer",e=>{let t=(0,B.IX)(e,{});return[z(t),$(t)]},e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding})),W=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let V={distance:180},Y=e=>{let{rootClassName:t,width:n,height:a,size:o="default",mask:s=!0,push:l=V,open:c,afterOpenChange:u,onClose:d,prefixCls:p,getContainer:f,style:h,className:m,visible:g,afterVisibleChange:b,maskStyle:y,drawerStyle:E,contentWrapperStyle:v}=e,T=W(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:S,getPrefixCls:A,direction:O,drawer:N}=r.useContext(I.E_),L=A("drawer",p),[P,M,F]=Z(L),B=void 0===f&&S?()=>S(document.body):f,j=i()({"no-mask":!s,[`${L}-rtl`]:"rtl"===O},t,M,F),U=r.useMemo(()=>null!=n?n:"large"===o?736:378,[n,o]),G=r.useMemo(()=>null!=a?a:"large"===o?736:378,[a,o]),H={motionName:(0,C.m)(L,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},$=(0,R.H)(),[z,Y]=(0,x.Cn)("Drawer",T.zIndex),{classNames:q={},styles:K={}}=T,{classNames:X={},styles:Q={}}=N||{};return P(r.createElement(k.Z,{form:!0,space:!0},r.createElement(w.Z.Provider,{value:Y},r.createElement(_,Object.assign({prefixCls:L,onClose:d,maskMotion:H,motion:e=>({motionName:(0,C.m)(L,`panel-motion-${e}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500})},T,{classNames:{mask:i()(q.mask,X.mask),content:i()(q.content,X.content),wrapper:i()(q.wrapper,X.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},K.mask),y),Q.mask),content:Object.assign(Object.assign(Object.assign({},K.content),E),Q.content),wrapper:Object.assign(Object.assign(Object.assign({},K.wrapper),v),Q.wrapper)},open:null!=c?c:g,mask:s,push:l,width:U,height:G,style:Object.assign(Object.assign({},null==N?void 0:N.style),h),className:i()(null==N?void 0:N.className,m),rootClassName:j,getContainer:B,afterOpenChange:null!=u?u:b,panelRef:$,zIndex:z}),r.createElement(D,Object.assign({prefixCls:L},T,{onClose:d}))))))};Y._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,style:n,className:a,placement:o="right"}=e,s=W(e,["prefixCls","style","className","placement"]),{getPrefixCls:l}=r.useContext(I.E_),c=l("drawer",t),[u,d,p]=Z(c),f=i()(c,`${c}-pure`,`${c}-${o}`,d,p,a);return u(r.createElement("div",{className:f,style:n},r.createElement(D,Object.assign({prefixCls:c},s))))};var q=Y},86250:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r=n(67294),a=n(93967),i=n.n(a),o=n(98423),s=n(98065),l=n(53124),c=n(83559),u=n(83262);let d=["wrap","nowrap","wrap-reverse"],p=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],f=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],h=(e,t)=>{let n=!0===t.wrap?"wrap":t.wrap;return{[`${e}-wrap-${n}`]:n&&d.includes(n)}},m=(e,t)=>{let n={};return f.forEach(r=>{n[`${e}-align-${r}`]=t.align===r}),n[`${e}-align-stretch`]=!t.align&&!!t.vertical,n},g=(e,t)=>{let n={};return p.forEach(r=>{n[`${e}-justify-${r}`]=t.justify===r}),n},b=e=>{let{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},y=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},E=e=>{let{componentCls:t}=e,n={};return d.forEach(e=>{n[`${t}-wrap-${e}`]={flexWrap:e}}),n},v=e=>{let{componentCls:t}=e,n={};return f.forEach(e=>{n[`${t}-align-${e}`]={alignItems:e}}),n},T=e=>{let{componentCls:t}=e,n={};return p.forEach(e=>{n[`${t}-justify-${e}`]={justifyContent:e}}),n};var S=(0,c.I$)("Flex",e=>{let{paddingXS:t,padding:n,paddingLG:r}=e,a=(0,u.IX)(e,{flexGapSM:t,flexGap:n,flexGapLG:r});return[b(a),y(a),E(a),v(a),T(a)]},()=>({}),{resetStyle:!1}),A=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let O=r.forwardRef((e,t)=>{let{prefixCls:n,rootClassName:a,className:c,style:u,flex:d,gap:p,children:f,vertical:b=!1,component:y="div"}=e,E=A(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:v,direction:T,getPrefixCls:O}=r.useContext(l.E_),_=O("flex",n),[k,x,C]=S(_),w=null!=b?b:null==v?void 0:v.vertical,I=i()(c,a,null==v?void 0:v.className,_,x,C,i()(Object.assign(Object.assign(Object.assign({},h(_,e)),m(_,e)),g(_,e))),{[`${_}-rtl`]:"rtl"===T,[`${_}-gap-${p}`]:(0,s.n)(p),[`${_}-vertical`]:w}),R=Object.assign(Object.assign({},null==v?void 0:v.style),u);return d&&(R.flex=d),p&&!(0,s.n)(p)&&(R.gap=p),k(r.createElement(y,Object.assign({ref:t,className:I,style:R},(0,o.Z)(E,["justify","wrap","align"])),f))});var _=O},57020:function(e,t,n){"use strict";n.d(t,{Z:function(){return eT}});var r=n(67294),a=n(99611),i=n(93967),o=n.n(i),s=n(87462),l=n(1413),c=n(4942),u=n(97685),d=n(71002),p=n(45987),f=n(27678),h=n(21770),m=n(40974),g=n(64019),b=n(15105),y=n(2788),E=n(29372),v=r.createContext(null),T=function(e){var t=e.visible,n=e.maskTransitionName,a=e.getContainer,i=e.prefixCls,s=e.rootClassName,u=e.icons,d=e.countRender,p=e.showSwitch,f=e.showProgress,h=e.current,m=e.transform,g=e.count,T=e.scale,S=e.minScale,A=e.maxScale,O=e.closeIcon,_=e.onSwitchLeft,k=e.onSwitchRight,x=e.onClose,C=e.onZoomIn,w=e.onZoomOut,I=e.onRotateRight,R=e.onRotateLeft,N=e.onFlipX,L=e.onFlipY,D=e.onReset,P=e.toolbarRender,M=e.zIndex,F=e.image,B=(0,r.useContext)(v),j=u.rotateLeft,U=u.rotateRight,G=u.zoomIn,H=u.zoomOut,$=u.close,z=u.left,Z=u.right,W=u.flipX,V=u.flipY,Y="".concat(i,"-operations-operation");r.useEffect(function(){var e=function(e){e.keyCode===b.Z.ESC&&x()};return t&&window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}},[t]);var q=[{icon:V,onClick:L,type:"flipY"},{icon:W,onClick:N,type:"flipX"},{icon:j,onClick:R,type:"rotateLeft"},{icon:U,onClick:I,type:"rotateRight"},{icon:H,onClick:w,type:"zoomOut",disabled:T<=S},{icon:G,onClick:C,type:"zoomIn",disabled:T===A}].map(function(e){var t,n=e.icon,a=e.onClick,s=e.type,l=e.disabled;return r.createElement("div",{className:o()(Y,(t={},(0,c.Z)(t,"".concat(i,"-operations-operation-").concat(s),!0),(0,c.Z)(t,"".concat(i,"-operations-operation-disabled"),!!l),t)),onClick:a,key:s},n)}),K=r.createElement("div",{className:"".concat(i,"-operations")},q);return r.createElement(E.ZP,{visible:t,motionName:n},function(e){var t=e.className,n=e.style;return r.createElement(y.Z,{open:!0,getContainer:null!=a?a:document.body},r.createElement("div",{className:o()("".concat(i,"-operations-wrapper"),t,s),style:(0,l.Z)((0,l.Z)({},n),{},{zIndex:M})},null===O?null:r.createElement("button",{className:"".concat(i,"-close"),onClick:x},O||$),p&&r.createElement(r.Fragment,null,r.createElement("div",{className:o()("".concat(i,"-switch-left"),(0,c.Z)({},"".concat(i,"-switch-left-disabled"),0===h)),onClick:_},z),r.createElement("div",{className:o()("".concat(i,"-switch-right"),(0,c.Z)({},"".concat(i,"-switch-right-disabled"),h===g-1)),onClick:k},Z)),r.createElement("div",{className:"".concat(i,"-footer")},f&&r.createElement("div",{className:"".concat(i,"-progress")},d?d(h+1,g):"".concat(h+1," / ").concat(g)),P?P(K,(0,l.Z)((0,l.Z)({icons:{flipYIcon:q[0],flipXIcon:q[1],rotateLeftIcon:q[2],rotateRightIcon:q[3],zoomOutIcon:q[4],zoomInIcon:q[5]},actions:{onFlipY:L,onFlipX:N,onRotateLeft:R,onRotateRight:I,onZoomOut:w,onZoomIn:C,onReset:D,onClose:x},transform:m},B?{current:h,total:g}:{}),{},{image:F})):K)))})},S=n(91881),A=n(75164),O={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1},_=n(80334);function k(e,t,n,r){var a=t+n,i=(n-r)/2;if(n>r){if(t>0)return(0,c.Z)({},e,i);if(t<0&&ar)return(0,c.Z)({},e,t<0?i:-i);return{}}function x(e,t,n,r){var a=(0,f.g1)(),i=a.width,o=a.height,s=null;return e<=i&&t<=o?s={x:0,y:0}:(e>i||t>o)&&(s=(0,l.Z)((0,l.Z)({},k("x",n,e,i)),k("y",r,t,o))),s}function C(e){var t=e.src,n=e.isCustomPlaceholder,a=e.fallback,i=(0,r.useState)(n?"loading":"normal"),o=(0,u.Z)(i,2),s=o[0],l=o[1],c=(0,r.useRef)(!1),d="error"===s;(0,r.useEffect)(function(){var e=!0;return new Promise(function(e){var n=document.createElement("img");n.onerror=function(){return e(!1)},n.onload=function(){return e(!0)},n.src=t}).then(function(t){!t&&e&&l("error")}),function(){e=!1}},[t]),(0,r.useEffect)(function(){n&&!c.current?l("loading"):d&&l("normal")},[t]);var p=function(){l("normal")};return[function(e){c.current=!1,"loading"===s&&null!=e&&e.complete&&(e.naturalWidth||e.naturalHeight)&&(c.current=!0,p())},d&&a?{src:a}:{onLoad:p,src:t},s]}function w(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}var I=["fallback","src","imgRef"],R=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],N=function(e){var t=e.fallback,n=e.src,a=e.imgRef,i=(0,p.Z)(e,I),o=C({src:n,fallback:t}),l=(0,u.Z)(o,2),c=l[0],d=l[1];return r.createElement("img",(0,s.Z)({ref:function(e){a.current=e,c(e)}},i,d))},L=function(e){var t,n,a,i,d,h,y,E,k,C,I,L,D,P,M,F,B,j,U,G,H,$,z,Z,W,V,Y,q,K=e.prefixCls,X=e.src,Q=e.alt,J=e.imageInfo,ee=e.fallback,et=e.movable,en=void 0===et||et,er=e.onClose,ea=e.visible,ei=e.icons,eo=e.rootClassName,es=e.closeIcon,el=e.getContainer,ec=e.current,eu=void 0===ec?0:ec,ed=e.count,ep=void 0===ed?1:ed,ef=e.countRender,eh=e.scaleStep,em=void 0===eh?.5:eh,eg=e.minScale,eb=void 0===eg?1:eg,ey=e.maxScale,eE=void 0===ey?50:ey,ev=e.transitionName,eT=e.maskTransitionName,eS=void 0===eT?"fade":eT,eA=e.imageRender,eO=e.imgCommonProps,e_=e.toolbarRender,ek=e.onTransform,ex=e.onChange,eC=(0,p.Z)(e,R),ew=(0,r.useRef)(),eI=(0,r.useContext)(v),eR=eI&&ep>1,eN=eI&&ep>=1,eL=(0,r.useState)(!0),eD=(0,u.Z)(eL,2),eP=eD[0],eM=eD[1],eF=(t=(0,r.useRef)(null),n=(0,r.useRef)([]),a=(0,r.useState)(O),d=(i=(0,u.Z)(a,2))[0],h=i[1],y=function(e,r){null===t.current&&(n.current=[],t.current=(0,A.Z)(function(){h(function(e){var a=e;return n.current.forEach(function(e){a=(0,l.Z)((0,l.Z)({},a),e)}),t.current=null,null==ek||ek({transform:a,action:r}),a})})),n.current.push((0,l.Z)((0,l.Z)({},d),e))},{transform:d,resetTransform:function(e){h(O),(0,S.Z)(O,d)||null==ek||ek({transform:O,action:e})},updateTransform:y,dispatchZoomChange:function(e,t,n,r,a){var i=ew.current,o=i.width,s=i.height,l=i.offsetWidth,c=i.offsetHeight,u=i.offsetLeft,p=i.offsetTop,h=e,m=d.scale*e;m>eE?(m=eE,h=eE/d.scale):m0&&(t=1/t),eG(t,"wheel",e.clientX,e.clientY)}}}),e$=eH.isMoving,ez=eH.onMouseDown,eZ=eH.onWheel,eW=(U=eB.rotate,G=eB.scale,H=eB.x,$=eB.y,z=(0,r.useState)(!1),W=(Z=(0,u.Z)(z,2))[0],V=Z[1],Y=(0,r.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),q=function(e){Y.current=(0,l.Z)((0,l.Z)({},Y.current),e)},(0,r.useEffect)(function(){var e;return ea&&en&&(e=(0,g.Z)(window,"touchmove",function(e){return e.preventDefault()},{passive:!1})),function(){var t;null===(t=e)||void 0===t||t.remove()}},[ea,en]),{isTouching:W,onTouchStart:function(e){if(en){e.stopPropagation(),V(!0);var t=e.touches,n=void 0===t?[]:t;n.length>1?q({point1:{x:n[0].clientX,y:n[0].clientY},point2:{x:n[1].clientX,y:n[1].clientY},eventType:"touchZoom"}):q({point1:{x:n[0].clientX-H,y:n[0].clientY-$},eventType:"move"})}},onTouchMove:function(e){var t=e.touches,n=void 0===t?[]:t,r=Y.current,a=r.point1,i=r.point2,o=r.eventType;if(n.length>1&&"touchZoom"===o){var s={x:n[0].clientX,y:n[0].clientY},l={x:n[1].clientX,y:n[1].clientY},c=function(e,t,n,r){var a=w(e,n),i=w(t,r);if(0===a&&0===i)return[e.x,e.y];var o=a/(a+i);return[e.x+o*(t.x-e.x),e.y+o*(t.y-e.y)]}(a,i,s,l),d=(0,u.Z)(c,2),p=d[0],f=d[1];eG(w(s,l)/w(a,i),"touchZoom",p,f,!0),q({point1:s,point2:l,eventType:"touchZoom"})}else"move"===o&&(eU({x:n[0].clientX-a.x,y:n[0].clientY-a.y},"move"),q({eventType:"move"}))},onTouchEnd:function(){if(ea){if(W&&V(!1),q({eventType:"none"}),eb>G)return eU({x:0,y:0,scale:eb},"touchZoom");var e=ew.current.offsetWidth*G,t=ew.current.offsetHeight*G,n=ew.current.getBoundingClientRect(),r=n.left,a=n.top,i=U%180!=0,o=x(i?t:e,i?e:t,r,a);o&&eU((0,l.Z)({},o),"dragRebound")}}}),eV=eW.isTouching,eY=eW.onTouchStart,eq=eW.onTouchMove,eK=eW.onTouchEnd,eX=eB.rotate,eQ=eB.scale,eJ=o()((0,c.Z)({},"".concat(K,"-moving"),e$));(0,r.useEffect)(function(){eP||eM(!0)},[eP]);var e0=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu>0&&(eM(!1),ej("prev"),null==ex||ex(eu-1,eu))},e1=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu({position:e||"absolute",inset:0}),eu=e=>{let{iconCls:t,motionDurationSlow:n,paddingXXS:r,marginXXS:a,prefixCls:i,colorTextLightSolid:o}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:o,background:new en.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${i}-mask-info`]:Object.assign(Object.assign({},ea.vS),{padding:`0 ${(0,et.bf)(r)}`,[t]:{marginInlineEnd:a,svg:{verticalAlign:"baseline"}}})}},ed=e=>{let{previewCls:t,modalMaskBg:n,paddingSM:r,marginXL:a,margin:i,paddingLG:o,previewOperationColorDisabled:s,previewOperationHoverColor:l,motionDurationSlow:c,iconCls:u,colorTextLightSolid:d}=e,p=new en.C(n).setAlpha(.1),f=p.clone().setAlpha(.2);return{[`${t}-footer`]:{position:"fixed",bottom:a,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor,transform:"translateX(-50%)"},[`${t}-progress`]:{marginBottom:i},[`${t}-close`]:{position:"fixed",top:a,right:{_skip_check_:!0,value:a},display:"flex",color:d,backgroundColor:p.toRgbString(),borderRadius:"50%",padding:r,outline:0,border:0,cursor:"pointer",transition:`all ${c}`,"&:hover":{backgroundColor:f.toRgbString()},[`& > ${u}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,et.bf)(o)}`,backgroundColor:p.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:r,padding:r,cursor:"pointer",transition:`all ${c}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${u}`]:{color:l},"&-disabled":{color:s,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${u}`]:{fontSize:e.previewOperationSize}}}}},ep=e=>{let{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:r,previewCls:a,zIndexPopup:i,motionDurationSlow:o}=e,s=new en.C(t).setAlpha(.1),l=s.clone().setAlpha(.2);return{[`${a}-switch-left, ${a}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(i).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:s.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${o}`,userSelect:"none","&:hover":{background:l.toRgbString()},"&-disabled":{"&, &:hover":{color:r,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${a}-switch-left`]:{insetInlineStart:e.marginSM},[`${a}-switch-right`]:{insetInlineEnd:e.marginSM}}},ef=e=>{let{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:a}=e;return[{[`${a}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:Object.assign(Object.assign({},ec()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${r} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},ec()),{transition:`transform ${r} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${a}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${a}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal()},"&":[ed(e),ep(e)]}]},eh=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},eu(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},ec())}}},em=e=>{let{previewCls:t}=e;return{[`${t}-root`]:(0,ei._y)(e,"zoom"),"&":(0,eo.J$)(e,!0)}};var eg=(0,es.I$)("Image",e=>{let t=`${e.componentCls}-preview`,n=(0,el.IX)(e,{previewCls:t,modalMaskBg:new en.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[eh(n),ef(n),(0,er.QA)((0,el.IX)(n,{componentCls:t})),em(n)]},e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new en.C(e.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new en.C(e.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new en.C(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:1.5*e.fontSizeIcon})),eb=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ey={rotateLeft:r.createElement(K.Z,null),rotateRight:r.createElement(X.Z,null),zoomIn:r.createElement(J.Z,null),zoomOut:r.createElement(ee.Z,null),close:r.createElement(V.Z,null),left:r.createElement(Y.Z,null),right:r.createElement(q.Z,null),flipX:r.createElement(Q.Z,null),flipY:r.createElement(Q.Z,{rotate:90})};var eE=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ev=e=>{var t;let{prefixCls:n,preview:i,className:s,rootClassName:l,style:c}=e,u=eE(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:d,locale:p=W.Z,getPopupContainer:f,image:h}=r.useContext(z.E_),m=d("image",n),g=d(),b=p.Image||W.Z.Image,y=(0,Z.Z)(m),[E,v,T]=eg(m,y),S=o()(l,v,T,y),A=o()(s,v,null==h?void 0:h.className),[O]=(0,H.Cn)("ImagePreview","object"==typeof i?i.zIndex:void 0),_=r.useMemo(()=>{var e;if(!1===i)return i;let t="object"==typeof i?i:{},{getContainer:n,closeIcon:o}=t,s=eE(t,["getContainer","closeIcon"]);return Object.assign(Object.assign({mask:r.createElement("div",{className:`${m}-mask-info`},r.createElement(a.Z,null),null==b?void 0:b.preview),icons:ey},s),{getContainer:null!=n?n:f,transitionName:(0,$.m)(g,"zoom",t.transitionName),maskTransitionName:(0,$.m)(g,"fade",t.maskTransitionName),zIndex:O,closeIcon:null!=o?o:null===(e=null==h?void 0:h.preview)||void 0===e?void 0:e.closeIcon})},[i,b,null===(t=null==h?void 0:h.preview)||void 0===t?void 0:t.closeIcon]),k=Object.assign(Object.assign({},null==h?void 0:h.style),c);return E(r.createElement(G,Object.assign({prefixCls:m,preview:_,rootClassName:S,className:A,style:k},u)))};ev.PreviewGroup=e=>{var{previewPrefixCls:t,preview:n}=e,a=eb(e,["previewPrefixCls","preview"]);let{getPrefixCls:i}=r.useContext(z.E_),s=i("image",t),l=`${s}-preview`,c=i(),u=(0,Z.Z)(s),[d,p,f]=eg(s,u),[h]=(0,H.Cn)("ImagePreview","object"==typeof n?n.zIndex:void 0),m=r.useMemo(()=>{var e;if(!1===n)return n;let t="object"==typeof n?n:{},r=o()(p,f,u,null!==(e=t.rootClassName)&&void 0!==e?e:"");return Object.assign(Object.assign({},t),{transitionName:(0,$.m)(c,"zoom",t.transitionName),maskTransitionName:(0,$.m)(c,"fade",t.maskTransitionName),rootClassName:r,zIndex:h})},[n]);return d(r.createElement(G.PreviewGroup,Object.assign({preview:m,previewPrefixCls:l,icons:ey},a)))};var eT=ev},66309:function(e,t,n){"use strict";n.d(t,{Z:function(){return I}});var r=n(67294),a=n(93967),i=n.n(a),o=n(98423),s=n(98787),l=n(69760),c=n(96159),u=n(45353),d=n(53124),p=n(25446),f=n(10274),h=n(14747),m=n(83262),g=n(83559);let b=e=>{let{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:a,calc:i}=e,o=i(r).sub(n).equal(),s=i(t).sub(n).equal();return{[a]:Object.assign(Object.assign({},(0,h.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:o,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,p.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${a}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${a}-close-icon`]:{marginInlineStart:s,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${a}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${a}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:o}}),[`${a}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},y=e=>{let{lineWidth:t,fontSizeIcon:n,calc:r}=e,a=e.fontSizeSM,i=(0,m.IX)(e,{tagFontSize:a,tagLineHeight:(0,p.bf)(r(e.lineHeightSM).mul(a).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return i},E=e=>({defaultBg:new f.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var v=(0,g.I$)("Tag",e=>{let t=y(e);return b(t)},E),T=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let S=r.forwardRef((e,t)=>{let{prefixCls:n,style:a,className:o,checked:s,onChange:l,onClick:c}=e,u=T(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:p,tag:f}=r.useContext(d.E_),h=p("tag",n),[m,g,b]=v(h),y=i()(h,`${h}-checkable`,{[`${h}-checkable-checked`]:s},null==f?void 0:f.className,o,g,b);return m(r.createElement("span",Object.assign({},u,{ref:t,style:Object.assign(Object.assign({},a),null==f?void 0:f.style),className:y,onClick:e=>{null==l||l(!s),null==c||c(e)}})))});var A=n(98719);let O=e=>(0,A.Z)(e,(t,n)=>{let{textColor:r,lightBorderColor:a,lightColor:i,darkColor:o}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:i,borderColor:a,"&-inverse":{color:e.colorTextLightSolid,background:o,borderColor:o},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var _=(0,g.bk)(["Tag","preset"],e=>{let t=y(e);return O(t)},E);let k=(e,t,n)=>{let r=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var x=(0,g.bk)(["Tag","status"],e=>{let t=y(e);return[k(t,"success","Success"),k(t,"processing","Info"),k(t,"error","Error"),k(t,"warning","Warning")]},E),C=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let w=r.forwardRef((e,t)=>{let{prefixCls:n,className:a,rootClassName:p,style:f,children:h,icon:m,color:g,onClose:b,bordered:y=!0,visible:E}=e,T=C(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:S,direction:A,tag:O}=r.useContext(d.E_),[k,w]=r.useState(!0),I=(0,o.Z)(T,["closeIcon","closable"]);r.useEffect(()=>{void 0!==E&&w(E)},[E]);let R=(0,s.o2)(g),N=(0,s.yT)(g),L=R||N,D=Object.assign(Object.assign({backgroundColor:g&&!L?g:void 0},null==O?void 0:O.style),f),P=S("tag",n),[M,F,B]=v(P),j=i()(P,null==O?void 0:O.className,{[`${P}-${g}`]:L,[`${P}-has-color`]:g&&!L,[`${P}-hidden`]:!k,[`${P}-rtl`]:"rtl"===A,[`${P}-borderless`]:!y},a,p,F,B),U=e=>{e.stopPropagation(),null==b||b(e),e.defaultPrevented||w(!1)},[,G]=(0,l.Z)((0,l.w)(e),(0,l.w)(O),{closable:!1,closeIconRender:e=>{let t=r.createElement("span",{className:`${P}-close-icon`,onClick:U},e);return(0,c.wm)(e,t,e=>({onClick:t=>{var n;null===(n=null==e?void 0:e.onClick)||void 0===n||n.call(e,t),U(t)},className:i()(null==e?void 0:e.className,`${P}-close-icon`)}))}}),H="function"==typeof T.onClick||h&&"a"===h.type,$=m||null,z=$?r.createElement(r.Fragment,null,$,h&&r.createElement("span",null,h)):h,Z=r.createElement("span",Object.assign({},I,{ref:t,className:j,style:D}),z,G,R&&r.createElement(_,{key:"preset",prefixCls:P}),N&&r.createElement(x,{key:"status",prefixCls:P}));return M(H?r.createElement(u.Z,{component:"Tag"},Z):Z)});w.CheckableTag=S;var I=w},62502:function(e,t,n){"use strict";var r=n(15575),a=n(64977),i=n(72869),o=n(32473).Q,s=n(24395).Q;e.exports=function(e,t,n){var a=n?function(e){for(var t,n=e.length,r=-1,a={};++r4&&h.slice(0,4)===o&&s.test(t)&&("-"===t.charAt(4)?m=o+(n=t.slice(5).replace(l,d)).charAt(0).toUpperCase()+n.slice(1):(f=(p=t).slice(4),t=l.test(f)?p:("-"!==(f=f.replace(c,u)).charAt(0)&&(f="-"+f),o+f)),g=a),new g(m,t))};var s=/^data[-\w.:]+$/i,l=/-[a-z]/g,c=/[A-Z]/g;function u(e){return"-"+e.toLowerCase()}function d(e){return e.charAt(1).toUpperCase()}},48055:function(e,t,n){"use strict";var r=n(26230),a=n(13970),i=n(10629),o=n(647),s=n(91305),l=n(22537);e.exports=r([i,a,o,s,l])},91305:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=r.booleanish,o=r.number,s=r.spaceSeparated;e.exports=a({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:i,ariaAutoComplete:null,ariaBusy:i,ariaChecked:i,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:s,ariaCurrent:null,ariaDescribedBy:s,ariaDetails:null,ariaDisabled:i,ariaDropEffect:s,ariaErrorMessage:null,ariaExpanded:i,ariaFlowTo:s,ariaGrabbed:i,ariaHasPopup:null,ariaHidden:i,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s,ariaLevel:o,ariaLive:null,ariaModal:i,ariaMultiLine:i,ariaMultiSelectable:i,ariaOrientation:null,ariaOwns:s,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:i,ariaReadOnly:i,ariaRelevant:null,ariaRequired:i,ariaRoleDescription:s,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:i,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}})},22537:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=n(19348),o=r.boolean,s=r.overloadedBoolean,l=r.booleanish,c=r.number,u=r.spaceSeparated,d=r.commaSeparated;e.exports=a({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:i,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:d,acceptCharset:u,accessKey:u,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:u,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:u,cols:c,colSpan:null,content:null,contentEditable:l,controls:o,controlsList:u,coords:c|d,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:s,draggable:l,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:u,height:c,hidden:o,high:c,href:null,hrefLang:null,htmlFor:u,httpEquiv:u,id:null,imageSizes:null,imageSrcSet:d,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:u,itemRef:u,itemScope:o,itemType:u,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:u,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:u,required:o,reversed:o,rows:c,rowSpan:c,sandbox:u,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:c,sizes:null,slot:null,span:c,spellCheck:l,src:null,srcDoc:null,srcLang:null,srcSet:d,start:c,step:null,style:null,tabIndex:c,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:l,width:c,wrap:null,align:null,aLink:null,archive:u,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:l,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}})},19348:function(e,t,n){"use strict";var r=n(21098);e.exports=function(e,t){return r(e,t.toLowerCase())}},21098:function(e){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},47589:function(e,t,n){"use strict";var r=n(64977),a=n(16038),i=n(78444);e.exports=function(e){var t,n,o=e.space,s=e.mustUseProperty||[],l=e.attributes||{},c=e.properties,u=e.transform,d={},p={};for(t in c)n=new i(t,u(l,t),c[t],o),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),d[t]=n,p[r(t)]=t,p[r(n.attribute)]=t;return new a(d,p,o)}},78444:function(e,t,n){"use strict";var r=n(40313),a=n(61422);e.exports=s,s.prototype=new r,s.prototype.defined=!0;var i=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=i.length;function s(e,t,n,s){var l,c,u,d=-1;for(s&&(this.space=s),r.call(this,e,t);++d=97&&t<=122||t>=65&&t<=90}},7961:function(e,t,n){"use strict";var r=n(46260),a=n(46195);e.exports=function(e){return r(e)||a(e)}},46195:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},79480:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}},57843:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/construct/app/extra/components/auto-plan/DetailsCard",function(){return n(77451)}])},85813:function(e,t,n){"use strict";n.d(t,{r:function(){return _6}});var r,a,i,o,s,l,c,u,d,p,f,h,m,g,b,y,E,v,T,S,A,O,_,k,x,C,w,I,R,N,L,D,P,M,F,B,j,U,G,H,$,z,Z,W,V,Y,q,K,X,Q,J,ee,et,en,er,ea={};n.r(ea),n.d(ea,{area:function(){return cf},bottom:function(){return cT},bottomLeft:function(){return cT},bottomRight:function(){return cT},inside:function(){return cT},left:function(){return cT},outside:function(){return c_},right:function(){return cT},spider:function(){return cR},surround:function(){return cL},top:function(){return cT},topLeft:function(){return cT},topRight:function(){return cT}});var ei={};n.r(ei),n.d(ei,{interpolateBlues:function(){return uD.interpolateBlues},interpolateBrBG:function(){return uD.interpolateBrBG},interpolateBuGn:function(){return uD.interpolateBuGn},interpolateBuPu:function(){return uD.interpolateBuPu},interpolateCividis:function(){return uD.interpolateCividis},interpolateCool:function(){return uD.interpolateCool},interpolateCubehelixDefault:function(){return uD.interpolateCubehelixDefault},interpolateGnBu:function(){return uD.interpolateGnBu},interpolateGreens:function(){return uD.interpolateGreens},interpolateGreys:function(){return uD.interpolateGreys},interpolateInferno:function(){return uD.interpolateInferno},interpolateMagma:function(){return uD.interpolateMagma},interpolateOrRd:function(){return uD.interpolateOrRd},interpolateOranges:function(){return uD.interpolateOranges},interpolatePRGn:function(){return uD.interpolatePRGn},interpolatePiYG:function(){return uD.interpolatePiYG},interpolatePlasma:function(){return uD.interpolatePlasma},interpolatePuBu:function(){return uD.interpolatePuBu},interpolatePuBuGn:function(){return uD.interpolatePuBuGn},interpolatePuOr:function(){return uD.interpolatePuOr},interpolatePuRd:function(){return uD.interpolatePuRd},interpolatePurples:function(){return uD.interpolatePurples},interpolateRainbow:function(){return uD.interpolateRainbow},interpolateRdBu:function(){return uD.interpolateRdBu},interpolateRdGy:function(){return uD.interpolateRdGy},interpolateRdPu:function(){return uD.interpolateRdPu},interpolateRdYlBu:function(){return uD.interpolateRdYlBu},interpolateRdYlGn:function(){return uD.interpolateRdYlGn},interpolateReds:function(){return uD.interpolateReds},interpolateSinebow:function(){return uD.interpolateSinebow},interpolateSpectral:function(){return uD.interpolateSpectral},interpolateTurbo:function(){return uD.interpolateTurbo},interpolateViridis:function(){return uD.interpolateViridis},interpolateWarm:function(){return uD.interpolateWarm},interpolateYlGn:function(){return uD.interpolateYlGn},interpolateYlGnBu:function(){return uD.interpolateYlGnBu},interpolateYlOrBr:function(){return uD.interpolateYlOrBr},interpolateYlOrRd:function(){return uD.interpolateYlOrRd},schemeAccent:function(){return uD.schemeAccent},schemeBlues:function(){return uD.schemeBlues},schemeBrBG:function(){return uD.schemeBrBG},schemeBuGn:function(){return uD.schemeBuGn},schemeBuPu:function(){return uD.schemeBuPu},schemeCategory10:function(){return uD.schemeCategory10},schemeDark2:function(){return uD.schemeDark2},schemeGnBu:function(){return uD.schemeGnBu},schemeGreens:function(){return uD.schemeGreens},schemeGreys:function(){return uD.schemeGreys},schemeOrRd:function(){return uD.schemeOrRd},schemeOranges:function(){return uD.schemeOranges},schemePRGn:function(){return uD.schemePRGn},schemePaired:function(){return uD.schemePaired},schemePastel1:function(){return uD.schemePastel1},schemePastel2:function(){return uD.schemePastel2},schemePiYG:function(){return uD.schemePiYG},schemePuBu:function(){return uD.schemePuBu},schemePuBuGn:function(){return uD.schemePuBuGn},schemePuOr:function(){return uD.schemePuOr},schemePuRd:function(){return uD.schemePuRd},schemePurples:function(){return uD.schemePurples},schemeRdBu:function(){return uD.schemeRdBu},schemeRdGy:function(){return uD.schemeRdGy},schemeRdPu:function(){return uD.schemeRdPu},schemeRdYlBu:function(){return uD.schemeRdYlBu},schemeRdYlGn:function(){return uD.schemeRdYlGn},schemeReds:function(){return uD.schemeReds},schemeSet1:function(){return uD.schemeSet1},schemeSet2:function(){return uD.schemeSet2},schemeSet3:function(){return uD.schemeSet3},schemeSpectral:function(){return uD.schemeSpectral},schemeTableau10:function(){return uD.schemeTableau10},schemeYlGn:function(){return uD.schemeYlGn},schemeYlGnBu:function(){return uD.schemeYlGnBu},schemeYlOrBr:function(){return uD.schemeYlOrBr},schemeYlOrRd:function(){return uD.schemeYlOrRd}});var eo={};n.r(eo);var es={};n.r(es),n.d(es,{geoAlbers:function(){return Ta.Z},geoAlbersUsa:function(){return Tr.Z},geoAzimuthalEqualArea:function(){return Ti.Z},geoAzimuthalEqualAreaRaw:function(){return Ti.l},geoAzimuthalEquidistant:function(){return To.Z},geoAzimuthalEquidistantRaw:function(){return To.N},geoConicConformal:function(){return Ts.Z},geoConicConformalRaw:function(){return Ts.l},geoConicEqualArea:function(){return Tl.Z},geoConicEqualAreaRaw:function(){return Tl.v},geoConicEquidistant:function(){return Tc.Z},geoConicEquidistantRaw:function(){return Tc.o},geoEqualEarth:function(){return Tu.Z},geoEqualEarthRaw:function(){return Tu.i},geoEquirectangular:function(){return Td.Z},geoEquirectangularRaw:function(){return Td.k},geoGnomonic:function(){return Tp.Z},geoGnomonicRaw:function(){return Tp.M},geoIdentity:function(){return Tf.Z},geoMercator:function(){return Tm.ZP},geoMercatorRaw:function(){return Tm.hk},geoNaturalEarth1:function(){return Tg.Z},geoNaturalEarth1Raw:function(){return Tg.K},geoOrthographic:function(){return Tb.Z},geoOrthographicRaw:function(){return Tb.I},geoProjection:function(){return Th.Z},geoProjectionMutator:function(){return Th.r},geoStereographic:function(){return Ty.Z},geoStereographicRaw:function(){return Ty.T},geoTransverseMercator:function(){return TE.Z},geoTransverseMercatorRaw:function(){return TE.F}});var el={};n.r(el),n.d(el,{frequency:function(){return Sh},id:function(){return Sm},name:function(){return Sg},weight:function(){return Sf}});var ec=n(74902),eu=n(1413),ed=n(87462),ep=n(97685),ef=n(45987),eh=n(50888),em=n(96486),eg=n(67294),eb=function(){return(eb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n-1&&!e.return)switch(e.type){case ek:e.return=function e(t,n,r){var a;switch(a=n,45^eD(t,0)?(((a<<2^eD(t,0))<<2^eD(t,1))<<2^eD(t,2))<<2^eD(t,3):0){case 5103:return eA+"print-"+t+t;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 eA+t+t;case 4789:return eS+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return eA+t+eS+t+eT+t+t;case 5936:switch(eD(t,n+11)){case 114:return eA+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return eA+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return eA+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return eA+t+eT+t+t;case 6165:return eA+t+eT+"flex-"+t+t;case 5187:return eA+t+eN(t,/(\w+).+(:[^]+)/,eA+"box-$1$2"+eT+"flex-$1$2")+t;case 5443:return eA+t+eT+"flex-item-"+eN(t,/flex-|-self/g,"")+(eR(t,/flex-|baseline/)?"":eT+"grid-row-"+eN(t,/flex-|-self/g,""))+t;case 4675:return eA+t+eT+"flex-line-pack"+eN(t,/align-content|flex-|-self/g,"")+t;case 5548:return eA+t+eT+eN(t,"shrink","negative")+t;case 5292:return eA+t+eT+eN(t,"basis","preferred-size")+t;case 6060:return eA+"box-"+eN(t,"-grow","")+eA+t+eT+eN(t,"grow","positive")+t;case 4554:return eA+eN(t,/([^-])(transform)/g,"$1"+eA+"$2")+t;case 6187:return eN(eN(eN(t,/(zoom-|grab)/,eA+"$1"),/(image-set)/,eA+"$1"),t,"")+t;case 5495:case 3959:return eN(t,/(image-set\([^]*)/,eA+"$1$`$1");case 4968:return eN(eN(t,/(.+:)(flex-)?(.*)/,eA+"box-pack:$3"+eT+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+eA+t+t;case 4200:if(!eR(t,/flex-|baseline/))return eT+"grid-column-align"+eP(t,n)+t;break;case 2592:case 3360:return eT+eN(t,"template-","")+t;case 4384:case 3616:if(r&&r.some(function(e,t){return n=t,eR(e.props,/grid-\w+-end/)}))return~eL(t+(r=r[n].value),"span",0)?t:eT+eN(t,"-start","")+t+eT+"grid-row-span:"+(~eL(r,"span",0)?eR(r,/\d+/):+eR(r,/\d+/)-+eR(t,/\d+/))+";";return eT+eN(t,"-start","")+t;case 4896:case 4128:return r&&r.some(function(e){return eR(e.props,/grid-\w+-start/)})?t:eT+eN(eN(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return eN(t,/(.+)-inline(.+)/,eA+"$1$2")+t;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(eM(t)-1-n>6)switch(eD(t,n+1)){case 109:if(45!==eD(t,n+4))break;case 102:return eN(t,/(.+:)(.+)-([^]+)/,"$1"+eA+"$2-$3$1"+eS+(108==eD(t,n+3)?"$3":"$2-$3"))+t;case 115:return~eL(t,"stretch",0)?e(eN(t,"stretch","fill-available"),n,r)+t:t}break;case 5152:case 5920:return eN(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(e,n,r,a,i,o,s){return eT+n+":"+r+s+(a?eT+n+"-span:"+(i?o:+o-+r)+s:"")+t});case 4949:if(121===eD(t,n+6))return eN(t,":",":"+eA)+t;break;case 6444:switch(eD(t,45===eD(t,14)?18:11)){case 120:return eN(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+eA+(45===eD(t,14)?"inline-":"")+"box$3$1"+eA+"$2$3$1"+eT+"$2box$3")+t;case 100:return eN(t,":",":"+eT)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return eN(t,"scroll-","scroll-snap-")+t}return t}(e.value,e.length,n);return;case ex:return eQ([eW(e,{value:eN(e.value,"@","@"+eA)})],r);case e_:if(e.length)return(n=e.props).map(function(t){switch(eR(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":eV(eW(e,{props:[eN(t,/:(read-\w+)/,":"+eS+"$1")]})),eV(eW(e,{props:[t]})),eI(e,{props:eB(n,r)});break;case"::placeholder":eV(eW(e,{props:[eN(t,/:(plac\w+)/,":"+eA+"input-$1")]})),eV(eW(e,{props:[eN(t,/:(plac\w+)/,":"+eS+"$1")]})),eV(eW(e,{props:[eN(t,/:(plac\w+)/,eT+"input-$1")]})),eV(eW(e,{props:[t]})),eI(e,{props:eB(n,r)})}return""}).join("")}}function e1(e,t,n,r,a,i,o,s,l,c,u,d){for(var p=a-1,f=0===a?i:[""],h=f.length,m=0,g=0,b=0;m0?f[y]+" "+E:eN(E,/&\f/g,f[y])).trim())&&(l[b++]=v);return eZ(e,t,n,0===a?e_:s,l,c,u,d)}function e2(e,t,n,r,a){return eZ(e,t,n,ek,eP(e,0,r),eP(e,r+1,-1),r,a)}var e3=n(94371),e5=n(83454),e4=void 0!==e5&&void 0!==e5.env&&(e5.env.REACT_APP_SC_ATTR||e5.env.SC_ATTR)||"data-styled",e6="active",e9="data-styled-version",e8="6.1.15",e7="/*!sc*/\n",te="undefined"!=typeof window&&"HTMLElement"in window,tt=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==e5&&void 0!==e5.env&&void 0!==e5.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==e5.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==e5.env.REACT_APP_SC_DISABLE_SPEEDY&&e5.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==e5&&void 0!==e5.env&&void 0!==e5.env.SC_DISABLE_SPEEDY&&""!==e5.env.SC_DISABLE_SPEEDY&&"false"!==e5.env.SC_DISABLE_SPEEDY&&e5.env.SC_DISABLE_SPEEDY),tn=Object.freeze([]),tr=Object.freeze({}),ta=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),ti=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,to=/(^-|-$)/g;function ts(e){return e.replace(ti,"-").replace(to,"")}var tl=/(a)(d)/gi,tc=function(e){return String.fromCharCode(e+(e>25?39:97))};function tu(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=tc(t%52)+n;return(tc(t%52)+n).replace(tl,"$1-$2")}var td,tp=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},tf=function(e){return tp(5381,e)};function th(e){return"string"==typeof e}var tm="function"==typeof Symbol&&Symbol.for,tg=tm?Symbol.for("react.memo"):60115,tb=tm?Symbol.for("react.forward_ref"):60112,ty={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},tE={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},tv={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},tT=((td={})[tb]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},td[tg]=tv,td);function tS(e){return("type"in e&&e.type.$$typeof)===tg?tv:"$$typeof"in e?tT[e.$$typeof]:ty}var tA=Object.defineProperty,tO=Object.getOwnPropertyNames,t_=Object.getOwnPropertySymbols,tk=Object.getOwnPropertyDescriptor,tx=Object.getPrototypeOf,tC=Object.prototype;function tw(e){return"function"==typeof e}function tI(e){return"object"==typeof e&&"styledComponentId"in e}function tR(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function tN(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r0?" Args: ".concat(t.join(", ")):""))}var tM=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,a=r;e>=a;)if((a<<=1)<0)throw tP(16,"".concat(e));this.groupSizes=new Uint32Array(a),this.groupSizes.set(n),this.length=a;for(var i=r;i=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),a=r+n,i=r;i=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(l+="".concat(e,","))}),r+="".concat(o).concat(s,'{content:"').concat(l,'"}').concat(e7)}}})(a);return r}(r)})}return e.registerId=function(e){return tU(e)},e.prototype.rehydrate=function(){!this.server&&te&&tW(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(eb(eb({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){var e,t,n,r;return this.tag||(this.tag=(n=(t=this.options).useCSSOMInjection,r=t.target,e=t.isServer?new tK(r):n?new tY(r):new tq(r),new tM(e)))},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(tU(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(tU(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(tU(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),t0=/&/g,t1=/^\s*\/\/.*$/gm;function t2(e){var t,n,r,a=void 0===e?tr:e,i=a.options,o=void 0===i?tr:i,s=a.plugins,l=void 0===s?tn:s,c=function(e,r,a){return a.startsWith(n)&&a.endsWith(n)&&a.replaceAll(n,"").length>0?".".concat(t):e},u=l.slice();u.push(function(e){e.type===e_&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(t0,n).replace(r,c))}),o.prefix&&u.push(e0),u.push(eJ);var d=function(e,a,i,s){void 0===a&&(a=""),void 0===i&&(i=""),void 0===s&&(s="&"),t=s,n=a,r=RegExp("\\".concat(n,"\\b"),"g");var l,c,d,p,f,h=e.replace(t1,""),m=(f=function e(t,n,r,a,i,o,s,l,c){for(var u,d=0,p=0,f=s,h=0,m=0,g=0,b=1,y=1,E=1,v=0,T="",S=i,A=o,O=a,_=T;y;)switch(g=v,v=eY()){case 40:if(108!=g&&58==eD(_,f-1)){-1!=eL(_+=eN(eX(v),"&","&\f"),"&\f",eC(d?l[d-1]:0))&&(E=-1);break}case 34:case 39:case 91:_+=eX(v);break;case 9:case 10:case 13:case 32:_+=function(e){for(;e$=eq();)if(e$<33)eY();else break;return eK(e)>2||eK(e$)>3?"":" "}(g);break;case 92:_+=function(e,t){for(var n;--t&&eY()&&!(e$<48)&&!(e$>102)&&(!(e$>57)||!(e$<65))&&(!(e$>70)||!(e$<97)););return n=eH+(t<6&&32==eq()&&32==eY()),eP(ez,e,n)}(eH-1,7);continue;case 47:switch(eq()){case 42:case 47:eF(eZ(u=function(e,t){for(;eY();)if(e+e$===57)break;else if(e+e$===84&&47===eq())break;return"/*"+eP(ez,t,eH-1)+"*"+ew(47===e?e:eY())}(eY(),eH),n,r,eO,ew(e$),eP(u,2,-2),0,c),c);break;default:_+="/"}break;case 123*b:l[d++]=eM(_)*E;case 125*b:case 59:case 0:switch(v){case 0:case 125:y=0;case 59+p:-1==E&&(_=eN(_,/\f/g,"")),m>0&&eM(_)-f&&eF(m>32?e2(_+";",a,r,f-1,c):e2(eN(_," ","")+";",a,r,f-2,c),c);break;case 59:_+=";";default:if(eF(O=e1(_,n,r,d,p,i,l,T,S=[],A=[],f,o),o),123===v){if(0===p)e(_,n,O,O,S,o,f,l,A);else switch(99===h&&110===eD(_,3)?100:h){case 100:case 108:case 109:case 115:e(t,O,O,a&&eF(e1(t,O,O,0,0,i,l,T,i,S=[],f,A),A),i,A,f,l,a?S:A);break;default:e(_,O,O,O,[""],A,0,l,A)}}}d=p=m=0,b=E=1,T=_="",f=s;break;case 58:f=1+eM(_),m=g;default:if(b<1){if(123==v)--b;else if(125==v&&0==b++&&125==(e$=eH>0?eD(ez,--eH):0,eU--,10===e$&&(eU=1,ej--),e$))continue}switch(_+=ew(v),v*b){case 38:E=p>0?1:(_+="\f",-1);break;case 44:l[d++]=(eM(_)-1)*E,E=1;break;case 64:45===eq()&&(_+=eX(eY())),h=eq(),p=f=eM(T=_+=function(e){for(;!eK(eq());)eY();return eP(ez,e,eH)}(eH)),v++;break;case 45:45===g&&2==eM(_)&&(b=0)}}return o}("",null,null,null,[""],(p=d=i||a?"".concat(i," ").concat(a," { ").concat(h," }"):h,ej=eU=1,eG=eM(ez=p),eH=0,d=[]),0,[0],d),ez="",f);o.namespace&&(m=function e(t,n){return t.map(function(t){return"rule"===t.type&&(t.value="".concat(n," ").concat(t.value),t.value=t.value.replaceAll(",",",".concat(n," ")),t.props=t.props.map(function(e){return"".concat(n," ").concat(e)})),Array.isArray(t.children)&&"@keyframes"!==t.type&&(t.children=e(t.children,n)),t})}(m,o.namespace));var g=[];return eQ(m,(c=(l=u.concat(function(e){var t;!e.root&&(e=e.return)&&(t=e,g.push(t))})).length,function(e,t,n,r){for(var a="",i=0;i="A"&&r<="Z"?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var nt=function(e){return null==e||!1===e||""===e},nn=function(e){var t=[];for(var n in e){var r=e[n];e.hasOwnProperty(n)&&!nt(r)&&(Array.isArray(r)&&r.isCss||tw(r)?t.push("".concat(ne(n),":"),r,";"):tL(r)?t.push.apply(t,ey(ey(["".concat(n," {")],nn(r),!1),["}"],!1)):t.push("".concat(ne(n),": ").concat(null==r||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||n in e3.Z||n.startsWith("--")?String(r).trim():"".concat(r,"px"),";")))}return t};function nr(e,t,n,r){return nt(e)?[]:tI(e)?[".".concat(e.styledComponentId)]:tw(e)?!tw(e)||e.prototype&&e.prototype.isReactComponent||!t?[e]:nr(e(t),t,n,r):e instanceof t7?n?(e.inject(n,r),[e.getName(r)]):[e]:tL(e)?nn(e):Array.isArray(e)?Array.prototype.concat.apply(tn,e.map(function(e){return nr(e,t,n,r)})):[e.toString()]}function na(e){for(var t=0;t>>0);if(!t.hasNameForId(this.componentId,i)){var o=n(a,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,o)}r=tR(r,i),this.staticRulesId=i}}else{for(var s=tp(this.baseHash,n.hash),l="",c=0;c>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(l,".".concat(p),void 0,this.componentId)),r=tR(r,p)}}return r},e}(),ns=eg.createContext(void 0);ns.Consumer;var nl={};function nc(e,t,n){var r,a,i,o,s=tI(e),l=!th(e),c=t.attrs,u=void 0===c?tn:c,d=t.componentId,p=void 0===d?(r=t.displayName,a=t.parentComponentId,nl[i="string"!=typeof r?"sc":ts(r)]=(nl[i]||0)+1,o="".concat(i,"-").concat(tu(tf(e8+i+nl[i])>>>0)),a?"".concat(a,"-").concat(o):o):d,f=t.displayName,h=void 0===f?th(e)?"styled.".concat(e):"Styled(".concat(e.displayName||e.name||"Component",")"):f,m=t.displayName&&t.componentId?"".concat(ts(t.displayName),"-").concat(t.componentId):t.componentId||p,g=s&&e.attrs?e.attrs.concat(u).filter(Boolean):u,b=t.shouldForwardProp;if(s&&e.shouldForwardProp){var y=e.shouldForwardProp;if(t.shouldForwardProp){var E=t.shouldForwardProp;b=function(e,t){return y(e,t)&&E(e,t)}}else b=y}var v=new no(n,m,s?e.componentStyle:void 0);function T(e,t){return function(e,t,n){var r,a,i=e.attrs,o=e.componentStyle,s=e.defaultProps,l=e.foldedComponentIds,c=e.styledComponentId,u=e.target,d=eg.useContext(ns),p=t9(),f=e.shouldForwardProp||p.shouldForwardProp,h=(void 0===(r=s)&&(r=tr),t.theme!==r.theme&&t.theme||d||r.theme||tr),m=function(e,t,n){for(var r,a=eb(eb({},t),{className:void 0,theme:n}),i=0;i2&&tJ.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=n.nc,a=tN([r&&'nonce="'.concat(r,'"'),"".concat(e4,'="true"'),"".concat(e9,'="').concat(e8,'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(e.sealed)throw tP(2);return e._emitSheetCSS()},this.getStyleElement=function(){if(e.sealed)throw tP(2);var t,r=e.instance.toString();if(!r)return[];var a=((t={})[e4]="",t[e9]=e8,t.dangerouslySetInnerHTML={__html:r},t),i=n.nc;return i&&(a.nonce=i),[eg.createElement("style",eb({},a,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new tJ({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw tP(2);return eg.createElement(t8,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw tP(3)}}();var nh=n(4942),nm=n(73935),ng=n.t(nm,2),nb=function(){return(nb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=18&&(J=ny.createRoot)}catch(e){}function nT(e){var t=ny.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"==typeof t&&(t.usingClientEntryPoint=e)}var nS="__rc_react_root__",nA=new Map;"undefined"!=typeof document&&nA.set("tooltip",document.createElement("div"));var nO=function(e,t){void 0===t&&(t=!1);var n=null;if(t)n=nA.get("tooltip");else if(n=document.createElement("div"),null==e?void 0:e.key){var r=nA.get(e.key);r?n=r:nA.set(e.key,n)}return!function(e,t){if(J){var n;nT(!0),n=t[nS]||J(t),nT(!1),n.render(e),t[nS]=n;return}nv(e,t)}(e,n),n},n_=function(e){if("undefined"==typeof document)return"loading";var t=e.attachShadow({mode:"open"}),n=document.createElement("div"),r=document.createElement("style");r.innerHTML=".loading {\n display: inline-block;\n position: relative;\n width: 80px;\n height: 80px;\n }\n .loading div {\n position: absolute;\n top: 33px;\n width: 13px;\n height: 13px;\n border-radius: 50%;\n background: #ccc;\n animation-timing-function: cubic-bezier(0, 1, 1, 0);\n }\n .loading div:nth-child(1) {\n left: 8px;\n animation: loading1 0.6s infinite;\n }\n .loading div:nth-child(2) {\n left: 8px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(3) {\n left: 32px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(4) {\n left: 56px;\n animation: loading3 0.6s infinite;\n }\n @keyframes loading1 {\n 0% {\n transform: scale(0);\n }\n 100% {\n transform: scale(1);\n }\n }\n @keyframes loading3 {\n 0% {\n transform: scale(1);\n }\n 100% {\n transform: scale(0);\n }\n }\n @keyframes loading2 {\n 0% {\n transform: translate(0, 0);\n }\n 100% {\n transform: translate(24px, 0);\n }\n }\n ",n.classList.add("loading"),n.innerHTML="
",t.appendChild(r),t.appendChild(n)},nk=function(e){var t=e.loadingTemplate,n=e.theme,r=eg.useRef(null);return eg.useEffect(function(){!t&&r.current&&n_(r.current)},[]),eg.createElement("div",{className:"charts-loading-container",style:{position:"absolute",width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",left:0,top:0,zIndex:99,backgroundColor:"dark"===(void 0===n?"light":n)?"rgb(20, 20, 20)":"rgb(255, 255, 255)"}},t||eg.createElement("div",{ref:r}))},nx=(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),nC=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={hasError:!1},t.renderError=function(e){var n=t.props.errorTemplate;return"function"==typeof n?n(e):n||eg.createElement("h5",null,"组件出错了,请核查后重试: ",e.message)},t}return nx(t,e),t.getDerivedStateFromError=function(e){return{hasError:!0,error:e}},t.getDerivedStateFromProps=function(e,t){return t.children!==e.children?{children:e.children,hasError:!1,error:void 0}:null},t.prototype.render=function(){return this.state.hasError?this.renderError(this.state.error):eg.createElement(eg.Fragment,null,this.props.children)},t}(eg.Component),nw=function(e,t,n){if(n||2==arguments.length)for(var r,a=0,i=t.length;a90)return this;this.computeMatrix()}return this._getAxes(),this.type===nN.iM.ORBITING||this.type===nN.iM.EXPLORING?this._getPosition():this.type===nN.iM.TRACKING&&this._getFocalPoint(),this._update(),this}},{key:"pan",value:function(e,t){var n=(0,nN.O4)(e,t,0),r=nG.d9(this.position);return nG.IH(r,r,nG.bA(nG.Ue(),this.right,n[0])),nG.IH(r,r,nG.bA(nG.Ue(),this.up,n[1])),this._setPosition(r),this.triggerUpdate(),this}},{key:"dolly",value:function(e){var t=this.forward,n=nG.d9(this.position),r=e*this.dollyingStep;return r=Math.max(Math.min(this.distance+e*this.dollyingStep,this.maxDistance),this.minDistance)-this.distance,n[0]+=r*t[0],n[1]+=r*t[1],n[2]+=r*t[2],this._setPosition(n),this.type===nN.iM.ORBITING||this.type===nN.iM.EXPLORING?this._getDistance():this.type===nN.iM.TRACKING&&nG.IH(this.focalPoint,n,this.distanceVector),this.triggerUpdate(),this}},{key:"cancelLandmarkAnimation",value:function(){void 0!==this.landmarkAnimationID&&this.canvas.cancelAnimationFrame(this.landmarkAnimationID)}},{key:"createLandmark",value:function(e){var t,n,r,a,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=i.position,s=void 0===o?this.position:o,l=i.focalPoint,c=void 0===l?this.focalPoint:l,u=i.roll,d=i.zoom,p=new nN.GZ.CameraContribution;p.setType(this.type,void 0),p.setPosition(s[0],null!==(t=s[1])&&void 0!==t?t:this.position[1],null!==(n=s[2])&&void 0!==n?n:this.position[2]),p.setFocalPoint(c[0],null!==(r=c[1])&&void 0!==r?r:this.focalPoint[1],null!==(a=c[2])&&void 0!==a?a:this.focalPoint[2]),p.setRoll(null!=u?u:this.roll),p.setZoom(null!=d?d:this.zoom);var f={name:e,matrix:nU.clone(p.getWorldTransform()),right:nG.d9(p.right),up:nG.d9(p.up),forward:nG.d9(p.forward),position:nG.d9(p.getPosition()),focalPoint:nG.d9(p.getFocalPoint()),distanceVector:nG.d9(p.getDistanceVector()),distance:p.getDistance(),dollyingStep:p.getDollyingStep(),azimuth:p.getAzimuth(),elevation:p.getElevation(),roll:p.getRoll(),relAzimuth:p.relAzimuth,relElevation:p.relElevation,relRoll:p.relRoll,zoom:p.getZoom()};return this.landmarks.push(f),f}},{key:"gotoLandmark",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=nB(e,"String")?this.landmarks.find(function(t){return t.name===e}):e;if(r){var a,i=nB(n,"Number")?{duration:n}:n,o=i.easing,s=void 0===o?"linear":o,l=i.duration,c=void 0===l?100:l,u=i.easingFunction,d=i.onfinish,p=void 0===d?void 0:d,f=i.onframe,h=void 0===f?void 0:f;this.cancelLandmarkAnimation();var m=r.position,g=r.focalPoint,b=r.zoom,y=r.roll,E=(void 0===u?void 0:u)||nN.GZ.EasingFunction(s),v=function(){t.setFocalPoint(g),t.setPosition(m),t.setRoll(y),t.setZoom(b),t.computeMatrix(),t.triggerUpdate(),null==p||p()};if(0===c)return v();var T=function(e){void 0===a&&(a=e);var n=e-a;if(n>=c){v();return}var r=E(n/c),i=nG.Ue(),o=nG.Ue(),s=1,l=0;if(nG.t7(i,t.focalPoint,g,r),nG.t7(o,t.position,m,r),l=t.roll*(1-r)+y*r,s=t.zoom*(1-r)+b*r,t.setFocalPoint(i),t.setPosition(o),t.setRoll(l),t.setZoom(s),nG.TK(i,g)+nG.TK(o,m)<=.01&&void 0===b&&void 0===y)return v();t.computeMatrix(),t.triggerUpdate(),nn?n:e},nW={}.toString,nV=function(e){return null==e},nY=function(e){function t(e,n,r,a){var i;return(0,nL.Z)(this,t),(i=(0,nP.Z)(this,t,[e])).currentTime=r,i.timelineTime=a,i.target=n,i.type="finish",i.bubbles=!1,i.currentTarget=n,i.defaultPrevented=!1,i.eventPhase=i.AT_TARGET,i.timeStamp=Date.now(),i.currentTime=r,i.timelineTime=a,i}return(0,nM.Z)(t,e),(0,nD.Z)(t)}(nN.xA),nq=0,nK=(0,nD.Z)(function e(t,n){var r;(0,nL.Z)(this,e),this.currentTimePending=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._playbackRate=1,this._inTimeline=!0,this.effect=t,t.animation=this,this.timeline=n,this.id="".concat(nq++),this._inEffect=!!this.effect.update(0),this._totalDuration=Number(null===(r=this.effect)||void 0===r?void 0:r.getComputedTiming().endTime),this._holdTime=0,this._paused=!1,this.oldPlayState="idle",this.updatePromises()},[{key:"pending",get:function(){return null===this._startTime&&!this._paused&&0!==this.playbackRate||this.currentTimePending}},{key:"playState",get:function(){return this._idle?"idle":this._isFinished?"finished":this._paused?"paused":"running"}},{key:"ready",get:function(){var e=this;return this.readyPromise||(-1===this.timeline.animationsWithPromises.indexOf(this)&&this.timeline.animationsWithPromises.push(this),this.readyPromise=new Promise(function(t,n){e.resolveReadyPromise=function(){t(e)},e.rejectReadyPromise=function(){n(Error())}}),this.pending||this.resolveReadyPromise()),this.readyPromise}},{key:"finished",get:function(){var e=this;return this.finishedPromise||(-1===this.timeline.animationsWithPromises.indexOf(this)&&this.timeline.animationsWithPromises.push(this),this.finishedPromise=new Promise(function(t,n){e.resolveFinishedPromise=function(){t(e)},e.rejectFinishedPromise=function(){n(Error())}}),"finished"===this.playState&&this.resolveFinishedPromise()),this.finishedPromise}},{key:"currentTime",get:function(){return this.updatePromises(),this._idle||this.currentTimePending?null:this._currentTime},set:function(e){if(!isNaN(e=Number(e))){if(this.timeline.restart(),!this._paused&&null!==this._startTime){var t;this._startTime=Number(null===(t=this.timeline)||void 0===t?void 0:t.currentTime)-e/this.playbackRate}this.currentTimePending=!1,this._currentTime!==e&&(this._idle&&(this._idle=!1,this._paused=!0),this.tickCurrentTime(e,!0),this.timeline.applyDirtiedAnimation(this))}}},{key:"startTime",get:function(){return this._startTime},set:function(e){null!==e&&(this.updatePromises(),!isNaN(e=Number(e))&&(this._paused||this._idle||(this._startTime=e,this.tickCurrentTime((Number(this.timeline.currentTime)-this._startTime)*this.playbackRate),this.timeline.applyDirtiedAnimation(this),this.updatePromises())))}},{key:"playbackRate",get:function(){return this._playbackRate},set:function(e){if(e!==this._playbackRate){this.updatePromises();var t=this.currentTime;this._playbackRate=e,this.startTime=null,"paused"!==this.playState&&"idle"!==this.playState&&(this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this)),null!==t&&(this.currentTime=t),this.updatePromises()}}},{key:"_isFinished",get:function(){return!this._idle&&(this._playbackRate>0&&Number(this._currentTime)>=this._totalDuration||this._playbackRate<0&&0>=Number(this._currentTime))}},{key:"totalDuration",get:function(){return this._totalDuration}},{key:"_needsTick",get:function(){return this.pending||"running"===this.playState||!this._finishedFlag}},{key:"updatePromises",value:function(){var e=this.oldPlayState,t=this.pending?"pending":this.playState;return this.readyPromise&&t!==e&&("idle"===t?(this.rejectReadyPromise(),this.readyPromise=void 0):"pending"===e?this.resolveReadyPromise():"pending"===t&&(this.readyPromise=void 0)),this.finishedPromise&&t!==e&&("idle"===t?(this.rejectFinishedPromise(),this.finishedPromise=void 0):"finished"===t?this.resolveFinishedPromise():"finished"===e&&(this.finishedPromise=void 0)),this.oldPlayState=t,this.readyPromise||this.finishedPromise}},{key:"play",value:function(){this.updatePromises(),this._paused=!1,(this._isFinished||this._idle)&&(this.rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this),-1===this.timeline.animations.indexOf(this)&&this.timeline.animations.push(this),this.updatePromises()}},{key:"pause",value:function(){this.updatePromises(),this.currentTime&&(this._holdTime=this.currentTime),this._isFinished||this._paused||this._idle?this._idle&&(this.rewind(),this._idle=!1):this.currentTimePending=!0,this._startTime=null,this._paused=!0,this.updatePromises()}},{key:"finish",value:function(){this.updatePromises(),this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this.currentTimePending=!1,this.timeline.applyDirtiedAnimation(this),this.updatePromises())}},{key:"cancel",value:function(){var e=this;if(this.updatePromises(),this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this.effect.update(null),this.timeline.applyDirtiedAnimation(this),this.updatePromises(),this.oncancel)){var t=new nY(null,this,this.currentTime,null);setTimeout(function(){e.oncancel(t)})}}},{key:"reverse",value:function(){this.updatePromises();var e=this.currentTime;this.playbackRate*=-1,this.play(),null!==e&&(this.currentTime=e),this.updatePromises()}},{key:"updatePlaybackRate",value:function(e){this.playbackRate=e}},{key:"targetAnimations",value:function(){var e;return(null===(e=this.effect)||void 0===e?void 0:e.target).getAnimations()}},{key:"markTarget",value:function(){var e=this.targetAnimations();-1===e.indexOf(this)&&e.push(this)}},{key:"unmarkTarget",value:function(){var e=this.targetAnimations(),t=e.indexOf(this);-1!==t&&e.splice(t,1)}},{key:"tick",value:function(e,t){this._idle||this._paused||(null===this._startTime?t&&(this.startTime=e-this._currentTime/this.playbackRate):this._isFinished||this.tickCurrentTime((e-this._startTime)*this.playbackRate)),t&&(this.currentTimePending=!1,this.fireEvents(e))}},{key:"rewind",value:function(){if(this.playbackRate>=0)this.currentTime=0;else if(this._totalDuration<1/0)this.currentTime=this._totalDuration;else throw Error("Unable to rewind negative playback rate animation with infinite duration")}},{key:"persist",value:function(){throw Error(nN.jf)}},{key:"addEventListener",value:function(e,t,n){throw Error(nN.jf)}},{key:"removeEventListener",value:function(e,t,n){throw Error(nN.jf)}},{key:"dispatchEvent",value:function(e){throw Error(nN.jf)}},{key:"commitStyles",value:function(){throw Error(nN.jf)}},{key:"ensureAlive",value:function(){var e,t;this.playbackRate<0&&0===this.currentTime?this._inEffect=!!(null!==(e=this.effect)&&void 0!==e&&e.update(-1)):this._inEffect=!!(null!==(t=this.effect)&&void 0!==t&&t.update(this.currentTime)),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,this.timeline.animations.push(this))}},{key:"tickCurrentTime",value:function(e,t){e!==this._currentTime&&(this._currentTime=e,this._isFinished&&!t&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this.ensureAlive())}},{key:"fireEvents",value:function(e){var t=this;if(this._isFinished){if(!this._finishedFlag){if(this.onfinish){var n=new nY(null,this,this.currentTime,e);setTimeout(function(){t.onfinish&&t.onfinish(n)})}this._finishedFlag=!0}}else{if(this.onframe&&"running"===this.playState){var r=new nY(null,this,this.currentTime,e);this.onframe(r)}this._finishedFlag=!1}}}]),nX="function"==typeof Float32Array,nQ=function(e,t){return 1-3*t+3*e},nJ=function(e,t){return 3*t-6*e},n0=function(e){return 3*e},n1=function(e,t,n){return((nQ(t,n)*e+nJ(t,n))*e+n0(t))*e},n2=function(e,t,n){return 3*nQ(t,n)*e*e+2*nJ(t,n)*e+n0(t)},n3=function(e,t,n,r,a){var i,o,s=0;do(i=n1(o=t+(n-t)/2,r,a)-e)>0?n=o:t=o;while(Math.abs(i)>1e-7&&++s<10);return o},n5=function(e,t,n,r){for(var a=0;a<4;++a){var i=n2(t,n,r);if(0===i)break;var o=n1(t,n,r)-e;t-=o/i}return t},n4=function(e,t,n,r){if(!(e>=0&&e<=1&&n>=0&&n<=1))throw Error("bezier x values must be in [0, 1] range");if(e===t&&n===r)return function(e){return e};for(var a=nX?new Float32Array(11):Array(11),i=0;i<11;++i)a[i]=n1(.1*i,e,n);var o=function(t){for(var r=0,i=1;10!==i&&a[i]<=t;++i)r+=.1;var o=r+(t-a[--i])/(a[i+1]-a[i])*.1,s=n2(o,e,n);return s>=.001?n5(t,o,e,n):0===s?o:n3(t,r,r+.1,e,n)};return function(e){return 0===e||1===e?e:n1(o(e),t,r)}},n6=function(e){return Math.pow(e,2)},n9=function(e){return Math.pow(e,3)},n8=function(e){return Math.pow(e,4)},n7=function(e){return Math.pow(e,5)},re=function(e){return Math.pow(e,6)},rt=function(e){return 1-Math.cos(e*Math.PI/2)},rn=function(e){return 1-Math.sqrt(1-e*e)},rr=function(e){return e*e*(3*e-2)},ra=function(e){for(var t,n=4;e<((t=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*t-2)/22-e,2)},ri=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,2),r=n[0],a=n[1],i=nZ(Number(void 0===r?1:r),1,10),o=nZ(Number(void 0===a?.5:a),.1,2);return 0===e||1===e?e:-i*Math.pow(2,10*(e-1))*Math.sin((e-1-o/(2*Math.PI)*Math.asin(1/i))*(2*Math.PI)/o)},ro=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,r=(0,nz.Z)(t,4),a=r[0],i=void 0===a?1:a,o=r[1],s=void 0===o?100:o,l=r[2],c=void 0===l?10:l,u=r[3],d=void 0===u?0:u;i=nZ(i,.1,1e3),s=nZ(s,.1,1e3),c=nZ(c,.1,1e3),d=nZ(d,.1,1e3);var p=Math.sqrt(s/i),f=c/(2*Math.sqrt(s*i)),h=f<1?p*Math.sqrt(1-f*f):0,m=f<1?(f*p+-d)/h:-d+p,g=n?n*e/1e3:e;return(g=f<1?Math.exp(-g*f*p)*(1*Math.cos(h*g)+m*Math.sin(h*g)):(1+m*g)*Math.exp(-g*p),0===e||1===e)?e:1-g},rs=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,2),r=n[0],a=void 0===r?10:r;return("start"===n[1]?Math.ceil:Math.floor)(nZ(e,0,1)*a)/a},rl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,4);return n4(n[0],n[1],n[2],n[3])(e)},rc=n4(.42,0,1,1),ru=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return 1-e(1-t,n,r)}},rd=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return t<.5?e(2*t,n,r)/2:1-e(-2*t+2,n,r)/2}},rp=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return t<.5?(1-e(1-2*t,n,r))/2:(e(2*t-1,n,r)+1)/2}},rf={steps:rs,"step-start":function(e){return rs(e,[1,"start"])},"step-end":function(e){return rs(e,[1,"end"])},linear:function(e){return e},"cubic-bezier":rl,ease:function(e){return rl(e,[.25,.1,.25,1])},in:rc,out:ru(rc),"in-out":rd(rc),"out-in":rp(rc),"in-quad":n6,"out-quad":ru(n6),"in-out-quad":rd(n6),"out-in-quad":rp(n6),"in-cubic":n9,"out-cubic":ru(n9),"in-out-cubic":rd(n9),"out-in-cubic":rp(n9),"in-quart":n8,"out-quart":ru(n8),"in-out-quart":rd(n8),"out-in-quart":rp(n8),"in-quint":n7,"out-quint":ru(n7),"in-out-quint":rd(n7),"out-in-quint":rp(n7),"in-expo":re,"out-expo":ru(re),"in-out-expo":rd(re),"out-in-expo":rp(re),"in-sine":rt,"out-sine":ru(rt),"in-out-sine":rd(rt),"out-in-sine":rp(rt),"in-circ":rn,"out-circ":ru(rn),"in-out-circ":rd(rn),"out-in-circ":rp(rn),"in-back":rr,"out-back":ru(rr),"in-out-back":rd(rr),"out-in-back":rp(rr),"in-bounce":ra,"out-bounce":ru(ra),"in-out-bounce":rd(ra),"out-in-bounce":rp(ra),"in-elastic":ri,"out-elastic":ru(ri),"in-out-elastic":rd(ri),"out-in-elastic":rp(ri),spring:ro,"spring-in":ro,"spring-out":ru(ro),"spring-in-out":rd(ro),"spring-out-in":rp(ro)},rh=function(e){var t;return("-"===(t=(t=e).replace(/([A-Z])/g,function(e){return"-".concat(e.toLowerCase())})).charAt(0)?t.substring(1):t).replace(/^ease-/,"").replace(/(\(|\s).+/,"").toLowerCase().trim()},rm=function(e){return e};function rg(e,t){return function(n){if(n>=1)return 1;var r=1/e;return(n+=t*r)-n%r}}var rb="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",ry=new RegExp("cubic-bezier\\(".concat(rb,",").concat(rb,",").concat(rb,",").concat(rb,"\\)")),rE=/steps\(\s*(\d+)\s*\)/,rv=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/;function rT(e){var t=ry.exec(e);if(t)return n4.apply(void 0,(0,n$.Z)(t.slice(1).map(Number)));var n=rE.exec(e);if(n)return rg(Number(n[1]),0);var r=rv.exec(e);return r?rg(Number(r[1]),{start:1,middle:.5,end:0}[r[2]]):rf[rh(e)]||rf.linear}function rS(e){return"offset"!==e&&"easing"!==e&&"composite"!==e&&"computedOffset"!==e}var rA=function(e,t,n){return function(r){var a,i=function e(t,n,r){if("number"==typeof t&&"number"==typeof n)return t*(1-r)+n*r;if("boolean"==typeof t&&"boolean"==typeof n||"string"==typeof t&&"string"==typeof n)return r<.5?t:n;if(Array.isArray(t)&&Array.isArray(n)){for(var a=t.length,i=n.length,o=Math.max(a,i),s=[],l=0;l1)throw Error("Keyframe offsets must be between 0 and 1.");n.computedOffset=a}}else if("composite"===r&&-1===["replace","add","accumulate","auto"].indexOf(a))throw Error("".concat(a," compositing is not supported"));n[r]=a}return void 0===n.offset&&(n.offset=null),void 0===n.easing&&(n.easing=(null==t?void 0:t.easing)||"linear"),void 0===n.composite&&(n.composite="auto"),n}),r=!0,a=-1/0,i=0;i=0&&1>=Number(e.offset)}),r||function(){var e,t,r=n.length;n[r-1].computedOffset=Number(null!==(e=n[r-1].offset)&&void 0!==e?e:1),r>1&&(n[0].computedOffset=Number(null!==(t=n[0].offset)&&void 0!==t?t:0));for(var a=0,i=Number(n[0].computedOffset),o=1;o=e.applyFrom&&t=Math.min(n.delay+e+n.endDelay,r)?2:3}(e,t,n),u=function(e,t,n,r,a){switch(r){case 1:if("backwards"===t||"both"===t)return 0;return null;case 3:return n-a;case 2:if("forwards"===t||"both"===t)return e;return null;case 0:return null}}(e,n.fill,t,c,n.delay);if(null===u)return null;var d="auto"===n.duration?0:n.duration,p=(r=n.iterations,a=n.iterationStart,0===d?1!==c&&(a+=r):a+=u/d,a),f=(i=n.iterationStart,o=n.iterations,0==(s=p===1/0?i%1:p%1)&&2===c&&0!==o&&(0!==u||0===d)&&(s=1),s),h=(l=n.iterations,2===c&&l===1/0?1/0:1===f?Math.floor(p)-1:Math.floor(p)),m=function(e,t,n){var r=e;if("normal"!==e&&"reverse"!==e){var a=t;"alternate-reverse"===e&&(a+=1),r="normal",a!==1/0&&a%2!=0&&(r="reverse")}return"normal"===r?n:1-n}(n.direction,h,f);return n.currentIteration=h,n.progress=m,n.easingFunction(m)}(this.timing.activeDuration,e,this.timing),null!==this.timeFraction)}},{key:"getKeyframes",value:function(){return this.normalizedKeyframes}},{key:"setKeyframes",value:function(e){this.normalizedKeyframes=r_(e)}},{key:"getComputedTiming",value:function(){return this.computedTiming}},{key:"getTiming",value:function(){return this.timing}},{key:"updateTiming",value:function(e){var t=this;Object.keys(e||{}).forEach(function(n){t.timing[n]=e[n]})}}]);function rw(e,t){return Number(e.id)-Number(t.id)}var rI=(0,nD.Z)(function e(t){var n=this;(0,nL.Z)(this,e),this.animations=[],this.ticking=!1,this.timelineTicking=!1,this.hasRestartedThisFrame=!1,this.animationsWithPromises=[],this.inTick=!1,this.pendingEffects=[],this.currentTime=null,this.rafId=0,this.rafCallbacks=[],this.webAnimationsNextTick=function(e){n.currentTime=e,n.discardAnimations(),0===n.animations.length?n.timelineTicking=!1:n.requestAnimationFrame(n.webAnimationsNextTick)},this.processRafCallbacks=function(e){var t=n.rafCallbacks;n.rafCallbacks=[],et.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let rN=(e,t,n)=>[["M",e-n,t],["A",n,n,0,1,0,e+n,t],["A",n,n,0,1,0,e-n,t],["Z"]];rN.style=["fill"];let rL=rN.bind(void 0);rL.style=["stroke","lineWidth"];let rD=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t-n],["L",e+n,t+n],["L",e-n,t+n],["Z"]];rD.style=["fill"];let rP=rD.bind(void 0);rP.style=["fill"];let rM=rD.bind(void 0);rM.style=["stroke","lineWidth"];let rF=(e,t,n)=>{let r=.618*n;return[["M",e-r,t],["L",e,t-n],["L",e+r,t],["L",e,t+n],["Z"]]};rF.style=["fill"];let rB=rF.bind(void 0);rB.style=["stroke","lineWidth"];let rj=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t+r],["L",e,t-r],["L",e+n,t+r],["Z"]]};rj.style=["fill"];let rU=rj.bind(void 0);rU.style=["stroke","lineWidth"];let rG=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t-r],["L",e+n,t-r],["L",e,t+r],["Z"]]};rG.style=["fill"];let rH=rG.bind(void 0);rH.style=["stroke","lineWidth"];let r$=(e,t,n)=>{let r=n/2*Math.sqrt(3);return[["M",e,t-n],["L",e+r,t-n/2],["L",e+r,t+n/2],["L",e,t+n],["L",e-r,t+n/2],["L",e-r,t-n/2],["Z"]]};r$.style=["fill"];let rz=r$.bind(void 0);rz.style=["stroke","lineWidth"];let rZ=(e,t,n)=>{let r=n-1.5;return[["M",e-n,t-r],["L",e+n,t+r],["L",e+n,t-r],["L",e-n,t+r],["Z"]]};rZ.style=["fill"];let rW=rZ.bind(void 0);rW.style=["stroke","lineWidth"];let rV=(e,t,n)=>[["M",e,t+n],["L",e,t-n]];rV.style=["stroke","lineWidth"];let rY=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t+n],["M",e+n,t-n],["L",e-n,t+n]];rY.style=["stroke","lineWidth"];let rq=(e,t,n)=>[["M",e-n/2,t-n],["L",e+n/2,t-n],["M",e,t-n],["L",e,t+n],["M",e-n/2,t+n],["L",e+n/2,t+n]];rq.style=["stroke","lineWidth"];let rK=(e,t,n)=>[["M",e-n,t],["L",e+n,t],["M",e,t-n],["L",e,t+n]];rK.style=["stroke","lineWidth"];let rX=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rX.style=["stroke","lineWidth"];let rQ=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rQ.style=["stroke","lineWidth"];let rJ=rQ.bind(void 0);rJ.style=["stroke","lineWidth"];let r0=(e,t,n)=>[["M",e-n,t],["A",n/2,n/2,0,1,1,e,t],["A",n/2,n/2,0,1,0,e+n,t]];r0.style=["stroke","lineWidth"];let r1=(e,t,n)=>[["M",e-n-1,t-2.5],["L",e,t-2.5],["L",e,t+2.5],["L",e+n+1,t+2.5]];r1.style=["stroke","lineWidth"];let r2=(e,t,n)=>[["M",e-n-1,t+2.5],["L",e,t+2.5],["L",e,t-2.5],["L",e+n+1,t-2.5]];r2.style=["stroke","lineWidth"];let r3=(e,t,n)=>[["M",e-(n+1),t+2.5],["L",e-n/2,t+2.5],["L",e-n/2,t-2.5],["L",e+n/2,t-2.5],["L",e+n/2,t+2.5],["L",e+n+1,t+2.5]];r3.style=["stroke","lineWidth"];let r5=(e,t,n)=>[["M",e-5,t+2.5],["L",e-5,t],["L",e,t],["L",e,t-3],["L",e,t+3],["L",e+6.5,t+3]];r5.style=["stroke","lineWidth"];let r4=new Map([["bowtie",rZ],["cross",rY],["dash",rJ],["diamond",rF],["dot",rQ],["hexagon",r$],["hollowBowtie",rW],["hollowDiamond",rB],["hollowHexagon",rz],["hollowPoint",rL],["hollowSquare",rM],["hollowTriangle",rU],["hollowTriangleDown",rH],["hv",r1],["hvh",r3],["hyphen",rX],["line",rV],["plus",rK],["point",rN],["rect",rP],["smooth",r0],["square",rD],["tick",rq],["triangleDown",rG],["triangle",rj],["vh",r2],["vhv",r5]]),r6={};function r9(e,t){if(e.startsWith("symbol.")){var n;n=e.split(".").pop(),r4.set(n,t)}else Object.assign(r6,{[e]:t})}var r8=n(88998);/*! +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6864,9618,6231,8424,5265,2640,3913,952],{11475:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},27496:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},94668:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},34971:function(e,t){"use strict";t.Z=function(e,t,n){return en?n:e}},24960:function(e,t,n){"use strict";var r=n(44002);t.Z=function(e){return Array.isArray?Array.isArray(e):(0,r.Z)(e,"Array")}},52176:function(e,t,n){"use strict";var r=n(44002);t.Z=function(e){return(0,r.Z)(e,"Boolean")}},55265:function(e,t){"use strict";t.Z=function(e){return"function"==typeof e}},82993:function(e,t){"use strict";t.Z=function(e){return null==e}},23198:function(e,t,n){"use strict";function r(e,t,n){return void 0===n&&(n=1e-5),Math.abs(e-t)1&&(E*=C=Math.sqrt(C),v*=C);var w=E*E,I=v*v,R=(o===l?-1:1)*Math.sqrt(Math.abs((w*I-w*x*x-I*k*k)/(w*x*x+I*k*k)));m=R*E*x/v+(b+T)/2,g=-(R*v)*k/E+(y+S)/2,f=Math.asin(((y-g)/v*1e9>>0)/1e9),h=Math.asin(((S-g)/v*1e9>>0)/1e9),f=bh&&(f-=2*Math.PI),!l&&h>f&&(h-=2*Math.PI)}var N=h-f;if(Math.abs(N)>A){var L=h,D=T,P=S;_=e(T=m+E*Math.cos(h=f+A*(l&&h>f?1:-1)),S=g+v*Math.sin(h),E,v,i,0,l,D,P,[h,L,m,g])}N=h-f;var M=Math.cos(f),F=Math.cos(h),B=Math.tan(N/4),j=4/3*E*B,U=4/3*v*B,G=[b,y],H=[b+j*Math.sin(f),y-U*M],$=[T+j*Math.sin(h),S-U*F],z=[T,S];if(H[0]=2*G[0]-H[0],H[1]=2*G[1]-H[1],d)return H.concat($,z,_);_=H.concat($,z,_);for(var Z=[],W=0,V=_.length;W7){e[n].shift();for(var r=e[n],a=n;r.length;)t[n]="A",e.splice(a+=1,0,["C"].concat(r.splice(0,6)));e.splice(n,1)}}(d,f,b),m=d.length,"Z"===h&&g.push(b),l=(n=d[b]).length,p.x1=+n[l-2],p.y1=+n[l-1],p.x2=+n[l-4]||p.x1,p.y2=+n[l-3]||p.y1}return t?[d,g]:d}},19586:function(e,t,n){"use strict";n.d(t,{R:function(){return r}});var r={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0}},33554:function(e,t,n){"use strict";n.d(t,{z:function(){return r}});var r={x1:0,y1:0,x2:0,y2:0,x:0,y:0,qx:null,qy:null}},54947:function(e,t,n){"use strict";function r(e){return e.map(function(e){return Array.isArray(e)?[].concat(e):e})}n.d(t,{U:function(){return r}})},94918:function(e,t,n){"use strict";n.d(t,{A:function(){return f}});var r=n(97582),a=n(65336),i=n(33554),o=n(60310),s=n(97153),l=n(19586);function c(e){for(var t=e.pathValue[e.segmentStart],n=t.toLowerCase(),r=e.data;r.length>=l.R[n]&&("m"===n&&r.length>2?(e.segments.push([t].concat(r.splice(0,2))),n="l",t="m"===t?"l":"L"):e.segments.push([t].concat(r.splice(0,l.R[n]))),l.R[n]););}function u(e){return e>=48&&e<=57}function d(e){for(var t,n=e.pathValue,r=e.max;e.index=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].includes(t));)e.index+=1}var p=function(e){this.pathValue=e,this.segments=[],this.max=e.length,this.index=0,this.param=0,this.segmentStart=0,this.data=[],this.err=""};function f(e){if((0,a.y)(e))return[].concat(e);for(var t=function(e){if((0,o.b)(e))return[].concat(e);var t=function(e){if((0,s.n)(e))return[].concat(e);var t=new p(e);for(d(t);t.index0;s-=1){if((32|a)==97&&(3===s||4===s)?function(e){var t=e.index,n=e.pathValue,r=n.charCodeAt(t);if(48===r){e.param=0,e.index+=1;return}if(49===r){e.param=1,e.index+=1;return}e.err='[path-util]: invalid Arc flag "'+n[t]+'", expecting 0 or 1 at index '+t}(e):function(e){var t,n=e.max,r=e.pathValue,a=e.index,i=a,o=!1,s=!1,l=!1,c=!1;if(i>=n){e.err="[path-util]: Invalid path value at index "+i+', "pathValue" is missing param';return}if((43===(t=r.charCodeAt(i))||45===t)&&(i+=1,t=r.charCodeAt(i)),!u(t)&&46!==t){e.err="[path-util]: Invalid path value at index "+i+', "'+r[i]+'" is not a number';return}if(46!==t){if(o=48===t,i+=1,t=r.charCodeAt(i),o&&i=e.max||!((o=n.charCodeAt(e.index))>=48&&o<=57||43===o||45===o||46===o))break}c(e)}(t);return t.err?t.err:t.segments}(e),n=0,r=0,a=0,i=0;return t.map(function(e){var t,o=e.slice(1).map(Number),s=e[0],l=s.toUpperCase();if("M"===s)return n=o[0],r=o[1],a=n,i=r,["M",n,r];if(s!==l)switch(l){case"A":t=[l,o[0],o[1],o[2],o[3],o[4],o[5]+n,o[6]+r];break;case"V":t=[l,o[0]+r];break;case"H":t=[l,o[0]+n];break;default:t=[l].concat(o.map(function(e,t){return e+(t%2?r:n)}))}else t=[l].concat(o);var c=t.length;switch(l){case"Z":n=a,r=i;break;case"H":n=t[1];break;case"V":r=t[1];break;default:n=t[c-2],r=t[c-1],"M"===l&&(a=n,i=r)}return t})}(e),n=(0,r.pi)({},i.z),f=0;f=h[t],m[t]-=g?1:0,g?e.ss:[e.s]}).flat()});return b[0].length===b[1].length?b:e(b[0],b[1],f)}}});var r=n(50944),a=n(51777);function i(e){return e.map(function(e,t,n){var i,o,s,l,c,u,d,p,f,h,m,g,b=t&&n[t-1].slice(-2).concat(e.slice(1)),y=t?(0,a.S)(b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7],b[8],{bbox:!1}).length:0;return g=t?y?(void 0===i&&(i=.5),o=b.slice(0,2),s=b.slice(2,4),l=b.slice(4,6),c=b.slice(6,8),u=(0,r.k)(o,s,i),d=(0,r.k)(s,l,i),p=(0,r.k)(l,c,i),f=(0,r.k)(u,d,i),h=(0,r.k)(d,p,i),m=(0,r.k)(f,h,i),[["C"].concat(u,f,m),["C"].concat(h,p,c)]):[e,e]:[e],{s:e,ss:g,l:y}})}},46516:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var r=n(27872);function a(e){var t,n,a;return t=0,n=0,a=0,(0,r.Y)(e).map(function(e){if("M"===e[0])return t=e[1],n=e[2],0;var r,i,o,s=e.slice(1),l=s[0],c=s[1],u=s[2],d=s[3],p=s[4],f=s[5];return i=t,a=3*((f-(o=n))*(l+u)-(p-i)*(c+d)+c*(i-u)-l*(o-d)+f*(u+i/3)-p*(d+o/3))/20,t=(r=e.slice(-2))[0],n=r[1],a}).reduce(function(e,t){return e+t},0)>=0}},90046:function(e,t,n){"use strict";n.d(t,{r:function(){return i}});var r=n(97582),a=n(10992);function i(e,t,n){return(0,a.s)(e,t,(0,r.pi)((0,r.pi)({},n),{bbox:!1,length:!0})).point}},91952:function(e,t,n){"use strict";n.d(t,{g:function(){return a}});var r=n(58076);function a(e,t){var n,a,i=e.length-1,o=[],s=0,l=(a=(n=e.length)-1,e.map(function(t,r){return e.map(function(t,i){var o=r+i;return 0===i||e[o]&&"M"===e[o][0]?["M"].concat(e[o].slice(-2)):(o>=n&&(o-=a),e[o])})}));return l.forEach(function(n,a){e.slice(1).forEach(function(n,o){s+=(0,r.y)(e[(a+o)%i].slice(-2),t[o%i].slice(-2))}),o[a]=s,s=0}),l[o.indexOf(Math.min.apply(null,o))]}},62436:function(e,t,n){"use strict";n.d(t,{D:function(){return i}});var r=n(97582),a=n(10992);function i(e,t){return(0,a.s)(e,void 0,(0,r.pi)((0,r.pi)({},t),{bbox:!1,length:!0})).length}},60310:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var r=n(97153);function a(e){return(0,r.n)(e)&&e.every(function(e){var t=e[0];return t===t.toUpperCase()})}},65336:function(e,t,n){"use strict";n.d(t,{y:function(){return a}});var r=n(60310);function a(e){return(0,r.b)(e)&&e.every(function(e){var t=e[0];return"ACLMQZ".includes(t)})}},97153:function(e,t,n){"use strict";n.d(t,{n:function(){return a}});var r=n(19586);function a(e){return Array.isArray(e)&&e.every(function(e){var t=e[0].toLowerCase();return r.R[t]===e.length-1&&"achlmqstvz".includes(t)})}},50944:function(e,t,n){"use strict";function r(e,t,n){var r=e[0],a=e[1];return[r+(t[0]-r)*n,a+(t[1]-a)*n]}n.d(t,{k:function(){return r}})},10992:function(e,t,n){"use strict";n.d(t,{s:function(){return c}});var r=n(94918),a=n(50944),i=n(58076);function o(e,t,n,r,o){var s=(0,i.y)([e,t],[n,r]),l={x:0,y:0};if("number"==typeof o){if(o<=0)l={x:e,y:t};else if(o>=s)l={x:n,y:r};else{var c=(0,a.k)([e,t],[n,r],o/s);l={x:c[0],y:c[1]}}}return{length:s,point:l,min:{x:Math.min(e,n),y:Math.min(t,r)},max:{x:Math.max(e,n),y:Math.max(t,r)}}}function s(e,t){var n=e.x,r=e.y,a=t.x,i=t.y,o=Math.sqrt((Math.pow(n,2)+Math.pow(r,2))*(Math.pow(a,2)+Math.pow(i,2)));return(n*i-r*a<0?-1:1)*Math.acos((n*a+r*i)/o)}var l=n(51777);function c(e,t,n){for(var a,c,u,d,p,f,h,m,g,b=(0,r.A)(e),y="number"==typeof t,E=[],v=0,T=0,S=0,A=0,O=[],_=[],k=0,x={x:0,y:0},C=x,w=x,I=x,R=0,N=0,L=b.length;N1&&(b*=m(A),y*=m(A));var O=(Math.pow(b,2)*Math.pow(y,2)-Math.pow(b,2)*Math.pow(S.y,2)-Math.pow(y,2)*Math.pow(S.x,2))/(Math.pow(b,2)*Math.pow(S.y,2)+Math.pow(y,2)*Math.pow(S.x,2)),_=(i!==l?1:-1)*m(O=O<0?0:O),k={x:_*(b*S.y/y),y:_*(-(y*S.x)/b)},x={x:h(E)*k.x-f(E)*k.y+(e+c)/2,y:f(E)*k.x+h(E)*k.y+(t+u)/2},C={x:(S.x-k.x)/b,y:(S.y-k.y)/y},w=s({x:1,y:0},C),I=s(C,{x:(-S.x-k.x)/b,y:(-S.y-k.y)/y});!l&&I>0?I-=2*g:l&&I<0&&(I+=2*g);var R=w+(I%=2*g)*d,N=b*h(R),L=y*f(R);return{x:h(E)*N-f(E)*L+x.x,y:f(E)*N+h(E)*L+x.y}}(e,t,n,r,a,l,c,u,d,w/v)).x,A=h.y,g&&C.push({x:S,y:A}),y&&(O+=(0,i.y)(k,[S,A])),k=[S,A],T&&O>=p&&p>_[2]){var I=(O-p)/(O-_[2]);x={x:k[0]*(1-I)+_[0]*I,y:k[1]*(1-I)+_[1]*I}}_=[S,A,O]}return T&&p>=O&&(x={x:u,y:d}),{length:O,point:x,min:{x:Math.min.apply(null,C.map(function(e){return e.x})),y:Math.min.apply(null,C.map(function(e){return e.y}))},max:{x:Math.max.apply(null,C.map(function(e){return e.x})),y:Math.max.apply(null,C.map(function(e){return e.y}))}}}(E[0],E[1],E[2],E[3],E[4],E[5],E[6],E[7],E[8],(t||0)-R,n||{})).length,x=c.min,C=c.max,w=c.point):"C"===m?(k=(u=(0,l.S)(E[0],E[1],E[2],E[3],E[4],E[5],E[6],E[7],(t||0)-R,n||{})).length,x=u.min,C=u.max,w=u.point):"Q"===m?(k=(d=function(e,t,n,r,a,o,s,l){var c,u=l.bbox,d=void 0===u||u,p=l.length,f=void 0===p||p,h=l.sampleSize,m=void 0===h?10:h,g="number"==typeof s,b=e,y=t,E=0,v=[b,y,0],T=[b,y],S={x:0,y:0},A=[{x:b,y:y}];g&&s<=0&&(S={x:b,y:y});for(var O=0;O<=m;O+=1){if(b=(c=function(e,t,n,r,a,i,o){var s=1-o;return{x:Math.pow(s,2)*e+2*s*o*n+Math.pow(o,2)*a,y:Math.pow(s,2)*t+2*s*o*r+Math.pow(o,2)*i}}(e,t,n,r,a,o,O/m)).x,y=c.y,d&&A.push({x:b,y:y}),f&&(E+=(0,i.y)(T,[b,y])),T=[b,y],g&&E>=s&&s>v[2]){var _=(E-s)/(E-v[2]);S={x:T[0]*(1-_)+v[0]*_,y:T[1]*(1-_)+v[1]*_}}v=[b,y,E]}return g&&s>=E&&(S={x:a,y:o}),{length:E,point:S,min:{x:Math.min.apply(null,A.map(function(e){return e.x})),y:Math.min.apply(null,A.map(function(e){return e.y}))},max:{x:Math.max.apply(null,A.map(function(e){return e.x})),y:Math.max.apply(null,A.map(function(e){return e.y}))}}}(E[0],E[1],E[2],E[3],E[4],E[5],(t||0)-R,n||{})).length,x=d.min,C=d.max,w=d.point):"Z"===m&&(k=(p=o((E=[v,T,S,A])[0],E[1],E[2],E[3],(t||0)-R)).length,x=p.min,C=p.max,w=p.point),y&&R=t&&(I=w),_.push(C),O.push(x),R+=k,v=(f="Z"!==m?g.slice(-2):[S,A])[0],T=f[1];return y&&t>=R&&(I={x:v,y:T}),{length:R,point:I,min:{x:Math.min.apply(null,O.map(function(e){return e.x})),y:Math.min.apply(null,O.map(function(e){return e.y}))},max:{x:Math.max.apply(null,_.map(function(e){return e.x})),y:Math.max.apply(null,_.map(function(e){return e.y}))}}}},51777:function(e,t,n){"use strict";n.d(t,{S:function(){return a}});var r=n(58076);function a(e,t,n,a,i,o,s,l,c,u){var d,p=u.bbox,f=void 0===p||p,h=u.length,m=void 0===h||h,g=u.sampleSize,b=void 0===g?10:g,y="number"==typeof c,E=e,v=t,T=0,S=[E,v,0],A=[E,v],O={x:0,y:0},_=[{x:E,y:v}];y&&c<=0&&(O={x:E,y:v});for(var k=0;k<=b;k+=1){if(E=(d=function(e,t,n,r,a,i,o,s,l){var c=1-l;return{x:Math.pow(c,3)*e+3*Math.pow(c,2)*l*n+3*c*Math.pow(l,2)*a+Math.pow(l,3)*o,y:Math.pow(c,3)*t+3*Math.pow(c,2)*l*r+3*c*Math.pow(l,2)*i+Math.pow(l,3)*s}}(e,t,n,a,i,o,s,l,k/b)).x,v=d.y,f&&_.push({x:E,y:v}),m&&(T+=(0,r.y)(A,[E,v])),A=[E,v],y&&T>=c&&c>S[2]){var x=(T-c)/(T-S[2]);O={x:A[0]*(1-x)+S[0]*x,y:A[1]*(1-x)+S[1]*x}}S=[E,v,T]}return y&&c>=T&&(O={x:s,y:l}),{length:T,point:O,min:{x:Math.min.apply(null,_.map(function(e){return e.x})),y:Math.min.apply(null,_.map(function(e){return e.y}))},max:{x:Math.max.apply(null,_.map(function(e){return e.x})),y:Math.max.apply(null,_.map(function(e){return e.y}))}}}},4503:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function i(e,t,r,i,o){if("function"!=typeof r)throw TypeError("The listener must be a function");var s=new a(r,i||e,o),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function o(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,a=[];if(0===this._eventsCount)return a;for(r in e=this._events)t.call(e,r)&&a.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?a.concat(Object.getOwnPropertySymbols(e)):a},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var a=0,i=r.length,o=Array(i);at.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let o="text/event-stream",s="last-event-id";function l(e,t){var{signal:n,headers:l,onopen:u,onmessage:d,onclose:p,onerror:f,openWhenHidden:h,fetch:m}=t,g=i(t,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((t,i)=>{let b;let y=Object.assign({},l);function E(){b.abort(),document.hidden||_()}y.accept||(y.accept=o),h||document.addEventListener("visibilitychange",E);let v=1e3,T=0;function S(){document.removeEventListener("visibilitychange",E),window.clearTimeout(T),b.abort()}null==n||n.addEventListener("abort",()=>{S(),t()});let A=null!=m?m:window.fetch,O=null!=u?u:c;async function _(){var n,o;b=new AbortController;try{let n,i,l,c;let u=await A(e,Object.assign(Object.assign({},g),{headers:y,signal:b.signal}));await O(u),await r(u.body,(o=function(e,t,n){let r=a(),i=new TextDecoder;return function(o,s){if(0===o.length)null==n||n(r),r=a();else if(s>0){let n=i.decode(o.subarray(0,s)),a=s+(32===o[s+1]?2:1),l=i.decode(o.subarray(a));switch(n){case"data":r.data=r.data?r.data+"\n"+l:l;break;case"event":r.event=l;break;case"id":e(r.id=l);break;case"retry":let c=parseInt(l,10);isNaN(c)||t(r.retry=c)}}}}(e=>{e?y[s]=e:delete y[s]},e=>{v=e},d),c=!1,function(e){void 0===n?(n=e,i=0,l=-1):n=function(e,t){let n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}(n,e);let t=n.length,r=0;for(;i=n?k.text.primary:_.text.primary;return t}let w=({color:e,name:t,mainShade:n=500,lightShade:i=300,darkShade:o=700})=>{if(!(e=(0,r.Z)({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw Error((0,u.Z)(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw Error((0,u.Z)(12,t?` (${t})`:"",JSON.stringify(e.main)));return x(e,"light",i,a),x(e,"dark",o,a),e.contrastText||(e.contrastText=C(e.main)),e},I=(0,d.Z)((0,r.Z)({common:(0,r.Z)({},g),mode:t,primary:w({color:s,name:"primary"}),secondary:w({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:w({color:c,name:"error"}),warning:w({color:h,name:"warning"}),info:w({color:p,name:"info"}),success:w({color:f,name:"success"}),grey:b,contrastThreshold:n,getContrastText:C,augmentColor:w,tonalOffset:a},{dark:k,light:_}[t]),o);return I}(a),R=(0,h.Z)(e),U=(0,d.Z)(R,{mixins:(t=R.breakpoints,(0,r.Z)({toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}}},n)),palette:c,shadows:N.slice(),typography:function(e,t){let n="function"==typeof t?t(e):t,{fontFamily:a=I,fontSize:o=14,fontWeightLight:s=300,fontWeightRegular:l=400,fontWeightMedium:c=500,fontWeightBold:u=700,htmlFontSize:p=16,allVariants:f,pxToRem:h}=n,m=(0,i.Z)(n,C),g=o/14,b=h||(e=>`${e/p*g}rem`),y=(e,t,n,i,o)=>(0,r.Z)({fontFamily:a,fontWeight:e,fontSize:b(t),lineHeight:n},a===I?{letterSpacing:`${Math.round(1e5*(i/t))/1e5}em`}:{},o,f),E={h1:y(s,96,1.167,-1.5),h2:y(s,60,1.2,-.5),h3:y(l,48,1.167,0),h4:y(l,34,1.235,.25),h5:y(l,24,1.334,0),h6:y(c,20,1.6,.15),subtitle1:y(l,16,1.75,.15),subtitle2:y(c,14,1.57,.1),body1:y(l,16,1.5,.15),body2:y(l,14,1.43,.15),button:y(c,14,1.75,.4,w),caption:y(l,12,1.66,.4),overline:y(l,12,2.66,1,w),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,d.Z)((0,r.Z)({htmlFontSize:p,pxToRem:b,fontFamily:a,fontSize:o,fontWeightLight:s,fontWeightRegular:l,fontWeightMedium:c,fontWeightBold:u},E),m,{clone:!1})}(c,s),transitions:function(e){let t=(0,r.Z)({},D,e.easing),n=(0,r.Z)({},P,e.duration);return(0,r.Z)({getAutoHeightDuration:F,create:(e=["all"],r={})=>{let{duration:a=n.standard,easing:o=t.easeInOut,delay:s=0}=r;return(0,i.Z)(r,L),(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof a?a:M(a)} ${o} ${"string"==typeof s?s:M(s)}`).join(",")}},e,{easing:t,duration:n})}(o),zIndex:(0,r.Z)({},B)});return(U=[].reduce((e,t)=>(0,d.Z)(e,t),U=(0,d.Z)(U,l))).unstable_sxConfig=(0,r.Z)({},p.Z,null==l?void 0:l.unstable_sxConfig),U.unstable_sx=function(e){return(0,f.Z)({sx:e,theme:this})},U}();var G="$$material",H=n(58128);let $=(0,H.ZP)({themeId:G,defaultTheme:U,rootShouldForwardProp:e=>"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e&&"classes"!==e});var z=n(1977),Z=n(8027);function W(e){return(0,Z.ZP)("MuiSvgIcon",e)}(0,z.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var V=n(85893);let Y=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],q=e=>{let{color:t,fontSize:n,classes:r}=e,a={root:["root","inherit"!==t&&`color${l(t)}`,`fontSize${l(n)}`]};return(0,s.Z)(a,W,r)},K=$("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${l(n.color)}`],t[`fontSize${l(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,a,i,o,s,l,c,u,d,p,f,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(a=e.transitions)||null==(a=a.duration)?void 0:a.shorter}),fontSize:({inherit:"inherit",small:(null==(i=e.typography)||null==(o=i.pxToRem)?void 0:o.call(i,20))||"1.25rem",medium:(null==(s=e.typography)||null==(l=s.pxToRem)?void 0:l.call(s,24))||"1.5rem",large:(null==(c=e.typography)||null==(u=c.pxToRem)?void 0:u.call(c,35))||"2.1875rem"})[t.fontSize],color:null!=(d=null==(p=(e.vars||e).palette)||null==(p=p[t.color])?void 0:p.main)?d:({action:null==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.active,disabled:null==(h=(e.vars||e).palette)||null==(h=h.action)?void 0:h.disabled,inherit:void 0})[t.color]}}),X=a.forwardRef(function(e,t){let n=function({props:e,name:t}){return(0,c.Z)({props:e,name:t,defaultTheme:U,themeId:G})}({props:e,name:"MuiSvgIcon"}),{children:s,className:l,color:u="inherit",component:d="svg",fontSize:p="medium",htmlColor:f,inheritViewBox:h=!1,titleAccess:m,viewBox:g="0 0 24 24"}=n,b=(0,i.Z)(n,Y),y=a.isValidElement(s)&&"svg"===s.type,E=(0,r.Z)({},n,{color:u,component:d,fontSize:p,instanceFontSize:e.fontSize,inheritViewBox:h,viewBox:g,hasSvgAsChild:y}),v={};h||(v.viewBox=g);let T=q(E);return(0,V.jsxs)(K,(0,r.Z)({as:d,className:(0,o.Z)(T.root,l),focusable:"false",color:f,"aria-hidden":!m||void 0,role:m?"img":void 0,ref:t},v,b,y&&s.props,{ownerState:E,children:[y?s.props.children:s,m?(0,V.jsx)("title",{children:m}):null]}))});function Q(e,t){function n(n,a){return(0,V.jsx)(X,(0,r.Z)({"data-testid":`${t}Icon`,ref:a},n,{children:e}))}return n.muiName=X.muiName,a.memo(a.forwardRef(n))}X.muiName="SvgIcon"},2101:function(e,t,n){"use strict";var r=n(64836);t._j=function(e,t){if(e=s(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return l(e)},t.mi=function(e,t){let n=c(e),r=c(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)},t.$n=function(e,t){if(e=s(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return l(e)};var a=r(n(743)),i=r(n(49425));function o(e,t=0,n=1){return(0,i.default)(e,t,n)}function s(e){let t;if(e.type)return e;if("#"===e.charAt(0))return s(function(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map(e=>e+e)),n?`rgb${4===n.length?"a":""}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));let n=e.indexOf("("),r=e.substring(0,n);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw Error((0,a.default)(9,e));let i=e.substring(n+1,e.length-1);if("color"===r){if(t=(i=i.split(" ")).shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(t))throw Error((0,a.default)(10,t))}else i=i.split(",");return{type:r,values:i=i.map(e=>parseFloat(e)),colorSpace:t}}function l(e){let{type:t,colorSpace:n}=e,{values:r}=e;return -1!==t.indexOf("rgb")?r=r.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),`${t}(${r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`})`}function c(e){let t="hsl"===(e=s(e)).type||"hsla"===e.type?s(function(e){e=s(e);let{values:t}=e,n=t[0],r=t[1]/100,a=t[2]/100,i=r*Math.min(a,1-a),o=(e,t=(e+n/30)%12)=>a-i*Math.max(Math.min(t-3,9-t,1),-1),c="rgb",u=[Math.round(255*o(0)),Math.round(255*o(8)),Math.round(255*o(4))];return"hsla"===e.type&&(c+="a",u.push(t[3])),l({type:c,values:u})}(e)).values:e.values;return Number((.2126*(t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)))[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}},58128:function(e,t,n){"use strict";var r=n(64836);t.ZP=function(e={}){let{themeId:t,defaultTheme:n=m,rootShouldForwardProp:r=h,slotShouldForwardProp:l=h}=e,u=e=>(0,c.default)((0,a.default)({},e,{theme:b((0,a.default)({},e,{defaultTheme:n,themeId:t}))}));return u.__mui_systemSx=!0,(e,c={})=>{var d;let f;(0,o.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));let{name:m,slot:E,skipVariantsResolver:v,skipSx:T,overridesResolver:S=(d=g(E))?(e,t)=>t[d]:null}=c,A=(0,i.default)(c,p),O=void 0!==v?v:E&&"Root"!==E&&"root"!==E||!1,_=T||!1,k=h;"Root"===E||"root"===E?k=r:E?k=l:"string"==typeof e&&e.charCodeAt(0)>96&&(k=void 0);let x=(0,o.default)(e,(0,a.default)({shouldForwardProp:k,label:f},A)),C=e=>"function"==typeof e&&e.__emotion_real!==e||(0,s.isPlainObject)(e)?r=>y(e,(0,a.default)({},r,{theme:b({theme:r.theme,defaultTheme:n,themeId:t})})):e,w=(r,...i)=>{let o=C(r),s=i?i.map(C):[];m&&S&&s.push(e=>{let r=b((0,a.default)({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[m]||!r.components[m].styleOverrides)return null;let i=r.components[m].styleOverrides,o={};return Object.entries(i).forEach(([t,n])=>{o[t]=y(n,(0,a.default)({},e,{theme:r}))}),S(e,o)}),m&&!O&&s.push(e=>{var r;let i=b((0,a.default)({},e,{defaultTheme:n,themeId:t})),o=null==i||null==(r=i.components)||null==(r=r[m])?void 0:r.variants;return y({variants:o},(0,a.default)({},e,{theme:i}))}),_||s.push(u);let l=s.length-i.length;if(Array.isArray(r)&&l>0){let e=Array(l).fill("");(o=[...r,...e]).raw=[...r.raw,...e]}let c=x(o,...s);return e.muiName&&(c.muiName=e.muiName),c};return x.withConfig&&(w.withConfig=x.withConfig),w}};var a=r(n(10434)),i=r(n(7071)),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(23534)),s=n(211);r(n(99698)),r(n(37889));var l=r(n(19926)),c=r(n(386));let u=["ownerState"],d=["variants"],p=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function h(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}let m=(0,l.default)(),g=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function b({defaultTheme:e,theme:t,themeId:n}){return 0===Object.keys(t).length?e:t[n]||t}function y(e,t){let{ownerState:n}=t,r=(0,i.default)(t,u),o="function"==typeof e?e((0,a.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(e=>y(e,(0,a.default)({ownerState:n},r)));if(o&&"object"==typeof o&&Array.isArray(o.variants)){let{variants:e=[]}=o,t=(0,i.default)(o,d),s=t;return e.forEach(e=>{let t=!0;"function"==typeof e.props?t=e.props((0,a.default)({ownerState:n},r,n)):Object.keys(e.props).forEach(a=>{(null==n?void 0:n[a])!==e.props[a]&&r[a]!==e.props[a]&&(t=!1)}),t&&(Array.isArray(s)||(s=[s]),s.push("function"==typeof e.style?e.style((0,a.default)({ownerState:n},r,n)):e.style))}),s}return o}},19926:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},private_createBreakpoints:function(){return a.Z},unstable_applyStyles:function(){return i.Z}});var r=n(88647),a=n(41512),i=n(57064)},386:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},extendSxProp:function(){return a.Z},unstable_createStyleFunctionSx:function(){return r.n},unstable_defaultSxConfig:function(){return i.Z}});var r=n(86523),a=n(39707),i=n(44920)},99698:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(62908)},49425:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r}});var r=function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}},211:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},isPlainObject:function(){return r.P}});var r=n(68027)},743:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(78758)},37889:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return l},getFunctionName:function(){return i}});var r=n(59864);let a=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function i(e){let t=`${e}`.match(a),n=t&&t[1];return n||""}function o(e,t=""){return e.displayName||e.name||i(e)||t}function s(e,t,n){let r=o(t);return e.displayName||(""!==r?`${n}(${r})`:n)}function l(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return o(e,"Component");if("object"==typeof e)switch(e.$$typeof){case r.ForwardRef:return s(e,e.render,"ForwardRef");case r.Memo:return s(e,e.type,"memo")}}}},2093:function(e,t,n){"use strict";var r=n(97582),a=n(67294),i=n(92770);t.Z=function(e,t){(0,a.useEffect)(function(){var t=e(),n=!1;return!function(){(0,r.mG)(this,void 0,void 0,function(){return(0,r.Jh)(this,function(e){switch(e.label){case 0:if(!(0,i.mf)(t[Symbol.asyncIterator]))return[3,4];e.label=1;case 1:return[4,t.next()];case 2:if(e.sent().done||n)return[3,3];return[3,1];case 3:return[3,6];case 4:return[4,t];case 5:e.sent(),e.label=6;case 6:return[2]}})})}(),function(){n=!0}},t)}},85265:function(e,t,n){"use strict";n.d(t,{Z:function(){return q}});var r=n(67294),a=n(93967),i=n.n(a),o=n(1413),s=n(97685),l=n(2788),c=n(8410),u=r.createContext(null),d=r.createContext({}),p=n(4942),f=n(87462),h=n(29372),m=n(15105),g=n(64217),b=n(45987),y=n(42550),E=["prefixCls","className","containerRef"],v=function(e){var t=e.prefixCls,n=e.className,a=e.containerRef,o=(0,b.Z)(e,E),s=r.useContext(d).panel,l=(0,y.x1)(s,a);return r.createElement("div",(0,f.Z)({className:i()("".concat(t,"-content"),n),role:"dialog",ref:l},(0,g.Z)(e,{aria:!0}),{"aria-modal":"true"},o))},T=n(80334);function S(e){return"string"==typeof e&&String(Number(e))===e?((0,T.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var A={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"},O=r.forwardRef(function(e,t){var n,a,l,c=e.prefixCls,d=e.open,b=e.placement,y=e.inline,E=e.push,T=e.forceRender,O=e.autoFocus,_=e.keyboard,k=e.classNames,x=e.rootClassName,C=e.rootStyle,w=e.zIndex,I=e.className,R=e.id,N=e.style,L=e.motion,D=e.width,P=e.height,M=e.children,F=e.mask,B=e.maskClosable,j=e.maskMotion,U=e.maskClassName,G=e.maskStyle,H=e.afterOpenChange,$=e.onClose,z=e.onMouseEnter,Z=e.onMouseOver,W=e.onMouseLeave,V=e.onClick,Y=e.onKeyDown,q=e.onKeyUp,K=e.styles,X=e.drawerRender,Q=r.useRef(),J=r.useRef(),ee=r.useRef();r.useImperativeHandle(t,function(){return Q.current}),r.useEffect(function(){if(d&&O){var e;null===(e=Q.current)||void 0===e||e.focus({preventScroll:!0})}},[d]);var et=r.useState(!1),en=(0,s.Z)(et,2),er=en[0],ea=en[1],ei=r.useContext(u),eo=null!==(n=null!==(a=null===(l="boolean"==typeof E?E?{}:{distance:0}:E||{})||void 0===l?void 0:l.distance)&&void 0!==a?a:null==ei?void 0:ei.pushDistance)&&void 0!==n?n:180,es=r.useMemo(function(){return{pushDistance:eo,push:function(){ea(!0)},pull:function(){ea(!1)}}},[eo]);r.useEffect(function(){var e,t;d?null==ei||null===(e=ei.push)||void 0===e||e.call(ei):null==ei||null===(t=ei.pull)||void 0===t||t.call(ei)},[d]),r.useEffect(function(){return function(){var e;null==ei||null===(e=ei.pull)||void 0===e||e.call(ei)}},[]);var el=F&&r.createElement(h.ZP,(0,f.Z)({key:"mask"},j,{visible:d}),function(e,t){var n=e.className,a=e.style;return r.createElement("div",{className:i()("".concat(c,"-mask"),n,null==k?void 0:k.mask,U),style:(0,o.Z)((0,o.Z)((0,o.Z)({},a),G),null==K?void 0:K.mask),onClick:B&&d?$:void 0,ref:t})}),ec="function"==typeof L?L(b):L,eu={};if(er&&eo)switch(b){case"top":eu.transform="translateY(".concat(eo,"px)");break;case"bottom":eu.transform="translateY(".concat(-eo,"px)");break;case"left":eu.transform="translateX(".concat(eo,"px)");break;default:eu.transform="translateX(".concat(-eo,"px)")}"left"===b||"right"===b?eu.width=S(D):eu.height=S(P);var ed={onMouseEnter:z,onMouseOver:Z,onMouseLeave:W,onClick:V,onKeyDown:Y,onKeyUp:q},ep=r.createElement(h.ZP,(0,f.Z)({key:"panel"},ec,{visible:d,forceRender:T,onVisibleChanged:function(e){null==H||H(e)},removeOnLeave:!1,leavedClassName:"".concat(c,"-content-wrapper-hidden")}),function(t,n){var a=t.className,s=t.style,l=r.createElement(v,(0,f.Z)({id:R,containerRef:n,prefixCls:c,className:i()(I,null==k?void 0:k.content),style:(0,o.Z)((0,o.Z)({},N),null==K?void 0:K.content)},(0,g.Z)(e,{aria:!0}),ed),M);return r.createElement("div",(0,f.Z)({className:i()("".concat(c,"-content-wrapper"),null==k?void 0:k.wrapper,a),style:(0,o.Z)((0,o.Z)((0,o.Z)({},eu),s),null==K?void 0:K.wrapper)},(0,g.Z)(e,{data:!0})),X?X(l):l)}),ef=(0,o.Z)({},C);return w&&(ef.zIndex=w),r.createElement(u.Provider,{value:es},r.createElement("div",{className:i()(c,"".concat(c,"-").concat(b),x,(0,p.Z)((0,p.Z)({},"".concat(c,"-open"),d),"".concat(c,"-inline"),y)),style:ef,tabIndex:-1,ref:Q,onKeyDown:function(e){var t,n,r=e.keyCode,a=e.shiftKey;switch(r){case m.Z.TAB:r===m.Z.TAB&&(a||document.activeElement!==ee.current?a&&document.activeElement===J.current&&(null===(n=ee.current)||void 0===n||n.focus({preventScroll:!0})):null===(t=J.current)||void 0===t||t.focus({preventScroll:!0}));break;case m.Z.ESC:$&&_&&(e.stopPropagation(),$(e))}}},el,r.createElement("div",{tabIndex:0,ref:J,style:A,"aria-hidden":"true","data-sentinel":"start"}),ep,r.createElement("div",{tabIndex:0,ref:ee,style:A,"aria-hidden":"true","data-sentinel":"end"})))}),_=function(e){var t=e.open,n=e.prefixCls,a=e.placement,i=e.autoFocus,u=e.keyboard,p=e.width,f=e.mask,h=void 0===f||f,m=e.maskClosable,g=e.getContainer,b=e.forceRender,y=e.afterOpenChange,E=e.destroyOnClose,v=e.onMouseEnter,T=e.onMouseOver,S=e.onMouseLeave,A=e.onClick,_=e.onKeyDown,k=e.onKeyUp,x=e.panelRef,C=r.useState(!1),w=(0,s.Z)(C,2),I=w[0],R=w[1],N=r.useState(!1),L=(0,s.Z)(N,2),D=L[0],P=L[1];(0,c.Z)(function(){P(!0)},[]);var M=!!D&&void 0!==t&&t,F=r.useRef(),B=r.useRef();(0,c.Z)(function(){M&&(B.current=document.activeElement)},[M]);var j=r.useMemo(function(){return{panel:x}},[x]);if(!b&&!I&&!M&&E)return null;var U=(0,o.Z)((0,o.Z)({},e),{},{open:M,prefixCls:void 0===n?"rc-drawer":n,placement:void 0===a?"right":a,autoFocus:void 0===i||i,keyboard:void 0===u||u,width:void 0===p?378:p,mask:h,maskClosable:void 0===m||m,inline:!1===g,afterOpenChange:function(e){var t,n;R(e),null==y||y(e),e||!B.current||null!==(t=F.current)&&void 0!==t&&t.contains(B.current)||null===(n=B.current)||void 0===n||n.focus({preventScroll:!0})},ref:F},{onMouseEnter:v,onMouseOver:T,onMouseLeave:S,onClick:A,onKeyDown:_,onKeyUp:k});return r.createElement(d.Provider,{value:j},r.createElement(l.Z,{open:M||b||I,autoDestroy:!1,getContainer:g,autoLock:h&&(M||I)},r.createElement(O,U)))},k=n(89942),x=n(87263),C=n(33603),w=n(43945),I=n(53124),R=n(16569),N=n(69760),L=n(48054),D=e=>{var t,n;let{prefixCls:a,title:o,footer:s,extra:l,loading:c,onClose:u,headerStyle:d,bodyStyle:p,footerStyle:f,children:h,classNames:m,styles:g}=e,{drawer:b}=r.useContext(I.E_),y=r.useCallback(e=>r.createElement("button",{type:"button",onClick:u,"aria-label":"Close",className:`${a}-close`},e),[u]),[E,v]=(0,N.Z)((0,N.w)(e),(0,N.w)(b),{closable:!0,closeIconRender:y}),T=r.useMemo(()=>{var e,t;return o||E?r.createElement("div",{style:Object.assign(Object.assign(Object.assign({},null===(e=null==b?void 0:b.styles)||void 0===e?void 0:e.header),d),null==g?void 0:g.header),className:i()(`${a}-header`,{[`${a}-header-close-only`]:E&&!o&&!l},null===(t=null==b?void 0:b.classNames)||void 0===t?void 0:t.header,null==m?void 0:m.header)},r.createElement("div",{className:`${a}-header-title`},v,o&&r.createElement("div",{className:`${a}-title`},o)),l&&r.createElement("div",{className:`${a}-extra`},l)):null},[E,v,l,d,a,o]),S=r.useMemo(()=>{var e,t;if(!s)return null;let n=`${a}-footer`;return r.createElement("div",{className:i()(n,null===(e=null==b?void 0:b.classNames)||void 0===e?void 0:e.footer,null==m?void 0:m.footer),style:Object.assign(Object.assign(Object.assign({},null===(t=null==b?void 0:b.styles)||void 0===t?void 0:t.footer),f),null==g?void 0:g.footer)},s)},[s,f,a]);return r.createElement(r.Fragment,null,T,r.createElement("div",{className:i()(`${a}-body`,null==m?void 0:m.body,null===(t=null==b?void 0:b.classNames)||void 0===t?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},null===(n=null==b?void 0:b.styles)||void 0===n?void 0:n.body),p),null==g?void 0:g.body)},c?r.createElement(L.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${a}-body-skeleton`}):h),S)},P=n(25446),M=n(14747),F=n(83559),B=n(83262);let j=e=>{let t="100%";return({left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`})[e]},U=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),G=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}}},U({opacity:e},{opacity:1})),H=(e,t)=>[G(.7,t),U({transform:j(e)},{transform:"none"})];var $=e=>{let{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:G(0,n),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce((e,t)=>Object.assign(Object.assign({},e),{[`&-${t}`]:H(t,n)}),{})}}};let z=e=>{let{borderRadiusSM:t,componentCls:n,zIndexPopup:r,colorBgMask:a,colorBgElevated:i,motionDurationSlow:o,motionDurationMid:s,paddingXS:l,padding:c,paddingLG:u,fontSizeLG:d,lineHeightLG:p,lineWidth:f,lineType:h,colorSplit:m,marginXS:g,colorIcon:b,colorIconHover:y,colorBgTextHover:E,colorBgTextActive:v,colorText:T,fontWeightStrong:S,footerPaddingBlock:A,footerPaddingInline:O,calc:_}=e,k=`${n}-content-wrapper`;return{[n]:{position:"fixed",inset:0,zIndex:r,pointerEvents:"none",color:T,"&-pure":{position:"relative",background:i,display:"flex",flexDirection:"column",[`&${n}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${n}-mask`]:{position:"absolute",inset:0,zIndex:r,background:a,pointerEvents:"auto"},[k]:{position:"absolute",zIndex:r,maxWidth:"100vw",transition:`all ${o}`,"&-hidden":{display:"none"}},[`&-left > ${k}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${k}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${k}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${k}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${n}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:i,pointerEvents:"auto"},[`${n}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,P.bf)(c)} ${(0,P.bf)(u)}`,fontSize:d,lineHeight:p,borderBottom:`${(0,P.bf)(f)} ${h} ${m}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:"none"},[`${n}-close`]:Object.assign({display:"inline-flex",width:_(d).add(l).equal(),height:_(d).add(l).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",marginInlineEnd:g,color:b,fontWeight:S,fontSize:d,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${s}`,textRendering:"auto","&:hover":{color:y,backgroundColor:E,textDecoration:"none"},"&:active":{backgroundColor:v}},(0,M.Qy)(e)),[`${n}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:d,lineHeight:p},[`${n}-body`]:{flex:1,minWidth:0,minHeight:0,padding:u,overflow:"auto",[`${n}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${n}-footer`]:{flexShrink:0,padding:`${(0,P.bf)(A)} ${(0,P.bf)(O)}`,borderTop:`${(0,P.bf)(f)} ${h} ${m}`},"&-rtl":{direction:"rtl"}}}};var Z=(0,F.I$)("Drawer",e=>{let t=(0,B.IX)(e,{});return[z(t),$(t)]},e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding})),W=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let V={distance:180},Y=e=>{let{rootClassName:t,width:n,height:a,size:o="default",mask:s=!0,push:l=V,open:c,afterOpenChange:u,onClose:d,prefixCls:p,getContainer:f,style:h,className:m,visible:g,afterVisibleChange:b,maskStyle:y,drawerStyle:E,contentWrapperStyle:v}=e,T=W(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:S,getPrefixCls:A,direction:O,drawer:N}=r.useContext(I.E_),L=A("drawer",p),[P,M,F]=Z(L),B=void 0===f&&S?()=>S(document.body):f,j=i()({"no-mask":!s,[`${L}-rtl`]:"rtl"===O},t,M,F),U=r.useMemo(()=>null!=n?n:"large"===o?736:378,[n,o]),G=r.useMemo(()=>null!=a?a:"large"===o?736:378,[a,o]),H={motionName:(0,C.m)(L,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},$=(0,R.H)(),[z,Y]=(0,x.Cn)("Drawer",T.zIndex),{classNames:q={},styles:K={}}=T,{classNames:X={},styles:Q={}}=N||{};return P(r.createElement(k.Z,{form:!0,space:!0},r.createElement(w.Z.Provider,{value:Y},r.createElement(_,Object.assign({prefixCls:L,onClose:d,maskMotion:H,motion:e=>({motionName:(0,C.m)(L,`panel-motion-${e}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500})},T,{classNames:{mask:i()(q.mask,X.mask),content:i()(q.content,X.content),wrapper:i()(q.wrapper,X.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},K.mask),y),Q.mask),content:Object.assign(Object.assign(Object.assign({},K.content),E),Q.content),wrapper:Object.assign(Object.assign(Object.assign({},K.wrapper),v),Q.wrapper)},open:null!=c?c:g,mask:s,push:l,width:U,height:G,style:Object.assign(Object.assign({},null==N?void 0:N.style),h),className:i()(null==N?void 0:N.className,m),rootClassName:j,getContainer:B,afterOpenChange:null!=u?u:b,panelRef:$,zIndex:z}),r.createElement(D,Object.assign({prefixCls:L},T,{onClose:d}))))))};Y._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,style:n,className:a,placement:o="right"}=e,s=W(e,["prefixCls","style","className","placement"]),{getPrefixCls:l}=r.useContext(I.E_),c=l("drawer",t),[u,d,p]=Z(c),f=i()(c,`${c}-pure`,`${c}-${o}`,d,p,a);return u(r.createElement("div",{className:f,style:n},r.createElement(D,Object.assign({prefixCls:c},s))))};var q=Y},86250:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r=n(67294),a=n(93967),i=n.n(a),o=n(98423),s=n(98065),l=n(53124),c=n(83559),u=n(83262);let d=["wrap","nowrap","wrap-reverse"],p=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],f=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],h=(e,t)=>{let n=!0===t.wrap?"wrap":t.wrap;return{[`${e}-wrap-${n}`]:n&&d.includes(n)}},m=(e,t)=>{let n={};return f.forEach(r=>{n[`${e}-align-${r}`]=t.align===r}),n[`${e}-align-stretch`]=!t.align&&!!t.vertical,n},g=(e,t)=>{let n={};return p.forEach(r=>{n[`${e}-justify-${r}`]=t.justify===r}),n},b=e=>{let{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},y=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},E=e=>{let{componentCls:t}=e,n={};return d.forEach(e=>{n[`${t}-wrap-${e}`]={flexWrap:e}}),n},v=e=>{let{componentCls:t}=e,n={};return f.forEach(e=>{n[`${t}-align-${e}`]={alignItems:e}}),n},T=e=>{let{componentCls:t}=e,n={};return p.forEach(e=>{n[`${t}-justify-${e}`]={justifyContent:e}}),n};var S=(0,c.I$)("Flex",e=>{let{paddingXS:t,padding:n,paddingLG:r}=e,a=(0,u.IX)(e,{flexGapSM:t,flexGap:n,flexGapLG:r});return[b(a),y(a),E(a),v(a),T(a)]},()=>({}),{resetStyle:!1}),A=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let O=r.forwardRef((e,t)=>{let{prefixCls:n,rootClassName:a,className:c,style:u,flex:d,gap:p,children:f,vertical:b=!1,component:y="div"}=e,E=A(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:v,direction:T,getPrefixCls:O}=r.useContext(l.E_),_=O("flex",n),[k,x,C]=S(_),w=null!=b?b:null==v?void 0:v.vertical,I=i()(c,a,null==v?void 0:v.className,_,x,C,i()(Object.assign(Object.assign(Object.assign({},h(_,e)),m(_,e)),g(_,e))),{[`${_}-rtl`]:"rtl"===T,[`${_}-gap-${p}`]:(0,s.n)(p),[`${_}-vertical`]:w}),R=Object.assign(Object.assign({},null==v?void 0:v.style),u);return d&&(R.flex=d),p&&!(0,s.n)(p)&&(R.gap=p),k(r.createElement(y,Object.assign({ref:t,className:I,style:R},(0,o.Z)(E,["justify","wrap","align"])),f))});var _=O},57020:function(e,t,n){"use strict";n.d(t,{Z:function(){return eT}});var r=n(67294),a=n(99611),i=n(93967),o=n.n(i),s=n(87462),l=n(1413),c=n(4942),u=n(97685),d=n(71002),p=n(45987),f=n(27678),h=n(21770),m=n(40974),g=n(64019),b=n(15105),y=n(2788),E=n(29372),v=r.createContext(null),T=function(e){var t=e.visible,n=e.maskTransitionName,a=e.getContainer,i=e.prefixCls,s=e.rootClassName,u=e.icons,d=e.countRender,p=e.showSwitch,f=e.showProgress,h=e.current,m=e.transform,g=e.count,T=e.scale,S=e.minScale,A=e.maxScale,O=e.closeIcon,_=e.onSwitchLeft,k=e.onSwitchRight,x=e.onClose,C=e.onZoomIn,w=e.onZoomOut,I=e.onRotateRight,R=e.onRotateLeft,N=e.onFlipX,L=e.onFlipY,D=e.onReset,P=e.toolbarRender,M=e.zIndex,F=e.image,B=(0,r.useContext)(v),j=u.rotateLeft,U=u.rotateRight,G=u.zoomIn,H=u.zoomOut,$=u.close,z=u.left,Z=u.right,W=u.flipX,V=u.flipY,Y="".concat(i,"-operations-operation");r.useEffect(function(){var e=function(e){e.keyCode===b.Z.ESC&&x()};return t&&window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}},[t]);var q=[{icon:V,onClick:L,type:"flipY"},{icon:W,onClick:N,type:"flipX"},{icon:j,onClick:R,type:"rotateLeft"},{icon:U,onClick:I,type:"rotateRight"},{icon:H,onClick:w,type:"zoomOut",disabled:T<=S},{icon:G,onClick:C,type:"zoomIn",disabled:T===A}].map(function(e){var t,n=e.icon,a=e.onClick,s=e.type,l=e.disabled;return r.createElement("div",{className:o()(Y,(t={},(0,c.Z)(t,"".concat(i,"-operations-operation-").concat(s),!0),(0,c.Z)(t,"".concat(i,"-operations-operation-disabled"),!!l),t)),onClick:a,key:s},n)}),K=r.createElement("div",{className:"".concat(i,"-operations")},q);return r.createElement(E.ZP,{visible:t,motionName:n},function(e){var t=e.className,n=e.style;return r.createElement(y.Z,{open:!0,getContainer:null!=a?a:document.body},r.createElement("div",{className:o()("".concat(i,"-operations-wrapper"),t,s),style:(0,l.Z)((0,l.Z)({},n),{},{zIndex:M})},null===O?null:r.createElement("button",{className:"".concat(i,"-close"),onClick:x},O||$),p&&r.createElement(r.Fragment,null,r.createElement("div",{className:o()("".concat(i,"-switch-left"),(0,c.Z)({},"".concat(i,"-switch-left-disabled"),0===h)),onClick:_},z),r.createElement("div",{className:o()("".concat(i,"-switch-right"),(0,c.Z)({},"".concat(i,"-switch-right-disabled"),h===g-1)),onClick:k},Z)),r.createElement("div",{className:"".concat(i,"-footer")},f&&r.createElement("div",{className:"".concat(i,"-progress")},d?d(h+1,g):"".concat(h+1," / ").concat(g)),P?P(K,(0,l.Z)((0,l.Z)({icons:{flipYIcon:q[0],flipXIcon:q[1],rotateLeftIcon:q[2],rotateRightIcon:q[3],zoomOutIcon:q[4],zoomInIcon:q[5]},actions:{onFlipY:L,onFlipX:N,onRotateLeft:R,onRotateRight:I,onZoomOut:w,onZoomIn:C,onReset:D,onClose:x},transform:m},B?{current:h,total:g}:{}),{},{image:F})):K)))})},S=n(91881),A=n(75164),O={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1},_=n(80334);function k(e,t,n,r){var a=t+n,i=(n-r)/2;if(n>r){if(t>0)return(0,c.Z)({},e,i);if(t<0&&ar)return(0,c.Z)({},e,t<0?i:-i);return{}}function x(e,t,n,r){var a=(0,f.g1)(),i=a.width,o=a.height,s=null;return e<=i&&t<=o?s={x:0,y:0}:(e>i||t>o)&&(s=(0,l.Z)((0,l.Z)({},k("x",n,e,i)),k("y",r,t,o))),s}function C(e){var t=e.src,n=e.isCustomPlaceholder,a=e.fallback,i=(0,r.useState)(n?"loading":"normal"),o=(0,u.Z)(i,2),s=o[0],l=o[1],c=(0,r.useRef)(!1),d="error"===s;(0,r.useEffect)(function(){var e=!0;return new Promise(function(e){var n=document.createElement("img");n.onerror=function(){return e(!1)},n.onload=function(){return e(!0)},n.src=t}).then(function(t){!t&&e&&l("error")}),function(){e=!1}},[t]),(0,r.useEffect)(function(){n&&!c.current?l("loading"):d&&l("normal")},[t]);var p=function(){l("normal")};return[function(e){c.current=!1,"loading"===s&&null!=e&&e.complete&&(e.naturalWidth||e.naturalHeight)&&(c.current=!0,p())},d&&a?{src:a}:{onLoad:p,src:t},s]}function w(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}var I=["fallback","src","imgRef"],R=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],N=function(e){var t=e.fallback,n=e.src,a=e.imgRef,i=(0,p.Z)(e,I),o=C({src:n,fallback:t}),l=(0,u.Z)(o,2),c=l[0],d=l[1];return r.createElement("img",(0,s.Z)({ref:function(e){a.current=e,c(e)}},i,d))},L=function(e){var t,n,a,i,d,h,y,E,k,C,I,L,D,P,M,F,B,j,U,G,H,$,z,Z,W,V,Y,q,K=e.prefixCls,X=e.src,Q=e.alt,J=e.imageInfo,ee=e.fallback,et=e.movable,en=void 0===et||et,er=e.onClose,ea=e.visible,ei=e.icons,eo=e.rootClassName,es=e.closeIcon,el=e.getContainer,ec=e.current,eu=void 0===ec?0:ec,ed=e.count,ep=void 0===ed?1:ed,ef=e.countRender,eh=e.scaleStep,em=void 0===eh?.5:eh,eg=e.minScale,eb=void 0===eg?1:eg,ey=e.maxScale,eE=void 0===ey?50:ey,ev=e.transitionName,eT=e.maskTransitionName,eS=void 0===eT?"fade":eT,eA=e.imageRender,eO=e.imgCommonProps,e_=e.toolbarRender,ek=e.onTransform,ex=e.onChange,eC=(0,p.Z)(e,R),ew=(0,r.useRef)(),eI=(0,r.useContext)(v),eR=eI&&ep>1,eN=eI&&ep>=1,eL=(0,r.useState)(!0),eD=(0,u.Z)(eL,2),eP=eD[0],eM=eD[1],eF=(t=(0,r.useRef)(null),n=(0,r.useRef)([]),a=(0,r.useState)(O),d=(i=(0,u.Z)(a,2))[0],h=i[1],y=function(e,r){null===t.current&&(n.current=[],t.current=(0,A.Z)(function(){h(function(e){var a=e;return n.current.forEach(function(e){a=(0,l.Z)((0,l.Z)({},a),e)}),t.current=null,null==ek||ek({transform:a,action:r}),a})})),n.current.push((0,l.Z)((0,l.Z)({},d),e))},{transform:d,resetTransform:function(e){h(O),(0,S.Z)(O,d)||null==ek||ek({transform:O,action:e})},updateTransform:y,dispatchZoomChange:function(e,t,n,r,a){var i=ew.current,o=i.width,s=i.height,l=i.offsetWidth,c=i.offsetHeight,u=i.offsetLeft,p=i.offsetTop,h=e,m=d.scale*e;m>eE?(m=eE,h=eE/d.scale):m0&&(t=1/t),eG(t,"wheel",e.clientX,e.clientY)}}}),e$=eH.isMoving,ez=eH.onMouseDown,eZ=eH.onWheel,eW=(U=eB.rotate,G=eB.scale,H=eB.x,$=eB.y,z=(0,r.useState)(!1),W=(Z=(0,u.Z)(z,2))[0],V=Z[1],Y=(0,r.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),q=function(e){Y.current=(0,l.Z)((0,l.Z)({},Y.current),e)},(0,r.useEffect)(function(){var e;return ea&&en&&(e=(0,g.Z)(window,"touchmove",function(e){return e.preventDefault()},{passive:!1})),function(){var t;null===(t=e)||void 0===t||t.remove()}},[ea,en]),{isTouching:W,onTouchStart:function(e){if(en){e.stopPropagation(),V(!0);var t=e.touches,n=void 0===t?[]:t;n.length>1?q({point1:{x:n[0].clientX,y:n[0].clientY},point2:{x:n[1].clientX,y:n[1].clientY},eventType:"touchZoom"}):q({point1:{x:n[0].clientX-H,y:n[0].clientY-$},eventType:"move"})}},onTouchMove:function(e){var t=e.touches,n=void 0===t?[]:t,r=Y.current,a=r.point1,i=r.point2,o=r.eventType;if(n.length>1&&"touchZoom"===o){var s={x:n[0].clientX,y:n[0].clientY},l={x:n[1].clientX,y:n[1].clientY},c=function(e,t,n,r){var a=w(e,n),i=w(t,r);if(0===a&&0===i)return[e.x,e.y];var o=a/(a+i);return[e.x+o*(t.x-e.x),e.y+o*(t.y-e.y)]}(a,i,s,l),d=(0,u.Z)(c,2),p=d[0],f=d[1];eG(w(s,l)/w(a,i),"touchZoom",p,f,!0),q({point1:s,point2:l,eventType:"touchZoom"})}else"move"===o&&(eU({x:n[0].clientX-a.x,y:n[0].clientY-a.y},"move"),q({eventType:"move"}))},onTouchEnd:function(){if(ea){if(W&&V(!1),q({eventType:"none"}),eb>G)return eU({x:0,y:0,scale:eb},"touchZoom");var e=ew.current.offsetWidth*G,t=ew.current.offsetHeight*G,n=ew.current.getBoundingClientRect(),r=n.left,a=n.top,i=U%180!=0,o=x(i?t:e,i?e:t,r,a);o&&eU((0,l.Z)({},o),"dragRebound")}}}),eV=eW.isTouching,eY=eW.onTouchStart,eq=eW.onTouchMove,eK=eW.onTouchEnd,eX=eB.rotate,eQ=eB.scale,eJ=o()((0,c.Z)({},"".concat(K,"-moving"),e$));(0,r.useEffect)(function(){eP||eM(!0)},[eP]);var e0=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu>0&&(eM(!1),ej("prev"),null==ex||ex(eu-1,eu))},e1=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu({position:e||"absolute",inset:0}),eu=e=>{let{iconCls:t,motionDurationSlow:n,paddingXXS:r,marginXXS:a,prefixCls:i,colorTextLightSolid:o}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:o,background:new en.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${i}-mask-info`]:Object.assign(Object.assign({},ea.vS),{padding:`0 ${(0,et.bf)(r)}`,[t]:{marginInlineEnd:a,svg:{verticalAlign:"baseline"}}})}},ed=e=>{let{previewCls:t,modalMaskBg:n,paddingSM:r,marginXL:a,margin:i,paddingLG:o,previewOperationColorDisabled:s,previewOperationHoverColor:l,motionDurationSlow:c,iconCls:u,colorTextLightSolid:d}=e,p=new en.C(n).setAlpha(.1),f=p.clone().setAlpha(.2);return{[`${t}-footer`]:{position:"fixed",bottom:a,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor,transform:"translateX(-50%)"},[`${t}-progress`]:{marginBottom:i},[`${t}-close`]:{position:"fixed",top:a,right:{_skip_check_:!0,value:a},display:"flex",color:d,backgroundColor:p.toRgbString(),borderRadius:"50%",padding:r,outline:0,border:0,cursor:"pointer",transition:`all ${c}`,"&:hover":{backgroundColor:f.toRgbString()},[`& > ${u}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,et.bf)(o)}`,backgroundColor:p.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:r,padding:r,cursor:"pointer",transition:`all ${c}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${u}`]:{color:l},"&-disabled":{color:s,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${u}`]:{fontSize:e.previewOperationSize}}}}},ep=e=>{let{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:r,previewCls:a,zIndexPopup:i,motionDurationSlow:o}=e,s=new en.C(t).setAlpha(.1),l=s.clone().setAlpha(.2);return{[`${a}-switch-left, ${a}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(i).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:s.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${o}`,userSelect:"none","&:hover":{background:l.toRgbString()},"&-disabled":{"&, &:hover":{color:r,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${a}-switch-left`]:{insetInlineStart:e.marginSM},[`${a}-switch-right`]:{insetInlineEnd:e.marginSM}}},ef=e=>{let{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:a}=e;return[{[`${a}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:Object.assign(Object.assign({},ec()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${r} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},ec()),{transition:`transform ${r} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${a}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${a}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal()},"&":[ed(e),ep(e)]}]},eh=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},eu(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},ec())}}},em=e=>{let{previewCls:t}=e;return{[`${t}-root`]:(0,ei._y)(e,"zoom"),"&":(0,eo.J$)(e,!0)}};var eg=(0,es.I$)("Image",e=>{let t=`${e.componentCls}-preview`,n=(0,el.IX)(e,{previewCls:t,modalMaskBg:new en.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[eh(n),ef(n),(0,er.QA)((0,el.IX)(n,{componentCls:t})),em(n)]},e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new en.C(e.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new en.C(e.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new en.C(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:1.5*e.fontSizeIcon})),eb=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ey={rotateLeft:r.createElement(K.Z,null),rotateRight:r.createElement(X.Z,null),zoomIn:r.createElement(J.Z,null),zoomOut:r.createElement(ee.Z,null),close:r.createElement(V.Z,null),left:r.createElement(Y.Z,null),right:r.createElement(q.Z,null),flipX:r.createElement(Q.Z,null),flipY:r.createElement(Q.Z,{rotate:90})};var eE=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ev=e=>{var t;let{prefixCls:n,preview:i,className:s,rootClassName:l,style:c}=e,u=eE(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:d,locale:p=W.Z,getPopupContainer:f,image:h}=r.useContext(z.E_),m=d("image",n),g=d(),b=p.Image||W.Z.Image,y=(0,Z.Z)(m),[E,v,T]=eg(m,y),S=o()(l,v,T,y),A=o()(s,v,null==h?void 0:h.className),[O]=(0,H.Cn)("ImagePreview","object"==typeof i?i.zIndex:void 0),_=r.useMemo(()=>{var e;if(!1===i)return i;let t="object"==typeof i?i:{},{getContainer:n,closeIcon:o}=t,s=eE(t,["getContainer","closeIcon"]);return Object.assign(Object.assign({mask:r.createElement("div",{className:`${m}-mask-info`},r.createElement(a.Z,null),null==b?void 0:b.preview),icons:ey},s),{getContainer:null!=n?n:f,transitionName:(0,$.m)(g,"zoom",t.transitionName),maskTransitionName:(0,$.m)(g,"fade",t.maskTransitionName),zIndex:O,closeIcon:null!=o?o:null===(e=null==h?void 0:h.preview)||void 0===e?void 0:e.closeIcon})},[i,b,null===(t=null==h?void 0:h.preview)||void 0===t?void 0:t.closeIcon]),k=Object.assign(Object.assign({},null==h?void 0:h.style),c);return E(r.createElement(G,Object.assign({prefixCls:m,preview:_,rootClassName:S,className:A,style:k},u)))};ev.PreviewGroup=e=>{var{previewPrefixCls:t,preview:n}=e,a=eb(e,["previewPrefixCls","preview"]);let{getPrefixCls:i}=r.useContext(z.E_),s=i("image",t),l=`${s}-preview`,c=i(),u=(0,Z.Z)(s),[d,p,f]=eg(s,u),[h]=(0,H.Cn)("ImagePreview","object"==typeof n?n.zIndex:void 0),m=r.useMemo(()=>{var e;if(!1===n)return n;let t="object"==typeof n?n:{},r=o()(p,f,u,null!==(e=t.rootClassName)&&void 0!==e?e:"");return Object.assign(Object.assign({},t),{transitionName:(0,$.m)(c,"zoom",t.transitionName),maskTransitionName:(0,$.m)(c,"fade",t.maskTransitionName),rootClassName:r,zIndex:h})},[n]);return d(r.createElement(G.PreviewGroup,Object.assign({preview:m,previewPrefixCls:l,icons:ey},a)))};var eT=ev},66309:function(e,t,n){"use strict";n.d(t,{Z:function(){return I}});var r=n(67294),a=n(93967),i=n.n(a),o=n(98423),s=n(98787),l=n(69760),c=n(96159),u=n(45353),d=n(53124),p=n(25446),f=n(10274),h=n(14747),m=n(83262),g=n(83559);let b=e=>{let{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:a,calc:i}=e,o=i(r).sub(n).equal(),s=i(t).sub(n).equal();return{[a]:Object.assign(Object.assign({},(0,h.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:o,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,p.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${a}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${a}-close-icon`]:{marginInlineStart:s,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${a}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${a}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:o}}),[`${a}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},y=e=>{let{lineWidth:t,fontSizeIcon:n,calc:r}=e,a=e.fontSizeSM,i=(0,m.IX)(e,{tagFontSize:a,tagLineHeight:(0,p.bf)(r(e.lineHeightSM).mul(a).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return i},E=e=>({defaultBg:new f.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var v=(0,g.I$)("Tag",e=>{let t=y(e);return b(t)},E),T=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let S=r.forwardRef((e,t)=>{let{prefixCls:n,style:a,className:o,checked:s,onChange:l,onClick:c}=e,u=T(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:p,tag:f}=r.useContext(d.E_),h=p("tag",n),[m,g,b]=v(h),y=i()(h,`${h}-checkable`,{[`${h}-checkable-checked`]:s},null==f?void 0:f.className,o,g,b);return m(r.createElement("span",Object.assign({},u,{ref:t,style:Object.assign(Object.assign({},a),null==f?void 0:f.style),className:y,onClick:e=>{null==l||l(!s),null==c||c(e)}})))});var A=n(98719);let O=e=>(0,A.Z)(e,(t,n)=>{let{textColor:r,lightBorderColor:a,lightColor:i,darkColor:o}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:i,borderColor:a,"&-inverse":{color:e.colorTextLightSolid,background:o,borderColor:o},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var _=(0,g.bk)(["Tag","preset"],e=>{let t=y(e);return O(t)},E);let k=(e,t,n)=>{let r=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var x=(0,g.bk)(["Tag","status"],e=>{let t=y(e);return[k(t,"success","Success"),k(t,"processing","Info"),k(t,"error","Error"),k(t,"warning","Warning")]},E),C=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let w=r.forwardRef((e,t)=>{let{prefixCls:n,className:a,rootClassName:p,style:f,children:h,icon:m,color:g,onClose:b,bordered:y=!0,visible:E}=e,T=C(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:S,direction:A,tag:O}=r.useContext(d.E_),[k,w]=r.useState(!0),I=(0,o.Z)(T,["closeIcon","closable"]);r.useEffect(()=>{void 0!==E&&w(E)},[E]);let R=(0,s.o2)(g),N=(0,s.yT)(g),L=R||N,D=Object.assign(Object.assign({backgroundColor:g&&!L?g:void 0},null==O?void 0:O.style),f),P=S("tag",n),[M,F,B]=v(P),j=i()(P,null==O?void 0:O.className,{[`${P}-${g}`]:L,[`${P}-has-color`]:g&&!L,[`${P}-hidden`]:!k,[`${P}-rtl`]:"rtl"===A,[`${P}-borderless`]:!y},a,p,F,B),U=e=>{e.stopPropagation(),null==b||b(e),e.defaultPrevented||w(!1)},[,G]=(0,l.Z)((0,l.w)(e),(0,l.w)(O),{closable:!1,closeIconRender:e=>{let t=r.createElement("span",{className:`${P}-close-icon`,onClick:U},e);return(0,c.wm)(e,t,e=>({onClick:t=>{var n;null===(n=null==e?void 0:e.onClick)||void 0===n||n.call(e,t),U(t)},className:i()(null==e?void 0:e.className,`${P}-close-icon`)}))}}),H="function"==typeof T.onClick||h&&"a"===h.type,$=m||null,z=$?r.createElement(r.Fragment,null,$,h&&r.createElement("span",null,h)):h,Z=r.createElement("span",Object.assign({},I,{ref:t,className:j,style:D}),z,G,R&&r.createElement(_,{key:"preset",prefixCls:P}),N&&r.createElement(x,{key:"status",prefixCls:P}));return M(H?r.createElement(u.Z,{component:"Tag"},Z):Z)});w.CheckableTag=S;var I=w},62502:function(e,t,n){"use strict";var r=n(15575),a=n(64977),i=n(72869),o=n(32473).Q,s=n(24395).Q;e.exports=function(e,t,n){var a=n?function(e){for(var t,n=e.length,r=-1,a={};++r4&&h.slice(0,4)===o&&s.test(t)&&("-"===t.charAt(4)?m=o+(n=t.slice(5).replace(l,d)).charAt(0).toUpperCase()+n.slice(1):(f=(p=t).slice(4),t=l.test(f)?p:("-"!==(f=f.replace(c,u)).charAt(0)&&(f="-"+f),o+f)),g=a),new g(m,t))};var s=/^data[-\w.:]+$/i,l=/-[a-z]/g,c=/[A-Z]/g;function u(e){return"-"+e.toLowerCase()}function d(e){return e.charAt(1).toUpperCase()}},48055:function(e,t,n){"use strict";var r=n(26230),a=n(13970),i=n(10629),o=n(647),s=n(91305),l=n(22537);e.exports=r([i,a,o,s,l])},91305:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=r.booleanish,o=r.number,s=r.spaceSeparated;e.exports=a({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:i,ariaAutoComplete:null,ariaBusy:i,ariaChecked:i,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:s,ariaCurrent:null,ariaDescribedBy:s,ariaDetails:null,ariaDisabled:i,ariaDropEffect:s,ariaErrorMessage:null,ariaExpanded:i,ariaFlowTo:s,ariaGrabbed:i,ariaHasPopup:null,ariaHidden:i,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s,ariaLevel:o,ariaLive:null,ariaModal:i,ariaMultiLine:i,ariaMultiSelectable:i,ariaOrientation:null,ariaOwns:s,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:i,ariaReadOnly:i,ariaRelevant:null,ariaRequired:i,ariaRoleDescription:s,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:i,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}})},22537:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=n(19348),o=r.boolean,s=r.overloadedBoolean,l=r.booleanish,c=r.number,u=r.spaceSeparated,d=r.commaSeparated;e.exports=a({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:i,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:d,acceptCharset:u,accessKey:u,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:u,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:u,cols:c,colSpan:null,content:null,contentEditable:l,controls:o,controlsList:u,coords:c|d,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:s,draggable:l,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:u,height:c,hidden:o,high:c,href:null,hrefLang:null,htmlFor:u,httpEquiv:u,id:null,imageSizes:null,imageSrcSet:d,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:u,itemRef:u,itemScope:o,itemType:u,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:u,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:u,required:o,reversed:o,rows:c,rowSpan:c,sandbox:u,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:c,sizes:null,slot:null,span:c,spellCheck:l,src:null,srcDoc:null,srcLang:null,srcSet:d,start:c,step:null,style:null,tabIndex:c,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:l,width:c,wrap:null,align:null,aLink:null,archive:u,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:l,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}})},19348:function(e,t,n){"use strict";var r=n(21098);e.exports=function(e,t){return r(e,t.toLowerCase())}},21098:function(e){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},47589:function(e,t,n){"use strict";var r=n(64977),a=n(16038),i=n(78444);e.exports=function(e){var t,n,o=e.space,s=e.mustUseProperty||[],l=e.attributes||{},c=e.properties,u=e.transform,d={},p={};for(t in c)n=new i(t,u(l,t),c[t],o),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),d[t]=n,p[r(t)]=t,p[r(n.attribute)]=t;return new a(d,p,o)}},78444:function(e,t,n){"use strict";var r=n(40313),a=n(61422);e.exports=s,s.prototype=new r,s.prototype.defined=!0;var i=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=i.length;function s(e,t,n,s){var l,c,u,d=-1;for(s&&(this.space=s),r.call(this,e,t);++d=97&&t<=122||t>=65&&t<=90}},7961:function(e,t,n){"use strict";var r=n(46260),a=n(46195);e.exports=function(e){return r(e)||a(e)}},46195:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},79480:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}},57843:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/construct/app/extra/components/auto-plan/DetailsCard",function(){return n(77451)}])},85813:function(e,t,n){"use strict";n.d(t,{r:function(){return _6}});var r,a,i,o,s,l,c,u,d,p,f,h,m,g,b,y,E,v,T,S,A,O,_,k,x,C,w,I,R,N,L,D,P,M,F,B,j,U,G,H,$,z,Z,W,V,Y,q,K,X,Q,J,ee,et,en,er,ea={};n.r(ea),n.d(ea,{area:function(){return cf},bottom:function(){return cT},bottomLeft:function(){return cT},bottomRight:function(){return cT},inside:function(){return cT},left:function(){return cT},outside:function(){return c_},right:function(){return cT},spider:function(){return cR},surround:function(){return cL},top:function(){return cT},topLeft:function(){return cT},topRight:function(){return cT}});var ei={};n.r(ei),n.d(ei,{interpolateBlues:function(){return uD.interpolateBlues},interpolateBrBG:function(){return uD.interpolateBrBG},interpolateBuGn:function(){return uD.interpolateBuGn},interpolateBuPu:function(){return uD.interpolateBuPu},interpolateCividis:function(){return uD.interpolateCividis},interpolateCool:function(){return uD.interpolateCool},interpolateCubehelixDefault:function(){return uD.interpolateCubehelixDefault},interpolateGnBu:function(){return uD.interpolateGnBu},interpolateGreens:function(){return uD.interpolateGreens},interpolateGreys:function(){return uD.interpolateGreys},interpolateInferno:function(){return uD.interpolateInferno},interpolateMagma:function(){return uD.interpolateMagma},interpolateOrRd:function(){return uD.interpolateOrRd},interpolateOranges:function(){return uD.interpolateOranges},interpolatePRGn:function(){return uD.interpolatePRGn},interpolatePiYG:function(){return uD.interpolatePiYG},interpolatePlasma:function(){return uD.interpolatePlasma},interpolatePuBu:function(){return uD.interpolatePuBu},interpolatePuBuGn:function(){return uD.interpolatePuBuGn},interpolatePuOr:function(){return uD.interpolatePuOr},interpolatePuRd:function(){return uD.interpolatePuRd},interpolatePurples:function(){return uD.interpolatePurples},interpolateRainbow:function(){return uD.interpolateRainbow},interpolateRdBu:function(){return uD.interpolateRdBu},interpolateRdGy:function(){return uD.interpolateRdGy},interpolateRdPu:function(){return uD.interpolateRdPu},interpolateRdYlBu:function(){return uD.interpolateRdYlBu},interpolateRdYlGn:function(){return uD.interpolateRdYlGn},interpolateReds:function(){return uD.interpolateReds},interpolateSinebow:function(){return uD.interpolateSinebow},interpolateSpectral:function(){return uD.interpolateSpectral},interpolateTurbo:function(){return uD.interpolateTurbo},interpolateViridis:function(){return uD.interpolateViridis},interpolateWarm:function(){return uD.interpolateWarm},interpolateYlGn:function(){return uD.interpolateYlGn},interpolateYlGnBu:function(){return uD.interpolateYlGnBu},interpolateYlOrBr:function(){return uD.interpolateYlOrBr},interpolateYlOrRd:function(){return uD.interpolateYlOrRd},schemeAccent:function(){return uD.schemeAccent},schemeBlues:function(){return uD.schemeBlues},schemeBrBG:function(){return uD.schemeBrBG},schemeBuGn:function(){return uD.schemeBuGn},schemeBuPu:function(){return uD.schemeBuPu},schemeCategory10:function(){return uD.schemeCategory10},schemeDark2:function(){return uD.schemeDark2},schemeGnBu:function(){return uD.schemeGnBu},schemeGreens:function(){return uD.schemeGreens},schemeGreys:function(){return uD.schemeGreys},schemeOrRd:function(){return uD.schemeOrRd},schemeOranges:function(){return uD.schemeOranges},schemePRGn:function(){return uD.schemePRGn},schemePaired:function(){return uD.schemePaired},schemePastel1:function(){return uD.schemePastel1},schemePastel2:function(){return uD.schemePastel2},schemePiYG:function(){return uD.schemePiYG},schemePuBu:function(){return uD.schemePuBu},schemePuBuGn:function(){return uD.schemePuBuGn},schemePuOr:function(){return uD.schemePuOr},schemePuRd:function(){return uD.schemePuRd},schemePurples:function(){return uD.schemePurples},schemeRdBu:function(){return uD.schemeRdBu},schemeRdGy:function(){return uD.schemeRdGy},schemeRdPu:function(){return uD.schemeRdPu},schemeRdYlBu:function(){return uD.schemeRdYlBu},schemeRdYlGn:function(){return uD.schemeRdYlGn},schemeReds:function(){return uD.schemeReds},schemeSet1:function(){return uD.schemeSet1},schemeSet2:function(){return uD.schemeSet2},schemeSet3:function(){return uD.schemeSet3},schemeSpectral:function(){return uD.schemeSpectral},schemeTableau10:function(){return uD.schemeTableau10},schemeYlGn:function(){return uD.schemeYlGn},schemeYlGnBu:function(){return uD.schemeYlGnBu},schemeYlOrBr:function(){return uD.schemeYlOrBr},schemeYlOrRd:function(){return uD.schemeYlOrRd}});var eo={};n.r(eo);var es={};n.r(es),n.d(es,{geoAlbers:function(){return Ta.Z},geoAlbersUsa:function(){return Tr.Z},geoAzimuthalEqualArea:function(){return Ti.Z},geoAzimuthalEqualAreaRaw:function(){return Ti.l},geoAzimuthalEquidistant:function(){return To.Z},geoAzimuthalEquidistantRaw:function(){return To.N},geoConicConformal:function(){return Ts.Z},geoConicConformalRaw:function(){return Ts.l},geoConicEqualArea:function(){return Tl.Z},geoConicEqualAreaRaw:function(){return Tl.v},geoConicEquidistant:function(){return Tc.Z},geoConicEquidistantRaw:function(){return Tc.o},geoEqualEarth:function(){return Tu.Z},geoEqualEarthRaw:function(){return Tu.i},geoEquirectangular:function(){return Td.Z},geoEquirectangularRaw:function(){return Td.k},geoGnomonic:function(){return Tp.Z},geoGnomonicRaw:function(){return Tp.M},geoIdentity:function(){return Tf.Z},geoMercator:function(){return Tm.ZP},geoMercatorRaw:function(){return Tm.hk},geoNaturalEarth1:function(){return Tg.Z},geoNaturalEarth1Raw:function(){return Tg.K},geoOrthographic:function(){return Tb.Z},geoOrthographicRaw:function(){return Tb.I},geoProjection:function(){return Th.Z},geoProjectionMutator:function(){return Th.r},geoStereographic:function(){return Ty.Z},geoStereographicRaw:function(){return Ty.T},geoTransverseMercator:function(){return TE.Z},geoTransverseMercatorRaw:function(){return TE.F}});var el={};n.r(el),n.d(el,{frequency:function(){return Sh},id:function(){return Sm},name:function(){return Sg},weight:function(){return Sf}});var ec=n(74902),eu=n(1413),ed=n(87462),ep=n(97685),ef=n(45987),eh=n(50888),em=n(96486),eg=n(67294),eb=function(){return(eb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n-1&&!e.return)switch(e.type){case ek:e.return=function e(t,n,r){var a;switch(a=n,45^eD(t,0)?(((a<<2^eD(t,0))<<2^eD(t,1))<<2^eD(t,2))<<2^eD(t,3):0){case 5103:return eA+"print-"+t+t;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 eA+t+t;case 4789:return eS+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return eA+t+eS+t+eT+t+t;case 5936:switch(eD(t,n+11)){case 114:return eA+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return eA+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return eA+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return eA+t+eT+t+t;case 6165:return eA+t+eT+"flex-"+t+t;case 5187:return eA+t+eN(t,/(\w+).+(:[^]+)/,eA+"box-$1$2"+eT+"flex-$1$2")+t;case 5443:return eA+t+eT+"flex-item-"+eN(t,/flex-|-self/g,"")+(eR(t,/flex-|baseline/)?"":eT+"grid-row-"+eN(t,/flex-|-self/g,""))+t;case 4675:return eA+t+eT+"flex-line-pack"+eN(t,/align-content|flex-|-self/g,"")+t;case 5548:return eA+t+eT+eN(t,"shrink","negative")+t;case 5292:return eA+t+eT+eN(t,"basis","preferred-size")+t;case 6060:return eA+"box-"+eN(t,"-grow","")+eA+t+eT+eN(t,"grow","positive")+t;case 4554:return eA+eN(t,/([^-])(transform)/g,"$1"+eA+"$2")+t;case 6187:return eN(eN(eN(t,/(zoom-|grab)/,eA+"$1"),/(image-set)/,eA+"$1"),t,"")+t;case 5495:case 3959:return eN(t,/(image-set\([^]*)/,eA+"$1$`$1");case 4968:return eN(eN(t,/(.+:)(flex-)?(.*)/,eA+"box-pack:$3"+eT+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+eA+t+t;case 4200:if(!eR(t,/flex-|baseline/))return eT+"grid-column-align"+eP(t,n)+t;break;case 2592:case 3360:return eT+eN(t,"template-","")+t;case 4384:case 3616:if(r&&r.some(function(e,t){return n=t,eR(e.props,/grid-\w+-end/)}))return~eL(t+(r=r[n].value),"span",0)?t:eT+eN(t,"-start","")+t+eT+"grid-row-span:"+(~eL(r,"span",0)?eR(r,/\d+/):+eR(r,/\d+/)-+eR(t,/\d+/))+";";return eT+eN(t,"-start","")+t;case 4896:case 4128:return r&&r.some(function(e){return eR(e.props,/grid-\w+-start/)})?t:eT+eN(eN(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return eN(t,/(.+)-inline(.+)/,eA+"$1$2")+t;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(eM(t)-1-n>6)switch(eD(t,n+1)){case 109:if(45!==eD(t,n+4))break;case 102:return eN(t,/(.+:)(.+)-([^]+)/,"$1"+eA+"$2-$3$1"+eS+(108==eD(t,n+3)?"$3":"$2-$3"))+t;case 115:return~eL(t,"stretch",0)?e(eN(t,"stretch","fill-available"),n,r)+t:t}break;case 5152:case 5920:return eN(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(e,n,r,a,i,o,s){return eT+n+":"+r+s+(a?eT+n+"-span:"+(i?o:+o-+r)+s:"")+t});case 4949:if(121===eD(t,n+6))return eN(t,":",":"+eA)+t;break;case 6444:switch(eD(t,45===eD(t,14)?18:11)){case 120:return eN(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+eA+(45===eD(t,14)?"inline-":"")+"box$3$1"+eA+"$2$3$1"+eT+"$2box$3")+t;case 100:return eN(t,":",":"+eT)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return eN(t,"scroll-","scroll-snap-")+t}return t}(e.value,e.length,n);return;case ex:return eQ([eW(e,{value:eN(e.value,"@","@"+eA)})],r);case e_:if(e.length)return(n=e.props).map(function(t){switch(eR(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":eV(eW(e,{props:[eN(t,/:(read-\w+)/,":"+eS+"$1")]})),eV(eW(e,{props:[t]})),eI(e,{props:eB(n,r)});break;case"::placeholder":eV(eW(e,{props:[eN(t,/:(plac\w+)/,":"+eA+"input-$1")]})),eV(eW(e,{props:[eN(t,/:(plac\w+)/,":"+eS+"$1")]})),eV(eW(e,{props:[eN(t,/:(plac\w+)/,eT+"input-$1")]})),eV(eW(e,{props:[t]})),eI(e,{props:eB(n,r)})}return""}).join("")}}function e1(e,t,n,r,a,i,o,s,l,c,u,d){for(var p=a-1,f=0===a?i:[""],h=f.length,m=0,g=0,b=0;m0?f[y]+" "+E:eN(E,/&\f/g,f[y])).trim())&&(l[b++]=v);return eZ(e,t,n,0===a?e_:s,l,c,u,d)}function e2(e,t,n,r,a){return eZ(e,t,n,ek,eP(e,0,r),eP(e,r+1,-1),r,a)}var e3=n(94371),e5=n(83454),e4=void 0!==e5&&void 0!==e5.env&&(e5.env.REACT_APP_SC_ATTR||e5.env.SC_ATTR)||"data-styled",e6="active",e9="data-styled-version",e8="6.1.15",e7="/*!sc*/\n",te="undefined"!=typeof window&&"HTMLElement"in window,tt=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==e5&&void 0!==e5.env&&void 0!==e5.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==e5.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==e5.env.REACT_APP_SC_DISABLE_SPEEDY&&e5.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==e5&&void 0!==e5.env&&void 0!==e5.env.SC_DISABLE_SPEEDY&&""!==e5.env.SC_DISABLE_SPEEDY&&"false"!==e5.env.SC_DISABLE_SPEEDY&&e5.env.SC_DISABLE_SPEEDY),tn=Object.freeze([]),tr=Object.freeze({}),ta=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),ti=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,to=/(^-|-$)/g;function ts(e){return e.replace(ti,"-").replace(to,"")}var tl=/(a)(d)/gi,tc=function(e){return String.fromCharCode(e+(e>25?39:97))};function tu(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=tc(t%52)+n;return(tc(t%52)+n).replace(tl,"$1-$2")}var td,tp=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},tf=function(e){return tp(5381,e)};function th(e){return"string"==typeof e}var tm="function"==typeof Symbol&&Symbol.for,tg=tm?Symbol.for("react.memo"):60115,tb=tm?Symbol.for("react.forward_ref"):60112,ty={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},tE={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},tv={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},tT=((td={})[tb]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},td[tg]=tv,td);function tS(e){return("type"in e&&e.type.$$typeof)===tg?tv:"$$typeof"in e?tT[e.$$typeof]:ty}var tA=Object.defineProperty,tO=Object.getOwnPropertyNames,t_=Object.getOwnPropertySymbols,tk=Object.getOwnPropertyDescriptor,tx=Object.getPrototypeOf,tC=Object.prototype;function tw(e){return"function"==typeof e}function tI(e){return"object"==typeof e&&"styledComponentId"in e}function tR(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function tN(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r0?" Args: ".concat(t.join(", ")):""))}var tM=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,a=r;e>=a;)if((a<<=1)<0)throw tP(16,"".concat(e));this.groupSizes=new Uint32Array(a),this.groupSizes.set(n),this.length=a;for(var i=r;i=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),a=r+n,i=r;i=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(l+="".concat(e,","))}),r+="".concat(o).concat(s,'{content:"').concat(l,'"}').concat(e7)}}})(a);return r}(r)})}return e.registerId=function(e){return tU(e)},e.prototype.rehydrate=function(){!this.server&&te&&tW(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(eb(eb({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){var e,t,n,r;return this.tag||(this.tag=(n=(t=this.options).useCSSOMInjection,r=t.target,e=t.isServer?new tK(r):n?new tY(r):new tq(r),new tM(e)))},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(tU(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(tU(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(tU(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),t0=/&/g,t1=/^\s*\/\/.*$/gm;function t2(e){var t,n,r,a=void 0===e?tr:e,i=a.options,o=void 0===i?tr:i,s=a.plugins,l=void 0===s?tn:s,c=function(e,r,a){return a.startsWith(n)&&a.endsWith(n)&&a.replaceAll(n,"").length>0?".".concat(t):e},u=l.slice();u.push(function(e){e.type===e_&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(t0,n).replace(r,c))}),o.prefix&&u.push(e0),u.push(eJ);var d=function(e,a,i,s){void 0===a&&(a=""),void 0===i&&(i=""),void 0===s&&(s="&"),t=s,n=a,r=RegExp("\\".concat(n,"\\b"),"g");var l,c,d,p,f,h=e.replace(t1,""),m=(f=function e(t,n,r,a,i,o,s,l,c){for(var u,d=0,p=0,f=s,h=0,m=0,g=0,b=1,y=1,E=1,v=0,T="",S=i,A=o,O=a,_=T;y;)switch(g=v,v=eY()){case 40:if(108!=g&&58==eD(_,f-1)){-1!=eL(_+=eN(eX(v),"&","&\f"),"&\f",eC(d?l[d-1]:0))&&(E=-1);break}case 34:case 39:case 91:_+=eX(v);break;case 9:case 10:case 13:case 32:_+=function(e){for(;e$=eq();)if(e$<33)eY();else break;return eK(e)>2||eK(e$)>3?"":" "}(g);break;case 92:_+=function(e,t){for(var n;--t&&eY()&&!(e$<48)&&!(e$>102)&&(!(e$>57)||!(e$<65))&&(!(e$>70)||!(e$<97)););return n=eH+(t<6&&32==eq()&&32==eY()),eP(ez,e,n)}(eH-1,7);continue;case 47:switch(eq()){case 42:case 47:eF(eZ(u=function(e,t){for(;eY();)if(e+e$===57)break;else if(e+e$===84&&47===eq())break;return"/*"+eP(ez,t,eH-1)+"*"+ew(47===e?e:eY())}(eY(),eH),n,r,eO,ew(e$),eP(u,2,-2),0,c),c);break;default:_+="/"}break;case 123*b:l[d++]=eM(_)*E;case 125*b:case 59:case 0:switch(v){case 0:case 125:y=0;case 59+p:-1==E&&(_=eN(_,/\f/g,"")),m>0&&eM(_)-f&&eF(m>32?e2(_+";",a,r,f-1,c):e2(eN(_," ","")+";",a,r,f-2,c),c);break;case 59:_+=";";default:if(eF(O=e1(_,n,r,d,p,i,l,T,S=[],A=[],f,o),o),123===v){if(0===p)e(_,n,O,O,S,o,f,l,A);else switch(99===h&&110===eD(_,3)?100:h){case 100:case 108:case 109:case 115:e(t,O,O,a&&eF(e1(t,O,O,0,0,i,l,T,i,S=[],f,A),A),i,A,f,l,a?S:A);break;default:e(_,O,O,O,[""],A,0,l,A)}}}d=p=m=0,b=E=1,T=_="",f=s;break;case 58:f=1+eM(_),m=g;default:if(b<1){if(123==v)--b;else if(125==v&&0==b++&&125==(e$=eH>0?eD(ez,--eH):0,eU--,10===e$&&(eU=1,ej--),e$))continue}switch(_+=ew(v),v*b){case 38:E=p>0?1:(_+="\f",-1);break;case 44:l[d++]=(eM(_)-1)*E,E=1;break;case 64:45===eq()&&(_+=eX(eY())),h=eq(),p=f=eM(T=_+=function(e){for(;!eK(eq());)eY();return eP(ez,e,eH)}(eH)),v++;break;case 45:45===g&&2==eM(_)&&(b=0)}}return o}("",null,null,null,[""],(p=d=i||a?"".concat(i," ").concat(a," { ").concat(h," }"):h,ej=eU=1,eG=eM(ez=p),eH=0,d=[]),0,[0],d),ez="",f);o.namespace&&(m=function e(t,n){return t.map(function(t){return"rule"===t.type&&(t.value="".concat(n," ").concat(t.value),t.value=t.value.replaceAll(",",",".concat(n," ")),t.props=t.props.map(function(e){return"".concat(n," ").concat(e)})),Array.isArray(t.children)&&"@keyframes"!==t.type&&(t.children=e(t.children,n)),t})}(m,o.namespace));var g=[];return eQ(m,(c=(l=u.concat(function(e){var t;!e.root&&(e=e.return)&&(t=e,g.push(t))})).length,function(e,t,n,r){for(var a="",i=0;i="A"&&r<="Z"?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var nt=function(e){return null==e||!1===e||""===e},nn=function(e){var t=[];for(var n in e){var r=e[n];e.hasOwnProperty(n)&&!nt(r)&&(Array.isArray(r)&&r.isCss||tw(r)?t.push("".concat(ne(n),":"),r,";"):tL(r)?t.push.apply(t,ey(ey(["".concat(n," {")],nn(r),!1),["}"],!1)):t.push("".concat(ne(n),": ").concat(null==r||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||n in e3.Z||n.startsWith("--")?String(r).trim():"".concat(r,"px"),";")))}return t};function nr(e,t,n,r){return nt(e)?[]:tI(e)?[".".concat(e.styledComponentId)]:tw(e)?!tw(e)||e.prototype&&e.prototype.isReactComponent||!t?[e]:nr(e(t),t,n,r):e instanceof t7?n?(e.inject(n,r),[e.getName(r)]):[e]:tL(e)?nn(e):Array.isArray(e)?Array.prototype.concat.apply(tn,e.map(function(e){return nr(e,t,n,r)})):[e.toString()]}function na(e){for(var t=0;t>>0);if(!t.hasNameForId(this.componentId,i)){var o=n(a,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,o)}r=tR(r,i),this.staticRulesId=i}}else{for(var s=tp(this.baseHash,n.hash),l="",c=0;c>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(l,".".concat(p),void 0,this.componentId)),r=tR(r,p)}}return r},e}(),ns=eg.createContext(void 0);ns.Consumer;var nl={};function nc(e,t,n){var r,a,i,o,s=tI(e),l=!th(e),c=t.attrs,u=void 0===c?tn:c,d=t.componentId,p=void 0===d?(r=t.displayName,a=t.parentComponentId,nl[i="string"!=typeof r?"sc":ts(r)]=(nl[i]||0)+1,o="".concat(i,"-").concat(tu(tf(e8+i+nl[i])>>>0)),a?"".concat(a,"-").concat(o):o):d,f=t.displayName,h=void 0===f?th(e)?"styled.".concat(e):"Styled(".concat(e.displayName||e.name||"Component",")"):f,m=t.displayName&&t.componentId?"".concat(ts(t.displayName),"-").concat(t.componentId):t.componentId||p,g=s&&e.attrs?e.attrs.concat(u).filter(Boolean):u,b=t.shouldForwardProp;if(s&&e.shouldForwardProp){var y=e.shouldForwardProp;if(t.shouldForwardProp){var E=t.shouldForwardProp;b=function(e,t){return y(e,t)&&E(e,t)}}else b=y}var v=new no(n,m,s?e.componentStyle:void 0);function T(e,t){return function(e,t,n){var r,a,i=e.attrs,o=e.componentStyle,s=e.defaultProps,l=e.foldedComponentIds,c=e.styledComponentId,u=e.target,d=eg.useContext(ns),p=t9(),f=e.shouldForwardProp||p.shouldForwardProp,h=(void 0===(r=s)&&(r=tr),t.theme!==r.theme&&t.theme||d||r.theme||tr),m=function(e,t,n){for(var r,a=eb(eb({},t),{className:void 0,theme:n}),i=0;i2&&tJ.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=n.nc,a=tN([r&&'nonce="'.concat(r,'"'),"".concat(e4,'="true"'),"".concat(e9,'="').concat(e8,'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(e.sealed)throw tP(2);return e._emitSheetCSS()},this.getStyleElement=function(){if(e.sealed)throw tP(2);var t,r=e.instance.toString();if(!r)return[];var a=((t={})[e4]="",t[e9]=e8,t.dangerouslySetInnerHTML={__html:r},t),i=n.nc;return i&&(a.nonce=i),[eg.createElement("style",eb({},a,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new tJ({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw tP(2);return eg.createElement(t8,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw tP(3)}}();var nh=n(4942),nm=n(73935),ng=n.t(nm,2),nb=function(){return(nb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=18&&(J=ny.createRoot)}catch(e){}function nT(e){var t=ny.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"==typeof t&&(t.usingClientEntryPoint=e)}var nS="__rc_react_root__",nA=new Map;"undefined"!=typeof document&&nA.set("tooltip",document.createElement("div"));var nO=function(e,t){void 0===t&&(t=!1);var n=null;if(t)n=nA.get("tooltip");else if(n=document.createElement("div"),null==e?void 0:e.key){var r=nA.get(e.key);r?n=r:nA.set(e.key,n)}return!function(e,t){if(J){var n;nT(!0),n=t[nS]||J(t),nT(!1),n.render(e),t[nS]=n;return}nv(e,t)}(e,n),n},n_=function(e){if("undefined"==typeof document)return"loading";var t=e.attachShadow({mode:"open"}),n=document.createElement("div"),r=document.createElement("style");r.innerHTML=".loading {\n display: inline-block;\n position: relative;\n width: 80px;\n height: 80px;\n }\n .loading div {\n position: absolute;\n top: 33px;\n width: 13px;\n height: 13px;\n border-radius: 50%;\n background: #ccc;\n animation-timing-function: cubic-bezier(0, 1, 1, 0);\n }\n .loading div:nth-child(1) {\n left: 8px;\n animation: loading1 0.6s infinite;\n }\n .loading div:nth-child(2) {\n left: 8px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(3) {\n left: 32px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(4) {\n left: 56px;\n animation: loading3 0.6s infinite;\n }\n @keyframes loading1 {\n 0% {\n transform: scale(0);\n }\n 100% {\n transform: scale(1);\n }\n }\n @keyframes loading3 {\n 0% {\n transform: scale(1);\n }\n 100% {\n transform: scale(0);\n }\n }\n @keyframes loading2 {\n 0% {\n transform: translate(0, 0);\n }\n 100% {\n transform: translate(24px, 0);\n }\n }\n ",n.classList.add("loading"),n.innerHTML="
",t.appendChild(r),t.appendChild(n)},nk=function(e){var t=e.loadingTemplate,n=e.theme,r=eg.useRef(null);return eg.useEffect(function(){!t&&r.current&&n_(r.current)},[]),eg.createElement("div",{className:"charts-loading-container",style:{position:"absolute",width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",left:0,top:0,zIndex:99,backgroundColor:"dark"===(void 0===n?"light":n)?"rgb(20, 20, 20)":"rgb(255, 255, 255)"}},t||eg.createElement("div",{ref:r}))},nx=(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),nC=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={hasError:!1},t.renderError=function(e){var n=t.props.errorTemplate;return"function"==typeof n?n(e):n||eg.createElement("h5",null,"组件出错了,请核查后重试: ",e.message)},t}return nx(t,e),t.getDerivedStateFromError=function(e){return{hasError:!0,error:e}},t.getDerivedStateFromProps=function(e,t){return t.children!==e.children?{children:e.children,hasError:!1,error:void 0}:null},t.prototype.render=function(){return this.state.hasError?this.renderError(this.state.error):eg.createElement(eg.Fragment,null,this.props.children)},t}(eg.Component),nw=function(e,t,n){if(n||2==arguments.length)for(var r,a=0,i=t.length;a90)return this;this.computeMatrix()}return this._getAxes(),this.type===nN.iM.ORBITING||this.type===nN.iM.EXPLORING?this._getPosition():this.type===nN.iM.TRACKING&&this._getFocalPoint(),this._update(),this}},{key:"pan",value:function(e,t){var n=(0,nN.O4)(e,t,0),r=nG.d9(this.position);return nG.IH(r,r,nG.bA(nG.Ue(),this.right,n[0])),nG.IH(r,r,nG.bA(nG.Ue(),this.up,n[1])),this._setPosition(r),this.triggerUpdate(),this}},{key:"dolly",value:function(e){var t=this.forward,n=nG.d9(this.position),r=e*this.dollyingStep;return r=Math.max(Math.min(this.distance+e*this.dollyingStep,this.maxDistance),this.minDistance)-this.distance,n[0]+=r*t[0],n[1]+=r*t[1],n[2]+=r*t[2],this._setPosition(n),this.type===nN.iM.ORBITING||this.type===nN.iM.EXPLORING?this._getDistance():this.type===nN.iM.TRACKING&&nG.IH(this.focalPoint,n,this.distanceVector),this.triggerUpdate(),this}},{key:"cancelLandmarkAnimation",value:function(){void 0!==this.landmarkAnimationID&&this.canvas.cancelAnimationFrame(this.landmarkAnimationID)}},{key:"createLandmark",value:function(e){var t,n,r,a,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=i.position,s=void 0===o?this.position:o,l=i.focalPoint,c=void 0===l?this.focalPoint:l,u=i.roll,d=i.zoom,p=new nN.GZ.CameraContribution;p.setType(this.type,void 0),p.setPosition(s[0],null!==(t=s[1])&&void 0!==t?t:this.position[1],null!==(n=s[2])&&void 0!==n?n:this.position[2]),p.setFocalPoint(c[0],null!==(r=c[1])&&void 0!==r?r:this.focalPoint[1],null!==(a=c[2])&&void 0!==a?a:this.focalPoint[2]),p.setRoll(null!=u?u:this.roll),p.setZoom(null!=d?d:this.zoom);var f={name:e,matrix:nU.clone(p.getWorldTransform()),right:nG.d9(p.right),up:nG.d9(p.up),forward:nG.d9(p.forward),position:nG.d9(p.getPosition()),focalPoint:nG.d9(p.getFocalPoint()),distanceVector:nG.d9(p.getDistanceVector()),distance:p.getDistance(),dollyingStep:p.getDollyingStep(),azimuth:p.getAzimuth(),elevation:p.getElevation(),roll:p.getRoll(),relAzimuth:p.relAzimuth,relElevation:p.relElevation,relRoll:p.relRoll,zoom:p.getZoom()};return this.landmarks.push(f),f}},{key:"gotoLandmark",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=nB(e,"String")?this.landmarks.find(function(t){return t.name===e}):e;if(r){var a,i=nB(n,"Number")?{duration:n}:n,o=i.easing,s=void 0===o?"linear":o,l=i.duration,c=void 0===l?100:l,u=i.easingFunction,d=i.onfinish,p=void 0===d?void 0:d,f=i.onframe,h=void 0===f?void 0:f;this.cancelLandmarkAnimation();var m=r.position,g=r.focalPoint,b=r.zoom,y=r.roll,E=(void 0===u?void 0:u)||nN.GZ.EasingFunction(s),v=function(){t.setFocalPoint(g),t.setPosition(m),t.setRoll(y),t.setZoom(b),t.computeMatrix(),t.triggerUpdate(),null==p||p()};if(0===c)return v();var T=function(e){void 0===a&&(a=e);var n=e-a;if(n>=c){v();return}var r=E(n/c),i=nG.Ue(),o=nG.Ue(),s=1,l=0;if(nG.t7(i,t.focalPoint,g,r),nG.t7(o,t.position,m,r),l=t.roll*(1-r)+y*r,s=t.zoom*(1-r)+b*r,t.setFocalPoint(i),t.setPosition(o),t.setRoll(l),t.setZoom(s),nG.TK(i,g)+nG.TK(o,m)<=.01&&void 0===b&&void 0===y)return v();t.computeMatrix(),t.triggerUpdate(),nn?n:e},nW={}.toString,nV=function(e){return null==e},nY=function(e){function t(e,n,r,a){var i;return(0,nL.Z)(this,t),(i=(0,nP.Z)(this,t,[e])).currentTime=r,i.timelineTime=a,i.target=n,i.type="finish",i.bubbles=!1,i.currentTarget=n,i.defaultPrevented=!1,i.eventPhase=i.AT_TARGET,i.timeStamp=Date.now(),i.currentTime=r,i.timelineTime=a,i}return(0,nM.Z)(t,e),(0,nD.Z)(t)}(nN.xA),nq=0,nK=(0,nD.Z)(function e(t,n){var r;(0,nL.Z)(this,e),this.currentTimePending=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._playbackRate=1,this._inTimeline=!0,this.effect=t,t.animation=this,this.timeline=n,this.id="".concat(nq++),this._inEffect=!!this.effect.update(0),this._totalDuration=Number(null===(r=this.effect)||void 0===r?void 0:r.getComputedTiming().endTime),this._holdTime=0,this._paused=!1,this.oldPlayState="idle",this.updatePromises()},[{key:"pending",get:function(){return null===this._startTime&&!this._paused&&0!==this.playbackRate||this.currentTimePending}},{key:"playState",get:function(){return this._idle?"idle":this._isFinished?"finished":this._paused?"paused":"running"}},{key:"ready",get:function(){var e=this;return this.readyPromise||(-1===this.timeline.animationsWithPromises.indexOf(this)&&this.timeline.animationsWithPromises.push(this),this.readyPromise=new Promise(function(t,n){e.resolveReadyPromise=function(){t(e)},e.rejectReadyPromise=function(){n(Error())}}),this.pending||this.resolveReadyPromise()),this.readyPromise}},{key:"finished",get:function(){var e=this;return this.finishedPromise||(-1===this.timeline.animationsWithPromises.indexOf(this)&&this.timeline.animationsWithPromises.push(this),this.finishedPromise=new Promise(function(t,n){e.resolveFinishedPromise=function(){t(e)},e.rejectFinishedPromise=function(){n(Error())}}),"finished"===this.playState&&this.resolveFinishedPromise()),this.finishedPromise}},{key:"currentTime",get:function(){return this.updatePromises(),this._idle||this.currentTimePending?null:this._currentTime},set:function(e){if(!isNaN(e=Number(e))){if(this.timeline.restart(),!this._paused&&null!==this._startTime){var t;this._startTime=Number(null===(t=this.timeline)||void 0===t?void 0:t.currentTime)-e/this.playbackRate}this.currentTimePending=!1,this._currentTime!==e&&(this._idle&&(this._idle=!1,this._paused=!0),this.tickCurrentTime(e,!0),this.timeline.applyDirtiedAnimation(this))}}},{key:"startTime",get:function(){return this._startTime},set:function(e){null!==e&&(this.updatePromises(),!isNaN(e=Number(e))&&(this._paused||this._idle||(this._startTime=e,this.tickCurrentTime((Number(this.timeline.currentTime)-this._startTime)*this.playbackRate),this.timeline.applyDirtiedAnimation(this),this.updatePromises())))}},{key:"playbackRate",get:function(){return this._playbackRate},set:function(e){if(e!==this._playbackRate){this.updatePromises();var t=this.currentTime;this._playbackRate=e,this.startTime=null,"paused"!==this.playState&&"idle"!==this.playState&&(this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this)),null!==t&&(this.currentTime=t),this.updatePromises()}}},{key:"_isFinished",get:function(){return!this._idle&&(this._playbackRate>0&&Number(this._currentTime)>=this._totalDuration||this._playbackRate<0&&0>=Number(this._currentTime))}},{key:"totalDuration",get:function(){return this._totalDuration}},{key:"_needsTick",get:function(){return this.pending||"running"===this.playState||!this._finishedFlag}},{key:"updatePromises",value:function(){var e=this.oldPlayState,t=this.pending?"pending":this.playState;return this.readyPromise&&t!==e&&("idle"===t?(this.rejectReadyPromise(),this.readyPromise=void 0):"pending"===e?this.resolveReadyPromise():"pending"===t&&(this.readyPromise=void 0)),this.finishedPromise&&t!==e&&("idle"===t?(this.rejectFinishedPromise(),this.finishedPromise=void 0):"finished"===t?this.resolveFinishedPromise():"finished"===e&&(this.finishedPromise=void 0)),this.oldPlayState=t,this.readyPromise||this.finishedPromise}},{key:"play",value:function(){this.updatePromises(),this._paused=!1,(this._isFinished||this._idle)&&(this.rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this),-1===this.timeline.animations.indexOf(this)&&this.timeline.animations.push(this),this.updatePromises()}},{key:"pause",value:function(){this.updatePromises(),this.currentTime&&(this._holdTime=this.currentTime),this._isFinished||this._paused||this._idle?this._idle&&(this.rewind(),this._idle=!1):this.currentTimePending=!0,this._startTime=null,this._paused=!0,this.updatePromises()}},{key:"finish",value:function(){this.updatePromises(),this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this.currentTimePending=!1,this.timeline.applyDirtiedAnimation(this),this.updatePromises())}},{key:"cancel",value:function(){var e=this;if(this.updatePromises(),this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this.effect.update(null),this.timeline.applyDirtiedAnimation(this),this.updatePromises(),this.oncancel)){var t=new nY(null,this,this.currentTime,null);setTimeout(function(){e.oncancel(t)})}}},{key:"reverse",value:function(){this.updatePromises();var e=this.currentTime;this.playbackRate*=-1,this.play(),null!==e&&(this.currentTime=e),this.updatePromises()}},{key:"updatePlaybackRate",value:function(e){this.playbackRate=e}},{key:"targetAnimations",value:function(){var e;return(null===(e=this.effect)||void 0===e?void 0:e.target).getAnimations()}},{key:"markTarget",value:function(){var e=this.targetAnimations();-1===e.indexOf(this)&&e.push(this)}},{key:"unmarkTarget",value:function(){var e=this.targetAnimations(),t=e.indexOf(this);-1!==t&&e.splice(t,1)}},{key:"tick",value:function(e,t){this._idle||this._paused||(null===this._startTime?t&&(this.startTime=e-this._currentTime/this.playbackRate):this._isFinished||this.tickCurrentTime((e-this._startTime)*this.playbackRate)),t&&(this.currentTimePending=!1,this.fireEvents(e))}},{key:"rewind",value:function(){if(this.playbackRate>=0)this.currentTime=0;else if(this._totalDuration<1/0)this.currentTime=this._totalDuration;else throw Error("Unable to rewind negative playback rate animation with infinite duration")}},{key:"persist",value:function(){throw Error(nN.jf)}},{key:"addEventListener",value:function(e,t,n){throw Error(nN.jf)}},{key:"removeEventListener",value:function(e,t,n){throw Error(nN.jf)}},{key:"dispatchEvent",value:function(e){throw Error(nN.jf)}},{key:"commitStyles",value:function(){throw Error(nN.jf)}},{key:"ensureAlive",value:function(){var e,t;this.playbackRate<0&&0===this.currentTime?this._inEffect=!!(null!==(e=this.effect)&&void 0!==e&&e.update(-1)):this._inEffect=!!(null!==(t=this.effect)&&void 0!==t&&t.update(this.currentTime)),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,this.timeline.animations.push(this))}},{key:"tickCurrentTime",value:function(e,t){e!==this._currentTime&&(this._currentTime=e,this._isFinished&&!t&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this.ensureAlive())}},{key:"fireEvents",value:function(e){var t=this;if(this._isFinished){if(!this._finishedFlag){if(this.onfinish){var n=new nY(null,this,this.currentTime,e);setTimeout(function(){t.onfinish&&t.onfinish(n)})}this._finishedFlag=!0}}else{if(this.onframe&&"running"===this.playState){var r=new nY(null,this,this.currentTime,e);this.onframe(r)}this._finishedFlag=!1}}}]),nX="function"==typeof Float32Array,nQ=function(e,t){return 1-3*t+3*e},nJ=function(e,t){return 3*t-6*e},n0=function(e){return 3*e},n1=function(e,t,n){return((nQ(t,n)*e+nJ(t,n))*e+n0(t))*e},n2=function(e,t,n){return 3*nQ(t,n)*e*e+2*nJ(t,n)*e+n0(t)},n3=function(e,t,n,r,a){var i,o,s=0;do(i=n1(o=t+(n-t)/2,r,a)-e)>0?n=o:t=o;while(Math.abs(i)>1e-7&&++s<10);return o},n5=function(e,t,n,r){for(var a=0;a<4;++a){var i=n2(t,n,r);if(0===i)break;var o=n1(t,n,r)-e;t-=o/i}return t},n4=function(e,t,n,r){if(!(e>=0&&e<=1&&n>=0&&n<=1))throw Error("bezier x values must be in [0, 1] range");if(e===t&&n===r)return function(e){return e};for(var a=nX?new Float32Array(11):Array(11),i=0;i<11;++i)a[i]=n1(.1*i,e,n);var o=function(t){for(var r=0,i=1;10!==i&&a[i]<=t;++i)r+=.1;var o=r+(t-a[--i])/(a[i+1]-a[i])*.1,s=n2(o,e,n);return s>=.001?n5(t,o,e,n):0===s?o:n3(t,r,r+.1,e,n)};return function(e){return 0===e||1===e?e:n1(o(e),t,r)}},n6=function(e){return Math.pow(e,2)},n9=function(e){return Math.pow(e,3)},n8=function(e){return Math.pow(e,4)},n7=function(e){return Math.pow(e,5)},re=function(e){return Math.pow(e,6)},rt=function(e){return 1-Math.cos(e*Math.PI/2)},rn=function(e){return 1-Math.sqrt(1-e*e)},rr=function(e){return e*e*(3*e-2)},ra=function(e){for(var t,n=4;e<((t=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*t-2)/22-e,2)},ri=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,2),r=n[0],a=n[1],i=nZ(Number(void 0===r?1:r),1,10),o=nZ(Number(void 0===a?.5:a),.1,2);return 0===e||1===e?e:-i*Math.pow(2,10*(e-1))*Math.sin((e-1-o/(2*Math.PI)*Math.asin(1/i))*(2*Math.PI)/o)},ro=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,r=(0,nz.Z)(t,4),a=r[0],i=void 0===a?1:a,o=r[1],s=void 0===o?100:o,l=r[2],c=void 0===l?10:l,u=r[3],d=void 0===u?0:u;i=nZ(i,.1,1e3),s=nZ(s,.1,1e3),c=nZ(c,.1,1e3),d=nZ(d,.1,1e3);var p=Math.sqrt(s/i),f=c/(2*Math.sqrt(s*i)),h=f<1?p*Math.sqrt(1-f*f):0,m=f<1?(f*p+-d)/h:-d+p,g=n?n*e/1e3:e;return(g=f<1?Math.exp(-g*f*p)*(1*Math.cos(h*g)+m*Math.sin(h*g)):(1+m*g)*Math.exp(-g*p),0===e||1===e)?e:1-g},rs=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,2),r=n[0],a=void 0===r?10:r;return("start"===n[1]?Math.ceil:Math.floor)(nZ(e,0,1)*a)/a},rl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,4);return n4(n[0],n[1],n[2],n[3])(e)},rc=n4(.42,0,1,1),ru=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return 1-e(1-t,n,r)}},rd=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return t<.5?e(2*t,n,r)/2:1-e(-2*t+2,n,r)/2}},rp=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return t<.5?(1-e(1-2*t,n,r))/2:(e(2*t-1,n,r)+1)/2}},rf={steps:rs,"step-start":function(e){return rs(e,[1,"start"])},"step-end":function(e){return rs(e,[1,"end"])},linear:function(e){return e},"cubic-bezier":rl,ease:function(e){return rl(e,[.25,.1,.25,1])},in:rc,out:ru(rc),"in-out":rd(rc),"out-in":rp(rc),"in-quad":n6,"out-quad":ru(n6),"in-out-quad":rd(n6),"out-in-quad":rp(n6),"in-cubic":n9,"out-cubic":ru(n9),"in-out-cubic":rd(n9),"out-in-cubic":rp(n9),"in-quart":n8,"out-quart":ru(n8),"in-out-quart":rd(n8),"out-in-quart":rp(n8),"in-quint":n7,"out-quint":ru(n7),"in-out-quint":rd(n7),"out-in-quint":rp(n7),"in-expo":re,"out-expo":ru(re),"in-out-expo":rd(re),"out-in-expo":rp(re),"in-sine":rt,"out-sine":ru(rt),"in-out-sine":rd(rt),"out-in-sine":rp(rt),"in-circ":rn,"out-circ":ru(rn),"in-out-circ":rd(rn),"out-in-circ":rp(rn),"in-back":rr,"out-back":ru(rr),"in-out-back":rd(rr),"out-in-back":rp(rr),"in-bounce":ra,"out-bounce":ru(ra),"in-out-bounce":rd(ra),"out-in-bounce":rp(ra),"in-elastic":ri,"out-elastic":ru(ri),"in-out-elastic":rd(ri),"out-in-elastic":rp(ri),spring:ro,"spring-in":ro,"spring-out":ru(ro),"spring-in-out":rd(ro),"spring-out-in":rp(ro)},rh=function(e){var t;return("-"===(t=(t=e).replace(/([A-Z])/g,function(e){return"-".concat(e.toLowerCase())})).charAt(0)?t.substring(1):t).replace(/^ease-/,"").replace(/(\(|\s).+/,"").toLowerCase().trim()},rm=function(e){return e};function rg(e,t){return function(n){if(n>=1)return 1;var r=1/e;return(n+=t*r)-n%r}}var rb="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",ry=new RegExp("cubic-bezier\\(".concat(rb,",").concat(rb,",").concat(rb,",").concat(rb,"\\)")),rE=/steps\(\s*(\d+)\s*\)/,rv=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/;function rT(e){var t=ry.exec(e);if(t)return n4.apply(void 0,(0,n$.Z)(t.slice(1).map(Number)));var n=rE.exec(e);if(n)return rg(Number(n[1]),0);var r=rv.exec(e);return r?rg(Number(r[1]),{start:1,middle:.5,end:0}[r[2]]):rf[rh(e)]||rf.linear}function rS(e){return"offset"!==e&&"easing"!==e&&"composite"!==e&&"computedOffset"!==e}var rA=function(e,t,n){return function(r){var a,i=function e(t,n,r){if("number"==typeof t&&"number"==typeof n)return t*(1-r)+n*r;if("boolean"==typeof t&&"boolean"==typeof n||"string"==typeof t&&"string"==typeof n)return r<.5?t:n;if(Array.isArray(t)&&Array.isArray(n)){for(var a=t.length,i=n.length,o=Math.max(a,i),s=[],l=0;l1)throw Error("Keyframe offsets must be between 0 and 1.");n.computedOffset=a}}else if("composite"===r&&-1===["replace","add","accumulate","auto"].indexOf(a))throw Error("".concat(a," compositing is not supported"));n[r]=a}return void 0===n.offset&&(n.offset=null),void 0===n.easing&&(n.easing=(null==t?void 0:t.easing)||"linear"),void 0===n.composite&&(n.composite="auto"),n}),r=!0,a=-1/0,i=0;i=0&&1>=Number(e.offset)}),r||function(){var e,t,r=n.length;n[r-1].computedOffset=Number(null!==(e=n[r-1].offset)&&void 0!==e?e:1),r>1&&(n[0].computedOffset=Number(null!==(t=n[0].offset)&&void 0!==t?t:0));for(var a=0,i=Number(n[0].computedOffset),o=1;o=e.applyFrom&&t=Math.min(n.delay+e+n.endDelay,r)?2:3}(e,t,n),u=function(e,t,n,r,a){switch(r){case 1:if("backwards"===t||"both"===t)return 0;return null;case 3:return n-a;case 2:if("forwards"===t||"both"===t)return e;return null;case 0:return null}}(e,n.fill,t,c,n.delay);if(null===u)return null;var d="auto"===n.duration?0:n.duration,p=(r=n.iterations,a=n.iterationStart,0===d?1!==c&&(a+=r):a+=u/d,a),f=(i=n.iterationStart,o=n.iterations,0==(s=p===1/0?i%1:p%1)&&2===c&&0!==o&&(0!==u||0===d)&&(s=1),s),h=(l=n.iterations,2===c&&l===1/0?1/0:1===f?Math.floor(p)-1:Math.floor(p)),m=function(e,t,n){var r=e;if("normal"!==e&&"reverse"!==e){var a=t;"alternate-reverse"===e&&(a+=1),r="normal",a!==1/0&&a%2!=0&&(r="reverse")}return"normal"===r?n:1-n}(n.direction,h,f);return n.currentIteration=h,n.progress=m,n.easingFunction(m)}(this.timing.activeDuration,e,this.timing),null!==this.timeFraction)}},{key:"getKeyframes",value:function(){return this.normalizedKeyframes}},{key:"setKeyframes",value:function(e){this.normalizedKeyframes=r_(e)}},{key:"getComputedTiming",value:function(){return this.computedTiming}},{key:"getTiming",value:function(){return this.timing}},{key:"updateTiming",value:function(e){var t=this;Object.keys(e||{}).forEach(function(n){t.timing[n]=e[n]})}}]);function rw(e,t){return Number(e.id)-Number(t.id)}var rI=(0,nD.Z)(function e(t){var n=this;(0,nL.Z)(this,e),this.animations=[],this.ticking=!1,this.timelineTicking=!1,this.hasRestartedThisFrame=!1,this.animationsWithPromises=[],this.inTick=!1,this.pendingEffects=[],this.currentTime=null,this.rafId=0,this.rafCallbacks=[],this.webAnimationsNextTick=function(e){n.currentTime=e,n.discardAnimations(),0===n.animations.length?n.timelineTicking=!1:n.requestAnimationFrame(n.webAnimationsNextTick)},this.processRafCallbacks=function(e){var t=n.rafCallbacks;n.rafCallbacks=[],et.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let rN=(e,t,n)=>[["M",e-n,t],["A",n,n,0,1,0,e+n,t],["A",n,n,0,1,0,e-n,t],["Z"]];rN.style=["fill"];let rL=rN.bind(void 0);rL.style=["stroke","lineWidth"];let rD=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t-n],["L",e+n,t+n],["L",e-n,t+n],["Z"]];rD.style=["fill"];let rP=rD.bind(void 0);rP.style=["fill"];let rM=rD.bind(void 0);rM.style=["stroke","lineWidth"];let rF=(e,t,n)=>{let r=.618*n;return[["M",e-r,t],["L",e,t-n],["L",e+r,t],["L",e,t+n],["Z"]]};rF.style=["fill"];let rB=rF.bind(void 0);rB.style=["stroke","lineWidth"];let rj=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t+r],["L",e,t-r],["L",e+n,t+r],["Z"]]};rj.style=["fill"];let rU=rj.bind(void 0);rU.style=["stroke","lineWidth"];let rG=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t-r],["L",e+n,t-r],["L",e,t+r],["Z"]]};rG.style=["fill"];let rH=rG.bind(void 0);rH.style=["stroke","lineWidth"];let r$=(e,t,n)=>{let r=n/2*Math.sqrt(3);return[["M",e,t-n],["L",e+r,t-n/2],["L",e+r,t+n/2],["L",e,t+n],["L",e-r,t+n/2],["L",e-r,t-n/2],["Z"]]};r$.style=["fill"];let rz=r$.bind(void 0);rz.style=["stroke","lineWidth"];let rZ=(e,t,n)=>{let r=n-1.5;return[["M",e-n,t-r],["L",e+n,t+r],["L",e+n,t-r],["L",e-n,t+r],["Z"]]};rZ.style=["fill"];let rW=rZ.bind(void 0);rW.style=["stroke","lineWidth"];let rV=(e,t,n)=>[["M",e,t+n],["L",e,t-n]];rV.style=["stroke","lineWidth"];let rY=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t+n],["M",e+n,t-n],["L",e-n,t+n]];rY.style=["stroke","lineWidth"];let rq=(e,t,n)=>[["M",e-n/2,t-n],["L",e+n/2,t-n],["M",e,t-n],["L",e,t+n],["M",e-n/2,t+n],["L",e+n/2,t+n]];rq.style=["stroke","lineWidth"];let rK=(e,t,n)=>[["M",e-n,t],["L",e+n,t],["M",e,t-n],["L",e,t+n]];rK.style=["stroke","lineWidth"];let rX=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rX.style=["stroke","lineWidth"];let rQ=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rQ.style=["stroke","lineWidth"];let rJ=rQ.bind(void 0);rJ.style=["stroke","lineWidth"];let r0=(e,t,n)=>[["M",e-n,t],["A",n/2,n/2,0,1,1,e,t],["A",n/2,n/2,0,1,0,e+n,t]];r0.style=["stroke","lineWidth"];let r1=(e,t,n)=>[["M",e-n-1,t-2.5],["L",e,t-2.5],["L",e,t+2.5],["L",e+n+1,t+2.5]];r1.style=["stroke","lineWidth"];let r2=(e,t,n)=>[["M",e-n-1,t+2.5],["L",e,t+2.5],["L",e,t-2.5],["L",e+n+1,t-2.5]];r2.style=["stroke","lineWidth"];let r3=(e,t,n)=>[["M",e-(n+1),t+2.5],["L",e-n/2,t+2.5],["L",e-n/2,t-2.5],["L",e+n/2,t-2.5],["L",e+n/2,t+2.5],["L",e+n+1,t+2.5]];r3.style=["stroke","lineWidth"];let r5=(e,t,n)=>[["M",e-5,t+2.5],["L",e-5,t],["L",e,t],["L",e,t-3],["L",e,t+3],["L",e+6.5,t+3]];r5.style=["stroke","lineWidth"];let r4=new Map([["bowtie",rZ],["cross",rY],["dash",rJ],["diamond",rF],["dot",rQ],["hexagon",r$],["hollowBowtie",rW],["hollowDiamond",rB],["hollowHexagon",rz],["hollowPoint",rL],["hollowSquare",rM],["hollowTriangle",rU],["hollowTriangleDown",rH],["hv",r1],["hvh",r3],["hyphen",rX],["line",rV],["plus",rK],["point",rN],["rect",rP],["smooth",r0],["square",rD],["tick",rq],["triangleDown",rG],["triangle",rj],["vh",r2],["vhv",r5]]),r6={};function r9(e,t){if(e.startsWith("symbol.")){var n;n=e.split(".").pop(),r4.set(n,t)}else Object.assign(r6,{[e]:t})}var r8=n(88998);/*! * @antv/g-plugin-canvas-path-generator * @description A G plugin of path generator with Canvas2D API * @version 2.1.16 @@ -49,4 +49,4 @@ * @author Lea Verou * @namespace * @public - */var r=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},a={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=u.reach));S+=T.value.length,T=T.next){var A,O=T.value;if(n.length>t.length)return;if(!(O instanceof i)){var _=1;if(b){if(!(A=o(v,S,t,g))||A.index>=t.length)break;var k=A.index,x=A.index+A[0].length,C=S;for(C+=T.value.length;k>=C;)C+=(T=T.next).value.length;if(C-=T.value.length,S=C,T.value instanceof i)continue;for(var w=T;w!==n.tail&&(Cu.reach&&(u.reach=L);var D=T.prev;R&&(D=l(n,D,R),S+=R.length),function(e,t,n){for(var r=t.next,a=0;a1){var M={cause:d+","+f,reach:L};e(t,n,r,T.prev,S,M),u&&M.reach>u.reach&&(u.reach=M.reach)}}}}}}(e,c,t,c.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(c)},hooks:{all:{},add:function(e,t){var n=a.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=a.hooks.all[e];if(n&&n.length)for(var r,i=0;r=n[i++];)r(t)}},Token:i};function i(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var i=a[1].length;a.index+=i,a[0]=a[0].slice(i)}return a}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}if(e.Prism=a,i.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach(function(t){r+=e(t,n)}),r}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},o=t.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(i.classes,o):i.classes.push(o)),a.hooks.run("wrap",i);var s="";for(var l in i.attributes)s+=" "+l+'="'+(i.attributes[l]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+s+">"+i.content+""},!e.document)return e.addEventListener&&(a.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),r=n.language,i=n.code,o=n.immediateClose;e.postMessage(a.highlight(i,a.languages[r],r)),o&&e.close()},!1)),a;var c=a.util.currentScript();function u(){a.manual||a.highlightAll()}if(c&&(a.filename=c.src,c.hasAttribute("data-manual")&&(a.manual=!0)),!a.manual){var d=document.readyState;"loading"===d||"interactive"===d&&c&&c.defer?document.addEventListener("DOMContentLoaded",u):window.requestAnimationFrame?window.requestAnimationFrame(u):window.setTimeout(u,16)}return a}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=r),void 0!==n.g&&(n.g.Prism=r)},96774:function(e){e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),o=Object.keys(t);if(i.length!==o.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;le.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}},88998:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(95778);function a(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},13643:function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,{Z:function(){return r}})},98568:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)}n.d(t,{Z:function(){return a}})},99660:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(88998);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var l=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(l&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;C(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:I(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),b}},t}},16200:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59312);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw a}}return s}}(e,t)||(0,r.Z)(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},27567:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(13643);function a(){return(a="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var a=function(e,t){for(;!({}).hasOwnProperty.call(e,t)&&null!==(e=(0,r.Z)(e)););return e}(e,t);if(a){var i=Object.getOwnPropertyDescriptor(a,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}}).apply(null,arguments)}function i(e,t,n,i){var o=a((0,r.Z)(1&i?e.prototype:e),t,n);return 2&i&&"function"==typeof o?function(e){return o.apply(n,e)}:o}},25585:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(59630),a=n(59312);function i(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,a.Z)(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},95778:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(2846);function a(e){var t=function(e,t){if("object"!=(0,r.Z)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=(0,r.Z)(a))return a;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.Z)(t)?t:t+""}},2846:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{Z:function(){return r}})},59312:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59630);function a(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},21129:function(e,t,n){"use strict";var r=n(4503);t.Z=r},86676:function(e,t,n){"use strict";n.d(t,{r:function(){return a}});let r=/[#.]/g;function a(e,t){let n,a;let i=e||"",o={},s=0;for(;so&&(o=i):i=1,a=r+t.length,r=n.indexOf(t,a);return o}n.d(t,{J:function(){return r}})},24557:function(e,t,n){"use strict";n.d(t,{Z:function(){return ed}});var r={};n.r(r),n.d(r,{boolean:function(){return c},booleanish:function(){return u},commaOrSpaceSeparated:function(){return m},commaSeparated:function(){return h},number:function(){return p},overloadedBoolean:function(){return d},spaceSeparated:function(){return f}});class a{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function i(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new a(n,r,t)}function o(e){return e.toLowerCase()}a.prototype.normal={},a.prototype.property={},a.prototype.space=void 0;class s{constructor(e,t){this.attribute=t,this.property=e}}s.prototype.attribute="",s.prototype.booleanish=!1,s.prototype.boolean=!1,s.prototype.commaOrSpaceSeparated=!1,s.prototype.commaSeparated=!1,s.prototype.defined=!1,s.prototype.mustUseProperty=!1,s.prototype.number=!1,s.prototype.overloadedBoolean=!1,s.prototype.property="",s.prototype.spaceSeparated=!1,s.prototype.space=void 0;let l=0,c=g(),u=g(),d=g(),p=g(),f=g(),h=g(),m=g();function g(){return 2**++l}let b=Object.keys(r);class y extends s{constructor(e,t,n,a){var i,o;let s=-1;if(super(e,t),a&&(this.space=a),"number"==typeof n)for(;++s"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function T(e,t){return t in e?e[t]:t}function S(e,t){return T(e,t.toLowerCase())}let A=E({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:h,acceptCharset:f,accessKey:f,action:null,allow:null,allowFullScreen:c,allowPaymentRequest:c,allowUserMedia:c,alt:null,as:null,async:c,autoCapitalize:null,autoComplete:f,autoFocus:c,autoPlay:c,blocking:f,capture:null,charSet:null,checked:c,cite:null,className:f,cols:p,colSpan:null,content:null,contentEditable:u,controls:c,controlsList:f,coords:p|h,crossOrigin:null,data:null,dateTime:null,decoding:null,default:c,defer:c,dir:null,dirName:null,disabled:c,download:d,draggable:u,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:c,formTarget:null,headers:f,height:p,hidden:c,high:p,href:null,hrefLang:null,htmlFor:f,httpEquiv:f,id:null,imageSizes:null,imageSrcSet:null,inert:c,inputMode:null,integrity:null,is:null,isMap:c,itemId:null,itemProp:f,itemRef:f,itemScope:c,itemType:f,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:c,low:p,manifest:null,max:null,maxLength:p,media:null,method:null,min:null,minLength:p,multiple:c,muted:c,name:null,nonce:null,noModule:c,noValidate:c,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored: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,onScrollEnd: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:c,optimum:p,pattern:null,ping:f,placeholder:null,playsInline:c,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:c,referrerPolicy:null,rel:f,required:c,reversed:c,rows:p,rowSpan:p,sandbox:f,scope:null,scoped:c,seamless:c,selected:c,shadowRootClonable:c,shadowRootDelegatesFocus:c,shadowRootMode:null,shape:null,size:p,sizes:null,slot:null,span:p,spellCheck:u,src:null,srcDoc:null,srcLang:null,srcSet:null,start:p,step:null,style:null,tabIndex:p,target:null,title:null,translate:null,type:null,typeMustMatch:c,useMap:null,value:u,width:p,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:f,axis:null,background:null,bgColor:null,border:p,borderColor:null,bottomMargin:p,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:c,declare:c,event:null,face:null,frame:null,frameBorder:null,hSpace:p,leftMargin:p,link:null,longDesc:null,lowSrc:null,marginHeight:p,marginWidth:p,noResize:c,noHref:c,noShade:c,noWrap:c,object:null,profile:null,prompt:null,rev:null,rightMargin:p,rules:null,scheme:null,scrolling:u,standby:null,summary:null,text:null,topMargin:p,valueType:null,version:null,vAlign:null,vLink:null,vSpace:p,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:c,disableRemotePlayback:c,prefix:null,property:null,results:p,security:null,unselectable:null},space:"html",transform:S}),O=E({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:m,accentHeight:p,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:p,amplitude:p,arabicForm:null,ascent:p,attributeName:null,attributeType:null,azimuth:p,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:p,by:null,calcMode:null,capHeight:p,className:f,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:p,diffuseConstant:p,direction:null,display:null,dur:null,divisor:p,dominantBaseline:null,download:c,dx:null,dy:null,edgeMode:null,editable:null,elevation:p,enableBackground:null,end:null,event:null,exponent:p,externalResourcesRequired:null,fill:null,fillOpacity:p,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:h,g2:h,glyphName:h,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:p,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:p,horizOriginX:p,horizOriginY:p,id:null,ideographic:p,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:p,k:p,k1:p,k2:p,k3:p,k4:p,kernelMatrix:m,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:p,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:p,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose: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,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:p,overlineThickness:p,paintOrder:null,panose1:null,path:null,pathLength:p,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:f,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:p,pointsAtY:p,pointsAtZ:p,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:m,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:m,rev:m,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:m,requiredFeatures:m,requiredFonts:m,requiredFormats:m,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:p,specularExponent:p,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:p,strikethroughThickness:p,string:null,stroke:null,strokeDashArray:m,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:p,strokeOpacity:p,strokeWidth:null,style:null,surfaceScale:p,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:m,tabIndex:p,tableValues:null,target:null,targetX:p,targetY:p,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:m,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:p,underlineThickness:p,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:p,values:null,vAlphabetic:p,vMathematical:p,vectorEffect:null,vHanging:p,vIdeographic:p,version:null,vertAdvY:p,vertOriginX:p,vertOriginY:p,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:p,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:T}),_=E({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),k=E({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:S}),x=E({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),C=i([v,A,_,k,x],"html"),w=i([v,O,_,k,x],"svg");var I=n(25668),R=n(86676);let N=/[A-Z]/g,L=/-[a-z]/g,D=/^data[-\w.:]+$/i;function P(e){return"-"+e.toLowerCase()}function M(e){return e.charAt(1).toUpperCase()}var F=n(50342);function B(e,t,n){let r=n?function(e){let t=new Map;for(let n of e)t.set(n.toLowerCase(),n);return t}(n):void 0;return function(n,a,...i){let l;if(null==n)l={type:"root",children:[]},i.unshift(a);else{l=(0,R.r)(n,t);let c=l.tagName.toLowerCase(),u=r?r.get(c):void 0;if(l.tagName=u||c,function(e){if(null===e||"object"!=typeof e||Array.isArray(e))return!0;if("string"!=typeof e.type)return!1;let t=Object.keys(e);for(let n of t){let t=e[n];if(t&&"object"==typeof t){if(!Array.isArray(t))return!0;for(let e of t)if("number"!=typeof e&&"string"!=typeof e)return!0}}return!!("children"in e&&Array.isArray(e.children))}(a))i.unshift(a);else for(let[t,n]of Object.entries(a))!function(e,t,n,r){let a;let i=function(e,t){let n=o(t),r=t,a=s;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&D.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(L,M);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!L.test(e)){let n=e.replace(N,P);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}a=y}return new a(r,t)}(e,n);if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;a=r}else a="boolean"==typeof r?r:"string"==typeof r?i.spaceSeparated?(0,F.Q)(r):i.commaSeparated?(0,I.Q)(r):i.commaOrSpaceSeparated?(0,F.Q)((0,I.Q)(r).join(" ")):j(i,i.property,r):Array.isArray(r)?[...r]:"style"===i.property?function(e){let t=[];for(let[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}(r):String(r);if(Array.isArray(a)){let e=[];for(let t of a)e.push(j(i,i.property,t));a=e}"className"===i.property&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}(e,l.properties,t,n)}for(let e of i)!function e(t,n){if(null==n);else if("number"==typeof n||"string"==typeof n)t.push({type:"text",value:String(n)});else if(Array.isArray(n))for(let r of n)e(t,r);else if("object"==typeof n&&"type"in n)"root"===n.type?e(t,n.children):t.push(n);else throw Error("Expected node, nodes, or string, got `"+n+"`")}(l.children,e);return"element"===l.type&&"template"===l.tagName&&(l.content={type:"root",children:l.children},l.children=[]),l}}function j(e,t,n){if("string"==typeof n){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(""===n||o(n)===o(t)))return!0}return n}let U=B(C,"div"),G=B(w,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]);var H=n(49911);function $(e,t){let n=function(e,t){switch(e.nodeType){case 1:return function(e,t){let n=e.namespaceURI,r=n===H.t.svg?G:U,a=n===H.t.html?e.tagName.toLowerCase():e.tagName,i=n===H.t.html&&"template"===a?e.content:e,o=e.getAttributeNames(),s={},l=-1;for(;++ln&&(n=e):e&&(void 0!==n&&n>-1&&l.push("\n".repeat(n)||" "),n=-1,l.push(e))}return l.join("")}(d,{whitespace:"pre"});try{a=es.ZP.renderToString(p,{...t,displayMode:c,throwOnError:!0})}catch(o){let i=o.name.toLowerCase();n.message("Could not render math with KaTeX",{ancestors:[...r,e],cause:o,place:e.position,ruleId:i,source:"rehype-katex"});try{a=es.ZP.renderToString(p,{...t,displayMode:c,strict:"ignore",throwOnError:!1})}catch{a=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(o)},children:[{type:"text",value:p}]}]}}if("string"==typeof a){let e=function(e,t){let n=t?.fragment?function(e){let t=document.createElement("template");return t.innerHTML=e,t.content}(e):Z.parseFromString(e,"text/html");return $(n,{})||{type:"root",children:[]}}(a,{fragment:!0});a=e.children}let f=u.children.indexOf(d);return u.children.splice(f,1,...a),el.AM})}}},12384:function(e,t,n){"use strict";n.d(t,{Z:function(){return tJ}});var r,a,i,o,s,l,c,u,d,p,f,h,m,g,b,y,E,v,T,S,A,O,_=n(52835),k=n(24345),x=n(91634),C=n(25668),w=n(86676),I=n(26103),R=n(28051),N=n(50342);let L=new Set(["button","menu","reset","submit"]),D={}.hasOwnProperty;function P(e,t,n){let r=n&&function(e){let t={},n=-1;for(;++n1?n[e.line-2]:0)+e.column-1;if(r-1&&e<=t.length){let r=0;for(;;){let a=n[r];if(void 0===a){let e=j(t,n[r-1]);a=-1===e?t.length+1:e+1,n[r]=a}if(a>e)return{line:r+1,column:e-(r>0?n[r-1]:0)+1,offset:e};r++}}}}}(t),a=r.toPoint(0),i=r.toPoint(t.length);(0,k.ok)(a,"expected `start`"),(0,k.ok)(i,"expected `end`"),n.position={start:a,end:i}}return n}case"#documentType":return Z(e,t,n={type:"doctype"}),n;case"#text":return n={type:"text",value:t.value},Z(e,t,n),n;default:return function(e,t){let n=e.schema;e.schema=t.namespaceURI===U.t.svg?x.YP:x.dy;let r=-1,a={};for(;++r=55296&&e<=57343}function ei(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function eo(e){return e>=64976&&e<=65007||en.has(e)}(a=m=m||(m={})).controlCharacterInInputStream="control-character-in-input-stream",a.noncharacterInInputStream="noncharacter-in-input-stream",a.surrogateInInputStream="surrogate-in-input-stream",a.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",a.endTagWithAttributes="end-tag-with-attributes",a.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",a.unexpectedSolidusInTag="unexpected-solidus-in-tag",a.unexpectedNullCharacter="unexpected-null-character",a.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",a.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",a.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",a.missingEndTagName="missing-end-tag-name",a.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",a.unknownNamedCharacterReference="unknown-named-character-reference",a.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",a.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",a.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",a.eofBeforeTagName="eof-before-tag-name",a.eofInTag="eof-in-tag",a.missingAttributeValue="missing-attribute-value",a.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",a.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",a.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",a.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",a.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",a.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",a.missingDoctypePublicIdentifier="missing-doctype-public-identifier",a.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",a.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",a.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",a.cdataInHtmlContent="cdata-in-html-content",a.incorrectlyOpenedComment="incorrectly-opened-comment",a.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",a.eofInDoctype="eof-in-doctype",a.nestedComment="nested-comment",a.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",a.eofInComment="eof-in-comment",a.incorrectlyClosedComment="incorrectly-closed-comment",a.eofInCdata="eof-in-cdata",a.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",a.nullCharacterReference="null-character-reference",a.surrogateCharacterReference="surrogate-character-reference",a.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",a.controlCharacterReference="control-character-reference",a.noncharacterCharacterReference="noncharacter-character-reference",a.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",a.missingDoctypeName="missing-doctype-name",a.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",a.duplicateAttribute="duplicate-attribute",a.nonConformingDoctype="non-conforming-doctype",a.missingDoctype="missing-doctype",a.misplacedDoctype="misplaced-doctype",a.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",a.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",a.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",a.openElementsLeftAfterEof="open-elements-left-after-eof",a.abandonedHeadElementChild="abandoned-head-element-child",a.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",a.nestedNoscriptInHead="nested-noscript-in-head",a.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text";class es{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e){let{line:t,col:n,offset:r}=this;return{code:e,startLine:t,endLine:t,startCol:n,endCol:n,startOffset:r,endOffset:r}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let t=this.html.charCodeAt(this.pos+1);if(t>=56320&&t<=57343)return this.pos++,this._addGap(),(e-55296)*1024+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,h.EOF;return this._err(m.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,h.EOF;let n=this.html.charCodeAt(t);return n===h.CARRIAGE_RETURN?h.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,h.EOF;let e=this.html.charCodeAt(this.pos);if(e===h.CARRIAGE_RETURN)return this.isEol=!0,this.skipNextNewLine=!0,h.LINE_FEED;if(e===h.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine))return this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance();this.skipNextNewLine=!1,ea(e)&&(e=this._processSurrogate(e));let t=null===this.handler.onParseError||e>31&&e<127||e===h.LINE_FEED||e===h.CARRIAGE_RETURN||e>159&&e<64976;return t||this._checkForProblematicCharacters(e),e}_checkForProblematicCharacters(e){ei(e)?this._err(m.controlCharacterInInputStream):eo(e)&&this._err(m.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}(i=g=g||(g={}))[i.CHARACTER=0]="CHARACTER",i[i.NULL_CHARACTER=1]="NULL_CHARACTER",i[i.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",i[i.START_TAG=3]="START_TAG",i[i.END_TAG=4]="END_TAG",i[i.COMMENT=5]="COMMENT",i[i.DOCTYPE=6]="DOCTYPE",i[i.EOF=7]="EOF",i[i.HIBERNATION=8]="HIBERNATION";var ec=n(60411);(o=b=b||(b={})).HTML="http://www.w3.org/1999/xhtml",o.MATHML="http://www.w3.org/1998/Math/MathML",o.SVG="http://www.w3.org/2000/svg",o.XLINK="http://www.w3.org/1999/xlink",o.XML="http://www.w3.org/XML/1998/namespace",o.XMLNS="http://www.w3.org/2000/xmlns/",(s=y=y||(y={})).TYPE="type",s.ACTION="action",s.ENCODING="encoding",s.PROMPT="prompt",s.NAME="name",s.COLOR="color",s.FACE="face",s.SIZE="size",(l=E=E||(E={})).NO_QUIRKS="no-quirks",l.QUIRKS="quirks",l.LIMITED_QUIRKS="limited-quirks",(c=v=v||(v={})).A="a",c.ADDRESS="address",c.ANNOTATION_XML="annotation-xml",c.APPLET="applet",c.AREA="area",c.ARTICLE="article",c.ASIDE="aside",c.B="b",c.BASE="base",c.BASEFONT="basefont",c.BGSOUND="bgsound",c.BIG="big",c.BLOCKQUOTE="blockquote",c.BODY="body",c.BR="br",c.BUTTON="button",c.CAPTION="caption",c.CENTER="center",c.CODE="code",c.COL="col",c.COLGROUP="colgroup",c.DD="dd",c.DESC="desc",c.DETAILS="details",c.DIALOG="dialog",c.DIR="dir",c.DIV="div",c.DL="dl",c.DT="dt",c.EM="em",c.EMBED="embed",c.FIELDSET="fieldset",c.FIGCAPTION="figcaption",c.FIGURE="figure",c.FONT="font",c.FOOTER="footer",c.FOREIGN_OBJECT="foreignObject",c.FORM="form",c.FRAME="frame",c.FRAMESET="frameset",c.H1="h1",c.H2="h2",c.H3="h3",c.H4="h4",c.H5="h5",c.H6="h6",c.HEAD="head",c.HEADER="header",c.HGROUP="hgroup",c.HR="hr",c.HTML="html",c.I="i",c.IMG="img",c.IMAGE="image",c.INPUT="input",c.IFRAME="iframe",c.KEYGEN="keygen",c.LABEL="label",c.LI="li",c.LINK="link",c.LISTING="listing",c.MAIN="main",c.MALIGNMARK="malignmark",c.MARQUEE="marquee",c.MATH="math",c.MENU="menu",c.META="meta",c.MGLYPH="mglyph",c.MI="mi",c.MO="mo",c.MN="mn",c.MS="ms",c.MTEXT="mtext",c.NAV="nav",c.NOBR="nobr",c.NOFRAMES="noframes",c.NOEMBED="noembed",c.NOSCRIPT="noscript",c.OBJECT="object",c.OL="ol",c.OPTGROUP="optgroup",c.OPTION="option",c.P="p",c.PARAM="param",c.PLAINTEXT="plaintext",c.PRE="pre",c.RB="rb",c.RP="rp",c.RT="rt",c.RTC="rtc",c.RUBY="ruby",c.S="s",c.SCRIPT="script",c.SECTION="section",c.SELECT="select",c.SOURCE="source",c.SMALL="small",c.SPAN="span",c.STRIKE="strike",c.STRONG="strong",c.STYLE="style",c.SUB="sub",c.SUMMARY="summary",c.SUP="sup",c.TABLE="table",c.TBODY="tbody",c.TEMPLATE="template",c.TEXTAREA="textarea",c.TFOOT="tfoot",c.TD="td",c.TH="th",c.THEAD="thead",c.TITLE="title",c.TR="tr",c.TRACK="track",c.TT="tt",c.U="u",c.UL="ul",c.SVG="svg",c.VAR="var",c.WBR="wbr",c.XMP="xmp",(u=T=T||(T={}))[u.UNKNOWN=0]="UNKNOWN",u[u.A=1]="A",u[u.ADDRESS=2]="ADDRESS",u[u.ANNOTATION_XML=3]="ANNOTATION_XML",u[u.APPLET=4]="APPLET",u[u.AREA=5]="AREA",u[u.ARTICLE=6]="ARTICLE",u[u.ASIDE=7]="ASIDE",u[u.B=8]="B",u[u.BASE=9]="BASE",u[u.BASEFONT=10]="BASEFONT",u[u.BGSOUND=11]="BGSOUND",u[u.BIG=12]="BIG",u[u.BLOCKQUOTE=13]="BLOCKQUOTE",u[u.BODY=14]="BODY",u[u.BR=15]="BR",u[u.BUTTON=16]="BUTTON",u[u.CAPTION=17]="CAPTION",u[u.CENTER=18]="CENTER",u[u.CODE=19]="CODE",u[u.COL=20]="COL",u[u.COLGROUP=21]="COLGROUP",u[u.DD=22]="DD",u[u.DESC=23]="DESC",u[u.DETAILS=24]="DETAILS",u[u.DIALOG=25]="DIALOG",u[u.DIR=26]="DIR",u[u.DIV=27]="DIV",u[u.DL=28]="DL",u[u.DT=29]="DT",u[u.EM=30]="EM",u[u.EMBED=31]="EMBED",u[u.FIELDSET=32]="FIELDSET",u[u.FIGCAPTION=33]="FIGCAPTION",u[u.FIGURE=34]="FIGURE",u[u.FONT=35]="FONT",u[u.FOOTER=36]="FOOTER",u[u.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",u[u.FORM=38]="FORM",u[u.FRAME=39]="FRAME",u[u.FRAMESET=40]="FRAMESET",u[u.H1=41]="H1",u[u.H2=42]="H2",u[u.H3=43]="H3",u[u.H4=44]="H4",u[u.H5=45]="H5",u[u.H6=46]="H6",u[u.HEAD=47]="HEAD",u[u.HEADER=48]="HEADER",u[u.HGROUP=49]="HGROUP",u[u.HR=50]="HR",u[u.HTML=51]="HTML",u[u.I=52]="I",u[u.IMG=53]="IMG",u[u.IMAGE=54]="IMAGE",u[u.INPUT=55]="INPUT",u[u.IFRAME=56]="IFRAME",u[u.KEYGEN=57]="KEYGEN",u[u.LABEL=58]="LABEL",u[u.LI=59]="LI",u[u.LINK=60]="LINK",u[u.LISTING=61]="LISTING",u[u.MAIN=62]="MAIN",u[u.MALIGNMARK=63]="MALIGNMARK",u[u.MARQUEE=64]="MARQUEE",u[u.MATH=65]="MATH",u[u.MENU=66]="MENU",u[u.META=67]="META",u[u.MGLYPH=68]="MGLYPH",u[u.MI=69]="MI",u[u.MO=70]="MO",u[u.MN=71]="MN",u[u.MS=72]="MS",u[u.MTEXT=73]="MTEXT",u[u.NAV=74]="NAV",u[u.NOBR=75]="NOBR",u[u.NOFRAMES=76]="NOFRAMES",u[u.NOEMBED=77]="NOEMBED",u[u.NOSCRIPT=78]="NOSCRIPT",u[u.OBJECT=79]="OBJECT",u[u.OL=80]="OL",u[u.OPTGROUP=81]="OPTGROUP",u[u.OPTION=82]="OPTION",u[u.P=83]="P",u[u.PARAM=84]="PARAM",u[u.PLAINTEXT=85]="PLAINTEXT",u[u.PRE=86]="PRE",u[u.RB=87]="RB",u[u.RP=88]="RP",u[u.RT=89]="RT",u[u.RTC=90]="RTC",u[u.RUBY=91]="RUBY",u[u.S=92]="S",u[u.SCRIPT=93]="SCRIPT",u[u.SECTION=94]="SECTION",u[u.SELECT=95]="SELECT",u[u.SOURCE=96]="SOURCE",u[u.SMALL=97]="SMALL",u[u.SPAN=98]="SPAN",u[u.STRIKE=99]="STRIKE",u[u.STRONG=100]="STRONG",u[u.STYLE=101]="STYLE",u[u.SUB=102]="SUB",u[u.SUMMARY=103]="SUMMARY",u[u.SUP=104]="SUP",u[u.TABLE=105]="TABLE",u[u.TBODY=106]="TBODY",u[u.TEMPLATE=107]="TEMPLATE",u[u.TEXTAREA=108]="TEXTAREA",u[u.TFOOT=109]="TFOOT",u[u.TD=110]="TD",u[u.TH=111]="TH",u[u.THEAD=112]="THEAD",u[u.TITLE=113]="TITLE",u[u.TR=114]="TR",u[u.TRACK=115]="TRACK",u[u.TT=116]="TT",u[u.U=117]="U",u[u.UL=118]="UL",u[u.SVG=119]="SVG",u[u.VAR=120]="VAR",u[u.WBR=121]="WBR",u[u.XMP=122]="XMP";let eu=new Map([[v.A,T.A],[v.ADDRESS,T.ADDRESS],[v.ANNOTATION_XML,T.ANNOTATION_XML],[v.APPLET,T.APPLET],[v.AREA,T.AREA],[v.ARTICLE,T.ARTICLE],[v.ASIDE,T.ASIDE],[v.B,T.B],[v.BASE,T.BASE],[v.BASEFONT,T.BASEFONT],[v.BGSOUND,T.BGSOUND],[v.BIG,T.BIG],[v.BLOCKQUOTE,T.BLOCKQUOTE],[v.BODY,T.BODY],[v.BR,T.BR],[v.BUTTON,T.BUTTON],[v.CAPTION,T.CAPTION],[v.CENTER,T.CENTER],[v.CODE,T.CODE],[v.COL,T.COL],[v.COLGROUP,T.COLGROUP],[v.DD,T.DD],[v.DESC,T.DESC],[v.DETAILS,T.DETAILS],[v.DIALOG,T.DIALOG],[v.DIR,T.DIR],[v.DIV,T.DIV],[v.DL,T.DL],[v.DT,T.DT],[v.EM,T.EM],[v.EMBED,T.EMBED],[v.FIELDSET,T.FIELDSET],[v.FIGCAPTION,T.FIGCAPTION],[v.FIGURE,T.FIGURE],[v.FONT,T.FONT],[v.FOOTER,T.FOOTER],[v.FOREIGN_OBJECT,T.FOREIGN_OBJECT],[v.FORM,T.FORM],[v.FRAME,T.FRAME],[v.FRAMESET,T.FRAMESET],[v.H1,T.H1],[v.H2,T.H2],[v.H3,T.H3],[v.H4,T.H4],[v.H5,T.H5],[v.H6,T.H6],[v.HEAD,T.HEAD],[v.HEADER,T.HEADER],[v.HGROUP,T.HGROUP],[v.HR,T.HR],[v.HTML,T.HTML],[v.I,T.I],[v.IMG,T.IMG],[v.IMAGE,T.IMAGE],[v.INPUT,T.INPUT],[v.IFRAME,T.IFRAME],[v.KEYGEN,T.KEYGEN],[v.LABEL,T.LABEL],[v.LI,T.LI],[v.LINK,T.LINK],[v.LISTING,T.LISTING],[v.MAIN,T.MAIN],[v.MALIGNMARK,T.MALIGNMARK],[v.MARQUEE,T.MARQUEE],[v.MATH,T.MATH],[v.MENU,T.MENU],[v.META,T.META],[v.MGLYPH,T.MGLYPH],[v.MI,T.MI],[v.MO,T.MO],[v.MN,T.MN],[v.MS,T.MS],[v.MTEXT,T.MTEXT],[v.NAV,T.NAV],[v.NOBR,T.NOBR],[v.NOFRAMES,T.NOFRAMES],[v.NOEMBED,T.NOEMBED],[v.NOSCRIPT,T.NOSCRIPT],[v.OBJECT,T.OBJECT],[v.OL,T.OL],[v.OPTGROUP,T.OPTGROUP],[v.OPTION,T.OPTION],[v.P,T.P],[v.PARAM,T.PARAM],[v.PLAINTEXT,T.PLAINTEXT],[v.PRE,T.PRE],[v.RB,T.RB],[v.RP,T.RP],[v.RT,T.RT],[v.RTC,T.RTC],[v.RUBY,T.RUBY],[v.S,T.S],[v.SCRIPT,T.SCRIPT],[v.SECTION,T.SECTION],[v.SELECT,T.SELECT],[v.SOURCE,T.SOURCE],[v.SMALL,T.SMALL],[v.SPAN,T.SPAN],[v.STRIKE,T.STRIKE],[v.STRONG,T.STRONG],[v.STYLE,T.STYLE],[v.SUB,T.SUB],[v.SUMMARY,T.SUMMARY],[v.SUP,T.SUP],[v.TABLE,T.TABLE],[v.TBODY,T.TBODY],[v.TEMPLATE,T.TEMPLATE],[v.TEXTAREA,T.TEXTAREA],[v.TFOOT,T.TFOOT],[v.TD,T.TD],[v.TH,T.TH],[v.THEAD,T.THEAD],[v.TITLE,T.TITLE],[v.TR,T.TR],[v.TRACK,T.TRACK],[v.TT,T.TT],[v.U,T.U],[v.UL,T.UL],[v.SVG,T.SVG],[v.VAR,T.VAR],[v.WBR,T.WBR],[v.XMP,T.XMP]]);function ed(e){var t;return null!==(t=eu.get(e))&&void 0!==t?t:T.UNKNOWN}let ep=T,ef={[b.HTML]:new Set([ep.ADDRESS,ep.APPLET,ep.AREA,ep.ARTICLE,ep.ASIDE,ep.BASE,ep.BASEFONT,ep.BGSOUND,ep.BLOCKQUOTE,ep.BODY,ep.BR,ep.BUTTON,ep.CAPTION,ep.CENTER,ep.COL,ep.COLGROUP,ep.DD,ep.DETAILS,ep.DIR,ep.DIV,ep.DL,ep.DT,ep.EMBED,ep.FIELDSET,ep.FIGCAPTION,ep.FIGURE,ep.FOOTER,ep.FORM,ep.FRAME,ep.FRAMESET,ep.H1,ep.H2,ep.H3,ep.H4,ep.H5,ep.H6,ep.HEAD,ep.HEADER,ep.HGROUP,ep.HR,ep.HTML,ep.IFRAME,ep.IMG,ep.INPUT,ep.LI,ep.LINK,ep.LISTING,ep.MAIN,ep.MARQUEE,ep.MENU,ep.META,ep.NAV,ep.NOEMBED,ep.NOFRAMES,ep.NOSCRIPT,ep.OBJECT,ep.OL,ep.P,ep.PARAM,ep.PLAINTEXT,ep.PRE,ep.SCRIPT,ep.SECTION,ep.SELECT,ep.SOURCE,ep.STYLE,ep.SUMMARY,ep.TABLE,ep.TBODY,ep.TD,ep.TEMPLATE,ep.TEXTAREA,ep.TFOOT,ep.TH,ep.THEAD,ep.TITLE,ep.TR,ep.TRACK,ep.UL,ep.WBR,ep.XMP]),[b.MATHML]:new Set([ep.MI,ep.MO,ep.MN,ep.MS,ep.MTEXT,ep.ANNOTATION_XML]),[b.SVG]:new Set([ep.TITLE,ep.FOREIGN_OBJECT,ep.DESC]),[b.XLINK]:new Set,[b.XML]:new Set,[b.XMLNS]:new Set};function eh(e){return e===ep.H1||e===ep.H2||e===ep.H3||e===ep.H4||e===ep.H5||e===ep.H6}v.STYLE,v.SCRIPT,v.XMP,v.IFRAME,v.NOEMBED,v.NOFRAMES,v.PLAINTEXT;let em=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);(d=S||(S={}))[d.DATA=0]="DATA",d[d.RCDATA=1]="RCDATA",d[d.RAWTEXT=2]="RAWTEXT",d[d.SCRIPT_DATA=3]="SCRIPT_DATA",d[d.PLAINTEXT=4]="PLAINTEXT",d[d.TAG_OPEN=5]="TAG_OPEN",d[d.END_TAG_OPEN=6]="END_TAG_OPEN",d[d.TAG_NAME=7]="TAG_NAME",d[d.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",d[d.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",d[d.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",d[d.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",d[d.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",d[d.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",d[d.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",d[d.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",d[d.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",d[d.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",d[d.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",d[d.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",d[d.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",d[d.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",d[d.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",d[d.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",d[d.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",d[d.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",d[d.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",d[d.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",d[d.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",d[d.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",d[d.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",d[d.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",d[d.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",d[d.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",d[d.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",d[d.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",d[d.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",d[d.BOGUS_COMMENT=40]="BOGUS_COMMENT",d[d.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",d[d.COMMENT_START=42]="COMMENT_START",d[d.COMMENT_START_DASH=43]="COMMENT_START_DASH",d[d.COMMENT=44]="COMMENT",d[d.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",d[d.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",d[d.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",d[d.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",d[d.COMMENT_END_DASH=49]="COMMENT_END_DASH",d[d.COMMENT_END=50]="COMMENT_END",d[d.COMMENT_END_BANG=51]="COMMENT_END_BANG",d[d.DOCTYPE=52]="DOCTYPE",d[d.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",d[d.DOCTYPE_NAME=54]="DOCTYPE_NAME",d[d.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",d[d.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",d[d.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",d[d.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",d[d.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",d[d.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",d[d.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",d[d.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",d[d.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",d[d.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",d[d.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",d[d.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",d[d.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",d[d.CDATA_SECTION=68]="CDATA_SECTION",d[d.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",d[d.CDATA_SECTION_END=70]="CDATA_SECTION_END",d[d.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",d[d.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",d[d.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",d[d.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",d[d.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",d[d.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",d[d.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",d[d.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END";let eg={DATA:S.DATA,RCDATA:S.RCDATA,RAWTEXT:S.RAWTEXT,SCRIPT_DATA:S.SCRIPT_DATA,PLAINTEXT:S.PLAINTEXT,CDATA_SECTION:S.CDATA_SECTION};function eb(e){return e>=h.DIGIT_0&&e<=h.DIGIT_9}function ey(e){return e>=h.LATIN_CAPITAL_A&&e<=h.LATIN_CAPITAL_Z}function eE(e){return e>=h.LATIN_SMALL_A&&e<=h.LATIN_SMALL_Z||ey(e)}function ev(e){return eE(e)||eb(e)}function eT(e){return e>=h.LATIN_CAPITAL_A&&e<=h.LATIN_CAPITAL_F}function eS(e){return e>=h.LATIN_SMALL_A&&e<=h.LATIN_SMALL_F}function eA(e){return e===h.SPACE||e===h.LINE_FEED||e===h.TABULATION||e===h.FORM_FEED}function eO(e){return eA(e)||e===h.SOLIDUS||e===h.GREATER_THAN_SIGN}class e_{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=S.DATA,this.returnState=S.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new es(t),this.currentLocation=this.getCurrentLocation(-1)}_err(e){var t,n;null===(n=(t=this.handler).onParseError)||void 0===n||n.call(t,this.preprocessor.getError(e))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw Error("Parser was already resumed");this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(e){this.consumedAfterSnapshot-=e,this.preprocessor.retreat(e)}_reconsumeInState(e,t){this.state=e,this._callState(t)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t0&&this._err(m.endTagWithAttributes),e.selfClosing&&this._err(m.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case g.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case g.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case g.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:g.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type!==e)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=t;return}}this._createCharacterToken(e,t)}_emitCodePoint(e){let t=eA(e)?g.WHITESPACE_CHARACTER:e===h.NULL?g.NULL_CHARACTER:g.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(g.CHARACTER,e)}_matchNamedCharacterReference(e){let t=null,n=0,r=!1;for(let i=0,o=ec.HP[0];i>=0&&!((i=(0,ec.Go)(ec.HP,o,i+1,e))<0);e=this._consume()){n+=1,o=ec.HP[i];let s=o&ec.ge.VALUE_LENGTH;if(s){var a;let o=(s>>14)-1;if(e!==h.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((a=this.preprocessor.peek(1))===h.EQUALS_SIGN||ev(a))?(t=[h.AMPERSAND],i+=o):(t=0===o?[ec.HP[i]&~ec.ge.VALUE_LENGTH]:1===o?[ec.HP[++i]]:[ec.HP[++i],ec.HP[++i]],n=0,r=e!==h.SEMICOLON),0===o){this._consume();break}}}return this._unconsume(n),r&&!this.preprocessor.endOfChunkHit&&this._err(m.missingSemicolonAfterCharacterReference),this._unconsume(1),t}_isCharacterReferenceInAttribute(){return this.returnState===S.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case S.DATA:this._stateData(e);break;case S.RCDATA:this._stateRcdata(e);break;case S.RAWTEXT:this._stateRawtext(e);break;case S.SCRIPT_DATA:this._stateScriptData(e);break;case S.PLAINTEXT:this._statePlaintext(e);break;case S.TAG_OPEN:this._stateTagOpen(e);break;case S.END_TAG_OPEN:this._stateEndTagOpen(e);break;case S.TAG_NAME:this._stateTagName(e);break;case S.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case S.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case S.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case S.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case S.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case S.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case S.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case S.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case S.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case S.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case S.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case S.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case S.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case S.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case S.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case S.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case S.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case S.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case S.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case S.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case S.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case S.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case S.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case S.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case S.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case S.BOGUS_COMMENT:this._stateBogusComment(e);break;case S.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case S.COMMENT_START:this._stateCommentStart(e);break;case S.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case S.COMMENT:this._stateComment(e);break;case S.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case S.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case S.COMMENT_END:this._stateCommentEnd(e);break;case S.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case S.DOCTYPE:this._stateDoctype(e);break;case S.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case S.DOCTYPE_NAME:this._stateDoctypeName(e);break;case S.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case S.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case S.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case S.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case S.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case S.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case S.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case S.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case S.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case S.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case S.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case S.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case S.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case S.CDATA_SECTION:this._stateCdataSection(e);break;case S.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case S.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case S.CHARACTER_REFERENCE:this._stateCharacterReference(e);break;case S.NAMED_CHARACTER_REFERENCE:this._stateNamedCharacterReference(e);break;case S.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;case S.NUMERIC_CHARACTER_REFERENCE:this._stateNumericCharacterReference(e);break;case S.HEXADEMICAL_CHARACTER_REFERENCE_START:this._stateHexademicalCharacterReferenceStart(e);break;case S.HEXADEMICAL_CHARACTER_REFERENCE:this._stateHexademicalCharacterReference(e);break;case S.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(e);break;case S.NUMERIC_CHARACTER_REFERENCE_END:this._stateNumericCharacterReferenceEnd(e);break;default:throw Error("Unknown state")}}_stateData(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.TAG_OPEN;break;case h.AMPERSAND:this.returnState=S.DATA,this.state=S.CHARACTER_REFERENCE;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitCodePoint(e);break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case h.AMPERSAND:this.returnState=S.RCDATA,this.state=S.CHARACTER_REFERENCE;break;case h.LESS_THAN_SIGN:this.state=S.RCDATA_LESS_THAN_SIGN;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.RAWTEXT_LESS_THAN_SIGN;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.SCRIPT_DATA_LESS_THAN_SIGN;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(eE(e))this._createStartTagToken(),this.state=S.TAG_NAME,this._stateTagName(e);else switch(e){case h.EXCLAMATION_MARK:this.state=S.MARKUP_DECLARATION_OPEN;break;case h.SOLIDUS:this.state=S.END_TAG_OPEN;break;case h.QUESTION_MARK:this._err(m.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=S.BOGUS_COMMENT,this._stateBogusComment(e);break;case h.EOF:this._err(m.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(m.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=S.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(eE(e))this._createEndTagToken(),this.state=S.TAG_NAME,this._stateTagName(e);else switch(e){case h.GREATER_THAN_SIGN:this._err(m.missingEndTagName),this.state=S.DATA;break;case h.EOF:this._err(m.eofBeforeTagName),this._emitChars("");break;case h.NULL:this._err(m.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case h.EOF:this._err(m.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===h.SOLIDUS?this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:eE(e)?(this._emitChars("<"),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=S.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){eE(e)?(this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("");break;case h.NULL:this._err(m.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case h.EOF:this._err(m.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===h.SOLIDUS?(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(er.SCRIPT,!1)&&eO(this.preprocessor.peek(er.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e1114111)this._err(m.characterReferenceOutsideUnicodeRange),this.charRefCode=h.REPLACEMENT_CHARACTER;else if(ea(this.charRefCode))this._err(m.surrogateCharacterReference),this.charRefCode=h.REPLACEMENT_CHARACTER;else if(eo(this.charRefCode))this._err(m.noncharacterCharacterReference);else if(ei(this.charRefCode)||this.charRefCode===h.CARRIAGE_RETURN){this._err(m.controlCharacterReference);let e=em.get(this.charRefCode);void 0!==e&&(this.charRefCode=e)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}}let ek=new Set([T.DD,T.DT,T.LI,T.OPTGROUP,T.OPTION,T.P,T.RB,T.RP,T.RT,T.RTC]),ex=new Set([...ek,T.CAPTION,T.COLGROUP,T.TBODY,T.TD,T.TFOOT,T.TH,T.THEAD,T.TR]),eC=new Map([[T.APPLET,b.HTML],[T.CAPTION,b.HTML],[T.HTML,b.HTML],[T.MARQUEE,b.HTML],[T.OBJECT,b.HTML],[T.TABLE,b.HTML],[T.TD,b.HTML],[T.TEMPLATE,b.HTML],[T.TH,b.HTML],[T.ANNOTATION_XML,b.MATHML],[T.MI,b.MATHML],[T.MN,b.MATHML],[T.MO,b.MATHML],[T.MS,b.MATHML],[T.MTEXT,b.MATHML],[T.DESC,b.SVG],[T.FOREIGN_OBJECT,b.SVG],[T.TITLE,b.SVG]]),ew=[T.H1,T.H2,T.H3,T.H4,T.H5,T.H6],eI=[T.TR,T.TEMPLATE,T.HTML],eR=[T.TBODY,T.TFOOT,T.THEAD,T.TEMPLATE,T.HTML],eN=[T.TABLE,T.TEMPLATE,T.HTML],eL=[T.TD,T.TH];class eD{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=T.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===T.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===b.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){let r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==b.HTML);this.shortenToLength(t<0?0:t)}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop=0;n--)if(e.includes(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return -1}clearBackTo(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(eN,b.HTML)}clearBackToTableBodyContext(){this.clearBackTo(eR,b.HTML)}clearBackToTableRowContext(){this.clearBackTo(eI,b.HTML)}remove(e){let t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===T.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===T.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(eC.get(n)===r)return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(eh(t)&&n===b.HTML)break;if(eC.get(t)===n)return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if((n===T.UL||n===T.OL)&&r===b.HTML||eC.get(n)===r)return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(n===T.BUTTON&&r===b.HTML||eC.get(n)===r)return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n===T.TABLE||n===T.TEMPLATE||n===T.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(n===b.HTML){if(t===T.TBODY||t===T.THEAD||t===T.TFOOT)break;if(t===T.TABLE||t===T.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n!==T.OPTION&&n!==T.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;ek.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;ex.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&ex.has(this.currentTagId);)this.pop()}}(p=A=A||(A={}))[p.Marker=0]="Marker",p[p.Element=1]="Element";let eP={type:A.Marker};class eM{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let n=[],r=t.length,a=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let e=0;e[e.name,e.value])),a=0;for(let e=0;er.get(e.name)===e.value)&&(a+=1)>=3&&this.entries.splice(t.idx,1)}}insertMarker(){this.entries.unshift(eP)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:A.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:A.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);t>=0&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(eP);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===A.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===A.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===A.Element&&t.element===e)}}function eF(e){return{nodeName:"#text",value:e,parentNode:null}}let eB={createDocument:()=>({nodeName:"#document",mode:E.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){let r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,n,r){let a=e.childNodes.find(e=>"#documentType"===e.nodeName);a?(a.name=t,a.publicId=n,a.systemId=r):eB.appendChild(e,{nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null})},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let n=e.childNodes[e.childNodes.length-1];if(eB.isTextNode(n)){n.value+=t;return}}eB.appendChild(e,eF(t))},insertTextBefore(e,t,n){let r=e.childNodes[e.childNodes.indexOf(n)-1];r&&eB.isTextNode(r)?r.value+=t:eB.insertBefore(e,eF(t),n)},adoptAttributes(e,t){let n=new Set(e.attrs.map(e=>e.name));for(let r=0;re.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},ej="html",eU=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],eG=[...eU,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],eH=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),e$=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],ez=[...e$,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function eZ(e,t){return t.some(t=>e.startsWith(t))}let eW={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},eV=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),eY=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:b.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:b.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:b.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:b.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:b.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:b.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:b.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:b.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:b.XML}],["xml:space",{prefix:"xml",name:"space",namespace:b.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:b.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:b.XMLNS}]]),eq=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),eK=new Set([T.B,T.BIG,T.BLOCKQUOTE,T.BODY,T.BR,T.CENTER,T.CODE,T.DD,T.DIV,T.DL,T.DT,T.EM,T.EMBED,T.H1,T.H2,T.H3,T.H4,T.H5,T.H6,T.HEAD,T.HR,T.I,T.IMG,T.LI,T.LISTING,T.MENU,T.META,T.NOBR,T.OL,T.P,T.PRE,T.RUBY,T.S,T.SMALL,T.SPAN,T.STRONG,T.STRIKE,T.SUB,T.SUP,T.TABLE,T.TT,T.U,T.UL,T.VAR]);function eX(e){for(let t=0;t0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null===(r=(n=this.treeAdapter).onItemPop)||void 0===r||r.call(n,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let n=e===this.document||this.treeAdapter.getNamespaceURI(e)===b.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,b.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=O.TEXT}switchToPlaintextParsing(){this.insertionMode=O.TEXT,this.originalInsertionMode=O.IN_BODY,this.tokenizer.state=eg.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===v.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===b.HTML)switch(this.fragmentContextID){case T.TITLE:case T.TEXTAREA:this.tokenizer.state=eg.RCDATA;break;case T.STYLE:case T.XMP:case T.IFRAME:case T.NOEMBED:case T.NOFRAMES:case T.NOSCRIPT:this.tokenizer.state=eg.RAWTEXT;break;case T.SCRIPT:this.tokenizer.state=eg.SCRIPT_DATA;break;case T.PLAINTEXT:this.tokenizer.state=eg.PLAINTEXT}}_setDocumentType(e){let t=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){let t=this.treeAdapter.getChildNodes(this.document),n=t.find(e=>this.treeAdapter.isDocumentTypeNode(e));n&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){let n=this.treeAdapter.createElement(e,b.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,b.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(v.HTML,b.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,T.HTML)}_appendCommentNode(e,t){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let r=this.treeAdapter.getChildNodes(t),a=n?r.lastIndexOf(n):r.length,i=r[a-1],o=this.treeAdapter.getNodeSourceCodeLocation(i);if(o){let{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let n=t.location,r=this.treeAdapter.getTagName(e),a=t.type===g.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,a)}}shouldProcessStartTagTokenInForeignContent(e){let t,n;return!!this.currentNotInHTML&&(0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):{current:t,currentTagId:n}=this.openElements,(e.tagID!==T.SVG||this.treeAdapter.getTagName(t)!==v.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==b.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===T.MGLYPH||e.tagID===T.MALIGNMARK)&&!this._isIntegrationPoint(n,t,b.HTML)))}_processToken(e){switch(e.type){case g.CHARACTER:this.onCharacter(e);break;case g.NULL_CHARACTER:this.onNullCharacter(e);break;case g.COMMENT:this.onComment(e);break;case g.DOCTYPE:this.onDoctype(e);break;case g.START_TAG:this._processStartTag(e);break;case g.END_TAG:this.onEndTag(e);break;case g.EOF:this.onEof(e);break;case g.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){let r=this.treeAdapter.getNamespaceURI(t),a=this.treeAdapter.getAttrList(t);return(!n||n===b.HTML)&&function(e,t,n){if(t===b.MATHML&&e===T.ANNOTATION_XML){for(let e=0;ee.type===A.Marker||this.openElements.contains(e.element)),n=t<0?e-1:t-1;for(let e=n;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=O.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(T.P),this.openElements.popUntilTagNamePopped(T.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case T.TR:this.insertionMode=O.IN_ROW;return;case T.TBODY:case T.THEAD:case T.TFOOT:this.insertionMode=O.IN_TABLE_BODY;return;case T.CAPTION:this.insertionMode=O.IN_CAPTION;return;case T.COLGROUP:this.insertionMode=O.IN_COLUMN_GROUP;return;case T.TABLE:this.insertionMode=O.IN_TABLE;return;case T.BODY:this.insertionMode=O.IN_BODY;return;case T.FRAMESET:this.insertionMode=O.IN_FRAMESET;return;case T.SELECT:this._resetInsertionModeForSelect(e);return;case T.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case T.HTML:this.insertionMode=this.headElement?O.AFTER_HEAD:O.BEFORE_HEAD;return;case T.TD:case T.TH:if(e>0){this.insertionMode=O.IN_CELL;return}break;case T.HEAD:if(e>0){this.insertionMode=O.IN_HEAD;return}}this.insertionMode=O.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===T.TEMPLATE)break;if(e===T.TABLE){this.insertionMode=O.IN_SELECT_IN_TABLE;return}}this.insertionMode=O.IN_SELECT}_isElementCausesFosterParenting(e){return e1.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case T.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===b.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case T.TABLE:{let n=this.treeAdapter.getParentNode(t);if(n)return{parent:n,beforeElement:t};return{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){let n=this.treeAdapter.getNamespaceURI(e);return ef[n].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){this._insertCharacters(e),this.framesetOk=!1;return}switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.IN_BODY:case O.IN_CAPTION:case O.IN_CELL:case O.IN_TEMPLATE:ts(this,e);break;case O.TEXT:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tg(this,e);break;case O.IN_TABLE_TEXT:tT(this,e);break;case O.IN_COLUMN_GROUP:t_(this,e);break;case O.AFTER_BODY:tD(this,e);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){e.chars="�",this._insertCharacters(e);return}switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.TEXT:this._insertCharacters(e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tg(this,e);break;case O.IN_COLUMN_GROUP:t_(this,e);break;case O.AFTER_BODY:tD(this,e);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){e4(this,e);return}switch(this.insertionMode){case O.INITIAL:case O.BEFORE_HTML:case O.BEFORE_HEAD:case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:case O.IN_BODY:case O.IN_TABLE:case O.IN_CAPTION:case O.IN_COLUMN_GROUP:case O.IN_TABLE_BODY:case O.IN_ROW:case O.IN_CELL:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:case O.IN_TEMPLATE:case O.IN_FRAMESET:case O.AFTER_FRAMESET:e4(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case O.INITIAL:!function(e,t){e._setDocumentType(t);let n=t.forceQuirks?E.QUIRKS:function(e){if(e.name!==ej)return E.QUIRKS;let{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return E.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),eH.has(n))return E.QUIRKS;let e=null===t?eG:eU;if(eZ(n,e))return E.QUIRKS;if(eZ(n,e=null===t?e$:ez))return E.LIMITED_QUIRKS}return E.NO_QUIRKS}(t);t.name===ej&&null===t.publicId&&(null===t.systemId||"about:legacy-compat"===t.systemId)||e._err(t,m.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=O.BEFORE_HTML}(this,e);break;case O.BEFORE_HEAD:case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:this._err(e,m.misplacedDoctype);break;case O.IN_TABLE_TEXT:tS(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,m.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){let t=e.tagID,n=t===T.FONT&&e.attrs.some(({name:e})=>e===y.COLOR||e===y.SIZE||e===y.FACE);return n||eK.has(t)}(t))tM(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===b.MATHML?eX(t):r===b.SVG&&(function(e){let t=eq.get(e.tagName);null!=t&&(e.tagName=t,e.tagID=ed(e.tagName))}(t),eQ(t)),eJ(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e.tagID===T.HTML?(this._insertElement(e,b.HTML),this.insertionMode=O.BEFORE_HEAD):e8(this,e);break;case O.BEFORE_HEAD:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.HEAD:e._insertElement(t,b.HTML),e.headElement=e.openElements.current,e.insertionMode=O.IN_HEAD;break;default:e7(e,t)}}(this,e);break;case O.IN_HEAD:te(this,e);break;case O.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BASEFONT:case T.BGSOUND:case T.HEAD:case T.LINK:case T.META:case T.NOFRAMES:case T.STYLE:te(e,t);break;case T.NOSCRIPT:e._err(t,m.nestedNoscriptInHead);break;default:tr(e,t)}}(this,e);break;case O.AFTER_HEAD:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BODY:e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=O.IN_BODY;break;case T.FRAMESET:e._insertElement(t,b.HTML),e.insertionMode=O.IN_FRAMESET;break;case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:e._err(t,m.abandonedHeadElementChild),e.openElements.push(e.headElement,T.HEAD),te(e,t),e.openElements.remove(e.headElement);break;case T.HEAD:e._err(t,m.misplacedStartTagForHeadElement);break;default:ta(e,t)}}(this,e);break;case O.IN_BODY:tp(this,e);break;case O.IN_TABLE:tb(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_CAPTION:!function(e,t){let n=t.tagID;tA.has(n)?e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_TABLE,tb(e,t)):tp(e,t)}(this,e);break;case O.IN_COLUMN_GROUP:tO(this,e);break;case O.IN_TABLE_BODY:tk(this,e);break;case O.IN_ROW:tC(this,e);break;case O.IN_CELL:!function(e,t){let n=t.tagID;tA.has(n)?(e.openElements.hasInTableScope(T.TD)||e.openElements.hasInTableScope(T.TH))&&(e._closeTableCell(),tC(e,t)):tp(e,t)}(this,e);break;case O.IN_SELECT:tI(this,e);break;case O.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e._processStartTag(t)):tI(e,t)}(this,e);break;case O.IN_TEMPLATE:!function(e,t){switch(t.tagID){case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:te(e,t);break;case T.CAPTION:case T.COLGROUP:case T.TBODY:case T.TFOOT:case T.THEAD:e.tmplInsertionModeStack[0]=O.IN_TABLE,e.insertionMode=O.IN_TABLE,tb(e,t);break;case T.COL:e.tmplInsertionModeStack[0]=O.IN_COLUMN_GROUP,e.insertionMode=O.IN_COLUMN_GROUP,tO(e,t);break;case T.TR:e.tmplInsertionModeStack[0]=O.IN_TABLE_BODY,e.insertionMode=O.IN_TABLE_BODY,tk(e,t);break;case T.TD:case T.TH:e.tmplInsertionModeStack[0]=O.IN_ROW,e.insertionMode=O.IN_ROW,tC(e,t);break;default:e.tmplInsertionModeStack[0]=O.IN_BODY,e.insertionMode=O.IN_BODY,tp(e,t)}}(this,e);break;case O.AFTER_BODY:e.tagID===T.HTML?tp(this,e):tD(this,e);break;case O.IN_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.FRAMESET:e._insertElement(t,b.HTML);break;case T.FRAME:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.NOFRAMES:te(e,t)}}(this,e);break;case O.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.NOFRAMES:te(e,t)}}(this,e);break;case O.AFTER_AFTER_BODY:e.tagID===T.HTML?tp(this,e):tP(this,e);break;case O.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.NOFRAMES:te(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===T.P||t.tagID===T.BR){tM(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){let r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===b.HTML){e._endTagOutsideForeignContent(t);break}let a=e.treeAdapter.getTagName(r);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){var t;switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:!function(e,t){let n=t.tagID;(n===T.HTML||n===T.HEAD||n===T.BODY||n===T.BR)&&e8(e,t)}(this,e);break;case O.BEFORE_HEAD:!function(e,t){let n=t.tagID;n===T.HEAD||n===T.BODY||n===T.HTML||n===T.BR?e7(e,t):e._err(t,m.endTagWithoutMatchingOpenElement)}(this,e);break;case O.IN_HEAD:!function(e,t){switch(t.tagID){case T.HEAD:e.openElements.pop(),e.insertionMode=O.AFTER_HEAD;break;case T.BODY:case T.BR:case T.HTML:tn(e,t);break;case T.TEMPLATE:tt(e,t);break;default:e._err(t,m.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case T.NOSCRIPT:e.openElements.pop(),e.insertionMode=O.IN_HEAD;break;case T.BR:tr(e,t);break;default:e._err(t,m.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.AFTER_HEAD:!function(e,t){switch(t.tagID){case T.BODY:case T.HTML:case T.BR:ta(e,t);break;case T.TEMPLATE:tt(e,t);break;default:e._err(t,m.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.IN_BODY:th(this,e);break;case O.TEXT:e.tagID===T.SCRIPT&&(null===(t=this.scriptHandler)||void 0===t||t.call(this,this.openElements.current)),this.openElements.pop(),this.insertionMode=this.originalInsertionMode;break;case O.IN_TABLE:ty(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_CAPTION:!function(e,t){let n=t.tagID;switch(n){case T.CAPTION:case T.TABLE:e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_TABLE,n===T.TABLE&&ty(e,t));break;case T.BODY:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:th(e,t)}}(this,e);break;case O.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case T.COLGROUP:e.openElements.currentTagId===T.COLGROUP&&(e.openElements.pop(),e.insertionMode=O.IN_TABLE);break;case T.TEMPLATE:tt(e,t);break;case T.COL:break;default:t_(e,t)}}(this,e);break;case O.IN_TABLE_BODY:tx(this,e);break;case O.IN_ROW:tw(this,e);break;case O.IN_CELL:!function(e,t){let n=t.tagID;switch(n){case T.TD:case T.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_ROW);break;case T.TABLE:case T.TBODY:case T.TFOOT:case T.THEAD:case T.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),tw(e,t));break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:break;default:th(e,t)}}(this,e);break;case O.IN_SELECT:tR(this,e);break;case O.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e.onEndTag(t)):tR(e,t)}(this,e);break;case O.IN_TEMPLATE:e.tagID===T.TEMPLATE&&tt(this,e);break;case O.AFTER_BODY:tL(this,e);break;case O.IN_FRAMESET:e.tagID!==T.FRAMESET||this.openElements.isRootHtmlElementCurrent()||(this.openElements.pop(),this.fragmentContext||this.openElements.currentTagId===T.FRAMESET||(this.insertionMode=O.AFTER_FRAMESET));break;case O.AFTER_FRAMESET:e.tagID===T.HTML&&(this.insertionMode=O.AFTER_AFTER_FRAMESET);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onEof(e){switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.IN_BODY:case O.IN_TABLE:case O.IN_CAPTION:case O.IN_COLUMN_GROUP:case O.IN_TABLE_BODY:case O.IN_ROW:case O.IN_CELL:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:tm(this,e);break;case O.TEXT:this._err(e,m.eofInElementThatCanContainOnlyText),this.openElements.pop(),this.insertionMode=this.originalInsertionMode,this.onEof(e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_TEMPLATE:tN(this,e);break;case O.AFTER_BODY:case O.IN_FRAMESET:case O.AFTER_FRAMESET:case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:e6(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===h.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:case O.TEXT:case O.IN_COLUMN_GROUP:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:case O.IN_FRAMESET:case O.AFTER_FRAMESET:this._insertCharacters(e);break;case O.IN_BODY:case O.IN_CAPTION:case O.IN_CELL:case O.IN_TEMPLATE:case O.AFTER_BODY:case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:to(this,e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tg(this,e);break;case O.IN_TABLE_TEXT:tv(this,e)}}}function e5(e,t){for(let n=0;n<8;n++){let n=function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):tf(e,t),n}(e,t);if(!n)break;let r=function(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){let a=e.openElements.items[r];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[r])&&(n=a)}return n||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;let a=function(e,t,n){let r=t,a=e.openElements.getCommonAncestor(t);for(let i=0,o=a;o!==n;i++,o=a){a=e.openElements.getCommonAncestor(o);let n=e.activeFormattingElements.getElementEntry(o),s=n&&i>=3,l=!n||s;l?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(o)):(o=function(e,t){let n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}(e,r,n.element),i=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(a),i&&function(e,t,n){let r=e.treeAdapter.getTagName(t),a=ed(r);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(n);else{let r=e.treeAdapter.getNamespaceURI(t);a===T.TEMPLATE&&r===b.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}(e,i,a),function(e,t,n){let r=e.treeAdapter.getNamespaceURI(n.element),{token:a}=n,i=e.treeAdapter.createElement(a.tagName,r,a.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,a),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,a.tagID)}(e,r,n)}}function e4(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function e6(e,t){if(e.stopped=!0,t.location){let n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){let n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function e9(e,t){e._err(t,m.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,E.QUIRKS),e.insertionMode=O.BEFORE_HTML,e._processToken(t)}function e8(e,t){e._insertFakeRootElement(),e.insertionMode=O.BEFORE_HEAD,e._processToken(t)}function e7(e,t){e._insertFakeElement(v.HEAD,T.HEAD),e.headElement=e.openElements.current,e.insertionMode=O.IN_HEAD,e._processToken(t)}function te(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.TITLE:e._switchToTextParsing(t,eg.RCDATA);break;case T.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,eg.RAWTEXT):(e._insertElement(t,b.HTML),e.insertionMode=O.IN_HEAD_NO_SCRIPT);break;case T.NOFRAMES:case T.STYLE:e._switchToTextParsing(t,eg.RAWTEXT);break;case T.SCRIPT:e._switchToTextParsing(t,eg.SCRIPT_DATA);break;case T.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=O.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(O.IN_TEMPLATE);break;case T.HEAD:e._err(t,m.misplacedStartTagForHeadElement);break;default:tn(e,t)}}function tt(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==T.TEMPLATE&&e._err(t,m.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,m.endTagWithoutMatchingOpenElement)}function tn(e,t){e.openElements.pop(),e.insertionMode=O.AFTER_HEAD,e._processToken(t)}function tr(e,t){let n=t.type===g.EOF?m.openElementsLeftAfterEof:m.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=O.IN_HEAD,e._processToken(t)}function ta(e,t){e._insertFakeElement(v.BODY,T.BODY),e.insertionMode=O.IN_BODY,ti(e,t)}function ti(e,t){switch(t.type){case g.CHARACTER:ts(e,t);break;case g.WHITESPACE_CHARACTER:to(e,t);break;case g.COMMENT:e4(e,t);break;case g.START_TAG:tp(e,t);break;case g.END_TAG:th(e,t);break;case g.EOF:tm(e,t)}}function to(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function ts(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function tl(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function tc(e){let t=el(e,y.TYPE);return null!=t&&"hidden"===t.toLowerCase()}function tu(e,t){e._switchToTextParsing(t,eg.RAWTEXT)}function td(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML)}function tp(e,t){switch(t.tagID){case T.I:case T.S:case T.B:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.SMALL:case T.STRIKE:case T.STRONG:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case T.A:!function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(v.A);n&&(e5(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),eh(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,b.HTML);break;case T.P:case T.DL:case T.OL:case T.UL:case T.DIV:case T.DIR:case T.NAV:case T.MAIN:case T.MENU:case T.ASIDE:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.DETAILS:case T.ADDRESS:case T.ARTICLE:case T.SECTION:case T.SUMMARY:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML);break;case T.LI:case T.DD:case T.DT:!function(e,t){e.framesetOk=!1;let n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let r=e.openElements.tagIDs[t];if(n===T.LI&&r===T.LI||(n===T.DD||n===T.DT)&&(r===T.DD||r===T.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==T.ADDRESS&&r!==T.DIV&&r!==T.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML)}(e,t);break;case T.BR:case T.IMG:case T.WBR:case T.AREA:case T.EMBED:case T.KEYGEN:tl(e,t);break;case T.HR:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0;break;case T.RB:case T.RTC:e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,b.HTML);break;case T.RT:case T.RP:e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(T.RTC),e._insertElement(t,b.HTML);break;case T.PRE:case T.LISTING:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.framesetOk=!1;break;case T.XMP:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,eg.RAWTEXT);break;case T.SVG:e._reconstructActiveFormattingElements(),eQ(t),eJ(t),t.selfClosing?e._appendElement(t,b.SVG):e._insertElement(t,b.SVG),t.ackSelfClosing=!0;break;case T.HTML:0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs);break;case T.BASE:case T.LINK:case T.META:case T.STYLE:case T.TITLE:case T.SCRIPT:case T.BGSOUND:case T.BASEFONT:case T.TEMPLATE:te(e,t);break;case T.BODY:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t);break;case T.FORM:!function(e,t){let n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),n||(e.formElement=e.openElements.current))}(e,t);break;case T.NOBR:e._reconstructActiveFormattingElements(),e.openElements.hasInScope(T.NOBR)&&(e5(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case T.MATH:e._reconstructActiveFormattingElements(),eX(t),eJ(t),t.selfClosing?e._appendElement(t,b.MATHML):e._insertElement(t,b.MATHML),t.ackSelfClosing=!0;break;case T.TABLE:e.treeAdapter.getDocumentMode(e.document)!==E.QUIRKS&&e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=O.IN_TABLE;break;case T.INPUT:e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),tc(t)||(e.framesetOk=!1),t.ackSelfClosing=!0;break;case T.PARAM:case T.TRACK:case T.SOURCE:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.IMAGE:t.tagName=v.IMG,t.tagID=T.IMG,tl(e,t);break;case T.BUTTON:e.openElements.hasInScope(T.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1;break;case T.APPLET:case T.OBJECT:case T.MARQUEE:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1;break;case T.IFRAME:e.framesetOk=!1,e._switchToTextParsing(t,eg.RAWTEXT);break;case T.SELECT:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===O.IN_TABLE||e.insertionMode===O.IN_CAPTION||e.insertionMode===O.IN_TABLE_BODY||e.insertionMode===O.IN_ROW||e.insertionMode===O.IN_CELL?O.IN_SELECT_IN_TABLE:O.IN_SELECT;break;case T.OPTION:case T.OPTGROUP:e.openElements.currentTagId===T.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML);break;case T.NOEMBED:tu(e,t);break;case T.FRAMESET:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_FRAMESET)}(e,t);break;case T.TEXTAREA:e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.tokenizer.state=eg.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=O.TEXT;break;case T.NOSCRIPT:e.options.scriptingEnabled?tu(e,t):td(e,t);break;case T.PLAINTEXT:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.tokenizer.state=eg.PLAINTEXT;break;case T.COL:case T.TH:case T.TD:case T.TR:case T.HEAD:case T.FRAME:case T.TBODY:case T.TFOOT:case T.THEAD:case T.CAPTION:case T.COLGROUP:break;default:td(e,t)}}function tf(e,t){let n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let a=e.openElements.items[t],i=e.openElements.tagIDs[t];if(r===i&&(r!==T.UNKNOWN||e.treeAdapter.getTagName(a)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(a,i))break}}function th(e,t){switch(t.tagID){case T.A:case T.B:case T.I:case T.S:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.NOBR:case T.SMALL:case T.STRIKE:case T.STRONG:e5(e,t);break;case T.P:e.openElements.hasInButtonScope(T.P)||e._insertFakeElement(v.P,T.P),e._closePElement();break;case T.DL:case T.UL:case T.OL:case T.DIR:case T.DIV:case T.NAV:case T.PRE:case T.MAIN:case T.MENU:case T.ASIDE:case T.BUTTON:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.ADDRESS:case T.ARTICLE:case T.DETAILS:case T.SECTION:case T.SUMMARY:case T.LISTING:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case T.LI:e.openElements.hasInListItemScope(T.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(T.LI),e.openElements.popUntilTagNamePopped(T.LI));break;case T.DD:case T.DT:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped());break;case T.BR:e._reconstructActiveFormattingElements(),e._insertFakeElement(v.BR,T.BR),e.openElements.pop(),e.framesetOk=!1;break;case T.BODY:!function(e,t){if(e.openElements.hasInScope(T.BODY)&&(e.insertionMode=O.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}(e,t);break;case T.HTML:e.openElements.hasInScope(T.BODY)&&(e.insertionMode=O.AFTER_BODY,tL(e,t));break;case T.FORM:!function(e){let t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(T.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(T.FORM):n&&e.openElements.remove(n))}(e);break;case T.APPLET:case T.OBJECT:case T.MARQUEE:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}(e,t);break;case T.TEMPLATE:tt(e,t);break;default:tf(e,t)}}function tm(e,t){e.tmplInsertionModeStack.length>0?tN(e,t):e6(e,t)}function tg(e,t){if(e1.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=O.IN_TABLE_TEXT,t.type){case g.CHARACTER:tT(e,t);break;case g.WHITESPACE_CHARACTER:tv(e,t)}else tE(e,t)}function tb(e,t){switch(t.tagID){case T.TD:case T.TH:case T.TR:e.openElements.clearBackToTableContext(),e._insertFakeElement(v.TBODY,T.TBODY),e.insertionMode=O.IN_TABLE_BODY,tk(e,t);break;case T.STYLE:case T.SCRIPT:case T.TEMPLATE:te(e,t);break;case T.COL:e.openElements.clearBackToTableContext(),e._insertFakeElement(v.COLGROUP,T.COLGROUP),e.insertionMode=O.IN_COLUMN_GROUP,tO(e,t);break;case T.FORM:e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,b.HTML),e.formElement=e.openElements.current,e.openElements.pop());break;case T.TABLE:e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode(),e._processStartTag(t));break;case T.TBODY:case T.TFOOT:case T.THEAD:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_TABLE_BODY;break;case T.INPUT:tc(t)?e._appendElement(t,b.HTML):tE(e,t),t.ackSelfClosing=!0;break;case T.CAPTION:e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_CAPTION;break;case T.COLGROUP:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_COLUMN_GROUP;break;default:tE(e,t)}}function ty(e,t){switch(t.tagID){case T.TABLE:e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode());break;case T.TEMPLATE:tt(e,t);break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:tE(e,t)}}function tE(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,ti(e,t),e.fosterParentingEnabled=n}function tv(e,t){e.pendingCharacterTokens.push(t)}function tT(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function tS(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0&&e.openElements.currentTagId===T.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===T.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===T.OPTGROUP&&e.openElements.pop();break;case T.OPTION:e.openElements.currentTagId===T.OPTION&&e.openElements.pop();break;case T.SELECT:e.openElements.hasInSelectScope(T.SELECT)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode());break;case T.TEMPLATE:tt(e,t)}}function tN(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):e6(e,t)}function tL(e,t){var n;if(t.tagID===T.HTML){if(e.fragmentContext||(e.insertionMode=O.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===T.HTML){e._setEndLocation(e.openElements.items[0],t);let r=e.openElements.items[1];!r||(null===(n=e.treeAdapter.getNodeSourceCodeLocation(r))||void 0===n?void 0:n.endTag)||e._setEndLocation(r,t)}}else tD(e,t)}function tD(e,t){e.insertionMode=O.IN_BODY,ti(e,t)}function tP(e,t){e.insertionMode=O.IN_BODY,ti(e,t)}function tM(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==b.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}n(43470),v.AREA,v.BASE,v.BASEFONT,v.BGSOUND,v.BR,v.COL,v.EMBED,v.FRAME,v.HR,v.IMG,v.INPUT,v.KEYGEN,v.LINK,v.META,v.PARAM,v.SOURCE,v.TRACK,v.WBR;var tF=n(3980),tB=n(21623);let tj=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),tU={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function tG(e,t){let n=function(e){let t="root"===e.type?e.children[0]:e;return!!(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName.toLowerCase()))}(e),r=q("type",{handlers:{root:t$,element:tz,text:tZ,comment:tV,doctype:tW,raw:tY},unknown:tq}),a={parser:n?new e3(tU):e3.getFragmentParser(void 0,tU),handle(e){r(e,a)},stitches:!1,options:t||{}};r(e,a),tK(a,(0,tF.Pk)());let i=n?a.parser.document:a.parser.getFragment(),o=function(e,t){let n=t||{};return $({file:n.file||void 0,location:!1,schema:"svg"===n.space?x.YP:x.dy,verbose:n.verbose||!1},e)}(i,{file:a.options.file});return(a.stitches&&(0,tB.Vn)(o,"comment",function(e,t,n){if(e.value.stitch&&n&&void 0!==t){let r=n.children;return r[t]=e.value.stitch,t}}),"root"===o.type&&1===o.children.length&&o.children[0].type===e.type)?o.children[0]:o}function tH(e,t){let n=-1;if(e)for(;++n4&&(t.parser.tokenizer.state=0);let n={type:g.CHARACTER,chars:e.value,location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tW(e,t){let n={type:g.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tV(e,t){let n=e.value,r={type:g.COMMENT,data:n,location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function tY(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,tX(t,(0,tF.Pk)(e)),t.parser.tokenizer.write(e.value,!1),t.parser.tokenizer._runParsingLoop(),72===t.parser.tokenizer.state||78===t.parser.tokenizer.state){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;let e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function tq(e,t){if(t.options.passThrough&&t.options.passThrough.includes(e.type))!function(e,t){t.stitches=!0;let n="children"in e?(0,_.ZP)({...e,children:[]}):(0,_.ZP)(e);if("children"in e&&"children"in n){let r=tG({type:"root",children:e.children},t.options);n.children=r.children}tV({type:"comment",value:{stitch:n}},t)}(e,t);else{let t="";throw tj.has(e.type)&&(t=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),Error("Cannot compile `"+e.type+"` node"+t)}}function tK(e,t){tX(e,t);let n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=eg.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function tX(e,t){if(t&&void 0!==t.offset){let n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function tQ(e){let t=(0,tF.Pk)(e)||{line:void 0,column:void 0,offset:void 0},n=(0,tF.rb)(e)||{line:void 0,column:void 0,offset:void 0},r={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset};return r}function tJ(e){return function(t,n){let r=tG(t,{...e,file:n});return r}}},78600:function(e,t,n){"use strict";function r(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,a=n.indexOf(t);for(;-1!==a;)r++,a=n.indexOf(t,a+t.length);return r}n.d(t,{Z:function(){return eQ}});var a=n(24345),i=n(15459),o=n(88718),s=n(96093);let l="phrasing",c=["autolink","link","image","label"];function u(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function d(e){this.config.enter.autolinkProtocol.call(this,e)}function p(e){this.config.exit.autolinkProtocol.call(this,e)}function f(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];(0,a.ok)("link"===t.type),t.url="http://"+this.sliceSerialize(e)}function h(e){this.config.exit.autolinkEmail.call(this,e)}function m(e){this.exit(e)}function g(e){!function(e,t,n){let r=(0,s.O)((n||{}).ignore||[]),a=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r0?{type:"text",value:i}:void 0),!1===i?r.lastIndex=n+1:(s!==n&&d.push({type:"text",value:e.value.slice(s,n)}),Array.isArray(i)?d.push(...i):i&&d.push(i),s=n+p[0].length,u=!0),!r.global)break;p=r.exec(e.value)}return u?(s?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],a=n.indexOf(")"),i=r(e,"("),o=r(e,")");for(;-1!==a&&i>o;)e+=n.slice(0,a+1),a=(n=n.slice(a+1)).indexOf(")"),o++;return[e,n]}(n+a);if(!s[0])return!1;let l={type:"link",title:null,url:o+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[l,{type:"text",value:s[1]}]:l}function y(e,t,n,r){return!(!E(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function E(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||(0,i.B8)(n)||(0,i.Xh)(n))&&(!t||47!==n)}var v=n(11098);function T(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function S(){this.buffer()}function A(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteDefinition"===n.type),n.label=t,n.identifier=(0,v.d)(this.sliceSerialize(e)).toLowerCase()}function O(e){this.exit(e)}function _(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function k(){this.buffer()}function x(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteReference"===n.type),n.label=t,n.identifier=(0,v.d)(this.sliceSerialize(e)).toLowerCase()}function C(e){this.exit(e)}function w(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteReference"),s=n.enter("reference");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),o(),i+=a.move("]")}function I(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteDefinition"),s=n.enter("label");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),i+=a.move("]:"+(e.children&&e.children.length>0?" ":"")),a.shift(4),i+=a.move(n.indentLines(n.containerFlow(e,a.current()),R)),o(),i}function R(e,t,n){return 0===t?e:(n?"":" ")+e}w.peek=function(){return"["};let N=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function L(e){this.enter({type:"delete",children:[]},e)}function D(e){this.exit(e)}function P(e,t,n,r){let a=n.createTracker(r),i=n.enter("strikethrough"),o=a.move("~~");return o+=n.containerPhrasing(e,{...a.current(),before:o,after:"~"})+a.move("~~"),i(),o}function M(e){return e.length}function F(e){let t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function B(e,t,n){return">"+(n?"":" ")+e}function j(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),c+=l.move(")"),o(),c}function q(e,t,n,r){let a=e.referenceType,i=n.enter("imageReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("!["),c=n.safe(e.alt,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function K(e,t,n){let r=e.value||"",a="`",i=-1;for(;RegExp("(^|[^`])"+a+"([^`]|$)").test(r);)a+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i\u007F]/.test(e.url))}function Q(e,t,n,r){let a,i;let o=$(n),s='"'===o?"Quote":"Apostrophe",l=n.createTracker(r);if(X(e,n)){let t=n.stack;n.stack=[],a=n.enter("autolink");let r=l.move("<");return r+=l.move(n.containerPhrasing(e,{before:r,after:">",...l.current()}))+l.move(">"),a(),n.stack=t,r}a=n.enter("link"),i=n.enter("label");let c=l.move("[");return c+=l.move(n.containerPhrasing(e,{before:c,after:"](",...l.current()}))+l.move("]("),i(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(i=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(i=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),i(),e.title&&(i=n.enter(`title${s}`),c+=l.move(" "+o),c+=l.move(n.safe(e.title,{before:c,after:o,...l.current()}))+l.move(o),i()),c+=l.move(")"),a(),c}function J(e,t,n,r){let a=e.referenceType,i=n.enter("linkReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("["),c=n.containerPhrasing(e,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function ee(e){let t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function et(e){let t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}V.peek=function(){return"<"},Y.peek=function(){return"!"},q.peek=function(){return"!"},K.peek=function(){return"`"},Q.peek=function(e,t,n){return X(e,n)?"<":"["},J.peek=function(){return"["};let en=(0,s.O)(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function er(e,t,n,r){let a=function(e){let t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(n),i=n.enter("strong"),o=n.createTracker(r),s=o.move(a+a);return s+=o.move(n.containerPhrasing(e,{before:s,after:a,...o.current()}))+o.move(a+a),i(),s}er.peek=function(e,t,n){return n.options.strong||"*"};let ea={blockquote:function(e,t,n,r){let a=n.enter("blockquote"),i=n.createTracker(r);i.move("> "),i.shift(2);let o=n.indentLines(n.containerFlow(e,i.current()),B);return a(),o},break:U,code:function(e,t,n,r){let a=function(e){let t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),i=e.value||"",o="`"===a?"GraveAccent":"Tilde";if(!1===n.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value)){let e=n.enter("codeIndented"),t=n.indentLines(i,H);return e(),t}let s=n.createTracker(r),l=a.repeat(Math.max((0,G.J)(i,a)+1,3)),c=n.enter("codeFenced"),u=s.move(l);if(e.lang){let t=n.enter(`codeFencedLang${o}`);u+=s.move(n.safe(e.lang,{before:u,after:" ",encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${o}`);u+=s.move(" "),u+=s.move(n.safe(e.meta,{before:u,after:"\n",encode:["`"],...s.current()})),t()}return u+=s.move("\n"),i&&(u+=s.move(i+"\n")),u+=s.move(l),c(),u},definition:function(e,t,n,r){let a=$(n),i='"'===a?"Quote":"Apostrophe",o=n.enter("definition"),s=n.enter("label"),l=n.createTracker(r),c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()}))+l.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":"\n",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),o(),c},emphasis:z,hardBreak:U,heading:function(e,t,n,r){let a;let i=Math.max(Math.min(6,e.depth||1),1),s=n.createTracker(r);if(a=!1,(0,Z.Vn)(e,function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return a=!0,o.BK}),(!e.depth||e.depth<3)&&(0,W.B)(e)&&(n.options.setext||a)){let t=n.enter("headingSetext"),r=n.enter("phrasing"),a=n.containerPhrasing(e,{...s.current(),before:"\n",after:"\n"});return r(),t(),a+"\n"+(1===i?"=":"-").repeat(a.length-(Math.max(a.lastIndexOf("\r"),a.lastIndexOf("\n"))+1))}let l="#".repeat(i),c=n.enter("headingAtx"),u=n.enter("phrasing");s.move(l+" ");let d=n.containerPhrasing(e,{before:"# ",after:"\n",...s.current()});return/^[\t ]/.test(d)&&(d="&#x"+d.charCodeAt(0).toString(16).toUpperCase()+";"+d.slice(1)),d=d?l+" "+d:l,n.options.closeAtx&&(d+=" "+l),u(),c(),d},html:V,image:Y,imageReference:q,inlineCode:K,link:Q,linkReference:J,list:function(e,t,n,r){let a=n.enter("list"),i=n.bulletCurrent,o=e.ordered?function(e){let t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):ee(n),s=e.ordered?"."===o?")":".":function(e){let t=ee(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n),l=!!t&&!!n.bulletLastUsed&&o===n.bulletLastUsed;if(!e.ordered){let t=e.children?e.children[0]:void 0;if("*"!==o&&"-"!==o||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(l=!0),et(n)===o&&t){let t=-1;for(;++t-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+i);let o=i.length+1;("tab"===a||"mixed"===a&&(t&&"list"===t.type&&t.spread||e.spread))&&(o=4*Math.ceil(o/4));let s=n.createTracker(r);s.move(i+" ".repeat(o-i.length)),s.shift(o);let l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),function(e,t,n){return t?(n?"":" ".repeat(o))+e:(n?i:i+" ".repeat(o-i.length))+e});return l(),c},paragraph:function(e,t,n,r){let a=n.enter("paragraph"),i=n.enter("phrasing"),o=n.containerPhrasing(e,r);return i(),a(),o},root:function(e,t,n,r){let a=e.children.some(function(e){return en(e)}),i=a?n.containerPhrasing:n.containerFlow;return i.call(n,e,r)},strong:er,text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){let r=(et(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}};function ei(e){let t=e._align;(0,a.ok)(t,"expected `_align` on table"),this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function eo(e){this.exit(e),this.data.inTable=void 0}function es(e){this.enter({type:"tableRow",children:[]},e)}function el(e){this.exit(e)}function ec(e){this.enter({type:"tableCell",children:[]},e)}function eu(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,ed));let n=this.stack[this.stack.length-1];(0,a.ok)("inlineCode"===n.type),n.value=t,this.exit(e)}function ed(e,t){return"|"===t?t:e}function ep(e){let t=this.stack[this.stack.length-2];(0,a.ok)("listItem"===t.type),t.checked="taskListCheckValueChecked"===e.type}function ef(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1];(0,a.ok)("paragraph"===e.type);let n=e.children[0];if(n&&"text"===n.type){let r;let a=t.children,i=-1;for(;++i0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}eO[43]=eA,eO[45]=eA,eO[46]=eA,eO[95]=eA,eO[72]=[eA,eS],eO[104]=[eA,eS],eO[87]=[eA,eT],eO[119]=[eA,eT];var eR=n(23402),eN=n(42761);let eL={tokenize:function(e,t,n){let r=this;return(0,eN.f)(e,function(e){let a=r.events[r.events.length-1];return a&&"gfmFootnoteDefinitionIndent"===a[1].type&&4===a[2].sliceSerialize(a[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function eD(e,t,n){let r;let a=this,i=a.events.length,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);for(;i--;){let e=a.events[i][1];if("labelImage"===e.type){r=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(i){if(!r||!r._balanced)return n(i);let s=(0,v.d)(a.sliceSerialize({start:r.end,end:a.now()}));return 94===s.codePointAt(0)&&o.includes(s.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(i),e.exit("gfmFootnoteCallLabelMarker"),t(i)):n(i)}}function eP(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;let i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",a,t],["exit",a,t],["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function eM(e,t,n){let r;let a=this,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),s=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),l};function l(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(l){if(s>999||93===l&&!r||null===l||91===l||(0,i.z3)(l))return n(l);if(93===l){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return o.includes((0,v.d)(a.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(l)}return(0,i.z3)(l)||(r=!0),s++,e.consume(l),92===l?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function eF(e,t,n){let r,a;let o=this,s=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]),l=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(t)}function u(t){if(l>999||93===t&&!a||null===t||91===t||(0,i.z3)(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return r=(0,v.d)(o.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return(0,i.z3)(t)||(a=!0),l++,e.consume(t),92===t?d:u}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}function p(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s.includes(r)||s.push(r),(0,eN.f)(e,f,"gfmFootnoteDefinitionWhitespace")):n(t)}function f(e){return t(e)}}function eB(e,t,n){return e.check(eR.w,t,e.attempt(eL,t,n))}function ej(e){e.exit("gfmFootnoteDefinition")}var eU=n(21905),eG=n(62987),eH=n(63233);class e${constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let a=0;if(0!==n||0!==r.length){for(;a0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function ez(e,t,n){let r;let a=this,o=0,s=0;return function(e){let t=a.events.length-1;for(;t>-1;){let e=a.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let r=t>-1?a.events[t][1].type:null,i="tableHead"===r||"tableRow"===r?E:l;return i===E&&a.parser.lazy[a.now().line]?n(e):i(e)};function l(t){return e.enter("tableHead"),e.enter("tableRow"),124===t||(r=!0,s+=1),c(t)}function c(t){return null===t?n(t):(0,i.Ch)(t)?s>1?(s=0,a.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p):n(t):(0,i.xz)(t)?(0,eN.f)(e,c,"whitespace")(t):(s+=1,r&&(r=!1,o+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,c):(e.enter("data"),u(t))}function u(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),c(t)):(e.consume(t),92===t?d:u)}function d(t){return 92===t||124===t?(e.consume(t),u):u(t)}function p(t){return(a.interrupt=!1,a.parser.lazy[a.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,(0,i.xz)(t))?(0,eN.f)(e,f,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):f(t)}function f(t){return 45===t||58===t?m(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),h):n(t)}function h(t){return(0,i.xz)(t)?(0,eN.f)(e,m,"whitespace")(t):m(t)}function m(t){return 58===t?(s+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),g):45===t?(s+=1,g(t)):null===t||(0,i.Ch)(t)?y(t):n(t)}function g(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),b):(e.exit("tableDelimiterFiller"),b(n))}(t)):n(t)}function b(t){return(0,i.xz)(t)?(0,eN.f)(e,y,"whitespace")(t):y(t)}function y(a){return 124===a?f(a):null===a||(0,i.Ch)(a)?r&&o===s?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(a)):n(a):n(a)}function E(t){return e.enter("tableRow"),v(t)}function v(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),v):null===n||(0,i.Ch)(n)?(e.exit("tableRow"),t(n)):(0,i.xz)(n)?(0,eN.f)(e,v,"whitespace")(n):(e.enter("data"),T(n))}function T(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),v(t)):(e.consume(t),92===t?S:T)}function S(t){return 92===t||124===t?(e.consume(t),T):T(t)}}function eZ(e,t){let n,r,a,i=-1,o=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,d=0,p=new e$;for(;++in[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",o,t]])}return void 0!==a&&(i.end=Object.assign({},eY(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function eV(e,t,n,r,a){let i=[],o=eY(t.events,n);a&&(a.end=Object.assign({},o),i.push(["exit",a,t])),r.end=Object.assign({},o),i.push(["exit",r,t]),e.add(n+1,0,i)}function eY(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}let eq={name:"tasklistCheck",tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),a):n(t)};function a(t){return(0,i.z3)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(t)}function s(r){return(0,i.Ch)(r)?t(r):(0,i.xz)(r)?e.check({tokenize:eK},t,n)(r):n(r)}}};function eK(e,t,n){return(0,eN.f)(e,function(e){return null===e?n(e):t(e)},"whitespace")}let eX={};function eQ(e){let t=e||eX,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),i=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push((0,em.W)([{text:eO},{document:{91:{name:"gfmFootnoteDefinition",tokenize:eF,continuation:{tokenize:eB},exit:ej}},text:{91:{name:"gfmFootnoteCall",tokenize:eM},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:eD,resolveTo:eP}}},function(e){let t=(e||{}).singleTilde,n={name:"strikethrough",tokenize:function(e,n,r){let a=this.previous,i=this.events,o=0;return function(s){return 126===a&&"characterEscape"!==i[i.length-1][1].type?r(s):(e.enter("strikethroughSequenceTemporary"),function i(s){let l=(0,eG.r)(a);if(126===s)return o>1?r(s):(e.consume(s),o++,i);if(o<2&&!t)return r(s);let c=e.exit("strikethroughSequenceTemporary"),u=(0,eG.r)(s);return c._open=!u||2===u&&!!l,c._close=!l||2===l&&!!u,n(s)}(s))}},resolveAll:function(e,t){let n=-1;for(;++nl&&(l=e[c].length);++ds[d])&&(s[d]=e)}n.push(i)}i[c]=n,o[c]=a}let d=-1;if("object"==typeof n&&"length"in n)for(;++ds[d]&&(s[d]=i),f[d]=i),p[d]=o}i.splice(1,0,p),o.splice(1,0,f),c=-1;let h=[];for(;++c","Iacute":"\xcd","Icirc":"\xce","Igrave":"\xcc","Iuml":"\xcf","LT":"<","Ntilde":"\xd1","Oacute":"\xd3","Ocirc":"\xd4","Ograve":"\xd2","Oslash":"\xd8","Otilde":"\xd5","Ouml":"\xd6","QUOT":"\\"","REG":"\xae","THORN":"\xde","Uacute":"\xda","Ucirc":"\xdb","Ugrave":"\xd9","Uuml":"\xdc","Yacute":"\xdd","aacute":"\xe1","acirc":"\xe2","acute":"\xb4","aelig":"\xe6","agrave":"\xe0","amp":"&","aring":"\xe5","atilde":"\xe3","auml":"\xe4","brvbar":"\xa6","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","eacute":"\xe9","ecirc":"\xea","egrave":"\xe8","eth":"\xf0","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","iacute":"\xed","icirc":"\xee","iexcl":"\xa1","igrave":"\xec","iquest":"\xbf","iuml":"\xef","laquo":"\xab","lt":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","ntilde":"\xf1","oacute":"\xf3","ocirc":"\xf4","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","oslash":"\xf8","otilde":"\xf5","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","raquo":"\xbb","reg":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","thorn":"\xfe","times":"\xd7","uacute":"\xfa","ucirc":"\xfb","ugrave":"\xf9","uml":"\xa8","uuml":"\xfc","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')}},function(e){e.O(0,[3662,7034,6106,8674,3166,2837,2168,8163,1265,7728,2913,3791,5278,9859,4330,4041,8791,5030,5418,2783,3457,1300,4567,2398,2480,7410,7124,9773,4035,1154,2510,3345,9202,1585,7249,3768,5789,9774,2888,179],function(){return e(e.s=57843)}),_N_E=e.O()}]); \ No newline at end of file + */var r=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},a={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=u.reach));S+=T.value.length,T=T.next){var A,O=T.value;if(n.length>t.length)return;if(!(O instanceof i)){var _=1;if(b){if(!(A=o(v,S,t,g))||A.index>=t.length)break;var k=A.index,x=A.index+A[0].length,C=S;for(C+=T.value.length;k>=C;)C+=(T=T.next).value.length;if(C-=T.value.length,S=C,T.value instanceof i)continue;for(var w=T;w!==n.tail&&(Cu.reach&&(u.reach=L);var D=T.prev;R&&(D=l(n,D,R),S+=R.length),function(e,t,n){for(var r=t.next,a=0;a1){var M={cause:d+","+f,reach:L};e(t,n,r,T.prev,S,M),u&&M.reach>u.reach&&(u.reach=M.reach)}}}}}}(e,c,t,c.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(c)},hooks:{all:{},add:function(e,t){var n=a.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=a.hooks.all[e];if(n&&n.length)for(var r,i=0;r=n[i++];)r(t)}},Token:i};function i(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var i=a[1].length;a.index+=i,a[0]=a[0].slice(i)}return a}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}if(e.Prism=a,i.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach(function(t){r+=e(t,n)}),r}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},o=t.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(i.classes,o):i.classes.push(o)),a.hooks.run("wrap",i);var s="";for(var l in i.attributes)s+=" "+l+'="'+(i.attributes[l]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+s+">"+i.content+""},!e.document)return e.addEventListener&&(a.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),r=n.language,i=n.code,o=n.immediateClose;e.postMessage(a.highlight(i,a.languages[r],r)),o&&e.close()},!1)),a;var c=a.util.currentScript();function u(){a.manual||a.highlightAll()}if(c&&(a.filename=c.src,c.hasAttribute("data-manual")&&(a.manual=!0)),!a.manual){var d=document.readyState;"loading"===d||"interactive"===d&&c&&c.defer?document.addEventListener("DOMContentLoaded",u):window.requestAnimationFrame?window.requestAnimationFrame(u):window.setTimeout(u,16)}return a}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=r),void 0!==n.g&&(n.g.Prism=r)},96774:function(e){e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),o=Object.keys(t);if(i.length!==o.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;le.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}},88998:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(95778);function a(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},13643:function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,{Z:function(){return r}})},98568:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)}n.d(t,{Z:function(){return a}})},99660:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(88998);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var l=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(l&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;C(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:I(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),b}},t}},55054:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59312);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw a}}return s}}(e,t)||(0,r.Z)(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},27567:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(13643);function a(){return(a="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var a=function(e,t){for(;!({}).hasOwnProperty.call(e,t)&&null!==(e=(0,r.Z)(e)););return e}(e,t);if(a){var i=Object.getOwnPropertyDescriptor(a,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}}).apply(null,arguments)}function i(e,t,n,i){var o=a((0,r.Z)(1&i?e.prototype:e),t,n);return 2&i&&"function"==typeof o?function(e){return o.apply(n,e)}:o}},25585:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(59630),a=n(59312);function i(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,a.Z)(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},95778:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(2846);function a(e){var t=function(e,t){if("object"!=(0,r.Z)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=(0,r.Z)(a))return a;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.Z)(t)?t:t+""}},2846:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{Z:function(){return r}})},59312:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59630);function a(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},21129:function(e,t,n){"use strict";var r=n(4503);t.Z=r},86676:function(e,t,n){"use strict";n.d(t,{r:function(){return a}});let r=/[#.]/g;function a(e,t){let n,a;let i=e||"",o={},s=0;for(;so&&(o=i):i=1,a=r+t.length,r=n.indexOf(t,a);return o}n.d(t,{J:function(){return r}})},24557:function(e,t,n){"use strict";n.d(t,{Z:function(){return ed}});var r={};n.r(r),n.d(r,{boolean:function(){return c},booleanish:function(){return u},commaOrSpaceSeparated:function(){return m},commaSeparated:function(){return h},number:function(){return p},overloadedBoolean:function(){return d},spaceSeparated:function(){return f}});class a{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function i(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new a(n,r,t)}function o(e){return e.toLowerCase()}a.prototype.normal={},a.prototype.property={},a.prototype.space=void 0;class s{constructor(e,t){this.attribute=t,this.property=e}}s.prototype.attribute="",s.prototype.booleanish=!1,s.prototype.boolean=!1,s.prototype.commaOrSpaceSeparated=!1,s.prototype.commaSeparated=!1,s.prototype.defined=!1,s.prototype.mustUseProperty=!1,s.prototype.number=!1,s.prototype.overloadedBoolean=!1,s.prototype.property="",s.prototype.spaceSeparated=!1,s.prototype.space=void 0;let l=0,c=g(),u=g(),d=g(),p=g(),f=g(),h=g(),m=g();function g(){return 2**++l}let b=Object.keys(r);class y extends s{constructor(e,t,n,a){var i,o;let s=-1;if(super(e,t),a&&(this.space=a),"number"==typeof n)for(;++s"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function T(e,t){return t in e?e[t]:t}function S(e,t){return T(e,t.toLowerCase())}let A=E({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:h,acceptCharset:f,accessKey:f,action:null,allow:null,allowFullScreen:c,allowPaymentRequest:c,allowUserMedia:c,alt:null,as:null,async:c,autoCapitalize:null,autoComplete:f,autoFocus:c,autoPlay:c,blocking:f,capture:null,charSet:null,checked:c,cite:null,className:f,cols:p,colSpan:null,content:null,contentEditable:u,controls:c,controlsList:f,coords:p|h,crossOrigin:null,data:null,dateTime:null,decoding:null,default:c,defer:c,dir:null,dirName:null,disabled:c,download:d,draggable:u,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:c,formTarget:null,headers:f,height:p,hidden:c,high:p,href:null,hrefLang:null,htmlFor:f,httpEquiv:f,id:null,imageSizes:null,imageSrcSet:null,inert:c,inputMode:null,integrity:null,is:null,isMap:c,itemId:null,itemProp:f,itemRef:f,itemScope:c,itemType:f,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:c,low:p,manifest:null,max:null,maxLength:p,media:null,method:null,min:null,minLength:p,multiple:c,muted:c,name:null,nonce:null,noModule:c,noValidate:c,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored: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,onScrollEnd: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:c,optimum:p,pattern:null,ping:f,placeholder:null,playsInline:c,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:c,referrerPolicy:null,rel:f,required:c,reversed:c,rows:p,rowSpan:p,sandbox:f,scope:null,scoped:c,seamless:c,selected:c,shadowRootClonable:c,shadowRootDelegatesFocus:c,shadowRootMode:null,shape:null,size:p,sizes:null,slot:null,span:p,spellCheck:u,src:null,srcDoc:null,srcLang:null,srcSet:null,start:p,step:null,style:null,tabIndex:p,target:null,title:null,translate:null,type:null,typeMustMatch:c,useMap:null,value:u,width:p,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:f,axis:null,background:null,bgColor:null,border:p,borderColor:null,bottomMargin:p,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:c,declare:c,event:null,face:null,frame:null,frameBorder:null,hSpace:p,leftMargin:p,link:null,longDesc:null,lowSrc:null,marginHeight:p,marginWidth:p,noResize:c,noHref:c,noShade:c,noWrap:c,object:null,profile:null,prompt:null,rev:null,rightMargin:p,rules:null,scheme:null,scrolling:u,standby:null,summary:null,text:null,topMargin:p,valueType:null,version:null,vAlign:null,vLink:null,vSpace:p,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:c,disableRemotePlayback:c,prefix:null,property:null,results:p,security:null,unselectable:null},space:"html",transform:S}),O=E({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:m,accentHeight:p,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:p,amplitude:p,arabicForm:null,ascent:p,attributeName:null,attributeType:null,azimuth:p,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:p,by:null,calcMode:null,capHeight:p,className:f,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:p,diffuseConstant:p,direction:null,display:null,dur:null,divisor:p,dominantBaseline:null,download:c,dx:null,dy:null,edgeMode:null,editable:null,elevation:p,enableBackground:null,end:null,event:null,exponent:p,externalResourcesRequired:null,fill:null,fillOpacity:p,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:h,g2:h,glyphName:h,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:p,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:p,horizOriginX:p,horizOriginY:p,id:null,ideographic:p,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:p,k:p,k1:p,k2:p,k3:p,k4:p,kernelMatrix:m,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:p,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:p,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose: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,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:p,overlineThickness:p,paintOrder:null,panose1:null,path:null,pathLength:p,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:f,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:p,pointsAtY:p,pointsAtZ:p,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:m,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:m,rev:m,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:m,requiredFeatures:m,requiredFonts:m,requiredFormats:m,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:p,specularExponent:p,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:p,strikethroughThickness:p,string:null,stroke:null,strokeDashArray:m,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:p,strokeOpacity:p,strokeWidth:null,style:null,surfaceScale:p,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:m,tabIndex:p,tableValues:null,target:null,targetX:p,targetY:p,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:m,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:p,underlineThickness:p,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:p,values:null,vAlphabetic:p,vMathematical:p,vectorEffect:null,vHanging:p,vIdeographic:p,version:null,vertAdvY:p,vertOriginX:p,vertOriginY:p,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:p,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:T}),_=E({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),k=E({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:S}),x=E({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),C=i([v,A,_,k,x],"html"),w=i([v,O,_,k,x],"svg");var I=n(25668),R=n(86676);let N=/[A-Z]/g,L=/-[a-z]/g,D=/^data[-\w.:]+$/i;function P(e){return"-"+e.toLowerCase()}function M(e){return e.charAt(1).toUpperCase()}var F=n(50342);function B(e,t,n){let r=n?function(e){let t=new Map;for(let n of e)t.set(n.toLowerCase(),n);return t}(n):void 0;return function(n,a,...i){let l;if(null==n)l={type:"root",children:[]},i.unshift(a);else{l=(0,R.r)(n,t);let c=l.tagName.toLowerCase(),u=r?r.get(c):void 0;if(l.tagName=u||c,function(e){if(null===e||"object"!=typeof e||Array.isArray(e))return!0;if("string"!=typeof e.type)return!1;let t=Object.keys(e);for(let n of t){let t=e[n];if(t&&"object"==typeof t){if(!Array.isArray(t))return!0;for(let e of t)if("number"!=typeof e&&"string"!=typeof e)return!0}}return!!("children"in e&&Array.isArray(e.children))}(a))i.unshift(a);else for(let[t,n]of Object.entries(a))!function(e,t,n,r){let a;let i=function(e,t){let n=o(t),r=t,a=s;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&D.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(L,M);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!L.test(e)){let n=e.replace(N,P);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}a=y}return new a(r,t)}(e,n);if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;a=r}else a="boolean"==typeof r?r:"string"==typeof r?i.spaceSeparated?(0,F.Q)(r):i.commaSeparated?(0,I.Q)(r):i.commaOrSpaceSeparated?(0,F.Q)((0,I.Q)(r).join(" ")):j(i,i.property,r):Array.isArray(r)?[...r]:"style"===i.property?function(e){let t=[];for(let[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}(r):String(r);if(Array.isArray(a)){let e=[];for(let t of a)e.push(j(i,i.property,t));a=e}"className"===i.property&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}(e,l.properties,t,n)}for(let e of i)!function e(t,n){if(null==n);else if("number"==typeof n||"string"==typeof n)t.push({type:"text",value:String(n)});else if(Array.isArray(n))for(let r of n)e(t,r);else if("object"==typeof n&&"type"in n)"root"===n.type?e(t,n.children):t.push(n);else throw Error("Expected node, nodes, or string, got `"+n+"`")}(l.children,e);return"element"===l.type&&"template"===l.tagName&&(l.content={type:"root",children:l.children},l.children=[]),l}}function j(e,t,n){if("string"==typeof n){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(""===n||o(n)===o(t)))return!0}return n}let U=B(C,"div"),G=B(w,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]);var H=n(49911);function $(e,t){let n=function(e,t){switch(e.nodeType){case 1:return function(e,t){let n=e.namespaceURI,r=n===H.t.svg?G:U,a=n===H.t.html?e.tagName.toLowerCase():e.tagName,i=n===H.t.html&&"template"===a?e.content:e,o=e.getAttributeNames(),s={},l=-1;for(;++ln&&(n=e):e&&(void 0!==n&&n>-1&&l.push("\n".repeat(n)||" "),n=-1,l.push(e))}return l.join("")}(d,{whitespace:"pre"});try{a=es.ZP.renderToString(p,{...t,displayMode:c,throwOnError:!0})}catch(o){let i=o.name.toLowerCase();n.message("Could not render math with KaTeX",{ancestors:[...r,e],cause:o,place:e.position,ruleId:i,source:"rehype-katex"});try{a=es.ZP.renderToString(p,{...t,displayMode:c,strict:"ignore",throwOnError:!1})}catch{a=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(o)},children:[{type:"text",value:p}]}]}}if("string"==typeof a){let e=function(e,t){let n=t?.fragment?function(e){let t=document.createElement("template");return t.innerHTML=e,t.content}(e):Z.parseFromString(e,"text/html");return $(n,{})||{type:"root",children:[]}}(a,{fragment:!0});a=e.children}let f=u.children.indexOf(d);return u.children.splice(f,1,...a),el.AM})}}},12384:function(e,t,n){"use strict";n.d(t,{Z:function(){return tJ}});var r,a,i,o,s,l,c,u,d,p,f,h,m,g,b,y,E,v,T,S,A,O,_=n(52835),k=n(24345),x=n(91634),C=n(25668),w=n(86676),I=n(26103),R=n(28051),N=n(50342);let L=new Set(["button","menu","reset","submit"]),D={}.hasOwnProperty;function P(e,t,n){let r=n&&function(e){let t={},n=-1;for(;++n1?n[e.line-2]:0)+e.column-1;if(r-1&&e<=t.length){let r=0;for(;;){let a=n[r];if(void 0===a){let e=j(t,n[r-1]);a=-1===e?t.length+1:e+1,n[r]=a}if(a>e)return{line:r+1,column:e-(r>0?n[r-1]:0)+1,offset:e};r++}}}}}(t),a=r.toPoint(0),i=r.toPoint(t.length);(0,k.ok)(a,"expected `start`"),(0,k.ok)(i,"expected `end`"),n.position={start:a,end:i}}return n}case"#documentType":return Z(e,t,n={type:"doctype"}),n;case"#text":return n={type:"text",value:t.value},Z(e,t,n),n;default:return function(e,t){let n=e.schema;e.schema=t.namespaceURI===U.t.svg?x.YP:x.dy;let r=-1,a={};for(;++r=55296&&e<=57343}function ei(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function eo(e){return e>=64976&&e<=65007||en.has(e)}(a=m=m||(m={})).controlCharacterInInputStream="control-character-in-input-stream",a.noncharacterInInputStream="noncharacter-in-input-stream",a.surrogateInInputStream="surrogate-in-input-stream",a.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",a.endTagWithAttributes="end-tag-with-attributes",a.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",a.unexpectedSolidusInTag="unexpected-solidus-in-tag",a.unexpectedNullCharacter="unexpected-null-character",a.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",a.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",a.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",a.missingEndTagName="missing-end-tag-name",a.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",a.unknownNamedCharacterReference="unknown-named-character-reference",a.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",a.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",a.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",a.eofBeforeTagName="eof-before-tag-name",a.eofInTag="eof-in-tag",a.missingAttributeValue="missing-attribute-value",a.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",a.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",a.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",a.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",a.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",a.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",a.missingDoctypePublicIdentifier="missing-doctype-public-identifier",a.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",a.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",a.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",a.cdataInHtmlContent="cdata-in-html-content",a.incorrectlyOpenedComment="incorrectly-opened-comment",a.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",a.eofInDoctype="eof-in-doctype",a.nestedComment="nested-comment",a.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",a.eofInComment="eof-in-comment",a.incorrectlyClosedComment="incorrectly-closed-comment",a.eofInCdata="eof-in-cdata",a.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",a.nullCharacterReference="null-character-reference",a.surrogateCharacterReference="surrogate-character-reference",a.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",a.controlCharacterReference="control-character-reference",a.noncharacterCharacterReference="noncharacter-character-reference",a.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",a.missingDoctypeName="missing-doctype-name",a.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",a.duplicateAttribute="duplicate-attribute",a.nonConformingDoctype="non-conforming-doctype",a.missingDoctype="missing-doctype",a.misplacedDoctype="misplaced-doctype",a.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",a.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",a.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",a.openElementsLeftAfterEof="open-elements-left-after-eof",a.abandonedHeadElementChild="abandoned-head-element-child",a.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",a.nestedNoscriptInHead="nested-noscript-in-head",a.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text";class es{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e){let{line:t,col:n,offset:r}=this;return{code:e,startLine:t,endLine:t,startCol:n,endCol:n,startOffset:r,endOffset:r}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let t=this.html.charCodeAt(this.pos+1);if(t>=56320&&t<=57343)return this.pos++,this._addGap(),(e-55296)*1024+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,h.EOF;return this._err(m.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,h.EOF;let n=this.html.charCodeAt(t);return n===h.CARRIAGE_RETURN?h.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,h.EOF;let e=this.html.charCodeAt(this.pos);if(e===h.CARRIAGE_RETURN)return this.isEol=!0,this.skipNextNewLine=!0,h.LINE_FEED;if(e===h.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine))return this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance();this.skipNextNewLine=!1,ea(e)&&(e=this._processSurrogate(e));let t=null===this.handler.onParseError||e>31&&e<127||e===h.LINE_FEED||e===h.CARRIAGE_RETURN||e>159&&e<64976;return t||this._checkForProblematicCharacters(e),e}_checkForProblematicCharacters(e){ei(e)?this._err(m.controlCharacterInInputStream):eo(e)&&this._err(m.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}(i=g=g||(g={}))[i.CHARACTER=0]="CHARACTER",i[i.NULL_CHARACTER=1]="NULL_CHARACTER",i[i.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",i[i.START_TAG=3]="START_TAG",i[i.END_TAG=4]="END_TAG",i[i.COMMENT=5]="COMMENT",i[i.DOCTYPE=6]="DOCTYPE",i[i.EOF=7]="EOF",i[i.HIBERNATION=8]="HIBERNATION";var ec=n(60411);(o=b=b||(b={})).HTML="http://www.w3.org/1999/xhtml",o.MATHML="http://www.w3.org/1998/Math/MathML",o.SVG="http://www.w3.org/2000/svg",o.XLINK="http://www.w3.org/1999/xlink",o.XML="http://www.w3.org/XML/1998/namespace",o.XMLNS="http://www.w3.org/2000/xmlns/",(s=y=y||(y={})).TYPE="type",s.ACTION="action",s.ENCODING="encoding",s.PROMPT="prompt",s.NAME="name",s.COLOR="color",s.FACE="face",s.SIZE="size",(l=E=E||(E={})).NO_QUIRKS="no-quirks",l.QUIRKS="quirks",l.LIMITED_QUIRKS="limited-quirks",(c=v=v||(v={})).A="a",c.ADDRESS="address",c.ANNOTATION_XML="annotation-xml",c.APPLET="applet",c.AREA="area",c.ARTICLE="article",c.ASIDE="aside",c.B="b",c.BASE="base",c.BASEFONT="basefont",c.BGSOUND="bgsound",c.BIG="big",c.BLOCKQUOTE="blockquote",c.BODY="body",c.BR="br",c.BUTTON="button",c.CAPTION="caption",c.CENTER="center",c.CODE="code",c.COL="col",c.COLGROUP="colgroup",c.DD="dd",c.DESC="desc",c.DETAILS="details",c.DIALOG="dialog",c.DIR="dir",c.DIV="div",c.DL="dl",c.DT="dt",c.EM="em",c.EMBED="embed",c.FIELDSET="fieldset",c.FIGCAPTION="figcaption",c.FIGURE="figure",c.FONT="font",c.FOOTER="footer",c.FOREIGN_OBJECT="foreignObject",c.FORM="form",c.FRAME="frame",c.FRAMESET="frameset",c.H1="h1",c.H2="h2",c.H3="h3",c.H4="h4",c.H5="h5",c.H6="h6",c.HEAD="head",c.HEADER="header",c.HGROUP="hgroup",c.HR="hr",c.HTML="html",c.I="i",c.IMG="img",c.IMAGE="image",c.INPUT="input",c.IFRAME="iframe",c.KEYGEN="keygen",c.LABEL="label",c.LI="li",c.LINK="link",c.LISTING="listing",c.MAIN="main",c.MALIGNMARK="malignmark",c.MARQUEE="marquee",c.MATH="math",c.MENU="menu",c.META="meta",c.MGLYPH="mglyph",c.MI="mi",c.MO="mo",c.MN="mn",c.MS="ms",c.MTEXT="mtext",c.NAV="nav",c.NOBR="nobr",c.NOFRAMES="noframes",c.NOEMBED="noembed",c.NOSCRIPT="noscript",c.OBJECT="object",c.OL="ol",c.OPTGROUP="optgroup",c.OPTION="option",c.P="p",c.PARAM="param",c.PLAINTEXT="plaintext",c.PRE="pre",c.RB="rb",c.RP="rp",c.RT="rt",c.RTC="rtc",c.RUBY="ruby",c.S="s",c.SCRIPT="script",c.SECTION="section",c.SELECT="select",c.SOURCE="source",c.SMALL="small",c.SPAN="span",c.STRIKE="strike",c.STRONG="strong",c.STYLE="style",c.SUB="sub",c.SUMMARY="summary",c.SUP="sup",c.TABLE="table",c.TBODY="tbody",c.TEMPLATE="template",c.TEXTAREA="textarea",c.TFOOT="tfoot",c.TD="td",c.TH="th",c.THEAD="thead",c.TITLE="title",c.TR="tr",c.TRACK="track",c.TT="tt",c.U="u",c.UL="ul",c.SVG="svg",c.VAR="var",c.WBR="wbr",c.XMP="xmp",(u=T=T||(T={}))[u.UNKNOWN=0]="UNKNOWN",u[u.A=1]="A",u[u.ADDRESS=2]="ADDRESS",u[u.ANNOTATION_XML=3]="ANNOTATION_XML",u[u.APPLET=4]="APPLET",u[u.AREA=5]="AREA",u[u.ARTICLE=6]="ARTICLE",u[u.ASIDE=7]="ASIDE",u[u.B=8]="B",u[u.BASE=9]="BASE",u[u.BASEFONT=10]="BASEFONT",u[u.BGSOUND=11]="BGSOUND",u[u.BIG=12]="BIG",u[u.BLOCKQUOTE=13]="BLOCKQUOTE",u[u.BODY=14]="BODY",u[u.BR=15]="BR",u[u.BUTTON=16]="BUTTON",u[u.CAPTION=17]="CAPTION",u[u.CENTER=18]="CENTER",u[u.CODE=19]="CODE",u[u.COL=20]="COL",u[u.COLGROUP=21]="COLGROUP",u[u.DD=22]="DD",u[u.DESC=23]="DESC",u[u.DETAILS=24]="DETAILS",u[u.DIALOG=25]="DIALOG",u[u.DIR=26]="DIR",u[u.DIV=27]="DIV",u[u.DL=28]="DL",u[u.DT=29]="DT",u[u.EM=30]="EM",u[u.EMBED=31]="EMBED",u[u.FIELDSET=32]="FIELDSET",u[u.FIGCAPTION=33]="FIGCAPTION",u[u.FIGURE=34]="FIGURE",u[u.FONT=35]="FONT",u[u.FOOTER=36]="FOOTER",u[u.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",u[u.FORM=38]="FORM",u[u.FRAME=39]="FRAME",u[u.FRAMESET=40]="FRAMESET",u[u.H1=41]="H1",u[u.H2=42]="H2",u[u.H3=43]="H3",u[u.H4=44]="H4",u[u.H5=45]="H5",u[u.H6=46]="H6",u[u.HEAD=47]="HEAD",u[u.HEADER=48]="HEADER",u[u.HGROUP=49]="HGROUP",u[u.HR=50]="HR",u[u.HTML=51]="HTML",u[u.I=52]="I",u[u.IMG=53]="IMG",u[u.IMAGE=54]="IMAGE",u[u.INPUT=55]="INPUT",u[u.IFRAME=56]="IFRAME",u[u.KEYGEN=57]="KEYGEN",u[u.LABEL=58]="LABEL",u[u.LI=59]="LI",u[u.LINK=60]="LINK",u[u.LISTING=61]="LISTING",u[u.MAIN=62]="MAIN",u[u.MALIGNMARK=63]="MALIGNMARK",u[u.MARQUEE=64]="MARQUEE",u[u.MATH=65]="MATH",u[u.MENU=66]="MENU",u[u.META=67]="META",u[u.MGLYPH=68]="MGLYPH",u[u.MI=69]="MI",u[u.MO=70]="MO",u[u.MN=71]="MN",u[u.MS=72]="MS",u[u.MTEXT=73]="MTEXT",u[u.NAV=74]="NAV",u[u.NOBR=75]="NOBR",u[u.NOFRAMES=76]="NOFRAMES",u[u.NOEMBED=77]="NOEMBED",u[u.NOSCRIPT=78]="NOSCRIPT",u[u.OBJECT=79]="OBJECT",u[u.OL=80]="OL",u[u.OPTGROUP=81]="OPTGROUP",u[u.OPTION=82]="OPTION",u[u.P=83]="P",u[u.PARAM=84]="PARAM",u[u.PLAINTEXT=85]="PLAINTEXT",u[u.PRE=86]="PRE",u[u.RB=87]="RB",u[u.RP=88]="RP",u[u.RT=89]="RT",u[u.RTC=90]="RTC",u[u.RUBY=91]="RUBY",u[u.S=92]="S",u[u.SCRIPT=93]="SCRIPT",u[u.SECTION=94]="SECTION",u[u.SELECT=95]="SELECT",u[u.SOURCE=96]="SOURCE",u[u.SMALL=97]="SMALL",u[u.SPAN=98]="SPAN",u[u.STRIKE=99]="STRIKE",u[u.STRONG=100]="STRONG",u[u.STYLE=101]="STYLE",u[u.SUB=102]="SUB",u[u.SUMMARY=103]="SUMMARY",u[u.SUP=104]="SUP",u[u.TABLE=105]="TABLE",u[u.TBODY=106]="TBODY",u[u.TEMPLATE=107]="TEMPLATE",u[u.TEXTAREA=108]="TEXTAREA",u[u.TFOOT=109]="TFOOT",u[u.TD=110]="TD",u[u.TH=111]="TH",u[u.THEAD=112]="THEAD",u[u.TITLE=113]="TITLE",u[u.TR=114]="TR",u[u.TRACK=115]="TRACK",u[u.TT=116]="TT",u[u.U=117]="U",u[u.UL=118]="UL",u[u.SVG=119]="SVG",u[u.VAR=120]="VAR",u[u.WBR=121]="WBR",u[u.XMP=122]="XMP";let eu=new Map([[v.A,T.A],[v.ADDRESS,T.ADDRESS],[v.ANNOTATION_XML,T.ANNOTATION_XML],[v.APPLET,T.APPLET],[v.AREA,T.AREA],[v.ARTICLE,T.ARTICLE],[v.ASIDE,T.ASIDE],[v.B,T.B],[v.BASE,T.BASE],[v.BASEFONT,T.BASEFONT],[v.BGSOUND,T.BGSOUND],[v.BIG,T.BIG],[v.BLOCKQUOTE,T.BLOCKQUOTE],[v.BODY,T.BODY],[v.BR,T.BR],[v.BUTTON,T.BUTTON],[v.CAPTION,T.CAPTION],[v.CENTER,T.CENTER],[v.CODE,T.CODE],[v.COL,T.COL],[v.COLGROUP,T.COLGROUP],[v.DD,T.DD],[v.DESC,T.DESC],[v.DETAILS,T.DETAILS],[v.DIALOG,T.DIALOG],[v.DIR,T.DIR],[v.DIV,T.DIV],[v.DL,T.DL],[v.DT,T.DT],[v.EM,T.EM],[v.EMBED,T.EMBED],[v.FIELDSET,T.FIELDSET],[v.FIGCAPTION,T.FIGCAPTION],[v.FIGURE,T.FIGURE],[v.FONT,T.FONT],[v.FOOTER,T.FOOTER],[v.FOREIGN_OBJECT,T.FOREIGN_OBJECT],[v.FORM,T.FORM],[v.FRAME,T.FRAME],[v.FRAMESET,T.FRAMESET],[v.H1,T.H1],[v.H2,T.H2],[v.H3,T.H3],[v.H4,T.H4],[v.H5,T.H5],[v.H6,T.H6],[v.HEAD,T.HEAD],[v.HEADER,T.HEADER],[v.HGROUP,T.HGROUP],[v.HR,T.HR],[v.HTML,T.HTML],[v.I,T.I],[v.IMG,T.IMG],[v.IMAGE,T.IMAGE],[v.INPUT,T.INPUT],[v.IFRAME,T.IFRAME],[v.KEYGEN,T.KEYGEN],[v.LABEL,T.LABEL],[v.LI,T.LI],[v.LINK,T.LINK],[v.LISTING,T.LISTING],[v.MAIN,T.MAIN],[v.MALIGNMARK,T.MALIGNMARK],[v.MARQUEE,T.MARQUEE],[v.MATH,T.MATH],[v.MENU,T.MENU],[v.META,T.META],[v.MGLYPH,T.MGLYPH],[v.MI,T.MI],[v.MO,T.MO],[v.MN,T.MN],[v.MS,T.MS],[v.MTEXT,T.MTEXT],[v.NAV,T.NAV],[v.NOBR,T.NOBR],[v.NOFRAMES,T.NOFRAMES],[v.NOEMBED,T.NOEMBED],[v.NOSCRIPT,T.NOSCRIPT],[v.OBJECT,T.OBJECT],[v.OL,T.OL],[v.OPTGROUP,T.OPTGROUP],[v.OPTION,T.OPTION],[v.P,T.P],[v.PARAM,T.PARAM],[v.PLAINTEXT,T.PLAINTEXT],[v.PRE,T.PRE],[v.RB,T.RB],[v.RP,T.RP],[v.RT,T.RT],[v.RTC,T.RTC],[v.RUBY,T.RUBY],[v.S,T.S],[v.SCRIPT,T.SCRIPT],[v.SECTION,T.SECTION],[v.SELECT,T.SELECT],[v.SOURCE,T.SOURCE],[v.SMALL,T.SMALL],[v.SPAN,T.SPAN],[v.STRIKE,T.STRIKE],[v.STRONG,T.STRONG],[v.STYLE,T.STYLE],[v.SUB,T.SUB],[v.SUMMARY,T.SUMMARY],[v.SUP,T.SUP],[v.TABLE,T.TABLE],[v.TBODY,T.TBODY],[v.TEMPLATE,T.TEMPLATE],[v.TEXTAREA,T.TEXTAREA],[v.TFOOT,T.TFOOT],[v.TD,T.TD],[v.TH,T.TH],[v.THEAD,T.THEAD],[v.TITLE,T.TITLE],[v.TR,T.TR],[v.TRACK,T.TRACK],[v.TT,T.TT],[v.U,T.U],[v.UL,T.UL],[v.SVG,T.SVG],[v.VAR,T.VAR],[v.WBR,T.WBR],[v.XMP,T.XMP]]);function ed(e){var t;return null!==(t=eu.get(e))&&void 0!==t?t:T.UNKNOWN}let ep=T,ef={[b.HTML]:new Set([ep.ADDRESS,ep.APPLET,ep.AREA,ep.ARTICLE,ep.ASIDE,ep.BASE,ep.BASEFONT,ep.BGSOUND,ep.BLOCKQUOTE,ep.BODY,ep.BR,ep.BUTTON,ep.CAPTION,ep.CENTER,ep.COL,ep.COLGROUP,ep.DD,ep.DETAILS,ep.DIR,ep.DIV,ep.DL,ep.DT,ep.EMBED,ep.FIELDSET,ep.FIGCAPTION,ep.FIGURE,ep.FOOTER,ep.FORM,ep.FRAME,ep.FRAMESET,ep.H1,ep.H2,ep.H3,ep.H4,ep.H5,ep.H6,ep.HEAD,ep.HEADER,ep.HGROUP,ep.HR,ep.HTML,ep.IFRAME,ep.IMG,ep.INPUT,ep.LI,ep.LINK,ep.LISTING,ep.MAIN,ep.MARQUEE,ep.MENU,ep.META,ep.NAV,ep.NOEMBED,ep.NOFRAMES,ep.NOSCRIPT,ep.OBJECT,ep.OL,ep.P,ep.PARAM,ep.PLAINTEXT,ep.PRE,ep.SCRIPT,ep.SECTION,ep.SELECT,ep.SOURCE,ep.STYLE,ep.SUMMARY,ep.TABLE,ep.TBODY,ep.TD,ep.TEMPLATE,ep.TEXTAREA,ep.TFOOT,ep.TH,ep.THEAD,ep.TITLE,ep.TR,ep.TRACK,ep.UL,ep.WBR,ep.XMP]),[b.MATHML]:new Set([ep.MI,ep.MO,ep.MN,ep.MS,ep.MTEXT,ep.ANNOTATION_XML]),[b.SVG]:new Set([ep.TITLE,ep.FOREIGN_OBJECT,ep.DESC]),[b.XLINK]:new Set,[b.XML]:new Set,[b.XMLNS]:new Set};function eh(e){return e===ep.H1||e===ep.H2||e===ep.H3||e===ep.H4||e===ep.H5||e===ep.H6}v.STYLE,v.SCRIPT,v.XMP,v.IFRAME,v.NOEMBED,v.NOFRAMES,v.PLAINTEXT;let em=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);(d=S||(S={}))[d.DATA=0]="DATA",d[d.RCDATA=1]="RCDATA",d[d.RAWTEXT=2]="RAWTEXT",d[d.SCRIPT_DATA=3]="SCRIPT_DATA",d[d.PLAINTEXT=4]="PLAINTEXT",d[d.TAG_OPEN=5]="TAG_OPEN",d[d.END_TAG_OPEN=6]="END_TAG_OPEN",d[d.TAG_NAME=7]="TAG_NAME",d[d.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",d[d.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",d[d.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",d[d.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",d[d.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",d[d.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",d[d.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",d[d.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",d[d.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",d[d.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",d[d.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",d[d.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",d[d.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",d[d.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",d[d.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",d[d.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",d[d.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",d[d.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",d[d.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",d[d.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",d[d.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",d[d.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",d[d.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",d[d.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",d[d.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",d[d.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",d[d.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",d[d.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",d[d.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",d[d.BOGUS_COMMENT=40]="BOGUS_COMMENT",d[d.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",d[d.COMMENT_START=42]="COMMENT_START",d[d.COMMENT_START_DASH=43]="COMMENT_START_DASH",d[d.COMMENT=44]="COMMENT",d[d.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",d[d.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",d[d.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",d[d.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",d[d.COMMENT_END_DASH=49]="COMMENT_END_DASH",d[d.COMMENT_END=50]="COMMENT_END",d[d.COMMENT_END_BANG=51]="COMMENT_END_BANG",d[d.DOCTYPE=52]="DOCTYPE",d[d.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",d[d.DOCTYPE_NAME=54]="DOCTYPE_NAME",d[d.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",d[d.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",d[d.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",d[d.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",d[d.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",d[d.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",d[d.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",d[d.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",d[d.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",d[d.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",d[d.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",d[d.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",d[d.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",d[d.CDATA_SECTION=68]="CDATA_SECTION",d[d.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",d[d.CDATA_SECTION_END=70]="CDATA_SECTION_END",d[d.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",d[d.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",d[d.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",d[d.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",d[d.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",d[d.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",d[d.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",d[d.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END";let eg={DATA:S.DATA,RCDATA:S.RCDATA,RAWTEXT:S.RAWTEXT,SCRIPT_DATA:S.SCRIPT_DATA,PLAINTEXT:S.PLAINTEXT,CDATA_SECTION:S.CDATA_SECTION};function eb(e){return e>=h.DIGIT_0&&e<=h.DIGIT_9}function ey(e){return e>=h.LATIN_CAPITAL_A&&e<=h.LATIN_CAPITAL_Z}function eE(e){return e>=h.LATIN_SMALL_A&&e<=h.LATIN_SMALL_Z||ey(e)}function ev(e){return eE(e)||eb(e)}function eT(e){return e>=h.LATIN_CAPITAL_A&&e<=h.LATIN_CAPITAL_F}function eS(e){return e>=h.LATIN_SMALL_A&&e<=h.LATIN_SMALL_F}function eA(e){return e===h.SPACE||e===h.LINE_FEED||e===h.TABULATION||e===h.FORM_FEED}function eO(e){return eA(e)||e===h.SOLIDUS||e===h.GREATER_THAN_SIGN}class e_{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=S.DATA,this.returnState=S.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new es(t),this.currentLocation=this.getCurrentLocation(-1)}_err(e){var t,n;null===(n=(t=this.handler).onParseError)||void 0===n||n.call(t,this.preprocessor.getError(e))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw Error("Parser was already resumed");this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(e){this.consumedAfterSnapshot-=e,this.preprocessor.retreat(e)}_reconsumeInState(e,t){this.state=e,this._callState(t)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t0&&this._err(m.endTagWithAttributes),e.selfClosing&&this._err(m.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case g.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case g.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case g.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:g.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type!==e)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=t;return}}this._createCharacterToken(e,t)}_emitCodePoint(e){let t=eA(e)?g.WHITESPACE_CHARACTER:e===h.NULL?g.NULL_CHARACTER:g.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(g.CHARACTER,e)}_matchNamedCharacterReference(e){let t=null,n=0,r=!1;for(let i=0,o=ec.HP[0];i>=0&&!((i=(0,ec.Go)(ec.HP,o,i+1,e))<0);e=this._consume()){n+=1,o=ec.HP[i];let s=o&ec.ge.VALUE_LENGTH;if(s){var a;let o=(s>>14)-1;if(e!==h.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((a=this.preprocessor.peek(1))===h.EQUALS_SIGN||ev(a))?(t=[h.AMPERSAND],i+=o):(t=0===o?[ec.HP[i]&~ec.ge.VALUE_LENGTH]:1===o?[ec.HP[++i]]:[ec.HP[++i],ec.HP[++i]],n=0,r=e!==h.SEMICOLON),0===o){this._consume();break}}}return this._unconsume(n),r&&!this.preprocessor.endOfChunkHit&&this._err(m.missingSemicolonAfterCharacterReference),this._unconsume(1),t}_isCharacterReferenceInAttribute(){return this.returnState===S.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case S.DATA:this._stateData(e);break;case S.RCDATA:this._stateRcdata(e);break;case S.RAWTEXT:this._stateRawtext(e);break;case S.SCRIPT_DATA:this._stateScriptData(e);break;case S.PLAINTEXT:this._statePlaintext(e);break;case S.TAG_OPEN:this._stateTagOpen(e);break;case S.END_TAG_OPEN:this._stateEndTagOpen(e);break;case S.TAG_NAME:this._stateTagName(e);break;case S.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case S.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case S.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case S.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case S.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case S.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case S.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case S.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case S.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case S.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case S.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case S.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case S.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case S.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case S.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case S.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case S.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case S.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case S.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case S.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case S.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case S.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case S.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case S.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case S.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case S.BOGUS_COMMENT:this._stateBogusComment(e);break;case S.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case S.COMMENT_START:this._stateCommentStart(e);break;case S.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case S.COMMENT:this._stateComment(e);break;case S.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case S.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case S.COMMENT_END:this._stateCommentEnd(e);break;case S.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case S.DOCTYPE:this._stateDoctype(e);break;case S.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case S.DOCTYPE_NAME:this._stateDoctypeName(e);break;case S.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case S.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case S.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case S.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case S.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case S.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case S.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case S.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case S.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case S.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case S.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case S.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case S.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case S.CDATA_SECTION:this._stateCdataSection(e);break;case S.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case S.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case S.CHARACTER_REFERENCE:this._stateCharacterReference(e);break;case S.NAMED_CHARACTER_REFERENCE:this._stateNamedCharacterReference(e);break;case S.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;case S.NUMERIC_CHARACTER_REFERENCE:this._stateNumericCharacterReference(e);break;case S.HEXADEMICAL_CHARACTER_REFERENCE_START:this._stateHexademicalCharacterReferenceStart(e);break;case S.HEXADEMICAL_CHARACTER_REFERENCE:this._stateHexademicalCharacterReference(e);break;case S.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(e);break;case S.NUMERIC_CHARACTER_REFERENCE_END:this._stateNumericCharacterReferenceEnd(e);break;default:throw Error("Unknown state")}}_stateData(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.TAG_OPEN;break;case h.AMPERSAND:this.returnState=S.DATA,this.state=S.CHARACTER_REFERENCE;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitCodePoint(e);break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case h.AMPERSAND:this.returnState=S.RCDATA,this.state=S.CHARACTER_REFERENCE;break;case h.LESS_THAN_SIGN:this.state=S.RCDATA_LESS_THAN_SIGN;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.RAWTEXT_LESS_THAN_SIGN;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.SCRIPT_DATA_LESS_THAN_SIGN;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(eE(e))this._createStartTagToken(),this.state=S.TAG_NAME,this._stateTagName(e);else switch(e){case h.EXCLAMATION_MARK:this.state=S.MARKUP_DECLARATION_OPEN;break;case h.SOLIDUS:this.state=S.END_TAG_OPEN;break;case h.QUESTION_MARK:this._err(m.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=S.BOGUS_COMMENT,this._stateBogusComment(e);break;case h.EOF:this._err(m.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(m.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=S.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(eE(e))this._createEndTagToken(),this.state=S.TAG_NAME,this._stateTagName(e);else switch(e){case h.GREATER_THAN_SIGN:this._err(m.missingEndTagName),this.state=S.DATA;break;case h.EOF:this._err(m.eofBeforeTagName),this._emitChars("");break;case h.NULL:this._err(m.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case h.EOF:this._err(m.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===h.SOLIDUS?this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:eE(e)?(this._emitChars("<"),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=S.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){eE(e)?(this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("");break;case h.NULL:this._err(m.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case h.EOF:this._err(m.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===h.SOLIDUS?(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(er.SCRIPT,!1)&&eO(this.preprocessor.peek(er.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e1114111)this._err(m.characterReferenceOutsideUnicodeRange),this.charRefCode=h.REPLACEMENT_CHARACTER;else if(ea(this.charRefCode))this._err(m.surrogateCharacterReference),this.charRefCode=h.REPLACEMENT_CHARACTER;else if(eo(this.charRefCode))this._err(m.noncharacterCharacterReference);else if(ei(this.charRefCode)||this.charRefCode===h.CARRIAGE_RETURN){this._err(m.controlCharacterReference);let e=em.get(this.charRefCode);void 0!==e&&(this.charRefCode=e)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}}let ek=new Set([T.DD,T.DT,T.LI,T.OPTGROUP,T.OPTION,T.P,T.RB,T.RP,T.RT,T.RTC]),ex=new Set([...ek,T.CAPTION,T.COLGROUP,T.TBODY,T.TD,T.TFOOT,T.TH,T.THEAD,T.TR]),eC=new Map([[T.APPLET,b.HTML],[T.CAPTION,b.HTML],[T.HTML,b.HTML],[T.MARQUEE,b.HTML],[T.OBJECT,b.HTML],[T.TABLE,b.HTML],[T.TD,b.HTML],[T.TEMPLATE,b.HTML],[T.TH,b.HTML],[T.ANNOTATION_XML,b.MATHML],[T.MI,b.MATHML],[T.MN,b.MATHML],[T.MO,b.MATHML],[T.MS,b.MATHML],[T.MTEXT,b.MATHML],[T.DESC,b.SVG],[T.FOREIGN_OBJECT,b.SVG],[T.TITLE,b.SVG]]),ew=[T.H1,T.H2,T.H3,T.H4,T.H5,T.H6],eI=[T.TR,T.TEMPLATE,T.HTML],eR=[T.TBODY,T.TFOOT,T.THEAD,T.TEMPLATE,T.HTML],eN=[T.TABLE,T.TEMPLATE,T.HTML],eL=[T.TD,T.TH];class eD{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=T.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===T.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===b.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){let r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==b.HTML);this.shortenToLength(t<0?0:t)}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop=0;n--)if(e.includes(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return -1}clearBackTo(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(eN,b.HTML)}clearBackToTableBodyContext(){this.clearBackTo(eR,b.HTML)}clearBackToTableRowContext(){this.clearBackTo(eI,b.HTML)}remove(e){let t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===T.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===T.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(eC.get(n)===r)return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(eh(t)&&n===b.HTML)break;if(eC.get(t)===n)return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if((n===T.UL||n===T.OL)&&r===b.HTML||eC.get(n)===r)return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(n===T.BUTTON&&r===b.HTML||eC.get(n)===r)return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n===T.TABLE||n===T.TEMPLATE||n===T.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(n===b.HTML){if(t===T.TBODY||t===T.THEAD||t===T.TFOOT)break;if(t===T.TABLE||t===T.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n!==T.OPTION&&n!==T.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;ek.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;ex.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&ex.has(this.currentTagId);)this.pop()}}(p=A=A||(A={}))[p.Marker=0]="Marker",p[p.Element=1]="Element";let eP={type:A.Marker};class eM{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let n=[],r=t.length,a=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let e=0;e[e.name,e.value])),a=0;for(let e=0;er.get(e.name)===e.value)&&(a+=1)>=3&&this.entries.splice(t.idx,1)}}insertMarker(){this.entries.unshift(eP)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:A.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:A.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);t>=0&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(eP);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===A.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===A.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===A.Element&&t.element===e)}}function eF(e){return{nodeName:"#text",value:e,parentNode:null}}let eB={createDocument:()=>({nodeName:"#document",mode:E.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){let r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,n,r){let a=e.childNodes.find(e=>"#documentType"===e.nodeName);a?(a.name=t,a.publicId=n,a.systemId=r):eB.appendChild(e,{nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null})},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let n=e.childNodes[e.childNodes.length-1];if(eB.isTextNode(n)){n.value+=t;return}}eB.appendChild(e,eF(t))},insertTextBefore(e,t,n){let r=e.childNodes[e.childNodes.indexOf(n)-1];r&&eB.isTextNode(r)?r.value+=t:eB.insertBefore(e,eF(t),n)},adoptAttributes(e,t){let n=new Set(e.attrs.map(e=>e.name));for(let r=0;re.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},ej="html",eU=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],eG=[...eU,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],eH=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),e$=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],ez=[...e$,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function eZ(e,t){return t.some(t=>e.startsWith(t))}let eW={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},eV=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),eY=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:b.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:b.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:b.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:b.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:b.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:b.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:b.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:b.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:b.XML}],["xml:space",{prefix:"xml",name:"space",namespace:b.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:b.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:b.XMLNS}]]),eq=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),eK=new Set([T.B,T.BIG,T.BLOCKQUOTE,T.BODY,T.BR,T.CENTER,T.CODE,T.DD,T.DIV,T.DL,T.DT,T.EM,T.EMBED,T.H1,T.H2,T.H3,T.H4,T.H5,T.H6,T.HEAD,T.HR,T.I,T.IMG,T.LI,T.LISTING,T.MENU,T.META,T.NOBR,T.OL,T.P,T.PRE,T.RUBY,T.S,T.SMALL,T.SPAN,T.STRONG,T.STRIKE,T.SUB,T.SUP,T.TABLE,T.TT,T.U,T.UL,T.VAR]);function eX(e){for(let t=0;t0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null===(r=(n=this.treeAdapter).onItemPop)||void 0===r||r.call(n,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let n=e===this.document||this.treeAdapter.getNamespaceURI(e)===b.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,b.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=O.TEXT}switchToPlaintextParsing(){this.insertionMode=O.TEXT,this.originalInsertionMode=O.IN_BODY,this.tokenizer.state=eg.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===v.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===b.HTML)switch(this.fragmentContextID){case T.TITLE:case T.TEXTAREA:this.tokenizer.state=eg.RCDATA;break;case T.STYLE:case T.XMP:case T.IFRAME:case T.NOEMBED:case T.NOFRAMES:case T.NOSCRIPT:this.tokenizer.state=eg.RAWTEXT;break;case T.SCRIPT:this.tokenizer.state=eg.SCRIPT_DATA;break;case T.PLAINTEXT:this.tokenizer.state=eg.PLAINTEXT}}_setDocumentType(e){let t=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){let t=this.treeAdapter.getChildNodes(this.document),n=t.find(e=>this.treeAdapter.isDocumentTypeNode(e));n&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){let n=this.treeAdapter.createElement(e,b.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,b.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(v.HTML,b.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,T.HTML)}_appendCommentNode(e,t){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let r=this.treeAdapter.getChildNodes(t),a=n?r.lastIndexOf(n):r.length,i=r[a-1],o=this.treeAdapter.getNodeSourceCodeLocation(i);if(o){let{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let n=t.location,r=this.treeAdapter.getTagName(e),a=t.type===g.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,a)}}shouldProcessStartTagTokenInForeignContent(e){let t,n;return!!this.currentNotInHTML&&(0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):{current:t,currentTagId:n}=this.openElements,(e.tagID!==T.SVG||this.treeAdapter.getTagName(t)!==v.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==b.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===T.MGLYPH||e.tagID===T.MALIGNMARK)&&!this._isIntegrationPoint(n,t,b.HTML)))}_processToken(e){switch(e.type){case g.CHARACTER:this.onCharacter(e);break;case g.NULL_CHARACTER:this.onNullCharacter(e);break;case g.COMMENT:this.onComment(e);break;case g.DOCTYPE:this.onDoctype(e);break;case g.START_TAG:this._processStartTag(e);break;case g.END_TAG:this.onEndTag(e);break;case g.EOF:this.onEof(e);break;case g.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){let r=this.treeAdapter.getNamespaceURI(t),a=this.treeAdapter.getAttrList(t);return(!n||n===b.HTML)&&function(e,t,n){if(t===b.MATHML&&e===T.ANNOTATION_XML){for(let e=0;ee.type===A.Marker||this.openElements.contains(e.element)),n=t<0?e-1:t-1;for(let e=n;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=O.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(T.P),this.openElements.popUntilTagNamePopped(T.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case T.TR:this.insertionMode=O.IN_ROW;return;case T.TBODY:case T.THEAD:case T.TFOOT:this.insertionMode=O.IN_TABLE_BODY;return;case T.CAPTION:this.insertionMode=O.IN_CAPTION;return;case T.COLGROUP:this.insertionMode=O.IN_COLUMN_GROUP;return;case T.TABLE:this.insertionMode=O.IN_TABLE;return;case T.BODY:this.insertionMode=O.IN_BODY;return;case T.FRAMESET:this.insertionMode=O.IN_FRAMESET;return;case T.SELECT:this._resetInsertionModeForSelect(e);return;case T.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case T.HTML:this.insertionMode=this.headElement?O.AFTER_HEAD:O.BEFORE_HEAD;return;case T.TD:case T.TH:if(e>0){this.insertionMode=O.IN_CELL;return}break;case T.HEAD:if(e>0){this.insertionMode=O.IN_HEAD;return}}this.insertionMode=O.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===T.TEMPLATE)break;if(e===T.TABLE){this.insertionMode=O.IN_SELECT_IN_TABLE;return}}this.insertionMode=O.IN_SELECT}_isElementCausesFosterParenting(e){return e1.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case T.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===b.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case T.TABLE:{let n=this.treeAdapter.getParentNode(t);if(n)return{parent:n,beforeElement:t};return{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){let n=this.treeAdapter.getNamespaceURI(e);return ef[n].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){this._insertCharacters(e),this.framesetOk=!1;return}switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.IN_BODY:case O.IN_CAPTION:case O.IN_CELL:case O.IN_TEMPLATE:ts(this,e);break;case O.TEXT:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tg(this,e);break;case O.IN_TABLE_TEXT:tT(this,e);break;case O.IN_COLUMN_GROUP:t_(this,e);break;case O.AFTER_BODY:tD(this,e);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){e.chars="�",this._insertCharacters(e);return}switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.TEXT:this._insertCharacters(e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tg(this,e);break;case O.IN_COLUMN_GROUP:t_(this,e);break;case O.AFTER_BODY:tD(this,e);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){e4(this,e);return}switch(this.insertionMode){case O.INITIAL:case O.BEFORE_HTML:case O.BEFORE_HEAD:case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:case O.IN_BODY:case O.IN_TABLE:case O.IN_CAPTION:case O.IN_COLUMN_GROUP:case O.IN_TABLE_BODY:case O.IN_ROW:case O.IN_CELL:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:case O.IN_TEMPLATE:case O.IN_FRAMESET:case O.AFTER_FRAMESET:e4(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case O.INITIAL:!function(e,t){e._setDocumentType(t);let n=t.forceQuirks?E.QUIRKS:function(e){if(e.name!==ej)return E.QUIRKS;let{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return E.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),eH.has(n))return E.QUIRKS;let e=null===t?eG:eU;if(eZ(n,e))return E.QUIRKS;if(eZ(n,e=null===t?e$:ez))return E.LIMITED_QUIRKS}return E.NO_QUIRKS}(t);t.name===ej&&null===t.publicId&&(null===t.systemId||"about:legacy-compat"===t.systemId)||e._err(t,m.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=O.BEFORE_HTML}(this,e);break;case O.BEFORE_HEAD:case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:this._err(e,m.misplacedDoctype);break;case O.IN_TABLE_TEXT:tS(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,m.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){let t=e.tagID,n=t===T.FONT&&e.attrs.some(({name:e})=>e===y.COLOR||e===y.SIZE||e===y.FACE);return n||eK.has(t)}(t))tM(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===b.MATHML?eX(t):r===b.SVG&&(function(e){let t=eq.get(e.tagName);null!=t&&(e.tagName=t,e.tagID=ed(e.tagName))}(t),eQ(t)),eJ(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e.tagID===T.HTML?(this._insertElement(e,b.HTML),this.insertionMode=O.BEFORE_HEAD):e8(this,e);break;case O.BEFORE_HEAD:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.HEAD:e._insertElement(t,b.HTML),e.headElement=e.openElements.current,e.insertionMode=O.IN_HEAD;break;default:e7(e,t)}}(this,e);break;case O.IN_HEAD:te(this,e);break;case O.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BASEFONT:case T.BGSOUND:case T.HEAD:case T.LINK:case T.META:case T.NOFRAMES:case T.STYLE:te(e,t);break;case T.NOSCRIPT:e._err(t,m.nestedNoscriptInHead);break;default:tr(e,t)}}(this,e);break;case O.AFTER_HEAD:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BODY:e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=O.IN_BODY;break;case T.FRAMESET:e._insertElement(t,b.HTML),e.insertionMode=O.IN_FRAMESET;break;case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:e._err(t,m.abandonedHeadElementChild),e.openElements.push(e.headElement,T.HEAD),te(e,t),e.openElements.remove(e.headElement);break;case T.HEAD:e._err(t,m.misplacedStartTagForHeadElement);break;default:ta(e,t)}}(this,e);break;case O.IN_BODY:tp(this,e);break;case O.IN_TABLE:tb(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_CAPTION:!function(e,t){let n=t.tagID;tA.has(n)?e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_TABLE,tb(e,t)):tp(e,t)}(this,e);break;case O.IN_COLUMN_GROUP:tO(this,e);break;case O.IN_TABLE_BODY:tk(this,e);break;case O.IN_ROW:tC(this,e);break;case O.IN_CELL:!function(e,t){let n=t.tagID;tA.has(n)?(e.openElements.hasInTableScope(T.TD)||e.openElements.hasInTableScope(T.TH))&&(e._closeTableCell(),tC(e,t)):tp(e,t)}(this,e);break;case O.IN_SELECT:tI(this,e);break;case O.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e._processStartTag(t)):tI(e,t)}(this,e);break;case O.IN_TEMPLATE:!function(e,t){switch(t.tagID){case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:te(e,t);break;case T.CAPTION:case T.COLGROUP:case T.TBODY:case T.TFOOT:case T.THEAD:e.tmplInsertionModeStack[0]=O.IN_TABLE,e.insertionMode=O.IN_TABLE,tb(e,t);break;case T.COL:e.tmplInsertionModeStack[0]=O.IN_COLUMN_GROUP,e.insertionMode=O.IN_COLUMN_GROUP,tO(e,t);break;case T.TR:e.tmplInsertionModeStack[0]=O.IN_TABLE_BODY,e.insertionMode=O.IN_TABLE_BODY,tk(e,t);break;case T.TD:case T.TH:e.tmplInsertionModeStack[0]=O.IN_ROW,e.insertionMode=O.IN_ROW,tC(e,t);break;default:e.tmplInsertionModeStack[0]=O.IN_BODY,e.insertionMode=O.IN_BODY,tp(e,t)}}(this,e);break;case O.AFTER_BODY:e.tagID===T.HTML?tp(this,e):tD(this,e);break;case O.IN_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.FRAMESET:e._insertElement(t,b.HTML);break;case T.FRAME:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.NOFRAMES:te(e,t)}}(this,e);break;case O.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.NOFRAMES:te(e,t)}}(this,e);break;case O.AFTER_AFTER_BODY:e.tagID===T.HTML?tp(this,e):tP(this,e);break;case O.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.NOFRAMES:te(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===T.P||t.tagID===T.BR){tM(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){let r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===b.HTML){e._endTagOutsideForeignContent(t);break}let a=e.treeAdapter.getTagName(r);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){var t;switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:!function(e,t){let n=t.tagID;(n===T.HTML||n===T.HEAD||n===T.BODY||n===T.BR)&&e8(e,t)}(this,e);break;case O.BEFORE_HEAD:!function(e,t){let n=t.tagID;n===T.HEAD||n===T.BODY||n===T.HTML||n===T.BR?e7(e,t):e._err(t,m.endTagWithoutMatchingOpenElement)}(this,e);break;case O.IN_HEAD:!function(e,t){switch(t.tagID){case T.HEAD:e.openElements.pop(),e.insertionMode=O.AFTER_HEAD;break;case T.BODY:case T.BR:case T.HTML:tn(e,t);break;case T.TEMPLATE:tt(e,t);break;default:e._err(t,m.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case T.NOSCRIPT:e.openElements.pop(),e.insertionMode=O.IN_HEAD;break;case T.BR:tr(e,t);break;default:e._err(t,m.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.AFTER_HEAD:!function(e,t){switch(t.tagID){case T.BODY:case T.HTML:case T.BR:ta(e,t);break;case T.TEMPLATE:tt(e,t);break;default:e._err(t,m.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.IN_BODY:th(this,e);break;case O.TEXT:e.tagID===T.SCRIPT&&(null===(t=this.scriptHandler)||void 0===t||t.call(this,this.openElements.current)),this.openElements.pop(),this.insertionMode=this.originalInsertionMode;break;case O.IN_TABLE:ty(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_CAPTION:!function(e,t){let n=t.tagID;switch(n){case T.CAPTION:case T.TABLE:e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_TABLE,n===T.TABLE&&ty(e,t));break;case T.BODY:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:th(e,t)}}(this,e);break;case O.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case T.COLGROUP:e.openElements.currentTagId===T.COLGROUP&&(e.openElements.pop(),e.insertionMode=O.IN_TABLE);break;case T.TEMPLATE:tt(e,t);break;case T.COL:break;default:t_(e,t)}}(this,e);break;case O.IN_TABLE_BODY:tx(this,e);break;case O.IN_ROW:tw(this,e);break;case O.IN_CELL:!function(e,t){let n=t.tagID;switch(n){case T.TD:case T.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_ROW);break;case T.TABLE:case T.TBODY:case T.TFOOT:case T.THEAD:case T.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),tw(e,t));break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:break;default:th(e,t)}}(this,e);break;case O.IN_SELECT:tR(this,e);break;case O.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e.onEndTag(t)):tR(e,t)}(this,e);break;case O.IN_TEMPLATE:e.tagID===T.TEMPLATE&&tt(this,e);break;case O.AFTER_BODY:tL(this,e);break;case O.IN_FRAMESET:e.tagID!==T.FRAMESET||this.openElements.isRootHtmlElementCurrent()||(this.openElements.pop(),this.fragmentContext||this.openElements.currentTagId===T.FRAMESET||(this.insertionMode=O.AFTER_FRAMESET));break;case O.AFTER_FRAMESET:e.tagID===T.HTML&&(this.insertionMode=O.AFTER_AFTER_FRAMESET);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onEof(e){switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.IN_BODY:case O.IN_TABLE:case O.IN_CAPTION:case O.IN_COLUMN_GROUP:case O.IN_TABLE_BODY:case O.IN_ROW:case O.IN_CELL:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:tm(this,e);break;case O.TEXT:this._err(e,m.eofInElementThatCanContainOnlyText),this.openElements.pop(),this.insertionMode=this.originalInsertionMode,this.onEof(e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_TEMPLATE:tN(this,e);break;case O.AFTER_BODY:case O.IN_FRAMESET:case O.AFTER_FRAMESET:case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:e6(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===h.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:case O.TEXT:case O.IN_COLUMN_GROUP:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:case O.IN_FRAMESET:case O.AFTER_FRAMESET:this._insertCharacters(e);break;case O.IN_BODY:case O.IN_CAPTION:case O.IN_CELL:case O.IN_TEMPLATE:case O.AFTER_BODY:case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:to(this,e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tg(this,e);break;case O.IN_TABLE_TEXT:tv(this,e)}}}function e5(e,t){for(let n=0;n<8;n++){let n=function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):tf(e,t),n}(e,t);if(!n)break;let r=function(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){let a=e.openElements.items[r];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[r])&&(n=a)}return n||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;let a=function(e,t,n){let r=t,a=e.openElements.getCommonAncestor(t);for(let i=0,o=a;o!==n;i++,o=a){a=e.openElements.getCommonAncestor(o);let n=e.activeFormattingElements.getElementEntry(o),s=n&&i>=3,l=!n||s;l?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(o)):(o=function(e,t){let n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}(e,r,n.element),i=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(a),i&&function(e,t,n){let r=e.treeAdapter.getTagName(t),a=ed(r);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(n);else{let r=e.treeAdapter.getNamespaceURI(t);a===T.TEMPLATE&&r===b.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}(e,i,a),function(e,t,n){let r=e.treeAdapter.getNamespaceURI(n.element),{token:a}=n,i=e.treeAdapter.createElement(a.tagName,r,a.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,a),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,a.tagID)}(e,r,n)}}function e4(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function e6(e,t){if(e.stopped=!0,t.location){let n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){let n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function e9(e,t){e._err(t,m.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,E.QUIRKS),e.insertionMode=O.BEFORE_HTML,e._processToken(t)}function e8(e,t){e._insertFakeRootElement(),e.insertionMode=O.BEFORE_HEAD,e._processToken(t)}function e7(e,t){e._insertFakeElement(v.HEAD,T.HEAD),e.headElement=e.openElements.current,e.insertionMode=O.IN_HEAD,e._processToken(t)}function te(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.TITLE:e._switchToTextParsing(t,eg.RCDATA);break;case T.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,eg.RAWTEXT):(e._insertElement(t,b.HTML),e.insertionMode=O.IN_HEAD_NO_SCRIPT);break;case T.NOFRAMES:case T.STYLE:e._switchToTextParsing(t,eg.RAWTEXT);break;case T.SCRIPT:e._switchToTextParsing(t,eg.SCRIPT_DATA);break;case T.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=O.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(O.IN_TEMPLATE);break;case T.HEAD:e._err(t,m.misplacedStartTagForHeadElement);break;default:tn(e,t)}}function tt(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==T.TEMPLATE&&e._err(t,m.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,m.endTagWithoutMatchingOpenElement)}function tn(e,t){e.openElements.pop(),e.insertionMode=O.AFTER_HEAD,e._processToken(t)}function tr(e,t){let n=t.type===g.EOF?m.openElementsLeftAfterEof:m.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=O.IN_HEAD,e._processToken(t)}function ta(e,t){e._insertFakeElement(v.BODY,T.BODY),e.insertionMode=O.IN_BODY,ti(e,t)}function ti(e,t){switch(t.type){case g.CHARACTER:ts(e,t);break;case g.WHITESPACE_CHARACTER:to(e,t);break;case g.COMMENT:e4(e,t);break;case g.START_TAG:tp(e,t);break;case g.END_TAG:th(e,t);break;case g.EOF:tm(e,t)}}function to(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function ts(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function tl(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function tc(e){let t=el(e,y.TYPE);return null!=t&&"hidden"===t.toLowerCase()}function tu(e,t){e._switchToTextParsing(t,eg.RAWTEXT)}function td(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML)}function tp(e,t){switch(t.tagID){case T.I:case T.S:case T.B:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.SMALL:case T.STRIKE:case T.STRONG:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case T.A:!function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(v.A);n&&(e5(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),eh(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,b.HTML);break;case T.P:case T.DL:case T.OL:case T.UL:case T.DIV:case T.DIR:case T.NAV:case T.MAIN:case T.MENU:case T.ASIDE:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.DETAILS:case T.ADDRESS:case T.ARTICLE:case T.SECTION:case T.SUMMARY:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML);break;case T.LI:case T.DD:case T.DT:!function(e,t){e.framesetOk=!1;let n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let r=e.openElements.tagIDs[t];if(n===T.LI&&r===T.LI||(n===T.DD||n===T.DT)&&(r===T.DD||r===T.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==T.ADDRESS&&r!==T.DIV&&r!==T.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML)}(e,t);break;case T.BR:case T.IMG:case T.WBR:case T.AREA:case T.EMBED:case T.KEYGEN:tl(e,t);break;case T.HR:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0;break;case T.RB:case T.RTC:e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,b.HTML);break;case T.RT:case T.RP:e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(T.RTC),e._insertElement(t,b.HTML);break;case T.PRE:case T.LISTING:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.framesetOk=!1;break;case T.XMP:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,eg.RAWTEXT);break;case T.SVG:e._reconstructActiveFormattingElements(),eQ(t),eJ(t),t.selfClosing?e._appendElement(t,b.SVG):e._insertElement(t,b.SVG),t.ackSelfClosing=!0;break;case T.HTML:0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs);break;case T.BASE:case T.LINK:case T.META:case T.STYLE:case T.TITLE:case T.SCRIPT:case T.BGSOUND:case T.BASEFONT:case T.TEMPLATE:te(e,t);break;case T.BODY:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t);break;case T.FORM:!function(e,t){let n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),n||(e.formElement=e.openElements.current))}(e,t);break;case T.NOBR:e._reconstructActiveFormattingElements(),e.openElements.hasInScope(T.NOBR)&&(e5(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case T.MATH:e._reconstructActiveFormattingElements(),eX(t),eJ(t),t.selfClosing?e._appendElement(t,b.MATHML):e._insertElement(t,b.MATHML),t.ackSelfClosing=!0;break;case T.TABLE:e.treeAdapter.getDocumentMode(e.document)!==E.QUIRKS&&e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=O.IN_TABLE;break;case T.INPUT:e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),tc(t)||(e.framesetOk=!1),t.ackSelfClosing=!0;break;case T.PARAM:case T.TRACK:case T.SOURCE:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.IMAGE:t.tagName=v.IMG,t.tagID=T.IMG,tl(e,t);break;case T.BUTTON:e.openElements.hasInScope(T.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1;break;case T.APPLET:case T.OBJECT:case T.MARQUEE:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1;break;case T.IFRAME:e.framesetOk=!1,e._switchToTextParsing(t,eg.RAWTEXT);break;case T.SELECT:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===O.IN_TABLE||e.insertionMode===O.IN_CAPTION||e.insertionMode===O.IN_TABLE_BODY||e.insertionMode===O.IN_ROW||e.insertionMode===O.IN_CELL?O.IN_SELECT_IN_TABLE:O.IN_SELECT;break;case T.OPTION:case T.OPTGROUP:e.openElements.currentTagId===T.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML);break;case T.NOEMBED:tu(e,t);break;case T.FRAMESET:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_FRAMESET)}(e,t);break;case T.TEXTAREA:e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.tokenizer.state=eg.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=O.TEXT;break;case T.NOSCRIPT:e.options.scriptingEnabled?tu(e,t):td(e,t);break;case T.PLAINTEXT:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.tokenizer.state=eg.PLAINTEXT;break;case T.COL:case T.TH:case T.TD:case T.TR:case T.HEAD:case T.FRAME:case T.TBODY:case T.TFOOT:case T.THEAD:case T.CAPTION:case T.COLGROUP:break;default:td(e,t)}}function tf(e,t){let n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let a=e.openElements.items[t],i=e.openElements.tagIDs[t];if(r===i&&(r!==T.UNKNOWN||e.treeAdapter.getTagName(a)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(a,i))break}}function th(e,t){switch(t.tagID){case T.A:case T.B:case T.I:case T.S:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.NOBR:case T.SMALL:case T.STRIKE:case T.STRONG:e5(e,t);break;case T.P:e.openElements.hasInButtonScope(T.P)||e._insertFakeElement(v.P,T.P),e._closePElement();break;case T.DL:case T.UL:case T.OL:case T.DIR:case T.DIV:case T.NAV:case T.PRE:case T.MAIN:case T.MENU:case T.ASIDE:case T.BUTTON:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.ADDRESS:case T.ARTICLE:case T.DETAILS:case T.SECTION:case T.SUMMARY:case T.LISTING:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case T.LI:e.openElements.hasInListItemScope(T.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(T.LI),e.openElements.popUntilTagNamePopped(T.LI));break;case T.DD:case T.DT:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped());break;case T.BR:e._reconstructActiveFormattingElements(),e._insertFakeElement(v.BR,T.BR),e.openElements.pop(),e.framesetOk=!1;break;case T.BODY:!function(e,t){if(e.openElements.hasInScope(T.BODY)&&(e.insertionMode=O.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}(e,t);break;case T.HTML:e.openElements.hasInScope(T.BODY)&&(e.insertionMode=O.AFTER_BODY,tL(e,t));break;case T.FORM:!function(e){let t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(T.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(T.FORM):n&&e.openElements.remove(n))}(e);break;case T.APPLET:case T.OBJECT:case T.MARQUEE:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}(e,t);break;case T.TEMPLATE:tt(e,t);break;default:tf(e,t)}}function tm(e,t){e.tmplInsertionModeStack.length>0?tN(e,t):e6(e,t)}function tg(e,t){if(e1.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=O.IN_TABLE_TEXT,t.type){case g.CHARACTER:tT(e,t);break;case g.WHITESPACE_CHARACTER:tv(e,t)}else tE(e,t)}function tb(e,t){switch(t.tagID){case T.TD:case T.TH:case T.TR:e.openElements.clearBackToTableContext(),e._insertFakeElement(v.TBODY,T.TBODY),e.insertionMode=O.IN_TABLE_BODY,tk(e,t);break;case T.STYLE:case T.SCRIPT:case T.TEMPLATE:te(e,t);break;case T.COL:e.openElements.clearBackToTableContext(),e._insertFakeElement(v.COLGROUP,T.COLGROUP),e.insertionMode=O.IN_COLUMN_GROUP,tO(e,t);break;case T.FORM:e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,b.HTML),e.formElement=e.openElements.current,e.openElements.pop());break;case T.TABLE:e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode(),e._processStartTag(t));break;case T.TBODY:case T.TFOOT:case T.THEAD:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_TABLE_BODY;break;case T.INPUT:tc(t)?e._appendElement(t,b.HTML):tE(e,t),t.ackSelfClosing=!0;break;case T.CAPTION:e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_CAPTION;break;case T.COLGROUP:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_COLUMN_GROUP;break;default:tE(e,t)}}function ty(e,t){switch(t.tagID){case T.TABLE:e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode());break;case T.TEMPLATE:tt(e,t);break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:tE(e,t)}}function tE(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,ti(e,t),e.fosterParentingEnabled=n}function tv(e,t){e.pendingCharacterTokens.push(t)}function tT(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function tS(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0&&e.openElements.currentTagId===T.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===T.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===T.OPTGROUP&&e.openElements.pop();break;case T.OPTION:e.openElements.currentTagId===T.OPTION&&e.openElements.pop();break;case T.SELECT:e.openElements.hasInSelectScope(T.SELECT)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode());break;case T.TEMPLATE:tt(e,t)}}function tN(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):e6(e,t)}function tL(e,t){var n;if(t.tagID===T.HTML){if(e.fragmentContext||(e.insertionMode=O.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===T.HTML){e._setEndLocation(e.openElements.items[0],t);let r=e.openElements.items[1];!r||(null===(n=e.treeAdapter.getNodeSourceCodeLocation(r))||void 0===n?void 0:n.endTag)||e._setEndLocation(r,t)}}else tD(e,t)}function tD(e,t){e.insertionMode=O.IN_BODY,ti(e,t)}function tP(e,t){e.insertionMode=O.IN_BODY,ti(e,t)}function tM(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==b.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}n(43470),v.AREA,v.BASE,v.BASEFONT,v.BGSOUND,v.BR,v.COL,v.EMBED,v.FRAME,v.HR,v.IMG,v.INPUT,v.KEYGEN,v.LINK,v.META,v.PARAM,v.SOURCE,v.TRACK,v.WBR;var tF=n(3980),tB=n(21623);let tj=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),tU={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function tG(e,t){let n=function(e){let t="root"===e.type?e.children[0]:e;return!!(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName.toLowerCase()))}(e),r=q("type",{handlers:{root:t$,element:tz,text:tZ,comment:tV,doctype:tW,raw:tY},unknown:tq}),a={parser:n?new e3(tU):e3.getFragmentParser(void 0,tU),handle(e){r(e,a)},stitches:!1,options:t||{}};r(e,a),tK(a,(0,tF.Pk)());let i=n?a.parser.document:a.parser.getFragment(),o=function(e,t){let n=t||{};return $({file:n.file||void 0,location:!1,schema:"svg"===n.space?x.YP:x.dy,verbose:n.verbose||!1},e)}(i,{file:a.options.file});return(a.stitches&&(0,tB.Vn)(o,"comment",function(e,t,n){if(e.value.stitch&&n&&void 0!==t){let r=n.children;return r[t]=e.value.stitch,t}}),"root"===o.type&&1===o.children.length&&o.children[0].type===e.type)?o.children[0]:o}function tH(e,t){let n=-1;if(e)for(;++n4&&(t.parser.tokenizer.state=0);let n={type:g.CHARACTER,chars:e.value,location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tW(e,t){let n={type:g.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tV(e,t){let n=e.value,r={type:g.COMMENT,data:n,location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function tY(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,tX(t,(0,tF.Pk)(e)),t.parser.tokenizer.write(e.value,!1),t.parser.tokenizer._runParsingLoop(),72===t.parser.tokenizer.state||78===t.parser.tokenizer.state){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;let e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function tq(e,t){if(t.options.passThrough&&t.options.passThrough.includes(e.type))!function(e,t){t.stitches=!0;let n="children"in e?(0,_.ZP)({...e,children:[]}):(0,_.ZP)(e);if("children"in e&&"children"in n){let r=tG({type:"root",children:e.children},t.options);n.children=r.children}tV({type:"comment",value:{stitch:n}},t)}(e,t);else{let t="";throw tj.has(e.type)&&(t=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),Error("Cannot compile `"+e.type+"` node"+t)}}function tK(e,t){tX(e,t);let n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=eg.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function tX(e,t){if(t&&void 0!==t.offset){let n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function tQ(e){let t=(0,tF.Pk)(e)||{line:void 0,column:void 0,offset:void 0},n=(0,tF.rb)(e)||{line:void 0,column:void 0,offset:void 0},r={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset};return r}function tJ(e){return function(t,n){let r=tG(t,{...e,file:n});return r}}},78600:function(e,t,n){"use strict";function r(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,a=n.indexOf(t);for(;-1!==a;)r++,a=n.indexOf(t,a+t.length);return r}n.d(t,{Z:function(){return eQ}});var a=n(24345),i=n(15459),o=n(88718),s=n(96093);let l="phrasing",c=["autolink","link","image","label"];function u(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function d(e){this.config.enter.autolinkProtocol.call(this,e)}function p(e){this.config.exit.autolinkProtocol.call(this,e)}function f(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];(0,a.ok)("link"===t.type),t.url="http://"+this.sliceSerialize(e)}function h(e){this.config.exit.autolinkEmail.call(this,e)}function m(e){this.exit(e)}function g(e){!function(e,t,n){let r=(0,s.O)((n||{}).ignore||[]),a=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r0?{type:"text",value:i}:void 0),!1===i?r.lastIndex=n+1:(s!==n&&d.push({type:"text",value:e.value.slice(s,n)}),Array.isArray(i)?d.push(...i):i&&d.push(i),s=n+p[0].length,u=!0),!r.global)break;p=r.exec(e.value)}return u?(s?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],a=n.indexOf(")"),i=r(e,"("),o=r(e,")");for(;-1!==a&&i>o;)e+=n.slice(0,a+1),a=(n=n.slice(a+1)).indexOf(")"),o++;return[e,n]}(n+a);if(!s[0])return!1;let l={type:"link",title:null,url:o+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[l,{type:"text",value:s[1]}]:l}function y(e,t,n,r){return!(!E(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function E(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||(0,i.B8)(n)||(0,i.Xh)(n))&&(!t||47!==n)}var v=n(11098);function T(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function S(){this.buffer()}function A(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteDefinition"===n.type),n.label=t,n.identifier=(0,v.d)(this.sliceSerialize(e)).toLowerCase()}function O(e){this.exit(e)}function _(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function k(){this.buffer()}function x(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteReference"===n.type),n.label=t,n.identifier=(0,v.d)(this.sliceSerialize(e)).toLowerCase()}function C(e){this.exit(e)}function w(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteReference"),s=n.enter("reference");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),o(),i+=a.move("]")}function I(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteDefinition"),s=n.enter("label");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),i+=a.move("]:"+(e.children&&e.children.length>0?" ":"")),a.shift(4),i+=a.move(n.indentLines(n.containerFlow(e,a.current()),R)),o(),i}function R(e,t,n){return 0===t?e:(n?"":" ")+e}w.peek=function(){return"["};let N=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function L(e){this.enter({type:"delete",children:[]},e)}function D(e){this.exit(e)}function P(e,t,n,r){let a=n.createTracker(r),i=n.enter("strikethrough"),o=a.move("~~");return o+=n.containerPhrasing(e,{...a.current(),before:o,after:"~"})+a.move("~~"),i(),o}function M(e){return e.length}function F(e){let t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function B(e,t,n){return">"+(n?"":" ")+e}function j(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),c+=l.move(")"),o(),c}function q(e,t,n,r){let a=e.referenceType,i=n.enter("imageReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("!["),c=n.safe(e.alt,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function K(e,t,n){let r=e.value||"",a="`",i=-1;for(;RegExp("(^|[^`])"+a+"([^`]|$)").test(r);)a+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i\u007F]/.test(e.url))}function Q(e,t,n,r){let a,i;let o=$(n),s='"'===o?"Quote":"Apostrophe",l=n.createTracker(r);if(X(e,n)){let t=n.stack;n.stack=[],a=n.enter("autolink");let r=l.move("<");return r+=l.move(n.containerPhrasing(e,{before:r,after:">",...l.current()}))+l.move(">"),a(),n.stack=t,r}a=n.enter("link"),i=n.enter("label");let c=l.move("[");return c+=l.move(n.containerPhrasing(e,{before:c,after:"](",...l.current()}))+l.move("]("),i(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(i=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(i=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),i(),e.title&&(i=n.enter(`title${s}`),c+=l.move(" "+o),c+=l.move(n.safe(e.title,{before:c,after:o,...l.current()}))+l.move(o),i()),c+=l.move(")"),a(),c}function J(e,t,n,r){let a=e.referenceType,i=n.enter("linkReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("["),c=n.containerPhrasing(e,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function ee(e){let t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function et(e){let t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}V.peek=function(){return"<"},Y.peek=function(){return"!"},q.peek=function(){return"!"},K.peek=function(){return"`"},Q.peek=function(e,t,n){return X(e,n)?"<":"["},J.peek=function(){return"["};let en=(0,s.O)(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function er(e,t,n,r){let a=function(e){let t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(n),i=n.enter("strong"),o=n.createTracker(r),s=o.move(a+a);return s+=o.move(n.containerPhrasing(e,{before:s,after:a,...o.current()}))+o.move(a+a),i(),s}er.peek=function(e,t,n){return n.options.strong||"*"};let ea={blockquote:function(e,t,n,r){let a=n.enter("blockquote"),i=n.createTracker(r);i.move("> "),i.shift(2);let o=n.indentLines(n.containerFlow(e,i.current()),B);return a(),o},break:U,code:function(e,t,n,r){let a=function(e){let t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),i=e.value||"",o="`"===a?"GraveAccent":"Tilde";if(!1===n.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value)){let e=n.enter("codeIndented"),t=n.indentLines(i,H);return e(),t}let s=n.createTracker(r),l=a.repeat(Math.max((0,G.J)(i,a)+1,3)),c=n.enter("codeFenced"),u=s.move(l);if(e.lang){let t=n.enter(`codeFencedLang${o}`);u+=s.move(n.safe(e.lang,{before:u,after:" ",encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${o}`);u+=s.move(" "),u+=s.move(n.safe(e.meta,{before:u,after:"\n",encode:["`"],...s.current()})),t()}return u+=s.move("\n"),i&&(u+=s.move(i+"\n")),u+=s.move(l),c(),u},definition:function(e,t,n,r){let a=$(n),i='"'===a?"Quote":"Apostrophe",o=n.enter("definition"),s=n.enter("label"),l=n.createTracker(r),c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()}))+l.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":"\n",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),o(),c},emphasis:z,hardBreak:U,heading:function(e,t,n,r){let a;let i=Math.max(Math.min(6,e.depth||1),1),s=n.createTracker(r);if(a=!1,(0,Z.Vn)(e,function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return a=!0,o.BK}),(!e.depth||e.depth<3)&&(0,W.B)(e)&&(n.options.setext||a)){let t=n.enter("headingSetext"),r=n.enter("phrasing"),a=n.containerPhrasing(e,{...s.current(),before:"\n",after:"\n"});return r(),t(),a+"\n"+(1===i?"=":"-").repeat(a.length-(Math.max(a.lastIndexOf("\r"),a.lastIndexOf("\n"))+1))}let l="#".repeat(i),c=n.enter("headingAtx"),u=n.enter("phrasing");s.move(l+" ");let d=n.containerPhrasing(e,{before:"# ",after:"\n",...s.current()});return/^[\t ]/.test(d)&&(d="&#x"+d.charCodeAt(0).toString(16).toUpperCase()+";"+d.slice(1)),d=d?l+" "+d:l,n.options.closeAtx&&(d+=" "+l),u(),c(),d},html:V,image:Y,imageReference:q,inlineCode:K,link:Q,linkReference:J,list:function(e,t,n,r){let a=n.enter("list"),i=n.bulletCurrent,o=e.ordered?function(e){let t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):ee(n),s=e.ordered?"."===o?")":".":function(e){let t=ee(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n),l=!!t&&!!n.bulletLastUsed&&o===n.bulletLastUsed;if(!e.ordered){let t=e.children?e.children[0]:void 0;if("*"!==o&&"-"!==o||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(l=!0),et(n)===o&&t){let t=-1;for(;++t-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+i);let o=i.length+1;("tab"===a||"mixed"===a&&(t&&"list"===t.type&&t.spread||e.spread))&&(o=4*Math.ceil(o/4));let s=n.createTracker(r);s.move(i+" ".repeat(o-i.length)),s.shift(o);let l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),function(e,t,n){return t?(n?"":" ".repeat(o))+e:(n?i:i+" ".repeat(o-i.length))+e});return l(),c},paragraph:function(e,t,n,r){let a=n.enter("paragraph"),i=n.enter("phrasing"),o=n.containerPhrasing(e,r);return i(),a(),o},root:function(e,t,n,r){let a=e.children.some(function(e){return en(e)}),i=a?n.containerPhrasing:n.containerFlow;return i.call(n,e,r)},strong:er,text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){let r=(et(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}};function ei(e){let t=e._align;(0,a.ok)(t,"expected `_align` on table"),this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function eo(e){this.exit(e),this.data.inTable=void 0}function es(e){this.enter({type:"tableRow",children:[]},e)}function el(e){this.exit(e)}function ec(e){this.enter({type:"tableCell",children:[]},e)}function eu(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,ed));let n=this.stack[this.stack.length-1];(0,a.ok)("inlineCode"===n.type),n.value=t,this.exit(e)}function ed(e,t){return"|"===t?t:e}function ep(e){let t=this.stack[this.stack.length-2];(0,a.ok)("listItem"===t.type),t.checked="taskListCheckValueChecked"===e.type}function ef(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1];(0,a.ok)("paragraph"===e.type);let n=e.children[0];if(n&&"text"===n.type){let r;let a=t.children,i=-1;for(;++i0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}eO[43]=eA,eO[45]=eA,eO[46]=eA,eO[95]=eA,eO[72]=[eA,eS],eO[104]=[eA,eS],eO[87]=[eA,eT],eO[119]=[eA,eT];var eR=n(23402),eN=n(42761);let eL={tokenize:function(e,t,n){let r=this;return(0,eN.f)(e,function(e){let a=r.events[r.events.length-1];return a&&"gfmFootnoteDefinitionIndent"===a[1].type&&4===a[2].sliceSerialize(a[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function eD(e,t,n){let r;let a=this,i=a.events.length,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);for(;i--;){let e=a.events[i][1];if("labelImage"===e.type){r=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(i){if(!r||!r._balanced)return n(i);let s=(0,v.d)(a.sliceSerialize({start:r.end,end:a.now()}));return 94===s.codePointAt(0)&&o.includes(s.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(i),e.exit("gfmFootnoteCallLabelMarker"),t(i)):n(i)}}function eP(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;let i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",a,t],["exit",a,t],["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function eM(e,t,n){let r;let a=this,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),s=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),l};function l(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(l){if(s>999||93===l&&!r||null===l||91===l||(0,i.z3)(l))return n(l);if(93===l){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return o.includes((0,v.d)(a.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(l)}return(0,i.z3)(l)||(r=!0),s++,e.consume(l),92===l?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function eF(e,t,n){let r,a;let o=this,s=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]),l=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(t)}function u(t){if(l>999||93===t&&!a||null===t||91===t||(0,i.z3)(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return r=(0,v.d)(o.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return(0,i.z3)(t)||(a=!0),l++,e.consume(t),92===t?d:u}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}function p(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s.includes(r)||s.push(r),(0,eN.f)(e,f,"gfmFootnoteDefinitionWhitespace")):n(t)}function f(e){return t(e)}}function eB(e,t,n){return e.check(eR.w,t,e.attempt(eL,t,n))}function ej(e){e.exit("gfmFootnoteDefinition")}var eU=n(21905),eG=n(62987),eH=n(63233);class e${constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let a=0;if(0!==n||0!==r.length){for(;a0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function ez(e,t,n){let r;let a=this,o=0,s=0;return function(e){let t=a.events.length-1;for(;t>-1;){let e=a.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let r=t>-1?a.events[t][1].type:null,i="tableHead"===r||"tableRow"===r?E:l;return i===E&&a.parser.lazy[a.now().line]?n(e):i(e)};function l(t){return e.enter("tableHead"),e.enter("tableRow"),124===t||(r=!0,s+=1),c(t)}function c(t){return null===t?n(t):(0,i.Ch)(t)?s>1?(s=0,a.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p):n(t):(0,i.xz)(t)?(0,eN.f)(e,c,"whitespace")(t):(s+=1,r&&(r=!1,o+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,c):(e.enter("data"),u(t))}function u(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),c(t)):(e.consume(t),92===t?d:u)}function d(t){return 92===t||124===t?(e.consume(t),u):u(t)}function p(t){return(a.interrupt=!1,a.parser.lazy[a.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,(0,i.xz)(t))?(0,eN.f)(e,f,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):f(t)}function f(t){return 45===t||58===t?m(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),h):n(t)}function h(t){return(0,i.xz)(t)?(0,eN.f)(e,m,"whitespace")(t):m(t)}function m(t){return 58===t?(s+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),g):45===t?(s+=1,g(t)):null===t||(0,i.Ch)(t)?y(t):n(t)}function g(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),b):(e.exit("tableDelimiterFiller"),b(n))}(t)):n(t)}function b(t){return(0,i.xz)(t)?(0,eN.f)(e,y,"whitespace")(t):y(t)}function y(a){return 124===a?f(a):null===a||(0,i.Ch)(a)?r&&o===s?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(a)):n(a):n(a)}function E(t){return e.enter("tableRow"),v(t)}function v(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),v):null===n||(0,i.Ch)(n)?(e.exit("tableRow"),t(n)):(0,i.xz)(n)?(0,eN.f)(e,v,"whitespace")(n):(e.enter("data"),T(n))}function T(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),v(t)):(e.consume(t),92===t?S:T)}function S(t){return 92===t||124===t?(e.consume(t),T):T(t)}}function eZ(e,t){let n,r,a,i=-1,o=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,d=0,p=new e$;for(;++in[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",o,t]])}return void 0!==a&&(i.end=Object.assign({},eY(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function eV(e,t,n,r,a){let i=[],o=eY(t.events,n);a&&(a.end=Object.assign({},o),i.push(["exit",a,t])),r.end=Object.assign({},o),i.push(["exit",r,t]),e.add(n+1,0,i)}function eY(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}let eq={name:"tasklistCheck",tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),a):n(t)};function a(t){return(0,i.z3)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(t)}function s(r){return(0,i.Ch)(r)?t(r):(0,i.xz)(r)?e.check({tokenize:eK},t,n)(r):n(r)}}};function eK(e,t,n){return(0,eN.f)(e,function(e){return null===e?n(e):t(e)},"whitespace")}let eX={};function eQ(e){let t=e||eX,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),i=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push((0,em.W)([{text:eO},{document:{91:{name:"gfmFootnoteDefinition",tokenize:eF,continuation:{tokenize:eB},exit:ej}},text:{91:{name:"gfmFootnoteCall",tokenize:eM},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:eD,resolveTo:eP}}},function(e){let t=(e||{}).singleTilde,n={name:"strikethrough",tokenize:function(e,n,r){let a=this.previous,i=this.events,o=0;return function(s){return 126===a&&"characterEscape"!==i[i.length-1][1].type?r(s):(e.enter("strikethroughSequenceTemporary"),function i(s){let l=(0,eG.r)(a);if(126===s)return o>1?r(s):(e.consume(s),o++,i);if(o<2&&!t)return r(s);let c=e.exit("strikethroughSequenceTemporary"),u=(0,eG.r)(s);return c._open=!u||2===u&&!!l,c._close=!l||2===l&&!!u,n(s)}(s))}},resolveAll:function(e,t){let n=-1;for(;++nl&&(l=e[c].length);++ds[d])&&(s[d]=e)}n.push(i)}i[c]=n,o[c]=a}let d=-1;if("object"==typeof n&&"length"in n)for(;++ds[d]&&(s[d]=i),f[d]=i),p[d]=o}i.splice(1,0,p),o.splice(1,0,f),c=-1;let h=[];for(;++c","Iacute":"\xcd","Icirc":"\xce","Igrave":"\xcc","Iuml":"\xcf","LT":"<","Ntilde":"\xd1","Oacute":"\xd3","Ocirc":"\xd4","Ograve":"\xd2","Oslash":"\xd8","Otilde":"\xd5","Ouml":"\xd6","QUOT":"\\"","REG":"\xae","THORN":"\xde","Uacute":"\xda","Ucirc":"\xdb","Ugrave":"\xd9","Uuml":"\xdc","Yacute":"\xdd","aacute":"\xe1","acirc":"\xe2","acute":"\xb4","aelig":"\xe6","agrave":"\xe0","amp":"&","aring":"\xe5","atilde":"\xe3","auml":"\xe4","brvbar":"\xa6","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","eacute":"\xe9","ecirc":"\xea","egrave":"\xe8","eth":"\xf0","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","iacute":"\xed","icirc":"\xee","iexcl":"\xa1","igrave":"\xec","iquest":"\xbf","iuml":"\xef","laquo":"\xab","lt":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","ntilde":"\xf1","oacute":"\xf3","ocirc":"\xf4","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","oslash":"\xf8","otilde":"\xf5","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","raquo":"\xbb","reg":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","thorn":"\xfe","times":"\xd7","uacute":"\xfa","ucirc":"\xfb","ugrave":"\xf9","uml":"\xa8","uuml":"\xfc","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')}},function(e){e.O(0,[3662,7034,6106,8674,3166,2837,2168,8163,1265,7728,2913,3791,5278,9859,4330,4041,8791,5030,5418,2783,3457,1300,4567,2398,2480,7410,7124,9773,4035,1154,2510,3345,9202,1585,7249,3768,5789,9774,2888,179],function(){return e(e.s=57843)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/app/extra/components/auto-plan/PromptSelect-90e6b8f4b78e14e6.js b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/app/extra/components/auto-plan/PromptSelect-822bbf044fc85eb0.js similarity index 99% rename from packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/app/extra/components/auto-plan/PromptSelect-90e6b8f4b78e14e6.js rename to packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/app/extra/components/auto-plan/PromptSelect-822bbf044fc85eb0.js index e00a332b4..772dfb671 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/app/extra/components/auto-plan/PromptSelect-90e6b8f4b78e14e6.js +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/app/extra/components/auto-plan/PromptSelect-822bbf044fc85eb0.js @@ -1,4 +1,4 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[92,9618,6231,8424,5265,2640,3913],{11475:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},27496:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},94668:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},34971:function(e,t){"use strict";t.Z=function(e,t,n){return en?n:e}},24960:function(e,t,n){"use strict";var r=n(44002);t.Z=function(e){return Array.isArray?Array.isArray(e):(0,r.Z)(e,"Array")}},52176:function(e,t,n){"use strict";var r=n(44002);t.Z=function(e){return(0,r.Z)(e,"Boolean")}},55265:function(e,t){"use strict";t.Z=function(e){return"function"==typeof e}},82993:function(e,t){"use strict";t.Z=function(e){return null==e}},23198:function(e,t,n){"use strict";function r(e,t,n){return void 0===n&&(n=1e-5),Math.abs(e-t)1&&(E*=x=Math.sqrt(x),v*=x);var w=E*E,I=v*v,R=(o===l?-1:1)*Math.sqrt(Math.abs((w*I-w*C*C-I*k*k)/(w*C*C+I*k*k)));g=R*E*C/v+(b+T)/2,m=-(R*v)*k/E+(y+S)/2,f=Math.asin(((y-m)/v*1e9>>0)/1e9),h=Math.asin(((S-m)/v*1e9>>0)/1e9),f=bh&&(f-=2*Math.PI),!l&&h>f&&(h-=2*Math.PI)}var N=h-f;if(Math.abs(N)>A){var L=h,D=T,P=S;_=e(T=g+E*Math.cos(h=f+A*(l&&h>f?1:-1)),S=m+v*Math.sin(h),E,v,i,0,l,D,P,[h,L,g,m])}N=h-f;var M=Math.cos(f),F=Math.cos(h),B=Math.tan(N/4),j=4/3*E*B,U=4/3*v*B,G=[b,y],H=[b+j*Math.sin(f),y-U*M],$=[T+j*Math.sin(h),S-U*F],z=[T,S];if(H[0]=2*G[0]-H[0],H[1]=2*G[1]-H[1],d)return H.concat($,z,_);_=H.concat($,z,_);for(var Z=[],W=0,V=_.length;W7){e[n].shift();for(var r=e[n],a=n;r.length;)t[n]="A",e.splice(a+=1,0,["C"].concat(r.splice(0,6)));e.splice(n,1)}}(d,f,b),g=d.length,"Z"===h&&m.push(b),l=(n=d[b]).length,p.x1=+n[l-2],p.y1=+n[l-1],p.x2=+n[l-4]||p.x1,p.y2=+n[l-3]||p.y1}return t?[d,m]:d}},19586:function(e,t,n){"use strict";n.d(t,{R:function(){return r}});var r={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0}},33554:function(e,t,n){"use strict";n.d(t,{z:function(){return r}});var r={x1:0,y1:0,x2:0,y2:0,x:0,y:0,qx:null,qy:null}},54947:function(e,t,n){"use strict";function r(e){return e.map(function(e){return Array.isArray(e)?[].concat(e):e})}n.d(t,{U:function(){return r}})},94918:function(e,t,n){"use strict";n.d(t,{A:function(){return f}});var r=n(97582),a=n(65336),i=n(33554),o=n(60310),s=n(97153),l=n(19586);function c(e){for(var t=e.pathValue[e.segmentStart],n=t.toLowerCase(),r=e.data;r.length>=l.R[n]&&("m"===n&&r.length>2?(e.segments.push([t].concat(r.splice(0,2))),n="l",t="m"===t?"l":"L"):e.segments.push([t].concat(r.splice(0,l.R[n]))),l.R[n]););}function u(e){return e>=48&&e<=57}function d(e){for(var t,n=e.pathValue,r=e.max;e.index=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].includes(t));)e.index+=1}var p=function(e){this.pathValue=e,this.segments=[],this.max=e.length,this.index=0,this.param=0,this.segmentStart=0,this.data=[],this.err=""};function f(e){if((0,a.y)(e))return[].concat(e);for(var t=function(e){if((0,o.b)(e))return[].concat(e);var t=function(e){if((0,s.n)(e))return[].concat(e);var t=new p(e);for(d(t);t.index0;s-=1){if((32|a)==97&&(3===s||4===s)?function(e){var t=e.index,n=e.pathValue,r=n.charCodeAt(t);if(48===r){e.param=0,e.index+=1;return}if(49===r){e.param=1,e.index+=1;return}e.err='[path-util]: invalid Arc flag "'+n[t]+'", expecting 0 or 1 at index '+t}(e):function(e){var t,n=e.max,r=e.pathValue,a=e.index,i=a,o=!1,s=!1,l=!1,c=!1;if(i>=n){e.err="[path-util]: Invalid path value at index "+i+', "pathValue" is missing param';return}if((43===(t=r.charCodeAt(i))||45===t)&&(i+=1,t=r.charCodeAt(i)),!u(t)&&46!==t){e.err="[path-util]: Invalid path value at index "+i+', "'+r[i]+'" is not a number';return}if(46!==t){if(o=48===t,i+=1,t=r.charCodeAt(i),o&&i=e.max||!((o=n.charCodeAt(e.index))>=48&&o<=57||43===o||45===o||46===o))break}c(e)}(t);return t.err?t.err:t.segments}(e),n=0,r=0,a=0,i=0;return t.map(function(e){var t,o=e.slice(1).map(Number),s=e[0],l=s.toUpperCase();if("M"===s)return n=o[0],r=o[1],a=n,i=r,["M",n,r];if(s!==l)switch(l){case"A":t=[l,o[0],o[1],o[2],o[3],o[4],o[5]+n,o[6]+r];break;case"V":t=[l,o[0]+r];break;case"H":t=[l,o[0]+n];break;default:t=[l].concat(o.map(function(e,t){return e+(t%2?r:n)}))}else t=[l].concat(o);var c=t.length;switch(l){case"Z":n=a,r=i;break;case"H":n=t[1];break;case"V":r=t[1];break;default:n=t[c-2],r=t[c-1],"M"===l&&(a=n,i=r)}return t})}(e),n=(0,r.pi)({},i.z),f=0;f=h[t],g[t]-=m?1:0,m?e.ss:[e.s]}).flat()});return b[0].length===b[1].length?b:e(b[0],b[1],f)}}});var r=n(50944),a=n(51777);function i(e){return e.map(function(e,t,n){var i,o,s,l,c,u,d,p,f,h,g,m,b=t&&n[t-1].slice(-2).concat(e.slice(1)),y=t?(0,a.S)(b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7],b[8],{bbox:!1}).length:0;return m=t?y?(void 0===i&&(i=.5),o=b.slice(0,2),s=b.slice(2,4),l=b.slice(4,6),c=b.slice(6,8),u=(0,r.k)(o,s,i),d=(0,r.k)(s,l,i),p=(0,r.k)(l,c,i),f=(0,r.k)(u,d,i),h=(0,r.k)(d,p,i),g=(0,r.k)(f,h,i),[["C"].concat(u,f,g),["C"].concat(h,p,c)]):[e,e]:[e],{s:e,ss:m,l:y}})}},46516:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var r=n(27872);function a(e){var t,n,a;return t=0,n=0,a=0,(0,r.Y)(e).map(function(e){if("M"===e[0])return t=e[1],n=e[2],0;var r,i,o,s=e.slice(1),l=s[0],c=s[1],u=s[2],d=s[3],p=s[4],f=s[5];return i=t,a=3*((f-(o=n))*(l+u)-(p-i)*(c+d)+c*(i-u)-l*(o-d)+f*(u+i/3)-p*(d+o/3))/20,t=(r=e.slice(-2))[0],n=r[1],a}).reduce(function(e,t){return e+t},0)>=0}},90046:function(e,t,n){"use strict";n.d(t,{r:function(){return i}});var r=n(97582),a=n(10992);function i(e,t,n){return(0,a.s)(e,t,(0,r.pi)((0,r.pi)({},n),{bbox:!1,length:!0})).point}},91952:function(e,t,n){"use strict";n.d(t,{g:function(){return a}});var r=n(58076);function a(e,t){var n,a,i=e.length-1,o=[],s=0,l=(a=(n=e.length)-1,e.map(function(t,r){return e.map(function(t,i){var o=r+i;return 0===i||e[o]&&"M"===e[o][0]?["M"].concat(e[o].slice(-2)):(o>=n&&(o-=a),e[o])})}));return l.forEach(function(n,a){e.slice(1).forEach(function(n,o){s+=(0,r.y)(e[(a+o)%i].slice(-2),t[o%i].slice(-2))}),o[a]=s,s=0}),l[o.indexOf(Math.min.apply(null,o))]}},62436:function(e,t,n){"use strict";n.d(t,{D:function(){return i}});var r=n(97582),a=n(10992);function i(e,t){return(0,a.s)(e,void 0,(0,r.pi)((0,r.pi)({},t),{bbox:!1,length:!0})).length}},60310:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var r=n(97153);function a(e){return(0,r.n)(e)&&e.every(function(e){var t=e[0];return t===t.toUpperCase()})}},65336:function(e,t,n){"use strict";n.d(t,{y:function(){return a}});var r=n(60310);function a(e){return(0,r.b)(e)&&e.every(function(e){var t=e[0];return"ACLMQZ".includes(t)})}},97153:function(e,t,n){"use strict";n.d(t,{n:function(){return a}});var r=n(19586);function a(e){return Array.isArray(e)&&e.every(function(e){var t=e[0].toLowerCase();return r.R[t]===e.length-1&&"achlmqstvz".includes(t)})}},50944:function(e,t,n){"use strict";function r(e,t,n){var r=e[0],a=e[1];return[r+(t[0]-r)*n,a+(t[1]-a)*n]}n.d(t,{k:function(){return r}})},10992:function(e,t,n){"use strict";n.d(t,{s:function(){return c}});var r=n(94918),a=n(50944),i=n(58076);function o(e,t,n,r,o){var s=(0,i.y)([e,t],[n,r]),l={x:0,y:0};if("number"==typeof o){if(o<=0)l={x:e,y:t};else if(o>=s)l={x:n,y:r};else{var c=(0,a.k)([e,t],[n,r],o/s);l={x:c[0],y:c[1]}}}return{length:s,point:l,min:{x:Math.min(e,n),y:Math.min(t,r)},max:{x:Math.max(e,n),y:Math.max(t,r)}}}function s(e,t){var n=e.x,r=e.y,a=t.x,i=t.y,o=Math.sqrt((Math.pow(n,2)+Math.pow(r,2))*(Math.pow(a,2)+Math.pow(i,2)));return(n*i-r*a<0?-1:1)*Math.acos((n*a+r*i)/o)}var l=n(51777);function c(e,t,n){for(var a,c,u,d,p,f,h,g,m,b=(0,r.A)(e),y="number"==typeof t,E=[],v=0,T=0,S=0,A=0,O=[],_=[],k=0,C={x:0,y:0},x=C,w=C,I=C,R=0,N=0,L=b.length;N1&&(b*=g(A),y*=g(A));var O=(Math.pow(b,2)*Math.pow(y,2)-Math.pow(b,2)*Math.pow(S.y,2)-Math.pow(y,2)*Math.pow(S.x,2))/(Math.pow(b,2)*Math.pow(S.y,2)+Math.pow(y,2)*Math.pow(S.x,2)),_=(i!==l?1:-1)*g(O=O<0?0:O),k={x:_*(b*S.y/y),y:_*(-(y*S.x)/b)},C={x:h(E)*k.x-f(E)*k.y+(e+c)/2,y:f(E)*k.x+h(E)*k.y+(t+u)/2},x={x:(S.x-k.x)/b,y:(S.y-k.y)/y},w=s({x:1,y:0},x),I=s(x,{x:(-S.x-k.x)/b,y:(-S.y-k.y)/y});!l&&I>0?I-=2*m:l&&I<0&&(I+=2*m);var R=w+(I%=2*m)*d,N=b*h(R),L=y*f(R);return{x:h(E)*N-f(E)*L+C.x,y:f(E)*N+h(E)*L+C.y}}(e,t,n,r,a,l,c,u,d,w/v)).x,A=h.y,m&&x.push({x:S,y:A}),y&&(O+=(0,i.y)(k,[S,A])),k=[S,A],T&&O>=p&&p>_[2]){var I=(O-p)/(O-_[2]);C={x:k[0]*(1-I)+_[0]*I,y:k[1]*(1-I)+_[1]*I}}_=[S,A,O]}return T&&p>=O&&(C={x:u,y:d}),{length:O,point:C,min:{x:Math.min.apply(null,x.map(function(e){return e.x})),y:Math.min.apply(null,x.map(function(e){return e.y}))},max:{x:Math.max.apply(null,x.map(function(e){return e.x})),y:Math.max.apply(null,x.map(function(e){return e.y}))}}}(E[0],E[1],E[2],E[3],E[4],E[5],E[6],E[7],E[8],(t||0)-R,n||{})).length,C=c.min,x=c.max,w=c.point):"C"===g?(k=(u=(0,l.S)(E[0],E[1],E[2],E[3],E[4],E[5],E[6],E[7],(t||0)-R,n||{})).length,C=u.min,x=u.max,w=u.point):"Q"===g?(k=(d=function(e,t,n,r,a,o,s,l){var c,u=l.bbox,d=void 0===u||u,p=l.length,f=void 0===p||p,h=l.sampleSize,g=void 0===h?10:h,m="number"==typeof s,b=e,y=t,E=0,v=[b,y,0],T=[b,y],S={x:0,y:0},A=[{x:b,y:y}];m&&s<=0&&(S={x:b,y:y});for(var O=0;O<=g;O+=1){if(b=(c=function(e,t,n,r,a,i,o){var s=1-o;return{x:Math.pow(s,2)*e+2*s*o*n+Math.pow(o,2)*a,y:Math.pow(s,2)*t+2*s*o*r+Math.pow(o,2)*i}}(e,t,n,r,a,o,O/g)).x,y=c.y,d&&A.push({x:b,y:y}),f&&(E+=(0,i.y)(T,[b,y])),T=[b,y],m&&E>=s&&s>v[2]){var _=(E-s)/(E-v[2]);S={x:T[0]*(1-_)+v[0]*_,y:T[1]*(1-_)+v[1]*_}}v=[b,y,E]}return m&&s>=E&&(S={x:a,y:o}),{length:E,point:S,min:{x:Math.min.apply(null,A.map(function(e){return e.x})),y:Math.min.apply(null,A.map(function(e){return e.y}))},max:{x:Math.max.apply(null,A.map(function(e){return e.x})),y:Math.max.apply(null,A.map(function(e){return e.y}))}}}(E[0],E[1],E[2],E[3],E[4],E[5],(t||0)-R,n||{})).length,C=d.min,x=d.max,w=d.point):"Z"===g&&(k=(p=o((E=[v,T,S,A])[0],E[1],E[2],E[3],(t||0)-R)).length,C=p.min,x=p.max,w=p.point),y&&R=t&&(I=w),_.push(x),O.push(C),R+=k,v=(f="Z"!==g?m.slice(-2):[S,A])[0],T=f[1];return y&&t>=R&&(I={x:v,y:T}),{length:R,point:I,min:{x:Math.min.apply(null,O.map(function(e){return e.x})),y:Math.min.apply(null,O.map(function(e){return e.y}))},max:{x:Math.max.apply(null,_.map(function(e){return e.x})),y:Math.max.apply(null,_.map(function(e){return e.y}))}}}},51777:function(e,t,n){"use strict";n.d(t,{S:function(){return a}});var r=n(58076);function a(e,t,n,a,i,o,s,l,c,u){var d,p=u.bbox,f=void 0===p||p,h=u.length,g=void 0===h||h,m=u.sampleSize,b=void 0===m?10:m,y="number"==typeof c,E=e,v=t,T=0,S=[E,v,0],A=[E,v],O={x:0,y:0},_=[{x:E,y:v}];y&&c<=0&&(O={x:E,y:v});for(var k=0;k<=b;k+=1){if(E=(d=function(e,t,n,r,a,i,o,s,l){var c=1-l;return{x:Math.pow(c,3)*e+3*Math.pow(c,2)*l*n+3*c*Math.pow(l,2)*a+Math.pow(l,3)*o,y:Math.pow(c,3)*t+3*Math.pow(c,2)*l*r+3*c*Math.pow(l,2)*i+Math.pow(l,3)*s}}(e,t,n,a,i,o,s,l,k/b)).x,v=d.y,f&&_.push({x:E,y:v}),g&&(T+=(0,r.y)(A,[E,v])),A=[E,v],y&&T>=c&&c>S[2]){var C=(T-c)/(T-S[2]);O={x:A[0]*(1-C)+S[0]*C,y:A[1]*(1-C)+S[1]*C}}S=[E,v,T]}return y&&c>=T&&(O={x:s,y:l}),{length:T,point:O,min:{x:Math.min.apply(null,_.map(function(e){return e.x})),y:Math.min.apply(null,_.map(function(e){return e.y}))},max:{x:Math.max.apply(null,_.map(function(e){return e.x})),y:Math.max.apply(null,_.map(function(e){return e.y}))}}}},4503:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function i(e,t,r,i,o){if("function"!=typeof r)throw TypeError("The listener must be a function");var s=new a(r,i||e,o),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function o(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,a=[];if(0===this._eventsCount)return a;for(r in e=this._events)t.call(e,r)&&a.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?a.concat(Object.getOwnPropertySymbols(e)):a},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var a=0,i=r.length,o=Array(i);at.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let o="text/event-stream",s="last-event-id";function l(e,t){var{signal:n,headers:l,onopen:u,onmessage:d,onclose:p,onerror:f,openWhenHidden:h,fetch:g}=t,m=i(t,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((t,i)=>{let b;let y=Object.assign({},l);function E(){b.abort(),document.hidden||_()}y.accept||(y.accept=o),h||document.addEventListener("visibilitychange",E);let v=1e3,T=0;function S(){document.removeEventListener("visibilitychange",E),window.clearTimeout(T),b.abort()}null==n||n.addEventListener("abort",()=>{S(),t()});let A=null!=g?g:window.fetch,O=null!=u?u:c;async function _(){var n,o;b=new AbortController;try{let n,i,l,c;let u=await A(e,Object.assign(Object.assign({},m),{headers:y,signal:b.signal}));await O(u),await r(u.body,(o=function(e,t,n){let r=a(),i=new TextDecoder;return function(o,s){if(0===o.length)null==n||n(r),r=a();else if(s>0){let n=i.decode(o.subarray(0,s)),a=s+(32===o[s+1]?2:1),l=i.decode(o.subarray(a));switch(n){case"data":r.data=r.data?r.data+"\n"+l:l;break;case"event":r.event=l;break;case"id":e(r.id=l);break;case"retry":let c=parseInt(l,10);isNaN(c)||t(r.retry=c)}}}}(e=>{e?y[s]=e:delete y[s]},e=>{v=e},d),c=!1,function(e){void 0===n?(n=e,i=0,l=-1):n=function(e,t){let n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}(n,e);let t=n.length,r=0;for(;i=n?k.text.primary:_.text.primary;return t}let w=({color:e,name:t,mainShade:n=500,lightShade:i=300,darkShade:o=700})=>{if(!(e=(0,r.Z)({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw Error((0,u.Z)(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw Error((0,u.Z)(12,t?` (${t})`:"",JSON.stringify(e.main)));return C(e,"light",i,a),C(e,"dark",o,a),e.contrastText||(e.contrastText=x(e.main)),e},I=(0,d.Z)((0,r.Z)({common:(0,r.Z)({},m),mode:t,primary:w({color:s,name:"primary"}),secondary:w({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:w({color:c,name:"error"}),warning:w({color:h,name:"warning"}),info:w({color:p,name:"info"}),success:w({color:f,name:"success"}),grey:b,contrastThreshold:n,getContrastText:x,augmentColor:w,tonalOffset:a},{dark:k,light:_}[t]),o);return I}(a),R=(0,h.Z)(e),U=(0,d.Z)(R,{mixins:(t=R.breakpoints,(0,r.Z)({toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}}},n)),palette:c,shadows:N.slice(),typography:function(e,t){let n="function"==typeof t?t(e):t,{fontFamily:a=I,fontSize:o=14,fontWeightLight:s=300,fontWeightRegular:l=400,fontWeightMedium:c=500,fontWeightBold:u=700,htmlFontSize:p=16,allVariants:f,pxToRem:h}=n,g=(0,i.Z)(n,x),m=o/14,b=h||(e=>`${e/p*m}rem`),y=(e,t,n,i,o)=>(0,r.Z)({fontFamily:a,fontWeight:e,fontSize:b(t),lineHeight:n},a===I?{letterSpacing:`${Math.round(1e5*(i/t))/1e5}em`}:{},o,f),E={h1:y(s,96,1.167,-1.5),h2:y(s,60,1.2,-.5),h3:y(l,48,1.167,0),h4:y(l,34,1.235,.25),h5:y(l,24,1.334,0),h6:y(c,20,1.6,.15),subtitle1:y(l,16,1.75,.15),subtitle2:y(c,14,1.57,.1),body1:y(l,16,1.5,.15),body2:y(l,14,1.43,.15),button:y(c,14,1.75,.4,w),caption:y(l,12,1.66,.4),overline:y(l,12,2.66,1,w),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,d.Z)((0,r.Z)({htmlFontSize:p,pxToRem:b,fontFamily:a,fontSize:o,fontWeightLight:s,fontWeightRegular:l,fontWeightMedium:c,fontWeightBold:u},E),g,{clone:!1})}(c,s),transitions:function(e){let t=(0,r.Z)({},D,e.easing),n=(0,r.Z)({},P,e.duration);return(0,r.Z)({getAutoHeightDuration:F,create:(e=["all"],r={})=>{let{duration:a=n.standard,easing:o=t.easeInOut,delay:s=0}=r;return(0,i.Z)(r,L),(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof a?a:M(a)} ${o} ${"string"==typeof s?s:M(s)}`).join(",")}},e,{easing:t,duration:n})}(o),zIndex:(0,r.Z)({},B)});return(U=[].reduce((e,t)=>(0,d.Z)(e,t),U=(0,d.Z)(U,l))).unstable_sxConfig=(0,r.Z)({},p.Z,null==l?void 0:l.unstable_sxConfig),U.unstable_sx=function(e){return(0,f.Z)({sx:e,theme:this})},U}();var G="$$material",H=n(58128);let $=(0,H.ZP)({themeId:G,defaultTheme:U,rootShouldForwardProp:e=>"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e&&"classes"!==e});var z=n(1977),Z=n(8027);function W(e){return(0,Z.ZP)("MuiSvgIcon",e)}(0,z.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var V=n(85893);let Y=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],q=e=>{let{color:t,fontSize:n,classes:r}=e,a={root:["root","inherit"!==t&&`color${l(t)}`,`fontSize${l(n)}`]};return(0,s.Z)(a,W,r)},K=$("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${l(n.color)}`],t[`fontSize${l(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,a,i,o,s,l,c,u,d,p,f,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(a=e.transitions)||null==(a=a.duration)?void 0:a.shorter}),fontSize:({inherit:"inherit",small:(null==(i=e.typography)||null==(o=i.pxToRem)?void 0:o.call(i,20))||"1.25rem",medium:(null==(s=e.typography)||null==(l=s.pxToRem)?void 0:l.call(s,24))||"1.5rem",large:(null==(c=e.typography)||null==(u=c.pxToRem)?void 0:u.call(c,35))||"2.1875rem"})[t.fontSize],color:null!=(d=null==(p=(e.vars||e).palette)||null==(p=p[t.color])?void 0:p.main)?d:({action:null==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.active,disabled:null==(h=(e.vars||e).palette)||null==(h=h.action)?void 0:h.disabled,inherit:void 0})[t.color]}}),X=a.forwardRef(function(e,t){let n=function({props:e,name:t}){return(0,c.Z)({props:e,name:t,defaultTheme:U,themeId:G})}({props:e,name:"MuiSvgIcon"}),{children:s,className:l,color:u="inherit",component:d="svg",fontSize:p="medium",htmlColor:f,inheritViewBox:h=!1,titleAccess:g,viewBox:m="0 0 24 24"}=n,b=(0,i.Z)(n,Y),y=a.isValidElement(s)&&"svg"===s.type,E=(0,r.Z)({},n,{color:u,component:d,fontSize:p,instanceFontSize:e.fontSize,inheritViewBox:h,viewBox:m,hasSvgAsChild:y}),v={};h||(v.viewBox=m);let T=q(E);return(0,V.jsxs)(K,(0,r.Z)({as:d,className:(0,o.Z)(T.root,l),focusable:"false",color:f,"aria-hidden":!g||void 0,role:g?"img":void 0,ref:t},v,b,y&&s.props,{ownerState:E,children:[y?s.props.children:s,g?(0,V.jsx)("title",{children:g}):null]}))});function Q(e,t){function n(n,a){return(0,V.jsx)(X,(0,r.Z)({"data-testid":`${t}Icon`,ref:a},n,{children:e}))}return n.muiName=X.muiName,a.memo(a.forwardRef(n))}X.muiName="SvgIcon"},2101:function(e,t,n){"use strict";var r=n(64836);t._j=function(e,t){if(e=s(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return l(e)},t.mi=function(e,t){let n=c(e),r=c(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)},t.$n=function(e,t){if(e=s(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return l(e)};var a=r(n(743)),i=r(n(49425));function o(e,t=0,n=1){return(0,i.default)(e,t,n)}function s(e){let t;if(e.type)return e;if("#"===e.charAt(0))return s(function(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map(e=>e+e)),n?`rgb${4===n.length?"a":""}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));let n=e.indexOf("("),r=e.substring(0,n);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw Error((0,a.default)(9,e));let i=e.substring(n+1,e.length-1);if("color"===r){if(t=(i=i.split(" ")).shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(t))throw Error((0,a.default)(10,t))}else i=i.split(",");return{type:r,values:i=i.map(e=>parseFloat(e)),colorSpace:t}}function l(e){let{type:t,colorSpace:n}=e,{values:r}=e;return -1!==t.indexOf("rgb")?r=r.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),`${t}(${r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`})`}function c(e){let t="hsl"===(e=s(e)).type||"hsla"===e.type?s(function(e){e=s(e);let{values:t}=e,n=t[0],r=t[1]/100,a=t[2]/100,i=r*Math.min(a,1-a),o=(e,t=(e+n/30)%12)=>a-i*Math.max(Math.min(t-3,9-t,1),-1),c="rgb",u=[Math.round(255*o(0)),Math.round(255*o(8)),Math.round(255*o(4))];return"hsla"===e.type&&(c+="a",u.push(t[3])),l({type:c,values:u})}(e)).values:e.values;return Number((.2126*(t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)))[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}},58128:function(e,t,n){"use strict";var r=n(64836);t.ZP=function(e={}){let{themeId:t,defaultTheme:n=g,rootShouldForwardProp:r=h,slotShouldForwardProp:l=h}=e,u=e=>(0,c.default)((0,a.default)({},e,{theme:b((0,a.default)({},e,{defaultTheme:n,themeId:t}))}));return u.__mui_systemSx=!0,(e,c={})=>{var d;let f;(0,o.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));let{name:g,slot:E,skipVariantsResolver:v,skipSx:T,overridesResolver:S=(d=m(E))?(e,t)=>t[d]:null}=c,A=(0,i.default)(c,p),O=void 0!==v?v:E&&"Root"!==E&&"root"!==E||!1,_=T||!1,k=h;"Root"===E||"root"===E?k=r:E?k=l:"string"==typeof e&&e.charCodeAt(0)>96&&(k=void 0);let C=(0,o.default)(e,(0,a.default)({shouldForwardProp:k,label:f},A)),x=e=>"function"==typeof e&&e.__emotion_real!==e||(0,s.isPlainObject)(e)?r=>y(e,(0,a.default)({},r,{theme:b({theme:r.theme,defaultTheme:n,themeId:t})})):e,w=(r,...i)=>{let o=x(r),s=i?i.map(x):[];g&&S&&s.push(e=>{let r=b((0,a.default)({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[g]||!r.components[g].styleOverrides)return null;let i=r.components[g].styleOverrides,o={};return Object.entries(i).forEach(([t,n])=>{o[t]=y(n,(0,a.default)({},e,{theme:r}))}),S(e,o)}),g&&!O&&s.push(e=>{var r;let i=b((0,a.default)({},e,{defaultTheme:n,themeId:t})),o=null==i||null==(r=i.components)||null==(r=r[g])?void 0:r.variants;return y({variants:o},(0,a.default)({},e,{theme:i}))}),_||s.push(u);let l=s.length-i.length;if(Array.isArray(r)&&l>0){let e=Array(l).fill("");(o=[...r,...e]).raw=[...r.raw,...e]}let c=C(o,...s);return e.muiName&&(c.muiName=e.muiName),c};return C.withConfig&&(w.withConfig=C.withConfig),w}};var a=r(n(10434)),i=r(n(7071)),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(23534)),s=n(211);r(n(99698)),r(n(37889));var l=r(n(19926)),c=r(n(386));let u=["ownerState"],d=["variants"],p=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function h(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}let g=(0,l.default)(),m=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function b({defaultTheme:e,theme:t,themeId:n}){return 0===Object.keys(t).length?e:t[n]||t}function y(e,t){let{ownerState:n}=t,r=(0,i.default)(t,u),o="function"==typeof e?e((0,a.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(e=>y(e,(0,a.default)({ownerState:n},r)));if(o&&"object"==typeof o&&Array.isArray(o.variants)){let{variants:e=[]}=o,t=(0,i.default)(o,d),s=t;return e.forEach(e=>{let t=!0;"function"==typeof e.props?t=e.props((0,a.default)({ownerState:n},r,n)):Object.keys(e.props).forEach(a=>{(null==n?void 0:n[a])!==e.props[a]&&r[a]!==e.props[a]&&(t=!1)}),t&&(Array.isArray(s)||(s=[s]),s.push("function"==typeof e.style?e.style((0,a.default)({ownerState:n},r,n)):e.style))}),s}return o}},19926:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},private_createBreakpoints:function(){return a.Z},unstable_applyStyles:function(){return i.Z}});var r=n(88647),a=n(41512),i=n(57064)},386:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},extendSxProp:function(){return a.Z},unstable_createStyleFunctionSx:function(){return r.n},unstable_defaultSxConfig:function(){return i.Z}});var r=n(86523),a=n(39707),i=n(44920)},99698:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(62908)},49425:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r}});var r=function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}},211:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},isPlainObject:function(){return r.P}});var r=n(68027)},743:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(78758)},37889:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return l},getFunctionName:function(){return i}});var r=n(59864);let a=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function i(e){let t=`${e}`.match(a),n=t&&t[1];return n||""}function o(e,t=""){return e.displayName||e.name||i(e)||t}function s(e,t,n){let r=o(t);return e.displayName||(""!==r?`${n}(${r})`:n)}function l(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return o(e,"Component");if("object"==typeof e)switch(e.$$typeof){case r.ForwardRef:return s(e,e.render,"ForwardRef");case r.Memo:return s(e,e.type,"memo")}}}},2093:function(e,t,n){"use strict";var r=n(97582),a=n(67294),i=n(92770);t.Z=function(e,t){(0,a.useEffect)(function(){var t=e(),n=!1;return!function(){(0,r.mG)(this,void 0,void 0,function(){return(0,r.Jh)(this,function(e){switch(e.label){case 0:if(!(0,i.mf)(t[Symbol.asyncIterator]))return[3,4];e.label=1;case 1:return[4,t.next()];case 2:if(e.sent().done||n)return[3,3];return[3,1];case 3:return[3,6];case 4:return[4,t];case 5:e.sent(),e.label=6;case 6:return[2]}})})}(),function(){n=!0}},t)}},85265:function(e,t,n){"use strict";n.d(t,{Z:function(){return q}});var r=n(67294),a=n(93967),i=n.n(a),o=n(1413),s=n(97685),l=n(2788),c=n(8410),u=r.createContext(null),d=r.createContext({}),p=n(4942),f=n(87462),h=n(29372),g=n(15105),m=n(64217),b=n(45987),y=n(42550),E=["prefixCls","className","containerRef"],v=function(e){var t=e.prefixCls,n=e.className,a=e.containerRef,o=(0,b.Z)(e,E),s=r.useContext(d).panel,l=(0,y.x1)(s,a);return r.createElement("div",(0,f.Z)({className:i()("".concat(t,"-content"),n),role:"dialog",ref:l},(0,m.Z)(e,{aria:!0}),{"aria-modal":"true"},o))},T=n(80334);function S(e){return"string"==typeof e&&String(Number(e))===e?((0,T.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var A={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"},O=r.forwardRef(function(e,t){var n,a,l,c=e.prefixCls,d=e.open,b=e.placement,y=e.inline,E=e.push,T=e.forceRender,O=e.autoFocus,_=e.keyboard,k=e.classNames,C=e.rootClassName,x=e.rootStyle,w=e.zIndex,I=e.className,R=e.id,N=e.style,L=e.motion,D=e.width,P=e.height,M=e.children,F=e.mask,B=e.maskClosable,j=e.maskMotion,U=e.maskClassName,G=e.maskStyle,H=e.afterOpenChange,$=e.onClose,z=e.onMouseEnter,Z=e.onMouseOver,W=e.onMouseLeave,V=e.onClick,Y=e.onKeyDown,q=e.onKeyUp,K=e.styles,X=e.drawerRender,Q=r.useRef(),J=r.useRef(),ee=r.useRef();r.useImperativeHandle(t,function(){return Q.current}),r.useEffect(function(){if(d&&O){var e;null===(e=Q.current)||void 0===e||e.focus({preventScroll:!0})}},[d]);var et=r.useState(!1),en=(0,s.Z)(et,2),er=en[0],ea=en[1],ei=r.useContext(u),eo=null!==(n=null!==(a=null===(l="boolean"==typeof E?E?{}:{distance:0}:E||{})||void 0===l?void 0:l.distance)&&void 0!==a?a:null==ei?void 0:ei.pushDistance)&&void 0!==n?n:180,es=r.useMemo(function(){return{pushDistance:eo,push:function(){ea(!0)},pull:function(){ea(!1)}}},[eo]);r.useEffect(function(){var e,t;d?null==ei||null===(e=ei.push)||void 0===e||e.call(ei):null==ei||null===(t=ei.pull)||void 0===t||t.call(ei)},[d]),r.useEffect(function(){return function(){var e;null==ei||null===(e=ei.pull)||void 0===e||e.call(ei)}},[]);var el=F&&r.createElement(h.ZP,(0,f.Z)({key:"mask"},j,{visible:d}),function(e,t){var n=e.className,a=e.style;return r.createElement("div",{className:i()("".concat(c,"-mask"),n,null==k?void 0:k.mask,U),style:(0,o.Z)((0,o.Z)((0,o.Z)({},a),G),null==K?void 0:K.mask),onClick:B&&d?$:void 0,ref:t})}),ec="function"==typeof L?L(b):L,eu={};if(er&&eo)switch(b){case"top":eu.transform="translateY(".concat(eo,"px)");break;case"bottom":eu.transform="translateY(".concat(-eo,"px)");break;case"left":eu.transform="translateX(".concat(eo,"px)");break;default:eu.transform="translateX(".concat(-eo,"px)")}"left"===b||"right"===b?eu.width=S(D):eu.height=S(P);var ed={onMouseEnter:z,onMouseOver:Z,onMouseLeave:W,onClick:V,onKeyDown:Y,onKeyUp:q},ep=r.createElement(h.ZP,(0,f.Z)({key:"panel"},ec,{visible:d,forceRender:T,onVisibleChanged:function(e){null==H||H(e)},removeOnLeave:!1,leavedClassName:"".concat(c,"-content-wrapper-hidden")}),function(t,n){var a=t.className,s=t.style,l=r.createElement(v,(0,f.Z)({id:R,containerRef:n,prefixCls:c,className:i()(I,null==k?void 0:k.content),style:(0,o.Z)((0,o.Z)({},N),null==K?void 0:K.content)},(0,m.Z)(e,{aria:!0}),ed),M);return r.createElement("div",(0,f.Z)({className:i()("".concat(c,"-content-wrapper"),null==k?void 0:k.wrapper,a),style:(0,o.Z)((0,o.Z)((0,o.Z)({},eu),s),null==K?void 0:K.wrapper)},(0,m.Z)(e,{data:!0})),X?X(l):l)}),ef=(0,o.Z)({},x);return w&&(ef.zIndex=w),r.createElement(u.Provider,{value:es},r.createElement("div",{className:i()(c,"".concat(c,"-").concat(b),C,(0,p.Z)((0,p.Z)({},"".concat(c,"-open"),d),"".concat(c,"-inline"),y)),style:ef,tabIndex:-1,ref:Q,onKeyDown:function(e){var t,n,r=e.keyCode,a=e.shiftKey;switch(r){case g.Z.TAB:r===g.Z.TAB&&(a||document.activeElement!==ee.current?a&&document.activeElement===J.current&&(null===(n=ee.current)||void 0===n||n.focus({preventScroll:!0})):null===(t=J.current)||void 0===t||t.focus({preventScroll:!0}));break;case g.Z.ESC:$&&_&&(e.stopPropagation(),$(e))}}},el,r.createElement("div",{tabIndex:0,ref:J,style:A,"aria-hidden":"true","data-sentinel":"start"}),ep,r.createElement("div",{tabIndex:0,ref:ee,style:A,"aria-hidden":"true","data-sentinel":"end"})))}),_=function(e){var t=e.open,n=e.prefixCls,a=e.placement,i=e.autoFocus,u=e.keyboard,p=e.width,f=e.mask,h=void 0===f||f,g=e.maskClosable,m=e.getContainer,b=e.forceRender,y=e.afterOpenChange,E=e.destroyOnClose,v=e.onMouseEnter,T=e.onMouseOver,S=e.onMouseLeave,A=e.onClick,_=e.onKeyDown,k=e.onKeyUp,C=e.panelRef,x=r.useState(!1),w=(0,s.Z)(x,2),I=w[0],R=w[1],N=r.useState(!1),L=(0,s.Z)(N,2),D=L[0],P=L[1];(0,c.Z)(function(){P(!0)},[]);var M=!!D&&void 0!==t&&t,F=r.useRef(),B=r.useRef();(0,c.Z)(function(){M&&(B.current=document.activeElement)},[M]);var j=r.useMemo(function(){return{panel:C}},[C]);if(!b&&!I&&!M&&E)return null;var U=(0,o.Z)((0,o.Z)({},e),{},{open:M,prefixCls:void 0===n?"rc-drawer":n,placement:void 0===a?"right":a,autoFocus:void 0===i||i,keyboard:void 0===u||u,width:void 0===p?378:p,mask:h,maskClosable:void 0===g||g,inline:!1===m,afterOpenChange:function(e){var t,n;R(e),null==y||y(e),e||!B.current||null!==(t=F.current)&&void 0!==t&&t.contains(B.current)||null===(n=B.current)||void 0===n||n.focus({preventScroll:!0})},ref:F},{onMouseEnter:v,onMouseOver:T,onMouseLeave:S,onClick:A,onKeyDown:_,onKeyUp:k});return r.createElement(d.Provider,{value:j},r.createElement(l.Z,{open:M||b||I,autoDestroy:!1,getContainer:m,autoLock:h&&(M||I)},r.createElement(O,U)))},k=n(89942),C=n(87263),x=n(33603),w=n(43945),I=n(53124),R=n(16569),N=n(69760),L=n(48054),D=e=>{var t,n;let{prefixCls:a,title:o,footer:s,extra:l,loading:c,onClose:u,headerStyle:d,bodyStyle:p,footerStyle:f,children:h,classNames:g,styles:m}=e,{drawer:b}=r.useContext(I.E_),y=r.useCallback(e=>r.createElement("button",{type:"button",onClick:u,"aria-label":"Close",className:`${a}-close`},e),[u]),[E,v]=(0,N.Z)((0,N.w)(e),(0,N.w)(b),{closable:!0,closeIconRender:y}),T=r.useMemo(()=>{var e,t;return o||E?r.createElement("div",{style:Object.assign(Object.assign(Object.assign({},null===(e=null==b?void 0:b.styles)||void 0===e?void 0:e.header),d),null==m?void 0:m.header),className:i()(`${a}-header`,{[`${a}-header-close-only`]:E&&!o&&!l},null===(t=null==b?void 0:b.classNames)||void 0===t?void 0:t.header,null==g?void 0:g.header)},r.createElement("div",{className:`${a}-header-title`},v,o&&r.createElement("div",{className:`${a}-title`},o)),l&&r.createElement("div",{className:`${a}-extra`},l)):null},[E,v,l,d,a,o]),S=r.useMemo(()=>{var e,t;if(!s)return null;let n=`${a}-footer`;return r.createElement("div",{className:i()(n,null===(e=null==b?void 0:b.classNames)||void 0===e?void 0:e.footer,null==g?void 0:g.footer),style:Object.assign(Object.assign(Object.assign({},null===(t=null==b?void 0:b.styles)||void 0===t?void 0:t.footer),f),null==m?void 0:m.footer)},s)},[s,f,a]);return r.createElement(r.Fragment,null,T,r.createElement("div",{className:i()(`${a}-body`,null==g?void 0:g.body,null===(t=null==b?void 0:b.classNames)||void 0===t?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},null===(n=null==b?void 0:b.styles)||void 0===n?void 0:n.body),p),null==m?void 0:m.body)},c?r.createElement(L.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${a}-body-skeleton`}):h),S)},P=n(25446),M=n(14747),F=n(83559),B=n(83262);let j=e=>{let t="100%";return({left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`})[e]},U=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),G=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}}},U({opacity:e},{opacity:1})),H=(e,t)=>[G(.7,t),U({transform:j(e)},{transform:"none"})];var $=e=>{let{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:G(0,n),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce((e,t)=>Object.assign(Object.assign({},e),{[`&-${t}`]:H(t,n)}),{})}}};let z=e=>{let{borderRadiusSM:t,componentCls:n,zIndexPopup:r,colorBgMask:a,colorBgElevated:i,motionDurationSlow:o,motionDurationMid:s,paddingXS:l,padding:c,paddingLG:u,fontSizeLG:d,lineHeightLG:p,lineWidth:f,lineType:h,colorSplit:g,marginXS:m,colorIcon:b,colorIconHover:y,colorBgTextHover:E,colorBgTextActive:v,colorText:T,fontWeightStrong:S,footerPaddingBlock:A,footerPaddingInline:O,calc:_}=e,k=`${n}-content-wrapper`;return{[n]:{position:"fixed",inset:0,zIndex:r,pointerEvents:"none",color:T,"&-pure":{position:"relative",background:i,display:"flex",flexDirection:"column",[`&${n}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${n}-mask`]:{position:"absolute",inset:0,zIndex:r,background:a,pointerEvents:"auto"},[k]:{position:"absolute",zIndex:r,maxWidth:"100vw",transition:`all ${o}`,"&-hidden":{display:"none"}},[`&-left > ${k}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${k}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${k}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${k}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${n}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:i,pointerEvents:"auto"},[`${n}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,P.bf)(c)} ${(0,P.bf)(u)}`,fontSize:d,lineHeight:p,borderBottom:`${(0,P.bf)(f)} ${h} ${g}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:"none"},[`${n}-close`]:Object.assign({display:"inline-flex",width:_(d).add(l).equal(),height:_(d).add(l).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",marginInlineEnd:m,color:b,fontWeight:S,fontSize:d,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${s}`,textRendering:"auto","&:hover":{color:y,backgroundColor:E,textDecoration:"none"},"&:active":{backgroundColor:v}},(0,M.Qy)(e)),[`${n}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:d,lineHeight:p},[`${n}-body`]:{flex:1,minWidth:0,minHeight:0,padding:u,overflow:"auto",[`${n}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${n}-footer`]:{flexShrink:0,padding:`${(0,P.bf)(A)} ${(0,P.bf)(O)}`,borderTop:`${(0,P.bf)(f)} ${h} ${g}`},"&-rtl":{direction:"rtl"}}}};var Z=(0,F.I$)("Drawer",e=>{let t=(0,B.IX)(e,{});return[z(t),$(t)]},e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding})),W=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let V={distance:180},Y=e=>{let{rootClassName:t,width:n,height:a,size:o="default",mask:s=!0,push:l=V,open:c,afterOpenChange:u,onClose:d,prefixCls:p,getContainer:f,style:h,className:g,visible:m,afterVisibleChange:b,maskStyle:y,drawerStyle:E,contentWrapperStyle:v}=e,T=W(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:S,getPrefixCls:A,direction:O,drawer:N}=r.useContext(I.E_),L=A("drawer",p),[P,M,F]=Z(L),B=void 0===f&&S?()=>S(document.body):f,j=i()({"no-mask":!s,[`${L}-rtl`]:"rtl"===O},t,M,F),U=r.useMemo(()=>null!=n?n:"large"===o?736:378,[n,o]),G=r.useMemo(()=>null!=a?a:"large"===o?736:378,[a,o]),H={motionName:(0,x.m)(L,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},$=(0,R.H)(),[z,Y]=(0,C.Cn)("Drawer",T.zIndex),{classNames:q={},styles:K={}}=T,{classNames:X={},styles:Q={}}=N||{};return P(r.createElement(k.Z,{form:!0,space:!0},r.createElement(w.Z.Provider,{value:Y},r.createElement(_,Object.assign({prefixCls:L,onClose:d,maskMotion:H,motion:e=>({motionName:(0,x.m)(L,`panel-motion-${e}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500})},T,{classNames:{mask:i()(q.mask,X.mask),content:i()(q.content,X.content),wrapper:i()(q.wrapper,X.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},K.mask),y),Q.mask),content:Object.assign(Object.assign(Object.assign({},K.content),E),Q.content),wrapper:Object.assign(Object.assign(Object.assign({},K.wrapper),v),Q.wrapper)},open:null!=c?c:m,mask:s,push:l,width:U,height:G,style:Object.assign(Object.assign({},null==N?void 0:N.style),h),className:i()(null==N?void 0:N.className,g),rootClassName:j,getContainer:B,afterOpenChange:null!=u?u:b,panelRef:$,zIndex:z}),r.createElement(D,Object.assign({prefixCls:L},T,{onClose:d}))))))};Y._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,style:n,className:a,placement:o="right"}=e,s=W(e,["prefixCls","style","className","placement"]),{getPrefixCls:l}=r.useContext(I.E_),c=l("drawer",t),[u,d,p]=Z(c),f=i()(c,`${c}-pure`,`${c}-${o}`,d,p,a);return u(r.createElement("div",{className:f,style:n},r.createElement(D,Object.assign({prefixCls:c},s))))};var q=Y},86250:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r=n(67294),a=n(93967),i=n.n(a),o=n(98423),s=n(98065),l=n(53124),c=n(83559),u=n(83262);let d=["wrap","nowrap","wrap-reverse"],p=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],f=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],h=(e,t)=>{let n=!0===t.wrap?"wrap":t.wrap;return{[`${e}-wrap-${n}`]:n&&d.includes(n)}},g=(e,t)=>{let n={};return f.forEach(r=>{n[`${e}-align-${r}`]=t.align===r}),n[`${e}-align-stretch`]=!t.align&&!!t.vertical,n},m=(e,t)=>{let n={};return p.forEach(r=>{n[`${e}-justify-${r}`]=t.justify===r}),n},b=e=>{let{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},y=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},E=e=>{let{componentCls:t}=e,n={};return d.forEach(e=>{n[`${t}-wrap-${e}`]={flexWrap:e}}),n},v=e=>{let{componentCls:t}=e,n={};return f.forEach(e=>{n[`${t}-align-${e}`]={alignItems:e}}),n},T=e=>{let{componentCls:t}=e,n={};return p.forEach(e=>{n[`${t}-justify-${e}`]={justifyContent:e}}),n};var S=(0,c.I$)("Flex",e=>{let{paddingXS:t,padding:n,paddingLG:r}=e,a=(0,u.IX)(e,{flexGapSM:t,flexGap:n,flexGapLG:r});return[b(a),y(a),E(a),v(a),T(a)]},()=>({}),{resetStyle:!1}),A=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let O=r.forwardRef((e,t)=>{let{prefixCls:n,rootClassName:a,className:c,style:u,flex:d,gap:p,children:f,vertical:b=!1,component:y="div"}=e,E=A(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:v,direction:T,getPrefixCls:O}=r.useContext(l.E_),_=O("flex",n),[k,C,x]=S(_),w=null!=b?b:null==v?void 0:v.vertical,I=i()(c,a,null==v?void 0:v.className,_,C,x,i()(Object.assign(Object.assign(Object.assign({},h(_,e)),g(_,e)),m(_,e))),{[`${_}-rtl`]:"rtl"===T,[`${_}-gap-${p}`]:(0,s.n)(p),[`${_}-vertical`]:w}),R=Object.assign(Object.assign({},null==v?void 0:v.style),u);return d&&(R.flex=d),p&&!(0,s.n)(p)&&(R.gap=p),k(r.createElement(y,Object.assign({ref:t,className:I,style:R},(0,o.Z)(E,["justify","wrap","align"])),f))});var _=O},57020:function(e,t,n){"use strict";n.d(t,{Z:function(){return eT}});var r=n(67294),a=n(99611),i=n(93967),o=n.n(i),s=n(87462),l=n(1413),c=n(4942),u=n(97685),d=n(71002),p=n(45987),f=n(27678),h=n(21770),g=n(40974),m=n(64019),b=n(15105),y=n(2788),E=n(29372),v=r.createContext(null),T=function(e){var t=e.visible,n=e.maskTransitionName,a=e.getContainer,i=e.prefixCls,s=e.rootClassName,u=e.icons,d=e.countRender,p=e.showSwitch,f=e.showProgress,h=e.current,g=e.transform,m=e.count,T=e.scale,S=e.minScale,A=e.maxScale,O=e.closeIcon,_=e.onSwitchLeft,k=e.onSwitchRight,C=e.onClose,x=e.onZoomIn,w=e.onZoomOut,I=e.onRotateRight,R=e.onRotateLeft,N=e.onFlipX,L=e.onFlipY,D=e.onReset,P=e.toolbarRender,M=e.zIndex,F=e.image,B=(0,r.useContext)(v),j=u.rotateLeft,U=u.rotateRight,G=u.zoomIn,H=u.zoomOut,$=u.close,z=u.left,Z=u.right,W=u.flipX,V=u.flipY,Y="".concat(i,"-operations-operation");r.useEffect(function(){var e=function(e){e.keyCode===b.Z.ESC&&C()};return t&&window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}},[t]);var q=[{icon:V,onClick:L,type:"flipY"},{icon:W,onClick:N,type:"flipX"},{icon:j,onClick:R,type:"rotateLeft"},{icon:U,onClick:I,type:"rotateRight"},{icon:H,onClick:w,type:"zoomOut",disabled:T<=S},{icon:G,onClick:x,type:"zoomIn",disabled:T===A}].map(function(e){var t,n=e.icon,a=e.onClick,s=e.type,l=e.disabled;return r.createElement("div",{className:o()(Y,(t={},(0,c.Z)(t,"".concat(i,"-operations-operation-").concat(s),!0),(0,c.Z)(t,"".concat(i,"-operations-operation-disabled"),!!l),t)),onClick:a,key:s},n)}),K=r.createElement("div",{className:"".concat(i,"-operations")},q);return r.createElement(E.ZP,{visible:t,motionName:n},function(e){var t=e.className,n=e.style;return r.createElement(y.Z,{open:!0,getContainer:null!=a?a:document.body},r.createElement("div",{className:o()("".concat(i,"-operations-wrapper"),t,s),style:(0,l.Z)((0,l.Z)({},n),{},{zIndex:M})},null===O?null:r.createElement("button",{className:"".concat(i,"-close"),onClick:C},O||$),p&&r.createElement(r.Fragment,null,r.createElement("div",{className:o()("".concat(i,"-switch-left"),(0,c.Z)({},"".concat(i,"-switch-left-disabled"),0===h)),onClick:_},z),r.createElement("div",{className:o()("".concat(i,"-switch-right"),(0,c.Z)({},"".concat(i,"-switch-right-disabled"),h===m-1)),onClick:k},Z)),r.createElement("div",{className:"".concat(i,"-footer")},f&&r.createElement("div",{className:"".concat(i,"-progress")},d?d(h+1,m):"".concat(h+1," / ").concat(m)),P?P(K,(0,l.Z)((0,l.Z)({icons:{flipYIcon:q[0],flipXIcon:q[1],rotateLeftIcon:q[2],rotateRightIcon:q[3],zoomOutIcon:q[4],zoomInIcon:q[5]},actions:{onFlipY:L,onFlipX:N,onRotateLeft:R,onRotateRight:I,onZoomOut:w,onZoomIn:x,onReset:D,onClose:C},transform:g},B?{current:h,total:m}:{}),{},{image:F})):K)))})},S=n(91881),A=n(75164),O={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1},_=n(80334);function k(e,t,n,r){var a=t+n,i=(n-r)/2;if(n>r){if(t>0)return(0,c.Z)({},e,i);if(t<0&&ar)return(0,c.Z)({},e,t<0?i:-i);return{}}function C(e,t,n,r){var a=(0,f.g1)(),i=a.width,o=a.height,s=null;return e<=i&&t<=o?s={x:0,y:0}:(e>i||t>o)&&(s=(0,l.Z)((0,l.Z)({},k("x",n,e,i)),k("y",r,t,o))),s}function x(e){var t=e.src,n=e.isCustomPlaceholder,a=e.fallback,i=(0,r.useState)(n?"loading":"normal"),o=(0,u.Z)(i,2),s=o[0],l=o[1],c=(0,r.useRef)(!1),d="error"===s;(0,r.useEffect)(function(){var e=!0;return new Promise(function(e){var n=document.createElement("img");n.onerror=function(){return e(!1)},n.onload=function(){return e(!0)},n.src=t}).then(function(t){!t&&e&&l("error")}),function(){e=!1}},[t]),(0,r.useEffect)(function(){n&&!c.current?l("loading"):d&&l("normal")},[t]);var p=function(){l("normal")};return[function(e){c.current=!1,"loading"===s&&null!=e&&e.complete&&(e.naturalWidth||e.naturalHeight)&&(c.current=!0,p())},d&&a?{src:a}:{onLoad:p,src:t},s]}function w(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}var I=["fallback","src","imgRef"],R=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],N=function(e){var t=e.fallback,n=e.src,a=e.imgRef,i=(0,p.Z)(e,I),o=x({src:n,fallback:t}),l=(0,u.Z)(o,2),c=l[0],d=l[1];return r.createElement("img",(0,s.Z)({ref:function(e){a.current=e,c(e)}},i,d))},L=function(e){var t,n,a,i,d,h,y,E,k,x,I,L,D,P,M,F,B,j,U,G,H,$,z,Z,W,V,Y,q,K=e.prefixCls,X=e.src,Q=e.alt,J=e.imageInfo,ee=e.fallback,et=e.movable,en=void 0===et||et,er=e.onClose,ea=e.visible,ei=e.icons,eo=e.rootClassName,es=e.closeIcon,el=e.getContainer,ec=e.current,eu=void 0===ec?0:ec,ed=e.count,ep=void 0===ed?1:ed,ef=e.countRender,eh=e.scaleStep,eg=void 0===eh?.5:eh,em=e.minScale,eb=void 0===em?1:em,ey=e.maxScale,eE=void 0===ey?50:ey,ev=e.transitionName,eT=e.maskTransitionName,eS=void 0===eT?"fade":eT,eA=e.imageRender,eO=e.imgCommonProps,e_=e.toolbarRender,ek=e.onTransform,eC=e.onChange,ex=(0,p.Z)(e,R),ew=(0,r.useRef)(),eI=(0,r.useContext)(v),eR=eI&&ep>1,eN=eI&&ep>=1,eL=(0,r.useState)(!0),eD=(0,u.Z)(eL,2),eP=eD[0],eM=eD[1],eF=(t=(0,r.useRef)(null),n=(0,r.useRef)([]),a=(0,r.useState)(O),d=(i=(0,u.Z)(a,2))[0],h=i[1],y=function(e,r){null===t.current&&(n.current=[],t.current=(0,A.Z)(function(){h(function(e){var a=e;return n.current.forEach(function(e){a=(0,l.Z)((0,l.Z)({},a),e)}),t.current=null,null==ek||ek({transform:a,action:r}),a})})),n.current.push((0,l.Z)((0,l.Z)({},d),e))},{transform:d,resetTransform:function(e){h(O),(0,S.Z)(O,d)||null==ek||ek({transform:O,action:e})},updateTransform:y,dispatchZoomChange:function(e,t,n,r,a){var i=ew.current,o=i.width,s=i.height,l=i.offsetWidth,c=i.offsetHeight,u=i.offsetLeft,p=i.offsetTop,h=e,g=d.scale*e;g>eE?(g=eE,h=eE/d.scale):g0&&(t=1/t),eG(t,"wheel",e.clientX,e.clientY)}}}),e$=eH.isMoving,ez=eH.onMouseDown,eZ=eH.onWheel,eW=(U=eB.rotate,G=eB.scale,H=eB.x,$=eB.y,z=(0,r.useState)(!1),W=(Z=(0,u.Z)(z,2))[0],V=Z[1],Y=(0,r.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),q=function(e){Y.current=(0,l.Z)((0,l.Z)({},Y.current),e)},(0,r.useEffect)(function(){var e;return ea&&en&&(e=(0,m.Z)(window,"touchmove",function(e){return e.preventDefault()},{passive:!1})),function(){var t;null===(t=e)||void 0===t||t.remove()}},[ea,en]),{isTouching:W,onTouchStart:function(e){if(en){e.stopPropagation(),V(!0);var t=e.touches,n=void 0===t?[]:t;n.length>1?q({point1:{x:n[0].clientX,y:n[0].clientY},point2:{x:n[1].clientX,y:n[1].clientY},eventType:"touchZoom"}):q({point1:{x:n[0].clientX-H,y:n[0].clientY-$},eventType:"move"})}},onTouchMove:function(e){var t=e.touches,n=void 0===t?[]:t,r=Y.current,a=r.point1,i=r.point2,o=r.eventType;if(n.length>1&&"touchZoom"===o){var s={x:n[0].clientX,y:n[0].clientY},l={x:n[1].clientX,y:n[1].clientY},c=function(e,t,n,r){var a=w(e,n),i=w(t,r);if(0===a&&0===i)return[e.x,e.y];var o=a/(a+i);return[e.x+o*(t.x-e.x),e.y+o*(t.y-e.y)]}(a,i,s,l),d=(0,u.Z)(c,2),p=d[0],f=d[1];eG(w(s,l)/w(a,i),"touchZoom",p,f,!0),q({point1:s,point2:l,eventType:"touchZoom"})}else"move"===o&&(eU({x:n[0].clientX-a.x,y:n[0].clientY-a.y},"move"),q({eventType:"move"}))},onTouchEnd:function(){if(ea){if(W&&V(!1),q({eventType:"none"}),eb>G)return eU({x:0,y:0,scale:eb},"touchZoom");var e=ew.current.offsetWidth*G,t=ew.current.offsetHeight*G,n=ew.current.getBoundingClientRect(),r=n.left,a=n.top,i=U%180!=0,o=C(i?t:e,i?e:t,r,a);o&&eU((0,l.Z)({},o),"dragRebound")}}}),eV=eW.isTouching,eY=eW.onTouchStart,eq=eW.onTouchMove,eK=eW.onTouchEnd,eX=eB.rotate,eQ=eB.scale,eJ=o()((0,c.Z)({},"".concat(K,"-moving"),e$));(0,r.useEffect)(function(){eP||eM(!0)},[eP]);var e0=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu>0&&(eM(!1),ej("prev"),null==eC||eC(eu-1,eu))},e1=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu({position:e||"absolute",inset:0}),eu=e=>{let{iconCls:t,motionDurationSlow:n,paddingXXS:r,marginXXS:a,prefixCls:i,colorTextLightSolid:o}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:o,background:new en.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${i}-mask-info`]:Object.assign(Object.assign({},ea.vS),{padding:`0 ${(0,et.bf)(r)}`,[t]:{marginInlineEnd:a,svg:{verticalAlign:"baseline"}}})}},ed=e=>{let{previewCls:t,modalMaskBg:n,paddingSM:r,marginXL:a,margin:i,paddingLG:o,previewOperationColorDisabled:s,previewOperationHoverColor:l,motionDurationSlow:c,iconCls:u,colorTextLightSolid:d}=e,p=new en.C(n).setAlpha(.1),f=p.clone().setAlpha(.2);return{[`${t}-footer`]:{position:"fixed",bottom:a,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor,transform:"translateX(-50%)"},[`${t}-progress`]:{marginBottom:i},[`${t}-close`]:{position:"fixed",top:a,right:{_skip_check_:!0,value:a},display:"flex",color:d,backgroundColor:p.toRgbString(),borderRadius:"50%",padding:r,outline:0,border:0,cursor:"pointer",transition:`all ${c}`,"&:hover":{backgroundColor:f.toRgbString()},[`& > ${u}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,et.bf)(o)}`,backgroundColor:p.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:r,padding:r,cursor:"pointer",transition:`all ${c}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${u}`]:{color:l},"&-disabled":{color:s,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${u}`]:{fontSize:e.previewOperationSize}}}}},ep=e=>{let{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:r,previewCls:a,zIndexPopup:i,motionDurationSlow:o}=e,s=new en.C(t).setAlpha(.1),l=s.clone().setAlpha(.2);return{[`${a}-switch-left, ${a}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(i).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:s.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${o}`,userSelect:"none","&:hover":{background:l.toRgbString()},"&-disabled":{"&, &:hover":{color:r,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${a}-switch-left`]:{insetInlineStart:e.marginSM},[`${a}-switch-right`]:{insetInlineEnd:e.marginSM}}},ef=e=>{let{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:a}=e;return[{[`${a}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:Object.assign(Object.assign({},ec()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${r} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},ec()),{transition:`transform ${r} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${a}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${a}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal()},"&":[ed(e),ep(e)]}]},eh=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},eu(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},ec())}}},eg=e=>{let{previewCls:t}=e;return{[`${t}-root`]:(0,ei._y)(e,"zoom"),"&":(0,eo.J$)(e,!0)}};var em=(0,es.I$)("Image",e=>{let t=`${e.componentCls}-preview`,n=(0,el.IX)(e,{previewCls:t,modalMaskBg:new en.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[eh(n),ef(n),(0,er.QA)((0,el.IX)(n,{componentCls:t})),eg(n)]},e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new en.C(e.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new en.C(e.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new en.C(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:1.5*e.fontSizeIcon})),eb=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ey={rotateLeft:r.createElement(K.Z,null),rotateRight:r.createElement(X.Z,null),zoomIn:r.createElement(J.Z,null),zoomOut:r.createElement(ee.Z,null),close:r.createElement(V.Z,null),left:r.createElement(Y.Z,null),right:r.createElement(q.Z,null),flipX:r.createElement(Q.Z,null),flipY:r.createElement(Q.Z,{rotate:90})};var eE=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ev=e=>{var t;let{prefixCls:n,preview:i,className:s,rootClassName:l,style:c}=e,u=eE(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:d,locale:p=W.Z,getPopupContainer:f,image:h}=r.useContext(z.E_),g=d("image",n),m=d(),b=p.Image||W.Z.Image,y=(0,Z.Z)(g),[E,v,T]=em(g,y),S=o()(l,v,T,y),A=o()(s,v,null==h?void 0:h.className),[O]=(0,H.Cn)("ImagePreview","object"==typeof i?i.zIndex:void 0),_=r.useMemo(()=>{var e;if(!1===i)return i;let t="object"==typeof i?i:{},{getContainer:n,closeIcon:o}=t,s=eE(t,["getContainer","closeIcon"]);return Object.assign(Object.assign({mask:r.createElement("div",{className:`${g}-mask-info`},r.createElement(a.Z,null),null==b?void 0:b.preview),icons:ey},s),{getContainer:null!=n?n:f,transitionName:(0,$.m)(m,"zoom",t.transitionName),maskTransitionName:(0,$.m)(m,"fade",t.maskTransitionName),zIndex:O,closeIcon:null!=o?o:null===(e=null==h?void 0:h.preview)||void 0===e?void 0:e.closeIcon})},[i,b,null===(t=null==h?void 0:h.preview)||void 0===t?void 0:t.closeIcon]),k=Object.assign(Object.assign({},null==h?void 0:h.style),c);return E(r.createElement(G,Object.assign({prefixCls:g,preview:_,rootClassName:S,className:A,style:k},u)))};ev.PreviewGroup=e=>{var{previewPrefixCls:t,preview:n}=e,a=eb(e,["previewPrefixCls","preview"]);let{getPrefixCls:i}=r.useContext(z.E_),s=i("image",t),l=`${s}-preview`,c=i(),u=(0,Z.Z)(s),[d,p,f]=em(s,u),[h]=(0,H.Cn)("ImagePreview","object"==typeof n?n.zIndex:void 0),g=r.useMemo(()=>{var e;if(!1===n)return n;let t="object"==typeof n?n:{},r=o()(p,f,u,null!==(e=t.rootClassName)&&void 0!==e?e:"");return Object.assign(Object.assign({},t),{transitionName:(0,$.m)(c,"zoom",t.transitionName),maskTransitionName:(0,$.m)(c,"fade",t.maskTransitionName),rootClassName:r,zIndex:h})},[n]);return d(r.createElement(G.PreviewGroup,Object.assign({preview:g,previewPrefixCls:l,icons:ey},a)))};var eT=ev},66309:function(e,t,n){"use strict";n.d(t,{Z:function(){return I}});var r=n(67294),a=n(93967),i=n.n(a),o=n(98423),s=n(98787),l=n(69760),c=n(96159),u=n(45353),d=n(53124),p=n(25446),f=n(10274),h=n(14747),g=n(83262),m=n(83559);let b=e=>{let{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:a,calc:i}=e,o=i(r).sub(n).equal(),s=i(t).sub(n).equal();return{[a]:Object.assign(Object.assign({},(0,h.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:o,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,p.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${a}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${a}-close-icon`]:{marginInlineStart:s,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${a}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${a}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:o}}),[`${a}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},y=e=>{let{lineWidth:t,fontSizeIcon:n,calc:r}=e,a=e.fontSizeSM,i=(0,g.IX)(e,{tagFontSize:a,tagLineHeight:(0,p.bf)(r(e.lineHeightSM).mul(a).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return i},E=e=>({defaultBg:new f.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var v=(0,m.I$)("Tag",e=>{let t=y(e);return b(t)},E),T=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let S=r.forwardRef((e,t)=>{let{prefixCls:n,style:a,className:o,checked:s,onChange:l,onClick:c}=e,u=T(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:p,tag:f}=r.useContext(d.E_),h=p("tag",n),[g,m,b]=v(h),y=i()(h,`${h}-checkable`,{[`${h}-checkable-checked`]:s},null==f?void 0:f.className,o,m,b);return g(r.createElement("span",Object.assign({},u,{ref:t,style:Object.assign(Object.assign({},a),null==f?void 0:f.style),className:y,onClick:e=>{null==l||l(!s),null==c||c(e)}})))});var A=n(98719);let O=e=>(0,A.Z)(e,(t,n)=>{let{textColor:r,lightBorderColor:a,lightColor:i,darkColor:o}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:i,borderColor:a,"&-inverse":{color:e.colorTextLightSolid,background:o,borderColor:o},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var _=(0,m.bk)(["Tag","preset"],e=>{let t=y(e);return O(t)},E);let k=(e,t,n)=>{let r=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var C=(0,m.bk)(["Tag","status"],e=>{let t=y(e);return[k(t,"success","Success"),k(t,"processing","Info"),k(t,"error","Error"),k(t,"warning","Warning")]},E),x=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let w=r.forwardRef((e,t)=>{let{prefixCls:n,className:a,rootClassName:p,style:f,children:h,icon:g,color:m,onClose:b,bordered:y=!0,visible:E}=e,T=x(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:S,direction:A,tag:O}=r.useContext(d.E_),[k,w]=r.useState(!0),I=(0,o.Z)(T,["closeIcon","closable"]);r.useEffect(()=>{void 0!==E&&w(E)},[E]);let R=(0,s.o2)(m),N=(0,s.yT)(m),L=R||N,D=Object.assign(Object.assign({backgroundColor:m&&!L?m:void 0},null==O?void 0:O.style),f),P=S("tag",n),[M,F,B]=v(P),j=i()(P,null==O?void 0:O.className,{[`${P}-${m}`]:L,[`${P}-has-color`]:m&&!L,[`${P}-hidden`]:!k,[`${P}-rtl`]:"rtl"===A,[`${P}-borderless`]:!y},a,p,F,B),U=e=>{e.stopPropagation(),null==b||b(e),e.defaultPrevented||w(!1)},[,G]=(0,l.Z)((0,l.w)(e),(0,l.w)(O),{closable:!1,closeIconRender:e=>{let t=r.createElement("span",{className:`${P}-close-icon`,onClick:U},e);return(0,c.wm)(e,t,e=>({onClick:t=>{var n;null===(n=null==e?void 0:e.onClick)||void 0===n||n.call(e,t),U(t)},className:i()(null==e?void 0:e.className,`${P}-close-icon`)}))}}),H="function"==typeof T.onClick||h&&"a"===h.type,$=g||null,z=$?r.createElement(r.Fragment,null,$,h&&r.createElement("span",null,h)):h,Z=r.createElement("span",Object.assign({},I,{ref:t,className:j,style:D}),z,G,R&&r.createElement(_,{key:"preset",prefixCls:P}),N&&r.createElement(C,{key:"status",prefixCls:P}));return M(H?r.createElement(u.Z,{component:"Tag"},Z):Z)});w.CheckableTag=S;var I=w},62502:function(e,t,n){"use strict";var r=n(15575),a=n(64977),i=n(72869),o=n(32473).Q,s=n(24395).Q;e.exports=function(e,t,n){var a=n?function(e){for(var t,n=e.length,r=-1,a={};++r4&&h.slice(0,4)===o&&s.test(t)&&("-"===t.charAt(4)?g=o+(n=t.slice(5).replace(l,d)).charAt(0).toUpperCase()+n.slice(1):(f=(p=t).slice(4),t=l.test(f)?p:("-"!==(f=f.replace(c,u)).charAt(0)&&(f="-"+f),o+f)),m=a),new m(g,t))};var s=/^data[-\w.:]+$/i,l=/-[a-z]/g,c=/[A-Z]/g;function u(e){return"-"+e.toLowerCase()}function d(e){return e.charAt(1).toUpperCase()}},48055:function(e,t,n){"use strict";var r=n(26230),a=n(13970),i=n(10629),o=n(647),s=n(91305),l=n(22537);e.exports=r([i,a,o,s,l])},91305:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=r.booleanish,o=r.number,s=r.spaceSeparated;e.exports=a({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:i,ariaAutoComplete:null,ariaBusy:i,ariaChecked:i,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:s,ariaCurrent:null,ariaDescribedBy:s,ariaDetails:null,ariaDisabled:i,ariaDropEffect:s,ariaErrorMessage:null,ariaExpanded:i,ariaFlowTo:s,ariaGrabbed:i,ariaHasPopup:null,ariaHidden:i,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s,ariaLevel:o,ariaLive:null,ariaModal:i,ariaMultiLine:i,ariaMultiSelectable:i,ariaOrientation:null,ariaOwns:s,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:i,ariaReadOnly:i,ariaRelevant:null,ariaRequired:i,ariaRoleDescription:s,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:i,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}})},22537:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=n(19348),o=r.boolean,s=r.overloadedBoolean,l=r.booleanish,c=r.number,u=r.spaceSeparated,d=r.commaSeparated;e.exports=a({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:i,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:d,acceptCharset:u,accessKey:u,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:u,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:u,cols:c,colSpan:null,content:null,contentEditable:l,controls:o,controlsList:u,coords:c|d,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:s,draggable:l,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:u,height:c,hidden:o,high:c,href:null,hrefLang:null,htmlFor:u,httpEquiv:u,id:null,imageSizes:null,imageSrcSet:d,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:u,itemRef:u,itemScope:o,itemType:u,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:u,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:u,required:o,reversed:o,rows:c,rowSpan:c,sandbox:u,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:c,sizes:null,slot:null,span:c,spellCheck:l,src:null,srcDoc:null,srcLang:null,srcSet:d,start:c,step:null,style:null,tabIndex:c,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:l,width:c,wrap:null,align:null,aLink:null,archive:u,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:l,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}})},19348:function(e,t,n){"use strict";var r=n(21098);e.exports=function(e,t){return r(e,t.toLowerCase())}},21098:function(e){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},47589:function(e,t,n){"use strict";var r=n(64977),a=n(16038),i=n(78444);e.exports=function(e){var t,n,o=e.space,s=e.mustUseProperty||[],l=e.attributes||{},c=e.properties,u=e.transform,d={},p={};for(t in c)n=new i(t,u(l,t),c[t],o),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),d[t]=n,p[r(t)]=t,p[r(n.attribute)]=t;return new a(d,p,o)}},78444:function(e,t,n){"use strict";var r=n(40313),a=n(61422);e.exports=s,s.prototype=new r,s.prototype.defined=!0;var i=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=i.length;function s(e,t,n,s){var l,c,u,d=-1;for(s&&(this.space=s),r.call(this,e,t);++d=97&&t<=122||t>=65&&t<=90}},7961:function(e,t,n){"use strict";var r=n(46260),a=n(46195);e.exports=function(e){return r(e)||a(e)}},46195:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},79480:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}},8726:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/construct/app/extra/components/auto-plan/PromptSelect",function(){return n(23024)}])},85813:function(e,t,n){"use strict";n.d(t,{r:function(){return _6}});var r,a,i,o,s,l,c,u,d,p,f,h,g,m,b,y,E,v,T,S,A,O,_,k,C,x,w,I,R,N,L,D,P,M,F,B,j,U,G,H,$,z,Z,W,V,Y,q,K,X,Q,J,ee,et,en,er,ea={};n.r(ea),n.d(ea,{area:function(){return cf},bottom:function(){return cT},bottomLeft:function(){return cT},bottomRight:function(){return cT},inside:function(){return cT},left:function(){return cT},outside:function(){return c_},right:function(){return cT},spider:function(){return cR},surround:function(){return cL},top:function(){return cT},topLeft:function(){return cT},topRight:function(){return cT}});var ei={};n.r(ei),n.d(ei,{interpolateBlues:function(){return uD.interpolateBlues},interpolateBrBG:function(){return uD.interpolateBrBG},interpolateBuGn:function(){return uD.interpolateBuGn},interpolateBuPu:function(){return uD.interpolateBuPu},interpolateCividis:function(){return uD.interpolateCividis},interpolateCool:function(){return uD.interpolateCool},interpolateCubehelixDefault:function(){return uD.interpolateCubehelixDefault},interpolateGnBu:function(){return uD.interpolateGnBu},interpolateGreens:function(){return uD.interpolateGreens},interpolateGreys:function(){return uD.interpolateGreys},interpolateInferno:function(){return uD.interpolateInferno},interpolateMagma:function(){return uD.interpolateMagma},interpolateOrRd:function(){return uD.interpolateOrRd},interpolateOranges:function(){return uD.interpolateOranges},interpolatePRGn:function(){return uD.interpolatePRGn},interpolatePiYG:function(){return uD.interpolatePiYG},interpolatePlasma:function(){return uD.interpolatePlasma},interpolatePuBu:function(){return uD.interpolatePuBu},interpolatePuBuGn:function(){return uD.interpolatePuBuGn},interpolatePuOr:function(){return uD.interpolatePuOr},interpolatePuRd:function(){return uD.interpolatePuRd},interpolatePurples:function(){return uD.interpolatePurples},interpolateRainbow:function(){return uD.interpolateRainbow},interpolateRdBu:function(){return uD.interpolateRdBu},interpolateRdGy:function(){return uD.interpolateRdGy},interpolateRdPu:function(){return uD.interpolateRdPu},interpolateRdYlBu:function(){return uD.interpolateRdYlBu},interpolateRdYlGn:function(){return uD.interpolateRdYlGn},interpolateReds:function(){return uD.interpolateReds},interpolateSinebow:function(){return uD.interpolateSinebow},interpolateSpectral:function(){return uD.interpolateSpectral},interpolateTurbo:function(){return uD.interpolateTurbo},interpolateViridis:function(){return uD.interpolateViridis},interpolateWarm:function(){return uD.interpolateWarm},interpolateYlGn:function(){return uD.interpolateYlGn},interpolateYlGnBu:function(){return uD.interpolateYlGnBu},interpolateYlOrBr:function(){return uD.interpolateYlOrBr},interpolateYlOrRd:function(){return uD.interpolateYlOrRd},schemeAccent:function(){return uD.schemeAccent},schemeBlues:function(){return uD.schemeBlues},schemeBrBG:function(){return uD.schemeBrBG},schemeBuGn:function(){return uD.schemeBuGn},schemeBuPu:function(){return uD.schemeBuPu},schemeCategory10:function(){return uD.schemeCategory10},schemeDark2:function(){return uD.schemeDark2},schemeGnBu:function(){return uD.schemeGnBu},schemeGreens:function(){return uD.schemeGreens},schemeGreys:function(){return uD.schemeGreys},schemeOrRd:function(){return uD.schemeOrRd},schemeOranges:function(){return uD.schemeOranges},schemePRGn:function(){return uD.schemePRGn},schemePaired:function(){return uD.schemePaired},schemePastel1:function(){return uD.schemePastel1},schemePastel2:function(){return uD.schemePastel2},schemePiYG:function(){return uD.schemePiYG},schemePuBu:function(){return uD.schemePuBu},schemePuBuGn:function(){return uD.schemePuBuGn},schemePuOr:function(){return uD.schemePuOr},schemePuRd:function(){return uD.schemePuRd},schemePurples:function(){return uD.schemePurples},schemeRdBu:function(){return uD.schemeRdBu},schemeRdGy:function(){return uD.schemeRdGy},schemeRdPu:function(){return uD.schemeRdPu},schemeRdYlBu:function(){return uD.schemeRdYlBu},schemeRdYlGn:function(){return uD.schemeRdYlGn},schemeReds:function(){return uD.schemeReds},schemeSet1:function(){return uD.schemeSet1},schemeSet2:function(){return uD.schemeSet2},schemeSet3:function(){return uD.schemeSet3},schemeSpectral:function(){return uD.schemeSpectral},schemeTableau10:function(){return uD.schemeTableau10},schemeYlGn:function(){return uD.schemeYlGn},schemeYlGnBu:function(){return uD.schemeYlGnBu},schemeYlOrBr:function(){return uD.schemeYlOrBr},schemeYlOrRd:function(){return uD.schemeYlOrRd}});var eo={};n.r(eo);var es={};n.r(es),n.d(es,{geoAlbers:function(){return Ta.Z},geoAlbersUsa:function(){return Tr.Z},geoAzimuthalEqualArea:function(){return Ti.Z},geoAzimuthalEqualAreaRaw:function(){return Ti.l},geoAzimuthalEquidistant:function(){return To.Z},geoAzimuthalEquidistantRaw:function(){return To.N},geoConicConformal:function(){return Ts.Z},geoConicConformalRaw:function(){return Ts.l},geoConicEqualArea:function(){return Tl.Z},geoConicEqualAreaRaw:function(){return Tl.v},geoConicEquidistant:function(){return Tc.Z},geoConicEquidistantRaw:function(){return Tc.o},geoEqualEarth:function(){return Tu.Z},geoEqualEarthRaw:function(){return Tu.i},geoEquirectangular:function(){return Td.Z},geoEquirectangularRaw:function(){return Td.k},geoGnomonic:function(){return Tp.Z},geoGnomonicRaw:function(){return Tp.M},geoIdentity:function(){return Tf.Z},geoMercator:function(){return Tg.ZP},geoMercatorRaw:function(){return Tg.hk},geoNaturalEarth1:function(){return Tm.Z},geoNaturalEarth1Raw:function(){return Tm.K},geoOrthographic:function(){return Tb.Z},geoOrthographicRaw:function(){return Tb.I},geoProjection:function(){return Th.Z},geoProjectionMutator:function(){return Th.r},geoStereographic:function(){return Ty.Z},geoStereographicRaw:function(){return Ty.T},geoTransverseMercator:function(){return TE.Z},geoTransverseMercatorRaw:function(){return TE.F}});var el={};n.r(el),n.d(el,{frequency:function(){return Sh},id:function(){return Sg},name:function(){return Sm},weight:function(){return Sf}});var ec=n(74902),eu=n(1413),ed=n(87462),ep=n(97685),ef=n(45987),eh=n(50888),eg=n(96486),em=n(67294),eb=function(){return(eb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n-1&&!e.return)switch(e.type){case ek:e.return=function e(t,n,r){var a;switch(a=n,45^eD(t,0)?(((a<<2^eD(t,0))<<2^eD(t,1))<<2^eD(t,2))<<2^eD(t,3):0){case 5103:return eA+"print-"+t+t;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 eA+t+t;case 4789:return eS+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return eA+t+eS+t+eT+t+t;case 5936:switch(eD(t,n+11)){case 114:return eA+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return eA+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return eA+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return eA+t+eT+t+t;case 6165:return eA+t+eT+"flex-"+t+t;case 5187:return eA+t+eN(t,/(\w+).+(:[^]+)/,eA+"box-$1$2"+eT+"flex-$1$2")+t;case 5443:return eA+t+eT+"flex-item-"+eN(t,/flex-|-self/g,"")+(eR(t,/flex-|baseline/)?"":eT+"grid-row-"+eN(t,/flex-|-self/g,""))+t;case 4675:return eA+t+eT+"flex-line-pack"+eN(t,/align-content|flex-|-self/g,"")+t;case 5548:return eA+t+eT+eN(t,"shrink","negative")+t;case 5292:return eA+t+eT+eN(t,"basis","preferred-size")+t;case 6060:return eA+"box-"+eN(t,"-grow","")+eA+t+eT+eN(t,"grow","positive")+t;case 4554:return eA+eN(t,/([^-])(transform)/g,"$1"+eA+"$2")+t;case 6187:return eN(eN(eN(t,/(zoom-|grab)/,eA+"$1"),/(image-set)/,eA+"$1"),t,"")+t;case 5495:case 3959:return eN(t,/(image-set\([^]*)/,eA+"$1$`$1");case 4968:return eN(eN(t,/(.+:)(flex-)?(.*)/,eA+"box-pack:$3"+eT+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+eA+t+t;case 4200:if(!eR(t,/flex-|baseline/))return eT+"grid-column-align"+eP(t,n)+t;break;case 2592:case 3360:return eT+eN(t,"template-","")+t;case 4384:case 3616:if(r&&r.some(function(e,t){return n=t,eR(e.props,/grid-\w+-end/)}))return~eL(t+(r=r[n].value),"span",0)?t:eT+eN(t,"-start","")+t+eT+"grid-row-span:"+(~eL(r,"span",0)?eR(r,/\d+/):+eR(r,/\d+/)-+eR(t,/\d+/))+";";return eT+eN(t,"-start","")+t;case 4896:case 4128:return r&&r.some(function(e){return eR(e.props,/grid-\w+-start/)})?t:eT+eN(eN(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return eN(t,/(.+)-inline(.+)/,eA+"$1$2")+t;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(eM(t)-1-n>6)switch(eD(t,n+1)){case 109:if(45!==eD(t,n+4))break;case 102:return eN(t,/(.+:)(.+)-([^]+)/,"$1"+eA+"$2-$3$1"+eS+(108==eD(t,n+3)?"$3":"$2-$3"))+t;case 115:return~eL(t,"stretch",0)?e(eN(t,"stretch","fill-available"),n,r)+t:t}break;case 5152:case 5920:return eN(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(e,n,r,a,i,o,s){return eT+n+":"+r+s+(a?eT+n+"-span:"+(i?o:+o-+r)+s:"")+t});case 4949:if(121===eD(t,n+6))return eN(t,":",":"+eA)+t;break;case 6444:switch(eD(t,45===eD(t,14)?18:11)){case 120:return eN(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+eA+(45===eD(t,14)?"inline-":"")+"box$3$1"+eA+"$2$3$1"+eT+"$2box$3")+t;case 100:return eN(t,":",":"+eT)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return eN(t,"scroll-","scroll-snap-")+t}return t}(e.value,e.length,n);return;case eC:return eQ([eW(e,{value:eN(e.value,"@","@"+eA)})],r);case e_:if(e.length)return(n=e.props).map(function(t){switch(eR(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":eV(eW(e,{props:[eN(t,/:(read-\w+)/,":"+eS+"$1")]})),eV(eW(e,{props:[t]})),eI(e,{props:eB(n,r)});break;case"::placeholder":eV(eW(e,{props:[eN(t,/:(plac\w+)/,":"+eA+"input-$1")]})),eV(eW(e,{props:[eN(t,/:(plac\w+)/,":"+eS+"$1")]})),eV(eW(e,{props:[eN(t,/:(plac\w+)/,eT+"input-$1")]})),eV(eW(e,{props:[t]})),eI(e,{props:eB(n,r)})}return""}).join("")}}function e1(e,t,n,r,a,i,o,s,l,c,u,d){for(var p=a-1,f=0===a?i:[""],h=f.length,g=0,m=0,b=0;g0?f[y]+" "+E:eN(E,/&\f/g,f[y])).trim())&&(l[b++]=v);return eZ(e,t,n,0===a?e_:s,l,c,u,d)}function e2(e,t,n,r,a){return eZ(e,t,n,ek,eP(e,0,r),eP(e,r+1,-1),r,a)}var e3=n(94371),e5=n(83454),e4=void 0!==e5&&void 0!==e5.env&&(e5.env.REACT_APP_SC_ATTR||e5.env.SC_ATTR)||"data-styled",e6="active",e9="data-styled-version",e8="6.1.15",e7="/*!sc*/\n",te="undefined"!=typeof window&&"HTMLElement"in window,tt=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==e5&&void 0!==e5.env&&void 0!==e5.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==e5.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==e5.env.REACT_APP_SC_DISABLE_SPEEDY&&e5.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==e5&&void 0!==e5.env&&void 0!==e5.env.SC_DISABLE_SPEEDY&&""!==e5.env.SC_DISABLE_SPEEDY&&"false"!==e5.env.SC_DISABLE_SPEEDY&&e5.env.SC_DISABLE_SPEEDY),tn=Object.freeze([]),tr=Object.freeze({}),ta=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),ti=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,to=/(^-|-$)/g;function ts(e){return e.replace(ti,"-").replace(to,"")}var tl=/(a)(d)/gi,tc=function(e){return String.fromCharCode(e+(e>25?39:97))};function tu(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=tc(t%52)+n;return(tc(t%52)+n).replace(tl,"$1-$2")}var td,tp=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},tf=function(e){return tp(5381,e)};function th(e){return"string"==typeof e}var tg="function"==typeof Symbol&&Symbol.for,tm=tg?Symbol.for("react.memo"):60115,tb=tg?Symbol.for("react.forward_ref"):60112,ty={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},tE={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},tv={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},tT=((td={})[tb]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},td[tm]=tv,td);function tS(e){return("type"in e&&e.type.$$typeof)===tm?tv:"$$typeof"in e?tT[e.$$typeof]:ty}var tA=Object.defineProperty,tO=Object.getOwnPropertyNames,t_=Object.getOwnPropertySymbols,tk=Object.getOwnPropertyDescriptor,tC=Object.getPrototypeOf,tx=Object.prototype;function tw(e){return"function"==typeof e}function tI(e){return"object"==typeof e&&"styledComponentId"in e}function tR(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function tN(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r0?" Args: ".concat(t.join(", ")):""))}var tM=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,a=r;e>=a;)if((a<<=1)<0)throw tP(16,"".concat(e));this.groupSizes=new Uint32Array(a),this.groupSizes.set(n),this.length=a;for(var i=r;i=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),a=r+n,i=r;i=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(l+="".concat(e,","))}),r+="".concat(o).concat(s,'{content:"').concat(l,'"}').concat(e7)}}})(a);return r}(r)})}return e.registerId=function(e){return tU(e)},e.prototype.rehydrate=function(){!this.server&&te&&tW(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(eb(eb({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){var e,t,n,r;return this.tag||(this.tag=(n=(t=this.options).useCSSOMInjection,r=t.target,e=t.isServer?new tK(r):n?new tY(r):new tq(r),new tM(e)))},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(tU(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(tU(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(tU(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),t0=/&/g,t1=/^\s*\/\/.*$/gm;function t2(e){var t,n,r,a=void 0===e?tr:e,i=a.options,o=void 0===i?tr:i,s=a.plugins,l=void 0===s?tn:s,c=function(e,r,a){return a.startsWith(n)&&a.endsWith(n)&&a.replaceAll(n,"").length>0?".".concat(t):e},u=l.slice();u.push(function(e){e.type===e_&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(t0,n).replace(r,c))}),o.prefix&&u.push(e0),u.push(eJ);var d=function(e,a,i,s){void 0===a&&(a=""),void 0===i&&(i=""),void 0===s&&(s="&"),t=s,n=a,r=RegExp("\\".concat(n,"\\b"),"g");var l,c,d,p,f,h=e.replace(t1,""),g=(f=function e(t,n,r,a,i,o,s,l,c){for(var u,d=0,p=0,f=s,h=0,g=0,m=0,b=1,y=1,E=1,v=0,T="",S=i,A=o,O=a,_=T;y;)switch(m=v,v=eY()){case 40:if(108!=m&&58==eD(_,f-1)){-1!=eL(_+=eN(eX(v),"&","&\f"),"&\f",ex(d?l[d-1]:0))&&(E=-1);break}case 34:case 39:case 91:_+=eX(v);break;case 9:case 10:case 13:case 32:_+=function(e){for(;e$=eq();)if(e$<33)eY();else break;return eK(e)>2||eK(e$)>3?"":" "}(m);break;case 92:_+=function(e,t){for(var n;--t&&eY()&&!(e$<48)&&!(e$>102)&&(!(e$>57)||!(e$<65))&&(!(e$>70)||!(e$<97)););return n=eH+(t<6&&32==eq()&&32==eY()),eP(ez,e,n)}(eH-1,7);continue;case 47:switch(eq()){case 42:case 47:eF(eZ(u=function(e,t){for(;eY();)if(e+e$===57)break;else if(e+e$===84&&47===eq())break;return"/*"+eP(ez,t,eH-1)+"*"+ew(47===e?e:eY())}(eY(),eH),n,r,eO,ew(e$),eP(u,2,-2),0,c),c);break;default:_+="/"}break;case 123*b:l[d++]=eM(_)*E;case 125*b:case 59:case 0:switch(v){case 0:case 125:y=0;case 59+p:-1==E&&(_=eN(_,/\f/g,"")),g>0&&eM(_)-f&&eF(g>32?e2(_+";",a,r,f-1,c):e2(eN(_," ","")+";",a,r,f-2,c),c);break;case 59:_+=";";default:if(eF(O=e1(_,n,r,d,p,i,l,T,S=[],A=[],f,o),o),123===v){if(0===p)e(_,n,O,O,S,o,f,l,A);else switch(99===h&&110===eD(_,3)?100:h){case 100:case 108:case 109:case 115:e(t,O,O,a&&eF(e1(t,O,O,0,0,i,l,T,i,S=[],f,A),A),i,A,f,l,a?S:A);break;default:e(_,O,O,O,[""],A,0,l,A)}}}d=p=g=0,b=E=1,T=_="",f=s;break;case 58:f=1+eM(_),g=m;default:if(b<1){if(123==v)--b;else if(125==v&&0==b++&&125==(e$=eH>0?eD(ez,--eH):0,eU--,10===e$&&(eU=1,ej--),e$))continue}switch(_+=ew(v),v*b){case 38:E=p>0?1:(_+="\f",-1);break;case 44:l[d++]=(eM(_)-1)*E,E=1;break;case 64:45===eq()&&(_+=eX(eY())),h=eq(),p=f=eM(T=_+=function(e){for(;!eK(eq());)eY();return eP(ez,e,eH)}(eH)),v++;break;case 45:45===m&&2==eM(_)&&(b=0)}}return o}("",null,null,null,[""],(p=d=i||a?"".concat(i," ").concat(a," { ").concat(h," }"):h,ej=eU=1,eG=eM(ez=p),eH=0,d=[]),0,[0],d),ez="",f);o.namespace&&(g=function e(t,n){return t.map(function(t){return"rule"===t.type&&(t.value="".concat(n," ").concat(t.value),t.value=t.value.replaceAll(",",",".concat(n," ")),t.props=t.props.map(function(e){return"".concat(n," ").concat(e)})),Array.isArray(t.children)&&"@keyframes"!==t.type&&(t.children=e(t.children,n)),t})}(g,o.namespace));var m=[];return eQ(g,(c=(l=u.concat(function(e){var t;!e.root&&(e=e.return)&&(t=e,m.push(t))})).length,function(e,t,n,r){for(var a="",i=0;i="A"&&r<="Z"?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var nt=function(e){return null==e||!1===e||""===e},nn=function(e){var t=[];for(var n in e){var r=e[n];e.hasOwnProperty(n)&&!nt(r)&&(Array.isArray(r)&&r.isCss||tw(r)?t.push("".concat(ne(n),":"),r,";"):tL(r)?t.push.apply(t,ey(ey(["".concat(n," {")],nn(r),!1),["}"],!1)):t.push("".concat(ne(n),": ").concat(null==r||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||n in e3.Z||n.startsWith("--")?String(r).trim():"".concat(r,"px"),";")))}return t};function nr(e,t,n,r){return nt(e)?[]:tI(e)?[".".concat(e.styledComponentId)]:tw(e)?!tw(e)||e.prototype&&e.prototype.isReactComponent||!t?[e]:nr(e(t),t,n,r):e instanceof t7?n?(e.inject(n,r),[e.getName(r)]):[e]:tL(e)?nn(e):Array.isArray(e)?Array.prototype.concat.apply(tn,e.map(function(e){return nr(e,t,n,r)})):[e.toString()]}function na(e){for(var t=0;t>>0);if(!t.hasNameForId(this.componentId,i)){var o=n(a,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,o)}r=tR(r,i),this.staticRulesId=i}}else{for(var s=tp(this.baseHash,n.hash),l="",c=0;c>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(l,".".concat(p),void 0,this.componentId)),r=tR(r,p)}}return r},e}(),ns=em.createContext(void 0);ns.Consumer;var nl={};function nc(e,t,n){var r,a,i,o,s=tI(e),l=!th(e),c=t.attrs,u=void 0===c?tn:c,d=t.componentId,p=void 0===d?(r=t.displayName,a=t.parentComponentId,nl[i="string"!=typeof r?"sc":ts(r)]=(nl[i]||0)+1,o="".concat(i,"-").concat(tu(tf(e8+i+nl[i])>>>0)),a?"".concat(a,"-").concat(o):o):d,f=t.displayName,h=void 0===f?th(e)?"styled.".concat(e):"Styled(".concat(e.displayName||e.name||"Component",")"):f,g=t.displayName&&t.componentId?"".concat(ts(t.displayName),"-").concat(t.componentId):t.componentId||p,m=s&&e.attrs?e.attrs.concat(u).filter(Boolean):u,b=t.shouldForwardProp;if(s&&e.shouldForwardProp){var y=e.shouldForwardProp;if(t.shouldForwardProp){var E=t.shouldForwardProp;b=function(e,t){return y(e,t)&&E(e,t)}}else b=y}var v=new no(n,g,s?e.componentStyle:void 0);function T(e,t){return function(e,t,n){var r,a,i=e.attrs,o=e.componentStyle,s=e.defaultProps,l=e.foldedComponentIds,c=e.styledComponentId,u=e.target,d=em.useContext(ns),p=t9(),f=e.shouldForwardProp||p.shouldForwardProp,h=(void 0===(r=s)&&(r=tr),t.theme!==r.theme&&t.theme||d||r.theme||tr),g=function(e,t,n){for(var r,a=eb(eb({},t),{className:void 0,theme:n}),i=0;i2&&tJ.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=n.nc,a=tN([r&&'nonce="'.concat(r,'"'),"".concat(e4,'="true"'),"".concat(e9,'="').concat(e8,'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(e.sealed)throw tP(2);return e._emitSheetCSS()},this.getStyleElement=function(){if(e.sealed)throw tP(2);var t,r=e.instance.toString();if(!r)return[];var a=((t={})[e4]="",t[e9]=e8,t.dangerouslySetInnerHTML={__html:r},t),i=n.nc;return i&&(a.nonce=i),[em.createElement("style",eb({},a,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new tJ({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw tP(2);return em.createElement(t8,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw tP(3)}}();var nh=n(4942),ng=n(73935),nm=n.t(ng,2),nb=function(){return(nb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=18&&(J=ny.createRoot)}catch(e){}function nT(e){var t=ny.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"==typeof t&&(t.usingClientEntryPoint=e)}var nS="__rc_react_root__",nA=new Map;"undefined"!=typeof document&&nA.set("tooltip",document.createElement("div"));var nO=function(e,t){void 0===t&&(t=!1);var n=null;if(t)n=nA.get("tooltip");else if(n=document.createElement("div"),null==e?void 0:e.key){var r=nA.get(e.key);r?n=r:nA.set(e.key,n)}return!function(e,t){if(J){var n;nT(!0),n=t[nS]||J(t),nT(!1),n.render(e),t[nS]=n;return}nv(e,t)}(e,n),n},n_=function(e){if("undefined"==typeof document)return"loading";var t=e.attachShadow({mode:"open"}),n=document.createElement("div"),r=document.createElement("style");r.innerHTML=".loading {\n display: inline-block;\n position: relative;\n width: 80px;\n height: 80px;\n }\n .loading div {\n position: absolute;\n top: 33px;\n width: 13px;\n height: 13px;\n border-radius: 50%;\n background: #ccc;\n animation-timing-function: cubic-bezier(0, 1, 1, 0);\n }\n .loading div:nth-child(1) {\n left: 8px;\n animation: loading1 0.6s infinite;\n }\n .loading div:nth-child(2) {\n left: 8px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(3) {\n left: 32px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(4) {\n left: 56px;\n animation: loading3 0.6s infinite;\n }\n @keyframes loading1 {\n 0% {\n transform: scale(0);\n }\n 100% {\n transform: scale(1);\n }\n }\n @keyframes loading3 {\n 0% {\n transform: scale(1);\n }\n 100% {\n transform: scale(0);\n }\n }\n @keyframes loading2 {\n 0% {\n transform: translate(0, 0);\n }\n 100% {\n transform: translate(24px, 0);\n }\n }\n ",n.classList.add("loading"),n.innerHTML="
",t.appendChild(r),t.appendChild(n)},nk=function(e){var t=e.loadingTemplate,n=e.theme,r=em.useRef(null);return em.useEffect(function(){!t&&r.current&&n_(r.current)},[]),em.createElement("div",{className:"charts-loading-container",style:{position:"absolute",width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",left:0,top:0,zIndex:99,backgroundColor:"dark"===(void 0===n?"light":n)?"rgb(20, 20, 20)":"rgb(255, 255, 255)"}},t||em.createElement("div",{ref:r}))},nC=(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),nx=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={hasError:!1},t.renderError=function(e){var n=t.props.errorTemplate;return"function"==typeof n?n(e):n||em.createElement("h5",null,"组件出错了,请核查后重试: ",e.message)},t}return nC(t,e),t.getDerivedStateFromError=function(e){return{hasError:!0,error:e}},t.getDerivedStateFromProps=function(e,t){return t.children!==e.children?{children:e.children,hasError:!1,error:void 0}:null},t.prototype.render=function(){return this.state.hasError?this.renderError(this.state.error):em.createElement(em.Fragment,null,this.props.children)},t}(em.Component),nw=function(e,t,n){if(n||2==arguments.length)for(var r,a=0,i=t.length;a90)return this;this.computeMatrix()}return this._getAxes(),this.type===nN.iM.ORBITING||this.type===nN.iM.EXPLORING?this._getPosition():this.type===nN.iM.TRACKING&&this._getFocalPoint(),this._update(),this}},{key:"pan",value:function(e,t){var n=(0,nN.O4)(e,t,0),r=nG.d9(this.position);return nG.IH(r,r,nG.bA(nG.Ue(),this.right,n[0])),nG.IH(r,r,nG.bA(nG.Ue(),this.up,n[1])),this._setPosition(r),this.triggerUpdate(),this}},{key:"dolly",value:function(e){var t=this.forward,n=nG.d9(this.position),r=e*this.dollyingStep;return r=Math.max(Math.min(this.distance+e*this.dollyingStep,this.maxDistance),this.minDistance)-this.distance,n[0]+=r*t[0],n[1]+=r*t[1],n[2]+=r*t[2],this._setPosition(n),this.type===nN.iM.ORBITING||this.type===nN.iM.EXPLORING?this._getDistance():this.type===nN.iM.TRACKING&&nG.IH(this.focalPoint,n,this.distanceVector),this.triggerUpdate(),this}},{key:"cancelLandmarkAnimation",value:function(){void 0!==this.landmarkAnimationID&&this.canvas.cancelAnimationFrame(this.landmarkAnimationID)}},{key:"createLandmark",value:function(e){var t,n,r,a,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=i.position,s=void 0===o?this.position:o,l=i.focalPoint,c=void 0===l?this.focalPoint:l,u=i.roll,d=i.zoom,p=new nN.GZ.CameraContribution;p.setType(this.type,void 0),p.setPosition(s[0],null!==(t=s[1])&&void 0!==t?t:this.position[1],null!==(n=s[2])&&void 0!==n?n:this.position[2]),p.setFocalPoint(c[0],null!==(r=c[1])&&void 0!==r?r:this.focalPoint[1],null!==(a=c[2])&&void 0!==a?a:this.focalPoint[2]),p.setRoll(null!=u?u:this.roll),p.setZoom(null!=d?d:this.zoom);var f={name:e,matrix:nU.clone(p.getWorldTransform()),right:nG.d9(p.right),up:nG.d9(p.up),forward:nG.d9(p.forward),position:nG.d9(p.getPosition()),focalPoint:nG.d9(p.getFocalPoint()),distanceVector:nG.d9(p.getDistanceVector()),distance:p.getDistance(),dollyingStep:p.getDollyingStep(),azimuth:p.getAzimuth(),elevation:p.getElevation(),roll:p.getRoll(),relAzimuth:p.relAzimuth,relElevation:p.relElevation,relRoll:p.relRoll,zoom:p.getZoom()};return this.landmarks.push(f),f}},{key:"gotoLandmark",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=nB(e,"String")?this.landmarks.find(function(t){return t.name===e}):e;if(r){var a,i=nB(n,"Number")?{duration:n}:n,o=i.easing,s=void 0===o?"linear":o,l=i.duration,c=void 0===l?100:l,u=i.easingFunction,d=i.onfinish,p=void 0===d?void 0:d,f=i.onframe,h=void 0===f?void 0:f;this.cancelLandmarkAnimation();var g=r.position,m=r.focalPoint,b=r.zoom,y=r.roll,E=(void 0===u?void 0:u)||nN.GZ.EasingFunction(s),v=function(){t.setFocalPoint(m),t.setPosition(g),t.setRoll(y),t.setZoom(b),t.computeMatrix(),t.triggerUpdate(),null==p||p()};if(0===c)return v();var T=function(e){void 0===a&&(a=e);var n=e-a;if(n>=c){v();return}var r=E(n/c),i=nG.Ue(),o=nG.Ue(),s=1,l=0;if(nG.t7(i,t.focalPoint,m,r),nG.t7(o,t.position,g,r),l=t.roll*(1-r)+y*r,s=t.zoom*(1-r)+b*r,t.setFocalPoint(i),t.setPosition(o),t.setRoll(l),t.setZoom(s),nG.TK(i,m)+nG.TK(o,g)<=.01&&void 0===b&&void 0===y)return v();t.computeMatrix(),t.triggerUpdate(),nn?n:e},nW={}.toString,nV=function(e){return null==e},nY=function(e){function t(e,n,r,a){var i;return(0,nL.Z)(this,t),(i=(0,nP.Z)(this,t,[e])).currentTime=r,i.timelineTime=a,i.target=n,i.type="finish",i.bubbles=!1,i.currentTarget=n,i.defaultPrevented=!1,i.eventPhase=i.AT_TARGET,i.timeStamp=Date.now(),i.currentTime=r,i.timelineTime=a,i}return(0,nM.Z)(t,e),(0,nD.Z)(t)}(nN.xA),nq=0,nK=(0,nD.Z)(function e(t,n){var r;(0,nL.Z)(this,e),this.currentTimePending=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._playbackRate=1,this._inTimeline=!0,this.effect=t,t.animation=this,this.timeline=n,this.id="".concat(nq++),this._inEffect=!!this.effect.update(0),this._totalDuration=Number(null===(r=this.effect)||void 0===r?void 0:r.getComputedTiming().endTime),this._holdTime=0,this._paused=!1,this.oldPlayState="idle",this.updatePromises()},[{key:"pending",get:function(){return null===this._startTime&&!this._paused&&0!==this.playbackRate||this.currentTimePending}},{key:"playState",get:function(){return this._idle?"idle":this._isFinished?"finished":this._paused?"paused":"running"}},{key:"ready",get:function(){var e=this;return this.readyPromise||(-1===this.timeline.animationsWithPromises.indexOf(this)&&this.timeline.animationsWithPromises.push(this),this.readyPromise=new Promise(function(t,n){e.resolveReadyPromise=function(){t(e)},e.rejectReadyPromise=function(){n(Error())}}),this.pending||this.resolveReadyPromise()),this.readyPromise}},{key:"finished",get:function(){var e=this;return this.finishedPromise||(-1===this.timeline.animationsWithPromises.indexOf(this)&&this.timeline.animationsWithPromises.push(this),this.finishedPromise=new Promise(function(t,n){e.resolveFinishedPromise=function(){t(e)},e.rejectFinishedPromise=function(){n(Error())}}),"finished"===this.playState&&this.resolveFinishedPromise()),this.finishedPromise}},{key:"currentTime",get:function(){return this.updatePromises(),this._idle||this.currentTimePending?null:this._currentTime},set:function(e){if(!isNaN(e=Number(e))){if(this.timeline.restart(),!this._paused&&null!==this._startTime){var t;this._startTime=Number(null===(t=this.timeline)||void 0===t?void 0:t.currentTime)-e/this.playbackRate}this.currentTimePending=!1,this._currentTime!==e&&(this._idle&&(this._idle=!1,this._paused=!0),this.tickCurrentTime(e,!0),this.timeline.applyDirtiedAnimation(this))}}},{key:"startTime",get:function(){return this._startTime},set:function(e){null!==e&&(this.updatePromises(),!isNaN(e=Number(e))&&(this._paused||this._idle||(this._startTime=e,this.tickCurrentTime((Number(this.timeline.currentTime)-this._startTime)*this.playbackRate),this.timeline.applyDirtiedAnimation(this),this.updatePromises())))}},{key:"playbackRate",get:function(){return this._playbackRate},set:function(e){if(e!==this._playbackRate){this.updatePromises();var t=this.currentTime;this._playbackRate=e,this.startTime=null,"paused"!==this.playState&&"idle"!==this.playState&&(this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this)),null!==t&&(this.currentTime=t),this.updatePromises()}}},{key:"_isFinished",get:function(){return!this._idle&&(this._playbackRate>0&&Number(this._currentTime)>=this._totalDuration||this._playbackRate<0&&0>=Number(this._currentTime))}},{key:"totalDuration",get:function(){return this._totalDuration}},{key:"_needsTick",get:function(){return this.pending||"running"===this.playState||!this._finishedFlag}},{key:"updatePromises",value:function(){var e=this.oldPlayState,t=this.pending?"pending":this.playState;return this.readyPromise&&t!==e&&("idle"===t?(this.rejectReadyPromise(),this.readyPromise=void 0):"pending"===e?this.resolveReadyPromise():"pending"===t&&(this.readyPromise=void 0)),this.finishedPromise&&t!==e&&("idle"===t?(this.rejectFinishedPromise(),this.finishedPromise=void 0):"finished"===t?this.resolveFinishedPromise():"finished"===e&&(this.finishedPromise=void 0)),this.oldPlayState=t,this.readyPromise||this.finishedPromise}},{key:"play",value:function(){this.updatePromises(),this._paused=!1,(this._isFinished||this._idle)&&(this.rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this),-1===this.timeline.animations.indexOf(this)&&this.timeline.animations.push(this),this.updatePromises()}},{key:"pause",value:function(){this.updatePromises(),this.currentTime&&(this._holdTime=this.currentTime),this._isFinished||this._paused||this._idle?this._idle&&(this.rewind(),this._idle=!1):this.currentTimePending=!0,this._startTime=null,this._paused=!0,this.updatePromises()}},{key:"finish",value:function(){this.updatePromises(),this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this.currentTimePending=!1,this.timeline.applyDirtiedAnimation(this),this.updatePromises())}},{key:"cancel",value:function(){var e=this;if(this.updatePromises(),this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this.effect.update(null),this.timeline.applyDirtiedAnimation(this),this.updatePromises(),this.oncancel)){var t=new nY(null,this,this.currentTime,null);setTimeout(function(){e.oncancel(t)})}}},{key:"reverse",value:function(){this.updatePromises();var e=this.currentTime;this.playbackRate*=-1,this.play(),null!==e&&(this.currentTime=e),this.updatePromises()}},{key:"updatePlaybackRate",value:function(e){this.playbackRate=e}},{key:"targetAnimations",value:function(){var e;return(null===(e=this.effect)||void 0===e?void 0:e.target).getAnimations()}},{key:"markTarget",value:function(){var e=this.targetAnimations();-1===e.indexOf(this)&&e.push(this)}},{key:"unmarkTarget",value:function(){var e=this.targetAnimations(),t=e.indexOf(this);-1!==t&&e.splice(t,1)}},{key:"tick",value:function(e,t){this._idle||this._paused||(null===this._startTime?t&&(this.startTime=e-this._currentTime/this.playbackRate):this._isFinished||this.tickCurrentTime((e-this._startTime)*this.playbackRate)),t&&(this.currentTimePending=!1,this.fireEvents(e))}},{key:"rewind",value:function(){if(this.playbackRate>=0)this.currentTime=0;else if(this._totalDuration<1/0)this.currentTime=this._totalDuration;else throw Error("Unable to rewind negative playback rate animation with infinite duration")}},{key:"persist",value:function(){throw Error(nN.jf)}},{key:"addEventListener",value:function(e,t,n){throw Error(nN.jf)}},{key:"removeEventListener",value:function(e,t,n){throw Error(nN.jf)}},{key:"dispatchEvent",value:function(e){throw Error(nN.jf)}},{key:"commitStyles",value:function(){throw Error(nN.jf)}},{key:"ensureAlive",value:function(){var e,t;this.playbackRate<0&&0===this.currentTime?this._inEffect=!!(null!==(e=this.effect)&&void 0!==e&&e.update(-1)):this._inEffect=!!(null!==(t=this.effect)&&void 0!==t&&t.update(this.currentTime)),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,this.timeline.animations.push(this))}},{key:"tickCurrentTime",value:function(e,t){e!==this._currentTime&&(this._currentTime=e,this._isFinished&&!t&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this.ensureAlive())}},{key:"fireEvents",value:function(e){var t=this;if(this._isFinished){if(!this._finishedFlag){if(this.onfinish){var n=new nY(null,this,this.currentTime,e);setTimeout(function(){t.onfinish&&t.onfinish(n)})}this._finishedFlag=!0}}else{if(this.onframe&&"running"===this.playState){var r=new nY(null,this,this.currentTime,e);this.onframe(r)}this._finishedFlag=!1}}}]),nX="function"==typeof Float32Array,nQ=function(e,t){return 1-3*t+3*e},nJ=function(e,t){return 3*t-6*e},n0=function(e){return 3*e},n1=function(e,t,n){return((nQ(t,n)*e+nJ(t,n))*e+n0(t))*e},n2=function(e,t,n){return 3*nQ(t,n)*e*e+2*nJ(t,n)*e+n0(t)},n3=function(e,t,n,r,a){var i,o,s=0;do(i=n1(o=t+(n-t)/2,r,a)-e)>0?n=o:t=o;while(Math.abs(i)>1e-7&&++s<10);return o},n5=function(e,t,n,r){for(var a=0;a<4;++a){var i=n2(t,n,r);if(0===i)break;var o=n1(t,n,r)-e;t-=o/i}return t},n4=function(e,t,n,r){if(!(e>=0&&e<=1&&n>=0&&n<=1))throw Error("bezier x values must be in [0, 1] range");if(e===t&&n===r)return function(e){return e};for(var a=nX?new Float32Array(11):Array(11),i=0;i<11;++i)a[i]=n1(.1*i,e,n);var o=function(t){for(var r=0,i=1;10!==i&&a[i]<=t;++i)r+=.1;var o=r+(t-a[--i])/(a[i+1]-a[i])*.1,s=n2(o,e,n);return s>=.001?n5(t,o,e,n):0===s?o:n3(t,r,r+.1,e,n)};return function(e){return 0===e||1===e?e:n1(o(e),t,r)}},n6=function(e){return Math.pow(e,2)},n9=function(e){return Math.pow(e,3)},n8=function(e){return Math.pow(e,4)},n7=function(e){return Math.pow(e,5)},re=function(e){return Math.pow(e,6)},rt=function(e){return 1-Math.cos(e*Math.PI/2)},rn=function(e){return 1-Math.sqrt(1-e*e)},rr=function(e){return e*e*(3*e-2)},ra=function(e){for(var t,n=4;e<((t=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*t-2)/22-e,2)},ri=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,2),r=n[0],a=n[1],i=nZ(Number(void 0===r?1:r),1,10),o=nZ(Number(void 0===a?.5:a),.1,2);return 0===e||1===e?e:-i*Math.pow(2,10*(e-1))*Math.sin((e-1-o/(2*Math.PI)*Math.asin(1/i))*(2*Math.PI)/o)},ro=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,r=(0,nz.Z)(t,4),a=r[0],i=void 0===a?1:a,o=r[1],s=void 0===o?100:o,l=r[2],c=void 0===l?10:l,u=r[3],d=void 0===u?0:u;i=nZ(i,.1,1e3),s=nZ(s,.1,1e3),c=nZ(c,.1,1e3),d=nZ(d,.1,1e3);var p=Math.sqrt(s/i),f=c/(2*Math.sqrt(s*i)),h=f<1?p*Math.sqrt(1-f*f):0,g=f<1?(f*p+-d)/h:-d+p,m=n?n*e/1e3:e;return(m=f<1?Math.exp(-m*f*p)*(1*Math.cos(h*m)+g*Math.sin(h*m)):(1+g*m)*Math.exp(-m*p),0===e||1===e)?e:1-m},rs=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,2),r=n[0],a=void 0===r?10:r;return("start"===n[1]?Math.ceil:Math.floor)(nZ(e,0,1)*a)/a},rl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,4);return n4(n[0],n[1],n[2],n[3])(e)},rc=n4(.42,0,1,1),ru=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return 1-e(1-t,n,r)}},rd=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return t<.5?e(2*t,n,r)/2:1-e(-2*t+2,n,r)/2}},rp=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return t<.5?(1-e(1-2*t,n,r))/2:(e(2*t-1,n,r)+1)/2}},rf={steps:rs,"step-start":function(e){return rs(e,[1,"start"])},"step-end":function(e){return rs(e,[1,"end"])},linear:function(e){return e},"cubic-bezier":rl,ease:function(e){return rl(e,[.25,.1,.25,1])},in:rc,out:ru(rc),"in-out":rd(rc),"out-in":rp(rc),"in-quad":n6,"out-quad":ru(n6),"in-out-quad":rd(n6),"out-in-quad":rp(n6),"in-cubic":n9,"out-cubic":ru(n9),"in-out-cubic":rd(n9),"out-in-cubic":rp(n9),"in-quart":n8,"out-quart":ru(n8),"in-out-quart":rd(n8),"out-in-quart":rp(n8),"in-quint":n7,"out-quint":ru(n7),"in-out-quint":rd(n7),"out-in-quint":rp(n7),"in-expo":re,"out-expo":ru(re),"in-out-expo":rd(re),"out-in-expo":rp(re),"in-sine":rt,"out-sine":ru(rt),"in-out-sine":rd(rt),"out-in-sine":rp(rt),"in-circ":rn,"out-circ":ru(rn),"in-out-circ":rd(rn),"out-in-circ":rp(rn),"in-back":rr,"out-back":ru(rr),"in-out-back":rd(rr),"out-in-back":rp(rr),"in-bounce":ra,"out-bounce":ru(ra),"in-out-bounce":rd(ra),"out-in-bounce":rp(ra),"in-elastic":ri,"out-elastic":ru(ri),"in-out-elastic":rd(ri),"out-in-elastic":rp(ri),spring:ro,"spring-in":ro,"spring-out":ru(ro),"spring-in-out":rd(ro),"spring-out-in":rp(ro)},rh=function(e){var t;return("-"===(t=(t=e).replace(/([A-Z])/g,function(e){return"-".concat(e.toLowerCase())})).charAt(0)?t.substring(1):t).replace(/^ease-/,"").replace(/(\(|\s).+/,"").toLowerCase().trim()},rg=function(e){return e};function rm(e,t){return function(n){if(n>=1)return 1;var r=1/e;return(n+=t*r)-n%r}}var rb="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",ry=new RegExp("cubic-bezier\\(".concat(rb,",").concat(rb,",").concat(rb,",").concat(rb,"\\)")),rE=/steps\(\s*(\d+)\s*\)/,rv=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/;function rT(e){var t=ry.exec(e);if(t)return n4.apply(void 0,(0,n$.Z)(t.slice(1).map(Number)));var n=rE.exec(e);if(n)return rm(Number(n[1]),0);var r=rv.exec(e);return r?rm(Number(r[1]),{start:1,middle:.5,end:0}[r[2]]):rf[rh(e)]||rf.linear}function rS(e){return"offset"!==e&&"easing"!==e&&"composite"!==e&&"computedOffset"!==e}var rA=function(e,t,n){return function(r){var a,i=function e(t,n,r){if("number"==typeof t&&"number"==typeof n)return t*(1-r)+n*r;if("boolean"==typeof t&&"boolean"==typeof n||"string"==typeof t&&"string"==typeof n)return r<.5?t:n;if(Array.isArray(t)&&Array.isArray(n)){for(var a=t.length,i=n.length,o=Math.max(a,i),s=[],l=0;l1)throw Error("Keyframe offsets must be between 0 and 1.");n.computedOffset=a}}else if("composite"===r&&-1===["replace","add","accumulate","auto"].indexOf(a))throw Error("".concat(a," compositing is not supported"));n[r]=a}return void 0===n.offset&&(n.offset=null),void 0===n.easing&&(n.easing=(null==t?void 0:t.easing)||"linear"),void 0===n.composite&&(n.composite="auto"),n}),r=!0,a=-1/0,i=0;i=0&&1>=Number(e.offset)}),r||function(){var e,t,r=n.length;n[r-1].computedOffset=Number(null!==(e=n[r-1].offset)&&void 0!==e?e:1),r>1&&(n[0].computedOffset=Number(null!==(t=n[0].offset)&&void 0!==t?t:0));for(var a=0,i=Number(n[0].computedOffset),o=1;o=e.applyFrom&&t=Math.min(n.delay+e+n.endDelay,r)?2:3}(e,t,n),u=function(e,t,n,r,a){switch(r){case 1:if("backwards"===t||"both"===t)return 0;return null;case 3:return n-a;case 2:if("forwards"===t||"both"===t)return e;return null;case 0:return null}}(e,n.fill,t,c,n.delay);if(null===u)return null;var d="auto"===n.duration?0:n.duration,p=(r=n.iterations,a=n.iterationStart,0===d?1!==c&&(a+=r):a+=u/d,a),f=(i=n.iterationStart,o=n.iterations,0==(s=p===1/0?i%1:p%1)&&2===c&&0!==o&&(0!==u||0===d)&&(s=1),s),h=(l=n.iterations,2===c&&l===1/0?1/0:1===f?Math.floor(p)-1:Math.floor(p)),g=function(e,t,n){var r=e;if("normal"!==e&&"reverse"!==e){var a=t;"alternate-reverse"===e&&(a+=1),r="normal",a!==1/0&&a%2!=0&&(r="reverse")}return"normal"===r?n:1-n}(n.direction,h,f);return n.currentIteration=h,n.progress=g,n.easingFunction(g)}(this.timing.activeDuration,e,this.timing),null!==this.timeFraction)}},{key:"getKeyframes",value:function(){return this.normalizedKeyframes}},{key:"setKeyframes",value:function(e){this.normalizedKeyframes=r_(e)}},{key:"getComputedTiming",value:function(){return this.computedTiming}},{key:"getTiming",value:function(){return this.timing}},{key:"updateTiming",value:function(e){var t=this;Object.keys(e||{}).forEach(function(n){t.timing[n]=e[n]})}}]);function rw(e,t){return Number(e.id)-Number(t.id)}var rI=(0,nD.Z)(function e(t){var n=this;(0,nL.Z)(this,e),this.animations=[],this.ticking=!1,this.timelineTicking=!1,this.hasRestartedThisFrame=!1,this.animationsWithPromises=[],this.inTick=!1,this.pendingEffects=[],this.currentTime=null,this.rafId=0,this.rafCallbacks=[],this.webAnimationsNextTick=function(e){n.currentTime=e,n.discardAnimations(),0===n.animations.length?n.timelineTicking=!1:n.requestAnimationFrame(n.webAnimationsNextTick)},this.processRafCallbacks=function(e){var t=n.rafCallbacks;n.rafCallbacks=[],et.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let rN=(e,t,n)=>[["M",e-n,t],["A",n,n,0,1,0,e+n,t],["A",n,n,0,1,0,e-n,t],["Z"]];rN.style=["fill"];let rL=rN.bind(void 0);rL.style=["stroke","lineWidth"];let rD=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t-n],["L",e+n,t+n],["L",e-n,t+n],["Z"]];rD.style=["fill"];let rP=rD.bind(void 0);rP.style=["fill"];let rM=rD.bind(void 0);rM.style=["stroke","lineWidth"];let rF=(e,t,n)=>{let r=.618*n;return[["M",e-r,t],["L",e,t-n],["L",e+r,t],["L",e,t+n],["Z"]]};rF.style=["fill"];let rB=rF.bind(void 0);rB.style=["stroke","lineWidth"];let rj=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t+r],["L",e,t-r],["L",e+n,t+r],["Z"]]};rj.style=["fill"];let rU=rj.bind(void 0);rU.style=["stroke","lineWidth"];let rG=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t-r],["L",e+n,t-r],["L",e,t+r],["Z"]]};rG.style=["fill"];let rH=rG.bind(void 0);rH.style=["stroke","lineWidth"];let r$=(e,t,n)=>{let r=n/2*Math.sqrt(3);return[["M",e,t-n],["L",e+r,t-n/2],["L",e+r,t+n/2],["L",e,t+n],["L",e-r,t+n/2],["L",e-r,t-n/2],["Z"]]};r$.style=["fill"];let rz=r$.bind(void 0);rz.style=["stroke","lineWidth"];let rZ=(e,t,n)=>{let r=n-1.5;return[["M",e-n,t-r],["L",e+n,t+r],["L",e+n,t-r],["L",e-n,t+r],["Z"]]};rZ.style=["fill"];let rW=rZ.bind(void 0);rW.style=["stroke","lineWidth"];let rV=(e,t,n)=>[["M",e,t+n],["L",e,t-n]];rV.style=["stroke","lineWidth"];let rY=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t+n],["M",e+n,t-n],["L",e-n,t+n]];rY.style=["stroke","lineWidth"];let rq=(e,t,n)=>[["M",e-n/2,t-n],["L",e+n/2,t-n],["M",e,t-n],["L",e,t+n],["M",e-n/2,t+n],["L",e+n/2,t+n]];rq.style=["stroke","lineWidth"];let rK=(e,t,n)=>[["M",e-n,t],["L",e+n,t],["M",e,t-n],["L",e,t+n]];rK.style=["stroke","lineWidth"];let rX=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rX.style=["stroke","lineWidth"];let rQ=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rQ.style=["stroke","lineWidth"];let rJ=rQ.bind(void 0);rJ.style=["stroke","lineWidth"];let r0=(e,t,n)=>[["M",e-n,t],["A",n/2,n/2,0,1,1,e,t],["A",n/2,n/2,0,1,0,e+n,t]];r0.style=["stroke","lineWidth"];let r1=(e,t,n)=>[["M",e-n-1,t-2.5],["L",e,t-2.5],["L",e,t+2.5],["L",e+n+1,t+2.5]];r1.style=["stroke","lineWidth"];let r2=(e,t,n)=>[["M",e-n-1,t+2.5],["L",e,t+2.5],["L",e,t-2.5],["L",e+n+1,t-2.5]];r2.style=["stroke","lineWidth"];let r3=(e,t,n)=>[["M",e-(n+1),t+2.5],["L",e-n/2,t+2.5],["L",e-n/2,t-2.5],["L",e+n/2,t-2.5],["L",e+n/2,t+2.5],["L",e+n+1,t+2.5]];r3.style=["stroke","lineWidth"];let r5=(e,t,n)=>[["M",e-5,t+2.5],["L",e-5,t],["L",e,t],["L",e,t-3],["L",e,t+3],["L",e+6.5,t+3]];r5.style=["stroke","lineWidth"];let r4=new Map([["bowtie",rZ],["cross",rY],["dash",rJ],["diamond",rF],["dot",rQ],["hexagon",r$],["hollowBowtie",rW],["hollowDiamond",rB],["hollowHexagon",rz],["hollowPoint",rL],["hollowSquare",rM],["hollowTriangle",rU],["hollowTriangleDown",rH],["hv",r1],["hvh",r3],["hyphen",rX],["line",rV],["plus",rK],["point",rN],["rect",rP],["smooth",r0],["square",rD],["tick",rq],["triangleDown",rG],["triangle",rj],["vh",r2],["vhv",r5]]),r6={};function r9(e,t){if(e.startsWith("symbol.")){var n;n=e.split(".").pop(),r4.set(n,t)}else Object.assign(r6,{[e]:t})}var r8=n(88998);/*! +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[92,9618,6231,8424,5265,2640,3913],{11475:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},27496:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},94668:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},34971:function(e,t){"use strict";t.Z=function(e,t,n){return en?n:e}},24960:function(e,t,n){"use strict";var r=n(44002);t.Z=function(e){return Array.isArray?Array.isArray(e):(0,r.Z)(e,"Array")}},52176:function(e,t,n){"use strict";var r=n(44002);t.Z=function(e){return(0,r.Z)(e,"Boolean")}},55265:function(e,t){"use strict";t.Z=function(e){return"function"==typeof e}},82993:function(e,t){"use strict";t.Z=function(e){return null==e}},23198:function(e,t,n){"use strict";function r(e,t,n){return void 0===n&&(n=1e-5),Math.abs(e-t)1&&(E*=x=Math.sqrt(x),v*=x);var w=E*E,I=v*v,R=(o===l?-1:1)*Math.sqrt(Math.abs((w*I-w*C*C-I*k*k)/(w*C*C+I*k*k)));g=R*E*C/v+(b+T)/2,m=-(R*v)*k/E+(y+S)/2,f=Math.asin(((y-m)/v*1e9>>0)/1e9),h=Math.asin(((S-m)/v*1e9>>0)/1e9),f=bh&&(f-=2*Math.PI),!l&&h>f&&(h-=2*Math.PI)}var N=h-f;if(Math.abs(N)>A){var L=h,D=T,P=S;_=e(T=g+E*Math.cos(h=f+A*(l&&h>f?1:-1)),S=m+v*Math.sin(h),E,v,i,0,l,D,P,[h,L,g,m])}N=h-f;var M=Math.cos(f),F=Math.cos(h),B=Math.tan(N/4),j=4/3*E*B,U=4/3*v*B,G=[b,y],H=[b+j*Math.sin(f),y-U*M],$=[T+j*Math.sin(h),S-U*F],z=[T,S];if(H[0]=2*G[0]-H[0],H[1]=2*G[1]-H[1],d)return H.concat($,z,_);_=H.concat($,z,_);for(var Z=[],W=0,V=_.length;W7){e[n].shift();for(var r=e[n],a=n;r.length;)t[n]="A",e.splice(a+=1,0,["C"].concat(r.splice(0,6)));e.splice(n,1)}}(d,f,b),g=d.length,"Z"===h&&m.push(b),l=(n=d[b]).length,p.x1=+n[l-2],p.y1=+n[l-1],p.x2=+n[l-4]||p.x1,p.y2=+n[l-3]||p.y1}return t?[d,m]:d}},19586:function(e,t,n){"use strict";n.d(t,{R:function(){return r}});var r={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0}},33554:function(e,t,n){"use strict";n.d(t,{z:function(){return r}});var r={x1:0,y1:0,x2:0,y2:0,x:0,y:0,qx:null,qy:null}},54947:function(e,t,n){"use strict";function r(e){return e.map(function(e){return Array.isArray(e)?[].concat(e):e})}n.d(t,{U:function(){return r}})},94918:function(e,t,n){"use strict";n.d(t,{A:function(){return f}});var r=n(97582),a=n(65336),i=n(33554),o=n(60310),s=n(97153),l=n(19586);function c(e){for(var t=e.pathValue[e.segmentStart],n=t.toLowerCase(),r=e.data;r.length>=l.R[n]&&("m"===n&&r.length>2?(e.segments.push([t].concat(r.splice(0,2))),n="l",t="m"===t?"l":"L"):e.segments.push([t].concat(r.splice(0,l.R[n]))),l.R[n]););}function u(e){return e>=48&&e<=57}function d(e){for(var t,n=e.pathValue,r=e.max;e.index=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].includes(t));)e.index+=1}var p=function(e){this.pathValue=e,this.segments=[],this.max=e.length,this.index=0,this.param=0,this.segmentStart=0,this.data=[],this.err=""};function f(e){if((0,a.y)(e))return[].concat(e);for(var t=function(e){if((0,o.b)(e))return[].concat(e);var t=function(e){if((0,s.n)(e))return[].concat(e);var t=new p(e);for(d(t);t.index0;s-=1){if((32|a)==97&&(3===s||4===s)?function(e){var t=e.index,n=e.pathValue,r=n.charCodeAt(t);if(48===r){e.param=0,e.index+=1;return}if(49===r){e.param=1,e.index+=1;return}e.err='[path-util]: invalid Arc flag "'+n[t]+'", expecting 0 or 1 at index '+t}(e):function(e){var t,n=e.max,r=e.pathValue,a=e.index,i=a,o=!1,s=!1,l=!1,c=!1;if(i>=n){e.err="[path-util]: Invalid path value at index "+i+', "pathValue" is missing param';return}if((43===(t=r.charCodeAt(i))||45===t)&&(i+=1,t=r.charCodeAt(i)),!u(t)&&46!==t){e.err="[path-util]: Invalid path value at index "+i+', "'+r[i]+'" is not a number';return}if(46!==t){if(o=48===t,i+=1,t=r.charCodeAt(i),o&&i=e.max||!((o=n.charCodeAt(e.index))>=48&&o<=57||43===o||45===o||46===o))break}c(e)}(t);return t.err?t.err:t.segments}(e),n=0,r=0,a=0,i=0;return t.map(function(e){var t,o=e.slice(1).map(Number),s=e[0],l=s.toUpperCase();if("M"===s)return n=o[0],r=o[1],a=n,i=r,["M",n,r];if(s!==l)switch(l){case"A":t=[l,o[0],o[1],o[2],o[3],o[4],o[5]+n,o[6]+r];break;case"V":t=[l,o[0]+r];break;case"H":t=[l,o[0]+n];break;default:t=[l].concat(o.map(function(e,t){return e+(t%2?r:n)}))}else t=[l].concat(o);var c=t.length;switch(l){case"Z":n=a,r=i;break;case"H":n=t[1];break;case"V":r=t[1];break;default:n=t[c-2],r=t[c-1],"M"===l&&(a=n,i=r)}return t})}(e),n=(0,r.pi)({},i.z),f=0;f=h[t],g[t]-=m?1:0,m?e.ss:[e.s]}).flat()});return b[0].length===b[1].length?b:e(b[0],b[1],f)}}});var r=n(50944),a=n(51777);function i(e){return e.map(function(e,t,n){var i,o,s,l,c,u,d,p,f,h,g,m,b=t&&n[t-1].slice(-2).concat(e.slice(1)),y=t?(0,a.S)(b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7],b[8],{bbox:!1}).length:0;return m=t?y?(void 0===i&&(i=.5),o=b.slice(0,2),s=b.slice(2,4),l=b.slice(4,6),c=b.slice(6,8),u=(0,r.k)(o,s,i),d=(0,r.k)(s,l,i),p=(0,r.k)(l,c,i),f=(0,r.k)(u,d,i),h=(0,r.k)(d,p,i),g=(0,r.k)(f,h,i),[["C"].concat(u,f,g),["C"].concat(h,p,c)]):[e,e]:[e],{s:e,ss:m,l:y}})}},46516:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var r=n(27872);function a(e){var t,n,a;return t=0,n=0,a=0,(0,r.Y)(e).map(function(e){if("M"===e[0])return t=e[1],n=e[2],0;var r,i,o,s=e.slice(1),l=s[0],c=s[1],u=s[2],d=s[3],p=s[4],f=s[5];return i=t,a=3*((f-(o=n))*(l+u)-(p-i)*(c+d)+c*(i-u)-l*(o-d)+f*(u+i/3)-p*(d+o/3))/20,t=(r=e.slice(-2))[0],n=r[1],a}).reduce(function(e,t){return e+t},0)>=0}},90046:function(e,t,n){"use strict";n.d(t,{r:function(){return i}});var r=n(97582),a=n(10992);function i(e,t,n){return(0,a.s)(e,t,(0,r.pi)((0,r.pi)({},n),{bbox:!1,length:!0})).point}},91952:function(e,t,n){"use strict";n.d(t,{g:function(){return a}});var r=n(58076);function a(e,t){var n,a,i=e.length-1,o=[],s=0,l=(a=(n=e.length)-1,e.map(function(t,r){return e.map(function(t,i){var o=r+i;return 0===i||e[o]&&"M"===e[o][0]?["M"].concat(e[o].slice(-2)):(o>=n&&(o-=a),e[o])})}));return l.forEach(function(n,a){e.slice(1).forEach(function(n,o){s+=(0,r.y)(e[(a+o)%i].slice(-2),t[o%i].slice(-2))}),o[a]=s,s=0}),l[o.indexOf(Math.min.apply(null,o))]}},62436:function(e,t,n){"use strict";n.d(t,{D:function(){return i}});var r=n(97582),a=n(10992);function i(e,t){return(0,a.s)(e,void 0,(0,r.pi)((0,r.pi)({},t),{bbox:!1,length:!0})).length}},60310:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var r=n(97153);function a(e){return(0,r.n)(e)&&e.every(function(e){var t=e[0];return t===t.toUpperCase()})}},65336:function(e,t,n){"use strict";n.d(t,{y:function(){return a}});var r=n(60310);function a(e){return(0,r.b)(e)&&e.every(function(e){var t=e[0];return"ACLMQZ".includes(t)})}},97153:function(e,t,n){"use strict";n.d(t,{n:function(){return a}});var r=n(19586);function a(e){return Array.isArray(e)&&e.every(function(e){var t=e[0].toLowerCase();return r.R[t]===e.length-1&&"achlmqstvz".includes(t)})}},50944:function(e,t,n){"use strict";function r(e,t,n){var r=e[0],a=e[1];return[r+(t[0]-r)*n,a+(t[1]-a)*n]}n.d(t,{k:function(){return r}})},10992:function(e,t,n){"use strict";n.d(t,{s:function(){return c}});var r=n(94918),a=n(50944),i=n(58076);function o(e,t,n,r,o){var s=(0,i.y)([e,t],[n,r]),l={x:0,y:0};if("number"==typeof o){if(o<=0)l={x:e,y:t};else if(o>=s)l={x:n,y:r};else{var c=(0,a.k)([e,t],[n,r],o/s);l={x:c[0],y:c[1]}}}return{length:s,point:l,min:{x:Math.min(e,n),y:Math.min(t,r)},max:{x:Math.max(e,n),y:Math.max(t,r)}}}function s(e,t){var n=e.x,r=e.y,a=t.x,i=t.y,o=Math.sqrt((Math.pow(n,2)+Math.pow(r,2))*(Math.pow(a,2)+Math.pow(i,2)));return(n*i-r*a<0?-1:1)*Math.acos((n*a+r*i)/o)}var l=n(51777);function c(e,t,n){for(var a,c,u,d,p,f,h,g,m,b=(0,r.A)(e),y="number"==typeof t,E=[],v=0,T=0,S=0,A=0,O=[],_=[],k=0,C={x:0,y:0},x=C,w=C,I=C,R=0,N=0,L=b.length;N1&&(b*=g(A),y*=g(A));var O=(Math.pow(b,2)*Math.pow(y,2)-Math.pow(b,2)*Math.pow(S.y,2)-Math.pow(y,2)*Math.pow(S.x,2))/(Math.pow(b,2)*Math.pow(S.y,2)+Math.pow(y,2)*Math.pow(S.x,2)),_=(i!==l?1:-1)*g(O=O<0?0:O),k={x:_*(b*S.y/y),y:_*(-(y*S.x)/b)},C={x:h(E)*k.x-f(E)*k.y+(e+c)/2,y:f(E)*k.x+h(E)*k.y+(t+u)/2},x={x:(S.x-k.x)/b,y:(S.y-k.y)/y},w=s({x:1,y:0},x),I=s(x,{x:(-S.x-k.x)/b,y:(-S.y-k.y)/y});!l&&I>0?I-=2*m:l&&I<0&&(I+=2*m);var R=w+(I%=2*m)*d,N=b*h(R),L=y*f(R);return{x:h(E)*N-f(E)*L+C.x,y:f(E)*N+h(E)*L+C.y}}(e,t,n,r,a,l,c,u,d,w/v)).x,A=h.y,m&&x.push({x:S,y:A}),y&&(O+=(0,i.y)(k,[S,A])),k=[S,A],T&&O>=p&&p>_[2]){var I=(O-p)/(O-_[2]);C={x:k[0]*(1-I)+_[0]*I,y:k[1]*(1-I)+_[1]*I}}_=[S,A,O]}return T&&p>=O&&(C={x:u,y:d}),{length:O,point:C,min:{x:Math.min.apply(null,x.map(function(e){return e.x})),y:Math.min.apply(null,x.map(function(e){return e.y}))},max:{x:Math.max.apply(null,x.map(function(e){return e.x})),y:Math.max.apply(null,x.map(function(e){return e.y}))}}}(E[0],E[1],E[2],E[3],E[4],E[5],E[6],E[7],E[8],(t||0)-R,n||{})).length,C=c.min,x=c.max,w=c.point):"C"===g?(k=(u=(0,l.S)(E[0],E[1],E[2],E[3],E[4],E[5],E[6],E[7],(t||0)-R,n||{})).length,C=u.min,x=u.max,w=u.point):"Q"===g?(k=(d=function(e,t,n,r,a,o,s,l){var c,u=l.bbox,d=void 0===u||u,p=l.length,f=void 0===p||p,h=l.sampleSize,g=void 0===h?10:h,m="number"==typeof s,b=e,y=t,E=0,v=[b,y,0],T=[b,y],S={x:0,y:0},A=[{x:b,y:y}];m&&s<=0&&(S={x:b,y:y});for(var O=0;O<=g;O+=1){if(b=(c=function(e,t,n,r,a,i,o){var s=1-o;return{x:Math.pow(s,2)*e+2*s*o*n+Math.pow(o,2)*a,y:Math.pow(s,2)*t+2*s*o*r+Math.pow(o,2)*i}}(e,t,n,r,a,o,O/g)).x,y=c.y,d&&A.push({x:b,y:y}),f&&(E+=(0,i.y)(T,[b,y])),T=[b,y],m&&E>=s&&s>v[2]){var _=(E-s)/(E-v[2]);S={x:T[0]*(1-_)+v[0]*_,y:T[1]*(1-_)+v[1]*_}}v=[b,y,E]}return m&&s>=E&&(S={x:a,y:o}),{length:E,point:S,min:{x:Math.min.apply(null,A.map(function(e){return e.x})),y:Math.min.apply(null,A.map(function(e){return e.y}))},max:{x:Math.max.apply(null,A.map(function(e){return e.x})),y:Math.max.apply(null,A.map(function(e){return e.y}))}}}(E[0],E[1],E[2],E[3],E[4],E[5],(t||0)-R,n||{})).length,C=d.min,x=d.max,w=d.point):"Z"===g&&(k=(p=o((E=[v,T,S,A])[0],E[1],E[2],E[3],(t||0)-R)).length,C=p.min,x=p.max,w=p.point),y&&R=t&&(I=w),_.push(x),O.push(C),R+=k,v=(f="Z"!==g?m.slice(-2):[S,A])[0],T=f[1];return y&&t>=R&&(I={x:v,y:T}),{length:R,point:I,min:{x:Math.min.apply(null,O.map(function(e){return e.x})),y:Math.min.apply(null,O.map(function(e){return e.y}))},max:{x:Math.max.apply(null,_.map(function(e){return e.x})),y:Math.max.apply(null,_.map(function(e){return e.y}))}}}},51777:function(e,t,n){"use strict";n.d(t,{S:function(){return a}});var r=n(58076);function a(e,t,n,a,i,o,s,l,c,u){var d,p=u.bbox,f=void 0===p||p,h=u.length,g=void 0===h||h,m=u.sampleSize,b=void 0===m?10:m,y="number"==typeof c,E=e,v=t,T=0,S=[E,v,0],A=[E,v],O={x:0,y:0},_=[{x:E,y:v}];y&&c<=0&&(O={x:E,y:v});for(var k=0;k<=b;k+=1){if(E=(d=function(e,t,n,r,a,i,o,s,l){var c=1-l;return{x:Math.pow(c,3)*e+3*Math.pow(c,2)*l*n+3*c*Math.pow(l,2)*a+Math.pow(l,3)*o,y:Math.pow(c,3)*t+3*Math.pow(c,2)*l*r+3*c*Math.pow(l,2)*i+Math.pow(l,3)*s}}(e,t,n,a,i,o,s,l,k/b)).x,v=d.y,f&&_.push({x:E,y:v}),g&&(T+=(0,r.y)(A,[E,v])),A=[E,v],y&&T>=c&&c>S[2]){var C=(T-c)/(T-S[2]);O={x:A[0]*(1-C)+S[0]*C,y:A[1]*(1-C)+S[1]*C}}S=[E,v,T]}return y&&c>=T&&(O={x:s,y:l}),{length:T,point:O,min:{x:Math.min.apply(null,_.map(function(e){return e.x})),y:Math.min.apply(null,_.map(function(e){return e.y}))},max:{x:Math.max.apply(null,_.map(function(e){return e.x})),y:Math.max.apply(null,_.map(function(e){return e.y}))}}}},4503:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function i(e,t,r,i,o){if("function"!=typeof r)throw TypeError("The listener must be a function");var s=new a(r,i||e,o),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function o(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,a=[];if(0===this._eventsCount)return a;for(r in e=this._events)t.call(e,r)&&a.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?a.concat(Object.getOwnPropertySymbols(e)):a},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var a=0,i=r.length,o=Array(i);at.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let o="text/event-stream",s="last-event-id";function l(e,t){var{signal:n,headers:l,onopen:u,onmessage:d,onclose:p,onerror:f,openWhenHidden:h,fetch:g}=t,m=i(t,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((t,i)=>{let b;let y=Object.assign({},l);function E(){b.abort(),document.hidden||_()}y.accept||(y.accept=o),h||document.addEventListener("visibilitychange",E);let v=1e3,T=0;function S(){document.removeEventListener("visibilitychange",E),window.clearTimeout(T),b.abort()}null==n||n.addEventListener("abort",()=>{S(),t()});let A=null!=g?g:window.fetch,O=null!=u?u:c;async function _(){var n,o;b=new AbortController;try{let n,i,l,c;let u=await A(e,Object.assign(Object.assign({},m),{headers:y,signal:b.signal}));await O(u),await r(u.body,(o=function(e,t,n){let r=a(),i=new TextDecoder;return function(o,s){if(0===o.length)null==n||n(r),r=a();else if(s>0){let n=i.decode(o.subarray(0,s)),a=s+(32===o[s+1]?2:1),l=i.decode(o.subarray(a));switch(n){case"data":r.data=r.data?r.data+"\n"+l:l;break;case"event":r.event=l;break;case"id":e(r.id=l);break;case"retry":let c=parseInt(l,10);isNaN(c)||t(r.retry=c)}}}}(e=>{e?y[s]=e:delete y[s]},e=>{v=e},d),c=!1,function(e){void 0===n?(n=e,i=0,l=-1):n=function(e,t){let n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}(n,e);let t=n.length,r=0;for(;i=n?k.text.primary:_.text.primary;return t}let w=({color:e,name:t,mainShade:n=500,lightShade:i=300,darkShade:o=700})=>{if(!(e=(0,r.Z)({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw Error((0,u.Z)(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw Error((0,u.Z)(12,t?` (${t})`:"",JSON.stringify(e.main)));return C(e,"light",i,a),C(e,"dark",o,a),e.contrastText||(e.contrastText=x(e.main)),e},I=(0,d.Z)((0,r.Z)({common:(0,r.Z)({},m),mode:t,primary:w({color:s,name:"primary"}),secondary:w({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:w({color:c,name:"error"}),warning:w({color:h,name:"warning"}),info:w({color:p,name:"info"}),success:w({color:f,name:"success"}),grey:b,contrastThreshold:n,getContrastText:x,augmentColor:w,tonalOffset:a},{dark:k,light:_}[t]),o);return I}(a),R=(0,h.Z)(e),U=(0,d.Z)(R,{mixins:(t=R.breakpoints,(0,r.Z)({toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}}},n)),palette:c,shadows:N.slice(),typography:function(e,t){let n="function"==typeof t?t(e):t,{fontFamily:a=I,fontSize:o=14,fontWeightLight:s=300,fontWeightRegular:l=400,fontWeightMedium:c=500,fontWeightBold:u=700,htmlFontSize:p=16,allVariants:f,pxToRem:h}=n,g=(0,i.Z)(n,x),m=o/14,b=h||(e=>`${e/p*m}rem`),y=(e,t,n,i,o)=>(0,r.Z)({fontFamily:a,fontWeight:e,fontSize:b(t),lineHeight:n},a===I?{letterSpacing:`${Math.round(1e5*(i/t))/1e5}em`}:{},o,f),E={h1:y(s,96,1.167,-1.5),h2:y(s,60,1.2,-.5),h3:y(l,48,1.167,0),h4:y(l,34,1.235,.25),h5:y(l,24,1.334,0),h6:y(c,20,1.6,.15),subtitle1:y(l,16,1.75,.15),subtitle2:y(c,14,1.57,.1),body1:y(l,16,1.5,.15),body2:y(l,14,1.43,.15),button:y(c,14,1.75,.4,w),caption:y(l,12,1.66,.4),overline:y(l,12,2.66,1,w),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,d.Z)((0,r.Z)({htmlFontSize:p,pxToRem:b,fontFamily:a,fontSize:o,fontWeightLight:s,fontWeightRegular:l,fontWeightMedium:c,fontWeightBold:u},E),g,{clone:!1})}(c,s),transitions:function(e){let t=(0,r.Z)({},D,e.easing),n=(0,r.Z)({},P,e.duration);return(0,r.Z)({getAutoHeightDuration:F,create:(e=["all"],r={})=>{let{duration:a=n.standard,easing:o=t.easeInOut,delay:s=0}=r;return(0,i.Z)(r,L),(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof a?a:M(a)} ${o} ${"string"==typeof s?s:M(s)}`).join(",")}},e,{easing:t,duration:n})}(o),zIndex:(0,r.Z)({},B)});return(U=[].reduce((e,t)=>(0,d.Z)(e,t),U=(0,d.Z)(U,l))).unstable_sxConfig=(0,r.Z)({},p.Z,null==l?void 0:l.unstable_sxConfig),U.unstable_sx=function(e){return(0,f.Z)({sx:e,theme:this})},U}();var G="$$material",H=n(58128);let $=(0,H.ZP)({themeId:G,defaultTheme:U,rootShouldForwardProp:e=>"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e&&"classes"!==e});var z=n(1977),Z=n(8027);function W(e){return(0,Z.ZP)("MuiSvgIcon",e)}(0,z.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var V=n(85893);let Y=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],q=e=>{let{color:t,fontSize:n,classes:r}=e,a={root:["root","inherit"!==t&&`color${l(t)}`,`fontSize${l(n)}`]};return(0,s.Z)(a,W,r)},K=$("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${l(n.color)}`],t[`fontSize${l(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,a,i,o,s,l,c,u,d,p,f,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(a=e.transitions)||null==(a=a.duration)?void 0:a.shorter}),fontSize:({inherit:"inherit",small:(null==(i=e.typography)||null==(o=i.pxToRem)?void 0:o.call(i,20))||"1.25rem",medium:(null==(s=e.typography)||null==(l=s.pxToRem)?void 0:l.call(s,24))||"1.5rem",large:(null==(c=e.typography)||null==(u=c.pxToRem)?void 0:u.call(c,35))||"2.1875rem"})[t.fontSize],color:null!=(d=null==(p=(e.vars||e).palette)||null==(p=p[t.color])?void 0:p.main)?d:({action:null==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.active,disabled:null==(h=(e.vars||e).palette)||null==(h=h.action)?void 0:h.disabled,inherit:void 0})[t.color]}}),X=a.forwardRef(function(e,t){let n=function({props:e,name:t}){return(0,c.Z)({props:e,name:t,defaultTheme:U,themeId:G})}({props:e,name:"MuiSvgIcon"}),{children:s,className:l,color:u="inherit",component:d="svg",fontSize:p="medium",htmlColor:f,inheritViewBox:h=!1,titleAccess:g,viewBox:m="0 0 24 24"}=n,b=(0,i.Z)(n,Y),y=a.isValidElement(s)&&"svg"===s.type,E=(0,r.Z)({},n,{color:u,component:d,fontSize:p,instanceFontSize:e.fontSize,inheritViewBox:h,viewBox:m,hasSvgAsChild:y}),v={};h||(v.viewBox=m);let T=q(E);return(0,V.jsxs)(K,(0,r.Z)({as:d,className:(0,o.Z)(T.root,l),focusable:"false",color:f,"aria-hidden":!g||void 0,role:g?"img":void 0,ref:t},v,b,y&&s.props,{ownerState:E,children:[y?s.props.children:s,g?(0,V.jsx)("title",{children:g}):null]}))});function Q(e,t){function n(n,a){return(0,V.jsx)(X,(0,r.Z)({"data-testid":`${t}Icon`,ref:a},n,{children:e}))}return n.muiName=X.muiName,a.memo(a.forwardRef(n))}X.muiName="SvgIcon"},2101:function(e,t,n){"use strict";var r=n(64836);t._j=function(e,t){if(e=s(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return l(e)},t.mi=function(e,t){let n=c(e),r=c(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)},t.$n=function(e,t){if(e=s(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return l(e)};var a=r(n(743)),i=r(n(49425));function o(e,t=0,n=1){return(0,i.default)(e,t,n)}function s(e){let t;if(e.type)return e;if("#"===e.charAt(0))return s(function(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map(e=>e+e)),n?`rgb${4===n.length?"a":""}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));let n=e.indexOf("("),r=e.substring(0,n);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw Error((0,a.default)(9,e));let i=e.substring(n+1,e.length-1);if("color"===r){if(t=(i=i.split(" ")).shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(t))throw Error((0,a.default)(10,t))}else i=i.split(",");return{type:r,values:i=i.map(e=>parseFloat(e)),colorSpace:t}}function l(e){let{type:t,colorSpace:n}=e,{values:r}=e;return -1!==t.indexOf("rgb")?r=r.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),`${t}(${r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`})`}function c(e){let t="hsl"===(e=s(e)).type||"hsla"===e.type?s(function(e){e=s(e);let{values:t}=e,n=t[0],r=t[1]/100,a=t[2]/100,i=r*Math.min(a,1-a),o=(e,t=(e+n/30)%12)=>a-i*Math.max(Math.min(t-3,9-t,1),-1),c="rgb",u=[Math.round(255*o(0)),Math.round(255*o(8)),Math.round(255*o(4))];return"hsla"===e.type&&(c+="a",u.push(t[3])),l({type:c,values:u})}(e)).values:e.values;return Number((.2126*(t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)))[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}},58128:function(e,t,n){"use strict";var r=n(64836);t.ZP=function(e={}){let{themeId:t,defaultTheme:n=g,rootShouldForwardProp:r=h,slotShouldForwardProp:l=h}=e,u=e=>(0,c.default)((0,a.default)({},e,{theme:b((0,a.default)({},e,{defaultTheme:n,themeId:t}))}));return u.__mui_systemSx=!0,(e,c={})=>{var d;let f;(0,o.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));let{name:g,slot:E,skipVariantsResolver:v,skipSx:T,overridesResolver:S=(d=m(E))?(e,t)=>t[d]:null}=c,A=(0,i.default)(c,p),O=void 0!==v?v:E&&"Root"!==E&&"root"!==E||!1,_=T||!1,k=h;"Root"===E||"root"===E?k=r:E?k=l:"string"==typeof e&&e.charCodeAt(0)>96&&(k=void 0);let C=(0,o.default)(e,(0,a.default)({shouldForwardProp:k,label:f},A)),x=e=>"function"==typeof e&&e.__emotion_real!==e||(0,s.isPlainObject)(e)?r=>y(e,(0,a.default)({},r,{theme:b({theme:r.theme,defaultTheme:n,themeId:t})})):e,w=(r,...i)=>{let o=x(r),s=i?i.map(x):[];g&&S&&s.push(e=>{let r=b((0,a.default)({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[g]||!r.components[g].styleOverrides)return null;let i=r.components[g].styleOverrides,o={};return Object.entries(i).forEach(([t,n])=>{o[t]=y(n,(0,a.default)({},e,{theme:r}))}),S(e,o)}),g&&!O&&s.push(e=>{var r;let i=b((0,a.default)({},e,{defaultTheme:n,themeId:t})),o=null==i||null==(r=i.components)||null==(r=r[g])?void 0:r.variants;return y({variants:o},(0,a.default)({},e,{theme:i}))}),_||s.push(u);let l=s.length-i.length;if(Array.isArray(r)&&l>0){let e=Array(l).fill("");(o=[...r,...e]).raw=[...r.raw,...e]}let c=C(o,...s);return e.muiName&&(c.muiName=e.muiName),c};return C.withConfig&&(w.withConfig=C.withConfig),w}};var a=r(n(10434)),i=r(n(7071)),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(23534)),s=n(211);r(n(99698)),r(n(37889));var l=r(n(19926)),c=r(n(386));let u=["ownerState"],d=["variants"],p=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function h(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}let g=(0,l.default)(),m=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function b({defaultTheme:e,theme:t,themeId:n}){return 0===Object.keys(t).length?e:t[n]||t}function y(e,t){let{ownerState:n}=t,r=(0,i.default)(t,u),o="function"==typeof e?e((0,a.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(e=>y(e,(0,a.default)({ownerState:n},r)));if(o&&"object"==typeof o&&Array.isArray(o.variants)){let{variants:e=[]}=o,t=(0,i.default)(o,d),s=t;return e.forEach(e=>{let t=!0;"function"==typeof e.props?t=e.props((0,a.default)({ownerState:n},r,n)):Object.keys(e.props).forEach(a=>{(null==n?void 0:n[a])!==e.props[a]&&r[a]!==e.props[a]&&(t=!1)}),t&&(Array.isArray(s)||(s=[s]),s.push("function"==typeof e.style?e.style((0,a.default)({ownerState:n},r,n)):e.style))}),s}return o}},19926:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},private_createBreakpoints:function(){return a.Z},unstable_applyStyles:function(){return i.Z}});var r=n(88647),a=n(41512),i=n(57064)},386:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},extendSxProp:function(){return a.Z},unstable_createStyleFunctionSx:function(){return r.n},unstable_defaultSxConfig:function(){return i.Z}});var r=n(86523),a=n(39707),i=n(44920)},99698:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(62908)},49425:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r}});var r=function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}},211:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},isPlainObject:function(){return r.P}});var r=n(68027)},743:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(78758)},37889:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return l},getFunctionName:function(){return i}});var r=n(59864);let a=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function i(e){let t=`${e}`.match(a),n=t&&t[1];return n||""}function o(e,t=""){return e.displayName||e.name||i(e)||t}function s(e,t,n){let r=o(t);return e.displayName||(""!==r?`${n}(${r})`:n)}function l(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return o(e,"Component");if("object"==typeof e)switch(e.$$typeof){case r.ForwardRef:return s(e,e.render,"ForwardRef");case r.Memo:return s(e,e.type,"memo")}}}},2093:function(e,t,n){"use strict";var r=n(97582),a=n(67294),i=n(92770);t.Z=function(e,t){(0,a.useEffect)(function(){var t=e(),n=!1;return!function(){(0,r.mG)(this,void 0,void 0,function(){return(0,r.Jh)(this,function(e){switch(e.label){case 0:if(!(0,i.mf)(t[Symbol.asyncIterator]))return[3,4];e.label=1;case 1:return[4,t.next()];case 2:if(e.sent().done||n)return[3,3];return[3,1];case 3:return[3,6];case 4:return[4,t];case 5:e.sent(),e.label=6;case 6:return[2]}})})}(),function(){n=!0}},t)}},85265:function(e,t,n){"use strict";n.d(t,{Z:function(){return q}});var r=n(67294),a=n(93967),i=n.n(a),o=n(1413),s=n(97685),l=n(2788),c=n(8410),u=r.createContext(null),d=r.createContext({}),p=n(4942),f=n(87462),h=n(29372),g=n(15105),m=n(64217),b=n(45987),y=n(42550),E=["prefixCls","className","containerRef"],v=function(e){var t=e.prefixCls,n=e.className,a=e.containerRef,o=(0,b.Z)(e,E),s=r.useContext(d).panel,l=(0,y.x1)(s,a);return r.createElement("div",(0,f.Z)({className:i()("".concat(t,"-content"),n),role:"dialog",ref:l},(0,m.Z)(e,{aria:!0}),{"aria-modal":"true"},o))},T=n(80334);function S(e){return"string"==typeof e&&String(Number(e))===e?((0,T.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var A={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"},O=r.forwardRef(function(e,t){var n,a,l,c=e.prefixCls,d=e.open,b=e.placement,y=e.inline,E=e.push,T=e.forceRender,O=e.autoFocus,_=e.keyboard,k=e.classNames,C=e.rootClassName,x=e.rootStyle,w=e.zIndex,I=e.className,R=e.id,N=e.style,L=e.motion,D=e.width,P=e.height,M=e.children,F=e.mask,B=e.maskClosable,j=e.maskMotion,U=e.maskClassName,G=e.maskStyle,H=e.afterOpenChange,$=e.onClose,z=e.onMouseEnter,Z=e.onMouseOver,W=e.onMouseLeave,V=e.onClick,Y=e.onKeyDown,q=e.onKeyUp,K=e.styles,X=e.drawerRender,Q=r.useRef(),J=r.useRef(),ee=r.useRef();r.useImperativeHandle(t,function(){return Q.current}),r.useEffect(function(){if(d&&O){var e;null===(e=Q.current)||void 0===e||e.focus({preventScroll:!0})}},[d]);var et=r.useState(!1),en=(0,s.Z)(et,2),er=en[0],ea=en[1],ei=r.useContext(u),eo=null!==(n=null!==(a=null===(l="boolean"==typeof E?E?{}:{distance:0}:E||{})||void 0===l?void 0:l.distance)&&void 0!==a?a:null==ei?void 0:ei.pushDistance)&&void 0!==n?n:180,es=r.useMemo(function(){return{pushDistance:eo,push:function(){ea(!0)},pull:function(){ea(!1)}}},[eo]);r.useEffect(function(){var e,t;d?null==ei||null===(e=ei.push)||void 0===e||e.call(ei):null==ei||null===(t=ei.pull)||void 0===t||t.call(ei)},[d]),r.useEffect(function(){return function(){var e;null==ei||null===(e=ei.pull)||void 0===e||e.call(ei)}},[]);var el=F&&r.createElement(h.ZP,(0,f.Z)({key:"mask"},j,{visible:d}),function(e,t){var n=e.className,a=e.style;return r.createElement("div",{className:i()("".concat(c,"-mask"),n,null==k?void 0:k.mask,U),style:(0,o.Z)((0,o.Z)((0,o.Z)({},a),G),null==K?void 0:K.mask),onClick:B&&d?$:void 0,ref:t})}),ec="function"==typeof L?L(b):L,eu={};if(er&&eo)switch(b){case"top":eu.transform="translateY(".concat(eo,"px)");break;case"bottom":eu.transform="translateY(".concat(-eo,"px)");break;case"left":eu.transform="translateX(".concat(eo,"px)");break;default:eu.transform="translateX(".concat(-eo,"px)")}"left"===b||"right"===b?eu.width=S(D):eu.height=S(P);var ed={onMouseEnter:z,onMouseOver:Z,onMouseLeave:W,onClick:V,onKeyDown:Y,onKeyUp:q},ep=r.createElement(h.ZP,(0,f.Z)({key:"panel"},ec,{visible:d,forceRender:T,onVisibleChanged:function(e){null==H||H(e)},removeOnLeave:!1,leavedClassName:"".concat(c,"-content-wrapper-hidden")}),function(t,n){var a=t.className,s=t.style,l=r.createElement(v,(0,f.Z)({id:R,containerRef:n,prefixCls:c,className:i()(I,null==k?void 0:k.content),style:(0,o.Z)((0,o.Z)({},N),null==K?void 0:K.content)},(0,m.Z)(e,{aria:!0}),ed),M);return r.createElement("div",(0,f.Z)({className:i()("".concat(c,"-content-wrapper"),null==k?void 0:k.wrapper,a),style:(0,o.Z)((0,o.Z)((0,o.Z)({},eu),s),null==K?void 0:K.wrapper)},(0,m.Z)(e,{data:!0})),X?X(l):l)}),ef=(0,o.Z)({},x);return w&&(ef.zIndex=w),r.createElement(u.Provider,{value:es},r.createElement("div",{className:i()(c,"".concat(c,"-").concat(b),C,(0,p.Z)((0,p.Z)({},"".concat(c,"-open"),d),"".concat(c,"-inline"),y)),style:ef,tabIndex:-1,ref:Q,onKeyDown:function(e){var t,n,r=e.keyCode,a=e.shiftKey;switch(r){case g.Z.TAB:r===g.Z.TAB&&(a||document.activeElement!==ee.current?a&&document.activeElement===J.current&&(null===(n=ee.current)||void 0===n||n.focus({preventScroll:!0})):null===(t=J.current)||void 0===t||t.focus({preventScroll:!0}));break;case g.Z.ESC:$&&_&&(e.stopPropagation(),$(e))}}},el,r.createElement("div",{tabIndex:0,ref:J,style:A,"aria-hidden":"true","data-sentinel":"start"}),ep,r.createElement("div",{tabIndex:0,ref:ee,style:A,"aria-hidden":"true","data-sentinel":"end"})))}),_=function(e){var t=e.open,n=e.prefixCls,a=e.placement,i=e.autoFocus,u=e.keyboard,p=e.width,f=e.mask,h=void 0===f||f,g=e.maskClosable,m=e.getContainer,b=e.forceRender,y=e.afterOpenChange,E=e.destroyOnClose,v=e.onMouseEnter,T=e.onMouseOver,S=e.onMouseLeave,A=e.onClick,_=e.onKeyDown,k=e.onKeyUp,C=e.panelRef,x=r.useState(!1),w=(0,s.Z)(x,2),I=w[0],R=w[1],N=r.useState(!1),L=(0,s.Z)(N,2),D=L[0],P=L[1];(0,c.Z)(function(){P(!0)},[]);var M=!!D&&void 0!==t&&t,F=r.useRef(),B=r.useRef();(0,c.Z)(function(){M&&(B.current=document.activeElement)},[M]);var j=r.useMemo(function(){return{panel:C}},[C]);if(!b&&!I&&!M&&E)return null;var U=(0,o.Z)((0,o.Z)({},e),{},{open:M,prefixCls:void 0===n?"rc-drawer":n,placement:void 0===a?"right":a,autoFocus:void 0===i||i,keyboard:void 0===u||u,width:void 0===p?378:p,mask:h,maskClosable:void 0===g||g,inline:!1===m,afterOpenChange:function(e){var t,n;R(e),null==y||y(e),e||!B.current||null!==(t=F.current)&&void 0!==t&&t.contains(B.current)||null===(n=B.current)||void 0===n||n.focus({preventScroll:!0})},ref:F},{onMouseEnter:v,onMouseOver:T,onMouseLeave:S,onClick:A,onKeyDown:_,onKeyUp:k});return r.createElement(d.Provider,{value:j},r.createElement(l.Z,{open:M||b||I,autoDestroy:!1,getContainer:m,autoLock:h&&(M||I)},r.createElement(O,U)))},k=n(89942),C=n(87263),x=n(33603),w=n(43945),I=n(53124),R=n(16569),N=n(69760),L=n(48054),D=e=>{var t,n;let{prefixCls:a,title:o,footer:s,extra:l,loading:c,onClose:u,headerStyle:d,bodyStyle:p,footerStyle:f,children:h,classNames:g,styles:m}=e,{drawer:b}=r.useContext(I.E_),y=r.useCallback(e=>r.createElement("button",{type:"button",onClick:u,"aria-label":"Close",className:`${a}-close`},e),[u]),[E,v]=(0,N.Z)((0,N.w)(e),(0,N.w)(b),{closable:!0,closeIconRender:y}),T=r.useMemo(()=>{var e,t;return o||E?r.createElement("div",{style:Object.assign(Object.assign(Object.assign({},null===(e=null==b?void 0:b.styles)||void 0===e?void 0:e.header),d),null==m?void 0:m.header),className:i()(`${a}-header`,{[`${a}-header-close-only`]:E&&!o&&!l},null===(t=null==b?void 0:b.classNames)||void 0===t?void 0:t.header,null==g?void 0:g.header)},r.createElement("div",{className:`${a}-header-title`},v,o&&r.createElement("div",{className:`${a}-title`},o)),l&&r.createElement("div",{className:`${a}-extra`},l)):null},[E,v,l,d,a,o]),S=r.useMemo(()=>{var e,t;if(!s)return null;let n=`${a}-footer`;return r.createElement("div",{className:i()(n,null===(e=null==b?void 0:b.classNames)||void 0===e?void 0:e.footer,null==g?void 0:g.footer),style:Object.assign(Object.assign(Object.assign({},null===(t=null==b?void 0:b.styles)||void 0===t?void 0:t.footer),f),null==m?void 0:m.footer)},s)},[s,f,a]);return r.createElement(r.Fragment,null,T,r.createElement("div",{className:i()(`${a}-body`,null==g?void 0:g.body,null===(t=null==b?void 0:b.classNames)||void 0===t?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},null===(n=null==b?void 0:b.styles)||void 0===n?void 0:n.body),p),null==m?void 0:m.body)},c?r.createElement(L.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${a}-body-skeleton`}):h),S)},P=n(25446),M=n(14747),F=n(83559),B=n(83262);let j=e=>{let t="100%";return({left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`})[e]},U=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),G=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}}},U({opacity:e},{opacity:1})),H=(e,t)=>[G(.7,t),U({transform:j(e)},{transform:"none"})];var $=e=>{let{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:G(0,n),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce((e,t)=>Object.assign(Object.assign({},e),{[`&-${t}`]:H(t,n)}),{})}}};let z=e=>{let{borderRadiusSM:t,componentCls:n,zIndexPopup:r,colorBgMask:a,colorBgElevated:i,motionDurationSlow:o,motionDurationMid:s,paddingXS:l,padding:c,paddingLG:u,fontSizeLG:d,lineHeightLG:p,lineWidth:f,lineType:h,colorSplit:g,marginXS:m,colorIcon:b,colorIconHover:y,colorBgTextHover:E,colorBgTextActive:v,colorText:T,fontWeightStrong:S,footerPaddingBlock:A,footerPaddingInline:O,calc:_}=e,k=`${n}-content-wrapper`;return{[n]:{position:"fixed",inset:0,zIndex:r,pointerEvents:"none",color:T,"&-pure":{position:"relative",background:i,display:"flex",flexDirection:"column",[`&${n}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${n}-mask`]:{position:"absolute",inset:0,zIndex:r,background:a,pointerEvents:"auto"},[k]:{position:"absolute",zIndex:r,maxWidth:"100vw",transition:`all ${o}`,"&-hidden":{display:"none"}},[`&-left > ${k}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${k}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${k}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${k}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${n}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:i,pointerEvents:"auto"},[`${n}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,P.bf)(c)} ${(0,P.bf)(u)}`,fontSize:d,lineHeight:p,borderBottom:`${(0,P.bf)(f)} ${h} ${g}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:"none"},[`${n}-close`]:Object.assign({display:"inline-flex",width:_(d).add(l).equal(),height:_(d).add(l).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",marginInlineEnd:m,color:b,fontWeight:S,fontSize:d,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${s}`,textRendering:"auto","&:hover":{color:y,backgroundColor:E,textDecoration:"none"},"&:active":{backgroundColor:v}},(0,M.Qy)(e)),[`${n}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:d,lineHeight:p},[`${n}-body`]:{flex:1,minWidth:0,minHeight:0,padding:u,overflow:"auto",[`${n}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${n}-footer`]:{flexShrink:0,padding:`${(0,P.bf)(A)} ${(0,P.bf)(O)}`,borderTop:`${(0,P.bf)(f)} ${h} ${g}`},"&-rtl":{direction:"rtl"}}}};var Z=(0,F.I$)("Drawer",e=>{let t=(0,B.IX)(e,{});return[z(t),$(t)]},e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding})),W=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let V={distance:180},Y=e=>{let{rootClassName:t,width:n,height:a,size:o="default",mask:s=!0,push:l=V,open:c,afterOpenChange:u,onClose:d,prefixCls:p,getContainer:f,style:h,className:g,visible:m,afterVisibleChange:b,maskStyle:y,drawerStyle:E,contentWrapperStyle:v}=e,T=W(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:S,getPrefixCls:A,direction:O,drawer:N}=r.useContext(I.E_),L=A("drawer",p),[P,M,F]=Z(L),B=void 0===f&&S?()=>S(document.body):f,j=i()({"no-mask":!s,[`${L}-rtl`]:"rtl"===O},t,M,F),U=r.useMemo(()=>null!=n?n:"large"===o?736:378,[n,o]),G=r.useMemo(()=>null!=a?a:"large"===o?736:378,[a,o]),H={motionName:(0,x.m)(L,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},$=(0,R.H)(),[z,Y]=(0,C.Cn)("Drawer",T.zIndex),{classNames:q={},styles:K={}}=T,{classNames:X={},styles:Q={}}=N||{};return P(r.createElement(k.Z,{form:!0,space:!0},r.createElement(w.Z.Provider,{value:Y},r.createElement(_,Object.assign({prefixCls:L,onClose:d,maskMotion:H,motion:e=>({motionName:(0,x.m)(L,`panel-motion-${e}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500})},T,{classNames:{mask:i()(q.mask,X.mask),content:i()(q.content,X.content),wrapper:i()(q.wrapper,X.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},K.mask),y),Q.mask),content:Object.assign(Object.assign(Object.assign({},K.content),E),Q.content),wrapper:Object.assign(Object.assign(Object.assign({},K.wrapper),v),Q.wrapper)},open:null!=c?c:m,mask:s,push:l,width:U,height:G,style:Object.assign(Object.assign({},null==N?void 0:N.style),h),className:i()(null==N?void 0:N.className,g),rootClassName:j,getContainer:B,afterOpenChange:null!=u?u:b,panelRef:$,zIndex:z}),r.createElement(D,Object.assign({prefixCls:L},T,{onClose:d}))))))};Y._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,style:n,className:a,placement:o="right"}=e,s=W(e,["prefixCls","style","className","placement"]),{getPrefixCls:l}=r.useContext(I.E_),c=l("drawer",t),[u,d,p]=Z(c),f=i()(c,`${c}-pure`,`${c}-${o}`,d,p,a);return u(r.createElement("div",{className:f,style:n},r.createElement(D,Object.assign({prefixCls:c},s))))};var q=Y},86250:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r=n(67294),a=n(93967),i=n.n(a),o=n(98423),s=n(98065),l=n(53124),c=n(83559),u=n(83262);let d=["wrap","nowrap","wrap-reverse"],p=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],f=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],h=(e,t)=>{let n=!0===t.wrap?"wrap":t.wrap;return{[`${e}-wrap-${n}`]:n&&d.includes(n)}},g=(e,t)=>{let n={};return f.forEach(r=>{n[`${e}-align-${r}`]=t.align===r}),n[`${e}-align-stretch`]=!t.align&&!!t.vertical,n},m=(e,t)=>{let n={};return p.forEach(r=>{n[`${e}-justify-${r}`]=t.justify===r}),n},b=e=>{let{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},y=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},E=e=>{let{componentCls:t}=e,n={};return d.forEach(e=>{n[`${t}-wrap-${e}`]={flexWrap:e}}),n},v=e=>{let{componentCls:t}=e,n={};return f.forEach(e=>{n[`${t}-align-${e}`]={alignItems:e}}),n},T=e=>{let{componentCls:t}=e,n={};return p.forEach(e=>{n[`${t}-justify-${e}`]={justifyContent:e}}),n};var S=(0,c.I$)("Flex",e=>{let{paddingXS:t,padding:n,paddingLG:r}=e,a=(0,u.IX)(e,{flexGapSM:t,flexGap:n,flexGapLG:r});return[b(a),y(a),E(a),v(a),T(a)]},()=>({}),{resetStyle:!1}),A=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let O=r.forwardRef((e,t)=>{let{prefixCls:n,rootClassName:a,className:c,style:u,flex:d,gap:p,children:f,vertical:b=!1,component:y="div"}=e,E=A(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:v,direction:T,getPrefixCls:O}=r.useContext(l.E_),_=O("flex",n),[k,C,x]=S(_),w=null!=b?b:null==v?void 0:v.vertical,I=i()(c,a,null==v?void 0:v.className,_,C,x,i()(Object.assign(Object.assign(Object.assign({},h(_,e)),g(_,e)),m(_,e))),{[`${_}-rtl`]:"rtl"===T,[`${_}-gap-${p}`]:(0,s.n)(p),[`${_}-vertical`]:w}),R=Object.assign(Object.assign({},null==v?void 0:v.style),u);return d&&(R.flex=d),p&&!(0,s.n)(p)&&(R.gap=p),k(r.createElement(y,Object.assign({ref:t,className:I,style:R},(0,o.Z)(E,["justify","wrap","align"])),f))});var _=O},57020:function(e,t,n){"use strict";n.d(t,{Z:function(){return eT}});var r=n(67294),a=n(99611),i=n(93967),o=n.n(i),s=n(87462),l=n(1413),c=n(4942),u=n(97685),d=n(71002),p=n(45987),f=n(27678),h=n(21770),g=n(40974),m=n(64019),b=n(15105),y=n(2788),E=n(29372),v=r.createContext(null),T=function(e){var t=e.visible,n=e.maskTransitionName,a=e.getContainer,i=e.prefixCls,s=e.rootClassName,u=e.icons,d=e.countRender,p=e.showSwitch,f=e.showProgress,h=e.current,g=e.transform,m=e.count,T=e.scale,S=e.minScale,A=e.maxScale,O=e.closeIcon,_=e.onSwitchLeft,k=e.onSwitchRight,C=e.onClose,x=e.onZoomIn,w=e.onZoomOut,I=e.onRotateRight,R=e.onRotateLeft,N=e.onFlipX,L=e.onFlipY,D=e.onReset,P=e.toolbarRender,M=e.zIndex,F=e.image,B=(0,r.useContext)(v),j=u.rotateLeft,U=u.rotateRight,G=u.zoomIn,H=u.zoomOut,$=u.close,z=u.left,Z=u.right,W=u.flipX,V=u.flipY,Y="".concat(i,"-operations-operation");r.useEffect(function(){var e=function(e){e.keyCode===b.Z.ESC&&C()};return t&&window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}},[t]);var q=[{icon:V,onClick:L,type:"flipY"},{icon:W,onClick:N,type:"flipX"},{icon:j,onClick:R,type:"rotateLeft"},{icon:U,onClick:I,type:"rotateRight"},{icon:H,onClick:w,type:"zoomOut",disabled:T<=S},{icon:G,onClick:x,type:"zoomIn",disabled:T===A}].map(function(e){var t,n=e.icon,a=e.onClick,s=e.type,l=e.disabled;return r.createElement("div",{className:o()(Y,(t={},(0,c.Z)(t,"".concat(i,"-operations-operation-").concat(s),!0),(0,c.Z)(t,"".concat(i,"-operations-operation-disabled"),!!l),t)),onClick:a,key:s},n)}),K=r.createElement("div",{className:"".concat(i,"-operations")},q);return r.createElement(E.ZP,{visible:t,motionName:n},function(e){var t=e.className,n=e.style;return r.createElement(y.Z,{open:!0,getContainer:null!=a?a:document.body},r.createElement("div",{className:o()("".concat(i,"-operations-wrapper"),t,s),style:(0,l.Z)((0,l.Z)({},n),{},{zIndex:M})},null===O?null:r.createElement("button",{className:"".concat(i,"-close"),onClick:C},O||$),p&&r.createElement(r.Fragment,null,r.createElement("div",{className:o()("".concat(i,"-switch-left"),(0,c.Z)({},"".concat(i,"-switch-left-disabled"),0===h)),onClick:_},z),r.createElement("div",{className:o()("".concat(i,"-switch-right"),(0,c.Z)({},"".concat(i,"-switch-right-disabled"),h===m-1)),onClick:k},Z)),r.createElement("div",{className:"".concat(i,"-footer")},f&&r.createElement("div",{className:"".concat(i,"-progress")},d?d(h+1,m):"".concat(h+1," / ").concat(m)),P?P(K,(0,l.Z)((0,l.Z)({icons:{flipYIcon:q[0],flipXIcon:q[1],rotateLeftIcon:q[2],rotateRightIcon:q[3],zoomOutIcon:q[4],zoomInIcon:q[5]},actions:{onFlipY:L,onFlipX:N,onRotateLeft:R,onRotateRight:I,onZoomOut:w,onZoomIn:x,onReset:D,onClose:C},transform:g},B?{current:h,total:m}:{}),{},{image:F})):K)))})},S=n(91881),A=n(75164),O={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1},_=n(80334);function k(e,t,n,r){var a=t+n,i=(n-r)/2;if(n>r){if(t>0)return(0,c.Z)({},e,i);if(t<0&&ar)return(0,c.Z)({},e,t<0?i:-i);return{}}function C(e,t,n,r){var a=(0,f.g1)(),i=a.width,o=a.height,s=null;return e<=i&&t<=o?s={x:0,y:0}:(e>i||t>o)&&(s=(0,l.Z)((0,l.Z)({},k("x",n,e,i)),k("y",r,t,o))),s}function x(e){var t=e.src,n=e.isCustomPlaceholder,a=e.fallback,i=(0,r.useState)(n?"loading":"normal"),o=(0,u.Z)(i,2),s=o[0],l=o[1],c=(0,r.useRef)(!1),d="error"===s;(0,r.useEffect)(function(){var e=!0;return new Promise(function(e){var n=document.createElement("img");n.onerror=function(){return e(!1)},n.onload=function(){return e(!0)},n.src=t}).then(function(t){!t&&e&&l("error")}),function(){e=!1}},[t]),(0,r.useEffect)(function(){n&&!c.current?l("loading"):d&&l("normal")},[t]);var p=function(){l("normal")};return[function(e){c.current=!1,"loading"===s&&null!=e&&e.complete&&(e.naturalWidth||e.naturalHeight)&&(c.current=!0,p())},d&&a?{src:a}:{onLoad:p,src:t},s]}function w(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}var I=["fallback","src","imgRef"],R=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],N=function(e){var t=e.fallback,n=e.src,a=e.imgRef,i=(0,p.Z)(e,I),o=x({src:n,fallback:t}),l=(0,u.Z)(o,2),c=l[0],d=l[1];return r.createElement("img",(0,s.Z)({ref:function(e){a.current=e,c(e)}},i,d))},L=function(e){var t,n,a,i,d,h,y,E,k,x,I,L,D,P,M,F,B,j,U,G,H,$,z,Z,W,V,Y,q,K=e.prefixCls,X=e.src,Q=e.alt,J=e.imageInfo,ee=e.fallback,et=e.movable,en=void 0===et||et,er=e.onClose,ea=e.visible,ei=e.icons,eo=e.rootClassName,es=e.closeIcon,el=e.getContainer,ec=e.current,eu=void 0===ec?0:ec,ed=e.count,ep=void 0===ed?1:ed,ef=e.countRender,eh=e.scaleStep,eg=void 0===eh?.5:eh,em=e.minScale,eb=void 0===em?1:em,ey=e.maxScale,eE=void 0===ey?50:ey,ev=e.transitionName,eT=e.maskTransitionName,eS=void 0===eT?"fade":eT,eA=e.imageRender,eO=e.imgCommonProps,e_=e.toolbarRender,ek=e.onTransform,eC=e.onChange,ex=(0,p.Z)(e,R),ew=(0,r.useRef)(),eI=(0,r.useContext)(v),eR=eI&&ep>1,eN=eI&&ep>=1,eL=(0,r.useState)(!0),eD=(0,u.Z)(eL,2),eP=eD[0],eM=eD[1],eF=(t=(0,r.useRef)(null),n=(0,r.useRef)([]),a=(0,r.useState)(O),d=(i=(0,u.Z)(a,2))[0],h=i[1],y=function(e,r){null===t.current&&(n.current=[],t.current=(0,A.Z)(function(){h(function(e){var a=e;return n.current.forEach(function(e){a=(0,l.Z)((0,l.Z)({},a),e)}),t.current=null,null==ek||ek({transform:a,action:r}),a})})),n.current.push((0,l.Z)((0,l.Z)({},d),e))},{transform:d,resetTransform:function(e){h(O),(0,S.Z)(O,d)||null==ek||ek({transform:O,action:e})},updateTransform:y,dispatchZoomChange:function(e,t,n,r,a){var i=ew.current,o=i.width,s=i.height,l=i.offsetWidth,c=i.offsetHeight,u=i.offsetLeft,p=i.offsetTop,h=e,g=d.scale*e;g>eE?(g=eE,h=eE/d.scale):g0&&(t=1/t),eG(t,"wheel",e.clientX,e.clientY)}}}),e$=eH.isMoving,ez=eH.onMouseDown,eZ=eH.onWheel,eW=(U=eB.rotate,G=eB.scale,H=eB.x,$=eB.y,z=(0,r.useState)(!1),W=(Z=(0,u.Z)(z,2))[0],V=Z[1],Y=(0,r.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),q=function(e){Y.current=(0,l.Z)((0,l.Z)({},Y.current),e)},(0,r.useEffect)(function(){var e;return ea&&en&&(e=(0,m.Z)(window,"touchmove",function(e){return e.preventDefault()},{passive:!1})),function(){var t;null===(t=e)||void 0===t||t.remove()}},[ea,en]),{isTouching:W,onTouchStart:function(e){if(en){e.stopPropagation(),V(!0);var t=e.touches,n=void 0===t?[]:t;n.length>1?q({point1:{x:n[0].clientX,y:n[0].clientY},point2:{x:n[1].clientX,y:n[1].clientY},eventType:"touchZoom"}):q({point1:{x:n[0].clientX-H,y:n[0].clientY-$},eventType:"move"})}},onTouchMove:function(e){var t=e.touches,n=void 0===t?[]:t,r=Y.current,a=r.point1,i=r.point2,o=r.eventType;if(n.length>1&&"touchZoom"===o){var s={x:n[0].clientX,y:n[0].clientY},l={x:n[1].clientX,y:n[1].clientY},c=function(e,t,n,r){var a=w(e,n),i=w(t,r);if(0===a&&0===i)return[e.x,e.y];var o=a/(a+i);return[e.x+o*(t.x-e.x),e.y+o*(t.y-e.y)]}(a,i,s,l),d=(0,u.Z)(c,2),p=d[0],f=d[1];eG(w(s,l)/w(a,i),"touchZoom",p,f,!0),q({point1:s,point2:l,eventType:"touchZoom"})}else"move"===o&&(eU({x:n[0].clientX-a.x,y:n[0].clientY-a.y},"move"),q({eventType:"move"}))},onTouchEnd:function(){if(ea){if(W&&V(!1),q({eventType:"none"}),eb>G)return eU({x:0,y:0,scale:eb},"touchZoom");var e=ew.current.offsetWidth*G,t=ew.current.offsetHeight*G,n=ew.current.getBoundingClientRect(),r=n.left,a=n.top,i=U%180!=0,o=C(i?t:e,i?e:t,r,a);o&&eU((0,l.Z)({},o),"dragRebound")}}}),eV=eW.isTouching,eY=eW.onTouchStart,eq=eW.onTouchMove,eK=eW.onTouchEnd,eX=eB.rotate,eQ=eB.scale,eJ=o()((0,c.Z)({},"".concat(K,"-moving"),e$));(0,r.useEffect)(function(){eP||eM(!0)},[eP]);var e0=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu>0&&(eM(!1),ej("prev"),null==eC||eC(eu-1,eu))},e1=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu({position:e||"absolute",inset:0}),eu=e=>{let{iconCls:t,motionDurationSlow:n,paddingXXS:r,marginXXS:a,prefixCls:i,colorTextLightSolid:o}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:o,background:new en.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${i}-mask-info`]:Object.assign(Object.assign({},ea.vS),{padding:`0 ${(0,et.bf)(r)}`,[t]:{marginInlineEnd:a,svg:{verticalAlign:"baseline"}}})}},ed=e=>{let{previewCls:t,modalMaskBg:n,paddingSM:r,marginXL:a,margin:i,paddingLG:o,previewOperationColorDisabled:s,previewOperationHoverColor:l,motionDurationSlow:c,iconCls:u,colorTextLightSolid:d}=e,p=new en.C(n).setAlpha(.1),f=p.clone().setAlpha(.2);return{[`${t}-footer`]:{position:"fixed",bottom:a,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor,transform:"translateX(-50%)"},[`${t}-progress`]:{marginBottom:i},[`${t}-close`]:{position:"fixed",top:a,right:{_skip_check_:!0,value:a},display:"flex",color:d,backgroundColor:p.toRgbString(),borderRadius:"50%",padding:r,outline:0,border:0,cursor:"pointer",transition:`all ${c}`,"&:hover":{backgroundColor:f.toRgbString()},[`& > ${u}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,et.bf)(o)}`,backgroundColor:p.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:r,padding:r,cursor:"pointer",transition:`all ${c}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${u}`]:{color:l},"&-disabled":{color:s,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${u}`]:{fontSize:e.previewOperationSize}}}}},ep=e=>{let{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:r,previewCls:a,zIndexPopup:i,motionDurationSlow:o}=e,s=new en.C(t).setAlpha(.1),l=s.clone().setAlpha(.2);return{[`${a}-switch-left, ${a}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(i).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:s.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${o}`,userSelect:"none","&:hover":{background:l.toRgbString()},"&-disabled":{"&, &:hover":{color:r,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${a}-switch-left`]:{insetInlineStart:e.marginSM},[`${a}-switch-right`]:{insetInlineEnd:e.marginSM}}},ef=e=>{let{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:a}=e;return[{[`${a}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:Object.assign(Object.assign({},ec()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${r} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},ec()),{transition:`transform ${r} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${a}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${a}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal()},"&":[ed(e),ep(e)]}]},eh=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},eu(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},ec())}}},eg=e=>{let{previewCls:t}=e;return{[`${t}-root`]:(0,ei._y)(e,"zoom"),"&":(0,eo.J$)(e,!0)}};var em=(0,es.I$)("Image",e=>{let t=`${e.componentCls}-preview`,n=(0,el.IX)(e,{previewCls:t,modalMaskBg:new en.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[eh(n),ef(n),(0,er.QA)((0,el.IX)(n,{componentCls:t})),eg(n)]},e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new en.C(e.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new en.C(e.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new en.C(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:1.5*e.fontSizeIcon})),eb=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ey={rotateLeft:r.createElement(K.Z,null),rotateRight:r.createElement(X.Z,null),zoomIn:r.createElement(J.Z,null),zoomOut:r.createElement(ee.Z,null),close:r.createElement(V.Z,null),left:r.createElement(Y.Z,null),right:r.createElement(q.Z,null),flipX:r.createElement(Q.Z,null),flipY:r.createElement(Q.Z,{rotate:90})};var eE=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ev=e=>{var t;let{prefixCls:n,preview:i,className:s,rootClassName:l,style:c}=e,u=eE(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:d,locale:p=W.Z,getPopupContainer:f,image:h}=r.useContext(z.E_),g=d("image",n),m=d(),b=p.Image||W.Z.Image,y=(0,Z.Z)(g),[E,v,T]=em(g,y),S=o()(l,v,T,y),A=o()(s,v,null==h?void 0:h.className),[O]=(0,H.Cn)("ImagePreview","object"==typeof i?i.zIndex:void 0),_=r.useMemo(()=>{var e;if(!1===i)return i;let t="object"==typeof i?i:{},{getContainer:n,closeIcon:o}=t,s=eE(t,["getContainer","closeIcon"]);return Object.assign(Object.assign({mask:r.createElement("div",{className:`${g}-mask-info`},r.createElement(a.Z,null),null==b?void 0:b.preview),icons:ey},s),{getContainer:null!=n?n:f,transitionName:(0,$.m)(m,"zoom",t.transitionName),maskTransitionName:(0,$.m)(m,"fade",t.maskTransitionName),zIndex:O,closeIcon:null!=o?o:null===(e=null==h?void 0:h.preview)||void 0===e?void 0:e.closeIcon})},[i,b,null===(t=null==h?void 0:h.preview)||void 0===t?void 0:t.closeIcon]),k=Object.assign(Object.assign({},null==h?void 0:h.style),c);return E(r.createElement(G,Object.assign({prefixCls:g,preview:_,rootClassName:S,className:A,style:k},u)))};ev.PreviewGroup=e=>{var{previewPrefixCls:t,preview:n}=e,a=eb(e,["previewPrefixCls","preview"]);let{getPrefixCls:i}=r.useContext(z.E_),s=i("image",t),l=`${s}-preview`,c=i(),u=(0,Z.Z)(s),[d,p,f]=em(s,u),[h]=(0,H.Cn)("ImagePreview","object"==typeof n?n.zIndex:void 0),g=r.useMemo(()=>{var e;if(!1===n)return n;let t="object"==typeof n?n:{},r=o()(p,f,u,null!==(e=t.rootClassName)&&void 0!==e?e:"");return Object.assign(Object.assign({},t),{transitionName:(0,$.m)(c,"zoom",t.transitionName),maskTransitionName:(0,$.m)(c,"fade",t.maskTransitionName),rootClassName:r,zIndex:h})},[n]);return d(r.createElement(G.PreviewGroup,Object.assign({preview:g,previewPrefixCls:l,icons:ey},a)))};var eT=ev},66309:function(e,t,n){"use strict";n.d(t,{Z:function(){return I}});var r=n(67294),a=n(93967),i=n.n(a),o=n(98423),s=n(98787),l=n(69760),c=n(96159),u=n(45353),d=n(53124),p=n(25446),f=n(10274),h=n(14747),g=n(83262),m=n(83559);let b=e=>{let{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:a,calc:i}=e,o=i(r).sub(n).equal(),s=i(t).sub(n).equal();return{[a]:Object.assign(Object.assign({},(0,h.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:o,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,p.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${a}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${a}-close-icon`]:{marginInlineStart:s,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${a}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${a}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:o}}),[`${a}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},y=e=>{let{lineWidth:t,fontSizeIcon:n,calc:r}=e,a=e.fontSizeSM,i=(0,g.IX)(e,{tagFontSize:a,tagLineHeight:(0,p.bf)(r(e.lineHeightSM).mul(a).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return i},E=e=>({defaultBg:new f.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var v=(0,m.I$)("Tag",e=>{let t=y(e);return b(t)},E),T=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let S=r.forwardRef((e,t)=>{let{prefixCls:n,style:a,className:o,checked:s,onChange:l,onClick:c}=e,u=T(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:p,tag:f}=r.useContext(d.E_),h=p("tag",n),[g,m,b]=v(h),y=i()(h,`${h}-checkable`,{[`${h}-checkable-checked`]:s},null==f?void 0:f.className,o,m,b);return g(r.createElement("span",Object.assign({},u,{ref:t,style:Object.assign(Object.assign({},a),null==f?void 0:f.style),className:y,onClick:e=>{null==l||l(!s),null==c||c(e)}})))});var A=n(98719);let O=e=>(0,A.Z)(e,(t,n)=>{let{textColor:r,lightBorderColor:a,lightColor:i,darkColor:o}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:i,borderColor:a,"&-inverse":{color:e.colorTextLightSolid,background:o,borderColor:o},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var _=(0,m.bk)(["Tag","preset"],e=>{let t=y(e);return O(t)},E);let k=(e,t,n)=>{let r=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var C=(0,m.bk)(["Tag","status"],e=>{let t=y(e);return[k(t,"success","Success"),k(t,"processing","Info"),k(t,"error","Error"),k(t,"warning","Warning")]},E),x=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let w=r.forwardRef((e,t)=>{let{prefixCls:n,className:a,rootClassName:p,style:f,children:h,icon:g,color:m,onClose:b,bordered:y=!0,visible:E}=e,T=x(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:S,direction:A,tag:O}=r.useContext(d.E_),[k,w]=r.useState(!0),I=(0,o.Z)(T,["closeIcon","closable"]);r.useEffect(()=>{void 0!==E&&w(E)},[E]);let R=(0,s.o2)(m),N=(0,s.yT)(m),L=R||N,D=Object.assign(Object.assign({backgroundColor:m&&!L?m:void 0},null==O?void 0:O.style),f),P=S("tag",n),[M,F,B]=v(P),j=i()(P,null==O?void 0:O.className,{[`${P}-${m}`]:L,[`${P}-has-color`]:m&&!L,[`${P}-hidden`]:!k,[`${P}-rtl`]:"rtl"===A,[`${P}-borderless`]:!y},a,p,F,B),U=e=>{e.stopPropagation(),null==b||b(e),e.defaultPrevented||w(!1)},[,G]=(0,l.Z)((0,l.w)(e),(0,l.w)(O),{closable:!1,closeIconRender:e=>{let t=r.createElement("span",{className:`${P}-close-icon`,onClick:U},e);return(0,c.wm)(e,t,e=>({onClick:t=>{var n;null===(n=null==e?void 0:e.onClick)||void 0===n||n.call(e,t),U(t)},className:i()(null==e?void 0:e.className,`${P}-close-icon`)}))}}),H="function"==typeof T.onClick||h&&"a"===h.type,$=g||null,z=$?r.createElement(r.Fragment,null,$,h&&r.createElement("span",null,h)):h,Z=r.createElement("span",Object.assign({},I,{ref:t,className:j,style:D}),z,G,R&&r.createElement(_,{key:"preset",prefixCls:P}),N&&r.createElement(C,{key:"status",prefixCls:P}));return M(H?r.createElement(u.Z,{component:"Tag"},Z):Z)});w.CheckableTag=S;var I=w},62502:function(e,t,n){"use strict";var r=n(15575),a=n(64977),i=n(72869),o=n(32473).Q,s=n(24395).Q;e.exports=function(e,t,n){var a=n?function(e){for(var t,n=e.length,r=-1,a={};++r4&&h.slice(0,4)===o&&s.test(t)&&("-"===t.charAt(4)?g=o+(n=t.slice(5).replace(l,d)).charAt(0).toUpperCase()+n.slice(1):(f=(p=t).slice(4),t=l.test(f)?p:("-"!==(f=f.replace(c,u)).charAt(0)&&(f="-"+f),o+f)),m=a),new m(g,t))};var s=/^data[-\w.:]+$/i,l=/-[a-z]/g,c=/[A-Z]/g;function u(e){return"-"+e.toLowerCase()}function d(e){return e.charAt(1).toUpperCase()}},48055:function(e,t,n){"use strict";var r=n(26230),a=n(13970),i=n(10629),o=n(647),s=n(91305),l=n(22537);e.exports=r([i,a,o,s,l])},91305:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=r.booleanish,o=r.number,s=r.spaceSeparated;e.exports=a({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:i,ariaAutoComplete:null,ariaBusy:i,ariaChecked:i,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:s,ariaCurrent:null,ariaDescribedBy:s,ariaDetails:null,ariaDisabled:i,ariaDropEffect:s,ariaErrorMessage:null,ariaExpanded:i,ariaFlowTo:s,ariaGrabbed:i,ariaHasPopup:null,ariaHidden:i,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s,ariaLevel:o,ariaLive:null,ariaModal:i,ariaMultiLine:i,ariaMultiSelectable:i,ariaOrientation:null,ariaOwns:s,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:i,ariaReadOnly:i,ariaRelevant:null,ariaRequired:i,ariaRoleDescription:s,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:i,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}})},22537:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=n(19348),o=r.boolean,s=r.overloadedBoolean,l=r.booleanish,c=r.number,u=r.spaceSeparated,d=r.commaSeparated;e.exports=a({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:i,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:d,acceptCharset:u,accessKey:u,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:u,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:u,cols:c,colSpan:null,content:null,contentEditable:l,controls:o,controlsList:u,coords:c|d,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:s,draggable:l,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:u,height:c,hidden:o,high:c,href:null,hrefLang:null,htmlFor:u,httpEquiv:u,id:null,imageSizes:null,imageSrcSet:d,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:u,itemRef:u,itemScope:o,itemType:u,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:u,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:u,required:o,reversed:o,rows:c,rowSpan:c,sandbox:u,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:c,sizes:null,slot:null,span:c,spellCheck:l,src:null,srcDoc:null,srcLang:null,srcSet:d,start:c,step:null,style:null,tabIndex:c,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:l,width:c,wrap:null,align:null,aLink:null,archive:u,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:l,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}})},19348:function(e,t,n){"use strict";var r=n(21098);e.exports=function(e,t){return r(e,t.toLowerCase())}},21098:function(e){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},47589:function(e,t,n){"use strict";var r=n(64977),a=n(16038),i=n(78444);e.exports=function(e){var t,n,o=e.space,s=e.mustUseProperty||[],l=e.attributes||{},c=e.properties,u=e.transform,d={},p={};for(t in c)n=new i(t,u(l,t),c[t],o),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),d[t]=n,p[r(t)]=t,p[r(n.attribute)]=t;return new a(d,p,o)}},78444:function(e,t,n){"use strict";var r=n(40313),a=n(61422);e.exports=s,s.prototype=new r,s.prototype.defined=!0;var i=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=i.length;function s(e,t,n,s){var l,c,u,d=-1;for(s&&(this.space=s),r.call(this,e,t);++d=97&&t<=122||t>=65&&t<=90}},7961:function(e,t,n){"use strict";var r=n(46260),a=n(46195);e.exports=function(e){return r(e)||a(e)}},46195:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},79480:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}},8726:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/construct/app/extra/components/auto-plan/PromptSelect",function(){return n(23024)}])},85813:function(e,t,n){"use strict";n.d(t,{r:function(){return _6}});var r,a,i,o,s,l,c,u,d,p,f,h,g,m,b,y,E,v,T,S,A,O,_,k,C,x,w,I,R,N,L,D,P,M,F,B,j,U,G,H,$,z,Z,W,V,Y,q,K,X,Q,J,ee,et,en,er,ea={};n.r(ea),n.d(ea,{area:function(){return cf},bottom:function(){return cT},bottomLeft:function(){return cT},bottomRight:function(){return cT},inside:function(){return cT},left:function(){return cT},outside:function(){return c_},right:function(){return cT},spider:function(){return cR},surround:function(){return cL},top:function(){return cT},topLeft:function(){return cT},topRight:function(){return cT}});var ei={};n.r(ei),n.d(ei,{interpolateBlues:function(){return uD.interpolateBlues},interpolateBrBG:function(){return uD.interpolateBrBG},interpolateBuGn:function(){return uD.interpolateBuGn},interpolateBuPu:function(){return uD.interpolateBuPu},interpolateCividis:function(){return uD.interpolateCividis},interpolateCool:function(){return uD.interpolateCool},interpolateCubehelixDefault:function(){return uD.interpolateCubehelixDefault},interpolateGnBu:function(){return uD.interpolateGnBu},interpolateGreens:function(){return uD.interpolateGreens},interpolateGreys:function(){return uD.interpolateGreys},interpolateInferno:function(){return uD.interpolateInferno},interpolateMagma:function(){return uD.interpolateMagma},interpolateOrRd:function(){return uD.interpolateOrRd},interpolateOranges:function(){return uD.interpolateOranges},interpolatePRGn:function(){return uD.interpolatePRGn},interpolatePiYG:function(){return uD.interpolatePiYG},interpolatePlasma:function(){return uD.interpolatePlasma},interpolatePuBu:function(){return uD.interpolatePuBu},interpolatePuBuGn:function(){return uD.interpolatePuBuGn},interpolatePuOr:function(){return uD.interpolatePuOr},interpolatePuRd:function(){return uD.interpolatePuRd},interpolatePurples:function(){return uD.interpolatePurples},interpolateRainbow:function(){return uD.interpolateRainbow},interpolateRdBu:function(){return uD.interpolateRdBu},interpolateRdGy:function(){return uD.interpolateRdGy},interpolateRdPu:function(){return uD.interpolateRdPu},interpolateRdYlBu:function(){return uD.interpolateRdYlBu},interpolateRdYlGn:function(){return uD.interpolateRdYlGn},interpolateReds:function(){return uD.interpolateReds},interpolateSinebow:function(){return uD.interpolateSinebow},interpolateSpectral:function(){return uD.interpolateSpectral},interpolateTurbo:function(){return uD.interpolateTurbo},interpolateViridis:function(){return uD.interpolateViridis},interpolateWarm:function(){return uD.interpolateWarm},interpolateYlGn:function(){return uD.interpolateYlGn},interpolateYlGnBu:function(){return uD.interpolateYlGnBu},interpolateYlOrBr:function(){return uD.interpolateYlOrBr},interpolateYlOrRd:function(){return uD.interpolateYlOrRd},schemeAccent:function(){return uD.schemeAccent},schemeBlues:function(){return uD.schemeBlues},schemeBrBG:function(){return uD.schemeBrBG},schemeBuGn:function(){return uD.schemeBuGn},schemeBuPu:function(){return uD.schemeBuPu},schemeCategory10:function(){return uD.schemeCategory10},schemeDark2:function(){return uD.schemeDark2},schemeGnBu:function(){return uD.schemeGnBu},schemeGreens:function(){return uD.schemeGreens},schemeGreys:function(){return uD.schemeGreys},schemeOrRd:function(){return uD.schemeOrRd},schemeOranges:function(){return uD.schemeOranges},schemePRGn:function(){return uD.schemePRGn},schemePaired:function(){return uD.schemePaired},schemePastel1:function(){return uD.schemePastel1},schemePastel2:function(){return uD.schemePastel2},schemePiYG:function(){return uD.schemePiYG},schemePuBu:function(){return uD.schemePuBu},schemePuBuGn:function(){return uD.schemePuBuGn},schemePuOr:function(){return uD.schemePuOr},schemePuRd:function(){return uD.schemePuRd},schemePurples:function(){return uD.schemePurples},schemeRdBu:function(){return uD.schemeRdBu},schemeRdGy:function(){return uD.schemeRdGy},schemeRdPu:function(){return uD.schemeRdPu},schemeRdYlBu:function(){return uD.schemeRdYlBu},schemeRdYlGn:function(){return uD.schemeRdYlGn},schemeReds:function(){return uD.schemeReds},schemeSet1:function(){return uD.schemeSet1},schemeSet2:function(){return uD.schemeSet2},schemeSet3:function(){return uD.schemeSet3},schemeSpectral:function(){return uD.schemeSpectral},schemeTableau10:function(){return uD.schemeTableau10},schemeYlGn:function(){return uD.schemeYlGn},schemeYlGnBu:function(){return uD.schemeYlGnBu},schemeYlOrBr:function(){return uD.schemeYlOrBr},schemeYlOrRd:function(){return uD.schemeYlOrRd}});var eo={};n.r(eo);var es={};n.r(es),n.d(es,{geoAlbers:function(){return Ta.Z},geoAlbersUsa:function(){return Tr.Z},geoAzimuthalEqualArea:function(){return Ti.Z},geoAzimuthalEqualAreaRaw:function(){return Ti.l},geoAzimuthalEquidistant:function(){return To.Z},geoAzimuthalEquidistantRaw:function(){return To.N},geoConicConformal:function(){return Ts.Z},geoConicConformalRaw:function(){return Ts.l},geoConicEqualArea:function(){return Tl.Z},geoConicEqualAreaRaw:function(){return Tl.v},geoConicEquidistant:function(){return Tc.Z},geoConicEquidistantRaw:function(){return Tc.o},geoEqualEarth:function(){return Tu.Z},geoEqualEarthRaw:function(){return Tu.i},geoEquirectangular:function(){return Td.Z},geoEquirectangularRaw:function(){return Td.k},geoGnomonic:function(){return Tp.Z},geoGnomonicRaw:function(){return Tp.M},geoIdentity:function(){return Tf.Z},geoMercator:function(){return Tg.ZP},geoMercatorRaw:function(){return Tg.hk},geoNaturalEarth1:function(){return Tm.Z},geoNaturalEarth1Raw:function(){return Tm.K},geoOrthographic:function(){return Tb.Z},geoOrthographicRaw:function(){return Tb.I},geoProjection:function(){return Th.Z},geoProjectionMutator:function(){return Th.r},geoStereographic:function(){return Ty.Z},geoStereographicRaw:function(){return Ty.T},geoTransverseMercator:function(){return TE.Z},geoTransverseMercatorRaw:function(){return TE.F}});var el={};n.r(el),n.d(el,{frequency:function(){return Sh},id:function(){return Sg},name:function(){return Sm},weight:function(){return Sf}});var ec=n(74902),eu=n(1413),ed=n(87462),ep=n(97685),ef=n(45987),eh=n(50888),eg=n(96486),em=n(67294),eb=function(){return(eb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n-1&&!e.return)switch(e.type){case ek:e.return=function e(t,n,r){var a;switch(a=n,45^eD(t,0)?(((a<<2^eD(t,0))<<2^eD(t,1))<<2^eD(t,2))<<2^eD(t,3):0){case 5103:return eA+"print-"+t+t;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 eA+t+t;case 4789:return eS+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return eA+t+eS+t+eT+t+t;case 5936:switch(eD(t,n+11)){case 114:return eA+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return eA+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return eA+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return eA+t+eT+t+t;case 6165:return eA+t+eT+"flex-"+t+t;case 5187:return eA+t+eN(t,/(\w+).+(:[^]+)/,eA+"box-$1$2"+eT+"flex-$1$2")+t;case 5443:return eA+t+eT+"flex-item-"+eN(t,/flex-|-self/g,"")+(eR(t,/flex-|baseline/)?"":eT+"grid-row-"+eN(t,/flex-|-self/g,""))+t;case 4675:return eA+t+eT+"flex-line-pack"+eN(t,/align-content|flex-|-self/g,"")+t;case 5548:return eA+t+eT+eN(t,"shrink","negative")+t;case 5292:return eA+t+eT+eN(t,"basis","preferred-size")+t;case 6060:return eA+"box-"+eN(t,"-grow","")+eA+t+eT+eN(t,"grow","positive")+t;case 4554:return eA+eN(t,/([^-])(transform)/g,"$1"+eA+"$2")+t;case 6187:return eN(eN(eN(t,/(zoom-|grab)/,eA+"$1"),/(image-set)/,eA+"$1"),t,"")+t;case 5495:case 3959:return eN(t,/(image-set\([^]*)/,eA+"$1$`$1");case 4968:return eN(eN(t,/(.+:)(flex-)?(.*)/,eA+"box-pack:$3"+eT+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+eA+t+t;case 4200:if(!eR(t,/flex-|baseline/))return eT+"grid-column-align"+eP(t,n)+t;break;case 2592:case 3360:return eT+eN(t,"template-","")+t;case 4384:case 3616:if(r&&r.some(function(e,t){return n=t,eR(e.props,/grid-\w+-end/)}))return~eL(t+(r=r[n].value),"span",0)?t:eT+eN(t,"-start","")+t+eT+"grid-row-span:"+(~eL(r,"span",0)?eR(r,/\d+/):+eR(r,/\d+/)-+eR(t,/\d+/))+";";return eT+eN(t,"-start","")+t;case 4896:case 4128:return r&&r.some(function(e){return eR(e.props,/grid-\w+-start/)})?t:eT+eN(eN(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return eN(t,/(.+)-inline(.+)/,eA+"$1$2")+t;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(eM(t)-1-n>6)switch(eD(t,n+1)){case 109:if(45!==eD(t,n+4))break;case 102:return eN(t,/(.+:)(.+)-([^]+)/,"$1"+eA+"$2-$3$1"+eS+(108==eD(t,n+3)?"$3":"$2-$3"))+t;case 115:return~eL(t,"stretch",0)?e(eN(t,"stretch","fill-available"),n,r)+t:t}break;case 5152:case 5920:return eN(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(e,n,r,a,i,o,s){return eT+n+":"+r+s+(a?eT+n+"-span:"+(i?o:+o-+r)+s:"")+t});case 4949:if(121===eD(t,n+6))return eN(t,":",":"+eA)+t;break;case 6444:switch(eD(t,45===eD(t,14)?18:11)){case 120:return eN(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+eA+(45===eD(t,14)?"inline-":"")+"box$3$1"+eA+"$2$3$1"+eT+"$2box$3")+t;case 100:return eN(t,":",":"+eT)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return eN(t,"scroll-","scroll-snap-")+t}return t}(e.value,e.length,n);return;case eC:return eQ([eW(e,{value:eN(e.value,"@","@"+eA)})],r);case e_:if(e.length)return(n=e.props).map(function(t){switch(eR(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":eV(eW(e,{props:[eN(t,/:(read-\w+)/,":"+eS+"$1")]})),eV(eW(e,{props:[t]})),eI(e,{props:eB(n,r)});break;case"::placeholder":eV(eW(e,{props:[eN(t,/:(plac\w+)/,":"+eA+"input-$1")]})),eV(eW(e,{props:[eN(t,/:(plac\w+)/,":"+eS+"$1")]})),eV(eW(e,{props:[eN(t,/:(plac\w+)/,eT+"input-$1")]})),eV(eW(e,{props:[t]})),eI(e,{props:eB(n,r)})}return""}).join("")}}function e1(e,t,n,r,a,i,o,s,l,c,u,d){for(var p=a-1,f=0===a?i:[""],h=f.length,g=0,m=0,b=0;g0?f[y]+" "+E:eN(E,/&\f/g,f[y])).trim())&&(l[b++]=v);return eZ(e,t,n,0===a?e_:s,l,c,u,d)}function e2(e,t,n,r,a){return eZ(e,t,n,ek,eP(e,0,r),eP(e,r+1,-1),r,a)}var e3=n(94371),e5=n(83454),e4=void 0!==e5&&void 0!==e5.env&&(e5.env.REACT_APP_SC_ATTR||e5.env.SC_ATTR)||"data-styled",e6="active",e9="data-styled-version",e8="6.1.15",e7="/*!sc*/\n",te="undefined"!=typeof window&&"HTMLElement"in window,tt=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==e5&&void 0!==e5.env&&void 0!==e5.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==e5.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==e5.env.REACT_APP_SC_DISABLE_SPEEDY&&e5.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==e5&&void 0!==e5.env&&void 0!==e5.env.SC_DISABLE_SPEEDY&&""!==e5.env.SC_DISABLE_SPEEDY&&"false"!==e5.env.SC_DISABLE_SPEEDY&&e5.env.SC_DISABLE_SPEEDY),tn=Object.freeze([]),tr=Object.freeze({}),ta=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),ti=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,to=/(^-|-$)/g;function ts(e){return e.replace(ti,"-").replace(to,"")}var tl=/(a)(d)/gi,tc=function(e){return String.fromCharCode(e+(e>25?39:97))};function tu(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=tc(t%52)+n;return(tc(t%52)+n).replace(tl,"$1-$2")}var td,tp=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},tf=function(e){return tp(5381,e)};function th(e){return"string"==typeof e}var tg="function"==typeof Symbol&&Symbol.for,tm=tg?Symbol.for("react.memo"):60115,tb=tg?Symbol.for("react.forward_ref"):60112,ty={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},tE={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},tv={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},tT=((td={})[tb]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},td[tm]=tv,td);function tS(e){return("type"in e&&e.type.$$typeof)===tm?tv:"$$typeof"in e?tT[e.$$typeof]:ty}var tA=Object.defineProperty,tO=Object.getOwnPropertyNames,t_=Object.getOwnPropertySymbols,tk=Object.getOwnPropertyDescriptor,tC=Object.getPrototypeOf,tx=Object.prototype;function tw(e){return"function"==typeof e}function tI(e){return"object"==typeof e&&"styledComponentId"in e}function tR(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function tN(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r0?" Args: ".concat(t.join(", ")):""))}var tM=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,a=r;e>=a;)if((a<<=1)<0)throw tP(16,"".concat(e));this.groupSizes=new Uint32Array(a),this.groupSizes.set(n),this.length=a;for(var i=r;i=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),a=r+n,i=r;i=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(l+="".concat(e,","))}),r+="".concat(o).concat(s,'{content:"').concat(l,'"}').concat(e7)}}})(a);return r}(r)})}return e.registerId=function(e){return tU(e)},e.prototype.rehydrate=function(){!this.server&&te&&tW(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(eb(eb({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){var e,t,n,r;return this.tag||(this.tag=(n=(t=this.options).useCSSOMInjection,r=t.target,e=t.isServer?new tK(r):n?new tY(r):new tq(r),new tM(e)))},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(tU(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(tU(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(tU(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),t0=/&/g,t1=/^\s*\/\/.*$/gm;function t2(e){var t,n,r,a=void 0===e?tr:e,i=a.options,o=void 0===i?tr:i,s=a.plugins,l=void 0===s?tn:s,c=function(e,r,a){return a.startsWith(n)&&a.endsWith(n)&&a.replaceAll(n,"").length>0?".".concat(t):e},u=l.slice();u.push(function(e){e.type===e_&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(t0,n).replace(r,c))}),o.prefix&&u.push(e0),u.push(eJ);var d=function(e,a,i,s){void 0===a&&(a=""),void 0===i&&(i=""),void 0===s&&(s="&"),t=s,n=a,r=RegExp("\\".concat(n,"\\b"),"g");var l,c,d,p,f,h=e.replace(t1,""),g=(f=function e(t,n,r,a,i,o,s,l,c){for(var u,d=0,p=0,f=s,h=0,g=0,m=0,b=1,y=1,E=1,v=0,T="",S=i,A=o,O=a,_=T;y;)switch(m=v,v=eY()){case 40:if(108!=m&&58==eD(_,f-1)){-1!=eL(_+=eN(eX(v),"&","&\f"),"&\f",ex(d?l[d-1]:0))&&(E=-1);break}case 34:case 39:case 91:_+=eX(v);break;case 9:case 10:case 13:case 32:_+=function(e){for(;e$=eq();)if(e$<33)eY();else break;return eK(e)>2||eK(e$)>3?"":" "}(m);break;case 92:_+=function(e,t){for(var n;--t&&eY()&&!(e$<48)&&!(e$>102)&&(!(e$>57)||!(e$<65))&&(!(e$>70)||!(e$<97)););return n=eH+(t<6&&32==eq()&&32==eY()),eP(ez,e,n)}(eH-1,7);continue;case 47:switch(eq()){case 42:case 47:eF(eZ(u=function(e,t){for(;eY();)if(e+e$===57)break;else if(e+e$===84&&47===eq())break;return"/*"+eP(ez,t,eH-1)+"*"+ew(47===e?e:eY())}(eY(),eH),n,r,eO,ew(e$),eP(u,2,-2),0,c),c);break;default:_+="/"}break;case 123*b:l[d++]=eM(_)*E;case 125*b:case 59:case 0:switch(v){case 0:case 125:y=0;case 59+p:-1==E&&(_=eN(_,/\f/g,"")),g>0&&eM(_)-f&&eF(g>32?e2(_+";",a,r,f-1,c):e2(eN(_," ","")+";",a,r,f-2,c),c);break;case 59:_+=";";default:if(eF(O=e1(_,n,r,d,p,i,l,T,S=[],A=[],f,o),o),123===v){if(0===p)e(_,n,O,O,S,o,f,l,A);else switch(99===h&&110===eD(_,3)?100:h){case 100:case 108:case 109:case 115:e(t,O,O,a&&eF(e1(t,O,O,0,0,i,l,T,i,S=[],f,A),A),i,A,f,l,a?S:A);break;default:e(_,O,O,O,[""],A,0,l,A)}}}d=p=g=0,b=E=1,T=_="",f=s;break;case 58:f=1+eM(_),g=m;default:if(b<1){if(123==v)--b;else if(125==v&&0==b++&&125==(e$=eH>0?eD(ez,--eH):0,eU--,10===e$&&(eU=1,ej--),e$))continue}switch(_+=ew(v),v*b){case 38:E=p>0?1:(_+="\f",-1);break;case 44:l[d++]=(eM(_)-1)*E,E=1;break;case 64:45===eq()&&(_+=eX(eY())),h=eq(),p=f=eM(T=_+=function(e){for(;!eK(eq());)eY();return eP(ez,e,eH)}(eH)),v++;break;case 45:45===m&&2==eM(_)&&(b=0)}}return o}("",null,null,null,[""],(p=d=i||a?"".concat(i," ").concat(a," { ").concat(h," }"):h,ej=eU=1,eG=eM(ez=p),eH=0,d=[]),0,[0],d),ez="",f);o.namespace&&(g=function e(t,n){return t.map(function(t){return"rule"===t.type&&(t.value="".concat(n," ").concat(t.value),t.value=t.value.replaceAll(",",",".concat(n," ")),t.props=t.props.map(function(e){return"".concat(n," ").concat(e)})),Array.isArray(t.children)&&"@keyframes"!==t.type&&(t.children=e(t.children,n)),t})}(g,o.namespace));var m=[];return eQ(g,(c=(l=u.concat(function(e){var t;!e.root&&(e=e.return)&&(t=e,m.push(t))})).length,function(e,t,n,r){for(var a="",i=0;i="A"&&r<="Z"?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var nt=function(e){return null==e||!1===e||""===e},nn=function(e){var t=[];for(var n in e){var r=e[n];e.hasOwnProperty(n)&&!nt(r)&&(Array.isArray(r)&&r.isCss||tw(r)?t.push("".concat(ne(n),":"),r,";"):tL(r)?t.push.apply(t,ey(ey(["".concat(n," {")],nn(r),!1),["}"],!1)):t.push("".concat(ne(n),": ").concat(null==r||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||n in e3.Z||n.startsWith("--")?String(r).trim():"".concat(r,"px"),";")))}return t};function nr(e,t,n,r){return nt(e)?[]:tI(e)?[".".concat(e.styledComponentId)]:tw(e)?!tw(e)||e.prototype&&e.prototype.isReactComponent||!t?[e]:nr(e(t),t,n,r):e instanceof t7?n?(e.inject(n,r),[e.getName(r)]):[e]:tL(e)?nn(e):Array.isArray(e)?Array.prototype.concat.apply(tn,e.map(function(e){return nr(e,t,n,r)})):[e.toString()]}function na(e){for(var t=0;t>>0);if(!t.hasNameForId(this.componentId,i)){var o=n(a,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,o)}r=tR(r,i),this.staticRulesId=i}}else{for(var s=tp(this.baseHash,n.hash),l="",c=0;c>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(l,".".concat(p),void 0,this.componentId)),r=tR(r,p)}}return r},e}(),ns=em.createContext(void 0);ns.Consumer;var nl={};function nc(e,t,n){var r,a,i,o,s=tI(e),l=!th(e),c=t.attrs,u=void 0===c?tn:c,d=t.componentId,p=void 0===d?(r=t.displayName,a=t.parentComponentId,nl[i="string"!=typeof r?"sc":ts(r)]=(nl[i]||0)+1,o="".concat(i,"-").concat(tu(tf(e8+i+nl[i])>>>0)),a?"".concat(a,"-").concat(o):o):d,f=t.displayName,h=void 0===f?th(e)?"styled.".concat(e):"Styled(".concat(e.displayName||e.name||"Component",")"):f,g=t.displayName&&t.componentId?"".concat(ts(t.displayName),"-").concat(t.componentId):t.componentId||p,m=s&&e.attrs?e.attrs.concat(u).filter(Boolean):u,b=t.shouldForwardProp;if(s&&e.shouldForwardProp){var y=e.shouldForwardProp;if(t.shouldForwardProp){var E=t.shouldForwardProp;b=function(e,t){return y(e,t)&&E(e,t)}}else b=y}var v=new no(n,g,s?e.componentStyle:void 0);function T(e,t){return function(e,t,n){var r,a,i=e.attrs,o=e.componentStyle,s=e.defaultProps,l=e.foldedComponentIds,c=e.styledComponentId,u=e.target,d=em.useContext(ns),p=t9(),f=e.shouldForwardProp||p.shouldForwardProp,h=(void 0===(r=s)&&(r=tr),t.theme!==r.theme&&t.theme||d||r.theme||tr),g=function(e,t,n){for(var r,a=eb(eb({},t),{className:void 0,theme:n}),i=0;i2&&tJ.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=n.nc,a=tN([r&&'nonce="'.concat(r,'"'),"".concat(e4,'="true"'),"".concat(e9,'="').concat(e8,'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(e.sealed)throw tP(2);return e._emitSheetCSS()},this.getStyleElement=function(){if(e.sealed)throw tP(2);var t,r=e.instance.toString();if(!r)return[];var a=((t={})[e4]="",t[e9]=e8,t.dangerouslySetInnerHTML={__html:r},t),i=n.nc;return i&&(a.nonce=i),[em.createElement("style",eb({},a,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new tJ({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw tP(2);return em.createElement(t8,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw tP(3)}}();var nh=n(4942),ng=n(73935),nm=n.t(ng,2),nb=function(){return(nb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=18&&(J=ny.createRoot)}catch(e){}function nT(e){var t=ny.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"==typeof t&&(t.usingClientEntryPoint=e)}var nS="__rc_react_root__",nA=new Map;"undefined"!=typeof document&&nA.set("tooltip",document.createElement("div"));var nO=function(e,t){void 0===t&&(t=!1);var n=null;if(t)n=nA.get("tooltip");else if(n=document.createElement("div"),null==e?void 0:e.key){var r=nA.get(e.key);r?n=r:nA.set(e.key,n)}return!function(e,t){if(J){var n;nT(!0),n=t[nS]||J(t),nT(!1),n.render(e),t[nS]=n;return}nv(e,t)}(e,n),n},n_=function(e){if("undefined"==typeof document)return"loading";var t=e.attachShadow({mode:"open"}),n=document.createElement("div"),r=document.createElement("style");r.innerHTML=".loading {\n display: inline-block;\n position: relative;\n width: 80px;\n height: 80px;\n }\n .loading div {\n position: absolute;\n top: 33px;\n width: 13px;\n height: 13px;\n border-radius: 50%;\n background: #ccc;\n animation-timing-function: cubic-bezier(0, 1, 1, 0);\n }\n .loading div:nth-child(1) {\n left: 8px;\n animation: loading1 0.6s infinite;\n }\n .loading div:nth-child(2) {\n left: 8px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(3) {\n left: 32px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(4) {\n left: 56px;\n animation: loading3 0.6s infinite;\n }\n @keyframes loading1 {\n 0% {\n transform: scale(0);\n }\n 100% {\n transform: scale(1);\n }\n }\n @keyframes loading3 {\n 0% {\n transform: scale(1);\n }\n 100% {\n transform: scale(0);\n }\n }\n @keyframes loading2 {\n 0% {\n transform: translate(0, 0);\n }\n 100% {\n transform: translate(24px, 0);\n }\n }\n ",n.classList.add("loading"),n.innerHTML="
",t.appendChild(r),t.appendChild(n)},nk=function(e){var t=e.loadingTemplate,n=e.theme,r=em.useRef(null);return em.useEffect(function(){!t&&r.current&&n_(r.current)},[]),em.createElement("div",{className:"charts-loading-container",style:{position:"absolute",width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",left:0,top:0,zIndex:99,backgroundColor:"dark"===(void 0===n?"light":n)?"rgb(20, 20, 20)":"rgb(255, 255, 255)"}},t||em.createElement("div",{ref:r}))},nC=(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),nx=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={hasError:!1},t.renderError=function(e){var n=t.props.errorTemplate;return"function"==typeof n?n(e):n||em.createElement("h5",null,"组件出错了,请核查后重试: ",e.message)},t}return nC(t,e),t.getDerivedStateFromError=function(e){return{hasError:!0,error:e}},t.getDerivedStateFromProps=function(e,t){return t.children!==e.children?{children:e.children,hasError:!1,error:void 0}:null},t.prototype.render=function(){return this.state.hasError?this.renderError(this.state.error):em.createElement(em.Fragment,null,this.props.children)},t}(em.Component),nw=function(e,t,n){if(n||2==arguments.length)for(var r,a=0,i=t.length;a90)return this;this.computeMatrix()}return this._getAxes(),this.type===nN.iM.ORBITING||this.type===nN.iM.EXPLORING?this._getPosition():this.type===nN.iM.TRACKING&&this._getFocalPoint(),this._update(),this}},{key:"pan",value:function(e,t){var n=(0,nN.O4)(e,t,0),r=nG.d9(this.position);return nG.IH(r,r,nG.bA(nG.Ue(),this.right,n[0])),nG.IH(r,r,nG.bA(nG.Ue(),this.up,n[1])),this._setPosition(r),this.triggerUpdate(),this}},{key:"dolly",value:function(e){var t=this.forward,n=nG.d9(this.position),r=e*this.dollyingStep;return r=Math.max(Math.min(this.distance+e*this.dollyingStep,this.maxDistance),this.minDistance)-this.distance,n[0]+=r*t[0],n[1]+=r*t[1],n[2]+=r*t[2],this._setPosition(n),this.type===nN.iM.ORBITING||this.type===nN.iM.EXPLORING?this._getDistance():this.type===nN.iM.TRACKING&&nG.IH(this.focalPoint,n,this.distanceVector),this.triggerUpdate(),this}},{key:"cancelLandmarkAnimation",value:function(){void 0!==this.landmarkAnimationID&&this.canvas.cancelAnimationFrame(this.landmarkAnimationID)}},{key:"createLandmark",value:function(e){var t,n,r,a,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=i.position,s=void 0===o?this.position:o,l=i.focalPoint,c=void 0===l?this.focalPoint:l,u=i.roll,d=i.zoom,p=new nN.GZ.CameraContribution;p.setType(this.type,void 0),p.setPosition(s[0],null!==(t=s[1])&&void 0!==t?t:this.position[1],null!==(n=s[2])&&void 0!==n?n:this.position[2]),p.setFocalPoint(c[0],null!==(r=c[1])&&void 0!==r?r:this.focalPoint[1],null!==(a=c[2])&&void 0!==a?a:this.focalPoint[2]),p.setRoll(null!=u?u:this.roll),p.setZoom(null!=d?d:this.zoom);var f={name:e,matrix:nU.clone(p.getWorldTransform()),right:nG.d9(p.right),up:nG.d9(p.up),forward:nG.d9(p.forward),position:nG.d9(p.getPosition()),focalPoint:nG.d9(p.getFocalPoint()),distanceVector:nG.d9(p.getDistanceVector()),distance:p.getDistance(),dollyingStep:p.getDollyingStep(),azimuth:p.getAzimuth(),elevation:p.getElevation(),roll:p.getRoll(),relAzimuth:p.relAzimuth,relElevation:p.relElevation,relRoll:p.relRoll,zoom:p.getZoom()};return this.landmarks.push(f),f}},{key:"gotoLandmark",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=nB(e,"String")?this.landmarks.find(function(t){return t.name===e}):e;if(r){var a,i=nB(n,"Number")?{duration:n}:n,o=i.easing,s=void 0===o?"linear":o,l=i.duration,c=void 0===l?100:l,u=i.easingFunction,d=i.onfinish,p=void 0===d?void 0:d,f=i.onframe,h=void 0===f?void 0:f;this.cancelLandmarkAnimation();var g=r.position,m=r.focalPoint,b=r.zoom,y=r.roll,E=(void 0===u?void 0:u)||nN.GZ.EasingFunction(s),v=function(){t.setFocalPoint(m),t.setPosition(g),t.setRoll(y),t.setZoom(b),t.computeMatrix(),t.triggerUpdate(),null==p||p()};if(0===c)return v();var T=function(e){void 0===a&&(a=e);var n=e-a;if(n>=c){v();return}var r=E(n/c),i=nG.Ue(),o=nG.Ue(),s=1,l=0;if(nG.t7(i,t.focalPoint,m,r),nG.t7(o,t.position,g,r),l=t.roll*(1-r)+y*r,s=t.zoom*(1-r)+b*r,t.setFocalPoint(i),t.setPosition(o),t.setRoll(l),t.setZoom(s),nG.TK(i,m)+nG.TK(o,g)<=.01&&void 0===b&&void 0===y)return v();t.computeMatrix(),t.triggerUpdate(),nn?n:e},nW={}.toString,nV=function(e){return null==e},nY=function(e){function t(e,n,r,a){var i;return(0,nL.Z)(this,t),(i=(0,nP.Z)(this,t,[e])).currentTime=r,i.timelineTime=a,i.target=n,i.type="finish",i.bubbles=!1,i.currentTarget=n,i.defaultPrevented=!1,i.eventPhase=i.AT_TARGET,i.timeStamp=Date.now(),i.currentTime=r,i.timelineTime=a,i}return(0,nM.Z)(t,e),(0,nD.Z)(t)}(nN.xA),nq=0,nK=(0,nD.Z)(function e(t,n){var r;(0,nL.Z)(this,e),this.currentTimePending=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._playbackRate=1,this._inTimeline=!0,this.effect=t,t.animation=this,this.timeline=n,this.id="".concat(nq++),this._inEffect=!!this.effect.update(0),this._totalDuration=Number(null===(r=this.effect)||void 0===r?void 0:r.getComputedTiming().endTime),this._holdTime=0,this._paused=!1,this.oldPlayState="idle",this.updatePromises()},[{key:"pending",get:function(){return null===this._startTime&&!this._paused&&0!==this.playbackRate||this.currentTimePending}},{key:"playState",get:function(){return this._idle?"idle":this._isFinished?"finished":this._paused?"paused":"running"}},{key:"ready",get:function(){var e=this;return this.readyPromise||(-1===this.timeline.animationsWithPromises.indexOf(this)&&this.timeline.animationsWithPromises.push(this),this.readyPromise=new Promise(function(t,n){e.resolveReadyPromise=function(){t(e)},e.rejectReadyPromise=function(){n(Error())}}),this.pending||this.resolveReadyPromise()),this.readyPromise}},{key:"finished",get:function(){var e=this;return this.finishedPromise||(-1===this.timeline.animationsWithPromises.indexOf(this)&&this.timeline.animationsWithPromises.push(this),this.finishedPromise=new Promise(function(t,n){e.resolveFinishedPromise=function(){t(e)},e.rejectFinishedPromise=function(){n(Error())}}),"finished"===this.playState&&this.resolveFinishedPromise()),this.finishedPromise}},{key:"currentTime",get:function(){return this.updatePromises(),this._idle||this.currentTimePending?null:this._currentTime},set:function(e){if(!isNaN(e=Number(e))){if(this.timeline.restart(),!this._paused&&null!==this._startTime){var t;this._startTime=Number(null===(t=this.timeline)||void 0===t?void 0:t.currentTime)-e/this.playbackRate}this.currentTimePending=!1,this._currentTime!==e&&(this._idle&&(this._idle=!1,this._paused=!0),this.tickCurrentTime(e,!0),this.timeline.applyDirtiedAnimation(this))}}},{key:"startTime",get:function(){return this._startTime},set:function(e){null!==e&&(this.updatePromises(),!isNaN(e=Number(e))&&(this._paused||this._idle||(this._startTime=e,this.tickCurrentTime((Number(this.timeline.currentTime)-this._startTime)*this.playbackRate),this.timeline.applyDirtiedAnimation(this),this.updatePromises())))}},{key:"playbackRate",get:function(){return this._playbackRate},set:function(e){if(e!==this._playbackRate){this.updatePromises();var t=this.currentTime;this._playbackRate=e,this.startTime=null,"paused"!==this.playState&&"idle"!==this.playState&&(this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this)),null!==t&&(this.currentTime=t),this.updatePromises()}}},{key:"_isFinished",get:function(){return!this._idle&&(this._playbackRate>0&&Number(this._currentTime)>=this._totalDuration||this._playbackRate<0&&0>=Number(this._currentTime))}},{key:"totalDuration",get:function(){return this._totalDuration}},{key:"_needsTick",get:function(){return this.pending||"running"===this.playState||!this._finishedFlag}},{key:"updatePromises",value:function(){var e=this.oldPlayState,t=this.pending?"pending":this.playState;return this.readyPromise&&t!==e&&("idle"===t?(this.rejectReadyPromise(),this.readyPromise=void 0):"pending"===e?this.resolveReadyPromise():"pending"===t&&(this.readyPromise=void 0)),this.finishedPromise&&t!==e&&("idle"===t?(this.rejectFinishedPromise(),this.finishedPromise=void 0):"finished"===t?this.resolveFinishedPromise():"finished"===e&&(this.finishedPromise=void 0)),this.oldPlayState=t,this.readyPromise||this.finishedPromise}},{key:"play",value:function(){this.updatePromises(),this._paused=!1,(this._isFinished||this._idle)&&(this.rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this),-1===this.timeline.animations.indexOf(this)&&this.timeline.animations.push(this),this.updatePromises()}},{key:"pause",value:function(){this.updatePromises(),this.currentTime&&(this._holdTime=this.currentTime),this._isFinished||this._paused||this._idle?this._idle&&(this.rewind(),this._idle=!1):this.currentTimePending=!0,this._startTime=null,this._paused=!0,this.updatePromises()}},{key:"finish",value:function(){this.updatePromises(),this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this.currentTimePending=!1,this.timeline.applyDirtiedAnimation(this),this.updatePromises())}},{key:"cancel",value:function(){var e=this;if(this.updatePromises(),this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this.effect.update(null),this.timeline.applyDirtiedAnimation(this),this.updatePromises(),this.oncancel)){var t=new nY(null,this,this.currentTime,null);setTimeout(function(){e.oncancel(t)})}}},{key:"reverse",value:function(){this.updatePromises();var e=this.currentTime;this.playbackRate*=-1,this.play(),null!==e&&(this.currentTime=e),this.updatePromises()}},{key:"updatePlaybackRate",value:function(e){this.playbackRate=e}},{key:"targetAnimations",value:function(){var e;return(null===(e=this.effect)||void 0===e?void 0:e.target).getAnimations()}},{key:"markTarget",value:function(){var e=this.targetAnimations();-1===e.indexOf(this)&&e.push(this)}},{key:"unmarkTarget",value:function(){var e=this.targetAnimations(),t=e.indexOf(this);-1!==t&&e.splice(t,1)}},{key:"tick",value:function(e,t){this._idle||this._paused||(null===this._startTime?t&&(this.startTime=e-this._currentTime/this.playbackRate):this._isFinished||this.tickCurrentTime((e-this._startTime)*this.playbackRate)),t&&(this.currentTimePending=!1,this.fireEvents(e))}},{key:"rewind",value:function(){if(this.playbackRate>=0)this.currentTime=0;else if(this._totalDuration<1/0)this.currentTime=this._totalDuration;else throw Error("Unable to rewind negative playback rate animation with infinite duration")}},{key:"persist",value:function(){throw Error(nN.jf)}},{key:"addEventListener",value:function(e,t,n){throw Error(nN.jf)}},{key:"removeEventListener",value:function(e,t,n){throw Error(nN.jf)}},{key:"dispatchEvent",value:function(e){throw Error(nN.jf)}},{key:"commitStyles",value:function(){throw Error(nN.jf)}},{key:"ensureAlive",value:function(){var e,t;this.playbackRate<0&&0===this.currentTime?this._inEffect=!!(null!==(e=this.effect)&&void 0!==e&&e.update(-1)):this._inEffect=!!(null!==(t=this.effect)&&void 0!==t&&t.update(this.currentTime)),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,this.timeline.animations.push(this))}},{key:"tickCurrentTime",value:function(e,t){e!==this._currentTime&&(this._currentTime=e,this._isFinished&&!t&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this.ensureAlive())}},{key:"fireEvents",value:function(e){var t=this;if(this._isFinished){if(!this._finishedFlag){if(this.onfinish){var n=new nY(null,this,this.currentTime,e);setTimeout(function(){t.onfinish&&t.onfinish(n)})}this._finishedFlag=!0}}else{if(this.onframe&&"running"===this.playState){var r=new nY(null,this,this.currentTime,e);this.onframe(r)}this._finishedFlag=!1}}}]),nX="function"==typeof Float32Array,nQ=function(e,t){return 1-3*t+3*e},nJ=function(e,t){return 3*t-6*e},n0=function(e){return 3*e},n1=function(e,t,n){return((nQ(t,n)*e+nJ(t,n))*e+n0(t))*e},n2=function(e,t,n){return 3*nQ(t,n)*e*e+2*nJ(t,n)*e+n0(t)},n3=function(e,t,n,r,a){var i,o,s=0;do(i=n1(o=t+(n-t)/2,r,a)-e)>0?n=o:t=o;while(Math.abs(i)>1e-7&&++s<10);return o},n5=function(e,t,n,r){for(var a=0;a<4;++a){var i=n2(t,n,r);if(0===i)break;var o=n1(t,n,r)-e;t-=o/i}return t},n4=function(e,t,n,r){if(!(e>=0&&e<=1&&n>=0&&n<=1))throw Error("bezier x values must be in [0, 1] range");if(e===t&&n===r)return function(e){return e};for(var a=nX?new Float32Array(11):Array(11),i=0;i<11;++i)a[i]=n1(.1*i,e,n);var o=function(t){for(var r=0,i=1;10!==i&&a[i]<=t;++i)r+=.1;var o=r+(t-a[--i])/(a[i+1]-a[i])*.1,s=n2(o,e,n);return s>=.001?n5(t,o,e,n):0===s?o:n3(t,r,r+.1,e,n)};return function(e){return 0===e||1===e?e:n1(o(e),t,r)}},n6=function(e){return Math.pow(e,2)},n9=function(e){return Math.pow(e,3)},n8=function(e){return Math.pow(e,4)},n7=function(e){return Math.pow(e,5)},re=function(e){return Math.pow(e,6)},rt=function(e){return 1-Math.cos(e*Math.PI/2)},rn=function(e){return 1-Math.sqrt(1-e*e)},rr=function(e){return e*e*(3*e-2)},ra=function(e){for(var t,n=4;e<((t=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*t-2)/22-e,2)},ri=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,2),r=n[0],a=n[1],i=nZ(Number(void 0===r?1:r),1,10),o=nZ(Number(void 0===a?.5:a),.1,2);return 0===e||1===e?e:-i*Math.pow(2,10*(e-1))*Math.sin((e-1-o/(2*Math.PI)*Math.asin(1/i))*(2*Math.PI)/o)},ro=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,r=(0,nz.Z)(t,4),a=r[0],i=void 0===a?1:a,o=r[1],s=void 0===o?100:o,l=r[2],c=void 0===l?10:l,u=r[3],d=void 0===u?0:u;i=nZ(i,.1,1e3),s=nZ(s,.1,1e3),c=nZ(c,.1,1e3),d=nZ(d,.1,1e3);var p=Math.sqrt(s/i),f=c/(2*Math.sqrt(s*i)),h=f<1?p*Math.sqrt(1-f*f):0,g=f<1?(f*p+-d)/h:-d+p,m=n?n*e/1e3:e;return(m=f<1?Math.exp(-m*f*p)*(1*Math.cos(h*m)+g*Math.sin(h*m)):(1+g*m)*Math.exp(-m*p),0===e||1===e)?e:1-m},rs=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,2),r=n[0],a=void 0===r?10:r;return("start"===n[1]?Math.ceil:Math.floor)(nZ(e,0,1)*a)/a},rl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,4);return n4(n[0],n[1],n[2],n[3])(e)},rc=n4(.42,0,1,1),ru=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return 1-e(1-t,n,r)}},rd=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return t<.5?e(2*t,n,r)/2:1-e(-2*t+2,n,r)/2}},rp=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return t<.5?(1-e(1-2*t,n,r))/2:(e(2*t-1,n,r)+1)/2}},rf={steps:rs,"step-start":function(e){return rs(e,[1,"start"])},"step-end":function(e){return rs(e,[1,"end"])},linear:function(e){return e},"cubic-bezier":rl,ease:function(e){return rl(e,[.25,.1,.25,1])},in:rc,out:ru(rc),"in-out":rd(rc),"out-in":rp(rc),"in-quad":n6,"out-quad":ru(n6),"in-out-quad":rd(n6),"out-in-quad":rp(n6),"in-cubic":n9,"out-cubic":ru(n9),"in-out-cubic":rd(n9),"out-in-cubic":rp(n9),"in-quart":n8,"out-quart":ru(n8),"in-out-quart":rd(n8),"out-in-quart":rp(n8),"in-quint":n7,"out-quint":ru(n7),"in-out-quint":rd(n7),"out-in-quint":rp(n7),"in-expo":re,"out-expo":ru(re),"in-out-expo":rd(re),"out-in-expo":rp(re),"in-sine":rt,"out-sine":ru(rt),"in-out-sine":rd(rt),"out-in-sine":rp(rt),"in-circ":rn,"out-circ":ru(rn),"in-out-circ":rd(rn),"out-in-circ":rp(rn),"in-back":rr,"out-back":ru(rr),"in-out-back":rd(rr),"out-in-back":rp(rr),"in-bounce":ra,"out-bounce":ru(ra),"in-out-bounce":rd(ra),"out-in-bounce":rp(ra),"in-elastic":ri,"out-elastic":ru(ri),"in-out-elastic":rd(ri),"out-in-elastic":rp(ri),spring:ro,"spring-in":ro,"spring-out":ru(ro),"spring-in-out":rd(ro),"spring-out-in":rp(ro)},rh=function(e){var t;return("-"===(t=(t=e).replace(/([A-Z])/g,function(e){return"-".concat(e.toLowerCase())})).charAt(0)?t.substring(1):t).replace(/^ease-/,"").replace(/(\(|\s).+/,"").toLowerCase().trim()},rg=function(e){return e};function rm(e,t){return function(n){if(n>=1)return 1;var r=1/e;return(n+=t*r)-n%r}}var rb="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",ry=new RegExp("cubic-bezier\\(".concat(rb,",").concat(rb,",").concat(rb,",").concat(rb,"\\)")),rE=/steps\(\s*(\d+)\s*\)/,rv=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/;function rT(e){var t=ry.exec(e);if(t)return n4.apply(void 0,(0,n$.Z)(t.slice(1).map(Number)));var n=rE.exec(e);if(n)return rm(Number(n[1]),0);var r=rv.exec(e);return r?rm(Number(r[1]),{start:1,middle:.5,end:0}[r[2]]):rf[rh(e)]||rf.linear}function rS(e){return"offset"!==e&&"easing"!==e&&"composite"!==e&&"computedOffset"!==e}var rA=function(e,t,n){return function(r){var a,i=function e(t,n,r){if("number"==typeof t&&"number"==typeof n)return t*(1-r)+n*r;if("boolean"==typeof t&&"boolean"==typeof n||"string"==typeof t&&"string"==typeof n)return r<.5?t:n;if(Array.isArray(t)&&Array.isArray(n)){for(var a=t.length,i=n.length,o=Math.max(a,i),s=[],l=0;l1)throw Error("Keyframe offsets must be between 0 and 1.");n.computedOffset=a}}else if("composite"===r&&-1===["replace","add","accumulate","auto"].indexOf(a))throw Error("".concat(a," compositing is not supported"));n[r]=a}return void 0===n.offset&&(n.offset=null),void 0===n.easing&&(n.easing=(null==t?void 0:t.easing)||"linear"),void 0===n.composite&&(n.composite="auto"),n}),r=!0,a=-1/0,i=0;i=0&&1>=Number(e.offset)}),r||function(){var e,t,r=n.length;n[r-1].computedOffset=Number(null!==(e=n[r-1].offset)&&void 0!==e?e:1),r>1&&(n[0].computedOffset=Number(null!==(t=n[0].offset)&&void 0!==t?t:0));for(var a=0,i=Number(n[0].computedOffset),o=1;o=e.applyFrom&&t=Math.min(n.delay+e+n.endDelay,r)?2:3}(e,t,n),u=function(e,t,n,r,a){switch(r){case 1:if("backwards"===t||"both"===t)return 0;return null;case 3:return n-a;case 2:if("forwards"===t||"both"===t)return e;return null;case 0:return null}}(e,n.fill,t,c,n.delay);if(null===u)return null;var d="auto"===n.duration?0:n.duration,p=(r=n.iterations,a=n.iterationStart,0===d?1!==c&&(a+=r):a+=u/d,a),f=(i=n.iterationStart,o=n.iterations,0==(s=p===1/0?i%1:p%1)&&2===c&&0!==o&&(0!==u||0===d)&&(s=1),s),h=(l=n.iterations,2===c&&l===1/0?1/0:1===f?Math.floor(p)-1:Math.floor(p)),g=function(e,t,n){var r=e;if("normal"!==e&&"reverse"!==e){var a=t;"alternate-reverse"===e&&(a+=1),r="normal",a!==1/0&&a%2!=0&&(r="reverse")}return"normal"===r?n:1-n}(n.direction,h,f);return n.currentIteration=h,n.progress=g,n.easingFunction(g)}(this.timing.activeDuration,e,this.timing),null!==this.timeFraction)}},{key:"getKeyframes",value:function(){return this.normalizedKeyframes}},{key:"setKeyframes",value:function(e){this.normalizedKeyframes=r_(e)}},{key:"getComputedTiming",value:function(){return this.computedTiming}},{key:"getTiming",value:function(){return this.timing}},{key:"updateTiming",value:function(e){var t=this;Object.keys(e||{}).forEach(function(n){t.timing[n]=e[n]})}}]);function rw(e,t){return Number(e.id)-Number(t.id)}var rI=(0,nD.Z)(function e(t){var n=this;(0,nL.Z)(this,e),this.animations=[],this.ticking=!1,this.timelineTicking=!1,this.hasRestartedThisFrame=!1,this.animationsWithPromises=[],this.inTick=!1,this.pendingEffects=[],this.currentTime=null,this.rafId=0,this.rafCallbacks=[],this.webAnimationsNextTick=function(e){n.currentTime=e,n.discardAnimations(),0===n.animations.length?n.timelineTicking=!1:n.requestAnimationFrame(n.webAnimationsNextTick)},this.processRafCallbacks=function(e){var t=n.rafCallbacks;n.rafCallbacks=[],et.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let rN=(e,t,n)=>[["M",e-n,t],["A",n,n,0,1,0,e+n,t],["A",n,n,0,1,0,e-n,t],["Z"]];rN.style=["fill"];let rL=rN.bind(void 0);rL.style=["stroke","lineWidth"];let rD=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t-n],["L",e+n,t+n],["L",e-n,t+n],["Z"]];rD.style=["fill"];let rP=rD.bind(void 0);rP.style=["fill"];let rM=rD.bind(void 0);rM.style=["stroke","lineWidth"];let rF=(e,t,n)=>{let r=.618*n;return[["M",e-r,t],["L",e,t-n],["L",e+r,t],["L",e,t+n],["Z"]]};rF.style=["fill"];let rB=rF.bind(void 0);rB.style=["stroke","lineWidth"];let rj=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t+r],["L",e,t-r],["L",e+n,t+r],["Z"]]};rj.style=["fill"];let rU=rj.bind(void 0);rU.style=["stroke","lineWidth"];let rG=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t-r],["L",e+n,t-r],["L",e,t+r],["Z"]]};rG.style=["fill"];let rH=rG.bind(void 0);rH.style=["stroke","lineWidth"];let r$=(e,t,n)=>{let r=n/2*Math.sqrt(3);return[["M",e,t-n],["L",e+r,t-n/2],["L",e+r,t+n/2],["L",e,t+n],["L",e-r,t+n/2],["L",e-r,t-n/2],["Z"]]};r$.style=["fill"];let rz=r$.bind(void 0);rz.style=["stroke","lineWidth"];let rZ=(e,t,n)=>{let r=n-1.5;return[["M",e-n,t-r],["L",e+n,t+r],["L",e+n,t-r],["L",e-n,t+r],["Z"]]};rZ.style=["fill"];let rW=rZ.bind(void 0);rW.style=["stroke","lineWidth"];let rV=(e,t,n)=>[["M",e,t+n],["L",e,t-n]];rV.style=["stroke","lineWidth"];let rY=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t+n],["M",e+n,t-n],["L",e-n,t+n]];rY.style=["stroke","lineWidth"];let rq=(e,t,n)=>[["M",e-n/2,t-n],["L",e+n/2,t-n],["M",e,t-n],["L",e,t+n],["M",e-n/2,t+n],["L",e+n/2,t+n]];rq.style=["stroke","lineWidth"];let rK=(e,t,n)=>[["M",e-n,t],["L",e+n,t],["M",e,t-n],["L",e,t+n]];rK.style=["stroke","lineWidth"];let rX=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rX.style=["stroke","lineWidth"];let rQ=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rQ.style=["stroke","lineWidth"];let rJ=rQ.bind(void 0);rJ.style=["stroke","lineWidth"];let r0=(e,t,n)=>[["M",e-n,t],["A",n/2,n/2,0,1,1,e,t],["A",n/2,n/2,0,1,0,e+n,t]];r0.style=["stroke","lineWidth"];let r1=(e,t,n)=>[["M",e-n-1,t-2.5],["L",e,t-2.5],["L",e,t+2.5],["L",e+n+1,t+2.5]];r1.style=["stroke","lineWidth"];let r2=(e,t,n)=>[["M",e-n-1,t+2.5],["L",e,t+2.5],["L",e,t-2.5],["L",e+n+1,t-2.5]];r2.style=["stroke","lineWidth"];let r3=(e,t,n)=>[["M",e-(n+1),t+2.5],["L",e-n/2,t+2.5],["L",e-n/2,t-2.5],["L",e+n/2,t-2.5],["L",e+n/2,t+2.5],["L",e+n+1,t+2.5]];r3.style=["stroke","lineWidth"];let r5=(e,t,n)=>[["M",e-5,t+2.5],["L",e-5,t],["L",e,t],["L",e,t-3],["L",e,t+3],["L",e+6.5,t+3]];r5.style=["stroke","lineWidth"];let r4=new Map([["bowtie",rZ],["cross",rY],["dash",rJ],["diamond",rF],["dot",rQ],["hexagon",r$],["hollowBowtie",rW],["hollowDiamond",rB],["hollowHexagon",rz],["hollowPoint",rL],["hollowSquare",rM],["hollowTriangle",rU],["hollowTriangleDown",rH],["hv",r1],["hvh",r3],["hyphen",rX],["line",rV],["plus",rK],["point",rN],["rect",rP],["smooth",r0],["square",rD],["tick",rq],["triangleDown",rG],["triangle",rj],["vh",r2],["vhv",r5]]),r6={};function r9(e,t){if(e.startsWith("symbol.")){var n;n=e.split(".").pop(),r4.set(n,t)}else Object.assign(r6,{[e]:t})}var r8=n(88998);/*! * @antv/g-plugin-canvas-path-generator * @description A G plugin of path generator with Canvas2D API * @version 2.1.16 @@ -49,4 +49,4 @@ * @author Lea Verou * @namespace * @public - */var r=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},a={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=u.reach));S+=T.value.length,T=T.next){var A,O=T.value;if(n.length>t.length)return;if(!(O instanceof i)){var _=1;if(b){if(!(A=o(v,S,t,m))||A.index>=t.length)break;var k=A.index,C=A.index+A[0].length,x=S;for(x+=T.value.length;k>=x;)x+=(T=T.next).value.length;if(x-=T.value.length,S=x,T.value instanceof i)continue;for(var w=T;w!==n.tail&&(xu.reach&&(u.reach=L);var D=T.prev;R&&(D=l(n,D,R),S+=R.length),function(e,t,n){for(var r=t.next,a=0;a1){var M={cause:d+","+f,reach:L};e(t,n,r,T.prev,S,M),u&&M.reach>u.reach&&(u.reach=M.reach)}}}}}}(e,c,t,c.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(c)},hooks:{all:{},add:function(e,t){var n=a.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=a.hooks.all[e];if(n&&n.length)for(var r,i=0;r=n[i++];)r(t)}},Token:i};function i(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var i=a[1].length;a.index+=i,a[0]=a[0].slice(i)}return a}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}if(e.Prism=a,i.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach(function(t){r+=e(t,n)}),r}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},o=t.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(i.classes,o):i.classes.push(o)),a.hooks.run("wrap",i);var s="";for(var l in i.attributes)s+=" "+l+'="'+(i.attributes[l]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+s+">"+i.content+""},!e.document)return e.addEventListener&&(a.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),r=n.language,i=n.code,o=n.immediateClose;e.postMessage(a.highlight(i,a.languages[r],r)),o&&e.close()},!1)),a;var c=a.util.currentScript();function u(){a.manual||a.highlightAll()}if(c&&(a.filename=c.src,c.hasAttribute("data-manual")&&(a.manual=!0)),!a.manual){var d=document.readyState;"loading"===d||"interactive"===d&&c&&c.defer?document.addEventListener("DOMContentLoaded",u):window.requestAnimationFrame?window.requestAnimationFrame(u):window.setTimeout(u,16)}return a}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=r),void 0!==n.g&&(n.g.Prism=r)},96774:function(e){e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),o=Object.keys(t);if(i.length!==o.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;le.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}},88998:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(95778);function a(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},13643:function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,{Z:function(){return r}})},98568:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)}n.d(t,{Z:function(){return a}})},99660:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(88998);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var l=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(l&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;x(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:I(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),b}},t}},16200:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59312);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw a}}return s}}(e,t)||(0,r.Z)(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},27567:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(13643);function a(){return(a="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var a=function(e,t){for(;!({}).hasOwnProperty.call(e,t)&&null!==(e=(0,r.Z)(e)););return e}(e,t);if(a){var i=Object.getOwnPropertyDescriptor(a,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}}).apply(null,arguments)}function i(e,t,n,i){var o=a((0,r.Z)(1&i?e.prototype:e),t,n);return 2&i&&"function"==typeof o?function(e){return o.apply(n,e)}:o}},25585:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(59630),a=n(59312);function i(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,a.Z)(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},95778:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(2846);function a(e){var t=function(e,t){if("object"!=(0,r.Z)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=(0,r.Z)(a))return a;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.Z)(t)?t:t+""}},2846:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{Z:function(){return r}})},59312:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59630);function a(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},21129:function(e,t,n){"use strict";var r=n(4503);t.Z=r},86676:function(e,t,n){"use strict";n.d(t,{r:function(){return a}});let r=/[#.]/g;function a(e,t){let n,a;let i=e||"",o={},s=0;for(;so&&(o=i):i=1,a=r+t.length,r=n.indexOf(t,a);return o}n.d(t,{J:function(){return r}})},24557:function(e,t,n){"use strict";n.d(t,{Z:function(){return ed}});var r={};n.r(r),n.d(r,{boolean:function(){return c},booleanish:function(){return u},commaOrSpaceSeparated:function(){return g},commaSeparated:function(){return h},number:function(){return p},overloadedBoolean:function(){return d},spaceSeparated:function(){return f}});class a{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function i(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new a(n,r,t)}function o(e){return e.toLowerCase()}a.prototype.normal={},a.prototype.property={},a.prototype.space=void 0;class s{constructor(e,t){this.attribute=t,this.property=e}}s.prototype.attribute="",s.prototype.booleanish=!1,s.prototype.boolean=!1,s.prototype.commaOrSpaceSeparated=!1,s.prototype.commaSeparated=!1,s.prototype.defined=!1,s.prototype.mustUseProperty=!1,s.prototype.number=!1,s.prototype.overloadedBoolean=!1,s.prototype.property="",s.prototype.spaceSeparated=!1,s.prototype.space=void 0;let l=0,c=m(),u=m(),d=m(),p=m(),f=m(),h=m(),g=m();function m(){return 2**++l}let b=Object.keys(r);class y extends s{constructor(e,t,n,a){var i,o;let s=-1;if(super(e,t),a&&(this.space=a),"number"==typeof n)for(;++s"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function T(e,t){return t in e?e[t]:t}function S(e,t){return T(e,t.toLowerCase())}let A=E({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:h,acceptCharset:f,accessKey:f,action:null,allow:null,allowFullScreen:c,allowPaymentRequest:c,allowUserMedia:c,alt:null,as:null,async:c,autoCapitalize:null,autoComplete:f,autoFocus:c,autoPlay:c,blocking:f,capture:null,charSet:null,checked:c,cite:null,className:f,cols:p,colSpan:null,content:null,contentEditable:u,controls:c,controlsList:f,coords:p|h,crossOrigin:null,data:null,dateTime:null,decoding:null,default:c,defer:c,dir:null,dirName:null,disabled:c,download:d,draggable:u,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:c,formTarget:null,headers:f,height:p,hidden:c,high:p,href:null,hrefLang:null,htmlFor:f,httpEquiv:f,id:null,imageSizes:null,imageSrcSet:null,inert:c,inputMode:null,integrity:null,is:null,isMap:c,itemId:null,itemProp:f,itemRef:f,itemScope:c,itemType:f,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:c,low:p,manifest:null,max:null,maxLength:p,media:null,method:null,min:null,minLength:p,multiple:c,muted:c,name:null,nonce:null,noModule:c,noValidate:c,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored: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,onScrollEnd: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:c,optimum:p,pattern:null,ping:f,placeholder:null,playsInline:c,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:c,referrerPolicy:null,rel:f,required:c,reversed:c,rows:p,rowSpan:p,sandbox:f,scope:null,scoped:c,seamless:c,selected:c,shadowRootClonable:c,shadowRootDelegatesFocus:c,shadowRootMode:null,shape:null,size:p,sizes:null,slot:null,span:p,spellCheck:u,src:null,srcDoc:null,srcLang:null,srcSet:null,start:p,step:null,style:null,tabIndex:p,target:null,title:null,translate:null,type:null,typeMustMatch:c,useMap:null,value:u,width:p,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:f,axis:null,background:null,bgColor:null,border:p,borderColor:null,bottomMargin:p,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:c,declare:c,event:null,face:null,frame:null,frameBorder:null,hSpace:p,leftMargin:p,link:null,longDesc:null,lowSrc:null,marginHeight:p,marginWidth:p,noResize:c,noHref:c,noShade:c,noWrap:c,object:null,profile:null,prompt:null,rev:null,rightMargin:p,rules:null,scheme:null,scrolling:u,standby:null,summary:null,text:null,topMargin:p,valueType:null,version:null,vAlign:null,vLink:null,vSpace:p,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:c,disableRemotePlayback:c,prefix:null,property:null,results:p,security:null,unselectable:null},space:"html",transform:S}),O=E({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:g,accentHeight:p,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:p,amplitude:p,arabicForm:null,ascent:p,attributeName:null,attributeType:null,azimuth:p,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:p,by:null,calcMode:null,capHeight:p,className:f,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:p,diffuseConstant:p,direction:null,display:null,dur:null,divisor:p,dominantBaseline:null,download:c,dx:null,dy:null,edgeMode:null,editable:null,elevation:p,enableBackground:null,end:null,event:null,exponent:p,externalResourcesRequired:null,fill:null,fillOpacity:p,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:h,g2:h,glyphName:h,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:p,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:p,horizOriginX:p,horizOriginY:p,id:null,ideographic:p,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:p,k:p,k1:p,k2:p,k3:p,k4:p,kernelMatrix:g,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:p,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:p,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose: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,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:p,overlineThickness:p,paintOrder:null,panose1:null,path:null,pathLength:p,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:f,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:p,pointsAtY:p,pointsAtZ:p,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:g,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:g,rev:g,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:g,requiredFeatures:g,requiredFonts:g,requiredFormats:g,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:p,specularExponent:p,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:p,strikethroughThickness:p,string:null,stroke:null,strokeDashArray:g,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:p,strokeOpacity:p,strokeWidth:null,style:null,surfaceScale:p,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:g,tabIndex:p,tableValues:null,target:null,targetX:p,targetY:p,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:g,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:p,underlineThickness:p,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:p,values:null,vAlphabetic:p,vMathematical:p,vectorEffect:null,vHanging:p,vIdeographic:p,version:null,vertAdvY:p,vertOriginX:p,vertOriginY:p,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:p,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:T}),_=E({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),k=E({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:S}),C=E({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),x=i([v,A,_,k,C],"html"),w=i([v,O,_,k,C],"svg");var I=n(25668),R=n(86676);let N=/[A-Z]/g,L=/-[a-z]/g,D=/^data[-\w.:]+$/i;function P(e){return"-"+e.toLowerCase()}function M(e){return e.charAt(1).toUpperCase()}var F=n(50342);function B(e,t,n){let r=n?function(e){let t=new Map;for(let n of e)t.set(n.toLowerCase(),n);return t}(n):void 0;return function(n,a,...i){let l;if(null==n)l={type:"root",children:[]},i.unshift(a);else{l=(0,R.r)(n,t);let c=l.tagName.toLowerCase(),u=r?r.get(c):void 0;if(l.tagName=u||c,function(e){if(null===e||"object"!=typeof e||Array.isArray(e))return!0;if("string"!=typeof e.type)return!1;let t=Object.keys(e);for(let n of t){let t=e[n];if(t&&"object"==typeof t){if(!Array.isArray(t))return!0;for(let e of t)if("number"!=typeof e&&"string"!=typeof e)return!0}}return!!("children"in e&&Array.isArray(e.children))}(a))i.unshift(a);else for(let[t,n]of Object.entries(a))!function(e,t,n,r){let a;let i=function(e,t){let n=o(t),r=t,a=s;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&D.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(L,M);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!L.test(e)){let n=e.replace(N,P);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}a=y}return new a(r,t)}(e,n);if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;a=r}else a="boolean"==typeof r?r:"string"==typeof r?i.spaceSeparated?(0,F.Q)(r):i.commaSeparated?(0,I.Q)(r):i.commaOrSpaceSeparated?(0,F.Q)((0,I.Q)(r).join(" ")):j(i,i.property,r):Array.isArray(r)?[...r]:"style"===i.property?function(e){let t=[];for(let[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}(r):String(r);if(Array.isArray(a)){let e=[];for(let t of a)e.push(j(i,i.property,t));a=e}"className"===i.property&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}(e,l.properties,t,n)}for(let e of i)!function e(t,n){if(null==n);else if("number"==typeof n||"string"==typeof n)t.push({type:"text",value:String(n)});else if(Array.isArray(n))for(let r of n)e(t,r);else if("object"==typeof n&&"type"in n)"root"===n.type?e(t,n.children):t.push(n);else throw Error("Expected node, nodes, or string, got `"+n+"`")}(l.children,e);return"element"===l.type&&"template"===l.tagName&&(l.content={type:"root",children:l.children},l.children=[]),l}}function j(e,t,n){if("string"==typeof n){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(""===n||o(n)===o(t)))return!0}return n}let U=B(x,"div"),G=B(w,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]);var H=n(49911);function $(e,t){let n=function(e,t){switch(e.nodeType){case 1:return function(e,t){let n=e.namespaceURI,r=n===H.t.svg?G:U,a=n===H.t.html?e.tagName.toLowerCase():e.tagName,i=n===H.t.html&&"template"===a?e.content:e,o=e.getAttributeNames(),s={},l=-1;for(;++ln&&(n=e):e&&(void 0!==n&&n>-1&&l.push("\n".repeat(n)||" "),n=-1,l.push(e))}return l.join("")}(d,{whitespace:"pre"});try{a=es.ZP.renderToString(p,{...t,displayMode:c,throwOnError:!0})}catch(o){let i=o.name.toLowerCase();n.message("Could not render math with KaTeX",{ancestors:[...r,e],cause:o,place:e.position,ruleId:i,source:"rehype-katex"});try{a=es.ZP.renderToString(p,{...t,displayMode:c,strict:"ignore",throwOnError:!1})}catch{a=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(o)},children:[{type:"text",value:p}]}]}}if("string"==typeof a){let e=function(e,t){let n=t?.fragment?function(e){let t=document.createElement("template");return t.innerHTML=e,t.content}(e):Z.parseFromString(e,"text/html");return $(n,{})||{type:"root",children:[]}}(a,{fragment:!0});a=e.children}let f=u.children.indexOf(d);return u.children.splice(f,1,...a),el.AM})}}},12384:function(e,t,n){"use strict";n.d(t,{Z:function(){return tJ}});var r,a,i,o,s,l,c,u,d,p,f,h,g,m,b,y,E,v,T,S,A,O,_=n(52835),k=n(24345),C=n(91634),x=n(25668),w=n(86676),I=n(26103),R=n(28051),N=n(50342);let L=new Set(["button","menu","reset","submit"]),D={}.hasOwnProperty;function P(e,t,n){let r=n&&function(e){let t={},n=-1;for(;++n1?n[e.line-2]:0)+e.column-1;if(r-1&&e<=t.length){let r=0;for(;;){let a=n[r];if(void 0===a){let e=j(t,n[r-1]);a=-1===e?t.length+1:e+1,n[r]=a}if(a>e)return{line:r+1,column:e-(r>0?n[r-1]:0)+1,offset:e};r++}}}}}(t),a=r.toPoint(0),i=r.toPoint(t.length);(0,k.ok)(a,"expected `start`"),(0,k.ok)(i,"expected `end`"),n.position={start:a,end:i}}return n}case"#documentType":return Z(e,t,n={type:"doctype"}),n;case"#text":return n={type:"text",value:t.value},Z(e,t,n),n;default:return function(e,t){let n=e.schema;e.schema=t.namespaceURI===U.t.svg?C.YP:C.dy;let r=-1,a={};for(;++r=55296&&e<=57343}function ei(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function eo(e){return e>=64976&&e<=65007||en.has(e)}(a=g=g||(g={})).controlCharacterInInputStream="control-character-in-input-stream",a.noncharacterInInputStream="noncharacter-in-input-stream",a.surrogateInInputStream="surrogate-in-input-stream",a.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",a.endTagWithAttributes="end-tag-with-attributes",a.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",a.unexpectedSolidusInTag="unexpected-solidus-in-tag",a.unexpectedNullCharacter="unexpected-null-character",a.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",a.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",a.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",a.missingEndTagName="missing-end-tag-name",a.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",a.unknownNamedCharacterReference="unknown-named-character-reference",a.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",a.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",a.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",a.eofBeforeTagName="eof-before-tag-name",a.eofInTag="eof-in-tag",a.missingAttributeValue="missing-attribute-value",a.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",a.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",a.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",a.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",a.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",a.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",a.missingDoctypePublicIdentifier="missing-doctype-public-identifier",a.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",a.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",a.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",a.cdataInHtmlContent="cdata-in-html-content",a.incorrectlyOpenedComment="incorrectly-opened-comment",a.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",a.eofInDoctype="eof-in-doctype",a.nestedComment="nested-comment",a.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",a.eofInComment="eof-in-comment",a.incorrectlyClosedComment="incorrectly-closed-comment",a.eofInCdata="eof-in-cdata",a.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",a.nullCharacterReference="null-character-reference",a.surrogateCharacterReference="surrogate-character-reference",a.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",a.controlCharacterReference="control-character-reference",a.noncharacterCharacterReference="noncharacter-character-reference",a.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",a.missingDoctypeName="missing-doctype-name",a.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",a.duplicateAttribute="duplicate-attribute",a.nonConformingDoctype="non-conforming-doctype",a.missingDoctype="missing-doctype",a.misplacedDoctype="misplaced-doctype",a.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",a.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",a.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",a.openElementsLeftAfterEof="open-elements-left-after-eof",a.abandonedHeadElementChild="abandoned-head-element-child",a.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",a.nestedNoscriptInHead="nested-noscript-in-head",a.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text";class es{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e){let{line:t,col:n,offset:r}=this;return{code:e,startLine:t,endLine:t,startCol:n,endCol:n,startOffset:r,endOffset:r}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let t=this.html.charCodeAt(this.pos+1);if(t>=56320&&t<=57343)return this.pos++,this._addGap(),(e-55296)*1024+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,h.EOF;return this._err(g.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,h.EOF;let n=this.html.charCodeAt(t);return n===h.CARRIAGE_RETURN?h.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,h.EOF;let e=this.html.charCodeAt(this.pos);if(e===h.CARRIAGE_RETURN)return this.isEol=!0,this.skipNextNewLine=!0,h.LINE_FEED;if(e===h.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine))return this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance();this.skipNextNewLine=!1,ea(e)&&(e=this._processSurrogate(e));let t=null===this.handler.onParseError||e>31&&e<127||e===h.LINE_FEED||e===h.CARRIAGE_RETURN||e>159&&e<64976;return t||this._checkForProblematicCharacters(e),e}_checkForProblematicCharacters(e){ei(e)?this._err(g.controlCharacterInInputStream):eo(e)&&this._err(g.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}(i=m=m||(m={}))[i.CHARACTER=0]="CHARACTER",i[i.NULL_CHARACTER=1]="NULL_CHARACTER",i[i.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",i[i.START_TAG=3]="START_TAG",i[i.END_TAG=4]="END_TAG",i[i.COMMENT=5]="COMMENT",i[i.DOCTYPE=6]="DOCTYPE",i[i.EOF=7]="EOF",i[i.HIBERNATION=8]="HIBERNATION";var ec=n(60411);(o=b=b||(b={})).HTML="http://www.w3.org/1999/xhtml",o.MATHML="http://www.w3.org/1998/Math/MathML",o.SVG="http://www.w3.org/2000/svg",o.XLINK="http://www.w3.org/1999/xlink",o.XML="http://www.w3.org/XML/1998/namespace",o.XMLNS="http://www.w3.org/2000/xmlns/",(s=y=y||(y={})).TYPE="type",s.ACTION="action",s.ENCODING="encoding",s.PROMPT="prompt",s.NAME="name",s.COLOR="color",s.FACE="face",s.SIZE="size",(l=E=E||(E={})).NO_QUIRKS="no-quirks",l.QUIRKS="quirks",l.LIMITED_QUIRKS="limited-quirks",(c=v=v||(v={})).A="a",c.ADDRESS="address",c.ANNOTATION_XML="annotation-xml",c.APPLET="applet",c.AREA="area",c.ARTICLE="article",c.ASIDE="aside",c.B="b",c.BASE="base",c.BASEFONT="basefont",c.BGSOUND="bgsound",c.BIG="big",c.BLOCKQUOTE="blockquote",c.BODY="body",c.BR="br",c.BUTTON="button",c.CAPTION="caption",c.CENTER="center",c.CODE="code",c.COL="col",c.COLGROUP="colgroup",c.DD="dd",c.DESC="desc",c.DETAILS="details",c.DIALOG="dialog",c.DIR="dir",c.DIV="div",c.DL="dl",c.DT="dt",c.EM="em",c.EMBED="embed",c.FIELDSET="fieldset",c.FIGCAPTION="figcaption",c.FIGURE="figure",c.FONT="font",c.FOOTER="footer",c.FOREIGN_OBJECT="foreignObject",c.FORM="form",c.FRAME="frame",c.FRAMESET="frameset",c.H1="h1",c.H2="h2",c.H3="h3",c.H4="h4",c.H5="h5",c.H6="h6",c.HEAD="head",c.HEADER="header",c.HGROUP="hgroup",c.HR="hr",c.HTML="html",c.I="i",c.IMG="img",c.IMAGE="image",c.INPUT="input",c.IFRAME="iframe",c.KEYGEN="keygen",c.LABEL="label",c.LI="li",c.LINK="link",c.LISTING="listing",c.MAIN="main",c.MALIGNMARK="malignmark",c.MARQUEE="marquee",c.MATH="math",c.MENU="menu",c.META="meta",c.MGLYPH="mglyph",c.MI="mi",c.MO="mo",c.MN="mn",c.MS="ms",c.MTEXT="mtext",c.NAV="nav",c.NOBR="nobr",c.NOFRAMES="noframes",c.NOEMBED="noembed",c.NOSCRIPT="noscript",c.OBJECT="object",c.OL="ol",c.OPTGROUP="optgroup",c.OPTION="option",c.P="p",c.PARAM="param",c.PLAINTEXT="plaintext",c.PRE="pre",c.RB="rb",c.RP="rp",c.RT="rt",c.RTC="rtc",c.RUBY="ruby",c.S="s",c.SCRIPT="script",c.SECTION="section",c.SELECT="select",c.SOURCE="source",c.SMALL="small",c.SPAN="span",c.STRIKE="strike",c.STRONG="strong",c.STYLE="style",c.SUB="sub",c.SUMMARY="summary",c.SUP="sup",c.TABLE="table",c.TBODY="tbody",c.TEMPLATE="template",c.TEXTAREA="textarea",c.TFOOT="tfoot",c.TD="td",c.TH="th",c.THEAD="thead",c.TITLE="title",c.TR="tr",c.TRACK="track",c.TT="tt",c.U="u",c.UL="ul",c.SVG="svg",c.VAR="var",c.WBR="wbr",c.XMP="xmp",(u=T=T||(T={}))[u.UNKNOWN=0]="UNKNOWN",u[u.A=1]="A",u[u.ADDRESS=2]="ADDRESS",u[u.ANNOTATION_XML=3]="ANNOTATION_XML",u[u.APPLET=4]="APPLET",u[u.AREA=5]="AREA",u[u.ARTICLE=6]="ARTICLE",u[u.ASIDE=7]="ASIDE",u[u.B=8]="B",u[u.BASE=9]="BASE",u[u.BASEFONT=10]="BASEFONT",u[u.BGSOUND=11]="BGSOUND",u[u.BIG=12]="BIG",u[u.BLOCKQUOTE=13]="BLOCKQUOTE",u[u.BODY=14]="BODY",u[u.BR=15]="BR",u[u.BUTTON=16]="BUTTON",u[u.CAPTION=17]="CAPTION",u[u.CENTER=18]="CENTER",u[u.CODE=19]="CODE",u[u.COL=20]="COL",u[u.COLGROUP=21]="COLGROUP",u[u.DD=22]="DD",u[u.DESC=23]="DESC",u[u.DETAILS=24]="DETAILS",u[u.DIALOG=25]="DIALOG",u[u.DIR=26]="DIR",u[u.DIV=27]="DIV",u[u.DL=28]="DL",u[u.DT=29]="DT",u[u.EM=30]="EM",u[u.EMBED=31]="EMBED",u[u.FIELDSET=32]="FIELDSET",u[u.FIGCAPTION=33]="FIGCAPTION",u[u.FIGURE=34]="FIGURE",u[u.FONT=35]="FONT",u[u.FOOTER=36]="FOOTER",u[u.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",u[u.FORM=38]="FORM",u[u.FRAME=39]="FRAME",u[u.FRAMESET=40]="FRAMESET",u[u.H1=41]="H1",u[u.H2=42]="H2",u[u.H3=43]="H3",u[u.H4=44]="H4",u[u.H5=45]="H5",u[u.H6=46]="H6",u[u.HEAD=47]="HEAD",u[u.HEADER=48]="HEADER",u[u.HGROUP=49]="HGROUP",u[u.HR=50]="HR",u[u.HTML=51]="HTML",u[u.I=52]="I",u[u.IMG=53]="IMG",u[u.IMAGE=54]="IMAGE",u[u.INPUT=55]="INPUT",u[u.IFRAME=56]="IFRAME",u[u.KEYGEN=57]="KEYGEN",u[u.LABEL=58]="LABEL",u[u.LI=59]="LI",u[u.LINK=60]="LINK",u[u.LISTING=61]="LISTING",u[u.MAIN=62]="MAIN",u[u.MALIGNMARK=63]="MALIGNMARK",u[u.MARQUEE=64]="MARQUEE",u[u.MATH=65]="MATH",u[u.MENU=66]="MENU",u[u.META=67]="META",u[u.MGLYPH=68]="MGLYPH",u[u.MI=69]="MI",u[u.MO=70]="MO",u[u.MN=71]="MN",u[u.MS=72]="MS",u[u.MTEXT=73]="MTEXT",u[u.NAV=74]="NAV",u[u.NOBR=75]="NOBR",u[u.NOFRAMES=76]="NOFRAMES",u[u.NOEMBED=77]="NOEMBED",u[u.NOSCRIPT=78]="NOSCRIPT",u[u.OBJECT=79]="OBJECT",u[u.OL=80]="OL",u[u.OPTGROUP=81]="OPTGROUP",u[u.OPTION=82]="OPTION",u[u.P=83]="P",u[u.PARAM=84]="PARAM",u[u.PLAINTEXT=85]="PLAINTEXT",u[u.PRE=86]="PRE",u[u.RB=87]="RB",u[u.RP=88]="RP",u[u.RT=89]="RT",u[u.RTC=90]="RTC",u[u.RUBY=91]="RUBY",u[u.S=92]="S",u[u.SCRIPT=93]="SCRIPT",u[u.SECTION=94]="SECTION",u[u.SELECT=95]="SELECT",u[u.SOURCE=96]="SOURCE",u[u.SMALL=97]="SMALL",u[u.SPAN=98]="SPAN",u[u.STRIKE=99]="STRIKE",u[u.STRONG=100]="STRONG",u[u.STYLE=101]="STYLE",u[u.SUB=102]="SUB",u[u.SUMMARY=103]="SUMMARY",u[u.SUP=104]="SUP",u[u.TABLE=105]="TABLE",u[u.TBODY=106]="TBODY",u[u.TEMPLATE=107]="TEMPLATE",u[u.TEXTAREA=108]="TEXTAREA",u[u.TFOOT=109]="TFOOT",u[u.TD=110]="TD",u[u.TH=111]="TH",u[u.THEAD=112]="THEAD",u[u.TITLE=113]="TITLE",u[u.TR=114]="TR",u[u.TRACK=115]="TRACK",u[u.TT=116]="TT",u[u.U=117]="U",u[u.UL=118]="UL",u[u.SVG=119]="SVG",u[u.VAR=120]="VAR",u[u.WBR=121]="WBR",u[u.XMP=122]="XMP";let eu=new Map([[v.A,T.A],[v.ADDRESS,T.ADDRESS],[v.ANNOTATION_XML,T.ANNOTATION_XML],[v.APPLET,T.APPLET],[v.AREA,T.AREA],[v.ARTICLE,T.ARTICLE],[v.ASIDE,T.ASIDE],[v.B,T.B],[v.BASE,T.BASE],[v.BASEFONT,T.BASEFONT],[v.BGSOUND,T.BGSOUND],[v.BIG,T.BIG],[v.BLOCKQUOTE,T.BLOCKQUOTE],[v.BODY,T.BODY],[v.BR,T.BR],[v.BUTTON,T.BUTTON],[v.CAPTION,T.CAPTION],[v.CENTER,T.CENTER],[v.CODE,T.CODE],[v.COL,T.COL],[v.COLGROUP,T.COLGROUP],[v.DD,T.DD],[v.DESC,T.DESC],[v.DETAILS,T.DETAILS],[v.DIALOG,T.DIALOG],[v.DIR,T.DIR],[v.DIV,T.DIV],[v.DL,T.DL],[v.DT,T.DT],[v.EM,T.EM],[v.EMBED,T.EMBED],[v.FIELDSET,T.FIELDSET],[v.FIGCAPTION,T.FIGCAPTION],[v.FIGURE,T.FIGURE],[v.FONT,T.FONT],[v.FOOTER,T.FOOTER],[v.FOREIGN_OBJECT,T.FOREIGN_OBJECT],[v.FORM,T.FORM],[v.FRAME,T.FRAME],[v.FRAMESET,T.FRAMESET],[v.H1,T.H1],[v.H2,T.H2],[v.H3,T.H3],[v.H4,T.H4],[v.H5,T.H5],[v.H6,T.H6],[v.HEAD,T.HEAD],[v.HEADER,T.HEADER],[v.HGROUP,T.HGROUP],[v.HR,T.HR],[v.HTML,T.HTML],[v.I,T.I],[v.IMG,T.IMG],[v.IMAGE,T.IMAGE],[v.INPUT,T.INPUT],[v.IFRAME,T.IFRAME],[v.KEYGEN,T.KEYGEN],[v.LABEL,T.LABEL],[v.LI,T.LI],[v.LINK,T.LINK],[v.LISTING,T.LISTING],[v.MAIN,T.MAIN],[v.MALIGNMARK,T.MALIGNMARK],[v.MARQUEE,T.MARQUEE],[v.MATH,T.MATH],[v.MENU,T.MENU],[v.META,T.META],[v.MGLYPH,T.MGLYPH],[v.MI,T.MI],[v.MO,T.MO],[v.MN,T.MN],[v.MS,T.MS],[v.MTEXT,T.MTEXT],[v.NAV,T.NAV],[v.NOBR,T.NOBR],[v.NOFRAMES,T.NOFRAMES],[v.NOEMBED,T.NOEMBED],[v.NOSCRIPT,T.NOSCRIPT],[v.OBJECT,T.OBJECT],[v.OL,T.OL],[v.OPTGROUP,T.OPTGROUP],[v.OPTION,T.OPTION],[v.P,T.P],[v.PARAM,T.PARAM],[v.PLAINTEXT,T.PLAINTEXT],[v.PRE,T.PRE],[v.RB,T.RB],[v.RP,T.RP],[v.RT,T.RT],[v.RTC,T.RTC],[v.RUBY,T.RUBY],[v.S,T.S],[v.SCRIPT,T.SCRIPT],[v.SECTION,T.SECTION],[v.SELECT,T.SELECT],[v.SOURCE,T.SOURCE],[v.SMALL,T.SMALL],[v.SPAN,T.SPAN],[v.STRIKE,T.STRIKE],[v.STRONG,T.STRONG],[v.STYLE,T.STYLE],[v.SUB,T.SUB],[v.SUMMARY,T.SUMMARY],[v.SUP,T.SUP],[v.TABLE,T.TABLE],[v.TBODY,T.TBODY],[v.TEMPLATE,T.TEMPLATE],[v.TEXTAREA,T.TEXTAREA],[v.TFOOT,T.TFOOT],[v.TD,T.TD],[v.TH,T.TH],[v.THEAD,T.THEAD],[v.TITLE,T.TITLE],[v.TR,T.TR],[v.TRACK,T.TRACK],[v.TT,T.TT],[v.U,T.U],[v.UL,T.UL],[v.SVG,T.SVG],[v.VAR,T.VAR],[v.WBR,T.WBR],[v.XMP,T.XMP]]);function ed(e){var t;return null!==(t=eu.get(e))&&void 0!==t?t:T.UNKNOWN}let ep=T,ef={[b.HTML]:new Set([ep.ADDRESS,ep.APPLET,ep.AREA,ep.ARTICLE,ep.ASIDE,ep.BASE,ep.BASEFONT,ep.BGSOUND,ep.BLOCKQUOTE,ep.BODY,ep.BR,ep.BUTTON,ep.CAPTION,ep.CENTER,ep.COL,ep.COLGROUP,ep.DD,ep.DETAILS,ep.DIR,ep.DIV,ep.DL,ep.DT,ep.EMBED,ep.FIELDSET,ep.FIGCAPTION,ep.FIGURE,ep.FOOTER,ep.FORM,ep.FRAME,ep.FRAMESET,ep.H1,ep.H2,ep.H3,ep.H4,ep.H5,ep.H6,ep.HEAD,ep.HEADER,ep.HGROUP,ep.HR,ep.HTML,ep.IFRAME,ep.IMG,ep.INPUT,ep.LI,ep.LINK,ep.LISTING,ep.MAIN,ep.MARQUEE,ep.MENU,ep.META,ep.NAV,ep.NOEMBED,ep.NOFRAMES,ep.NOSCRIPT,ep.OBJECT,ep.OL,ep.P,ep.PARAM,ep.PLAINTEXT,ep.PRE,ep.SCRIPT,ep.SECTION,ep.SELECT,ep.SOURCE,ep.STYLE,ep.SUMMARY,ep.TABLE,ep.TBODY,ep.TD,ep.TEMPLATE,ep.TEXTAREA,ep.TFOOT,ep.TH,ep.THEAD,ep.TITLE,ep.TR,ep.TRACK,ep.UL,ep.WBR,ep.XMP]),[b.MATHML]:new Set([ep.MI,ep.MO,ep.MN,ep.MS,ep.MTEXT,ep.ANNOTATION_XML]),[b.SVG]:new Set([ep.TITLE,ep.FOREIGN_OBJECT,ep.DESC]),[b.XLINK]:new Set,[b.XML]:new Set,[b.XMLNS]:new Set};function eh(e){return e===ep.H1||e===ep.H2||e===ep.H3||e===ep.H4||e===ep.H5||e===ep.H6}v.STYLE,v.SCRIPT,v.XMP,v.IFRAME,v.NOEMBED,v.NOFRAMES,v.PLAINTEXT;let eg=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);(d=S||(S={}))[d.DATA=0]="DATA",d[d.RCDATA=1]="RCDATA",d[d.RAWTEXT=2]="RAWTEXT",d[d.SCRIPT_DATA=3]="SCRIPT_DATA",d[d.PLAINTEXT=4]="PLAINTEXT",d[d.TAG_OPEN=5]="TAG_OPEN",d[d.END_TAG_OPEN=6]="END_TAG_OPEN",d[d.TAG_NAME=7]="TAG_NAME",d[d.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",d[d.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",d[d.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",d[d.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",d[d.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",d[d.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",d[d.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",d[d.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",d[d.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",d[d.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",d[d.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",d[d.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",d[d.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",d[d.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",d[d.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",d[d.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",d[d.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",d[d.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",d[d.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",d[d.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",d[d.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",d[d.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",d[d.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",d[d.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",d[d.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",d[d.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",d[d.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",d[d.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",d[d.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",d[d.BOGUS_COMMENT=40]="BOGUS_COMMENT",d[d.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",d[d.COMMENT_START=42]="COMMENT_START",d[d.COMMENT_START_DASH=43]="COMMENT_START_DASH",d[d.COMMENT=44]="COMMENT",d[d.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",d[d.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",d[d.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",d[d.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",d[d.COMMENT_END_DASH=49]="COMMENT_END_DASH",d[d.COMMENT_END=50]="COMMENT_END",d[d.COMMENT_END_BANG=51]="COMMENT_END_BANG",d[d.DOCTYPE=52]="DOCTYPE",d[d.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",d[d.DOCTYPE_NAME=54]="DOCTYPE_NAME",d[d.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",d[d.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",d[d.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",d[d.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",d[d.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",d[d.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",d[d.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",d[d.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",d[d.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",d[d.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",d[d.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",d[d.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",d[d.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",d[d.CDATA_SECTION=68]="CDATA_SECTION",d[d.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",d[d.CDATA_SECTION_END=70]="CDATA_SECTION_END",d[d.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",d[d.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",d[d.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",d[d.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",d[d.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",d[d.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",d[d.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",d[d.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END";let em={DATA:S.DATA,RCDATA:S.RCDATA,RAWTEXT:S.RAWTEXT,SCRIPT_DATA:S.SCRIPT_DATA,PLAINTEXT:S.PLAINTEXT,CDATA_SECTION:S.CDATA_SECTION};function eb(e){return e>=h.DIGIT_0&&e<=h.DIGIT_9}function ey(e){return e>=h.LATIN_CAPITAL_A&&e<=h.LATIN_CAPITAL_Z}function eE(e){return e>=h.LATIN_SMALL_A&&e<=h.LATIN_SMALL_Z||ey(e)}function ev(e){return eE(e)||eb(e)}function eT(e){return e>=h.LATIN_CAPITAL_A&&e<=h.LATIN_CAPITAL_F}function eS(e){return e>=h.LATIN_SMALL_A&&e<=h.LATIN_SMALL_F}function eA(e){return e===h.SPACE||e===h.LINE_FEED||e===h.TABULATION||e===h.FORM_FEED}function eO(e){return eA(e)||e===h.SOLIDUS||e===h.GREATER_THAN_SIGN}class e_{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=S.DATA,this.returnState=S.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new es(t),this.currentLocation=this.getCurrentLocation(-1)}_err(e){var t,n;null===(n=(t=this.handler).onParseError)||void 0===n||n.call(t,this.preprocessor.getError(e))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw Error("Parser was already resumed");this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(e){this.consumedAfterSnapshot-=e,this.preprocessor.retreat(e)}_reconsumeInState(e,t){this.state=e,this._callState(t)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t0&&this._err(g.endTagWithAttributes),e.selfClosing&&this._err(g.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case m.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case m.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case m.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:m.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type!==e)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=t;return}}this._createCharacterToken(e,t)}_emitCodePoint(e){let t=eA(e)?m.WHITESPACE_CHARACTER:e===h.NULL?m.NULL_CHARACTER:m.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(m.CHARACTER,e)}_matchNamedCharacterReference(e){let t=null,n=0,r=!1;for(let i=0,o=ec.HP[0];i>=0&&!((i=(0,ec.Go)(ec.HP,o,i+1,e))<0);e=this._consume()){n+=1,o=ec.HP[i];let s=o&ec.ge.VALUE_LENGTH;if(s){var a;let o=(s>>14)-1;if(e!==h.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((a=this.preprocessor.peek(1))===h.EQUALS_SIGN||ev(a))?(t=[h.AMPERSAND],i+=o):(t=0===o?[ec.HP[i]&~ec.ge.VALUE_LENGTH]:1===o?[ec.HP[++i]]:[ec.HP[++i],ec.HP[++i]],n=0,r=e!==h.SEMICOLON),0===o){this._consume();break}}}return this._unconsume(n),r&&!this.preprocessor.endOfChunkHit&&this._err(g.missingSemicolonAfterCharacterReference),this._unconsume(1),t}_isCharacterReferenceInAttribute(){return this.returnState===S.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case S.DATA:this._stateData(e);break;case S.RCDATA:this._stateRcdata(e);break;case S.RAWTEXT:this._stateRawtext(e);break;case S.SCRIPT_DATA:this._stateScriptData(e);break;case S.PLAINTEXT:this._statePlaintext(e);break;case S.TAG_OPEN:this._stateTagOpen(e);break;case S.END_TAG_OPEN:this._stateEndTagOpen(e);break;case S.TAG_NAME:this._stateTagName(e);break;case S.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case S.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case S.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case S.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case S.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case S.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case S.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case S.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case S.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case S.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case S.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case S.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case S.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case S.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case S.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case S.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case S.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case S.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case S.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case S.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case S.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case S.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case S.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case S.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case S.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case S.BOGUS_COMMENT:this._stateBogusComment(e);break;case S.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case S.COMMENT_START:this._stateCommentStart(e);break;case S.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case S.COMMENT:this._stateComment(e);break;case S.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case S.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case S.COMMENT_END:this._stateCommentEnd(e);break;case S.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case S.DOCTYPE:this._stateDoctype(e);break;case S.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case S.DOCTYPE_NAME:this._stateDoctypeName(e);break;case S.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case S.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case S.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case S.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case S.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case S.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case S.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case S.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case S.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case S.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case S.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case S.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case S.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case S.CDATA_SECTION:this._stateCdataSection(e);break;case S.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case S.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case S.CHARACTER_REFERENCE:this._stateCharacterReference(e);break;case S.NAMED_CHARACTER_REFERENCE:this._stateNamedCharacterReference(e);break;case S.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;case S.NUMERIC_CHARACTER_REFERENCE:this._stateNumericCharacterReference(e);break;case S.HEXADEMICAL_CHARACTER_REFERENCE_START:this._stateHexademicalCharacterReferenceStart(e);break;case S.HEXADEMICAL_CHARACTER_REFERENCE:this._stateHexademicalCharacterReference(e);break;case S.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(e);break;case S.NUMERIC_CHARACTER_REFERENCE_END:this._stateNumericCharacterReferenceEnd(e);break;default:throw Error("Unknown state")}}_stateData(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.TAG_OPEN;break;case h.AMPERSAND:this.returnState=S.DATA,this.state=S.CHARACTER_REFERENCE;break;case h.NULL:this._err(g.unexpectedNullCharacter),this._emitCodePoint(e);break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case h.AMPERSAND:this.returnState=S.RCDATA,this.state=S.CHARACTER_REFERENCE;break;case h.LESS_THAN_SIGN:this.state=S.RCDATA_LESS_THAN_SIGN;break;case h.NULL:this._err(g.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.RAWTEXT_LESS_THAN_SIGN;break;case h.NULL:this._err(g.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.SCRIPT_DATA_LESS_THAN_SIGN;break;case h.NULL:this._err(g.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case h.NULL:this._err(g.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(eE(e))this._createStartTagToken(),this.state=S.TAG_NAME,this._stateTagName(e);else switch(e){case h.EXCLAMATION_MARK:this.state=S.MARKUP_DECLARATION_OPEN;break;case h.SOLIDUS:this.state=S.END_TAG_OPEN;break;case h.QUESTION_MARK:this._err(g.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=S.BOGUS_COMMENT,this._stateBogusComment(e);break;case h.EOF:this._err(g.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(g.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=S.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(eE(e))this._createEndTagToken(),this.state=S.TAG_NAME,this._stateTagName(e);else switch(e){case h.GREATER_THAN_SIGN:this._err(g.missingEndTagName),this.state=S.DATA;break;case h.EOF:this._err(g.eofBeforeTagName),this._emitChars("");break;case h.NULL:this._err(g.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case h.EOF:this._err(g.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===h.SOLIDUS?this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:eE(e)?(this._emitChars("<"),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=S.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){eE(e)?(this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("");break;case h.NULL:this._err(g.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case h.EOF:this._err(g.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===h.SOLIDUS?(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(er.SCRIPT,!1)&&eO(this.preprocessor.peek(er.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e1114111)this._err(g.characterReferenceOutsideUnicodeRange),this.charRefCode=h.REPLACEMENT_CHARACTER;else if(ea(this.charRefCode))this._err(g.surrogateCharacterReference),this.charRefCode=h.REPLACEMENT_CHARACTER;else if(eo(this.charRefCode))this._err(g.noncharacterCharacterReference);else if(ei(this.charRefCode)||this.charRefCode===h.CARRIAGE_RETURN){this._err(g.controlCharacterReference);let e=eg.get(this.charRefCode);void 0!==e&&(this.charRefCode=e)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}}let ek=new Set([T.DD,T.DT,T.LI,T.OPTGROUP,T.OPTION,T.P,T.RB,T.RP,T.RT,T.RTC]),eC=new Set([...ek,T.CAPTION,T.COLGROUP,T.TBODY,T.TD,T.TFOOT,T.TH,T.THEAD,T.TR]),ex=new Map([[T.APPLET,b.HTML],[T.CAPTION,b.HTML],[T.HTML,b.HTML],[T.MARQUEE,b.HTML],[T.OBJECT,b.HTML],[T.TABLE,b.HTML],[T.TD,b.HTML],[T.TEMPLATE,b.HTML],[T.TH,b.HTML],[T.ANNOTATION_XML,b.MATHML],[T.MI,b.MATHML],[T.MN,b.MATHML],[T.MO,b.MATHML],[T.MS,b.MATHML],[T.MTEXT,b.MATHML],[T.DESC,b.SVG],[T.FOREIGN_OBJECT,b.SVG],[T.TITLE,b.SVG]]),ew=[T.H1,T.H2,T.H3,T.H4,T.H5,T.H6],eI=[T.TR,T.TEMPLATE,T.HTML],eR=[T.TBODY,T.TFOOT,T.THEAD,T.TEMPLATE,T.HTML],eN=[T.TABLE,T.TEMPLATE,T.HTML],eL=[T.TD,T.TH];class eD{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=T.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===T.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===b.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){let r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==b.HTML);this.shortenToLength(t<0?0:t)}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop=0;n--)if(e.includes(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return -1}clearBackTo(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(eN,b.HTML)}clearBackToTableBodyContext(){this.clearBackTo(eR,b.HTML)}clearBackToTableRowContext(){this.clearBackTo(eI,b.HTML)}remove(e){let t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===T.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===T.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(ex.get(n)===r)return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(eh(t)&&n===b.HTML)break;if(ex.get(t)===n)return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if((n===T.UL||n===T.OL)&&r===b.HTML||ex.get(n)===r)return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(n===T.BUTTON&&r===b.HTML||ex.get(n)===r)return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n===T.TABLE||n===T.TEMPLATE||n===T.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(n===b.HTML){if(t===T.TBODY||t===T.THEAD||t===T.TFOOT)break;if(t===T.TABLE||t===T.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n!==T.OPTION&&n!==T.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;ek.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;eC.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&eC.has(this.currentTagId);)this.pop()}}(p=A=A||(A={}))[p.Marker=0]="Marker",p[p.Element=1]="Element";let eP={type:A.Marker};class eM{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let n=[],r=t.length,a=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let e=0;e[e.name,e.value])),a=0;for(let e=0;er.get(e.name)===e.value)&&(a+=1)>=3&&this.entries.splice(t.idx,1)}}insertMarker(){this.entries.unshift(eP)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:A.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:A.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);t>=0&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(eP);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===A.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===A.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===A.Element&&t.element===e)}}function eF(e){return{nodeName:"#text",value:e,parentNode:null}}let eB={createDocument:()=>({nodeName:"#document",mode:E.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){let r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,n,r){let a=e.childNodes.find(e=>"#documentType"===e.nodeName);a?(a.name=t,a.publicId=n,a.systemId=r):eB.appendChild(e,{nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null})},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let n=e.childNodes[e.childNodes.length-1];if(eB.isTextNode(n)){n.value+=t;return}}eB.appendChild(e,eF(t))},insertTextBefore(e,t,n){let r=e.childNodes[e.childNodes.indexOf(n)-1];r&&eB.isTextNode(r)?r.value+=t:eB.insertBefore(e,eF(t),n)},adoptAttributes(e,t){let n=new Set(e.attrs.map(e=>e.name));for(let r=0;re.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},ej="html",eU=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],eG=[...eU,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],eH=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),e$=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],ez=[...e$,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function eZ(e,t){return t.some(t=>e.startsWith(t))}let eW={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},eV=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),eY=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:b.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:b.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:b.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:b.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:b.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:b.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:b.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:b.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:b.XML}],["xml:space",{prefix:"xml",name:"space",namespace:b.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:b.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:b.XMLNS}]]),eq=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),eK=new Set([T.B,T.BIG,T.BLOCKQUOTE,T.BODY,T.BR,T.CENTER,T.CODE,T.DD,T.DIV,T.DL,T.DT,T.EM,T.EMBED,T.H1,T.H2,T.H3,T.H4,T.H5,T.H6,T.HEAD,T.HR,T.I,T.IMG,T.LI,T.LISTING,T.MENU,T.META,T.NOBR,T.OL,T.P,T.PRE,T.RUBY,T.S,T.SMALL,T.SPAN,T.STRONG,T.STRIKE,T.SUB,T.SUP,T.TABLE,T.TT,T.U,T.UL,T.VAR]);function eX(e){for(let t=0;t0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null===(r=(n=this.treeAdapter).onItemPop)||void 0===r||r.call(n,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let n=e===this.document||this.treeAdapter.getNamespaceURI(e)===b.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,b.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=O.TEXT}switchToPlaintextParsing(){this.insertionMode=O.TEXT,this.originalInsertionMode=O.IN_BODY,this.tokenizer.state=em.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===v.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===b.HTML)switch(this.fragmentContextID){case T.TITLE:case T.TEXTAREA:this.tokenizer.state=em.RCDATA;break;case T.STYLE:case T.XMP:case T.IFRAME:case T.NOEMBED:case T.NOFRAMES:case T.NOSCRIPT:this.tokenizer.state=em.RAWTEXT;break;case T.SCRIPT:this.tokenizer.state=em.SCRIPT_DATA;break;case T.PLAINTEXT:this.tokenizer.state=em.PLAINTEXT}}_setDocumentType(e){let t=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){let t=this.treeAdapter.getChildNodes(this.document),n=t.find(e=>this.treeAdapter.isDocumentTypeNode(e));n&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){let n=this.treeAdapter.createElement(e,b.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,b.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(v.HTML,b.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,T.HTML)}_appendCommentNode(e,t){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let r=this.treeAdapter.getChildNodes(t),a=n?r.lastIndexOf(n):r.length,i=r[a-1],o=this.treeAdapter.getNodeSourceCodeLocation(i);if(o){let{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let n=t.location,r=this.treeAdapter.getTagName(e),a=t.type===m.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,a)}}shouldProcessStartTagTokenInForeignContent(e){let t,n;return!!this.currentNotInHTML&&(0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):{current:t,currentTagId:n}=this.openElements,(e.tagID!==T.SVG||this.treeAdapter.getTagName(t)!==v.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==b.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===T.MGLYPH||e.tagID===T.MALIGNMARK)&&!this._isIntegrationPoint(n,t,b.HTML)))}_processToken(e){switch(e.type){case m.CHARACTER:this.onCharacter(e);break;case m.NULL_CHARACTER:this.onNullCharacter(e);break;case m.COMMENT:this.onComment(e);break;case m.DOCTYPE:this.onDoctype(e);break;case m.START_TAG:this._processStartTag(e);break;case m.END_TAG:this.onEndTag(e);break;case m.EOF:this.onEof(e);break;case m.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){let r=this.treeAdapter.getNamespaceURI(t),a=this.treeAdapter.getAttrList(t);return(!n||n===b.HTML)&&function(e,t,n){if(t===b.MATHML&&e===T.ANNOTATION_XML){for(let e=0;ee.type===A.Marker||this.openElements.contains(e.element)),n=t<0?e-1:t-1;for(let e=n;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=O.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(T.P),this.openElements.popUntilTagNamePopped(T.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case T.TR:this.insertionMode=O.IN_ROW;return;case T.TBODY:case T.THEAD:case T.TFOOT:this.insertionMode=O.IN_TABLE_BODY;return;case T.CAPTION:this.insertionMode=O.IN_CAPTION;return;case T.COLGROUP:this.insertionMode=O.IN_COLUMN_GROUP;return;case T.TABLE:this.insertionMode=O.IN_TABLE;return;case T.BODY:this.insertionMode=O.IN_BODY;return;case T.FRAMESET:this.insertionMode=O.IN_FRAMESET;return;case T.SELECT:this._resetInsertionModeForSelect(e);return;case T.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case T.HTML:this.insertionMode=this.headElement?O.AFTER_HEAD:O.BEFORE_HEAD;return;case T.TD:case T.TH:if(e>0){this.insertionMode=O.IN_CELL;return}break;case T.HEAD:if(e>0){this.insertionMode=O.IN_HEAD;return}}this.insertionMode=O.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===T.TEMPLATE)break;if(e===T.TABLE){this.insertionMode=O.IN_SELECT_IN_TABLE;return}}this.insertionMode=O.IN_SELECT}_isElementCausesFosterParenting(e){return e1.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case T.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===b.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case T.TABLE:{let n=this.treeAdapter.getParentNode(t);if(n)return{parent:n,beforeElement:t};return{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){let n=this.treeAdapter.getNamespaceURI(e);return ef[n].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){this._insertCharacters(e),this.framesetOk=!1;return}switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.IN_BODY:case O.IN_CAPTION:case O.IN_CELL:case O.IN_TEMPLATE:ts(this,e);break;case O.TEXT:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tm(this,e);break;case O.IN_TABLE_TEXT:tT(this,e);break;case O.IN_COLUMN_GROUP:t_(this,e);break;case O.AFTER_BODY:tD(this,e);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){e.chars="�",this._insertCharacters(e);return}switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.TEXT:this._insertCharacters(e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tm(this,e);break;case O.IN_COLUMN_GROUP:t_(this,e);break;case O.AFTER_BODY:tD(this,e);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){e4(this,e);return}switch(this.insertionMode){case O.INITIAL:case O.BEFORE_HTML:case O.BEFORE_HEAD:case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:case O.IN_BODY:case O.IN_TABLE:case O.IN_CAPTION:case O.IN_COLUMN_GROUP:case O.IN_TABLE_BODY:case O.IN_ROW:case O.IN_CELL:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:case O.IN_TEMPLATE:case O.IN_FRAMESET:case O.AFTER_FRAMESET:e4(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case O.INITIAL:!function(e,t){e._setDocumentType(t);let n=t.forceQuirks?E.QUIRKS:function(e){if(e.name!==ej)return E.QUIRKS;let{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return E.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),eH.has(n))return E.QUIRKS;let e=null===t?eG:eU;if(eZ(n,e))return E.QUIRKS;if(eZ(n,e=null===t?e$:ez))return E.LIMITED_QUIRKS}return E.NO_QUIRKS}(t);t.name===ej&&null===t.publicId&&(null===t.systemId||"about:legacy-compat"===t.systemId)||e._err(t,g.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=O.BEFORE_HTML}(this,e);break;case O.BEFORE_HEAD:case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:this._err(e,g.misplacedDoctype);break;case O.IN_TABLE_TEXT:tS(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,g.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){let t=e.tagID,n=t===T.FONT&&e.attrs.some(({name:e})=>e===y.COLOR||e===y.SIZE||e===y.FACE);return n||eK.has(t)}(t))tM(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===b.MATHML?eX(t):r===b.SVG&&(function(e){let t=eq.get(e.tagName);null!=t&&(e.tagName=t,e.tagID=ed(e.tagName))}(t),eQ(t)),eJ(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e.tagID===T.HTML?(this._insertElement(e,b.HTML),this.insertionMode=O.BEFORE_HEAD):e8(this,e);break;case O.BEFORE_HEAD:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.HEAD:e._insertElement(t,b.HTML),e.headElement=e.openElements.current,e.insertionMode=O.IN_HEAD;break;default:e7(e,t)}}(this,e);break;case O.IN_HEAD:te(this,e);break;case O.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BASEFONT:case T.BGSOUND:case T.HEAD:case T.LINK:case T.META:case T.NOFRAMES:case T.STYLE:te(e,t);break;case T.NOSCRIPT:e._err(t,g.nestedNoscriptInHead);break;default:tr(e,t)}}(this,e);break;case O.AFTER_HEAD:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BODY:e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=O.IN_BODY;break;case T.FRAMESET:e._insertElement(t,b.HTML),e.insertionMode=O.IN_FRAMESET;break;case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:e._err(t,g.abandonedHeadElementChild),e.openElements.push(e.headElement,T.HEAD),te(e,t),e.openElements.remove(e.headElement);break;case T.HEAD:e._err(t,g.misplacedStartTagForHeadElement);break;default:ta(e,t)}}(this,e);break;case O.IN_BODY:tp(this,e);break;case O.IN_TABLE:tb(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_CAPTION:!function(e,t){let n=t.tagID;tA.has(n)?e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_TABLE,tb(e,t)):tp(e,t)}(this,e);break;case O.IN_COLUMN_GROUP:tO(this,e);break;case O.IN_TABLE_BODY:tk(this,e);break;case O.IN_ROW:tx(this,e);break;case O.IN_CELL:!function(e,t){let n=t.tagID;tA.has(n)?(e.openElements.hasInTableScope(T.TD)||e.openElements.hasInTableScope(T.TH))&&(e._closeTableCell(),tx(e,t)):tp(e,t)}(this,e);break;case O.IN_SELECT:tI(this,e);break;case O.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e._processStartTag(t)):tI(e,t)}(this,e);break;case O.IN_TEMPLATE:!function(e,t){switch(t.tagID){case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:te(e,t);break;case T.CAPTION:case T.COLGROUP:case T.TBODY:case T.TFOOT:case T.THEAD:e.tmplInsertionModeStack[0]=O.IN_TABLE,e.insertionMode=O.IN_TABLE,tb(e,t);break;case T.COL:e.tmplInsertionModeStack[0]=O.IN_COLUMN_GROUP,e.insertionMode=O.IN_COLUMN_GROUP,tO(e,t);break;case T.TR:e.tmplInsertionModeStack[0]=O.IN_TABLE_BODY,e.insertionMode=O.IN_TABLE_BODY,tk(e,t);break;case T.TD:case T.TH:e.tmplInsertionModeStack[0]=O.IN_ROW,e.insertionMode=O.IN_ROW,tx(e,t);break;default:e.tmplInsertionModeStack[0]=O.IN_BODY,e.insertionMode=O.IN_BODY,tp(e,t)}}(this,e);break;case O.AFTER_BODY:e.tagID===T.HTML?tp(this,e):tD(this,e);break;case O.IN_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.FRAMESET:e._insertElement(t,b.HTML);break;case T.FRAME:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.NOFRAMES:te(e,t)}}(this,e);break;case O.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.NOFRAMES:te(e,t)}}(this,e);break;case O.AFTER_AFTER_BODY:e.tagID===T.HTML?tp(this,e):tP(this,e);break;case O.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.NOFRAMES:te(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===T.P||t.tagID===T.BR){tM(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){let r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===b.HTML){e._endTagOutsideForeignContent(t);break}let a=e.treeAdapter.getTagName(r);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){var t;switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:!function(e,t){let n=t.tagID;(n===T.HTML||n===T.HEAD||n===T.BODY||n===T.BR)&&e8(e,t)}(this,e);break;case O.BEFORE_HEAD:!function(e,t){let n=t.tagID;n===T.HEAD||n===T.BODY||n===T.HTML||n===T.BR?e7(e,t):e._err(t,g.endTagWithoutMatchingOpenElement)}(this,e);break;case O.IN_HEAD:!function(e,t){switch(t.tagID){case T.HEAD:e.openElements.pop(),e.insertionMode=O.AFTER_HEAD;break;case T.BODY:case T.BR:case T.HTML:tn(e,t);break;case T.TEMPLATE:tt(e,t);break;default:e._err(t,g.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case T.NOSCRIPT:e.openElements.pop(),e.insertionMode=O.IN_HEAD;break;case T.BR:tr(e,t);break;default:e._err(t,g.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.AFTER_HEAD:!function(e,t){switch(t.tagID){case T.BODY:case T.HTML:case T.BR:ta(e,t);break;case T.TEMPLATE:tt(e,t);break;default:e._err(t,g.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.IN_BODY:th(this,e);break;case O.TEXT:e.tagID===T.SCRIPT&&(null===(t=this.scriptHandler)||void 0===t||t.call(this,this.openElements.current)),this.openElements.pop(),this.insertionMode=this.originalInsertionMode;break;case O.IN_TABLE:ty(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_CAPTION:!function(e,t){let n=t.tagID;switch(n){case T.CAPTION:case T.TABLE:e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_TABLE,n===T.TABLE&&ty(e,t));break;case T.BODY:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:th(e,t)}}(this,e);break;case O.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case T.COLGROUP:e.openElements.currentTagId===T.COLGROUP&&(e.openElements.pop(),e.insertionMode=O.IN_TABLE);break;case T.TEMPLATE:tt(e,t);break;case T.COL:break;default:t_(e,t)}}(this,e);break;case O.IN_TABLE_BODY:tC(this,e);break;case O.IN_ROW:tw(this,e);break;case O.IN_CELL:!function(e,t){let n=t.tagID;switch(n){case T.TD:case T.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_ROW);break;case T.TABLE:case T.TBODY:case T.TFOOT:case T.THEAD:case T.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),tw(e,t));break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:break;default:th(e,t)}}(this,e);break;case O.IN_SELECT:tR(this,e);break;case O.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e.onEndTag(t)):tR(e,t)}(this,e);break;case O.IN_TEMPLATE:e.tagID===T.TEMPLATE&&tt(this,e);break;case O.AFTER_BODY:tL(this,e);break;case O.IN_FRAMESET:e.tagID!==T.FRAMESET||this.openElements.isRootHtmlElementCurrent()||(this.openElements.pop(),this.fragmentContext||this.openElements.currentTagId===T.FRAMESET||(this.insertionMode=O.AFTER_FRAMESET));break;case O.AFTER_FRAMESET:e.tagID===T.HTML&&(this.insertionMode=O.AFTER_AFTER_FRAMESET);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onEof(e){switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.IN_BODY:case O.IN_TABLE:case O.IN_CAPTION:case O.IN_COLUMN_GROUP:case O.IN_TABLE_BODY:case O.IN_ROW:case O.IN_CELL:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:tg(this,e);break;case O.TEXT:this._err(e,g.eofInElementThatCanContainOnlyText),this.openElements.pop(),this.insertionMode=this.originalInsertionMode,this.onEof(e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_TEMPLATE:tN(this,e);break;case O.AFTER_BODY:case O.IN_FRAMESET:case O.AFTER_FRAMESET:case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:e6(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===h.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:case O.TEXT:case O.IN_COLUMN_GROUP:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:case O.IN_FRAMESET:case O.AFTER_FRAMESET:this._insertCharacters(e);break;case O.IN_BODY:case O.IN_CAPTION:case O.IN_CELL:case O.IN_TEMPLATE:case O.AFTER_BODY:case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:to(this,e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tm(this,e);break;case O.IN_TABLE_TEXT:tv(this,e)}}}function e5(e,t){for(let n=0;n<8;n++){let n=function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):tf(e,t),n}(e,t);if(!n)break;let r=function(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){let a=e.openElements.items[r];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[r])&&(n=a)}return n||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;let a=function(e,t,n){let r=t,a=e.openElements.getCommonAncestor(t);for(let i=0,o=a;o!==n;i++,o=a){a=e.openElements.getCommonAncestor(o);let n=e.activeFormattingElements.getElementEntry(o),s=n&&i>=3,l=!n||s;l?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(o)):(o=function(e,t){let n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}(e,r,n.element),i=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(a),i&&function(e,t,n){let r=e.treeAdapter.getTagName(t),a=ed(r);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(n);else{let r=e.treeAdapter.getNamespaceURI(t);a===T.TEMPLATE&&r===b.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}(e,i,a),function(e,t,n){let r=e.treeAdapter.getNamespaceURI(n.element),{token:a}=n,i=e.treeAdapter.createElement(a.tagName,r,a.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,a),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,a.tagID)}(e,r,n)}}function e4(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function e6(e,t){if(e.stopped=!0,t.location){let n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){let n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function e9(e,t){e._err(t,g.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,E.QUIRKS),e.insertionMode=O.BEFORE_HTML,e._processToken(t)}function e8(e,t){e._insertFakeRootElement(),e.insertionMode=O.BEFORE_HEAD,e._processToken(t)}function e7(e,t){e._insertFakeElement(v.HEAD,T.HEAD),e.headElement=e.openElements.current,e.insertionMode=O.IN_HEAD,e._processToken(t)}function te(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.TITLE:e._switchToTextParsing(t,em.RCDATA);break;case T.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,em.RAWTEXT):(e._insertElement(t,b.HTML),e.insertionMode=O.IN_HEAD_NO_SCRIPT);break;case T.NOFRAMES:case T.STYLE:e._switchToTextParsing(t,em.RAWTEXT);break;case T.SCRIPT:e._switchToTextParsing(t,em.SCRIPT_DATA);break;case T.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=O.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(O.IN_TEMPLATE);break;case T.HEAD:e._err(t,g.misplacedStartTagForHeadElement);break;default:tn(e,t)}}function tt(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==T.TEMPLATE&&e._err(t,g.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,g.endTagWithoutMatchingOpenElement)}function tn(e,t){e.openElements.pop(),e.insertionMode=O.AFTER_HEAD,e._processToken(t)}function tr(e,t){let n=t.type===m.EOF?g.openElementsLeftAfterEof:g.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=O.IN_HEAD,e._processToken(t)}function ta(e,t){e._insertFakeElement(v.BODY,T.BODY),e.insertionMode=O.IN_BODY,ti(e,t)}function ti(e,t){switch(t.type){case m.CHARACTER:ts(e,t);break;case m.WHITESPACE_CHARACTER:to(e,t);break;case m.COMMENT:e4(e,t);break;case m.START_TAG:tp(e,t);break;case m.END_TAG:th(e,t);break;case m.EOF:tg(e,t)}}function to(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function ts(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function tl(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function tc(e){let t=el(e,y.TYPE);return null!=t&&"hidden"===t.toLowerCase()}function tu(e,t){e._switchToTextParsing(t,em.RAWTEXT)}function td(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML)}function tp(e,t){switch(t.tagID){case T.I:case T.S:case T.B:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.SMALL:case T.STRIKE:case T.STRONG:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case T.A:!function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(v.A);n&&(e5(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),eh(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,b.HTML);break;case T.P:case T.DL:case T.OL:case T.UL:case T.DIV:case T.DIR:case T.NAV:case T.MAIN:case T.MENU:case T.ASIDE:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.DETAILS:case T.ADDRESS:case T.ARTICLE:case T.SECTION:case T.SUMMARY:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML);break;case T.LI:case T.DD:case T.DT:!function(e,t){e.framesetOk=!1;let n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let r=e.openElements.tagIDs[t];if(n===T.LI&&r===T.LI||(n===T.DD||n===T.DT)&&(r===T.DD||r===T.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==T.ADDRESS&&r!==T.DIV&&r!==T.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML)}(e,t);break;case T.BR:case T.IMG:case T.WBR:case T.AREA:case T.EMBED:case T.KEYGEN:tl(e,t);break;case T.HR:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0;break;case T.RB:case T.RTC:e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,b.HTML);break;case T.RT:case T.RP:e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(T.RTC),e._insertElement(t,b.HTML);break;case T.PRE:case T.LISTING:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.framesetOk=!1;break;case T.XMP:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,em.RAWTEXT);break;case T.SVG:e._reconstructActiveFormattingElements(),eQ(t),eJ(t),t.selfClosing?e._appendElement(t,b.SVG):e._insertElement(t,b.SVG),t.ackSelfClosing=!0;break;case T.HTML:0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs);break;case T.BASE:case T.LINK:case T.META:case T.STYLE:case T.TITLE:case T.SCRIPT:case T.BGSOUND:case T.BASEFONT:case T.TEMPLATE:te(e,t);break;case T.BODY:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t);break;case T.FORM:!function(e,t){let n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),n||(e.formElement=e.openElements.current))}(e,t);break;case T.NOBR:e._reconstructActiveFormattingElements(),e.openElements.hasInScope(T.NOBR)&&(e5(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case T.MATH:e._reconstructActiveFormattingElements(),eX(t),eJ(t),t.selfClosing?e._appendElement(t,b.MATHML):e._insertElement(t,b.MATHML),t.ackSelfClosing=!0;break;case T.TABLE:e.treeAdapter.getDocumentMode(e.document)!==E.QUIRKS&&e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=O.IN_TABLE;break;case T.INPUT:e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),tc(t)||(e.framesetOk=!1),t.ackSelfClosing=!0;break;case T.PARAM:case T.TRACK:case T.SOURCE:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.IMAGE:t.tagName=v.IMG,t.tagID=T.IMG,tl(e,t);break;case T.BUTTON:e.openElements.hasInScope(T.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1;break;case T.APPLET:case T.OBJECT:case T.MARQUEE:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1;break;case T.IFRAME:e.framesetOk=!1,e._switchToTextParsing(t,em.RAWTEXT);break;case T.SELECT:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===O.IN_TABLE||e.insertionMode===O.IN_CAPTION||e.insertionMode===O.IN_TABLE_BODY||e.insertionMode===O.IN_ROW||e.insertionMode===O.IN_CELL?O.IN_SELECT_IN_TABLE:O.IN_SELECT;break;case T.OPTION:case T.OPTGROUP:e.openElements.currentTagId===T.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML);break;case T.NOEMBED:tu(e,t);break;case T.FRAMESET:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_FRAMESET)}(e,t);break;case T.TEXTAREA:e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.tokenizer.state=em.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=O.TEXT;break;case T.NOSCRIPT:e.options.scriptingEnabled?tu(e,t):td(e,t);break;case T.PLAINTEXT:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.tokenizer.state=em.PLAINTEXT;break;case T.COL:case T.TH:case T.TD:case T.TR:case T.HEAD:case T.FRAME:case T.TBODY:case T.TFOOT:case T.THEAD:case T.CAPTION:case T.COLGROUP:break;default:td(e,t)}}function tf(e,t){let n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let a=e.openElements.items[t],i=e.openElements.tagIDs[t];if(r===i&&(r!==T.UNKNOWN||e.treeAdapter.getTagName(a)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(a,i))break}}function th(e,t){switch(t.tagID){case T.A:case T.B:case T.I:case T.S:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.NOBR:case T.SMALL:case T.STRIKE:case T.STRONG:e5(e,t);break;case T.P:e.openElements.hasInButtonScope(T.P)||e._insertFakeElement(v.P,T.P),e._closePElement();break;case T.DL:case T.UL:case T.OL:case T.DIR:case T.DIV:case T.NAV:case T.PRE:case T.MAIN:case T.MENU:case T.ASIDE:case T.BUTTON:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.ADDRESS:case T.ARTICLE:case T.DETAILS:case T.SECTION:case T.SUMMARY:case T.LISTING:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case T.LI:e.openElements.hasInListItemScope(T.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(T.LI),e.openElements.popUntilTagNamePopped(T.LI));break;case T.DD:case T.DT:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped());break;case T.BR:e._reconstructActiveFormattingElements(),e._insertFakeElement(v.BR,T.BR),e.openElements.pop(),e.framesetOk=!1;break;case T.BODY:!function(e,t){if(e.openElements.hasInScope(T.BODY)&&(e.insertionMode=O.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}(e,t);break;case T.HTML:e.openElements.hasInScope(T.BODY)&&(e.insertionMode=O.AFTER_BODY,tL(e,t));break;case T.FORM:!function(e){let t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(T.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(T.FORM):n&&e.openElements.remove(n))}(e);break;case T.APPLET:case T.OBJECT:case T.MARQUEE:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}(e,t);break;case T.TEMPLATE:tt(e,t);break;default:tf(e,t)}}function tg(e,t){e.tmplInsertionModeStack.length>0?tN(e,t):e6(e,t)}function tm(e,t){if(e1.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=O.IN_TABLE_TEXT,t.type){case m.CHARACTER:tT(e,t);break;case m.WHITESPACE_CHARACTER:tv(e,t)}else tE(e,t)}function tb(e,t){switch(t.tagID){case T.TD:case T.TH:case T.TR:e.openElements.clearBackToTableContext(),e._insertFakeElement(v.TBODY,T.TBODY),e.insertionMode=O.IN_TABLE_BODY,tk(e,t);break;case T.STYLE:case T.SCRIPT:case T.TEMPLATE:te(e,t);break;case T.COL:e.openElements.clearBackToTableContext(),e._insertFakeElement(v.COLGROUP,T.COLGROUP),e.insertionMode=O.IN_COLUMN_GROUP,tO(e,t);break;case T.FORM:e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,b.HTML),e.formElement=e.openElements.current,e.openElements.pop());break;case T.TABLE:e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode(),e._processStartTag(t));break;case T.TBODY:case T.TFOOT:case T.THEAD:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_TABLE_BODY;break;case T.INPUT:tc(t)?e._appendElement(t,b.HTML):tE(e,t),t.ackSelfClosing=!0;break;case T.CAPTION:e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_CAPTION;break;case T.COLGROUP:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_COLUMN_GROUP;break;default:tE(e,t)}}function ty(e,t){switch(t.tagID){case T.TABLE:e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode());break;case T.TEMPLATE:tt(e,t);break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:tE(e,t)}}function tE(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,ti(e,t),e.fosterParentingEnabled=n}function tv(e,t){e.pendingCharacterTokens.push(t)}function tT(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function tS(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0&&e.openElements.currentTagId===T.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===T.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===T.OPTGROUP&&e.openElements.pop();break;case T.OPTION:e.openElements.currentTagId===T.OPTION&&e.openElements.pop();break;case T.SELECT:e.openElements.hasInSelectScope(T.SELECT)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode());break;case T.TEMPLATE:tt(e,t)}}function tN(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):e6(e,t)}function tL(e,t){var n;if(t.tagID===T.HTML){if(e.fragmentContext||(e.insertionMode=O.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===T.HTML){e._setEndLocation(e.openElements.items[0],t);let r=e.openElements.items[1];!r||(null===(n=e.treeAdapter.getNodeSourceCodeLocation(r))||void 0===n?void 0:n.endTag)||e._setEndLocation(r,t)}}else tD(e,t)}function tD(e,t){e.insertionMode=O.IN_BODY,ti(e,t)}function tP(e,t){e.insertionMode=O.IN_BODY,ti(e,t)}function tM(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==b.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}n(43470),v.AREA,v.BASE,v.BASEFONT,v.BGSOUND,v.BR,v.COL,v.EMBED,v.FRAME,v.HR,v.IMG,v.INPUT,v.KEYGEN,v.LINK,v.META,v.PARAM,v.SOURCE,v.TRACK,v.WBR;var tF=n(3980),tB=n(21623);let tj=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),tU={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function tG(e,t){let n=function(e){let t="root"===e.type?e.children[0]:e;return!!(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName.toLowerCase()))}(e),r=q("type",{handlers:{root:t$,element:tz,text:tZ,comment:tV,doctype:tW,raw:tY},unknown:tq}),a={parser:n?new e3(tU):e3.getFragmentParser(void 0,tU),handle(e){r(e,a)},stitches:!1,options:t||{}};r(e,a),tK(a,(0,tF.Pk)());let i=n?a.parser.document:a.parser.getFragment(),o=function(e,t){let n=t||{};return $({file:n.file||void 0,location:!1,schema:"svg"===n.space?C.YP:C.dy,verbose:n.verbose||!1},e)}(i,{file:a.options.file});return(a.stitches&&(0,tB.Vn)(o,"comment",function(e,t,n){if(e.value.stitch&&n&&void 0!==t){let r=n.children;return r[t]=e.value.stitch,t}}),"root"===o.type&&1===o.children.length&&o.children[0].type===e.type)?o.children[0]:o}function tH(e,t){let n=-1;if(e)for(;++n4&&(t.parser.tokenizer.state=0);let n={type:m.CHARACTER,chars:e.value,location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tW(e,t){let n={type:m.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tV(e,t){let n=e.value,r={type:m.COMMENT,data:n,location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function tY(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,tX(t,(0,tF.Pk)(e)),t.parser.tokenizer.write(e.value,!1),t.parser.tokenizer._runParsingLoop(),72===t.parser.tokenizer.state||78===t.parser.tokenizer.state){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;let e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function tq(e,t){if(t.options.passThrough&&t.options.passThrough.includes(e.type))!function(e,t){t.stitches=!0;let n="children"in e?(0,_.ZP)({...e,children:[]}):(0,_.ZP)(e);if("children"in e&&"children"in n){let r=tG({type:"root",children:e.children},t.options);n.children=r.children}tV({type:"comment",value:{stitch:n}},t)}(e,t);else{let t="";throw tj.has(e.type)&&(t=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),Error("Cannot compile `"+e.type+"` node"+t)}}function tK(e,t){tX(e,t);let n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=em.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function tX(e,t){if(t&&void 0!==t.offset){let n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function tQ(e){let t=(0,tF.Pk)(e)||{line:void 0,column:void 0,offset:void 0},n=(0,tF.rb)(e)||{line:void 0,column:void 0,offset:void 0},r={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset};return r}function tJ(e){return function(t,n){let r=tG(t,{...e,file:n});return r}}},78600:function(e,t,n){"use strict";function r(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,a=n.indexOf(t);for(;-1!==a;)r++,a=n.indexOf(t,a+t.length);return r}n.d(t,{Z:function(){return eQ}});var a=n(24345),i=n(15459),o=n(88718),s=n(96093);let l="phrasing",c=["autolink","link","image","label"];function u(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function d(e){this.config.enter.autolinkProtocol.call(this,e)}function p(e){this.config.exit.autolinkProtocol.call(this,e)}function f(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];(0,a.ok)("link"===t.type),t.url="http://"+this.sliceSerialize(e)}function h(e){this.config.exit.autolinkEmail.call(this,e)}function g(e){this.exit(e)}function m(e){!function(e,t,n){let r=(0,s.O)((n||{}).ignore||[]),a=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r0?{type:"text",value:i}:void 0),!1===i?r.lastIndex=n+1:(s!==n&&d.push({type:"text",value:e.value.slice(s,n)}),Array.isArray(i)?d.push(...i):i&&d.push(i),s=n+p[0].length,u=!0),!r.global)break;p=r.exec(e.value)}return u?(s?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],a=n.indexOf(")"),i=r(e,"("),o=r(e,")");for(;-1!==a&&i>o;)e+=n.slice(0,a+1),a=(n=n.slice(a+1)).indexOf(")"),o++;return[e,n]}(n+a);if(!s[0])return!1;let l={type:"link",title:null,url:o+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[l,{type:"text",value:s[1]}]:l}function y(e,t,n,r){return!(!E(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function E(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||(0,i.B8)(n)||(0,i.Xh)(n))&&(!t||47!==n)}var v=n(11098);function T(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function S(){this.buffer()}function A(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteDefinition"===n.type),n.label=t,n.identifier=(0,v.d)(this.sliceSerialize(e)).toLowerCase()}function O(e){this.exit(e)}function _(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function k(){this.buffer()}function C(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteReference"===n.type),n.label=t,n.identifier=(0,v.d)(this.sliceSerialize(e)).toLowerCase()}function x(e){this.exit(e)}function w(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteReference"),s=n.enter("reference");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),o(),i+=a.move("]")}function I(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteDefinition"),s=n.enter("label");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),i+=a.move("]:"+(e.children&&e.children.length>0?" ":"")),a.shift(4),i+=a.move(n.indentLines(n.containerFlow(e,a.current()),R)),o(),i}function R(e,t,n){return 0===t?e:(n?"":" ")+e}w.peek=function(){return"["};let N=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function L(e){this.enter({type:"delete",children:[]},e)}function D(e){this.exit(e)}function P(e,t,n,r){let a=n.createTracker(r),i=n.enter("strikethrough"),o=a.move("~~");return o+=n.containerPhrasing(e,{...a.current(),before:o,after:"~"})+a.move("~~"),i(),o}function M(e){return e.length}function F(e){let t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function B(e,t,n){return">"+(n?"":" ")+e}function j(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),c+=l.move(")"),o(),c}function q(e,t,n,r){let a=e.referenceType,i=n.enter("imageReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("!["),c=n.safe(e.alt,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function K(e,t,n){let r=e.value||"",a="`",i=-1;for(;RegExp("(^|[^`])"+a+"([^`]|$)").test(r);)a+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i\u007F]/.test(e.url))}function Q(e,t,n,r){let a,i;let o=$(n),s='"'===o?"Quote":"Apostrophe",l=n.createTracker(r);if(X(e,n)){let t=n.stack;n.stack=[],a=n.enter("autolink");let r=l.move("<");return r+=l.move(n.containerPhrasing(e,{before:r,after:">",...l.current()}))+l.move(">"),a(),n.stack=t,r}a=n.enter("link"),i=n.enter("label");let c=l.move("[");return c+=l.move(n.containerPhrasing(e,{before:c,after:"](",...l.current()}))+l.move("]("),i(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(i=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(i=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),i(),e.title&&(i=n.enter(`title${s}`),c+=l.move(" "+o),c+=l.move(n.safe(e.title,{before:c,after:o,...l.current()}))+l.move(o),i()),c+=l.move(")"),a(),c}function J(e,t,n,r){let a=e.referenceType,i=n.enter("linkReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("["),c=n.containerPhrasing(e,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function ee(e){let t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function et(e){let t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}V.peek=function(){return"<"},Y.peek=function(){return"!"},q.peek=function(){return"!"},K.peek=function(){return"`"},Q.peek=function(e,t,n){return X(e,n)?"<":"["},J.peek=function(){return"["};let en=(0,s.O)(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function er(e,t,n,r){let a=function(e){let t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(n),i=n.enter("strong"),o=n.createTracker(r),s=o.move(a+a);return s+=o.move(n.containerPhrasing(e,{before:s,after:a,...o.current()}))+o.move(a+a),i(),s}er.peek=function(e,t,n){return n.options.strong||"*"};let ea={blockquote:function(e,t,n,r){let a=n.enter("blockquote"),i=n.createTracker(r);i.move("> "),i.shift(2);let o=n.indentLines(n.containerFlow(e,i.current()),B);return a(),o},break:U,code:function(e,t,n,r){let a=function(e){let t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),i=e.value||"",o="`"===a?"GraveAccent":"Tilde";if(!1===n.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value)){let e=n.enter("codeIndented"),t=n.indentLines(i,H);return e(),t}let s=n.createTracker(r),l=a.repeat(Math.max((0,G.J)(i,a)+1,3)),c=n.enter("codeFenced"),u=s.move(l);if(e.lang){let t=n.enter(`codeFencedLang${o}`);u+=s.move(n.safe(e.lang,{before:u,after:" ",encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${o}`);u+=s.move(" "),u+=s.move(n.safe(e.meta,{before:u,after:"\n",encode:["`"],...s.current()})),t()}return u+=s.move("\n"),i&&(u+=s.move(i+"\n")),u+=s.move(l),c(),u},definition:function(e,t,n,r){let a=$(n),i='"'===a?"Quote":"Apostrophe",o=n.enter("definition"),s=n.enter("label"),l=n.createTracker(r),c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()}))+l.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":"\n",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),o(),c},emphasis:z,hardBreak:U,heading:function(e,t,n,r){let a;let i=Math.max(Math.min(6,e.depth||1),1),s=n.createTracker(r);if(a=!1,(0,Z.Vn)(e,function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return a=!0,o.BK}),(!e.depth||e.depth<3)&&(0,W.B)(e)&&(n.options.setext||a)){let t=n.enter("headingSetext"),r=n.enter("phrasing"),a=n.containerPhrasing(e,{...s.current(),before:"\n",after:"\n"});return r(),t(),a+"\n"+(1===i?"=":"-").repeat(a.length-(Math.max(a.lastIndexOf("\r"),a.lastIndexOf("\n"))+1))}let l="#".repeat(i),c=n.enter("headingAtx"),u=n.enter("phrasing");s.move(l+" ");let d=n.containerPhrasing(e,{before:"# ",after:"\n",...s.current()});return/^[\t ]/.test(d)&&(d="&#x"+d.charCodeAt(0).toString(16).toUpperCase()+";"+d.slice(1)),d=d?l+" "+d:l,n.options.closeAtx&&(d+=" "+l),u(),c(),d},html:V,image:Y,imageReference:q,inlineCode:K,link:Q,linkReference:J,list:function(e,t,n,r){let a=n.enter("list"),i=n.bulletCurrent,o=e.ordered?function(e){let t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):ee(n),s=e.ordered?"."===o?")":".":function(e){let t=ee(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n),l=!!t&&!!n.bulletLastUsed&&o===n.bulletLastUsed;if(!e.ordered){let t=e.children?e.children[0]:void 0;if("*"!==o&&"-"!==o||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(l=!0),et(n)===o&&t){let t=-1;for(;++t-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+i);let o=i.length+1;("tab"===a||"mixed"===a&&(t&&"list"===t.type&&t.spread||e.spread))&&(o=4*Math.ceil(o/4));let s=n.createTracker(r);s.move(i+" ".repeat(o-i.length)),s.shift(o);let l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),function(e,t,n){return t?(n?"":" ".repeat(o))+e:(n?i:i+" ".repeat(o-i.length))+e});return l(),c},paragraph:function(e,t,n,r){let a=n.enter("paragraph"),i=n.enter("phrasing"),o=n.containerPhrasing(e,r);return i(),a(),o},root:function(e,t,n,r){let a=e.children.some(function(e){return en(e)}),i=a?n.containerPhrasing:n.containerFlow;return i.call(n,e,r)},strong:er,text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){let r=(et(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}};function ei(e){let t=e._align;(0,a.ok)(t,"expected `_align` on table"),this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function eo(e){this.exit(e),this.data.inTable=void 0}function es(e){this.enter({type:"tableRow",children:[]},e)}function el(e){this.exit(e)}function ec(e){this.enter({type:"tableCell",children:[]},e)}function eu(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,ed));let n=this.stack[this.stack.length-1];(0,a.ok)("inlineCode"===n.type),n.value=t,this.exit(e)}function ed(e,t){return"|"===t?t:e}function ep(e){let t=this.stack[this.stack.length-2];(0,a.ok)("listItem"===t.type),t.checked="taskListCheckValueChecked"===e.type}function ef(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1];(0,a.ok)("paragraph"===e.type);let n=e.children[0];if(n&&"text"===n.type){let r;let a=t.children,i=-1;for(;++i0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}eO[43]=eA,eO[45]=eA,eO[46]=eA,eO[95]=eA,eO[72]=[eA,eS],eO[104]=[eA,eS],eO[87]=[eA,eT],eO[119]=[eA,eT];var eR=n(23402),eN=n(42761);let eL={tokenize:function(e,t,n){let r=this;return(0,eN.f)(e,function(e){let a=r.events[r.events.length-1];return a&&"gfmFootnoteDefinitionIndent"===a[1].type&&4===a[2].sliceSerialize(a[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function eD(e,t,n){let r;let a=this,i=a.events.length,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);for(;i--;){let e=a.events[i][1];if("labelImage"===e.type){r=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(i){if(!r||!r._balanced)return n(i);let s=(0,v.d)(a.sliceSerialize({start:r.end,end:a.now()}));return 94===s.codePointAt(0)&&o.includes(s.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(i),e.exit("gfmFootnoteCallLabelMarker"),t(i)):n(i)}}function eP(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;let i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",a,t],["exit",a,t],["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function eM(e,t,n){let r;let a=this,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),s=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),l};function l(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(l){if(s>999||93===l&&!r||null===l||91===l||(0,i.z3)(l))return n(l);if(93===l){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return o.includes((0,v.d)(a.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(l)}return(0,i.z3)(l)||(r=!0),s++,e.consume(l),92===l?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function eF(e,t,n){let r,a;let o=this,s=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]),l=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(t)}function u(t){if(l>999||93===t&&!a||null===t||91===t||(0,i.z3)(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return r=(0,v.d)(o.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return(0,i.z3)(t)||(a=!0),l++,e.consume(t),92===t?d:u}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}function p(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s.includes(r)||s.push(r),(0,eN.f)(e,f,"gfmFootnoteDefinitionWhitespace")):n(t)}function f(e){return t(e)}}function eB(e,t,n){return e.check(eR.w,t,e.attempt(eL,t,n))}function ej(e){e.exit("gfmFootnoteDefinition")}var eU=n(21905),eG=n(62987),eH=n(63233);class e${constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let a=0;if(0!==n||0!==r.length){for(;a0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function ez(e,t,n){let r;let a=this,o=0,s=0;return function(e){let t=a.events.length-1;for(;t>-1;){let e=a.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let r=t>-1?a.events[t][1].type:null,i="tableHead"===r||"tableRow"===r?E:l;return i===E&&a.parser.lazy[a.now().line]?n(e):i(e)};function l(t){return e.enter("tableHead"),e.enter("tableRow"),124===t||(r=!0,s+=1),c(t)}function c(t){return null===t?n(t):(0,i.Ch)(t)?s>1?(s=0,a.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p):n(t):(0,i.xz)(t)?(0,eN.f)(e,c,"whitespace")(t):(s+=1,r&&(r=!1,o+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,c):(e.enter("data"),u(t))}function u(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),c(t)):(e.consume(t),92===t?d:u)}function d(t){return 92===t||124===t?(e.consume(t),u):u(t)}function p(t){return(a.interrupt=!1,a.parser.lazy[a.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,(0,i.xz)(t))?(0,eN.f)(e,f,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):f(t)}function f(t){return 45===t||58===t?g(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),h):n(t)}function h(t){return(0,i.xz)(t)?(0,eN.f)(e,g,"whitespace")(t):g(t)}function g(t){return 58===t?(s+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),m):45===t?(s+=1,m(t)):null===t||(0,i.Ch)(t)?y(t):n(t)}function m(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),b):(e.exit("tableDelimiterFiller"),b(n))}(t)):n(t)}function b(t){return(0,i.xz)(t)?(0,eN.f)(e,y,"whitespace")(t):y(t)}function y(a){return 124===a?f(a):null===a||(0,i.Ch)(a)?r&&o===s?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(a)):n(a):n(a)}function E(t){return e.enter("tableRow"),v(t)}function v(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),v):null===n||(0,i.Ch)(n)?(e.exit("tableRow"),t(n)):(0,i.xz)(n)?(0,eN.f)(e,v,"whitespace")(n):(e.enter("data"),T(n))}function T(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),v(t)):(e.consume(t),92===t?S:T)}function S(t){return 92===t||124===t?(e.consume(t),T):T(t)}}function eZ(e,t){let n,r,a,i=-1,o=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,d=0,p=new e$;for(;++in[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",o,t]])}return void 0!==a&&(i.end=Object.assign({},eY(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function eV(e,t,n,r,a){let i=[],o=eY(t.events,n);a&&(a.end=Object.assign({},o),i.push(["exit",a,t])),r.end=Object.assign({},o),i.push(["exit",r,t]),e.add(n+1,0,i)}function eY(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}let eq={name:"tasklistCheck",tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),a):n(t)};function a(t){return(0,i.z3)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(t)}function s(r){return(0,i.Ch)(r)?t(r):(0,i.xz)(r)?e.check({tokenize:eK},t,n)(r):n(r)}}};function eK(e,t,n){return(0,eN.f)(e,function(e){return null===e?n(e):t(e)},"whitespace")}let eX={};function eQ(e){let t=e||eX,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),i=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push((0,eg.W)([{text:eO},{document:{91:{name:"gfmFootnoteDefinition",tokenize:eF,continuation:{tokenize:eB},exit:ej}},text:{91:{name:"gfmFootnoteCall",tokenize:eM},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:eD,resolveTo:eP}}},function(e){let t=(e||{}).singleTilde,n={name:"strikethrough",tokenize:function(e,n,r){let a=this.previous,i=this.events,o=0;return function(s){return 126===a&&"characterEscape"!==i[i.length-1][1].type?r(s):(e.enter("strikethroughSequenceTemporary"),function i(s){let l=(0,eG.r)(a);if(126===s)return o>1?r(s):(e.consume(s),o++,i);if(o<2&&!t)return r(s);let c=e.exit("strikethroughSequenceTemporary"),u=(0,eG.r)(s);return c._open=!u||2===u&&!!l,c._close=!l||2===l&&!!u,n(s)}(s))}},resolveAll:function(e,t){let n=-1;for(;++nl&&(l=e[c].length);++ds[d])&&(s[d]=e)}n.push(i)}i[c]=n,o[c]=a}let d=-1;if("object"==typeof n&&"length"in n)for(;++ds[d]&&(s[d]=i),f[d]=i),p[d]=o}i.splice(1,0,p),o.splice(1,0,f),c=-1;let h=[];for(;++c","Iacute":"\xcd","Icirc":"\xce","Igrave":"\xcc","Iuml":"\xcf","LT":"<","Ntilde":"\xd1","Oacute":"\xd3","Ocirc":"\xd4","Ograve":"\xd2","Oslash":"\xd8","Otilde":"\xd5","Ouml":"\xd6","QUOT":"\\"","REG":"\xae","THORN":"\xde","Uacute":"\xda","Ucirc":"\xdb","Ugrave":"\xd9","Uuml":"\xdc","Yacute":"\xdd","aacute":"\xe1","acirc":"\xe2","acute":"\xb4","aelig":"\xe6","agrave":"\xe0","amp":"&","aring":"\xe5","atilde":"\xe3","auml":"\xe4","brvbar":"\xa6","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","eacute":"\xe9","ecirc":"\xea","egrave":"\xe8","eth":"\xf0","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","iacute":"\xed","icirc":"\xee","iexcl":"\xa1","igrave":"\xec","iquest":"\xbf","iuml":"\xef","laquo":"\xab","lt":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","ntilde":"\xf1","oacute":"\xf3","ocirc":"\xf4","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","oslash":"\xf8","otilde":"\xf5","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","raquo":"\xbb","reg":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","thorn":"\xfe","times":"\xd7","uacute":"\xfa","ucirc":"\xfb","ugrave":"\xf9","uml":"\xa8","uuml":"\xfc","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')}},function(e){e.O(0,[3662,7034,6106,8674,3166,2837,2168,8163,1265,7728,2913,3791,5278,9859,4330,4041,8791,5030,5418,2783,3457,1300,4567,2398,2480,7410,7124,9773,4035,1154,2510,3345,9202,7249,3768,5789,9774,2888,179],function(){return e(e.s=8726)}),_N_E=e.O()}]); \ No newline at end of file + */var r=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},a={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=u.reach));S+=T.value.length,T=T.next){var A,O=T.value;if(n.length>t.length)return;if(!(O instanceof i)){var _=1;if(b){if(!(A=o(v,S,t,m))||A.index>=t.length)break;var k=A.index,C=A.index+A[0].length,x=S;for(x+=T.value.length;k>=x;)x+=(T=T.next).value.length;if(x-=T.value.length,S=x,T.value instanceof i)continue;for(var w=T;w!==n.tail&&(xu.reach&&(u.reach=L);var D=T.prev;R&&(D=l(n,D,R),S+=R.length),function(e,t,n){for(var r=t.next,a=0;a1){var M={cause:d+","+f,reach:L};e(t,n,r,T.prev,S,M),u&&M.reach>u.reach&&(u.reach=M.reach)}}}}}}(e,c,t,c.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(c)},hooks:{all:{},add:function(e,t){var n=a.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=a.hooks.all[e];if(n&&n.length)for(var r,i=0;r=n[i++];)r(t)}},Token:i};function i(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var i=a[1].length;a.index+=i,a[0]=a[0].slice(i)}return a}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}if(e.Prism=a,i.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach(function(t){r+=e(t,n)}),r}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},o=t.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(i.classes,o):i.classes.push(o)),a.hooks.run("wrap",i);var s="";for(var l in i.attributes)s+=" "+l+'="'+(i.attributes[l]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+s+">"+i.content+""},!e.document)return e.addEventListener&&(a.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),r=n.language,i=n.code,o=n.immediateClose;e.postMessage(a.highlight(i,a.languages[r],r)),o&&e.close()},!1)),a;var c=a.util.currentScript();function u(){a.manual||a.highlightAll()}if(c&&(a.filename=c.src,c.hasAttribute("data-manual")&&(a.manual=!0)),!a.manual){var d=document.readyState;"loading"===d||"interactive"===d&&c&&c.defer?document.addEventListener("DOMContentLoaded",u):window.requestAnimationFrame?window.requestAnimationFrame(u):window.setTimeout(u,16)}return a}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=r),void 0!==n.g&&(n.g.Prism=r)},96774:function(e){e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),o=Object.keys(t);if(i.length!==o.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;le.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}},88998:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(95778);function a(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},13643:function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,{Z:function(){return r}})},98568:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)}n.d(t,{Z:function(){return a}})},99660:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(88998);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var l=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(l&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;x(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:I(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),b}},t}},55054:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59312);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw a}}return s}}(e,t)||(0,r.Z)(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},27567:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(13643);function a(){return(a="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var a=function(e,t){for(;!({}).hasOwnProperty.call(e,t)&&null!==(e=(0,r.Z)(e)););return e}(e,t);if(a){var i=Object.getOwnPropertyDescriptor(a,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}}).apply(null,arguments)}function i(e,t,n,i){var o=a((0,r.Z)(1&i?e.prototype:e),t,n);return 2&i&&"function"==typeof o?function(e){return o.apply(n,e)}:o}},25585:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(59630),a=n(59312);function i(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,a.Z)(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},95778:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(2846);function a(e){var t=function(e,t){if("object"!=(0,r.Z)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=(0,r.Z)(a))return a;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.Z)(t)?t:t+""}},2846:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{Z:function(){return r}})},59312:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59630);function a(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},21129:function(e,t,n){"use strict";var r=n(4503);t.Z=r},86676:function(e,t,n){"use strict";n.d(t,{r:function(){return a}});let r=/[#.]/g;function a(e,t){let n,a;let i=e||"",o={},s=0;for(;so&&(o=i):i=1,a=r+t.length,r=n.indexOf(t,a);return o}n.d(t,{J:function(){return r}})},24557:function(e,t,n){"use strict";n.d(t,{Z:function(){return ed}});var r={};n.r(r),n.d(r,{boolean:function(){return c},booleanish:function(){return u},commaOrSpaceSeparated:function(){return g},commaSeparated:function(){return h},number:function(){return p},overloadedBoolean:function(){return d},spaceSeparated:function(){return f}});class a{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function i(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new a(n,r,t)}function o(e){return e.toLowerCase()}a.prototype.normal={},a.prototype.property={},a.prototype.space=void 0;class s{constructor(e,t){this.attribute=t,this.property=e}}s.prototype.attribute="",s.prototype.booleanish=!1,s.prototype.boolean=!1,s.prototype.commaOrSpaceSeparated=!1,s.prototype.commaSeparated=!1,s.prototype.defined=!1,s.prototype.mustUseProperty=!1,s.prototype.number=!1,s.prototype.overloadedBoolean=!1,s.prototype.property="",s.prototype.spaceSeparated=!1,s.prototype.space=void 0;let l=0,c=m(),u=m(),d=m(),p=m(),f=m(),h=m(),g=m();function m(){return 2**++l}let b=Object.keys(r);class y extends s{constructor(e,t,n,a){var i,o;let s=-1;if(super(e,t),a&&(this.space=a),"number"==typeof n)for(;++s"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function T(e,t){return t in e?e[t]:t}function S(e,t){return T(e,t.toLowerCase())}let A=E({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:h,acceptCharset:f,accessKey:f,action:null,allow:null,allowFullScreen:c,allowPaymentRequest:c,allowUserMedia:c,alt:null,as:null,async:c,autoCapitalize:null,autoComplete:f,autoFocus:c,autoPlay:c,blocking:f,capture:null,charSet:null,checked:c,cite:null,className:f,cols:p,colSpan:null,content:null,contentEditable:u,controls:c,controlsList:f,coords:p|h,crossOrigin:null,data:null,dateTime:null,decoding:null,default:c,defer:c,dir:null,dirName:null,disabled:c,download:d,draggable:u,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:c,formTarget:null,headers:f,height:p,hidden:c,high:p,href:null,hrefLang:null,htmlFor:f,httpEquiv:f,id:null,imageSizes:null,imageSrcSet:null,inert:c,inputMode:null,integrity:null,is:null,isMap:c,itemId:null,itemProp:f,itemRef:f,itemScope:c,itemType:f,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:c,low:p,manifest:null,max:null,maxLength:p,media:null,method:null,min:null,minLength:p,multiple:c,muted:c,name:null,nonce:null,noModule:c,noValidate:c,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored: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,onScrollEnd: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:c,optimum:p,pattern:null,ping:f,placeholder:null,playsInline:c,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:c,referrerPolicy:null,rel:f,required:c,reversed:c,rows:p,rowSpan:p,sandbox:f,scope:null,scoped:c,seamless:c,selected:c,shadowRootClonable:c,shadowRootDelegatesFocus:c,shadowRootMode:null,shape:null,size:p,sizes:null,slot:null,span:p,spellCheck:u,src:null,srcDoc:null,srcLang:null,srcSet:null,start:p,step:null,style:null,tabIndex:p,target:null,title:null,translate:null,type:null,typeMustMatch:c,useMap:null,value:u,width:p,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:f,axis:null,background:null,bgColor:null,border:p,borderColor:null,bottomMargin:p,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:c,declare:c,event:null,face:null,frame:null,frameBorder:null,hSpace:p,leftMargin:p,link:null,longDesc:null,lowSrc:null,marginHeight:p,marginWidth:p,noResize:c,noHref:c,noShade:c,noWrap:c,object:null,profile:null,prompt:null,rev:null,rightMargin:p,rules:null,scheme:null,scrolling:u,standby:null,summary:null,text:null,topMargin:p,valueType:null,version:null,vAlign:null,vLink:null,vSpace:p,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:c,disableRemotePlayback:c,prefix:null,property:null,results:p,security:null,unselectable:null},space:"html",transform:S}),O=E({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:g,accentHeight:p,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:p,amplitude:p,arabicForm:null,ascent:p,attributeName:null,attributeType:null,azimuth:p,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:p,by:null,calcMode:null,capHeight:p,className:f,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:p,diffuseConstant:p,direction:null,display:null,dur:null,divisor:p,dominantBaseline:null,download:c,dx:null,dy:null,edgeMode:null,editable:null,elevation:p,enableBackground:null,end:null,event:null,exponent:p,externalResourcesRequired:null,fill:null,fillOpacity:p,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:h,g2:h,glyphName:h,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:p,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:p,horizOriginX:p,horizOriginY:p,id:null,ideographic:p,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:p,k:p,k1:p,k2:p,k3:p,k4:p,kernelMatrix:g,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:p,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:p,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose: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,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:p,overlineThickness:p,paintOrder:null,panose1:null,path:null,pathLength:p,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:f,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:p,pointsAtY:p,pointsAtZ:p,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:g,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:g,rev:g,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:g,requiredFeatures:g,requiredFonts:g,requiredFormats:g,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:p,specularExponent:p,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:p,strikethroughThickness:p,string:null,stroke:null,strokeDashArray:g,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:p,strokeOpacity:p,strokeWidth:null,style:null,surfaceScale:p,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:g,tabIndex:p,tableValues:null,target:null,targetX:p,targetY:p,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:g,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:p,underlineThickness:p,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:p,values:null,vAlphabetic:p,vMathematical:p,vectorEffect:null,vHanging:p,vIdeographic:p,version:null,vertAdvY:p,vertOriginX:p,vertOriginY:p,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:p,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:T}),_=E({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),k=E({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:S}),C=E({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),x=i([v,A,_,k,C],"html"),w=i([v,O,_,k,C],"svg");var I=n(25668),R=n(86676);let N=/[A-Z]/g,L=/-[a-z]/g,D=/^data[-\w.:]+$/i;function P(e){return"-"+e.toLowerCase()}function M(e){return e.charAt(1).toUpperCase()}var F=n(50342);function B(e,t,n){let r=n?function(e){let t=new Map;for(let n of e)t.set(n.toLowerCase(),n);return t}(n):void 0;return function(n,a,...i){let l;if(null==n)l={type:"root",children:[]},i.unshift(a);else{l=(0,R.r)(n,t);let c=l.tagName.toLowerCase(),u=r?r.get(c):void 0;if(l.tagName=u||c,function(e){if(null===e||"object"!=typeof e||Array.isArray(e))return!0;if("string"!=typeof e.type)return!1;let t=Object.keys(e);for(let n of t){let t=e[n];if(t&&"object"==typeof t){if(!Array.isArray(t))return!0;for(let e of t)if("number"!=typeof e&&"string"!=typeof e)return!0}}return!!("children"in e&&Array.isArray(e.children))}(a))i.unshift(a);else for(let[t,n]of Object.entries(a))!function(e,t,n,r){let a;let i=function(e,t){let n=o(t),r=t,a=s;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&D.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(L,M);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!L.test(e)){let n=e.replace(N,P);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}a=y}return new a(r,t)}(e,n);if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;a=r}else a="boolean"==typeof r?r:"string"==typeof r?i.spaceSeparated?(0,F.Q)(r):i.commaSeparated?(0,I.Q)(r):i.commaOrSpaceSeparated?(0,F.Q)((0,I.Q)(r).join(" ")):j(i,i.property,r):Array.isArray(r)?[...r]:"style"===i.property?function(e){let t=[];for(let[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}(r):String(r);if(Array.isArray(a)){let e=[];for(let t of a)e.push(j(i,i.property,t));a=e}"className"===i.property&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}(e,l.properties,t,n)}for(let e of i)!function e(t,n){if(null==n);else if("number"==typeof n||"string"==typeof n)t.push({type:"text",value:String(n)});else if(Array.isArray(n))for(let r of n)e(t,r);else if("object"==typeof n&&"type"in n)"root"===n.type?e(t,n.children):t.push(n);else throw Error("Expected node, nodes, or string, got `"+n+"`")}(l.children,e);return"element"===l.type&&"template"===l.tagName&&(l.content={type:"root",children:l.children},l.children=[]),l}}function j(e,t,n){if("string"==typeof n){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(""===n||o(n)===o(t)))return!0}return n}let U=B(x,"div"),G=B(w,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]);var H=n(49911);function $(e,t){let n=function(e,t){switch(e.nodeType){case 1:return function(e,t){let n=e.namespaceURI,r=n===H.t.svg?G:U,a=n===H.t.html?e.tagName.toLowerCase():e.tagName,i=n===H.t.html&&"template"===a?e.content:e,o=e.getAttributeNames(),s={},l=-1;for(;++ln&&(n=e):e&&(void 0!==n&&n>-1&&l.push("\n".repeat(n)||" "),n=-1,l.push(e))}return l.join("")}(d,{whitespace:"pre"});try{a=es.ZP.renderToString(p,{...t,displayMode:c,throwOnError:!0})}catch(o){let i=o.name.toLowerCase();n.message("Could not render math with KaTeX",{ancestors:[...r,e],cause:o,place:e.position,ruleId:i,source:"rehype-katex"});try{a=es.ZP.renderToString(p,{...t,displayMode:c,strict:"ignore",throwOnError:!1})}catch{a=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(o)},children:[{type:"text",value:p}]}]}}if("string"==typeof a){let e=function(e,t){let n=t?.fragment?function(e){let t=document.createElement("template");return t.innerHTML=e,t.content}(e):Z.parseFromString(e,"text/html");return $(n,{})||{type:"root",children:[]}}(a,{fragment:!0});a=e.children}let f=u.children.indexOf(d);return u.children.splice(f,1,...a),el.AM})}}},12384:function(e,t,n){"use strict";n.d(t,{Z:function(){return tJ}});var r,a,i,o,s,l,c,u,d,p,f,h,g,m,b,y,E,v,T,S,A,O,_=n(52835),k=n(24345),C=n(91634),x=n(25668),w=n(86676),I=n(26103),R=n(28051),N=n(50342);let L=new Set(["button","menu","reset","submit"]),D={}.hasOwnProperty;function P(e,t,n){let r=n&&function(e){let t={},n=-1;for(;++n1?n[e.line-2]:0)+e.column-1;if(r-1&&e<=t.length){let r=0;for(;;){let a=n[r];if(void 0===a){let e=j(t,n[r-1]);a=-1===e?t.length+1:e+1,n[r]=a}if(a>e)return{line:r+1,column:e-(r>0?n[r-1]:0)+1,offset:e};r++}}}}}(t),a=r.toPoint(0),i=r.toPoint(t.length);(0,k.ok)(a,"expected `start`"),(0,k.ok)(i,"expected `end`"),n.position={start:a,end:i}}return n}case"#documentType":return Z(e,t,n={type:"doctype"}),n;case"#text":return n={type:"text",value:t.value},Z(e,t,n),n;default:return function(e,t){let n=e.schema;e.schema=t.namespaceURI===U.t.svg?C.YP:C.dy;let r=-1,a={};for(;++r=55296&&e<=57343}function ei(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function eo(e){return e>=64976&&e<=65007||en.has(e)}(a=g=g||(g={})).controlCharacterInInputStream="control-character-in-input-stream",a.noncharacterInInputStream="noncharacter-in-input-stream",a.surrogateInInputStream="surrogate-in-input-stream",a.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",a.endTagWithAttributes="end-tag-with-attributes",a.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",a.unexpectedSolidusInTag="unexpected-solidus-in-tag",a.unexpectedNullCharacter="unexpected-null-character",a.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",a.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",a.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",a.missingEndTagName="missing-end-tag-name",a.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",a.unknownNamedCharacterReference="unknown-named-character-reference",a.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",a.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",a.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",a.eofBeforeTagName="eof-before-tag-name",a.eofInTag="eof-in-tag",a.missingAttributeValue="missing-attribute-value",a.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",a.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",a.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",a.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",a.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",a.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",a.missingDoctypePublicIdentifier="missing-doctype-public-identifier",a.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",a.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",a.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",a.cdataInHtmlContent="cdata-in-html-content",a.incorrectlyOpenedComment="incorrectly-opened-comment",a.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",a.eofInDoctype="eof-in-doctype",a.nestedComment="nested-comment",a.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",a.eofInComment="eof-in-comment",a.incorrectlyClosedComment="incorrectly-closed-comment",a.eofInCdata="eof-in-cdata",a.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",a.nullCharacterReference="null-character-reference",a.surrogateCharacterReference="surrogate-character-reference",a.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",a.controlCharacterReference="control-character-reference",a.noncharacterCharacterReference="noncharacter-character-reference",a.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",a.missingDoctypeName="missing-doctype-name",a.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",a.duplicateAttribute="duplicate-attribute",a.nonConformingDoctype="non-conforming-doctype",a.missingDoctype="missing-doctype",a.misplacedDoctype="misplaced-doctype",a.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",a.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",a.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",a.openElementsLeftAfterEof="open-elements-left-after-eof",a.abandonedHeadElementChild="abandoned-head-element-child",a.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",a.nestedNoscriptInHead="nested-noscript-in-head",a.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text";class es{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e){let{line:t,col:n,offset:r}=this;return{code:e,startLine:t,endLine:t,startCol:n,endCol:n,startOffset:r,endOffset:r}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let t=this.html.charCodeAt(this.pos+1);if(t>=56320&&t<=57343)return this.pos++,this._addGap(),(e-55296)*1024+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,h.EOF;return this._err(g.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,h.EOF;let n=this.html.charCodeAt(t);return n===h.CARRIAGE_RETURN?h.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,h.EOF;let e=this.html.charCodeAt(this.pos);if(e===h.CARRIAGE_RETURN)return this.isEol=!0,this.skipNextNewLine=!0,h.LINE_FEED;if(e===h.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine))return this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance();this.skipNextNewLine=!1,ea(e)&&(e=this._processSurrogate(e));let t=null===this.handler.onParseError||e>31&&e<127||e===h.LINE_FEED||e===h.CARRIAGE_RETURN||e>159&&e<64976;return t||this._checkForProblematicCharacters(e),e}_checkForProblematicCharacters(e){ei(e)?this._err(g.controlCharacterInInputStream):eo(e)&&this._err(g.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}(i=m=m||(m={}))[i.CHARACTER=0]="CHARACTER",i[i.NULL_CHARACTER=1]="NULL_CHARACTER",i[i.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",i[i.START_TAG=3]="START_TAG",i[i.END_TAG=4]="END_TAG",i[i.COMMENT=5]="COMMENT",i[i.DOCTYPE=6]="DOCTYPE",i[i.EOF=7]="EOF",i[i.HIBERNATION=8]="HIBERNATION";var ec=n(60411);(o=b=b||(b={})).HTML="http://www.w3.org/1999/xhtml",o.MATHML="http://www.w3.org/1998/Math/MathML",o.SVG="http://www.w3.org/2000/svg",o.XLINK="http://www.w3.org/1999/xlink",o.XML="http://www.w3.org/XML/1998/namespace",o.XMLNS="http://www.w3.org/2000/xmlns/",(s=y=y||(y={})).TYPE="type",s.ACTION="action",s.ENCODING="encoding",s.PROMPT="prompt",s.NAME="name",s.COLOR="color",s.FACE="face",s.SIZE="size",(l=E=E||(E={})).NO_QUIRKS="no-quirks",l.QUIRKS="quirks",l.LIMITED_QUIRKS="limited-quirks",(c=v=v||(v={})).A="a",c.ADDRESS="address",c.ANNOTATION_XML="annotation-xml",c.APPLET="applet",c.AREA="area",c.ARTICLE="article",c.ASIDE="aside",c.B="b",c.BASE="base",c.BASEFONT="basefont",c.BGSOUND="bgsound",c.BIG="big",c.BLOCKQUOTE="blockquote",c.BODY="body",c.BR="br",c.BUTTON="button",c.CAPTION="caption",c.CENTER="center",c.CODE="code",c.COL="col",c.COLGROUP="colgroup",c.DD="dd",c.DESC="desc",c.DETAILS="details",c.DIALOG="dialog",c.DIR="dir",c.DIV="div",c.DL="dl",c.DT="dt",c.EM="em",c.EMBED="embed",c.FIELDSET="fieldset",c.FIGCAPTION="figcaption",c.FIGURE="figure",c.FONT="font",c.FOOTER="footer",c.FOREIGN_OBJECT="foreignObject",c.FORM="form",c.FRAME="frame",c.FRAMESET="frameset",c.H1="h1",c.H2="h2",c.H3="h3",c.H4="h4",c.H5="h5",c.H6="h6",c.HEAD="head",c.HEADER="header",c.HGROUP="hgroup",c.HR="hr",c.HTML="html",c.I="i",c.IMG="img",c.IMAGE="image",c.INPUT="input",c.IFRAME="iframe",c.KEYGEN="keygen",c.LABEL="label",c.LI="li",c.LINK="link",c.LISTING="listing",c.MAIN="main",c.MALIGNMARK="malignmark",c.MARQUEE="marquee",c.MATH="math",c.MENU="menu",c.META="meta",c.MGLYPH="mglyph",c.MI="mi",c.MO="mo",c.MN="mn",c.MS="ms",c.MTEXT="mtext",c.NAV="nav",c.NOBR="nobr",c.NOFRAMES="noframes",c.NOEMBED="noembed",c.NOSCRIPT="noscript",c.OBJECT="object",c.OL="ol",c.OPTGROUP="optgroup",c.OPTION="option",c.P="p",c.PARAM="param",c.PLAINTEXT="plaintext",c.PRE="pre",c.RB="rb",c.RP="rp",c.RT="rt",c.RTC="rtc",c.RUBY="ruby",c.S="s",c.SCRIPT="script",c.SECTION="section",c.SELECT="select",c.SOURCE="source",c.SMALL="small",c.SPAN="span",c.STRIKE="strike",c.STRONG="strong",c.STYLE="style",c.SUB="sub",c.SUMMARY="summary",c.SUP="sup",c.TABLE="table",c.TBODY="tbody",c.TEMPLATE="template",c.TEXTAREA="textarea",c.TFOOT="tfoot",c.TD="td",c.TH="th",c.THEAD="thead",c.TITLE="title",c.TR="tr",c.TRACK="track",c.TT="tt",c.U="u",c.UL="ul",c.SVG="svg",c.VAR="var",c.WBR="wbr",c.XMP="xmp",(u=T=T||(T={}))[u.UNKNOWN=0]="UNKNOWN",u[u.A=1]="A",u[u.ADDRESS=2]="ADDRESS",u[u.ANNOTATION_XML=3]="ANNOTATION_XML",u[u.APPLET=4]="APPLET",u[u.AREA=5]="AREA",u[u.ARTICLE=6]="ARTICLE",u[u.ASIDE=7]="ASIDE",u[u.B=8]="B",u[u.BASE=9]="BASE",u[u.BASEFONT=10]="BASEFONT",u[u.BGSOUND=11]="BGSOUND",u[u.BIG=12]="BIG",u[u.BLOCKQUOTE=13]="BLOCKQUOTE",u[u.BODY=14]="BODY",u[u.BR=15]="BR",u[u.BUTTON=16]="BUTTON",u[u.CAPTION=17]="CAPTION",u[u.CENTER=18]="CENTER",u[u.CODE=19]="CODE",u[u.COL=20]="COL",u[u.COLGROUP=21]="COLGROUP",u[u.DD=22]="DD",u[u.DESC=23]="DESC",u[u.DETAILS=24]="DETAILS",u[u.DIALOG=25]="DIALOG",u[u.DIR=26]="DIR",u[u.DIV=27]="DIV",u[u.DL=28]="DL",u[u.DT=29]="DT",u[u.EM=30]="EM",u[u.EMBED=31]="EMBED",u[u.FIELDSET=32]="FIELDSET",u[u.FIGCAPTION=33]="FIGCAPTION",u[u.FIGURE=34]="FIGURE",u[u.FONT=35]="FONT",u[u.FOOTER=36]="FOOTER",u[u.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",u[u.FORM=38]="FORM",u[u.FRAME=39]="FRAME",u[u.FRAMESET=40]="FRAMESET",u[u.H1=41]="H1",u[u.H2=42]="H2",u[u.H3=43]="H3",u[u.H4=44]="H4",u[u.H5=45]="H5",u[u.H6=46]="H6",u[u.HEAD=47]="HEAD",u[u.HEADER=48]="HEADER",u[u.HGROUP=49]="HGROUP",u[u.HR=50]="HR",u[u.HTML=51]="HTML",u[u.I=52]="I",u[u.IMG=53]="IMG",u[u.IMAGE=54]="IMAGE",u[u.INPUT=55]="INPUT",u[u.IFRAME=56]="IFRAME",u[u.KEYGEN=57]="KEYGEN",u[u.LABEL=58]="LABEL",u[u.LI=59]="LI",u[u.LINK=60]="LINK",u[u.LISTING=61]="LISTING",u[u.MAIN=62]="MAIN",u[u.MALIGNMARK=63]="MALIGNMARK",u[u.MARQUEE=64]="MARQUEE",u[u.MATH=65]="MATH",u[u.MENU=66]="MENU",u[u.META=67]="META",u[u.MGLYPH=68]="MGLYPH",u[u.MI=69]="MI",u[u.MO=70]="MO",u[u.MN=71]="MN",u[u.MS=72]="MS",u[u.MTEXT=73]="MTEXT",u[u.NAV=74]="NAV",u[u.NOBR=75]="NOBR",u[u.NOFRAMES=76]="NOFRAMES",u[u.NOEMBED=77]="NOEMBED",u[u.NOSCRIPT=78]="NOSCRIPT",u[u.OBJECT=79]="OBJECT",u[u.OL=80]="OL",u[u.OPTGROUP=81]="OPTGROUP",u[u.OPTION=82]="OPTION",u[u.P=83]="P",u[u.PARAM=84]="PARAM",u[u.PLAINTEXT=85]="PLAINTEXT",u[u.PRE=86]="PRE",u[u.RB=87]="RB",u[u.RP=88]="RP",u[u.RT=89]="RT",u[u.RTC=90]="RTC",u[u.RUBY=91]="RUBY",u[u.S=92]="S",u[u.SCRIPT=93]="SCRIPT",u[u.SECTION=94]="SECTION",u[u.SELECT=95]="SELECT",u[u.SOURCE=96]="SOURCE",u[u.SMALL=97]="SMALL",u[u.SPAN=98]="SPAN",u[u.STRIKE=99]="STRIKE",u[u.STRONG=100]="STRONG",u[u.STYLE=101]="STYLE",u[u.SUB=102]="SUB",u[u.SUMMARY=103]="SUMMARY",u[u.SUP=104]="SUP",u[u.TABLE=105]="TABLE",u[u.TBODY=106]="TBODY",u[u.TEMPLATE=107]="TEMPLATE",u[u.TEXTAREA=108]="TEXTAREA",u[u.TFOOT=109]="TFOOT",u[u.TD=110]="TD",u[u.TH=111]="TH",u[u.THEAD=112]="THEAD",u[u.TITLE=113]="TITLE",u[u.TR=114]="TR",u[u.TRACK=115]="TRACK",u[u.TT=116]="TT",u[u.U=117]="U",u[u.UL=118]="UL",u[u.SVG=119]="SVG",u[u.VAR=120]="VAR",u[u.WBR=121]="WBR",u[u.XMP=122]="XMP";let eu=new Map([[v.A,T.A],[v.ADDRESS,T.ADDRESS],[v.ANNOTATION_XML,T.ANNOTATION_XML],[v.APPLET,T.APPLET],[v.AREA,T.AREA],[v.ARTICLE,T.ARTICLE],[v.ASIDE,T.ASIDE],[v.B,T.B],[v.BASE,T.BASE],[v.BASEFONT,T.BASEFONT],[v.BGSOUND,T.BGSOUND],[v.BIG,T.BIG],[v.BLOCKQUOTE,T.BLOCKQUOTE],[v.BODY,T.BODY],[v.BR,T.BR],[v.BUTTON,T.BUTTON],[v.CAPTION,T.CAPTION],[v.CENTER,T.CENTER],[v.CODE,T.CODE],[v.COL,T.COL],[v.COLGROUP,T.COLGROUP],[v.DD,T.DD],[v.DESC,T.DESC],[v.DETAILS,T.DETAILS],[v.DIALOG,T.DIALOG],[v.DIR,T.DIR],[v.DIV,T.DIV],[v.DL,T.DL],[v.DT,T.DT],[v.EM,T.EM],[v.EMBED,T.EMBED],[v.FIELDSET,T.FIELDSET],[v.FIGCAPTION,T.FIGCAPTION],[v.FIGURE,T.FIGURE],[v.FONT,T.FONT],[v.FOOTER,T.FOOTER],[v.FOREIGN_OBJECT,T.FOREIGN_OBJECT],[v.FORM,T.FORM],[v.FRAME,T.FRAME],[v.FRAMESET,T.FRAMESET],[v.H1,T.H1],[v.H2,T.H2],[v.H3,T.H3],[v.H4,T.H4],[v.H5,T.H5],[v.H6,T.H6],[v.HEAD,T.HEAD],[v.HEADER,T.HEADER],[v.HGROUP,T.HGROUP],[v.HR,T.HR],[v.HTML,T.HTML],[v.I,T.I],[v.IMG,T.IMG],[v.IMAGE,T.IMAGE],[v.INPUT,T.INPUT],[v.IFRAME,T.IFRAME],[v.KEYGEN,T.KEYGEN],[v.LABEL,T.LABEL],[v.LI,T.LI],[v.LINK,T.LINK],[v.LISTING,T.LISTING],[v.MAIN,T.MAIN],[v.MALIGNMARK,T.MALIGNMARK],[v.MARQUEE,T.MARQUEE],[v.MATH,T.MATH],[v.MENU,T.MENU],[v.META,T.META],[v.MGLYPH,T.MGLYPH],[v.MI,T.MI],[v.MO,T.MO],[v.MN,T.MN],[v.MS,T.MS],[v.MTEXT,T.MTEXT],[v.NAV,T.NAV],[v.NOBR,T.NOBR],[v.NOFRAMES,T.NOFRAMES],[v.NOEMBED,T.NOEMBED],[v.NOSCRIPT,T.NOSCRIPT],[v.OBJECT,T.OBJECT],[v.OL,T.OL],[v.OPTGROUP,T.OPTGROUP],[v.OPTION,T.OPTION],[v.P,T.P],[v.PARAM,T.PARAM],[v.PLAINTEXT,T.PLAINTEXT],[v.PRE,T.PRE],[v.RB,T.RB],[v.RP,T.RP],[v.RT,T.RT],[v.RTC,T.RTC],[v.RUBY,T.RUBY],[v.S,T.S],[v.SCRIPT,T.SCRIPT],[v.SECTION,T.SECTION],[v.SELECT,T.SELECT],[v.SOURCE,T.SOURCE],[v.SMALL,T.SMALL],[v.SPAN,T.SPAN],[v.STRIKE,T.STRIKE],[v.STRONG,T.STRONG],[v.STYLE,T.STYLE],[v.SUB,T.SUB],[v.SUMMARY,T.SUMMARY],[v.SUP,T.SUP],[v.TABLE,T.TABLE],[v.TBODY,T.TBODY],[v.TEMPLATE,T.TEMPLATE],[v.TEXTAREA,T.TEXTAREA],[v.TFOOT,T.TFOOT],[v.TD,T.TD],[v.TH,T.TH],[v.THEAD,T.THEAD],[v.TITLE,T.TITLE],[v.TR,T.TR],[v.TRACK,T.TRACK],[v.TT,T.TT],[v.U,T.U],[v.UL,T.UL],[v.SVG,T.SVG],[v.VAR,T.VAR],[v.WBR,T.WBR],[v.XMP,T.XMP]]);function ed(e){var t;return null!==(t=eu.get(e))&&void 0!==t?t:T.UNKNOWN}let ep=T,ef={[b.HTML]:new Set([ep.ADDRESS,ep.APPLET,ep.AREA,ep.ARTICLE,ep.ASIDE,ep.BASE,ep.BASEFONT,ep.BGSOUND,ep.BLOCKQUOTE,ep.BODY,ep.BR,ep.BUTTON,ep.CAPTION,ep.CENTER,ep.COL,ep.COLGROUP,ep.DD,ep.DETAILS,ep.DIR,ep.DIV,ep.DL,ep.DT,ep.EMBED,ep.FIELDSET,ep.FIGCAPTION,ep.FIGURE,ep.FOOTER,ep.FORM,ep.FRAME,ep.FRAMESET,ep.H1,ep.H2,ep.H3,ep.H4,ep.H5,ep.H6,ep.HEAD,ep.HEADER,ep.HGROUP,ep.HR,ep.HTML,ep.IFRAME,ep.IMG,ep.INPUT,ep.LI,ep.LINK,ep.LISTING,ep.MAIN,ep.MARQUEE,ep.MENU,ep.META,ep.NAV,ep.NOEMBED,ep.NOFRAMES,ep.NOSCRIPT,ep.OBJECT,ep.OL,ep.P,ep.PARAM,ep.PLAINTEXT,ep.PRE,ep.SCRIPT,ep.SECTION,ep.SELECT,ep.SOURCE,ep.STYLE,ep.SUMMARY,ep.TABLE,ep.TBODY,ep.TD,ep.TEMPLATE,ep.TEXTAREA,ep.TFOOT,ep.TH,ep.THEAD,ep.TITLE,ep.TR,ep.TRACK,ep.UL,ep.WBR,ep.XMP]),[b.MATHML]:new Set([ep.MI,ep.MO,ep.MN,ep.MS,ep.MTEXT,ep.ANNOTATION_XML]),[b.SVG]:new Set([ep.TITLE,ep.FOREIGN_OBJECT,ep.DESC]),[b.XLINK]:new Set,[b.XML]:new Set,[b.XMLNS]:new Set};function eh(e){return e===ep.H1||e===ep.H2||e===ep.H3||e===ep.H4||e===ep.H5||e===ep.H6}v.STYLE,v.SCRIPT,v.XMP,v.IFRAME,v.NOEMBED,v.NOFRAMES,v.PLAINTEXT;let eg=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);(d=S||(S={}))[d.DATA=0]="DATA",d[d.RCDATA=1]="RCDATA",d[d.RAWTEXT=2]="RAWTEXT",d[d.SCRIPT_DATA=3]="SCRIPT_DATA",d[d.PLAINTEXT=4]="PLAINTEXT",d[d.TAG_OPEN=5]="TAG_OPEN",d[d.END_TAG_OPEN=6]="END_TAG_OPEN",d[d.TAG_NAME=7]="TAG_NAME",d[d.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",d[d.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",d[d.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",d[d.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",d[d.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",d[d.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",d[d.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",d[d.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",d[d.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",d[d.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",d[d.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",d[d.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",d[d.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",d[d.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",d[d.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",d[d.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",d[d.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",d[d.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",d[d.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",d[d.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",d[d.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",d[d.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",d[d.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",d[d.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",d[d.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",d[d.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",d[d.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",d[d.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",d[d.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",d[d.BOGUS_COMMENT=40]="BOGUS_COMMENT",d[d.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",d[d.COMMENT_START=42]="COMMENT_START",d[d.COMMENT_START_DASH=43]="COMMENT_START_DASH",d[d.COMMENT=44]="COMMENT",d[d.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",d[d.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",d[d.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",d[d.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",d[d.COMMENT_END_DASH=49]="COMMENT_END_DASH",d[d.COMMENT_END=50]="COMMENT_END",d[d.COMMENT_END_BANG=51]="COMMENT_END_BANG",d[d.DOCTYPE=52]="DOCTYPE",d[d.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",d[d.DOCTYPE_NAME=54]="DOCTYPE_NAME",d[d.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",d[d.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",d[d.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",d[d.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",d[d.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",d[d.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",d[d.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",d[d.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",d[d.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",d[d.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",d[d.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",d[d.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",d[d.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",d[d.CDATA_SECTION=68]="CDATA_SECTION",d[d.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",d[d.CDATA_SECTION_END=70]="CDATA_SECTION_END",d[d.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",d[d.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",d[d.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",d[d.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",d[d.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",d[d.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",d[d.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",d[d.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END";let em={DATA:S.DATA,RCDATA:S.RCDATA,RAWTEXT:S.RAWTEXT,SCRIPT_DATA:S.SCRIPT_DATA,PLAINTEXT:S.PLAINTEXT,CDATA_SECTION:S.CDATA_SECTION};function eb(e){return e>=h.DIGIT_0&&e<=h.DIGIT_9}function ey(e){return e>=h.LATIN_CAPITAL_A&&e<=h.LATIN_CAPITAL_Z}function eE(e){return e>=h.LATIN_SMALL_A&&e<=h.LATIN_SMALL_Z||ey(e)}function ev(e){return eE(e)||eb(e)}function eT(e){return e>=h.LATIN_CAPITAL_A&&e<=h.LATIN_CAPITAL_F}function eS(e){return e>=h.LATIN_SMALL_A&&e<=h.LATIN_SMALL_F}function eA(e){return e===h.SPACE||e===h.LINE_FEED||e===h.TABULATION||e===h.FORM_FEED}function eO(e){return eA(e)||e===h.SOLIDUS||e===h.GREATER_THAN_SIGN}class e_{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=S.DATA,this.returnState=S.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new es(t),this.currentLocation=this.getCurrentLocation(-1)}_err(e){var t,n;null===(n=(t=this.handler).onParseError)||void 0===n||n.call(t,this.preprocessor.getError(e))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw Error("Parser was already resumed");this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(e){this.consumedAfterSnapshot-=e,this.preprocessor.retreat(e)}_reconsumeInState(e,t){this.state=e,this._callState(t)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t0&&this._err(g.endTagWithAttributes),e.selfClosing&&this._err(g.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case m.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case m.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case m.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:m.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type!==e)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=t;return}}this._createCharacterToken(e,t)}_emitCodePoint(e){let t=eA(e)?m.WHITESPACE_CHARACTER:e===h.NULL?m.NULL_CHARACTER:m.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(m.CHARACTER,e)}_matchNamedCharacterReference(e){let t=null,n=0,r=!1;for(let i=0,o=ec.HP[0];i>=0&&!((i=(0,ec.Go)(ec.HP,o,i+1,e))<0);e=this._consume()){n+=1,o=ec.HP[i];let s=o&ec.ge.VALUE_LENGTH;if(s){var a;let o=(s>>14)-1;if(e!==h.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((a=this.preprocessor.peek(1))===h.EQUALS_SIGN||ev(a))?(t=[h.AMPERSAND],i+=o):(t=0===o?[ec.HP[i]&~ec.ge.VALUE_LENGTH]:1===o?[ec.HP[++i]]:[ec.HP[++i],ec.HP[++i]],n=0,r=e!==h.SEMICOLON),0===o){this._consume();break}}}return this._unconsume(n),r&&!this.preprocessor.endOfChunkHit&&this._err(g.missingSemicolonAfterCharacterReference),this._unconsume(1),t}_isCharacterReferenceInAttribute(){return this.returnState===S.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case S.DATA:this._stateData(e);break;case S.RCDATA:this._stateRcdata(e);break;case S.RAWTEXT:this._stateRawtext(e);break;case S.SCRIPT_DATA:this._stateScriptData(e);break;case S.PLAINTEXT:this._statePlaintext(e);break;case S.TAG_OPEN:this._stateTagOpen(e);break;case S.END_TAG_OPEN:this._stateEndTagOpen(e);break;case S.TAG_NAME:this._stateTagName(e);break;case S.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case S.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case S.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case S.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case S.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case S.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case S.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case S.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case S.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case S.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case S.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case S.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case S.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case S.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case S.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case S.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case S.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case S.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case S.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case S.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case S.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case S.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case S.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case S.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case S.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case S.BOGUS_COMMENT:this._stateBogusComment(e);break;case S.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case S.COMMENT_START:this._stateCommentStart(e);break;case S.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case S.COMMENT:this._stateComment(e);break;case S.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case S.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case S.COMMENT_END:this._stateCommentEnd(e);break;case S.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case S.DOCTYPE:this._stateDoctype(e);break;case S.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case S.DOCTYPE_NAME:this._stateDoctypeName(e);break;case S.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case S.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case S.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case S.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case S.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case S.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case S.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case S.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case S.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case S.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case S.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case S.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case S.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case S.CDATA_SECTION:this._stateCdataSection(e);break;case S.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case S.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case S.CHARACTER_REFERENCE:this._stateCharacterReference(e);break;case S.NAMED_CHARACTER_REFERENCE:this._stateNamedCharacterReference(e);break;case S.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;case S.NUMERIC_CHARACTER_REFERENCE:this._stateNumericCharacterReference(e);break;case S.HEXADEMICAL_CHARACTER_REFERENCE_START:this._stateHexademicalCharacterReferenceStart(e);break;case S.HEXADEMICAL_CHARACTER_REFERENCE:this._stateHexademicalCharacterReference(e);break;case S.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(e);break;case S.NUMERIC_CHARACTER_REFERENCE_END:this._stateNumericCharacterReferenceEnd(e);break;default:throw Error("Unknown state")}}_stateData(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.TAG_OPEN;break;case h.AMPERSAND:this.returnState=S.DATA,this.state=S.CHARACTER_REFERENCE;break;case h.NULL:this._err(g.unexpectedNullCharacter),this._emitCodePoint(e);break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case h.AMPERSAND:this.returnState=S.RCDATA,this.state=S.CHARACTER_REFERENCE;break;case h.LESS_THAN_SIGN:this.state=S.RCDATA_LESS_THAN_SIGN;break;case h.NULL:this._err(g.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.RAWTEXT_LESS_THAN_SIGN;break;case h.NULL:this._err(g.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.SCRIPT_DATA_LESS_THAN_SIGN;break;case h.NULL:this._err(g.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case h.NULL:this._err(g.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(eE(e))this._createStartTagToken(),this.state=S.TAG_NAME,this._stateTagName(e);else switch(e){case h.EXCLAMATION_MARK:this.state=S.MARKUP_DECLARATION_OPEN;break;case h.SOLIDUS:this.state=S.END_TAG_OPEN;break;case h.QUESTION_MARK:this._err(g.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=S.BOGUS_COMMENT,this._stateBogusComment(e);break;case h.EOF:this._err(g.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(g.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=S.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(eE(e))this._createEndTagToken(),this.state=S.TAG_NAME,this._stateTagName(e);else switch(e){case h.GREATER_THAN_SIGN:this._err(g.missingEndTagName),this.state=S.DATA;break;case h.EOF:this._err(g.eofBeforeTagName),this._emitChars("");break;case h.NULL:this._err(g.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case h.EOF:this._err(g.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===h.SOLIDUS?this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:eE(e)?(this._emitChars("<"),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=S.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){eE(e)?(this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("");break;case h.NULL:this._err(g.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case h.EOF:this._err(g.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===h.SOLIDUS?(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(er.SCRIPT,!1)&&eO(this.preprocessor.peek(er.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e1114111)this._err(g.characterReferenceOutsideUnicodeRange),this.charRefCode=h.REPLACEMENT_CHARACTER;else if(ea(this.charRefCode))this._err(g.surrogateCharacterReference),this.charRefCode=h.REPLACEMENT_CHARACTER;else if(eo(this.charRefCode))this._err(g.noncharacterCharacterReference);else if(ei(this.charRefCode)||this.charRefCode===h.CARRIAGE_RETURN){this._err(g.controlCharacterReference);let e=eg.get(this.charRefCode);void 0!==e&&(this.charRefCode=e)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}}let ek=new Set([T.DD,T.DT,T.LI,T.OPTGROUP,T.OPTION,T.P,T.RB,T.RP,T.RT,T.RTC]),eC=new Set([...ek,T.CAPTION,T.COLGROUP,T.TBODY,T.TD,T.TFOOT,T.TH,T.THEAD,T.TR]),ex=new Map([[T.APPLET,b.HTML],[T.CAPTION,b.HTML],[T.HTML,b.HTML],[T.MARQUEE,b.HTML],[T.OBJECT,b.HTML],[T.TABLE,b.HTML],[T.TD,b.HTML],[T.TEMPLATE,b.HTML],[T.TH,b.HTML],[T.ANNOTATION_XML,b.MATHML],[T.MI,b.MATHML],[T.MN,b.MATHML],[T.MO,b.MATHML],[T.MS,b.MATHML],[T.MTEXT,b.MATHML],[T.DESC,b.SVG],[T.FOREIGN_OBJECT,b.SVG],[T.TITLE,b.SVG]]),ew=[T.H1,T.H2,T.H3,T.H4,T.H5,T.H6],eI=[T.TR,T.TEMPLATE,T.HTML],eR=[T.TBODY,T.TFOOT,T.THEAD,T.TEMPLATE,T.HTML],eN=[T.TABLE,T.TEMPLATE,T.HTML],eL=[T.TD,T.TH];class eD{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=T.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===T.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===b.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){let r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==b.HTML);this.shortenToLength(t<0?0:t)}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop=0;n--)if(e.includes(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return -1}clearBackTo(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(eN,b.HTML)}clearBackToTableBodyContext(){this.clearBackTo(eR,b.HTML)}clearBackToTableRowContext(){this.clearBackTo(eI,b.HTML)}remove(e){let t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===T.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===T.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(ex.get(n)===r)return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(eh(t)&&n===b.HTML)break;if(ex.get(t)===n)return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if((n===T.UL||n===T.OL)&&r===b.HTML||ex.get(n)===r)return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(n===T.BUTTON&&r===b.HTML||ex.get(n)===r)return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n===T.TABLE||n===T.TEMPLATE||n===T.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(n===b.HTML){if(t===T.TBODY||t===T.THEAD||t===T.TFOOT)break;if(t===T.TABLE||t===T.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n!==T.OPTION&&n!==T.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;ek.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;eC.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&eC.has(this.currentTagId);)this.pop()}}(p=A=A||(A={}))[p.Marker=0]="Marker",p[p.Element=1]="Element";let eP={type:A.Marker};class eM{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let n=[],r=t.length,a=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let e=0;e[e.name,e.value])),a=0;for(let e=0;er.get(e.name)===e.value)&&(a+=1)>=3&&this.entries.splice(t.idx,1)}}insertMarker(){this.entries.unshift(eP)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:A.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:A.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);t>=0&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(eP);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===A.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===A.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===A.Element&&t.element===e)}}function eF(e){return{nodeName:"#text",value:e,parentNode:null}}let eB={createDocument:()=>({nodeName:"#document",mode:E.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){let r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,n,r){let a=e.childNodes.find(e=>"#documentType"===e.nodeName);a?(a.name=t,a.publicId=n,a.systemId=r):eB.appendChild(e,{nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null})},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let n=e.childNodes[e.childNodes.length-1];if(eB.isTextNode(n)){n.value+=t;return}}eB.appendChild(e,eF(t))},insertTextBefore(e,t,n){let r=e.childNodes[e.childNodes.indexOf(n)-1];r&&eB.isTextNode(r)?r.value+=t:eB.insertBefore(e,eF(t),n)},adoptAttributes(e,t){let n=new Set(e.attrs.map(e=>e.name));for(let r=0;re.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},ej="html",eU=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],eG=[...eU,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],eH=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),e$=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],ez=[...e$,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function eZ(e,t){return t.some(t=>e.startsWith(t))}let eW={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},eV=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),eY=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:b.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:b.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:b.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:b.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:b.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:b.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:b.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:b.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:b.XML}],["xml:space",{prefix:"xml",name:"space",namespace:b.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:b.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:b.XMLNS}]]),eq=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),eK=new Set([T.B,T.BIG,T.BLOCKQUOTE,T.BODY,T.BR,T.CENTER,T.CODE,T.DD,T.DIV,T.DL,T.DT,T.EM,T.EMBED,T.H1,T.H2,T.H3,T.H4,T.H5,T.H6,T.HEAD,T.HR,T.I,T.IMG,T.LI,T.LISTING,T.MENU,T.META,T.NOBR,T.OL,T.P,T.PRE,T.RUBY,T.S,T.SMALL,T.SPAN,T.STRONG,T.STRIKE,T.SUB,T.SUP,T.TABLE,T.TT,T.U,T.UL,T.VAR]);function eX(e){for(let t=0;t0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null===(r=(n=this.treeAdapter).onItemPop)||void 0===r||r.call(n,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let n=e===this.document||this.treeAdapter.getNamespaceURI(e)===b.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,b.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=O.TEXT}switchToPlaintextParsing(){this.insertionMode=O.TEXT,this.originalInsertionMode=O.IN_BODY,this.tokenizer.state=em.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===v.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===b.HTML)switch(this.fragmentContextID){case T.TITLE:case T.TEXTAREA:this.tokenizer.state=em.RCDATA;break;case T.STYLE:case T.XMP:case T.IFRAME:case T.NOEMBED:case T.NOFRAMES:case T.NOSCRIPT:this.tokenizer.state=em.RAWTEXT;break;case T.SCRIPT:this.tokenizer.state=em.SCRIPT_DATA;break;case T.PLAINTEXT:this.tokenizer.state=em.PLAINTEXT}}_setDocumentType(e){let t=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){let t=this.treeAdapter.getChildNodes(this.document),n=t.find(e=>this.treeAdapter.isDocumentTypeNode(e));n&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){let n=this.treeAdapter.createElement(e,b.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,b.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(v.HTML,b.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,T.HTML)}_appendCommentNode(e,t){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let r=this.treeAdapter.getChildNodes(t),a=n?r.lastIndexOf(n):r.length,i=r[a-1],o=this.treeAdapter.getNodeSourceCodeLocation(i);if(o){let{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let n=t.location,r=this.treeAdapter.getTagName(e),a=t.type===m.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,a)}}shouldProcessStartTagTokenInForeignContent(e){let t,n;return!!this.currentNotInHTML&&(0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):{current:t,currentTagId:n}=this.openElements,(e.tagID!==T.SVG||this.treeAdapter.getTagName(t)!==v.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==b.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===T.MGLYPH||e.tagID===T.MALIGNMARK)&&!this._isIntegrationPoint(n,t,b.HTML)))}_processToken(e){switch(e.type){case m.CHARACTER:this.onCharacter(e);break;case m.NULL_CHARACTER:this.onNullCharacter(e);break;case m.COMMENT:this.onComment(e);break;case m.DOCTYPE:this.onDoctype(e);break;case m.START_TAG:this._processStartTag(e);break;case m.END_TAG:this.onEndTag(e);break;case m.EOF:this.onEof(e);break;case m.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){let r=this.treeAdapter.getNamespaceURI(t),a=this.treeAdapter.getAttrList(t);return(!n||n===b.HTML)&&function(e,t,n){if(t===b.MATHML&&e===T.ANNOTATION_XML){for(let e=0;ee.type===A.Marker||this.openElements.contains(e.element)),n=t<0?e-1:t-1;for(let e=n;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=O.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(T.P),this.openElements.popUntilTagNamePopped(T.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case T.TR:this.insertionMode=O.IN_ROW;return;case T.TBODY:case T.THEAD:case T.TFOOT:this.insertionMode=O.IN_TABLE_BODY;return;case T.CAPTION:this.insertionMode=O.IN_CAPTION;return;case T.COLGROUP:this.insertionMode=O.IN_COLUMN_GROUP;return;case T.TABLE:this.insertionMode=O.IN_TABLE;return;case T.BODY:this.insertionMode=O.IN_BODY;return;case T.FRAMESET:this.insertionMode=O.IN_FRAMESET;return;case T.SELECT:this._resetInsertionModeForSelect(e);return;case T.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case T.HTML:this.insertionMode=this.headElement?O.AFTER_HEAD:O.BEFORE_HEAD;return;case T.TD:case T.TH:if(e>0){this.insertionMode=O.IN_CELL;return}break;case T.HEAD:if(e>0){this.insertionMode=O.IN_HEAD;return}}this.insertionMode=O.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===T.TEMPLATE)break;if(e===T.TABLE){this.insertionMode=O.IN_SELECT_IN_TABLE;return}}this.insertionMode=O.IN_SELECT}_isElementCausesFosterParenting(e){return e1.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case T.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===b.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case T.TABLE:{let n=this.treeAdapter.getParentNode(t);if(n)return{parent:n,beforeElement:t};return{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){let n=this.treeAdapter.getNamespaceURI(e);return ef[n].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){this._insertCharacters(e),this.framesetOk=!1;return}switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.IN_BODY:case O.IN_CAPTION:case O.IN_CELL:case O.IN_TEMPLATE:ts(this,e);break;case O.TEXT:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tm(this,e);break;case O.IN_TABLE_TEXT:tT(this,e);break;case O.IN_COLUMN_GROUP:t_(this,e);break;case O.AFTER_BODY:tD(this,e);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){e.chars="�",this._insertCharacters(e);return}switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.TEXT:this._insertCharacters(e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tm(this,e);break;case O.IN_COLUMN_GROUP:t_(this,e);break;case O.AFTER_BODY:tD(this,e);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){e4(this,e);return}switch(this.insertionMode){case O.INITIAL:case O.BEFORE_HTML:case O.BEFORE_HEAD:case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:case O.IN_BODY:case O.IN_TABLE:case O.IN_CAPTION:case O.IN_COLUMN_GROUP:case O.IN_TABLE_BODY:case O.IN_ROW:case O.IN_CELL:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:case O.IN_TEMPLATE:case O.IN_FRAMESET:case O.AFTER_FRAMESET:e4(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case O.INITIAL:!function(e,t){e._setDocumentType(t);let n=t.forceQuirks?E.QUIRKS:function(e){if(e.name!==ej)return E.QUIRKS;let{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return E.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),eH.has(n))return E.QUIRKS;let e=null===t?eG:eU;if(eZ(n,e))return E.QUIRKS;if(eZ(n,e=null===t?e$:ez))return E.LIMITED_QUIRKS}return E.NO_QUIRKS}(t);t.name===ej&&null===t.publicId&&(null===t.systemId||"about:legacy-compat"===t.systemId)||e._err(t,g.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=O.BEFORE_HTML}(this,e);break;case O.BEFORE_HEAD:case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:this._err(e,g.misplacedDoctype);break;case O.IN_TABLE_TEXT:tS(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,g.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){let t=e.tagID,n=t===T.FONT&&e.attrs.some(({name:e})=>e===y.COLOR||e===y.SIZE||e===y.FACE);return n||eK.has(t)}(t))tM(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===b.MATHML?eX(t):r===b.SVG&&(function(e){let t=eq.get(e.tagName);null!=t&&(e.tagName=t,e.tagID=ed(e.tagName))}(t),eQ(t)),eJ(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e.tagID===T.HTML?(this._insertElement(e,b.HTML),this.insertionMode=O.BEFORE_HEAD):e8(this,e);break;case O.BEFORE_HEAD:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.HEAD:e._insertElement(t,b.HTML),e.headElement=e.openElements.current,e.insertionMode=O.IN_HEAD;break;default:e7(e,t)}}(this,e);break;case O.IN_HEAD:te(this,e);break;case O.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BASEFONT:case T.BGSOUND:case T.HEAD:case T.LINK:case T.META:case T.NOFRAMES:case T.STYLE:te(e,t);break;case T.NOSCRIPT:e._err(t,g.nestedNoscriptInHead);break;default:tr(e,t)}}(this,e);break;case O.AFTER_HEAD:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BODY:e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=O.IN_BODY;break;case T.FRAMESET:e._insertElement(t,b.HTML),e.insertionMode=O.IN_FRAMESET;break;case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:e._err(t,g.abandonedHeadElementChild),e.openElements.push(e.headElement,T.HEAD),te(e,t),e.openElements.remove(e.headElement);break;case T.HEAD:e._err(t,g.misplacedStartTagForHeadElement);break;default:ta(e,t)}}(this,e);break;case O.IN_BODY:tp(this,e);break;case O.IN_TABLE:tb(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_CAPTION:!function(e,t){let n=t.tagID;tA.has(n)?e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_TABLE,tb(e,t)):tp(e,t)}(this,e);break;case O.IN_COLUMN_GROUP:tO(this,e);break;case O.IN_TABLE_BODY:tk(this,e);break;case O.IN_ROW:tx(this,e);break;case O.IN_CELL:!function(e,t){let n=t.tagID;tA.has(n)?(e.openElements.hasInTableScope(T.TD)||e.openElements.hasInTableScope(T.TH))&&(e._closeTableCell(),tx(e,t)):tp(e,t)}(this,e);break;case O.IN_SELECT:tI(this,e);break;case O.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e._processStartTag(t)):tI(e,t)}(this,e);break;case O.IN_TEMPLATE:!function(e,t){switch(t.tagID){case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:te(e,t);break;case T.CAPTION:case T.COLGROUP:case T.TBODY:case T.TFOOT:case T.THEAD:e.tmplInsertionModeStack[0]=O.IN_TABLE,e.insertionMode=O.IN_TABLE,tb(e,t);break;case T.COL:e.tmplInsertionModeStack[0]=O.IN_COLUMN_GROUP,e.insertionMode=O.IN_COLUMN_GROUP,tO(e,t);break;case T.TR:e.tmplInsertionModeStack[0]=O.IN_TABLE_BODY,e.insertionMode=O.IN_TABLE_BODY,tk(e,t);break;case T.TD:case T.TH:e.tmplInsertionModeStack[0]=O.IN_ROW,e.insertionMode=O.IN_ROW,tx(e,t);break;default:e.tmplInsertionModeStack[0]=O.IN_BODY,e.insertionMode=O.IN_BODY,tp(e,t)}}(this,e);break;case O.AFTER_BODY:e.tagID===T.HTML?tp(this,e):tD(this,e);break;case O.IN_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.FRAMESET:e._insertElement(t,b.HTML);break;case T.FRAME:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.NOFRAMES:te(e,t)}}(this,e);break;case O.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.NOFRAMES:te(e,t)}}(this,e);break;case O.AFTER_AFTER_BODY:e.tagID===T.HTML?tp(this,e):tP(this,e);break;case O.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.NOFRAMES:te(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===T.P||t.tagID===T.BR){tM(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){let r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===b.HTML){e._endTagOutsideForeignContent(t);break}let a=e.treeAdapter.getTagName(r);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){var t;switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:!function(e,t){let n=t.tagID;(n===T.HTML||n===T.HEAD||n===T.BODY||n===T.BR)&&e8(e,t)}(this,e);break;case O.BEFORE_HEAD:!function(e,t){let n=t.tagID;n===T.HEAD||n===T.BODY||n===T.HTML||n===T.BR?e7(e,t):e._err(t,g.endTagWithoutMatchingOpenElement)}(this,e);break;case O.IN_HEAD:!function(e,t){switch(t.tagID){case T.HEAD:e.openElements.pop(),e.insertionMode=O.AFTER_HEAD;break;case T.BODY:case T.BR:case T.HTML:tn(e,t);break;case T.TEMPLATE:tt(e,t);break;default:e._err(t,g.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case T.NOSCRIPT:e.openElements.pop(),e.insertionMode=O.IN_HEAD;break;case T.BR:tr(e,t);break;default:e._err(t,g.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.AFTER_HEAD:!function(e,t){switch(t.tagID){case T.BODY:case T.HTML:case T.BR:ta(e,t);break;case T.TEMPLATE:tt(e,t);break;default:e._err(t,g.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.IN_BODY:th(this,e);break;case O.TEXT:e.tagID===T.SCRIPT&&(null===(t=this.scriptHandler)||void 0===t||t.call(this,this.openElements.current)),this.openElements.pop(),this.insertionMode=this.originalInsertionMode;break;case O.IN_TABLE:ty(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_CAPTION:!function(e,t){let n=t.tagID;switch(n){case T.CAPTION:case T.TABLE:e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_TABLE,n===T.TABLE&&ty(e,t));break;case T.BODY:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:th(e,t)}}(this,e);break;case O.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case T.COLGROUP:e.openElements.currentTagId===T.COLGROUP&&(e.openElements.pop(),e.insertionMode=O.IN_TABLE);break;case T.TEMPLATE:tt(e,t);break;case T.COL:break;default:t_(e,t)}}(this,e);break;case O.IN_TABLE_BODY:tC(this,e);break;case O.IN_ROW:tw(this,e);break;case O.IN_CELL:!function(e,t){let n=t.tagID;switch(n){case T.TD:case T.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_ROW);break;case T.TABLE:case T.TBODY:case T.TFOOT:case T.THEAD:case T.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),tw(e,t));break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:break;default:th(e,t)}}(this,e);break;case O.IN_SELECT:tR(this,e);break;case O.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e.onEndTag(t)):tR(e,t)}(this,e);break;case O.IN_TEMPLATE:e.tagID===T.TEMPLATE&&tt(this,e);break;case O.AFTER_BODY:tL(this,e);break;case O.IN_FRAMESET:e.tagID!==T.FRAMESET||this.openElements.isRootHtmlElementCurrent()||(this.openElements.pop(),this.fragmentContext||this.openElements.currentTagId===T.FRAMESET||(this.insertionMode=O.AFTER_FRAMESET));break;case O.AFTER_FRAMESET:e.tagID===T.HTML&&(this.insertionMode=O.AFTER_AFTER_FRAMESET);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onEof(e){switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.IN_BODY:case O.IN_TABLE:case O.IN_CAPTION:case O.IN_COLUMN_GROUP:case O.IN_TABLE_BODY:case O.IN_ROW:case O.IN_CELL:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:tg(this,e);break;case O.TEXT:this._err(e,g.eofInElementThatCanContainOnlyText),this.openElements.pop(),this.insertionMode=this.originalInsertionMode,this.onEof(e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_TEMPLATE:tN(this,e);break;case O.AFTER_BODY:case O.IN_FRAMESET:case O.AFTER_FRAMESET:case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:e6(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===h.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:case O.TEXT:case O.IN_COLUMN_GROUP:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:case O.IN_FRAMESET:case O.AFTER_FRAMESET:this._insertCharacters(e);break;case O.IN_BODY:case O.IN_CAPTION:case O.IN_CELL:case O.IN_TEMPLATE:case O.AFTER_BODY:case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:to(this,e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tm(this,e);break;case O.IN_TABLE_TEXT:tv(this,e)}}}function e5(e,t){for(let n=0;n<8;n++){let n=function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):tf(e,t),n}(e,t);if(!n)break;let r=function(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){let a=e.openElements.items[r];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[r])&&(n=a)}return n||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;let a=function(e,t,n){let r=t,a=e.openElements.getCommonAncestor(t);for(let i=0,o=a;o!==n;i++,o=a){a=e.openElements.getCommonAncestor(o);let n=e.activeFormattingElements.getElementEntry(o),s=n&&i>=3,l=!n||s;l?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(o)):(o=function(e,t){let n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}(e,r,n.element),i=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(a),i&&function(e,t,n){let r=e.treeAdapter.getTagName(t),a=ed(r);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(n);else{let r=e.treeAdapter.getNamespaceURI(t);a===T.TEMPLATE&&r===b.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}(e,i,a),function(e,t,n){let r=e.treeAdapter.getNamespaceURI(n.element),{token:a}=n,i=e.treeAdapter.createElement(a.tagName,r,a.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,a),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,a.tagID)}(e,r,n)}}function e4(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function e6(e,t){if(e.stopped=!0,t.location){let n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){let n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function e9(e,t){e._err(t,g.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,E.QUIRKS),e.insertionMode=O.BEFORE_HTML,e._processToken(t)}function e8(e,t){e._insertFakeRootElement(),e.insertionMode=O.BEFORE_HEAD,e._processToken(t)}function e7(e,t){e._insertFakeElement(v.HEAD,T.HEAD),e.headElement=e.openElements.current,e.insertionMode=O.IN_HEAD,e._processToken(t)}function te(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.TITLE:e._switchToTextParsing(t,em.RCDATA);break;case T.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,em.RAWTEXT):(e._insertElement(t,b.HTML),e.insertionMode=O.IN_HEAD_NO_SCRIPT);break;case T.NOFRAMES:case T.STYLE:e._switchToTextParsing(t,em.RAWTEXT);break;case T.SCRIPT:e._switchToTextParsing(t,em.SCRIPT_DATA);break;case T.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=O.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(O.IN_TEMPLATE);break;case T.HEAD:e._err(t,g.misplacedStartTagForHeadElement);break;default:tn(e,t)}}function tt(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==T.TEMPLATE&&e._err(t,g.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,g.endTagWithoutMatchingOpenElement)}function tn(e,t){e.openElements.pop(),e.insertionMode=O.AFTER_HEAD,e._processToken(t)}function tr(e,t){let n=t.type===m.EOF?g.openElementsLeftAfterEof:g.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=O.IN_HEAD,e._processToken(t)}function ta(e,t){e._insertFakeElement(v.BODY,T.BODY),e.insertionMode=O.IN_BODY,ti(e,t)}function ti(e,t){switch(t.type){case m.CHARACTER:ts(e,t);break;case m.WHITESPACE_CHARACTER:to(e,t);break;case m.COMMENT:e4(e,t);break;case m.START_TAG:tp(e,t);break;case m.END_TAG:th(e,t);break;case m.EOF:tg(e,t)}}function to(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function ts(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function tl(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function tc(e){let t=el(e,y.TYPE);return null!=t&&"hidden"===t.toLowerCase()}function tu(e,t){e._switchToTextParsing(t,em.RAWTEXT)}function td(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML)}function tp(e,t){switch(t.tagID){case T.I:case T.S:case T.B:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.SMALL:case T.STRIKE:case T.STRONG:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case T.A:!function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(v.A);n&&(e5(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),eh(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,b.HTML);break;case T.P:case T.DL:case T.OL:case T.UL:case T.DIV:case T.DIR:case T.NAV:case T.MAIN:case T.MENU:case T.ASIDE:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.DETAILS:case T.ADDRESS:case T.ARTICLE:case T.SECTION:case T.SUMMARY:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML);break;case T.LI:case T.DD:case T.DT:!function(e,t){e.framesetOk=!1;let n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let r=e.openElements.tagIDs[t];if(n===T.LI&&r===T.LI||(n===T.DD||n===T.DT)&&(r===T.DD||r===T.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==T.ADDRESS&&r!==T.DIV&&r!==T.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML)}(e,t);break;case T.BR:case T.IMG:case T.WBR:case T.AREA:case T.EMBED:case T.KEYGEN:tl(e,t);break;case T.HR:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0;break;case T.RB:case T.RTC:e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,b.HTML);break;case T.RT:case T.RP:e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(T.RTC),e._insertElement(t,b.HTML);break;case T.PRE:case T.LISTING:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.framesetOk=!1;break;case T.XMP:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,em.RAWTEXT);break;case T.SVG:e._reconstructActiveFormattingElements(),eQ(t),eJ(t),t.selfClosing?e._appendElement(t,b.SVG):e._insertElement(t,b.SVG),t.ackSelfClosing=!0;break;case T.HTML:0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs);break;case T.BASE:case T.LINK:case T.META:case T.STYLE:case T.TITLE:case T.SCRIPT:case T.BGSOUND:case T.BASEFONT:case T.TEMPLATE:te(e,t);break;case T.BODY:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t);break;case T.FORM:!function(e,t){let n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),n||(e.formElement=e.openElements.current))}(e,t);break;case T.NOBR:e._reconstructActiveFormattingElements(),e.openElements.hasInScope(T.NOBR)&&(e5(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case T.MATH:e._reconstructActiveFormattingElements(),eX(t),eJ(t),t.selfClosing?e._appendElement(t,b.MATHML):e._insertElement(t,b.MATHML),t.ackSelfClosing=!0;break;case T.TABLE:e.treeAdapter.getDocumentMode(e.document)!==E.QUIRKS&&e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=O.IN_TABLE;break;case T.INPUT:e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),tc(t)||(e.framesetOk=!1),t.ackSelfClosing=!0;break;case T.PARAM:case T.TRACK:case T.SOURCE:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.IMAGE:t.tagName=v.IMG,t.tagID=T.IMG,tl(e,t);break;case T.BUTTON:e.openElements.hasInScope(T.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1;break;case T.APPLET:case T.OBJECT:case T.MARQUEE:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1;break;case T.IFRAME:e.framesetOk=!1,e._switchToTextParsing(t,em.RAWTEXT);break;case T.SELECT:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===O.IN_TABLE||e.insertionMode===O.IN_CAPTION||e.insertionMode===O.IN_TABLE_BODY||e.insertionMode===O.IN_ROW||e.insertionMode===O.IN_CELL?O.IN_SELECT_IN_TABLE:O.IN_SELECT;break;case T.OPTION:case T.OPTGROUP:e.openElements.currentTagId===T.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML);break;case T.NOEMBED:tu(e,t);break;case T.FRAMESET:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_FRAMESET)}(e,t);break;case T.TEXTAREA:e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.tokenizer.state=em.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=O.TEXT;break;case T.NOSCRIPT:e.options.scriptingEnabled?tu(e,t):td(e,t);break;case T.PLAINTEXT:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.tokenizer.state=em.PLAINTEXT;break;case T.COL:case T.TH:case T.TD:case T.TR:case T.HEAD:case T.FRAME:case T.TBODY:case T.TFOOT:case T.THEAD:case T.CAPTION:case T.COLGROUP:break;default:td(e,t)}}function tf(e,t){let n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let a=e.openElements.items[t],i=e.openElements.tagIDs[t];if(r===i&&(r!==T.UNKNOWN||e.treeAdapter.getTagName(a)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(a,i))break}}function th(e,t){switch(t.tagID){case T.A:case T.B:case T.I:case T.S:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.NOBR:case T.SMALL:case T.STRIKE:case T.STRONG:e5(e,t);break;case T.P:e.openElements.hasInButtonScope(T.P)||e._insertFakeElement(v.P,T.P),e._closePElement();break;case T.DL:case T.UL:case T.OL:case T.DIR:case T.DIV:case T.NAV:case T.PRE:case T.MAIN:case T.MENU:case T.ASIDE:case T.BUTTON:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.ADDRESS:case T.ARTICLE:case T.DETAILS:case T.SECTION:case T.SUMMARY:case T.LISTING:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case T.LI:e.openElements.hasInListItemScope(T.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(T.LI),e.openElements.popUntilTagNamePopped(T.LI));break;case T.DD:case T.DT:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped());break;case T.BR:e._reconstructActiveFormattingElements(),e._insertFakeElement(v.BR,T.BR),e.openElements.pop(),e.framesetOk=!1;break;case T.BODY:!function(e,t){if(e.openElements.hasInScope(T.BODY)&&(e.insertionMode=O.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}(e,t);break;case T.HTML:e.openElements.hasInScope(T.BODY)&&(e.insertionMode=O.AFTER_BODY,tL(e,t));break;case T.FORM:!function(e){let t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(T.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(T.FORM):n&&e.openElements.remove(n))}(e);break;case T.APPLET:case T.OBJECT:case T.MARQUEE:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}(e,t);break;case T.TEMPLATE:tt(e,t);break;default:tf(e,t)}}function tg(e,t){e.tmplInsertionModeStack.length>0?tN(e,t):e6(e,t)}function tm(e,t){if(e1.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=O.IN_TABLE_TEXT,t.type){case m.CHARACTER:tT(e,t);break;case m.WHITESPACE_CHARACTER:tv(e,t)}else tE(e,t)}function tb(e,t){switch(t.tagID){case T.TD:case T.TH:case T.TR:e.openElements.clearBackToTableContext(),e._insertFakeElement(v.TBODY,T.TBODY),e.insertionMode=O.IN_TABLE_BODY,tk(e,t);break;case T.STYLE:case T.SCRIPT:case T.TEMPLATE:te(e,t);break;case T.COL:e.openElements.clearBackToTableContext(),e._insertFakeElement(v.COLGROUP,T.COLGROUP),e.insertionMode=O.IN_COLUMN_GROUP,tO(e,t);break;case T.FORM:e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,b.HTML),e.formElement=e.openElements.current,e.openElements.pop());break;case T.TABLE:e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode(),e._processStartTag(t));break;case T.TBODY:case T.TFOOT:case T.THEAD:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_TABLE_BODY;break;case T.INPUT:tc(t)?e._appendElement(t,b.HTML):tE(e,t),t.ackSelfClosing=!0;break;case T.CAPTION:e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_CAPTION;break;case T.COLGROUP:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_COLUMN_GROUP;break;default:tE(e,t)}}function ty(e,t){switch(t.tagID){case T.TABLE:e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode());break;case T.TEMPLATE:tt(e,t);break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:tE(e,t)}}function tE(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,ti(e,t),e.fosterParentingEnabled=n}function tv(e,t){e.pendingCharacterTokens.push(t)}function tT(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function tS(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0&&e.openElements.currentTagId===T.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===T.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===T.OPTGROUP&&e.openElements.pop();break;case T.OPTION:e.openElements.currentTagId===T.OPTION&&e.openElements.pop();break;case T.SELECT:e.openElements.hasInSelectScope(T.SELECT)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode());break;case T.TEMPLATE:tt(e,t)}}function tN(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):e6(e,t)}function tL(e,t){var n;if(t.tagID===T.HTML){if(e.fragmentContext||(e.insertionMode=O.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===T.HTML){e._setEndLocation(e.openElements.items[0],t);let r=e.openElements.items[1];!r||(null===(n=e.treeAdapter.getNodeSourceCodeLocation(r))||void 0===n?void 0:n.endTag)||e._setEndLocation(r,t)}}else tD(e,t)}function tD(e,t){e.insertionMode=O.IN_BODY,ti(e,t)}function tP(e,t){e.insertionMode=O.IN_BODY,ti(e,t)}function tM(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==b.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}n(43470),v.AREA,v.BASE,v.BASEFONT,v.BGSOUND,v.BR,v.COL,v.EMBED,v.FRAME,v.HR,v.IMG,v.INPUT,v.KEYGEN,v.LINK,v.META,v.PARAM,v.SOURCE,v.TRACK,v.WBR;var tF=n(3980),tB=n(21623);let tj=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),tU={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function tG(e,t){let n=function(e){let t="root"===e.type?e.children[0]:e;return!!(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName.toLowerCase()))}(e),r=q("type",{handlers:{root:t$,element:tz,text:tZ,comment:tV,doctype:tW,raw:tY},unknown:tq}),a={parser:n?new e3(tU):e3.getFragmentParser(void 0,tU),handle(e){r(e,a)},stitches:!1,options:t||{}};r(e,a),tK(a,(0,tF.Pk)());let i=n?a.parser.document:a.parser.getFragment(),o=function(e,t){let n=t||{};return $({file:n.file||void 0,location:!1,schema:"svg"===n.space?C.YP:C.dy,verbose:n.verbose||!1},e)}(i,{file:a.options.file});return(a.stitches&&(0,tB.Vn)(o,"comment",function(e,t,n){if(e.value.stitch&&n&&void 0!==t){let r=n.children;return r[t]=e.value.stitch,t}}),"root"===o.type&&1===o.children.length&&o.children[0].type===e.type)?o.children[0]:o}function tH(e,t){let n=-1;if(e)for(;++n4&&(t.parser.tokenizer.state=0);let n={type:m.CHARACTER,chars:e.value,location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tW(e,t){let n={type:m.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tV(e,t){let n=e.value,r={type:m.COMMENT,data:n,location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function tY(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,tX(t,(0,tF.Pk)(e)),t.parser.tokenizer.write(e.value,!1),t.parser.tokenizer._runParsingLoop(),72===t.parser.tokenizer.state||78===t.parser.tokenizer.state){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;let e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function tq(e,t){if(t.options.passThrough&&t.options.passThrough.includes(e.type))!function(e,t){t.stitches=!0;let n="children"in e?(0,_.ZP)({...e,children:[]}):(0,_.ZP)(e);if("children"in e&&"children"in n){let r=tG({type:"root",children:e.children},t.options);n.children=r.children}tV({type:"comment",value:{stitch:n}},t)}(e,t);else{let t="";throw tj.has(e.type)&&(t=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),Error("Cannot compile `"+e.type+"` node"+t)}}function tK(e,t){tX(e,t);let n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=em.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function tX(e,t){if(t&&void 0!==t.offset){let n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function tQ(e){let t=(0,tF.Pk)(e)||{line:void 0,column:void 0,offset:void 0},n=(0,tF.rb)(e)||{line:void 0,column:void 0,offset:void 0},r={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset};return r}function tJ(e){return function(t,n){let r=tG(t,{...e,file:n});return r}}},78600:function(e,t,n){"use strict";function r(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,a=n.indexOf(t);for(;-1!==a;)r++,a=n.indexOf(t,a+t.length);return r}n.d(t,{Z:function(){return eQ}});var a=n(24345),i=n(15459),o=n(88718),s=n(96093);let l="phrasing",c=["autolink","link","image","label"];function u(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function d(e){this.config.enter.autolinkProtocol.call(this,e)}function p(e){this.config.exit.autolinkProtocol.call(this,e)}function f(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];(0,a.ok)("link"===t.type),t.url="http://"+this.sliceSerialize(e)}function h(e){this.config.exit.autolinkEmail.call(this,e)}function g(e){this.exit(e)}function m(e){!function(e,t,n){let r=(0,s.O)((n||{}).ignore||[]),a=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r0?{type:"text",value:i}:void 0),!1===i?r.lastIndex=n+1:(s!==n&&d.push({type:"text",value:e.value.slice(s,n)}),Array.isArray(i)?d.push(...i):i&&d.push(i),s=n+p[0].length,u=!0),!r.global)break;p=r.exec(e.value)}return u?(s?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],a=n.indexOf(")"),i=r(e,"("),o=r(e,")");for(;-1!==a&&i>o;)e+=n.slice(0,a+1),a=(n=n.slice(a+1)).indexOf(")"),o++;return[e,n]}(n+a);if(!s[0])return!1;let l={type:"link",title:null,url:o+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[l,{type:"text",value:s[1]}]:l}function y(e,t,n,r){return!(!E(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function E(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||(0,i.B8)(n)||(0,i.Xh)(n))&&(!t||47!==n)}var v=n(11098);function T(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function S(){this.buffer()}function A(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteDefinition"===n.type),n.label=t,n.identifier=(0,v.d)(this.sliceSerialize(e)).toLowerCase()}function O(e){this.exit(e)}function _(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function k(){this.buffer()}function C(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteReference"===n.type),n.label=t,n.identifier=(0,v.d)(this.sliceSerialize(e)).toLowerCase()}function x(e){this.exit(e)}function w(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteReference"),s=n.enter("reference");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),o(),i+=a.move("]")}function I(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteDefinition"),s=n.enter("label");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),i+=a.move("]:"+(e.children&&e.children.length>0?" ":"")),a.shift(4),i+=a.move(n.indentLines(n.containerFlow(e,a.current()),R)),o(),i}function R(e,t,n){return 0===t?e:(n?"":" ")+e}w.peek=function(){return"["};let N=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function L(e){this.enter({type:"delete",children:[]},e)}function D(e){this.exit(e)}function P(e,t,n,r){let a=n.createTracker(r),i=n.enter("strikethrough"),o=a.move("~~");return o+=n.containerPhrasing(e,{...a.current(),before:o,after:"~"})+a.move("~~"),i(),o}function M(e){return e.length}function F(e){let t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function B(e,t,n){return">"+(n?"":" ")+e}function j(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),c+=l.move(")"),o(),c}function q(e,t,n,r){let a=e.referenceType,i=n.enter("imageReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("!["),c=n.safe(e.alt,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function K(e,t,n){let r=e.value||"",a="`",i=-1;for(;RegExp("(^|[^`])"+a+"([^`]|$)").test(r);)a+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i\u007F]/.test(e.url))}function Q(e,t,n,r){let a,i;let o=$(n),s='"'===o?"Quote":"Apostrophe",l=n.createTracker(r);if(X(e,n)){let t=n.stack;n.stack=[],a=n.enter("autolink");let r=l.move("<");return r+=l.move(n.containerPhrasing(e,{before:r,after:">",...l.current()}))+l.move(">"),a(),n.stack=t,r}a=n.enter("link"),i=n.enter("label");let c=l.move("[");return c+=l.move(n.containerPhrasing(e,{before:c,after:"](",...l.current()}))+l.move("]("),i(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(i=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(i=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),i(),e.title&&(i=n.enter(`title${s}`),c+=l.move(" "+o),c+=l.move(n.safe(e.title,{before:c,after:o,...l.current()}))+l.move(o),i()),c+=l.move(")"),a(),c}function J(e,t,n,r){let a=e.referenceType,i=n.enter("linkReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("["),c=n.containerPhrasing(e,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function ee(e){let t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function et(e){let t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}V.peek=function(){return"<"},Y.peek=function(){return"!"},q.peek=function(){return"!"},K.peek=function(){return"`"},Q.peek=function(e,t,n){return X(e,n)?"<":"["},J.peek=function(){return"["};let en=(0,s.O)(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function er(e,t,n,r){let a=function(e){let t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(n),i=n.enter("strong"),o=n.createTracker(r),s=o.move(a+a);return s+=o.move(n.containerPhrasing(e,{before:s,after:a,...o.current()}))+o.move(a+a),i(),s}er.peek=function(e,t,n){return n.options.strong||"*"};let ea={blockquote:function(e,t,n,r){let a=n.enter("blockquote"),i=n.createTracker(r);i.move("> "),i.shift(2);let o=n.indentLines(n.containerFlow(e,i.current()),B);return a(),o},break:U,code:function(e,t,n,r){let a=function(e){let t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),i=e.value||"",o="`"===a?"GraveAccent":"Tilde";if(!1===n.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value)){let e=n.enter("codeIndented"),t=n.indentLines(i,H);return e(),t}let s=n.createTracker(r),l=a.repeat(Math.max((0,G.J)(i,a)+1,3)),c=n.enter("codeFenced"),u=s.move(l);if(e.lang){let t=n.enter(`codeFencedLang${o}`);u+=s.move(n.safe(e.lang,{before:u,after:" ",encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${o}`);u+=s.move(" "),u+=s.move(n.safe(e.meta,{before:u,after:"\n",encode:["`"],...s.current()})),t()}return u+=s.move("\n"),i&&(u+=s.move(i+"\n")),u+=s.move(l),c(),u},definition:function(e,t,n,r){let a=$(n),i='"'===a?"Quote":"Apostrophe",o=n.enter("definition"),s=n.enter("label"),l=n.createTracker(r),c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()}))+l.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":"\n",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),o(),c},emphasis:z,hardBreak:U,heading:function(e,t,n,r){let a;let i=Math.max(Math.min(6,e.depth||1),1),s=n.createTracker(r);if(a=!1,(0,Z.Vn)(e,function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return a=!0,o.BK}),(!e.depth||e.depth<3)&&(0,W.B)(e)&&(n.options.setext||a)){let t=n.enter("headingSetext"),r=n.enter("phrasing"),a=n.containerPhrasing(e,{...s.current(),before:"\n",after:"\n"});return r(),t(),a+"\n"+(1===i?"=":"-").repeat(a.length-(Math.max(a.lastIndexOf("\r"),a.lastIndexOf("\n"))+1))}let l="#".repeat(i),c=n.enter("headingAtx"),u=n.enter("phrasing");s.move(l+" ");let d=n.containerPhrasing(e,{before:"# ",after:"\n",...s.current()});return/^[\t ]/.test(d)&&(d="&#x"+d.charCodeAt(0).toString(16).toUpperCase()+";"+d.slice(1)),d=d?l+" "+d:l,n.options.closeAtx&&(d+=" "+l),u(),c(),d},html:V,image:Y,imageReference:q,inlineCode:K,link:Q,linkReference:J,list:function(e,t,n,r){let a=n.enter("list"),i=n.bulletCurrent,o=e.ordered?function(e){let t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):ee(n),s=e.ordered?"."===o?")":".":function(e){let t=ee(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n),l=!!t&&!!n.bulletLastUsed&&o===n.bulletLastUsed;if(!e.ordered){let t=e.children?e.children[0]:void 0;if("*"!==o&&"-"!==o||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(l=!0),et(n)===o&&t){let t=-1;for(;++t-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+i);let o=i.length+1;("tab"===a||"mixed"===a&&(t&&"list"===t.type&&t.spread||e.spread))&&(o=4*Math.ceil(o/4));let s=n.createTracker(r);s.move(i+" ".repeat(o-i.length)),s.shift(o);let l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),function(e,t,n){return t?(n?"":" ".repeat(o))+e:(n?i:i+" ".repeat(o-i.length))+e});return l(),c},paragraph:function(e,t,n,r){let a=n.enter("paragraph"),i=n.enter("phrasing"),o=n.containerPhrasing(e,r);return i(),a(),o},root:function(e,t,n,r){let a=e.children.some(function(e){return en(e)}),i=a?n.containerPhrasing:n.containerFlow;return i.call(n,e,r)},strong:er,text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){let r=(et(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}};function ei(e){let t=e._align;(0,a.ok)(t,"expected `_align` on table"),this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function eo(e){this.exit(e),this.data.inTable=void 0}function es(e){this.enter({type:"tableRow",children:[]},e)}function el(e){this.exit(e)}function ec(e){this.enter({type:"tableCell",children:[]},e)}function eu(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,ed));let n=this.stack[this.stack.length-1];(0,a.ok)("inlineCode"===n.type),n.value=t,this.exit(e)}function ed(e,t){return"|"===t?t:e}function ep(e){let t=this.stack[this.stack.length-2];(0,a.ok)("listItem"===t.type),t.checked="taskListCheckValueChecked"===e.type}function ef(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1];(0,a.ok)("paragraph"===e.type);let n=e.children[0];if(n&&"text"===n.type){let r;let a=t.children,i=-1;for(;++i0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}eO[43]=eA,eO[45]=eA,eO[46]=eA,eO[95]=eA,eO[72]=[eA,eS],eO[104]=[eA,eS],eO[87]=[eA,eT],eO[119]=[eA,eT];var eR=n(23402),eN=n(42761);let eL={tokenize:function(e,t,n){let r=this;return(0,eN.f)(e,function(e){let a=r.events[r.events.length-1];return a&&"gfmFootnoteDefinitionIndent"===a[1].type&&4===a[2].sliceSerialize(a[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function eD(e,t,n){let r;let a=this,i=a.events.length,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);for(;i--;){let e=a.events[i][1];if("labelImage"===e.type){r=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(i){if(!r||!r._balanced)return n(i);let s=(0,v.d)(a.sliceSerialize({start:r.end,end:a.now()}));return 94===s.codePointAt(0)&&o.includes(s.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(i),e.exit("gfmFootnoteCallLabelMarker"),t(i)):n(i)}}function eP(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;let i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",a,t],["exit",a,t],["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function eM(e,t,n){let r;let a=this,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),s=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),l};function l(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(l){if(s>999||93===l&&!r||null===l||91===l||(0,i.z3)(l))return n(l);if(93===l){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return o.includes((0,v.d)(a.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(l)}return(0,i.z3)(l)||(r=!0),s++,e.consume(l),92===l?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function eF(e,t,n){let r,a;let o=this,s=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]),l=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(t)}function u(t){if(l>999||93===t&&!a||null===t||91===t||(0,i.z3)(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return r=(0,v.d)(o.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return(0,i.z3)(t)||(a=!0),l++,e.consume(t),92===t?d:u}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}function p(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s.includes(r)||s.push(r),(0,eN.f)(e,f,"gfmFootnoteDefinitionWhitespace")):n(t)}function f(e){return t(e)}}function eB(e,t,n){return e.check(eR.w,t,e.attempt(eL,t,n))}function ej(e){e.exit("gfmFootnoteDefinition")}var eU=n(21905),eG=n(62987),eH=n(63233);class e${constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let a=0;if(0!==n||0!==r.length){for(;a0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function ez(e,t,n){let r;let a=this,o=0,s=0;return function(e){let t=a.events.length-1;for(;t>-1;){let e=a.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let r=t>-1?a.events[t][1].type:null,i="tableHead"===r||"tableRow"===r?E:l;return i===E&&a.parser.lazy[a.now().line]?n(e):i(e)};function l(t){return e.enter("tableHead"),e.enter("tableRow"),124===t||(r=!0,s+=1),c(t)}function c(t){return null===t?n(t):(0,i.Ch)(t)?s>1?(s=0,a.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p):n(t):(0,i.xz)(t)?(0,eN.f)(e,c,"whitespace")(t):(s+=1,r&&(r=!1,o+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,c):(e.enter("data"),u(t))}function u(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),c(t)):(e.consume(t),92===t?d:u)}function d(t){return 92===t||124===t?(e.consume(t),u):u(t)}function p(t){return(a.interrupt=!1,a.parser.lazy[a.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,(0,i.xz)(t))?(0,eN.f)(e,f,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):f(t)}function f(t){return 45===t||58===t?g(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),h):n(t)}function h(t){return(0,i.xz)(t)?(0,eN.f)(e,g,"whitespace")(t):g(t)}function g(t){return 58===t?(s+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),m):45===t?(s+=1,m(t)):null===t||(0,i.Ch)(t)?y(t):n(t)}function m(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),b):(e.exit("tableDelimiterFiller"),b(n))}(t)):n(t)}function b(t){return(0,i.xz)(t)?(0,eN.f)(e,y,"whitespace")(t):y(t)}function y(a){return 124===a?f(a):null===a||(0,i.Ch)(a)?r&&o===s?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(a)):n(a):n(a)}function E(t){return e.enter("tableRow"),v(t)}function v(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),v):null===n||(0,i.Ch)(n)?(e.exit("tableRow"),t(n)):(0,i.xz)(n)?(0,eN.f)(e,v,"whitespace")(n):(e.enter("data"),T(n))}function T(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),v(t)):(e.consume(t),92===t?S:T)}function S(t){return 92===t||124===t?(e.consume(t),T):T(t)}}function eZ(e,t){let n,r,a,i=-1,o=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,d=0,p=new e$;for(;++in[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",o,t]])}return void 0!==a&&(i.end=Object.assign({},eY(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function eV(e,t,n,r,a){let i=[],o=eY(t.events,n);a&&(a.end=Object.assign({},o),i.push(["exit",a,t])),r.end=Object.assign({},o),i.push(["exit",r,t]),e.add(n+1,0,i)}function eY(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}let eq={name:"tasklistCheck",tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),a):n(t)};function a(t){return(0,i.z3)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(t)}function s(r){return(0,i.Ch)(r)?t(r):(0,i.xz)(r)?e.check({tokenize:eK},t,n)(r):n(r)}}};function eK(e,t,n){return(0,eN.f)(e,function(e){return null===e?n(e):t(e)},"whitespace")}let eX={};function eQ(e){let t=e||eX,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),i=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push((0,eg.W)([{text:eO},{document:{91:{name:"gfmFootnoteDefinition",tokenize:eF,continuation:{tokenize:eB},exit:ej}},text:{91:{name:"gfmFootnoteCall",tokenize:eM},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:eD,resolveTo:eP}}},function(e){let t=(e||{}).singleTilde,n={name:"strikethrough",tokenize:function(e,n,r){let a=this.previous,i=this.events,o=0;return function(s){return 126===a&&"characterEscape"!==i[i.length-1][1].type?r(s):(e.enter("strikethroughSequenceTemporary"),function i(s){let l=(0,eG.r)(a);if(126===s)return o>1?r(s):(e.consume(s),o++,i);if(o<2&&!t)return r(s);let c=e.exit("strikethroughSequenceTemporary"),u=(0,eG.r)(s);return c._open=!u||2===u&&!!l,c._close=!l||2===l&&!!u,n(s)}(s))}},resolveAll:function(e,t){let n=-1;for(;++nl&&(l=e[c].length);++ds[d])&&(s[d]=e)}n.push(i)}i[c]=n,o[c]=a}let d=-1;if("object"==typeof n&&"length"in n)for(;++ds[d]&&(s[d]=i),f[d]=i),p[d]=o}i.splice(1,0,p),o.splice(1,0,f),c=-1;let h=[];for(;++c","Iacute":"\xcd","Icirc":"\xce","Igrave":"\xcc","Iuml":"\xcf","LT":"<","Ntilde":"\xd1","Oacute":"\xd3","Ocirc":"\xd4","Ograve":"\xd2","Oslash":"\xd8","Otilde":"\xd5","Ouml":"\xd6","QUOT":"\\"","REG":"\xae","THORN":"\xde","Uacute":"\xda","Ucirc":"\xdb","Ugrave":"\xd9","Uuml":"\xdc","Yacute":"\xdd","aacute":"\xe1","acirc":"\xe2","acute":"\xb4","aelig":"\xe6","agrave":"\xe0","amp":"&","aring":"\xe5","atilde":"\xe3","auml":"\xe4","brvbar":"\xa6","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","eacute":"\xe9","ecirc":"\xea","egrave":"\xe8","eth":"\xf0","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","iacute":"\xed","icirc":"\xee","iexcl":"\xa1","igrave":"\xec","iquest":"\xbf","iuml":"\xef","laquo":"\xab","lt":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","ntilde":"\xf1","oacute":"\xf3","ocirc":"\xf4","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","oslash":"\xf8","otilde":"\xf5","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","raquo":"\xbb","reg":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","thorn":"\xfe","times":"\xd7","uacute":"\xfa","ucirc":"\xfb","ugrave":"\xf9","uml":"\xa8","uuml":"\xfc","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')}},function(e){e.O(0,[3662,7034,6106,8674,3166,2837,2168,8163,1265,7728,2913,3791,5278,9859,4330,4041,8791,5030,5418,2783,3457,1300,4567,2398,2480,7410,7124,9773,4035,1154,2510,3345,9202,7249,3768,5789,9774,2888,179],function(){return e(e.s=8726)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/flow-54ba807b76ddd54f.js b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/flow-d4222946f1cac542.js similarity index 100% rename from packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/flow-54ba807b76ddd54f.js rename to packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/flow-d4222946f1cac542.js diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/flow/canvas-fe38cebfaf8acb66.js b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/flow/canvas-2f274b1c85e62987.js similarity index 100% rename from packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/flow/canvas-fe38cebfaf8acb66.js rename to packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/flow/canvas-2f274b1c85e62987.js diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/flow/libro-2ac4e03be190fae6.js b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/flow/libro-ef0a3eabd6a60a7c.js similarity index 100% rename from packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/flow/libro-2ac4e03be190fae6.js rename to packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/flow/libro-ef0a3eabd6a60a7c.js diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/knowledge-d9e67c9a2bb56951.js b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/knowledge-846c6d4d591d6228.js similarity index 99% rename from packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/knowledge-d9e67c9a2bb56951.js rename to packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/knowledge-846c6d4d591d6228.js index e82203e29..2a8cdc207 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/knowledge-d9e67c9a2bb56951.js +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/knowledge-846c6d4d591d6228.js @@ -7,7 +7,7 @@ ${(0,f.bf)(a)} ${(0,f.bf)(a)} 0 0 ${n}, ${(0,f.bf)(a)} 0 0 0 ${n} inset, 0 ${(0,f.bf)(a)} 0 0 ${n} inset; - `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:r}}},E=e=>{let{componentCls:t,iconCls:n,actionsLiMargin:r,cardActionsIconSize:a,colorBorderSecondary:i,actionsBg:o}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:o,borderTop:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${i}`,display:"flex",borderRadius:`0 0 ${(0,f.bf)(e.borderRadiusLG)} ${(0,f.bf)(e.borderRadiusLG)}`},(0,h.dF)()),{"& > li":{margin:r,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.calc(e.cardActionsIconSize).mul(2).equal(),fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${n}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:(0,f.bf)(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:a,lineHeight:(0,f.bf)(e.calc(a).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${i}`}}})},v=e=>Object.assign(Object.assign({margin:`${(0,f.bf)(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex"},(0,h.dF)()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},h.vS),"&-description":{color:e.colorTextDescription}}),T=e=>{let{componentCls:t,cardPaddingBase:n,colorFillAlter:r}=e;return{[`${t}-head`]:{padding:`0 ${(0,f.bf)(n)}`,background:r,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${(0,f.bf)(e.padding)} ${(0,f.bf)(n)}`}}},S=e=>{let{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},A=e=>{let{componentCls:t,cardShadow:n,cardHeadPadding:r,colorBorderSecondary:a,boxShadowTertiary:i,cardPaddingBase:o,extraColor:s}=e;return{[t]:Object.assign(Object.assign({},(0,h.Wf)(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${t}-bordered)`]:{boxShadow:i},[`${t}-head`]:b(e),[`${t}-extra`]:{marginInlineStart:"auto",color:s,fontWeight:"normal",fontSize:e.fontSize},[`${t}-body`]:Object.assign({padding:o,borderRadius:`0 0 ${(0,f.bf)(e.borderRadiusLG)} ${(0,f.bf)(e.borderRadiusLG)}`},(0,h.dF)()),[`${t}-grid`]:y(e),[`${t}-cover`]:{"> *":{display:"block",width:"100%",borderRadius:`${(0,f.bf)(e.borderRadiusLG)} ${(0,f.bf)(e.borderRadiusLG)} 0 0`}},[`${t}-actions`]:E(e),[`${t}-meta`]:v(e)}),[`${t}-bordered`]:{border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${a}`,[`${t}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${t}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:n}},[`${t}-contain-grid`]:{borderRadius:`${(0,f.bf)(e.borderRadiusLG)} ${(0,f.bf)(e.borderRadiusLG)} 0 0 `,[`${t}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${t}-loading) ${t}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${t}-contain-tabs`]:{[`> div${t}-head`]:{minHeight:0,[`${t}-head-title, ${t}-extra`]:{paddingTop:r}}},[`${t}-type-inner`]:T(e),[`${t}-loading`]:S(e),[`${t}-rtl`]:{direction:"rtl"}}},O=e=>{let{componentCls:t,cardPaddingSM:n,headerHeightSM:r,headerFontSizeSM:a}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:r,padding:`0 ${(0,f.bf)(n)}`,fontSize:a,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}};var _=(0,m.I$)("Card",e=>{let t=(0,g.IX)(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[A(t),O(t)]},e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+2*e.padding,headerHeightSM:e.fontSize*e.lineHeight+2*e.paddingXS,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText})),k=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let x=e=>{let{actionClasses:t,actions:n=[],actionStyle:a}=e;return r.createElement("ul",{className:t,style:a},n.map((e,t)=>{let a=`action-${t}`;return r.createElement("li",{style:{width:`${100/n.length}%`},key:a},r.createElement("span",null,e))}))},C=r.forwardRef((e,t)=>{let n;let{prefixCls:a,className:d,rootClassName:f,style:h,extra:m,headStyle:g={},bodyStyle:b={},title:y,loading:E,bordered:v=!0,size:T,type:S,cover:A,actions:O,tabList:C,children:w,activeTabKey:I,defaultActiveTabKey:N,tabBarExtraContent:R,hoverable:L,tabProps:D={},classNames:P,styles:M}=e,F=k(e,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps","classNames","styles"]),{getPrefixCls:j,direction:B,card:U}=r.useContext(s.E_),$=e=>{var t;return i()(null===(t=null==U?void 0:U.classNames)||void 0===t?void 0:t[e],null==P?void 0:P[e])},G=e=>{var t;return Object.assign(Object.assign({},null===(t=null==U?void 0:U.styles)||void 0===t?void 0:t[e]),null==M?void 0:M[e])},H=r.useMemo(()=>{let e=!1;return r.Children.forEach(w,t=>{(null==t?void 0:t.type)===p&&(e=!0)}),e},[w]),z=j("card",a),[Z,W,V]=_(z),Y=r.createElement(c.Z,{loading:!0,active:!0,paragraph:{rows:4},title:!1},w),q=void 0!==I,X=Object.assign(Object.assign({},D),{[q?"activeKey":"defaultActiveKey"]:q?I:N,tabBarExtraContent:R}),K=(0,l.Z)(T),Q=C?r.createElement(u.Z,Object.assign({size:K&&"default"!==K?K:"large"},X,{className:`${z}-head-tabs`,onChange:t=>{var n;null===(n=e.onTabChange)||void 0===n||n.call(e,t)},items:C.map(e=>{var{tab:t}=e;return Object.assign({label:t},k(e,["tab"]))})})):null;if(y||m||Q){let e=i()(`${z}-head`,$("header")),t=i()(`${z}-head-title`,$("title")),a=i()(`${z}-extra`,$("extra")),o=Object.assign(Object.assign({},g),G("header"));n=r.createElement("div",{className:e,style:o},r.createElement("div",{className:`${z}-head-wrapper`},y&&r.createElement("div",{className:t,style:G("title")},y),m&&r.createElement("div",{className:a,style:G("extra")},m)),Q)}let J=i()(`${z}-cover`,$("cover")),ee=A?r.createElement("div",{className:J,style:G("cover")},A):null,et=i()(`${z}-body`,$("body")),en=Object.assign(Object.assign({},b),G("body")),er=r.createElement("div",{className:et,style:en},E?Y:w),ea=i()(`${z}-actions`,$("actions")),ei=(null==O?void 0:O.length)?r.createElement(x,{actionClasses:ea,actionStyle:G("actions"),actions:O}):null,eo=(0,o.Z)(F,["onTabChange"]),es=i()(z,null==U?void 0:U.className,{[`${z}-loading`]:E,[`${z}-bordered`]:v,[`${z}-hoverable`]:L,[`${z}-contain-grid`]:H,[`${z}-contain-tabs`]:null==C?void 0:C.length,[`${z}-${K}`]:K,[`${z}-type-${S}`]:!!S,[`${z}-rtl`]:"rtl"===B},d,f,W,V),el=Object.assign(Object.assign({},null==U?void 0:U.style),h);return Z(r.createElement("div",Object.assign({ref:t},eo,{className:es,style:el}),n,ee,er,ei))});var w=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};C.Grid=p,C.Meta=e=>{let{prefixCls:t,className:n,avatar:a,title:o,description:l}=e,c=w(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:u}=r.useContext(s.E_),d=u("card",t),p=i()(`${d}-meta`,n),f=a?r.createElement("div",{className:`${d}-meta-avatar`},a):null,h=o?r.createElement("div",{className:`${d}-meta-title`},o):null,m=l?r.createElement("div",{className:`${d}-meta-description`},l):null,g=h||m?r.createElement("div",{className:`${d}-meta-detail`},h,m):null;return r.createElement("div",Object.assign({},c,{className:p}),f,g)};var I=C},85265:function(e,t,n){"use strict";n.d(t,{Z:function(){return q}});var r=n(67294),a=n(93967),i=n.n(a),o=n(1413),s=n(97685),l=n(2788),c=n(8410),u=r.createContext(null),d=r.createContext({}),p=n(4942),f=n(87462),h=n(29372),m=n(15105),g=n(64217),b=n(45987),y=n(42550),E=["prefixCls","className","containerRef"],v=function(e){var t=e.prefixCls,n=e.className,a=e.containerRef,o=(0,b.Z)(e,E),s=r.useContext(d).panel,l=(0,y.x1)(s,a);return r.createElement("div",(0,f.Z)({className:i()("".concat(t,"-content"),n),role:"dialog",ref:l},(0,g.Z)(e,{aria:!0}),{"aria-modal":"true"},o))},T=n(80334);function S(e){return"string"==typeof e&&String(Number(e))===e?((0,T.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var A={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"},O=r.forwardRef(function(e,t){var n,a,l,c=e.prefixCls,d=e.open,b=e.placement,y=e.inline,E=e.push,T=e.forceRender,O=e.autoFocus,_=e.keyboard,k=e.classNames,x=e.rootClassName,C=e.rootStyle,w=e.zIndex,I=e.className,N=e.id,R=e.style,L=e.motion,D=e.width,P=e.height,M=e.children,F=e.mask,j=e.maskClosable,B=e.maskMotion,U=e.maskClassName,$=e.maskStyle,G=e.afterOpenChange,H=e.onClose,z=e.onMouseEnter,Z=e.onMouseOver,W=e.onMouseLeave,V=e.onClick,Y=e.onKeyDown,q=e.onKeyUp,X=e.styles,K=e.drawerRender,Q=r.useRef(),J=r.useRef(),ee=r.useRef();r.useImperativeHandle(t,function(){return Q.current}),r.useEffect(function(){if(d&&O){var e;null===(e=Q.current)||void 0===e||e.focus({preventScroll:!0})}},[d]);var et=r.useState(!1),en=(0,s.Z)(et,2),er=en[0],ea=en[1],ei=r.useContext(u),eo=null!==(n=null!==(a=null===(l="boolean"==typeof E?E?{}:{distance:0}:E||{})||void 0===l?void 0:l.distance)&&void 0!==a?a:null==ei?void 0:ei.pushDistance)&&void 0!==n?n:180,es=r.useMemo(function(){return{pushDistance:eo,push:function(){ea(!0)},pull:function(){ea(!1)}}},[eo]);r.useEffect(function(){var e,t;d?null==ei||null===(e=ei.push)||void 0===e||e.call(ei):null==ei||null===(t=ei.pull)||void 0===t||t.call(ei)},[d]),r.useEffect(function(){return function(){var e;null==ei||null===(e=ei.pull)||void 0===e||e.call(ei)}},[]);var el=F&&r.createElement(h.ZP,(0,f.Z)({key:"mask"},B,{visible:d}),function(e,t){var n=e.className,a=e.style;return r.createElement("div",{className:i()("".concat(c,"-mask"),n,null==k?void 0:k.mask,U),style:(0,o.Z)((0,o.Z)((0,o.Z)({},a),$),null==X?void 0:X.mask),onClick:j&&d?H:void 0,ref:t})}),ec="function"==typeof L?L(b):L,eu={};if(er&&eo)switch(b){case"top":eu.transform="translateY(".concat(eo,"px)");break;case"bottom":eu.transform="translateY(".concat(-eo,"px)");break;case"left":eu.transform="translateX(".concat(eo,"px)");break;default:eu.transform="translateX(".concat(-eo,"px)")}"left"===b||"right"===b?eu.width=S(D):eu.height=S(P);var ed={onMouseEnter:z,onMouseOver:Z,onMouseLeave:W,onClick:V,onKeyDown:Y,onKeyUp:q},ep=r.createElement(h.ZP,(0,f.Z)({key:"panel"},ec,{visible:d,forceRender:T,onVisibleChanged:function(e){null==G||G(e)},removeOnLeave:!1,leavedClassName:"".concat(c,"-content-wrapper-hidden")}),function(t,n){var a=t.className,s=t.style,l=r.createElement(v,(0,f.Z)({id:N,containerRef:n,prefixCls:c,className:i()(I,null==k?void 0:k.content),style:(0,o.Z)((0,o.Z)({},R),null==X?void 0:X.content)},(0,g.Z)(e,{aria:!0}),ed),M);return r.createElement("div",(0,f.Z)({className:i()("".concat(c,"-content-wrapper"),null==k?void 0:k.wrapper,a),style:(0,o.Z)((0,o.Z)((0,o.Z)({},eu),s),null==X?void 0:X.wrapper)},(0,g.Z)(e,{data:!0})),K?K(l):l)}),ef=(0,o.Z)({},C);return w&&(ef.zIndex=w),r.createElement(u.Provider,{value:es},r.createElement("div",{className:i()(c,"".concat(c,"-").concat(b),x,(0,p.Z)((0,p.Z)({},"".concat(c,"-open"),d),"".concat(c,"-inline"),y)),style:ef,tabIndex:-1,ref:Q,onKeyDown:function(e){var t,n,r=e.keyCode,a=e.shiftKey;switch(r){case m.Z.TAB:r===m.Z.TAB&&(a||document.activeElement!==ee.current?a&&document.activeElement===J.current&&(null===(n=ee.current)||void 0===n||n.focus({preventScroll:!0})):null===(t=J.current)||void 0===t||t.focus({preventScroll:!0}));break;case m.Z.ESC:H&&_&&(e.stopPropagation(),H(e))}}},el,r.createElement("div",{tabIndex:0,ref:J,style:A,"aria-hidden":"true","data-sentinel":"start"}),ep,r.createElement("div",{tabIndex:0,ref:ee,style:A,"aria-hidden":"true","data-sentinel":"end"})))}),_=function(e){var t=e.open,n=e.prefixCls,a=e.placement,i=e.autoFocus,u=e.keyboard,p=e.width,f=e.mask,h=void 0===f||f,m=e.maskClosable,g=e.getContainer,b=e.forceRender,y=e.afterOpenChange,E=e.destroyOnClose,v=e.onMouseEnter,T=e.onMouseOver,S=e.onMouseLeave,A=e.onClick,_=e.onKeyDown,k=e.onKeyUp,x=e.panelRef,C=r.useState(!1),w=(0,s.Z)(C,2),I=w[0],N=w[1],R=r.useState(!1),L=(0,s.Z)(R,2),D=L[0],P=L[1];(0,c.Z)(function(){P(!0)},[]);var M=!!D&&void 0!==t&&t,F=r.useRef(),j=r.useRef();(0,c.Z)(function(){M&&(j.current=document.activeElement)},[M]);var B=r.useMemo(function(){return{panel:x}},[x]);if(!b&&!I&&!M&&E)return null;var U=(0,o.Z)((0,o.Z)({},e),{},{open:M,prefixCls:void 0===n?"rc-drawer":n,placement:void 0===a?"right":a,autoFocus:void 0===i||i,keyboard:void 0===u||u,width:void 0===p?378:p,mask:h,maskClosable:void 0===m||m,inline:!1===g,afterOpenChange:function(e){var t,n;N(e),null==y||y(e),e||!j.current||null!==(t=F.current)&&void 0!==t&&t.contains(j.current)||null===(n=j.current)||void 0===n||n.focus({preventScroll:!0})},ref:F},{onMouseEnter:v,onMouseOver:T,onMouseLeave:S,onClick:A,onKeyDown:_,onKeyUp:k});return r.createElement(d.Provider,{value:B},r.createElement(l.Z,{open:M||b||I,autoDestroy:!1,getContainer:g,autoLock:h&&(M||I)},r.createElement(O,U)))},k=n(89942),x=n(87263),C=n(33603),w=n(43945),I=n(53124),N=n(16569),R=n(69760),L=n(48054),D=e=>{var t,n;let{prefixCls:a,title:o,footer:s,extra:l,loading:c,onClose:u,headerStyle:d,bodyStyle:p,footerStyle:f,children:h,classNames:m,styles:g}=e,{drawer:b}=r.useContext(I.E_),y=r.useCallback(e=>r.createElement("button",{type:"button",onClick:u,"aria-label":"Close",className:`${a}-close`},e),[u]),[E,v]=(0,R.Z)((0,R.w)(e),(0,R.w)(b),{closable:!0,closeIconRender:y}),T=r.useMemo(()=>{var e,t;return o||E?r.createElement("div",{style:Object.assign(Object.assign(Object.assign({},null===(e=null==b?void 0:b.styles)||void 0===e?void 0:e.header),d),null==g?void 0:g.header),className:i()(`${a}-header`,{[`${a}-header-close-only`]:E&&!o&&!l},null===(t=null==b?void 0:b.classNames)||void 0===t?void 0:t.header,null==m?void 0:m.header)},r.createElement("div",{className:`${a}-header-title`},v,o&&r.createElement("div",{className:`${a}-title`},o)),l&&r.createElement("div",{className:`${a}-extra`},l)):null},[E,v,l,d,a,o]),S=r.useMemo(()=>{var e,t;if(!s)return null;let n=`${a}-footer`;return r.createElement("div",{className:i()(n,null===(e=null==b?void 0:b.classNames)||void 0===e?void 0:e.footer,null==m?void 0:m.footer),style:Object.assign(Object.assign(Object.assign({},null===(t=null==b?void 0:b.styles)||void 0===t?void 0:t.footer),f),null==g?void 0:g.footer)},s)},[s,f,a]);return r.createElement(r.Fragment,null,T,r.createElement("div",{className:i()(`${a}-body`,null==m?void 0:m.body,null===(t=null==b?void 0:b.classNames)||void 0===t?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},null===(n=null==b?void 0:b.styles)||void 0===n?void 0:n.body),p),null==g?void 0:g.body)},c?r.createElement(L.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${a}-body-skeleton`}):h),S)},P=n(25446),M=n(14747),F=n(83559),j=n(83262);let B=e=>{let t="100%";return({left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`})[e]},U=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),$=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}}},U({opacity:e},{opacity:1})),G=(e,t)=>[$(.7,t),U({transform:B(e)},{transform:"none"})];var H=e=>{let{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:$(0,n),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce((e,t)=>Object.assign(Object.assign({},e),{[`&-${t}`]:G(t,n)}),{})}}};let z=e=>{let{borderRadiusSM:t,componentCls:n,zIndexPopup:r,colorBgMask:a,colorBgElevated:i,motionDurationSlow:o,motionDurationMid:s,paddingXS:l,padding:c,paddingLG:u,fontSizeLG:d,lineHeightLG:p,lineWidth:f,lineType:h,colorSplit:m,marginXS:g,colorIcon:b,colorIconHover:y,colorBgTextHover:E,colorBgTextActive:v,colorText:T,fontWeightStrong:S,footerPaddingBlock:A,footerPaddingInline:O,calc:_}=e,k=`${n}-content-wrapper`;return{[n]:{position:"fixed",inset:0,zIndex:r,pointerEvents:"none",color:T,"&-pure":{position:"relative",background:i,display:"flex",flexDirection:"column",[`&${n}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${n}-mask`]:{position:"absolute",inset:0,zIndex:r,background:a,pointerEvents:"auto"},[k]:{position:"absolute",zIndex:r,maxWidth:"100vw",transition:`all ${o}`,"&-hidden":{display:"none"}},[`&-left > ${k}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${k}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${k}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${k}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${n}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:i,pointerEvents:"auto"},[`${n}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,P.bf)(c)} ${(0,P.bf)(u)}`,fontSize:d,lineHeight:p,borderBottom:`${(0,P.bf)(f)} ${h} ${m}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:"none"},[`${n}-close`]:Object.assign({display:"inline-flex",width:_(d).add(l).equal(),height:_(d).add(l).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",marginInlineEnd:g,color:b,fontWeight:S,fontSize:d,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${s}`,textRendering:"auto","&:hover":{color:y,backgroundColor:E,textDecoration:"none"},"&:active":{backgroundColor:v}},(0,M.Qy)(e)),[`${n}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:d,lineHeight:p},[`${n}-body`]:{flex:1,minWidth:0,minHeight:0,padding:u,overflow:"auto",[`${n}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${n}-footer`]:{flexShrink:0,padding:`${(0,P.bf)(A)} ${(0,P.bf)(O)}`,borderTop:`${(0,P.bf)(f)} ${h} ${m}`},"&-rtl":{direction:"rtl"}}}};var Z=(0,F.I$)("Drawer",e=>{let t=(0,j.IX)(e,{});return[z(t),H(t)]},e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding})),W=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let V={distance:180},Y=e=>{let{rootClassName:t,width:n,height:a,size:o="default",mask:s=!0,push:l=V,open:c,afterOpenChange:u,onClose:d,prefixCls:p,getContainer:f,style:h,className:m,visible:g,afterVisibleChange:b,maskStyle:y,drawerStyle:E,contentWrapperStyle:v}=e,T=W(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:S,getPrefixCls:A,direction:O,drawer:R}=r.useContext(I.E_),L=A("drawer",p),[P,M,F]=Z(L),j=void 0===f&&S?()=>S(document.body):f,B=i()({"no-mask":!s,[`${L}-rtl`]:"rtl"===O},t,M,F),U=r.useMemo(()=>null!=n?n:"large"===o?736:378,[n,o]),$=r.useMemo(()=>null!=a?a:"large"===o?736:378,[a,o]),G={motionName:(0,C.m)(L,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},H=(0,N.H)(),[z,Y]=(0,x.Cn)("Drawer",T.zIndex),{classNames:q={},styles:X={}}=T,{classNames:K={},styles:Q={}}=R||{};return P(r.createElement(k.Z,{form:!0,space:!0},r.createElement(w.Z.Provider,{value:Y},r.createElement(_,Object.assign({prefixCls:L,onClose:d,maskMotion:G,motion:e=>({motionName:(0,C.m)(L,`panel-motion-${e}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500})},T,{classNames:{mask:i()(q.mask,K.mask),content:i()(q.content,K.content),wrapper:i()(q.wrapper,K.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},X.mask),y),Q.mask),content:Object.assign(Object.assign(Object.assign({},X.content),E),Q.content),wrapper:Object.assign(Object.assign(Object.assign({},X.wrapper),v),Q.wrapper)},open:null!=c?c:g,mask:s,push:l,width:U,height:$,style:Object.assign(Object.assign({},null==R?void 0:R.style),h),className:i()(null==R?void 0:R.className,m),rootClassName:B,getContainer:j,afterOpenChange:null!=u?u:b,panelRef:H,zIndex:z}),r.createElement(D,Object.assign({prefixCls:L},T,{onClose:d}))))))};Y._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,style:n,className:a,placement:o="right"}=e,s=W(e,["prefixCls","style","className","placement"]),{getPrefixCls:l}=r.useContext(I.E_),c=l("drawer",t),[u,d,p]=Z(c),f=i()(c,`${c}-pure`,`${c}-${o}`,d,p,a);return u(r.createElement("div",{className:f,style:n},r.createElement(D,Object.assign({prefixCls:c},s))))};var q=Y},86250:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r=n(67294),a=n(93967),i=n.n(a),o=n(98423),s=n(98065),l=n(53124),c=n(83559),u=n(83262);let d=["wrap","nowrap","wrap-reverse"],p=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],f=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],h=(e,t)=>{let n=!0===t.wrap?"wrap":t.wrap;return{[`${e}-wrap-${n}`]:n&&d.includes(n)}},m=(e,t)=>{let n={};return f.forEach(r=>{n[`${e}-align-${r}`]=t.align===r}),n[`${e}-align-stretch`]=!t.align&&!!t.vertical,n},g=(e,t)=>{let n={};return p.forEach(r=>{n[`${e}-justify-${r}`]=t.justify===r}),n},b=e=>{let{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},y=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},E=e=>{let{componentCls:t}=e,n={};return d.forEach(e=>{n[`${t}-wrap-${e}`]={flexWrap:e}}),n},v=e=>{let{componentCls:t}=e,n={};return f.forEach(e=>{n[`${t}-align-${e}`]={alignItems:e}}),n},T=e=>{let{componentCls:t}=e,n={};return p.forEach(e=>{n[`${t}-justify-${e}`]={justifyContent:e}}),n};var S=(0,c.I$)("Flex",e=>{let{paddingXS:t,padding:n,paddingLG:r}=e,a=(0,u.IX)(e,{flexGapSM:t,flexGap:n,flexGapLG:r});return[b(a),y(a),E(a),v(a),T(a)]},()=>({}),{resetStyle:!1}),A=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let O=r.forwardRef((e,t)=>{let{prefixCls:n,rootClassName:a,className:c,style:u,flex:d,gap:p,children:f,vertical:b=!1,component:y="div"}=e,E=A(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:v,direction:T,getPrefixCls:O}=r.useContext(l.E_),_=O("flex",n),[k,x,C]=S(_),w=null!=b?b:null==v?void 0:v.vertical,I=i()(c,a,null==v?void 0:v.className,_,x,C,i()(Object.assign(Object.assign(Object.assign({},h(_,e)),m(_,e)),g(_,e))),{[`${_}-rtl`]:"rtl"===T,[`${_}-gap-${p}`]:(0,s.n)(p),[`${_}-vertical`]:w}),N=Object.assign(Object.assign({},null==v?void 0:v.style),u);return d&&(N.flex=d),p&&!(0,s.n)(p)&&(N.gap=p),k(r.createElement(y,Object.assign({ref:t,className:I,style:N},(0,o.Z)(E,["justify","wrap","align"])),f))});var _=O},57020:function(e,t,n){"use strict";n.d(t,{Z:function(){return eT}});var r=n(67294),a=n(99611),i=n(93967),o=n.n(i),s=n(87462),l=n(1413),c=n(4942),u=n(97685),d=n(71002),p=n(45987),f=n(27678),h=n(21770),m=n(40974),g=n(64019),b=n(15105),y=n(2788),E=n(29372),v=r.createContext(null),T=function(e){var t=e.visible,n=e.maskTransitionName,a=e.getContainer,i=e.prefixCls,s=e.rootClassName,u=e.icons,d=e.countRender,p=e.showSwitch,f=e.showProgress,h=e.current,m=e.transform,g=e.count,T=e.scale,S=e.minScale,A=e.maxScale,O=e.closeIcon,_=e.onSwitchLeft,k=e.onSwitchRight,x=e.onClose,C=e.onZoomIn,w=e.onZoomOut,I=e.onRotateRight,N=e.onRotateLeft,R=e.onFlipX,L=e.onFlipY,D=e.onReset,P=e.toolbarRender,M=e.zIndex,F=e.image,j=(0,r.useContext)(v),B=u.rotateLeft,U=u.rotateRight,$=u.zoomIn,G=u.zoomOut,H=u.close,z=u.left,Z=u.right,W=u.flipX,V=u.flipY,Y="".concat(i,"-operations-operation");r.useEffect(function(){var e=function(e){e.keyCode===b.Z.ESC&&x()};return t&&window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}},[t]);var q=[{icon:V,onClick:L,type:"flipY"},{icon:W,onClick:R,type:"flipX"},{icon:B,onClick:N,type:"rotateLeft"},{icon:U,onClick:I,type:"rotateRight"},{icon:G,onClick:w,type:"zoomOut",disabled:T<=S},{icon:$,onClick:C,type:"zoomIn",disabled:T===A}].map(function(e){var t,n=e.icon,a=e.onClick,s=e.type,l=e.disabled;return r.createElement("div",{className:o()(Y,(t={},(0,c.Z)(t,"".concat(i,"-operations-operation-").concat(s),!0),(0,c.Z)(t,"".concat(i,"-operations-operation-disabled"),!!l),t)),onClick:a,key:s},n)}),X=r.createElement("div",{className:"".concat(i,"-operations")},q);return r.createElement(E.ZP,{visible:t,motionName:n},function(e){var t=e.className,n=e.style;return r.createElement(y.Z,{open:!0,getContainer:null!=a?a:document.body},r.createElement("div",{className:o()("".concat(i,"-operations-wrapper"),t,s),style:(0,l.Z)((0,l.Z)({},n),{},{zIndex:M})},null===O?null:r.createElement("button",{className:"".concat(i,"-close"),onClick:x},O||H),p&&r.createElement(r.Fragment,null,r.createElement("div",{className:o()("".concat(i,"-switch-left"),(0,c.Z)({},"".concat(i,"-switch-left-disabled"),0===h)),onClick:_},z),r.createElement("div",{className:o()("".concat(i,"-switch-right"),(0,c.Z)({},"".concat(i,"-switch-right-disabled"),h===g-1)),onClick:k},Z)),r.createElement("div",{className:"".concat(i,"-footer")},f&&r.createElement("div",{className:"".concat(i,"-progress")},d?d(h+1,g):"".concat(h+1," / ").concat(g)),P?P(X,(0,l.Z)((0,l.Z)({icons:{flipYIcon:q[0],flipXIcon:q[1],rotateLeftIcon:q[2],rotateRightIcon:q[3],zoomOutIcon:q[4],zoomInIcon:q[5]},actions:{onFlipY:L,onFlipX:R,onRotateLeft:N,onRotateRight:I,onZoomOut:w,onZoomIn:C,onReset:D,onClose:x},transform:m},j?{current:h,total:g}:{}),{},{image:F})):X)))})},S=n(91881),A=n(75164),O={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1},_=n(80334);function k(e,t,n,r){var a=t+n,i=(n-r)/2;if(n>r){if(t>0)return(0,c.Z)({},e,i);if(t<0&&ar)return(0,c.Z)({},e,t<0?i:-i);return{}}function x(e,t,n,r){var a=(0,f.g1)(),i=a.width,o=a.height,s=null;return e<=i&&t<=o?s={x:0,y:0}:(e>i||t>o)&&(s=(0,l.Z)((0,l.Z)({},k("x",n,e,i)),k("y",r,t,o))),s}function C(e){var t=e.src,n=e.isCustomPlaceholder,a=e.fallback,i=(0,r.useState)(n?"loading":"normal"),o=(0,u.Z)(i,2),s=o[0],l=o[1],c=(0,r.useRef)(!1),d="error"===s;(0,r.useEffect)(function(){var e=!0;return new Promise(function(e){var n=document.createElement("img");n.onerror=function(){return e(!1)},n.onload=function(){return e(!0)},n.src=t}).then(function(t){!t&&e&&l("error")}),function(){e=!1}},[t]),(0,r.useEffect)(function(){n&&!c.current?l("loading"):d&&l("normal")},[t]);var p=function(){l("normal")};return[function(e){c.current=!1,"loading"===s&&null!=e&&e.complete&&(e.naturalWidth||e.naturalHeight)&&(c.current=!0,p())},d&&a?{src:a}:{onLoad:p,src:t},s]}function w(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}var I=["fallback","src","imgRef"],N=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],R=function(e){var t=e.fallback,n=e.src,a=e.imgRef,i=(0,p.Z)(e,I),o=C({src:n,fallback:t}),l=(0,u.Z)(o,2),c=l[0],d=l[1];return r.createElement("img",(0,s.Z)({ref:function(e){a.current=e,c(e)}},i,d))},L=function(e){var t,n,a,i,d,h,y,E,k,C,I,L,D,P,M,F,j,B,U,$,G,H,z,Z,W,V,Y,q,X=e.prefixCls,K=e.src,Q=e.alt,J=e.imageInfo,ee=e.fallback,et=e.movable,en=void 0===et||et,er=e.onClose,ea=e.visible,ei=e.icons,eo=e.rootClassName,es=e.closeIcon,el=e.getContainer,ec=e.current,eu=void 0===ec?0:ec,ed=e.count,ep=void 0===ed?1:ed,ef=e.countRender,eh=e.scaleStep,em=void 0===eh?.5:eh,eg=e.minScale,eb=void 0===eg?1:eg,ey=e.maxScale,eE=void 0===ey?50:ey,ev=e.transitionName,eT=e.maskTransitionName,eS=void 0===eT?"fade":eT,eA=e.imageRender,eO=e.imgCommonProps,e_=e.toolbarRender,ek=e.onTransform,ex=e.onChange,eC=(0,p.Z)(e,N),ew=(0,r.useRef)(),eI=(0,r.useContext)(v),eN=eI&&ep>1,eR=eI&&ep>=1,eL=(0,r.useState)(!0),eD=(0,u.Z)(eL,2),eP=eD[0],eM=eD[1],eF=(t=(0,r.useRef)(null),n=(0,r.useRef)([]),a=(0,r.useState)(O),d=(i=(0,u.Z)(a,2))[0],h=i[1],y=function(e,r){null===t.current&&(n.current=[],t.current=(0,A.Z)(function(){h(function(e){var a=e;return n.current.forEach(function(e){a=(0,l.Z)((0,l.Z)({},a),e)}),t.current=null,null==ek||ek({transform:a,action:r}),a})})),n.current.push((0,l.Z)((0,l.Z)({},d),e))},{transform:d,resetTransform:function(e){h(O),(0,S.Z)(O,d)||null==ek||ek({transform:O,action:e})},updateTransform:y,dispatchZoomChange:function(e,t,n,r,a){var i=ew.current,o=i.width,s=i.height,l=i.offsetWidth,c=i.offsetHeight,u=i.offsetLeft,p=i.offsetTop,h=e,m=d.scale*e;m>eE?(m=eE,h=eE/d.scale):m0&&(t=1/t),e$(t,"wheel",e.clientX,e.clientY)}}}),eH=eG.isMoving,ez=eG.onMouseDown,eZ=eG.onWheel,eW=(U=ej.rotate,$=ej.scale,G=ej.x,H=ej.y,z=(0,r.useState)(!1),W=(Z=(0,u.Z)(z,2))[0],V=Z[1],Y=(0,r.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),q=function(e){Y.current=(0,l.Z)((0,l.Z)({},Y.current),e)},(0,r.useEffect)(function(){var e;return ea&&en&&(e=(0,g.Z)(window,"touchmove",function(e){return e.preventDefault()},{passive:!1})),function(){var t;null===(t=e)||void 0===t||t.remove()}},[ea,en]),{isTouching:W,onTouchStart:function(e){if(en){e.stopPropagation(),V(!0);var t=e.touches,n=void 0===t?[]:t;n.length>1?q({point1:{x:n[0].clientX,y:n[0].clientY},point2:{x:n[1].clientX,y:n[1].clientY},eventType:"touchZoom"}):q({point1:{x:n[0].clientX-G,y:n[0].clientY-H},eventType:"move"})}},onTouchMove:function(e){var t=e.touches,n=void 0===t?[]:t,r=Y.current,a=r.point1,i=r.point2,o=r.eventType;if(n.length>1&&"touchZoom"===o){var s={x:n[0].clientX,y:n[0].clientY},l={x:n[1].clientX,y:n[1].clientY},c=function(e,t,n,r){var a=w(e,n),i=w(t,r);if(0===a&&0===i)return[e.x,e.y];var o=a/(a+i);return[e.x+o*(t.x-e.x),e.y+o*(t.y-e.y)]}(a,i,s,l),d=(0,u.Z)(c,2),p=d[0],f=d[1];e$(w(s,l)/w(a,i),"touchZoom",p,f,!0),q({point1:s,point2:l,eventType:"touchZoom"})}else"move"===o&&(eU({x:n[0].clientX-a.x,y:n[0].clientY-a.y},"move"),q({eventType:"move"}))},onTouchEnd:function(){if(ea){if(W&&V(!1),q({eventType:"none"}),eb>$)return eU({x:0,y:0,scale:eb},"touchZoom");var e=ew.current.offsetWidth*$,t=ew.current.offsetHeight*$,n=ew.current.getBoundingClientRect(),r=n.left,a=n.top,i=U%180!=0,o=x(i?t:e,i?e:t,r,a);o&&eU((0,l.Z)({},o),"dragRebound")}}}),eV=eW.isTouching,eY=eW.onTouchStart,eq=eW.onTouchMove,eX=eW.onTouchEnd,eK=ej.rotate,eQ=ej.scale,eJ=o()((0,c.Z)({},"".concat(X,"-moving"),eH));(0,r.useEffect)(function(){eP||eM(!0)},[eP]);var e0=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu>0&&(eM(!1),eB("prev"),null==ex||ex(eu-1,eu))},e1=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu({position:e||"absolute",inset:0}),eu=e=>{let{iconCls:t,motionDurationSlow:n,paddingXXS:r,marginXXS:a,prefixCls:i,colorTextLightSolid:o}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:o,background:new en.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${i}-mask-info`]:Object.assign(Object.assign({},ea.vS),{padding:`0 ${(0,et.bf)(r)}`,[t]:{marginInlineEnd:a,svg:{verticalAlign:"baseline"}}})}},ed=e=>{let{previewCls:t,modalMaskBg:n,paddingSM:r,marginXL:a,margin:i,paddingLG:o,previewOperationColorDisabled:s,previewOperationHoverColor:l,motionDurationSlow:c,iconCls:u,colorTextLightSolid:d}=e,p=new en.C(n).setAlpha(.1),f=p.clone().setAlpha(.2);return{[`${t}-footer`]:{position:"fixed",bottom:a,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor,transform:"translateX(-50%)"},[`${t}-progress`]:{marginBottom:i},[`${t}-close`]:{position:"fixed",top:a,right:{_skip_check_:!0,value:a},display:"flex",color:d,backgroundColor:p.toRgbString(),borderRadius:"50%",padding:r,outline:0,border:0,cursor:"pointer",transition:`all ${c}`,"&:hover":{backgroundColor:f.toRgbString()},[`& > ${u}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,et.bf)(o)}`,backgroundColor:p.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:r,padding:r,cursor:"pointer",transition:`all ${c}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${u}`]:{color:l},"&-disabled":{color:s,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${u}`]:{fontSize:e.previewOperationSize}}}}},ep=e=>{let{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:r,previewCls:a,zIndexPopup:i,motionDurationSlow:o}=e,s=new en.C(t).setAlpha(.1),l=s.clone().setAlpha(.2);return{[`${a}-switch-left, ${a}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(i).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:s.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${o}`,userSelect:"none","&:hover":{background:l.toRgbString()},"&-disabled":{"&, &:hover":{color:r,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${a}-switch-left`]:{insetInlineStart:e.marginSM},[`${a}-switch-right`]:{insetInlineEnd:e.marginSM}}},ef=e=>{let{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:a}=e;return[{[`${a}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:Object.assign(Object.assign({},ec()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${r} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},ec()),{transition:`transform ${r} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${a}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${a}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal()},"&":[ed(e),ep(e)]}]},eh=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},eu(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},ec())}}},em=e=>{let{previewCls:t}=e;return{[`${t}-root`]:(0,ei._y)(e,"zoom"),"&":(0,eo.J$)(e,!0)}};var eg=(0,es.I$)("Image",e=>{let t=`${e.componentCls}-preview`,n=(0,el.IX)(e,{previewCls:t,modalMaskBg:new en.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[eh(n),ef(n),(0,er.QA)((0,el.IX)(n,{componentCls:t})),em(n)]},e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new en.C(e.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new en.C(e.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new en.C(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:1.5*e.fontSizeIcon})),eb=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ey={rotateLeft:r.createElement(X.Z,null),rotateRight:r.createElement(K.Z,null),zoomIn:r.createElement(J.Z,null),zoomOut:r.createElement(ee.Z,null),close:r.createElement(V.Z,null),left:r.createElement(Y.Z,null),right:r.createElement(q.Z,null),flipX:r.createElement(Q.Z,null),flipY:r.createElement(Q.Z,{rotate:90})};var eE=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ev=e=>{var t;let{prefixCls:n,preview:i,className:s,rootClassName:l,style:c}=e,u=eE(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:d,locale:p=W.Z,getPopupContainer:f,image:h}=r.useContext(z.E_),m=d("image",n),g=d(),b=p.Image||W.Z.Image,y=(0,Z.Z)(m),[E,v,T]=eg(m,y),S=o()(l,v,T,y),A=o()(s,v,null==h?void 0:h.className),[O]=(0,G.Cn)("ImagePreview","object"==typeof i?i.zIndex:void 0),_=r.useMemo(()=>{var e;if(!1===i)return i;let t="object"==typeof i?i:{},{getContainer:n,closeIcon:o}=t,s=eE(t,["getContainer","closeIcon"]);return Object.assign(Object.assign({mask:r.createElement("div",{className:`${m}-mask-info`},r.createElement(a.Z,null),null==b?void 0:b.preview),icons:ey},s),{getContainer:null!=n?n:f,transitionName:(0,H.m)(g,"zoom",t.transitionName),maskTransitionName:(0,H.m)(g,"fade",t.maskTransitionName),zIndex:O,closeIcon:null!=o?o:null===(e=null==h?void 0:h.preview)||void 0===e?void 0:e.closeIcon})},[i,b,null===(t=null==h?void 0:h.preview)||void 0===t?void 0:t.closeIcon]),k=Object.assign(Object.assign({},null==h?void 0:h.style),c);return E(r.createElement($,Object.assign({prefixCls:m,preview:_,rootClassName:S,className:A,style:k},u)))};ev.PreviewGroup=e=>{var{previewPrefixCls:t,preview:n}=e,a=eb(e,["previewPrefixCls","preview"]);let{getPrefixCls:i}=r.useContext(z.E_),s=i("image",t),l=`${s}-preview`,c=i(),u=(0,Z.Z)(s),[d,p,f]=eg(s,u),[h]=(0,G.Cn)("ImagePreview","object"==typeof n?n.zIndex:void 0),m=r.useMemo(()=>{var e;if(!1===n)return n;let t="object"==typeof n?n:{},r=o()(p,f,u,null!==(e=t.rootClassName)&&void 0!==e?e:"");return Object.assign(Object.assign({},t),{transitionName:(0,H.m)(c,"zoom",t.transitionName),maskTransitionName:(0,H.m)(c,"fade",t.maskTransitionName),rootClassName:r,zIndex:h})},[n]);return d(r.createElement($.PreviewGroup,Object.assign({preview:m,previewPrefixCls:l,icons:ey},a)))};var eT=ev},66309:function(e,t,n){"use strict";n.d(t,{Z:function(){return I}});var r=n(67294),a=n(93967),i=n.n(a),o=n(98423),s=n(98787),l=n(69760),c=n(96159),u=n(45353),d=n(53124),p=n(25446),f=n(10274),h=n(14747),m=n(83262),g=n(83559);let b=e=>{let{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:a,calc:i}=e,o=i(r).sub(n).equal(),s=i(t).sub(n).equal();return{[a]:Object.assign(Object.assign({},(0,h.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:o,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,p.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${a}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${a}-close-icon`]:{marginInlineStart:s,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${a}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${a}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:o}}),[`${a}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},y=e=>{let{lineWidth:t,fontSizeIcon:n,calc:r}=e,a=e.fontSizeSM,i=(0,m.IX)(e,{tagFontSize:a,tagLineHeight:(0,p.bf)(r(e.lineHeightSM).mul(a).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return i},E=e=>({defaultBg:new f.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var v=(0,g.I$)("Tag",e=>{let t=y(e);return b(t)},E),T=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let S=r.forwardRef((e,t)=>{let{prefixCls:n,style:a,className:o,checked:s,onChange:l,onClick:c}=e,u=T(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:p,tag:f}=r.useContext(d.E_),h=p("tag",n),[m,g,b]=v(h),y=i()(h,`${h}-checkable`,{[`${h}-checkable-checked`]:s},null==f?void 0:f.className,o,g,b);return m(r.createElement("span",Object.assign({},u,{ref:t,style:Object.assign(Object.assign({},a),null==f?void 0:f.style),className:y,onClick:e=>{null==l||l(!s),null==c||c(e)}})))});var A=n(98719);let O=e=>(0,A.Z)(e,(t,n)=>{let{textColor:r,lightBorderColor:a,lightColor:i,darkColor:o}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:i,borderColor:a,"&-inverse":{color:e.colorTextLightSolid,background:o,borderColor:o},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var _=(0,g.bk)(["Tag","preset"],e=>{let t=y(e);return O(t)},E);let k=(e,t,n)=>{let r=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var x=(0,g.bk)(["Tag","status"],e=>{let t=y(e);return[k(t,"success","Success"),k(t,"processing","Info"),k(t,"error","Error"),k(t,"warning","Warning")]},E),C=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let w=r.forwardRef((e,t)=>{let{prefixCls:n,className:a,rootClassName:p,style:f,children:h,icon:m,color:g,onClose:b,bordered:y=!0,visible:E}=e,T=C(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:S,direction:A,tag:O}=r.useContext(d.E_),[k,w]=r.useState(!0),I=(0,o.Z)(T,["closeIcon","closable"]);r.useEffect(()=>{void 0!==E&&w(E)},[E]);let N=(0,s.o2)(g),R=(0,s.yT)(g),L=N||R,D=Object.assign(Object.assign({backgroundColor:g&&!L?g:void 0},null==O?void 0:O.style),f),P=S("tag",n),[M,F,j]=v(P),B=i()(P,null==O?void 0:O.className,{[`${P}-${g}`]:L,[`${P}-has-color`]:g&&!L,[`${P}-hidden`]:!k,[`${P}-rtl`]:"rtl"===A,[`${P}-borderless`]:!y},a,p,F,j),U=e=>{e.stopPropagation(),null==b||b(e),e.defaultPrevented||w(!1)},[,$]=(0,l.Z)((0,l.w)(e),(0,l.w)(O),{closable:!1,closeIconRender:e=>{let t=r.createElement("span",{className:`${P}-close-icon`,onClick:U},e);return(0,c.wm)(e,t,e=>({onClick:t=>{var n;null===(n=null==e?void 0:e.onClick)||void 0===n||n.call(e,t),U(t)},className:i()(null==e?void 0:e.className,`${P}-close-icon`)}))}}),G="function"==typeof T.onClick||h&&"a"===h.type,H=m||null,z=H?r.createElement(r.Fragment,null,H,h&&r.createElement("span",null,h)):h,Z=r.createElement("span",Object.assign({},I,{ref:t,className:B,style:D}),z,$,N&&r.createElement(_,{key:"preset",prefixCls:P}),R&&r.createElement(x,{key:"status",prefixCls:P}));return M(G?r.createElement(u.Z,{component:"Tag"},Z):Z)});w.CheckableTag=S;var I=w},62502:function(e,t,n){"use strict";var r=n(15575),a=n(64977),i=n(72869),o=n(32473).Q,s=n(24395).Q;e.exports=function(e,t,n){var a=n?function(e){for(var t,n=e.length,r=-1,a={};++r4&&h.slice(0,4)===o&&s.test(t)&&("-"===t.charAt(4)?m=o+(n=t.slice(5).replace(l,d)).charAt(0).toUpperCase()+n.slice(1):(f=(p=t).slice(4),t=l.test(f)?p:("-"!==(f=f.replace(c,u)).charAt(0)&&(f="-"+f),o+f)),g=a),new g(m,t))};var s=/^data[-\w.:]+$/i,l=/-[a-z]/g,c=/[A-Z]/g;function u(e){return"-"+e.toLowerCase()}function d(e){return e.charAt(1).toUpperCase()}},48055:function(e,t,n){"use strict";var r=n(26230),a=n(13970),i=n(10629),o=n(647),s=n(91305),l=n(22537);e.exports=r([i,a,o,s,l])},91305:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=r.booleanish,o=r.number,s=r.spaceSeparated;e.exports=a({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:i,ariaAutoComplete:null,ariaBusy:i,ariaChecked:i,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:s,ariaCurrent:null,ariaDescribedBy:s,ariaDetails:null,ariaDisabled:i,ariaDropEffect:s,ariaErrorMessage:null,ariaExpanded:i,ariaFlowTo:s,ariaGrabbed:i,ariaHasPopup:null,ariaHidden:i,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s,ariaLevel:o,ariaLive:null,ariaModal:i,ariaMultiLine:i,ariaMultiSelectable:i,ariaOrientation:null,ariaOwns:s,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:i,ariaReadOnly:i,ariaRelevant:null,ariaRequired:i,ariaRoleDescription:s,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:i,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}})},22537:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=n(19348),o=r.boolean,s=r.overloadedBoolean,l=r.booleanish,c=r.number,u=r.spaceSeparated,d=r.commaSeparated;e.exports=a({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:i,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:d,acceptCharset:u,accessKey:u,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:u,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:u,cols:c,colSpan:null,content:null,contentEditable:l,controls:o,controlsList:u,coords:c|d,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:s,draggable:l,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:u,height:c,hidden:o,high:c,href:null,hrefLang:null,htmlFor:u,httpEquiv:u,id:null,imageSizes:null,imageSrcSet:d,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:u,itemRef:u,itemScope:o,itemType:u,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:u,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:u,required:o,reversed:o,rows:c,rowSpan:c,sandbox:u,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:c,sizes:null,slot:null,span:c,spellCheck:l,src:null,srcDoc:null,srcLang:null,srcSet:d,start:c,step:null,style:null,tabIndex:c,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:l,width:c,wrap:null,align:null,aLink:null,archive:u,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:l,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}})},19348:function(e,t,n){"use strict";var r=n(21098);e.exports=function(e,t){return r(e,t.toLowerCase())}},21098:function(e){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},47589:function(e,t,n){"use strict";var r=n(64977),a=n(16038),i=n(78444);e.exports=function(e){var t,n,o=e.space,s=e.mustUseProperty||[],l=e.attributes||{},c=e.properties,u=e.transform,d={},p={};for(t in c)n=new i(t,u(l,t),c[t],o),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),d[t]=n,p[r(t)]=t,p[r(n.attribute)]=t;return new a(d,p,o)}},78444:function(e,t,n){"use strict";var r=n(40313),a=n(61422);e.exports=s,s.prototype=new r,s.prototype.defined=!0;var i=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=i.length;function s(e,t,n,s){var l,c,u,d=-1;for(s&&(this.space=s),r.call(this,e,t);++d=97&&t<=122||t>=65&&t<=90}},7961:function(e,t,n){"use strict";var r=n(46260),a=n(46195);e.exports=function(e){return r(e)||a(e)}},46195:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},79480:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}},45629:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/construct/knowledge",function(){return n(5462)}])},85813:function(e,t,n){"use strict";n.d(t,{r:function(){return _6}});var r,a,i,o,s,l,c,u,d,p,f,h,m,g,b,y,E,v,T,S,A,O,_,k,x,C,w,I,N,R,L,D,P,M,F,j,B,U,$,G,H,z,Z,W,V,Y,q,X,K,Q,J,ee,et,en,er,ea={};n.r(ea),n.d(ea,{area:function(){return cf},bottom:function(){return cT},bottomLeft:function(){return cT},bottomRight:function(){return cT},inside:function(){return cT},left:function(){return cT},outside:function(){return c_},right:function(){return cT},spider:function(){return cN},surround:function(){return cL},top:function(){return cT},topLeft:function(){return cT},topRight:function(){return cT}});var ei={};n.r(ei),n.d(ei,{interpolateBlues:function(){return uD.interpolateBlues},interpolateBrBG:function(){return uD.interpolateBrBG},interpolateBuGn:function(){return uD.interpolateBuGn},interpolateBuPu:function(){return uD.interpolateBuPu},interpolateCividis:function(){return uD.interpolateCividis},interpolateCool:function(){return uD.interpolateCool},interpolateCubehelixDefault:function(){return uD.interpolateCubehelixDefault},interpolateGnBu:function(){return uD.interpolateGnBu},interpolateGreens:function(){return uD.interpolateGreens},interpolateGreys:function(){return uD.interpolateGreys},interpolateInferno:function(){return uD.interpolateInferno},interpolateMagma:function(){return uD.interpolateMagma},interpolateOrRd:function(){return uD.interpolateOrRd},interpolateOranges:function(){return uD.interpolateOranges},interpolatePRGn:function(){return uD.interpolatePRGn},interpolatePiYG:function(){return uD.interpolatePiYG},interpolatePlasma:function(){return uD.interpolatePlasma},interpolatePuBu:function(){return uD.interpolatePuBu},interpolatePuBuGn:function(){return uD.interpolatePuBuGn},interpolatePuOr:function(){return uD.interpolatePuOr},interpolatePuRd:function(){return uD.interpolatePuRd},interpolatePurples:function(){return uD.interpolatePurples},interpolateRainbow:function(){return uD.interpolateRainbow},interpolateRdBu:function(){return uD.interpolateRdBu},interpolateRdGy:function(){return uD.interpolateRdGy},interpolateRdPu:function(){return uD.interpolateRdPu},interpolateRdYlBu:function(){return uD.interpolateRdYlBu},interpolateRdYlGn:function(){return uD.interpolateRdYlGn},interpolateReds:function(){return uD.interpolateReds},interpolateSinebow:function(){return uD.interpolateSinebow},interpolateSpectral:function(){return uD.interpolateSpectral},interpolateTurbo:function(){return uD.interpolateTurbo},interpolateViridis:function(){return uD.interpolateViridis},interpolateWarm:function(){return uD.interpolateWarm},interpolateYlGn:function(){return uD.interpolateYlGn},interpolateYlGnBu:function(){return uD.interpolateYlGnBu},interpolateYlOrBr:function(){return uD.interpolateYlOrBr},interpolateYlOrRd:function(){return uD.interpolateYlOrRd},schemeAccent:function(){return uD.schemeAccent},schemeBlues:function(){return uD.schemeBlues},schemeBrBG:function(){return uD.schemeBrBG},schemeBuGn:function(){return uD.schemeBuGn},schemeBuPu:function(){return uD.schemeBuPu},schemeCategory10:function(){return uD.schemeCategory10},schemeDark2:function(){return uD.schemeDark2},schemeGnBu:function(){return uD.schemeGnBu},schemeGreens:function(){return uD.schemeGreens},schemeGreys:function(){return uD.schemeGreys},schemeOrRd:function(){return uD.schemeOrRd},schemeOranges:function(){return uD.schemeOranges},schemePRGn:function(){return uD.schemePRGn},schemePaired:function(){return uD.schemePaired},schemePastel1:function(){return uD.schemePastel1},schemePastel2:function(){return uD.schemePastel2},schemePiYG:function(){return uD.schemePiYG},schemePuBu:function(){return uD.schemePuBu},schemePuBuGn:function(){return uD.schemePuBuGn},schemePuOr:function(){return uD.schemePuOr},schemePuRd:function(){return uD.schemePuRd},schemePurples:function(){return uD.schemePurples},schemeRdBu:function(){return uD.schemeRdBu},schemeRdGy:function(){return uD.schemeRdGy},schemeRdPu:function(){return uD.schemeRdPu},schemeRdYlBu:function(){return uD.schemeRdYlBu},schemeRdYlGn:function(){return uD.schemeRdYlGn},schemeReds:function(){return uD.schemeReds},schemeSet1:function(){return uD.schemeSet1},schemeSet2:function(){return uD.schemeSet2},schemeSet3:function(){return uD.schemeSet3},schemeSpectral:function(){return uD.schemeSpectral},schemeTableau10:function(){return uD.schemeTableau10},schemeYlGn:function(){return uD.schemeYlGn},schemeYlGnBu:function(){return uD.schemeYlGnBu},schemeYlOrBr:function(){return uD.schemeYlOrBr},schemeYlOrRd:function(){return uD.schemeYlOrRd}});var eo={};n.r(eo);var es={};n.r(es),n.d(es,{geoAlbers:function(){return Ta.Z},geoAlbersUsa:function(){return Tr.Z},geoAzimuthalEqualArea:function(){return Ti.Z},geoAzimuthalEqualAreaRaw:function(){return Ti.l},geoAzimuthalEquidistant:function(){return To.Z},geoAzimuthalEquidistantRaw:function(){return To.N},geoConicConformal:function(){return Ts.Z},geoConicConformalRaw:function(){return Ts.l},geoConicEqualArea:function(){return Tl.Z},geoConicEqualAreaRaw:function(){return Tl.v},geoConicEquidistant:function(){return Tc.Z},geoConicEquidistantRaw:function(){return Tc.o},geoEqualEarth:function(){return Tu.Z},geoEqualEarthRaw:function(){return Tu.i},geoEquirectangular:function(){return Td.Z},geoEquirectangularRaw:function(){return Td.k},geoGnomonic:function(){return Tp.Z},geoGnomonicRaw:function(){return Tp.M},geoIdentity:function(){return Tf.Z},geoMercator:function(){return Tm.ZP},geoMercatorRaw:function(){return Tm.hk},geoNaturalEarth1:function(){return Tg.Z},geoNaturalEarth1Raw:function(){return Tg.K},geoOrthographic:function(){return Tb.Z},geoOrthographicRaw:function(){return Tb.I},geoProjection:function(){return Th.Z},geoProjectionMutator:function(){return Th.r},geoStereographic:function(){return Ty.Z},geoStereographicRaw:function(){return Ty.T},geoTransverseMercator:function(){return TE.Z},geoTransverseMercatorRaw:function(){return TE.F}});var el={};n.r(el),n.d(el,{frequency:function(){return Sh},id:function(){return Sm},name:function(){return Sg},weight:function(){return Sf}});var ec=n(74902),eu=n(1413),ed=n(87462),ep=n(97685),ef=n(45987),eh=n(50888),em=n(96486),eg=n(67294),eb=function(){return(eb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n-1&&!e.return)switch(e.type){case ek:e.return=function e(t,n,r){var a;switch(a=n,45^eD(t,0)?(((a<<2^eD(t,0))<<2^eD(t,1))<<2^eD(t,2))<<2^eD(t,3):0){case 5103:return eA+"print-"+t+t;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 eA+t+t;case 4789:return eS+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return eA+t+eS+t+eT+t+t;case 5936:switch(eD(t,n+11)){case 114:return eA+t+eT+eR(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return eA+t+eT+eR(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return eA+t+eT+eR(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return eA+t+eT+t+t;case 6165:return eA+t+eT+"flex-"+t+t;case 5187:return eA+t+eR(t,/(\w+).+(:[^]+)/,eA+"box-$1$2"+eT+"flex-$1$2")+t;case 5443:return eA+t+eT+"flex-item-"+eR(t,/flex-|-self/g,"")+(eN(t,/flex-|baseline/)?"":eT+"grid-row-"+eR(t,/flex-|-self/g,""))+t;case 4675:return eA+t+eT+"flex-line-pack"+eR(t,/align-content|flex-|-self/g,"")+t;case 5548:return eA+t+eT+eR(t,"shrink","negative")+t;case 5292:return eA+t+eT+eR(t,"basis","preferred-size")+t;case 6060:return eA+"box-"+eR(t,"-grow","")+eA+t+eT+eR(t,"grow","positive")+t;case 4554:return eA+eR(t,/([^-])(transform)/g,"$1"+eA+"$2")+t;case 6187:return eR(eR(eR(t,/(zoom-|grab)/,eA+"$1"),/(image-set)/,eA+"$1"),t,"")+t;case 5495:case 3959:return eR(t,/(image-set\([^]*)/,eA+"$1$`$1");case 4968:return eR(eR(t,/(.+:)(flex-)?(.*)/,eA+"box-pack:$3"+eT+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+eA+t+t;case 4200:if(!eN(t,/flex-|baseline/))return eT+"grid-column-align"+eP(t,n)+t;break;case 2592:case 3360:return eT+eR(t,"template-","")+t;case 4384:case 3616:if(r&&r.some(function(e,t){return n=t,eN(e.props,/grid-\w+-end/)}))return~eL(t+(r=r[n].value),"span",0)?t:eT+eR(t,"-start","")+t+eT+"grid-row-span:"+(~eL(r,"span",0)?eN(r,/\d+/):+eN(r,/\d+/)-+eN(t,/\d+/))+";";return eT+eR(t,"-start","")+t;case 4896:case 4128:return r&&r.some(function(e){return eN(e.props,/grid-\w+-start/)})?t:eT+eR(eR(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return eR(t,/(.+)-inline(.+)/,eA+"$1$2")+t;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(eM(t)-1-n>6)switch(eD(t,n+1)){case 109:if(45!==eD(t,n+4))break;case 102:return eR(t,/(.+:)(.+)-([^]+)/,"$1"+eA+"$2-$3$1"+eS+(108==eD(t,n+3)?"$3":"$2-$3"))+t;case 115:return~eL(t,"stretch",0)?e(eR(t,"stretch","fill-available"),n,r)+t:t}break;case 5152:case 5920:return eR(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(e,n,r,a,i,o,s){return eT+n+":"+r+s+(a?eT+n+"-span:"+(i?o:+o-+r)+s:"")+t});case 4949:if(121===eD(t,n+6))return eR(t,":",":"+eA)+t;break;case 6444:switch(eD(t,45===eD(t,14)?18:11)){case 120:return eR(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+eA+(45===eD(t,14)?"inline-":"")+"box$3$1"+eA+"$2$3$1"+eT+"$2box$3")+t;case 100:return eR(t,":",":"+eT)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return eR(t,"scroll-","scroll-snap-")+t}return t}(e.value,e.length,n);return;case ex:return eQ([eW(e,{value:eR(e.value,"@","@"+eA)})],r);case e_:if(e.length)return(n=e.props).map(function(t){switch(eN(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":eV(eW(e,{props:[eR(t,/:(read-\w+)/,":"+eS+"$1")]})),eV(eW(e,{props:[t]})),eI(e,{props:ej(n,r)});break;case"::placeholder":eV(eW(e,{props:[eR(t,/:(plac\w+)/,":"+eA+"input-$1")]})),eV(eW(e,{props:[eR(t,/:(plac\w+)/,":"+eS+"$1")]})),eV(eW(e,{props:[eR(t,/:(plac\w+)/,eT+"input-$1")]})),eV(eW(e,{props:[t]})),eI(e,{props:ej(n,r)})}return""}).join("")}}function e1(e,t,n,r,a,i,o,s,l,c,u,d){for(var p=a-1,f=0===a?i:[""],h=f.length,m=0,g=0,b=0;m0?f[y]+" "+E:eR(E,/&\f/g,f[y])).trim())&&(l[b++]=v);return eZ(e,t,n,0===a?e_:s,l,c,u,d)}function e2(e,t,n,r,a){return eZ(e,t,n,ek,eP(e,0,r),eP(e,r+1,-1),r,a)}var e3=n(94371),e4=n(83454),e5=void 0!==e4&&void 0!==e4.env&&(e4.env.REACT_APP_SC_ATTR||e4.env.SC_ATTR)||"data-styled",e6="active",e8="data-styled-version",e9="6.1.15",e7="/*!sc*/\n",te="undefined"!=typeof window&&"HTMLElement"in window,tt=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==e4&&void 0!==e4.env&&void 0!==e4.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==e4.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==e4.env.REACT_APP_SC_DISABLE_SPEEDY&&e4.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==e4&&void 0!==e4.env&&void 0!==e4.env.SC_DISABLE_SPEEDY&&""!==e4.env.SC_DISABLE_SPEEDY&&"false"!==e4.env.SC_DISABLE_SPEEDY&&e4.env.SC_DISABLE_SPEEDY),tn=Object.freeze([]),tr=Object.freeze({}),ta=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),ti=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,to=/(^-|-$)/g;function ts(e){return e.replace(ti,"-").replace(to,"")}var tl=/(a)(d)/gi,tc=function(e){return String.fromCharCode(e+(e>25?39:97))};function tu(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=tc(t%52)+n;return(tc(t%52)+n).replace(tl,"$1-$2")}var td,tp=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},tf=function(e){return tp(5381,e)};function th(e){return"string"==typeof e}var tm="function"==typeof Symbol&&Symbol.for,tg=tm?Symbol.for("react.memo"):60115,tb=tm?Symbol.for("react.forward_ref"):60112,ty={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},tE={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},tv={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},tT=((td={})[tb]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},td[tg]=tv,td);function tS(e){return("type"in e&&e.type.$$typeof)===tg?tv:"$$typeof"in e?tT[e.$$typeof]:ty}var tA=Object.defineProperty,tO=Object.getOwnPropertyNames,t_=Object.getOwnPropertySymbols,tk=Object.getOwnPropertyDescriptor,tx=Object.getPrototypeOf,tC=Object.prototype;function tw(e){return"function"==typeof e}function tI(e){return"object"==typeof e&&"styledComponentId"in e}function tN(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function tR(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r0?" Args: ".concat(t.join(", ")):""))}var tM=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,a=r;e>=a;)if((a<<=1)<0)throw tP(16,"".concat(e));this.groupSizes=new Uint32Array(a),this.groupSizes.set(n),this.length=a;for(var i=r;i=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),a=r+n,i=r;i=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(l+="".concat(e,","))}),r+="".concat(o).concat(s,'{content:"').concat(l,'"}').concat(e7)}}})(a);return r}(r)})}return e.registerId=function(e){return tU(e)},e.prototype.rehydrate=function(){!this.server&&te&&tW(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(eb(eb({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){var e,t,n,r;return this.tag||(this.tag=(n=(t=this.options).useCSSOMInjection,r=t.target,e=t.isServer?new tX(r):n?new tY(r):new tq(r),new tM(e)))},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(tU(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(tU(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(tU(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),t0=/&/g,t1=/^\s*\/\/.*$/gm;function t2(e){var t,n,r,a=void 0===e?tr:e,i=a.options,o=void 0===i?tr:i,s=a.plugins,l=void 0===s?tn:s,c=function(e,r,a){return a.startsWith(n)&&a.endsWith(n)&&a.replaceAll(n,"").length>0?".".concat(t):e},u=l.slice();u.push(function(e){e.type===e_&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(t0,n).replace(r,c))}),o.prefix&&u.push(e0),u.push(eJ);var d=function(e,a,i,s){void 0===a&&(a=""),void 0===i&&(i=""),void 0===s&&(s="&"),t=s,n=a,r=RegExp("\\".concat(n,"\\b"),"g");var l,c,d,p,f,h=e.replace(t1,""),m=(f=function e(t,n,r,a,i,o,s,l,c){for(var u,d=0,p=0,f=s,h=0,m=0,g=0,b=1,y=1,E=1,v=0,T="",S=i,A=o,O=a,_=T;y;)switch(g=v,v=eY()){case 40:if(108!=g&&58==eD(_,f-1)){-1!=eL(_+=eR(eK(v),"&","&\f"),"&\f",eC(d?l[d-1]:0))&&(E=-1);break}case 34:case 39:case 91:_+=eK(v);break;case 9:case 10:case 13:case 32:_+=function(e){for(;eH=eq();)if(eH<33)eY();else break;return eX(e)>2||eX(eH)>3?"":" "}(g);break;case 92:_+=function(e,t){for(var n;--t&&eY()&&!(eH<48)&&!(eH>102)&&(!(eH>57)||!(eH<65))&&(!(eH>70)||!(eH<97)););return n=eG+(t<6&&32==eq()&&32==eY()),eP(ez,e,n)}(eG-1,7);continue;case 47:switch(eq()){case 42:case 47:eF(eZ(u=function(e,t){for(;eY();)if(e+eH===57)break;else if(e+eH===84&&47===eq())break;return"/*"+eP(ez,t,eG-1)+"*"+ew(47===e?e:eY())}(eY(),eG),n,r,eO,ew(eH),eP(u,2,-2),0,c),c);break;default:_+="/"}break;case 123*b:l[d++]=eM(_)*E;case 125*b:case 59:case 0:switch(v){case 0:case 125:y=0;case 59+p:-1==E&&(_=eR(_,/\f/g,"")),m>0&&eM(_)-f&&eF(m>32?e2(_+";",a,r,f-1,c):e2(eR(_," ","")+";",a,r,f-2,c),c);break;case 59:_+=";";default:if(eF(O=e1(_,n,r,d,p,i,l,T,S=[],A=[],f,o),o),123===v){if(0===p)e(_,n,O,O,S,o,f,l,A);else switch(99===h&&110===eD(_,3)?100:h){case 100:case 108:case 109:case 115:e(t,O,O,a&&eF(e1(t,O,O,0,0,i,l,T,i,S=[],f,A),A),i,A,f,l,a?S:A);break;default:e(_,O,O,O,[""],A,0,l,A)}}}d=p=m=0,b=E=1,T=_="",f=s;break;case 58:f=1+eM(_),m=g;default:if(b<1){if(123==v)--b;else if(125==v&&0==b++&&125==(eH=eG>0?eD(ez,--eG):0,eU--,10===eH&&(eU=1,eB--),eH))continue}switch(_+=ew(v),v*b){case 38:E=p>0?1:(_+="\f",-1);break;case 44:l[d++]=(eM(_)-1)*E,E=1;break;case 64:45===eq()&&(_+=eK(eY())),h=eq(),p=f=eM(T=_+=function(e){for(;!eX(eq());)eY();return eP(ez,e,eG)}(eG)),v++;break;case 45:45===g&&2==eM(_)&&(b=0)}}return o}("",null,null,null,[""],(p=d=i||a?"".concat(i," ").concat(a," { ").concat(h," }"):h,eB=eU=1,e$=eM(ez=p),eG=0,d=[]),0,[0],d),ez="",f);o.namespace&&(m=function e(t,n){return t.map(function(t){return"rule"===t.type&&(t.value="".concat(n," ").concat(t.value),t.value=t.value.replaceAll(",",",".concat(n," ")),t.props=t.props.map(function(e){return"".concat(n," ").concat(e)})),Array.isArray(t.children)&&"@keyframes"!==t.type&&(t.children=e(t.children,n)),t})}(m,o.namespace));var g=[];return eQ(m,(c=(l=u.concat(function(e){var t;!e.root&&(e=e.return)&&(t=e,g.push(t))})).length,function(e,t,n,r){for(var a="",i=0;i="A"&&r<="Z"?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var nt=function(e){return null==e||!1===e||""===e},nn=function(e){var t=[];for(var n in e){var r=e[n];e.hasOwnProperty(n)&&!nt(r)&&(Array.isArray(r)&&r.isCss||tw(r)?t.push("".concat(ne(n),":"),r,";"):tL(r)?t.push.apply(t,ey(ey(["".concat(n," {")],nn(r),!1),["}"],!1)):t.push("".concat(ne(n),": ").concat(null==r||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||n in e3.Z||n.startsWith("--")?String(r).trim():"".concat(r,"px"),";")))}return t};function nr(e,t,n,r){return nt(e)?[]:tI(e)?[".".concat(e.styledComponentId)]:tw(e)?!tw(e)||e.prototype&&e.prototype.isReactComponent||!t?[e]:nr(e(t),t,n,r):e instanceof t7?n?(e.inject(n,r),[e.getName(r)]):[e]:tL(e)?nn(e):Array.isArray(e)?Array.prototype.concat.apply(tn,e.map(function(e){return nr(e,t,n,r)})):[e.toString()]}function na(e){for(var t=0;t>>0);if(!t.hasNameForId(this.componentId,i)){var o=n(a,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,o)}r=tN(r,i),this.staticRulesId=i}}else{for(var s=tp(this.baseHash,n.hash),l="",c=0;c>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(l,".".concat(p),void 0,this.componentId)),r=tN(r,p)}}return r},e}(),ns=eg.createContext(void 0);ns.Consumer;var nl={};function nc(e,t,n){var r,a,i,o,s=tI(e),l=!th(e),c=t.attrs,u=void 0===c?tn:c,d=t.componentId,p=void 0===d?(r=t.displayName,a=t.parentComponentId,nl[i="string"!=typeof r?"sc":ts(r)]=(nl[i]||0)+1,o="".concat(i,"-").concat(tu(tf(e9+i+nl[i])>>>0)),a?"".concat(a,"-").concat(o):o):d,f=t.displayName,h=void 0===f?th(e)?"styled.".concat(e):"Styled(".concat(e.displayName||e.name||"Component",")"):f,m=t.displayName&&t.componentId?"".concat(ts(t.displayName),"-").concat(t.componentId):t.componentId||p,g=s&&e.attrs?e.attrs.concat(u).filter(Boolean):u,b=t.shouldForwardProp;if(s&&e.shouldForwardProp){var y=e.shouldForwardProp;if(t.shouldForwardProp){var E=t.shouldForwardProp;b=function(e,t){return y(e,t)&&E(e,t)}}else b=y}var v=new no(n,m,s?e.componentStyle:void 0);function T(e,t){return function(e,t,n){var r,a,i=e.attrs,o=e.componentStyle,s=e.defaultProps,l=e.foldedComponentIds,c=e.styledComponentId,u=e.target,d=eg.useContext(ns),p=t8(),f=e.shouldForwardProp||p.shouldForwardProp,h=(void 0===(r=s)&&(r=tr),t.theme!==r.theme&&t.theme||d||r.theme||tr),m=function(e,t,n){for(var r,a=eb(eb({},t),{className:void 0,theme:n}),i=0;i2&&tJ.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=n.nc,a=tR([r&&'nonce="'.concat(r,'"'),"".concat(e5,'="true"'),"".concat(e8,'="').concat(e9,'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(e.sealed)throw tP(2);return e._emitSheetCSS()},this.getStyleElement=function(){if(e.sealed)throw tP(2);var t,r=e.instance.toString();if(!r)return[];var a=((t={})[e5]="",t[e8]=e9,t.dangerouslySetInnerHTML={__html:r},t),i=n.nc;return i&&(a.nonce=i),[eg.createElement("style",eb({},a,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new tJ({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw tP(2);return eg.createElement(t9,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw tP(3)}}();var nh=n(4942),nm=n(73935),ng=n.t(nm,2),nb=function(){return(nb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=18&&(J=ny.createRoot)}catch(e){}function nT(e){var t=ny.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"==typeof t&&(t.usingClientEntryPoint=e)}var nS="__rc_react_root__",nA=new Map;"undefined"!=typeof document&&nA.set("tooltip",document.createElement("div"));var nO=function(e,t){void 0===t&&(t=!1);var n=null;if(t)n=nA.get("tooltip");else if(n=document.createElement("div"),null==e?void 0:e.key){var r=nA.get(e.key);r?n=r:nA.set(e.key,n)}return!function(e,t){if(J){var n;nT(!0),n=t[nS]||J(t),nT(!1),n.render(e),t[nS]=n;return}nv(e,t)}(e,n),n},n_=function(e){if("undefined"==typeof document)return"loading";var t=e.attachShadow({mode:"open"}),n=document.createElement("div"),r=document.createElement("style");r.innerHTML=".loading {\n display: inline-block;\n position: relative;\n width: 80px;\n height: 80px;\n }\n .loading div {\n position: absolute;\n top: 33px;\n width: 13px;\n height: 13px;\n border-radius: 50%;\n background: #ccc;\n animation-timing-function: cubic-bezier(0, 1, 1, 0);\n }\n .loading div:nth-child(1) {\n left: 8px;\n animation: loading1 0.6s infinite;\n }\n .loading div:nth-child(2) {\n left: 8px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(3) {\n left: 32px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(4) {\n left: 56px;\n animation: loading3 0.6s infinite;\n }\n @keyframes loading1 {\n 0% {\n transform: scale(0);\n }\n 100% {\n transform: scale(1);\n }\n }\n @keyframes loading3 {\n 0% {\n transform: scale(1);\n }\n 100% {\n transform: scale(0);\n }\n }\n @keyframes loading2 {\n 0% {\n transform: translate(0, 0);\n }\n 100% {\n transform: translate(24px, 0);\n }\n }\n ",n.classList.add("loading"),n.innerHTML="
",t.appendChild(r),t.appendChild(n)},nk=function(e){var t=e.loadingTemplate,n=e.theme,r=eg.useRef(null);return eg.useEffect(function(){!t&&r.current&&n_(r.current)},[]),eg.createElement("div",{className:"charts-loading-container",style:{position:"absolute",width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",left:0,top:0,zIndex:99,backgroundColor:"dark"===(void 0===n?"light":n)?"rgb(20, 20, 20)":"rgb(255, 255, 255)"}},t||eg.createElement("div",{ref:r}))},nx=(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),nC=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={hasError:!1},t.renderError=function(e){var n=t.props.errorTemplate;return"function"==typeof n?n(e):n||eg.createElement("h5",null,"组件出错了,请核查后重试: ",e.message)},t}return nx(t,e),t.getDerivedStateFromError=function(e){return{hasError:!0,error:e}},t.getDerivedStateFromProps=function(e,t){return t.children!==e.children?{children:e.children,hasError:!1,error:void 0}:null},t.prototype.render=function(){return this.state.hasError?this.renderError(this.state.error):eg.createElement(eg.Fragment,null,this.props.children)},t}(eg.Component),nw=function(e,t,n){if(n||2==arguments.length)for(var r,a=0,i=t.length;a90)return this;this.computeMatrix()}return this._getAxes(),this.type===nR.iM.ORBITING||this.type===nR.iM.EXPLORING?this._getPosition():this.type===nR.iM.TRACKING&&this._getFocalPoint(),this._update(),this}},{key:"pan",value:function(e,t){var n=(0,nR.O4)(e,t,0),r=n$.d9(this.position);return n$.IH(r,r,n$.bA(n$.Ue(),this.right,n[0])),n$.IH(r,r,n$.bA(n$.Ue(),this.up,n[1])),this._setPosition(r),this.triggerUpdate(),this}},{key:"dolly",value:function(e){var t=this.forward,n=n$.d9(this.position),r=e*this.dollyingStep;return r=Math.max(Math.min(this.distance+e*this.dollyingStep,this.maxDistance),this.minDistance)-this.distance,n[0]+=r*t[0],n[1]+=r*t[1],n[2]+=r*t[2],this._setPosition(n),this.type===nR.iM.ORBITING||this.type===nR.iM.EXPLORING?this._getDistance():this.type===nR.iM.TRACKING&&n$.IH(this.focalPoint,n,this.distanceVector),this.triggerUpdate(),this}},{key:"cancelLandmarkAnimation",value:function(){void 0!==this.landmarkAnimationID&&this.canvas.cancelAnimationFrame(this.landmarkAnimationID)}},{key:"createLandmark",value:function(e){var t,n,r,a,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=i.position,s=void 0===o?this.position:o,l=i.focalPoint,c=void 0===l?this.focalPoint:l,u=i.roll,d=i.zoom,p=new nR.GZ.CameraContribution;p.setType(this.type,void 0),p.setPosition(s[0],null!==(t=s[1])&&void 0!==t?t:this.position[1],null!==(n=s[2])&&void 0!==n?n:this.position[2]),p.setFocalPoint(c[0],null!==(r=c[1])&&void 0!==r?r:this.focalPoint[1],null!==(a=c[2])&&void 0!==a?a:this.focalPoint[2]),p.setRoll(null!=u?u:this.roll),p.setZoom(null!=d?d:this.zoom);var f={name:e,matrix:nU.clone(p.getWorldTransform()),right:n$.d9(p.right),up:n$.d9(p.up),forward:n$.d9(p.forward),position:n$.d9(p.getPosition()),focalPoint:n$.d9(p.getFocalPoint()),distanceVector:n$.d9(p.getDistanceVector()),distance:p.getDistance(),dollyingStep:p.getDollyingStep(),azimuth:p.getAzimuth(),elevation:p.getElevation(),roll:p.getRoll(),relAzimuth:p.relAzimuth,relElevation:p.relElevation,relRoll:p.relRoll,zoom:p.getZoom()};return this.landmarks.push(f),f}},{key:"gotoLandmark",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=nj(e,"String")?this.landmarks.find(function(t){return t.name===e}):e;if(r){var a,i=nj(n,"Number")?{duration:n}:n,o=i.easing,s=void 0===o?"linear":o,l=i.duration,c=void 0===l?100:l,u=i.easingFunction,d=i.onfinish,p=void 0===d?void 0:d,f=i.onframe,h=void 0===f?void 0:f;this.cancelLandmarkAnimation();var m=r.position,g=r.focalPoint,b=r.zoom,y=r.roll,E=(void 0===u?void 0:u)||nR.GZ.EasingFunction(s),v=function(){t.setFocalPoint(g),t.setPosition(m),t.setRoll(y),t.setZoom(b),t.computeMatrix(),t.triggerUpdate(),null==p||p()};if(0===c)return v();var T=function(e){void 0===a&&(a=e);var n=e-a;if(n>=c){v();return}var r=E(n/c),i=n$.Ue(),o=n$.Ue(),s=1,l=0;if(n$.t7(i,t.focalPoint,g,r),n$.t7(o,t.position,m,r),l=t.roll*(1-r)+y*r,s=t.zoom*(1-r)+b*r,t.setFocalPoint(i),t.setPosition(o),t.setRoll(l),t.setZoom(s),n$.TK(i,g)+n$.TK(o,m)<=.01&&void 0===b&&void 0===y)return v();t.computeMatrix(),t.triggerUpdate(),nn?n:e},nW={}.toString,nV=function(e){return null==e},nY=function(e){function t(e,n,r,a){var i;return(0,nL.Z)(this,t),(i=(0,nP.Z)(this,t,[e])).currentTime=r,i.timelineTime=a,i.target=n,i.type="finish",i.bubbles=!1,i.currentTarget=n,i.defaultPrevented=!1,i.eventPhase=i.AT_TARGET,i.timeStamp=Date.now(),i.currentTime=r,i.timelineTime=a,i}return(0,nM.Z)(t,e),(0,nD.Z)(t)}(nR.xA),nq=0,nX=(0,nD.Z)(function e(t,n){var r;(0,nL.Z)(this,e),this.currentTimePending=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._playbackRate=1,this._inTimeline=!0,this.effect=t,t.animation=this,this.timeline=n,this.id="".concat(nq++),this._inEffect=!!this.effect.update(0),this._totalDuration=Number(null===(r=this.effect)||void 0===r?void 0:r.getComputedTiming().endTime),this._holdTime=0,this._paused=!1,this.oldPlayState="idle",this.updatePromises()},[{key:"pending",get:function(){return null===this._startTime&&!this._paused&&0!==this.playbackRate||this.currentTimePending}},{key:"playState",get:function(){return this._idle?"idle":this._isFinished?"finished":this._paused?"paused":"running"}},{key:"ready",get:function(){var e=this;return this.readyPromise||(-1===this.timeline.animationsWithPromises.indexOf(this)&&this.timeline.animationsWithPromises.push(this),this.readyPromise=new Promise(function(t,n){e.resolveReadyPromise=function(){t(e)},e.rejectReadyPromise=function(){n(Error())}}),this.pending||this.resolveReadyPromise()),this.readyPromise}},{key:"finished",get:function(){var e=this;return this.finishedPromise||(-1===this.timeline.animationsWithPromises.indexOf(this)&&this.timeline.animationsWithPromises.push(this),this.finishedPromise=new Promise(function(t,n){e.resolveFinishedPromise=function(){t(e)},e.rejectFinishedPromise=function(){n(Error())}}),"finished"===this.playState&&this.resolveFinishedPromise()),this.finishedPromise}},{key:"currentTime",get:function(){return this.updatePromises(),this._idle||this.currentTimePending?null:this._currentTime},set:function(e){if(!isNaN(e=Number(e))){if(this.timeline.restart(),!this._paused&&null!==this._startTime){var t;this._startTime=Number(null===(t=this.timeline)||void 0===t?void 0:t.currentTime)-e/this.playbackRate}this.currentTimePending=!1,this._currentTime!==e&&(this._idle&&(this._idle=!1,this._paused=!0),this.tickCurrentTime(e,!0),this.timeline.applyDirtiedAnimation(this))}}},{key:"startTime",get:function(){return this._startTime},set:function(e){null!==e&&(this.updatePromises(),!isNaN(e=Number(e))&&(this._paused||this._idle||(this._startTime=e,this.tickCurrentTime((Number(this.timeline.currentTime)-this._startTime)*this.playbackRate),this.timeline.applyDirtiedAnimation(this),this.updatePromises())))}},{key:"playbackRate",get:function(){return this._playbackRate},set:function(e){if(e!==this._playbackRate){this.updatePromises();var t=this.currentTime;this._playbackRate=e,this.startTime=null,"paused"!==this.playState&&"idle"!==this.playState&&(this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this)),null!==t&&(this.currentTime=t),this.updatePromises()}}},{key:"_isFinished",get:function(){return!this._idle&&(this._playbackRate>0&&Number(this._currentTime)>=this._totalDuration||this._playbackRate<0&&0>=Number(this._currentTime))}},{key:"totalDuration",get:function(){return this._totalDuration}},{key:"_needsTick",get:function(){return this.pending||"running"===this.playState||!this._finishedFlag}},{key:"updatePromises",value:function(){var e=this.oldPlayState,t=this.pending?"pending":this.playState;return this.readyPromise&&t!==e&&("idle"===t?(this.rejectReadyPromise(),this.readyPromise=void 0):"pending"===e?this.resolveReadyPromise():"pending"===t&&(this.readyPromise=void 0)),this.finishedPromise&&t!==e&&("idle"===t?(this.rejectFinishedPromise(),this.finishedPromise=void 0):"finished"===t?this.resolveFinishedPromise():"finished"===e&&(this.finishedPromise=void 0)),this.oldPlayState=t,this.readyPromise||this.finishedPromise}},{key:"play",value:function(){this.updatePromises(),this._paused=!1,(this._isFinished||this._idle)&&(this.rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this),-1===this.timeline.animations.indexOf(this)&&this.timeline.animations.push(this),this.updatePromises()}},{key:"pause",value:function(){this.updatePromises(),this.currentTime&&(this._holdTime=this.currentTime),this._isFinished||this._paused||this._idle?this._idle&&(this.rewind(),this._idle=!1):this.currentTimePending=!0,this._startTime=null,this._paused=!0,this.updatePromises()}},{key:"finish",value:function(){this.updatePromises(),this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this.currentTimePending=!1,this.timeline.applyDirtiedAnimation(this),this.updatePromises())}},{key:"cancel",value:function(){var e=this;if(this.updatePromises(),this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this.effect.update(null),this.timeline.applyDirtiedAnimation(this),this.updatePromises(),this.oncancel)){var t=new nY(null,this,this.currentTime,null);setTimeout(function(){e.oncancel(t)})}}},{key:"reverse",value:function(){this.updatePromises();var e=this.currentTime;this.playbackRate*=-1,this.play(),null!==e&&(this.currentTime=e),this.updatePromises()}},{key:"updatePlaybackRate",value:function(e){this.playbackRate=e}},{key:"targetAnimations",value:function(){var e;return(null===(e=this.effect)||void 0===e?void 0:e.target).getAnimations()}},{key:"markTarget",value:function(){var e=this.targetAnimations();-1===e.indexOf(this)&&e.push(this)}},{key:"unmarkTarget",value:function(){var e=this.targetAnimations(),t=e.indexOf(this);-1!==t&&e.splice(t,1)}},{key:"tick",value:function(e,t){this._idle||this._paused||(null===this._startTime?t&&(this.startTime=e-this._currentTime/this.playbackRate):this._isFinished||this.tickCurrentTime((e-this._startTime)*this.playbackRate)),t&&(this.currentTimePending=!1,this.fireEvents(e))}},{key:"rewind",value:function(){if(this.playbackRate>=0)this.currentTime=0;else if(this._totalDuration<1/0)this.currentTime=this._totalDuration;else throw Error("Unable to rewind negative playback rate animation with infinite duration")}},{key:"persist",value:function(){throw Error(nR.jf)}},{key:"addEventListener",value:function(e,t,n){throw Error(nR.jf)}},{key:"removeEventListener",value:function(e,t,n){throw Error(nR.jf)}},{key:"dispatchEvent",value:function(e){throw Error(nR.jf)}},{key:"commitStyles",value:function(){throw Error(nR.jf)}},{key:"ensureAlive",value:function(){var e,t;this.playbackRate<0&&0===this.currentTime?this._inEffect=!!(null!==(e=this.effect)&&void 0!==e&&e.update(-1)):this._inEffect=!!(null!==(t=this.effect)&&void 0!==t&&t.update(this.currentTime)),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,this.timeline.animations.push(this))}},{key:"tickCurrentTime",value:function(e,t){e!==this._currentTime&&(this._currentTime=e,this._isFinished&&!t&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this.ensureAlive())}},{key:"fireEvents",value:function(e){var t=this;if(this._isFinished){if(!this._finishedFlag){if(this.onfinish){var n=new nY(null,this,this.currentTime,e);setTimeout(function(){t.onfinish&&t.onfinish(n)})}this._finishedFlag=!0}}else{if(this.onframe&&"running"===this.playState){var r=new nY(null,this,this.currentTime,e);this.onframe(r)}this._finishedFlag=!1}}}]),nK="function"==typeof Float32Array,nQ=function(e,t){return 1-3*t+3*e},nJ=function(e,t){return 3*t-6*e},n0=function(e){return 3*e},n1=function(e,t,n){return((nQ(t,n)*e+nJ(t,n))*e+n0(t))*e},n2=function(e,t,n){return 3*nQ(t,n)*e*e+2*nJ(t,n)*e+n0(t)},n3=function(e,t,n,r,a){var i,o,s=0;do(i=n1(o=t+(n-t)/2,r,a)-e)>0?n=o:t=o;while(Math.abs(i)>1e-7&&++s<10);return o},n4=function(e,t,n,r){for(var a=0;a<4;++a){var i=n2(t,n,r);if(0===i)break;var o=n1(t,n,r)-e;t-=o/i}return t},n5=function(e,t,n,r){if(!(e>=0&&e<=1&&n>=0&&n<=1))throw Error("bezier x values must be in [0, 1] range");if(e===t&&n===r)return function(e){return e};for(var a=nK?new Float32Array(11):Array(11),i=0;i<11;++i)a[i]=n1(.1*i,e,n);var o=function(t){for(var r=0,i=1;10!==i&&a[i]<=t;++i)r+=.1;var o=r+(t-a[--i])/(a[i+1]-a[i])*.1,s=n2(o,e,n);return s>=.001?n4(t,o,e,n):0===s?o:n3(t,r,r+.1,e,n)};return function(e){return 0===e||1===e?e:n1(o(e),t,r)}},n6=function(e){return Math.pow(e,2)},n8=function(e){return Math.pow(e,3)},n9=function(e){return Math.pow(e,4)},n7=function(e){return Math.pow(e,5)},re=function(e){return Math.pow(e,6)},rt=function(e){return 1-Math.cos(e*Math.PI/2)},rn=function(e){return 1-Math.sqrt(1-e*e)},rr=function(e){return e*e*(3*e-2)},ra=function(e){for(var t,n=4;e<((t=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*t-2)/22-e,2)},ri=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,2),r=n[0],a=n[1],i=nZ(Number(void 0===r?1:r),1,10),o=nZ(Number(void 0===a?.5:a),.1,2);return 0===e||1===e?e:-i*Math.pow(2,10*(e-1))*Math.sin((e-1-o/(2*Math.PI)*Math.asin(1/i))*(2*Math.PI)/o)},ro=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,r=(0,nz.Z)(t,4),a=r[0],i=void 0===a?1:a,o=r[1],s=void 0===o?100:o,l=r[2],c=void 0===l?10:l,u=r[3],d=void 0===u?0:u;i=nZ(i,.1,1e3),s=nZ(s,.1,1e3),c=nZ(c,.1,1e3),d=nZ(d,.1,1e3);var p=Math.sqrt(s/i),f=c/(2*Math.sqrt(s*i)),h=f<1?p*Math.sqrt(1-f*f):0,m=f<1?(f*p+-d)/h:-d+p,g=n?n*e/1e3:e;return(g=f<1?Math.exp(-g*f*p)*(1*Math.cos(h*g)+m*Math.sin(h*g)):(1+m*g)*Math.exp(-g*p),0===e||1===e)?e:1-g},rs=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,2),r=n[0],a=void 0===r?10:r;return("start"===n[1]?Math.ceil:Math.floor)(nZ(e,0,1)*a)/a},rl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,4);return n5(n[0],n[1],n[2],n[3])(e)},rc=n5(.42,0,1,1),ru=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return 1-e(1-t,n,r)}},rd=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return t<.5?e(2*t,n,r)/2:1-e(-2*t+2,n,r)/2}},rp=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return t<.5?(1-e(1-2*t,n,r))/2:(e(2*t-1,n,r)+1)/2}},rf={steps:rs,"step-start":function(e){return rs(e,[1,"start"])},"step-end":function(e){return rs(e,[1,"end"])},linear:function(e){return e},"cubic-bezier":rl,ease:function(e){return rl(e,[.25,.1,.25,1])},in:rc,out:ru(rc),"in-out":rd(rc),"out-in":rp(rc),"in-quad":n6,"out-quad":ru(n6),"in-out-quad":rd(n6),"out-in-quad":rp(n6),"in-cubic":n8,"out-cubic":ru(n8),"in-out-cubic":rd(n8),"out-in-cubic":rp(n8),"in-quart":n9,"out-quart":ru(n9),"in-out-quart":rd(n9),"out-in-quart":rp(n9),"in-quint":n7,"out-quint":ru(n7),"in-out-quint":rd(n7),"out-in-quint":rp(n7),"in-expo":re,"out-expo":ru(re),"in-out-expo":rd(re),"out-in-expo":rp(re),"in-sine":rt,"out-sine":ru(rt),"in-out-sine":rd(rt),"out-in-sine":rp(rt),"in-circ":rn,"out-circ":ru(rn),"in-out-circ":rd(rn),"out-in-circ":rp(rn),"in-back":rr,"out-back":ru(rr),"in-out-back":rd(rr),"out-in-back":rp(rr),"in-bounce":ra,"out-bounce":ru(ra),"in-out-bounce":rd(ra),"out-in-bounce":rp(ra),"in-elastic":ri,"out-elastic":ru(ri),"in-out-elastic":rd(ri),"out-in-elastic":rp(ri),spring:ro,"spring-in":ro,"spring-out":ru(ro),"spring-in-out":rd(ro),"spring-out-in":rp(ro)},rh=function(e){var t;return("-"===(t=(t=e).replace(/([A-Z])/g,function(e){return"-".concat(e.toLowerCase())})).charAt(0)?t.substring(1):t).replace(/^ease-/,"").replace(/(\(|\s).+/,"").toLowerCase().trim()},rm=function(e){return e};function rg(e,t){return function(n){if(n>=1)return 1;var r=1/e;return(n+=t*r)-n%r}}var rb="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",ry=new RegExp("cubic-bezier\\(".concat(rb,",").concat(rb,",").concat(rb,",").concat(rb,"\\)")),rE=/steps\(\s*(\d+)\s*\)/,rv=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/;function rT(e){var t=ry.exec(e);if(t)return n5.apply(void 0,(0,nH.Z)(t.slice(1).map(Number)));var n=rE.exec(e);if(n)return rg(Number(n[1]),0);var r=rv.exec(e);return r?rg(Number(r[1]),{start:1,middle:.5,end:0}[r[2]]):rf[rh(e)]||rf.linear}function rS(e){return"offset"!==e&&"easing"!==e&&"composite"!==e&&"computedOffset"!==e}var rA=function(e,t,n){return function(r){var a,i=function e(t,n,r){if("number"==typeof t&&"number"==typeof n)return t*(1-r)+n*r;if("boolean"==typeof t&&"boolean"==typeof n||"string"==typeof t&&"string"==typeof n)return r<.5?t:n;if(Array.isArray(t)&&Array.isArray(n)){for(var a=t.length,i=n.length,o=Math.max(a,i),s=[],l=0;l1)throw Error("Keyframe offsets must be between 0 and 1.");n.computedOffset=a}}else if("composite"===r&&-1===["replace","add","accumulate","auto"].indexOf(a))throw Error("".concat(a," compositing is not supported"));n[r]=a}return void 0===n.offset&&(n.offset=null),void 0===n.easing&&(n.easing=(null==t?void 0:t.easing)||"linear"),void 0===n.composite&&(n.composite="auto"),n}),r=!0,a=-1/0,i=0;i=0&&1>=Number(e.offset)}),r||function(){var e,t,r=n.length;n[r-1].computedOffset=Number(null!==(e=n[r-1].offset)&&void 0!==e?e:1),r>1&&(n[0].computedOffset=Number(null!==(t=n[0].offset)&&void 0!==t?t:0));for(var a=0,i=Number(n[0].computedOffset),o=1;o=e.applyFrom&&t=Math.min(n.delay+e+n.endDelay,r)?2:3}(e,t,n),u=function(e,t,n,r,a){switch(r){case 1:if("backwards"===t||"both"===t)return 0;return null;case 3:return n-a;case 2:if("forwards"===t||"both"===t)return e;return null;case 0:return null}}(e,n.fill,t,c,n.delay);if(null===u)return null;var d="auto"===n.duration?0:n.duration,p=(r=n.iterations,a=n.iterationStart,0===d?1!==c&&(a+=r):a+=u/d,a),f=(i=n.iterationStart,o=n.iterations,0==(s=p===1/0?i%1:p%1)&&2===c&&0!==o&&(0!==u||0===d)&&(s=1),s),h=(l=n.iterations,2===c&&l===1/0?1/0:1===f?Math.floor(p)-1:Math.floor(p)),m=function(e,t,n){var r=e;if("normal"!==e&&"reverse"!==e){var a=t;"alternate-reverse"===e&&(a+=1),r="normal",a!==1/0&&a%2!=0&&(r="reverse")}return"normal"===r?n:1-n}(n.direction,h,f);return n.currentIteration=h,n.progress=m,n.easingFunction(m)}(this.timing.activeDuration,e,this.timing),null!==this.timeFraction)}},{key:"getKeyframes",value:function(){return this.normalizedKeyframes}},{key:"setKeyframes",value:function(e){this.normalizedKeyframes=r_(e)}},{key:"getComputedTiming",value:function(){return this.computedTiming}},{key:"getTiming",value:function(){return this.timing}},{key:"updateTiming",value:function(e){var t=this;Object.keys(e||{}).forEach(function(n){t.timing[n]=e[n]})}}]);function rw(e,t){return Number(e.id)-Number(t.id)}var rI=(0,nD.Z)(function e(t){var n=this;(0,nL.Z)(this,e),this.animations=[],this.ticking=!1,this.timelineTicking=!1,this.hasRestartedThisFrame=!1,this.animationsWithPromises=[],this.inTick=!1,this.pendingEffects=[],this.currentTime=null,this.rafId=0,this.rafCallbacks=[],this.webAnimationsNextTick=function(e){n.currentTime=e,n.discardAnimations(),0===n.animations.length?n.timelineTicking=!1:n.requestAnimationFrame(n.webAnimationsNextTick)},this.processRafCallbacks=function(e){var t=n.rafCallbacks;n.rafCallbacks=[],et.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let rR=(e,t,n)=>[["M",e-n,t],["A",n,n,0,1,0,e+n,t],["A",n,n,0,1,0,e-n,t],["Z"]];rR.style=["fill"];let rL=rR.bind(void 0);rL.style=["stroke","lineWidth"];let rD=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t-n],["L",e+n,t+n],["L",e-n,t+n],["Z"]];rD.style=["fill"];let rP=rD.bind(void 0);rP.style=["fill"];let rM=rD.bind(void 0);rM.style=["stroke","lineWidth"];let rF=(e,t,n)=>{let r=.618*n;return[["M",e-r,t],["L",e,t-n],["L",e+r,t],["L",e,t+n],["Z"]]};rF.style=["fill"];let rj=rF.bind(void 0);rj.style=["stroke","lineWidth"];let rB=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t+r],["L",e,t-r],["L",e+n,t+r],["Z"]]};rB.style=["fill"];let rU=rB.bind(void 0);rU.style=["stroke","lineWidth"];let r$=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t-r],["L",e+n,t-r],["L",e,t+r],["Z"]]};r$.style=["fill"];let rG=r$.bind(void 0);rG.style=["stroke","lineWidth"];let rH=(e,t,n)=>{let r=n/2*Math.sqrt(3);return[["M",e,t-n],["L",e+r,t-n/2],["L",e+r,t+n/2],["L",e,t+n],["L",e-r,t+n/2],["L",e-r,t-n/2],["Z"]]};rH.style=["fill"];let rz=rH.bind(void 0);rz.style=["stroke","lineWidth"];let rZ=(e,t,n)=>{let r=n-1.5;return[["M",e-n,t-r],["L",e+n,t+r],["L",e+n,t-r],["L",e-n,t+r],["Z"]]};rZ.style=["fill"];let rW=rZ.bind(void 0);rW.style=["stroke","lineWidth"];let rV=(e,t,n)=>[["M",e,t+n],["L",e,t-n]];rV.style=["stroke","lineWidth"];let rY=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t+n],["M",e+n,t-n],["L",e-n,t+n]];rY.style=["stroke","lineWidth"];let rq=(e,t,n)=>[["M",e-n/2,t-n],["L",e+n/2,t-n],["M",e,t-n],["L",e,t+n],["M",e-n/2,t+n],["L",e+n/2,t+n]];rq.style=["stroke","lineWidth"];let rX=(e,t,n)=>[["M",e-n,t],["L",e+n,t],["M",e,t-n],["L",e,t+n]];rX.style=["stroke","lineWidth"];let rK=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rK.style=["stroke","lineWidth"];let rQ=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rQ.style=["stroke","lineWidth"];let rJ=rQ.bind(void 0);rJ.style=["stroke","lineWidth"];let r0=(e,t,n)=>[["M",e-n,t],["A",n/2,n/2,0,1,1,e,t],["A",n/2,n/2,0,1,0,e+n,t]];r0.style=["stroke","lineWidth"];let r1=(e,t,n)=>[["M",e-n-1,t-2.5],["L",e,t-2.5],["L",e,t+2.5],["L",e+n+1,t+2.5]];r1.style=["stroke","lineWidth"];let r2=(e,t,n)=>[["M",e-n-1,t+2.5],["L",e,t+2.5],["L",e,t-2.5],["L",e+n+1,t-2.5]];r2.style=["stroke","lineWidth"];let r3=(e,t,n)=>[["M",e-(n+1),t+2.5],["L",e-n/2,t+2.5],["L",e-n/2,t-2.5],["L",e+n/2,t-2.5],["L",e+n/2,t+2.5],["L",e+n+1,t+2.5]];r3.style=["stroke","lineWidth"];let r4=(e,t,n)=>[["M",e-5,t+2.5],["L",e-5,t],["L",e,t],["L",e,t-3],["L",e,t+3],["L",e+6.5,t+3]];r4.style=["stroke","lineWidth"];let r5=new Map([["bowtie",rZ],["cross",rY],["dash",rJ],["diamond",rF],["dot",rQ],["hexagon",rH],["hollowBowtie",rW],["hollowDiamond",rj],["hollowHexagon",rz],["hollowPoint",rL],["hollowSquare",rM],["hollowTriangle",rU],["hollowTriangleDown",rG],["hv",r1],["hvh",r3],["hyphen",rK],["line",rV],["plus",rX],["point",rR],["rect",rP],["smooth",r0],["square",rD],["tick",rq],["triangleDown",r$],["triangle",rB],["vh",r2],["vhv",r4]]),r6={};function r8(e,t){if(e.startsWith("symbol.")){var n;n=e.split(".").pop(),r5.set(n,t)}else Object.assign(r6,{[e]:t})}var r9=n(88998);/*! + `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:r}}},E=e=>{let{componentCls:t,iconCls:n,actionsLiMargin:r,cardActionsIconSize:a,colorBorderSecondary:i,actionsBg:o}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:o,borderTop:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${i}`,display:"flex",borderRadius:`0 0 ${(0,f.bf)(e.borderRadiusLG)} ${(0,f.bf)(e.borderRadiusLG)}`},(0,h.dF)()),{"& > li":{margin:r,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.calc(e.cardActionsIconSize).mul(2).equal(),fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${n}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:(0,f.bf)(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:a,lineHeight:(0,f.bf)(e.calc(a).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${i}`}}})},v=e=>Object.assign(Object.assign({margin:`${(0,f.bf)(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex"},(0,h.dF)()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},h.vS),"&-description":{color:e.colorTextDescription}}),T=e=>{let{componentCls:t,cardPaddingBase:n,colorFillAlter:r}=e;return{[`${t}-head`]:{padding:`0 ${(0,f.bf)(n)}`,background:r,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${(0,f.bf)(e.padding)} ${(0,f.bf)(n)}`}}},S=e=>{let{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},A=e=>{let{componentCls:t,cardShadow:n,cardHeadPadding:r,colorBorderSecondary:a,boxShadowTertiary:i,cardPaddingBase:o,extraColor:s}=e;return{[t]:Object.assign(Object.assign({},(0,h.Wf)(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${t}-bordered)`]:{boxShadow:i},[`${t}-head`]:b(e),[`${t}-extra`]:{marginInlineStart:"auto",color:s,fontWeight:"normal",fontSize:e.fontSize},[`${t}-body`]:Object.assign({padding:o,borderRadius:`0 0 ${(0,f.bf)(e.borderRadiusLG)} ${(0,f.bf)(e.borderRadiusLG)}`},(0,h.dF)()),[`${t}-grid`]:y(e),[`${t}-cover`]:{"> *":{display:"block",width:"100%",borderRadius:`${(0,f.bf)(e.borderRadiusLG)} ${(0,f.bf)(e.borderRadiusLG)} 0 0`}},[`${t}-actions`]:E(e),[`${t}-meta`]:v(e)}),[`${t}-bordered`]:{border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${a}`,[`${t}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${t}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:n}},[`${t}-contain-grid`]:{borderRadius:`${(0,f.bf)(e.borderRadiusLG)} ${(0,f.bf)(e.borderRadiusLG)} 0 0 `,[`${t}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${t}-loading) ${t}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${t}-contain-tabs`]:{[`> div${t}-head`]:{minHeight:0,[`${t}-head-title, ${t}-extra`]:{paddingTop:r}}},[`${t}-type-inner`]:T(e),[`${t}-loading`]:S(e),[`${t}-rtl`]:{direction:"rtl"}}},O=e=>{let{componentCls:t,cardPaddingSM:n,headerHeightSM:r,headerFontSizeSM:a}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:r,padding:`0 ${(0,f.bf)(n)}`,fontSize:a,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}};var _=(0,m.I$)("Card",e=>{let t=(0,g.IX)(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[A(t),O(t)]},e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+2*e.padding,headerHeightSM:e.fontSize*e.lineHeight+2*e.paddingXS,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText})),k=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let x=e=>{let{actionClasses:t,actions:n=[],actionStyle:a}=e;return r.createElement("ul",{className:t,style:a},n.map((e,t)=>{let a=`action-${t}`;return r.createElement("li",{style:{width:`${100/n.length}%`},key:a},r.createElement("span",null,e))}))},C=r.forwardRef((e,t)=>{let n;let{prefixCls:a,className:d,rootClassName:f,style:h,extra:m,headStyle:g={},bodyStyle:b={},title:y,loading:E,bordered:v=!0,size:T,type:S,cover:A,actions:O,tabList:C,children:w,activeTabKey:I,defaultActiveTabKey:N,tabBarExtraContent:R,hoverable:L,tabProps:D={},classNames:P,styles:M}=e,F=k(e,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps","classNames","styles"]),{getPrefixCls:j,direction:B,card:U}=r.useContext(s.E_),$=e=>{var t;return i()(null===(t=null==U?void 0:U.classNames)||void 0===t?void 0:t[e],null==P?void 0:P[e])},G=e=>{var t;return Object.assign(Object.assign({},null===(t=null==U?void 0:U.styles)||void 0===t?void 0:t[e]),null==M?void 0:M[e])},H=r.useMemo(()=>{let e=!1;return r.Children.forEach(w,t=>{(null==t?void 0:t.type)===p&&(e=!0)}),e},[w]),z=j("card",a),[Z,W,V]=_(z),Y=r.createElement(c.Z,{loading:!0,active:!0,paragraph:{rows:4},title:!1},w),q=void 0!==I,X=Object.assign(Object.assign({},D),{[q?"activeKey":"defaultActiveKey"]:q?I:N,tabBarExtraContent:R}),K=(0,l.Z)(T),Q=C?r.createElement(u.Z,Object.assign({size:K&&"default"!==K?K:"large"},X,{className:`${z}-head-tabs`,onChange:t=>{var n;null===(n=e.onTabChange)||void 0===n||n.call(e,t)},items:C.map(e=>{var{tab:t}=e;return Object.assign({label:t},k(e,["tab"]))})})):null;if(y||m||Q){let e=i()(`${z}-head`,$("header")),t=i()(`${z}-head-title`,$("title")),a=i()(`${z}-extra`,$("extra")),o=Object.assign(Object.assign({},g),G("header"));n=r.createElement("div",{className:e,style:o},r.createElement("div",{className:`${z}-head-wrapper`},y&&r.createElement("div",{className:t,style:G("title")},y),m&&r.createElement("div",{className:a,style:G("extra")},m)),Q)}let J=i()(`${z}-cover`,$("cover")),ee=A?r.createElement("div",{className:J,style:G("cover")},A):null,et=i()(`${z}-body`,$("body")),en=Object.assign(Object.assign({},b),G("body")),er=r.createElement("div",{className:et,style:en},E?Y:w),ea=i()(`${z}-actions`,$("actions")),ei=(null==O?void 0:O.length)?r.createElement(x,{actionClasses:ea,actionStyle:G("actions"),actions:O}):null,eo=(0,o.Z)(F,["onTabChange"]),es=i()(z,null==U?void 0:U.className,{[`${z}-loading`]:E,[`${z}-bordered`]:v,[`${z}-hoverable`]:L,[`${z}-contain-grid`]:H,[`${z}-contain-tabs`]:null==C?void 0:C.length,[`${z}-${K}`]:K,[`${z}-type-${S}`]:!!S,[`${z}-rtl`]:"rtl"===B},d,f,W,V),el=Object.assign(Object.assign({},null==U?void 0:U.style),h);return Z(r.createElement("div",Object.assign({ref:t},eo,{className:es,style:el}),n,ee,er,ei))});var w=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};C.Grid=p,C.Meta=e=>{let{prefixCls:t,className:n,avatar:a,title:o,description:l}=e,c=w(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:u}=r.useContext(s.E_),d=u("card",t),p=i()(`${d}-meta`,n),f=a?r.createElement("div",{className:`${d}-meta-avatar`},a):null,h=o?r.createElement("div",{className:`${d}-meta-title`},o):null,m=l?r.createElement("div",{className:`${d}-meta-description`},l):null,g=h||m?r.createElement("div",{className:`${d}-meta-detail`},h,m):null;return r.createElement("div",Object.assign({},c,{className:p}),f,g)};var I=C},85265:function(e,t,n){"use strict";n.d(t,{Z:function(){return q}});var r=n(67294),a=n(93967),i=n.n(a),o=n(1413),s=n(97685),l=n(2788),c=n(8410),u=r.createContext(null),d=r.createContext({}),p=n(4942),f=n(87462),h=n(29372),m=n(15105),g=n(64217),b=n(45987),y=n(42550),E=["prefixCls","className","containerRef"],v=function(e){var t=e.prefixCls,n=e.className,a=e.containerRef,o=(0,b.Z)(e,E),s=r.useContext(d).panel,l=(0,y.x1)(s,a);return r.createElement("div",(0,f.Z)({className:i()("".concat(t,"-content"),n),role:"dialog",ref:l},(0,g.Z)(e,{aria:!0}),{"aria-modal":"true"},o))},T=n(80334);function S(e){return"string"==typeof e&&String(Number(e))===e?((0,T.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var A={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"},O=r.forwardRef(function(e,t){var n,a,l,c=e.prefixCls,d=e.open,b=e.placement,y=e.inline,E=e.push,T=e.forceRender,O=e.autoFocus,_=e.keyboard,k=e.classNames,x=e.rootClassName,C=e.rootStyle,w=e.zIndex,I=e.className,N=e.id,R=e.style,L=e.motion,D=e.width,P=e.height,M=e.children,F=e.mask,j=e.maskClosable,B=e.maskMotion,U=e.maskClassName,$=e.maskStyle,G=e.afterOpenChange,H=e.onClose,z=e.onMouseEnter,Z=e.onMouseOver,W=e.onMouseLeave,V=e.onClick,Y=e.onKeyDown,q=e.onKeyUp,X=e.styles,K=e.drawerRender,Q=r.useRef(),J=r.useRef(),ee=r.useRef();r.useImperativeHandle(t,function(){return Q.current}),r.useEffect(function(){if(d&&O){var e;null===(e=Q.current)||void 0===e||e.focus({preventScroll:!0})}},[d]);var et=r.useState(!1),en=(0,s.Z)(et,2),er=en[0],ea=en[1],ei=r.useContext(u),eo=null!==(n=null!==(a=null===(l="boolean"==typeof E?E?{}:{distance:0}:E||{})||void 0===l?void 0:l.distance)&&void 0!==a?a:null==ei?void 0:ei.pushDistance)&&void 0!==n?n:180,es=r.useMemo(function(){return{pushDistance:eo,push:function(){ea(!0)},pull:function(){ea(!1)}}},[eo]);r.useEffect(function(){var e,t;d?null==ei||null===(e=ei.push)||void 0===e||e.call(ei):null==ei||null===(t=ei.pull)||void 0===t||t.call(ei)},[d]),r.useEffect(function(){return function(){var e;null==ei||null===(e=ei.pull)||void 0===e||e.call(ei)}},[]);var el=F&&r.createElement(h.ZP,(0,f.Z)({key:"mask"},B,{visible:d}),function(e,t){var n=e.className,a=e.style;return r.createElement("div",{className:i()("".concat(c,"-mask"),n,null==k?void 0:k.mask,U),style:(0,o.Z)((0,o.Z)((0,o.Z)({},a),$),null==X?void 0:X.mask),onClick:j&&d?H:void 0,ref:t})}),ec="function"==typeof L?L(b):L,eu={};if(er&&eo)switch(b){case"top":eu.transform="translateY(".concat(eo,"px)");break;case"bottom":eu.transform="translateY(".concat(-eo,"px)");break;case"left":eu.transform="translateX(".concat(eo,"px)");break;default:eu.transform="translateX(".concat(-eo,"px)")}"left"===b||"right"===b?eu.width=S(D):eu.height=S(P);var ed={onMouseEnter:z,onMouseOver:Z,onMouseLeave:W,onClick:V,onKeyDown:Y,onKeyUp:q},ep=r.createElement(h.ZP,(0,f.Z)({key:"panel"},ec,{visible:d,forceRender:T,onVisibleChanged:function(e){null==G||G(e)},removeOnLeave:!1,leavedClassName:"".concat(c,"-content-wrapper-hidden")}),function(t,n){var a=t.className,s=t.style,l=r.createElement(v,(0,f.Z)({id:N,containerRef:n,prefixCls:c,className:i()(I,null==k?void 0:k.content),style:(0,o.Z)((0,o.Z)({},R),null==X?void 0:X.content)},(0,g.Z)(e,{aria:!0}),ed),M);return r.createElement("div",(0,f.Z)({className:i()("".concat(c,"-content-wrapper"),null==k?void 0:k.wrapper,a),style:(0,o.Z)((0,o.Z)((0,o.Z)({},eu),s),null==X?void 0:X.wrapper)},(0,g.Z)(e,{data:!0})),K?K(l):l)}),ef=(0,o.Z)({},C);return w&&(ef.zIndex=w),r.createElement(u.Provider,{value:es},r.createElement("div",{className:i()(c,"".concat(c,"-").concat(b),x,(0,p.Z)((0,p.Z)({},"".concat(c,"-open"),d),"".concat(c,"-inline"),y)),style:ef,tabIndex:-1,ref:Q,onKeyDown:function(e){var t,n,r=e.keyCode,a=e.shiftKey;switch(r){case m.Z.TAB:r===m.Z.TAB&&(a||document.activeElement!==ee.current?a&&document.activeElement===J.current&&(null===(n=ee.current)||void 0===n||n.focus({preventScroll:!0})):null===(t=J.current)||void 0===t||t.focus({preventScroll:!0}));break;case m.Z.ESC:H&&_&&(e.stopPropagation(),H(e))}}},el,r.createElement("div",{tabIndex:0,ref:J,style:A,"aria-hidden":"true","data-sentinel":"start"}),ep,r.createElement("div",{tabIndex:0,ref:ee,style:A,"aria-hidden":"true","data-sentinel":"end"})))}),_=function(e){var t=e.open,n=e.prefixCls,a=e.placement,i=e.autoFocus,u=e.keyboard,p=e.width,f=e.mask,h=void 0===f||f,m=e.maskClosable,g=e.getContainer,b=e.forceRender,y=e.afterOpenChange,E=e.destroyOnClose,v=e.onMouseEnter,T=e.onMouseOver,S=e.onMouseLeave,A=e.onClick,_=e.onKeyDown,k=e.onKeyUp,x=e.panelRef,C=r.useState(!1),w=(0,s.Z)(C,2),I=w[0],N=w[1],R=r.useState(!1),L=(0,s.Z)(R,2),D=L[0],P=L[1];(0,c.Z)(function(){P(!0)},[]);var M=!!D&&void 0!==t&&t,F=r.useRef(),j=r.useRef();(0,c.Z)(function(){M&&(j.current=document.activeElement)},[M]);var B=r.useMemo(function(){return{panel:x}},[x]);if(!b&&!I&&!M&&E)return null;var U=(0,o.Z)((0,o.Z)({},e),{},{open:M,prefixCls:void 0===n?"rc-drawer":n,placement:void 0===a?"right":a,autoFocus:void 0===i||i,keyboard:void 0===u||u,width:void 0===p?378:p,mask:h,maskClosable:void 0===m||m,inline:!1===g,afterOpenChange:function(e){var t,n;N(e),null==y||y(e),e||!j.current||null!==(t=F.current)&&void 0!==t&&t.contains(j.current)||null===(n=j.current)||void 0===n||n.focus({preventScroll:!0})},ref:F},{onMouseEnter:v,onMouseOver:T,onMouseLeave:S,onClick:A,onKeyDown:_,onKeyUp:k});return r.createElement(d.Provider,{value:B},r.createElement(l.Z,{open:M||b||I,autoDestroy:!1,getContainer:g,autoLock:h&&(M||I)},r.createElement(O,U)))},k=n(89942),x=n(87263),C=n(33603),w=n(43945),I=n(53124),N=n(16569),R=n(69760),L=n(48054),D=e=>{var t,n;let{prefixCls:a,title:o,footer:s,extra:l,loading:c,onClose:u,headerStyle:d,bodyStyle:p,footerStyle:f,children:h,classNames:m,styles:g}=e,{drawer:b}=r.useContext(I.E_),y=r.useCallback(e=>r.createElement("button",{type:"button",onClick:u,"aria-label":"Close",className:`${a}-close`},e),[u]),[E,v]=(0,R.Z)((0,R.w)(e),(0,R.w)(b),{closable:!0,closeIconRender:y}),T=r.useMemo(()=>{var e,t;return o||E?r.createElement("div",{style:Object.assign(Object.assign(Object.assign({},null===(e=null==b?void 0:b.styles)||void 0===e?void 0:e.header),d),null==g?void 0:g.header),className:i()(`${a}-header`,{[`${a}-header-close-only`]:E&&!o&&!l},null===(t=null==b?void 0:b.classNames)||void 0===t?void 0:t.header,null==m?void 0:m.header)},r.createElement("div",{className:`${a}-header-title`},v,o&&r.createElement("div",{className:`${a}-title`},o)),l&&r.createElement("div",{className:`${a}-extra`},l)):null},[E,v,l,d,a,o]),S=r.useMemo(()=>{var e,t;if(!s)return null;let n=`${a}-footer`;return r.createElement("div",{className:i()(n,null===(e=null==b?void 0:b.classNames)||void 0===e?void 0:e.footer,null==m?void 0:m.footer),style:Object.assign(Object.assign(Object.assign({},null===(t=null==b?void 0:b.styles)||void 0===t?void 0:t.footer),f),null==g?void 0:g.footer)},s)},[s,f,a]);return r.createElement(r.Fragment,null,T,r.createElement("div",{className:i()(`${a}-body`,null==m?void 0:m.body,null===(t=null==b?void 0:b.classNames)||void 0===t?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},null===(n=null==b?void 0:b.styles)||void 0===n?void 0:n.body),p),null==g?void 0:g.body)},c?r.createElement(L.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${a}-body-skeleton`}):h),S)},P=n(25446),M=n(14747),F=n(83559),j=n(83262);let B=e=>{let t="100%";return({left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`})[e]},U=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),$=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}}},U({opacity:e},{opacity:1})),G=(e,t)=>[$(.7,t),U({transform:B(e)},{transform:"none"})];var H=e=>{let{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:$(0,n),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce((e,t)=>Object.assign(Object.assign({},e),{[`&-${t}`]:G(t,n)}),{})}}};let z=e=>{let{borderRadiusSM:t,componentCls:n,zIndexPopup:r,colorBgMask:a,colorBgElevated:i,motionDurationSlow:o,motionDurationMid:s,paddingXS:l,padding:c,paddingLG:u,fontSizeLG:d,lineHeightLG:p,lineWidth:f,lineType:h,colorSplit:m,marginXS:g,colorIcon:b,colorIconHover:y,colorBgTextHover:E,colorBgTextActive:v,colorText:T,fontWeightStrong:S,footerPaddingBlock:A,footerPaddingInline:O,calc:_}=e,k=`${n}-content-wrapper`;return{[n]:{position:"fixed",inset:0,zIndex:r,pointerEvents:"none",color:T,"&-pure":{position:"relative",background:i,display:"flex",flexDirection:"column",[`&${n}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${n}-mask`]:{position:"absolute",inset:0,zIndex:r,background:a,pointerEvents:"auto"},[k]:{position:"absolute",zIndex:r,maxWidth:"100vw",transition:`all ${o}`,"&-hidden":{display:"none"}},[`&-left > ${k}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${k}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${k}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${k}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${n}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:i,pointerEvents:"auto"},[`${n}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,P.bf)(c)} ${(0,P.bf)(u)}`,fontSize:d,lineHeight:p,borderBottom:`${(0,P.bf)(f)} ${h} ${m}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:"none"},[`${n}-close`]:Object.assign({display:"inline-flex",width:_(d).add(l).equal(),height:_(d).add(l).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",marginInlineEnd:g,color:b,fontWeight:S,fontSize:d,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${s}`,textRendering:"auto","&:hover":{color:y,backgroundColor:E,textDecoration:"none"},"&:active":{backgroundColor:v}},(0,M.Qy)(e)),[`${n}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:d,lineHeight:p},[`${n}-body`]:{flex:1,minWidth:0,minHeight:0,padding:u,overflow:"auto",[`${n}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${n}-footer`]:{flexShrink:0,padding:`${(0,P.bf)(A)} ${(0,P.bf)(O)}`,borderTop:`${(0,P.bf)(f)} ${h} ${m}`},"&-rtl":{direction:"rtl"}}}};var Z=(0,F.I$)("Drawer",e=>{let t=(0,j.IX)(e,{});return[z(t),H(t)]},e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding})),W=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let V={distance:180},Y=e=>{let{rootClassName:t,width:n,height:a,size:o="default",mask:s=!0,push:l=V,open:c,afterOpenChange:u,onClose:d,prefixCls:p,getContainer:f,style:h,className:m,visible:g,afterVisibleChange:b,maskStyle:y,drawerStyle:E,contentWrapperStyle:v}=e,T=W(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:S,getPrefixCls:A,direction:O,drawer:R}=r.useContext(I.E_),L=A("drawer",p),[P,M,F]=Z(L),j=void 0===f&&S?()=>S(document.body):f,B=i()({"no-mask":!s,[`${L}-rtl`]:"rtl"===O},t,M,F),U=r.useMemo(()=>null!=n?n:"large"===o?736:378,[n,o]),$=r.useMemo(()=>null!=a?a:"large"===o?736:378,[a,o]),G={motionName:(0,C.m)(L,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},H=(0,N.H)(),[z,Y]=(0,x.Cn)("Drawer",T.zIndex),{classNames:q={},styles:X={}}=T,{classNames:K={},styles:Q={}}=R||{};return P(r.createElement(k.Z,{form:!0,space:!0},r.createElement(w.Z.Provider,{value:Y},r.createElement(_,Object.assign({prefixCls:L,onClose:d,maskMotion:G,motion:e=>({motionName:(0,C.m)(L,`panel-motion-${e}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500})},T,{classNames:{mask:i()(q.mask,K.mask),content:i()(q.content,K.content),wrapper:i()(q.wrapper,K.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},X.mask),y),Q.mask),content:Object.assign(Object.assign(Object.assign({},X.content),E),Q.content),wrapper:Object.assign(Object.assign(Object.assign({},X.wrapper),v),Q.wrapper)},open:null!=c?c:g,mask:s,push:l,width:U,height:$,style:Object.assign(Object.assign({},null==R?void 0:R.style),h),className:i()(null==R?void 0:R.className,m),rootClassName:B,getContainer:j,afterOpenChange:null!=u?u:b,panelRef:H,zIndex:z}),r.createElement(D,Object.assign({prefixCls:L},T,{onClose:d}))))))};Y._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,style:n,className:a,placement:o="right"}=e,s=W(e,["prefixCls","style","className","placement"]),{getPrefixCls:l}=r.useContext(I.E_),c=l("drawer",t),[u,d,p]=Z(c),f=i()(c,`${c}-pure`,`${c}-${o}`,d,p,a);return u(r.createElement("div",{className:f,style:n},r.createElement(D,Object.assign({prefixCls:c},s))))};var q=Y},86250:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r=n(67294),a=n(93967),i=n.n(a),o=n(98423),s=n(98065),l=n(53124),c=n(83559),u=n(83262);let d=["wrap","nowrap","wrap-reverse"],p=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],f=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],h=(e,t)=>{let n=!0===t.wrap?"wrap":t.wrap;return{[`${e}-wrap-${n}`]:n&&d.includes(n)}},m=(e,t)=>{let n={};return f.forEach(r=>{n[`${e}-align-${r}`]=t.align===r}),n[`${e}-align-stretch`]=!t.align&&!!t.vertical,n},g=(e,t)=>{let n={};return p.forEach(r=>{n[`${e}-justify-${r}`]=t.justify===r}),n},b=e=>{let{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},y=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},E=e=>{let{componentCls:t}=e,n={};return d.forEach(e=>{n[`${t}-wrap-${e}`]={flexWrap:e}}),n},v=e=>{let{componentCls:t}=e,n={};return f.forEach(e=>{n[`${t}-align-${e}`]={alignItems:e}}),n},T=e=>{let{componentCls:t}=e,n={};return p.forEach(e=>{n[`${t}-justify-${e}`]={justifyContent:e}}),n};var S=(0,c.I$)("Flex",e=>{let{paddingXS:t,padding:n,paddingLG:r}=e,a=(0,u.IX)(e,{flexGapSM:t,flexGap:n,flexGapLG:r});return[b(a),y(a),E(a),v(a),T(a)]},()=>({}),{resetStyle:!1}),A=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let O=r.forwardRef((e,t)=>{let{prefixCls:n,rootClassName:a,className:c,style:u,flex:d,gap:p,children:f,vertical:b=!1,component:y="div"}=e,E=A(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:v,direction:T,getPrefixCls:O}=r.useContext(l.E_),_=O("flex",n),[k,x,C]=S(_),w=null!=b?b:null==v?void 0:v.vertical,I=i()(c,a,null==v?void 0:v.className,_,x,C,i()(Object.assign(Object.assign(Object.assign({},h(_,e)),m(_,e)),g(_,e))),{[`${_}-rtl`]:"rtl"===T,[`${_}-gap-${p}`]:(0,s.n)(p),[`${_}-vertical`]:w}),N=Object.assign(Object.assign({},null==v?void 0:v.style),u);return d&&(N.flex=d),p&&!(0,s.n)(p)&&(N.gap=p),k(r.createElement(y,Object.assign({ref:t,className:I,style:N},(0,o.Z)(E,["justify","wrap","align"])),f))});var _=O},57020:function(e,t,n){"use strict";n.d(t,{Z:function(){return eT}});var r=n(67294),a=n(99611),i=n(93967),o=n.n(i),s=n(87462),l=n(1413),c=n(4942),u=n(97685),d=n(71002),p=n(45987),f=n(27678),h=n(21770),m=n(40974),g=n(64019),b=n(15105),y=n(2788),E=n(29372),v=r.createContext(null),T=function(e){var t=e.visible,n=e.maskTransitionName,a=e.getContainer,i=e.prefixCls,s=e.rootClassName,u=e.icons,d=e.countRender,p=e.showSwitch,f=e.showProgress,h=e.current,m=e.transform,g=e.count,T=e.scale,S=e.minScale,A=e.maxScale,O=e.closeIcon,_=e.onSwitchLeft,k=e.onSwitchRight,x=e.onClose,C=e.onZoomIn,w=e.onZoomOut,I=e.onRotateRight,N=e.onRotateLeft,R=e.onFlipX,L=e.onFlipY,D=e.onReset,P=e.toolbarRender,M=e.zIndex,F=e.image,j=(0,r.useContext)(v),B=u.rotateLeft,U=u.rotateRight,$=u.zoomIn,G=u.zoomOut,H=u.close,z=u.left,Z=u.right,W=u.flipX,V=u.flipY,Y="".concat(i,"-operations-operation");r.useEffect(function(){var e=function(e){e.keyCode===b.Z.ESC&&x()};return t&&window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}},[t]);var q=[{icon:V,onClick:L,type:"flipY"},{icon:W,onClick:R,type:"flipX"},{icon:B,onClick:N,type:"rotateLeft"},{icon:U,onClick:I,type:"rotateRight"},{icon:G,onClick:w,type:"zoomOut",disabled:T<=S},{icon:$,onClick:C,type:"zoomIn",disabled:T===A}].map(function(e){var t,n=e.icon,a=e.onClick,s=e.type,l=e.disabled;return r.createElement("div",{className:o()(Y,(t={},(0,c.Z)(t,"".concat(i,"-operations-operation-").concat(s),!0),(0,c.Z)(t,"".concat(i,"-operations-operation-disabled"),!!l),t)),onClick:a,key:s},n)}),X=r.createElement("div",{className:"".concat(i,"-operations")},q);return r.createElement(E.ZP,{visible:t,motionName:n},function(e){var t=e.className,n=e.style;return r.createElement(y.Z,{open:!0,getContainer:null!=a?a:document.body},r.createElement("div",{className:o()("".concat(i,"-operations-wrapper"),t,s),style:(0,l.Z)((0,l.Z)({},n),{},{zIndex:M})},null===O?null:r.createElement("button",{className:"".concat(i,"-close"),onClick:x},O||H),p&&r.createElement(r.Fragment,null,r.createElement("div",{className:o()("".concat(i,"-switch-left"),(0,c.Z)({},"".concat(i,"-switch-left-disabled"),0===h)),onClick:_},z),r.createElement("div",{className:o()("".concat(i,"-switch-right"),(0,c.Z)({},"".concat(i,"-switch-right-disabled"),h===g-1)),onClick:k},Z)),r.createElement("div",{className:"".concat(i,"-footer")},f&&r.createElement("div",{className:"".concat(i,"-progress")},d?d(h+1,g):"".concat(h+1," / ").concat(g)),P?P(X,(0,l.Z)((0,l.Z)({icons:{flipYIcon:q[0],flipXIcon:q[1],rotateLeftIcon:q[2],rotateRightIcon:q[3],zoomOutIcon:q[4],zoomInIcon:q[5]},actions:{onFlipY:L,onFlipX:R,onRotateLeft:N,onRotateRight:I,onZoomOut:w,onZoomIn:C,onReset:D,onClose:x},transform:m},j?{current:h,total:g}:{}),{},{image:F})):X)))})},S=n(91881),A=n(75164),O={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1},_=n(80334);function k(e,t,n,r){var a=t+n,i=(n-r)/2;if(n>r){if(t>0)return(0,c.Z)({},e,i);if(t<0&&ar)return(0,c.Z)({},e,t<0?i:-i);return{}}function x(e,t,n,r){var a=(0,f.g1)(),i=a.width,o=a.height,s=null;return e<=i&&t<=o?s={x:0,y:0}:(e>i||t>o)&&(s=(0,l.Z)((0,l.Z)({},k("x",n,e,i)),k("y",r,t,o))),s}function C(e){var t=e.src,n=e.isCustomPlaceholder,a=e.fallback,i=(0,r.useState)(n?"loading":"normal"),o=(0,u.Z)(i,2),s=o[0],l=o[1],c=(0,r.useRef)(!1),d="error"===s;(0,r.useEffect)(function(){var e=!0;return new Promise(function(e){var n=document.createElement("img");n.onerror=function(){return e(!1)},n.onload=function(){return e(!0)},n.src=t}).then(function(t){!t&&e&&l("error")}),function(){e=!1}},[t]),(0,r.useEffect)(function(){n&&!c.current?l("loading"):d&&l("normal")},[t]);var p=function(){l("normal")};return[function(e){c.current=!1,"loading"===s&&null!=e&&e.complete&&(e.naturalWidth||e.naturalHeight)&&(c.current=!0,p())},d&&a?{src:a}:{onLoad:p,src:t},s]}function w(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}var I=["fallback","src","imgRef"],N=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],R=function(e){var t=e.fallback,n=e.src,a=e.imgRef,i=(0,p.Z)(e,I),o=C({src:n,fallback:t}),l=(0,u.Z)(o,2),c=l[0],d=l[1];return r.createElement("img",(0,s.Z)({ref:function(e){a.current=e,c(e)}},i,d))},L=function(e){var t,n,a,i,d,h,y,E,k,C,I,L,D,P,M,F,j,B,U,$,G,H,z,Z,W,V,Y,q,X=e.prefixCls,K=e.src,Q=e.alt,J=e.imageInfo,ee=e.fallback,et=e.movable,en=void 0===et||et,er=e.onClose,ea=e.visible,ei=e.icons,eo=e.rootClassName,es=e.closeIcon,el=e.getContainer,ec=e.current,eu=void 0===ec?0:ec,ed=e.count,ep=void 0===ed?1:ed,ef=e.countRender,eh=e.scaleStep,em=void 0===eh?.5:eh,eg=e.minScale,eb=void 0===eg?1:eg,ey=e.maxScale,eE=void 0===ey?50:ey,ev=e.transitionName,eT=e.maskTransitionName,eS=void 0===eT?"fade":eT,eA=e.imageRender,eO=e.imgCommonProps,e_=e.toolbarRender,ek=e.onTransform,ex=e.onChange,eC=(0,p.Z)(e,N),ew=(0,r.useRef)(),eI=(0,r.useContext)(v),eN=eI&&ep>1,eR=eI&&ep>=1,eL=(0,r.useState)(!0),eD=(0,u.Z)(eL,2),eP=eD[0],eM=eD[1],eF=(t=(0,r.useRef)(null),n=(0,r.useRef)([]),a=(0,r.useState)(O),d=(i=(0,u.Z)(a,2))[0],h=i[1],y=function(e,r){null===t.current&&(n.current=[],t.current=(0,A.Z)(function(){h(function(e){var a=e;return n.current.forEach(function(e){a=(0,l.Z)((0,l.Z)({},a),e)}),t.current=null,null==ek||ek({transform:a,action:r}),a})})),n.current.push((0,l.Z)((0,l.Z)({},d),e))},{transform:d,resetTransform:function(e){h(O),(0,S.Z)(O,d)||null==ek||ek({transform:O,action:e})},updateTransform:y,dispatchZoomChange:function(e,t,n,r,a){var i=ew.current,o=i.width,s=i.height,l=i.offsetWidth,c=i.offsetHeight,u=i.offsetLeft,p=i.offsetTop,h=e,m=d.scale*e;m>eE?(m=eE,h=eE/d.scale):m0&&(t=1/t),e$(t,"wheel",e.clientX,e.clientY)}}}),eH=eG.isMoving,ez=eG.onMouseDown,eZ=eG.onWheel,eW=(U=ej.rotate,$=ej.scale,G=ej.x,H=ej.y,z=(0,r.useState)(!1),W=(Z=(0,u.Z)(z,2))[0],V=Z[1],Y=(0,r.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),q=function(e){Y.current=(0,l.Z)((0,l.Z)({},Y.current),e)},(0,r.useEffect)(function(){var e;return ea&&en&&(e=(0,g.Z)(window,"touchmove",function(e){return e.preventDefault()},{passive:!1})),function(){var t;null===(t=e)||void 0===t||t.remove()}},[ea,en]),{isTouching:W,onTouchStart:function(e){if(en){e.stopPropagation(),V(!0);var t=e.touches,n=void 0===t?[]:t;n.length>1?q({point1:{x:n[0].clientX,y:n[0].clientY},point2:{x:n[1].clientX,y:n[1].clientY},eventType:"touchZoom"}):q({point1:{x:n[0].clientX-G,y:n[0].clientY-H},eventType:"move"})}},onTouchMove:function(e){var t=e.touches,n=void 0===t?[]:t,r=Y.current,a=r.point1,i=r.point2,o=r.eventType;if(n.length>1&&"touchZoom"===o){var s={x:n[0].clientX,y:n[0].clientY},l={x:n[1].clientX,y:n[1].clientY},c=function(e,t,n,r){var a=w(e,n),i=w(t,r);if(0===a&&0===i)return[e.x,e.y];var o=a/(a+i);return[e.x+o*(t.x-e.x),e.y+o*(t.y-e.y)]}(a,i,s,l),d=(0,u.Z)(c,2),p=d[0],f=d[1];e$(w(s,l)/w(a,i),"touchZoom",p,f,!0),q({point1:s,point2:l,eventType:"touchZoom"})}else"move"===o&&(eU({x:n[0].clientX-a.x,y:n[0].clientY-a.y},"move"),q({eventType:"move"}))},onTouchEnd:function(){if(ea){if(W&&V(!1),q({eventType:"none"}),eb>$)return eU({x:0,y:0,scale:eb},"touchZoom");var e=ew.current.offsetWidth*$,t=ew.current.offsetHeight*$,n=ew.current.getBoundingClientRect(),r=n.left,a=n.top,i=U%180!=0,o=x(i?t:e,i?e:t,r,a);o&&eU((0,l.Z)({},o),"dragRebound")}}}),eV=eW.isTouching,eY=eW.onTouchStart,eq=eW.onTouchMove,eX=eW.onTouchEnd,eK=ej.rotate,eQ=ej.scale,eJ=o()((0,c.Z)({},"".concat(X,"-moving"),eH));(0,r.useEffect)(function(){eP||eM(!0)},[eP]);var e0=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu>0&&(eM(!1),eB("prev"),null==ex||ex(eu-1,eu))},e1=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu({position:e||"absolute",inset:0}),eu=e=>{let{iconCls:t,motionDurationSlow:n,paddingXXS:r,marginXXS:a,prefixCls:i,colorTextLightSolid:o}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:o,background:new en.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${i}-mask-info`]:Object.assign(Object.assign({},ea.vS),{padding:`0 ${(0,et.bf)(r)}`,[t]:{marginInlineEnd:a,svg:{verticalAlign:"baseline"}}})}},ed=e=>{let{previewCls:t,modalMaskBg:n,paddingSM:r,marginXL:a,margin:i,paddingLG:o,previewOperationColorDisabled:s,previewOperationHoverColor:l,motionDurationSlow:c,iconCls:u,colorTextLightSolid:d}=e,p=new en.C(n).setAlpha(.1),f=p.clone().setAlpha(.2);return{[`${t}-footer`]:{position:"fixed",bottom:a,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor,transform:"translateX(-50%)"},[`${t}-progress`]:{marginBottom:i},[`${t}-close`]:{position:"fixed",top:a,right:{_skip_check_:!0,value:a},display:"flex",color:d,backgroundColor:p.toRgbString(),borderRadius:"50%",padding:r,outline:0,border:0,cursor:"pointer",transition:`all ${c}`,"&:hover":{backgroundColor:f.toRgbString()},[`& > ${u}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,et.bf)(o)}`,backgroundColor:p.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:r,padding:r,cursor:"pointer",transition:`all ${c}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${u}`]:{color:l},"&-disabled":{color:s,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${u}`]:{fontSize:e.previewOperationSize}}}}},ep=e=>{let{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:r,previewCls:a,zIndexPopup:i,motionDurationSlow:o}=e,s=new en.C(t).setAlpha(.1),l=s.clone().setAlpha(.2);return{[`${a}-switch-left, ${a}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(i).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:s.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${o}`,userSelect:"none","&:hover":{background:l.toRgbString()},"&-disabled":{"&, &:hover":{color:r,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${a}-switch-left`]:{insetInlineStart:e.marginSM},[`${a}-switch-right`]:{insetInlineEnd:e.marginSM}}},ef=e=>{let{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:a}=e;return[{[`${a}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:Object.assign(Object.assign({},ec()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${r} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},ec()),{transition:`transform ${r} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${a}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${a}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal()},"&":[ed(e),ep(e)]}]},eh=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},eu(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},ec())}}},em=e=>{let{previewCls:t}=e;return{[`${t}-root`]:(0,ei._y)(e,"zoom"),"&":(0,eo.J$)(e,!0)}};var eg=(0,es.I$)("Image",e=>{let t=`${e.componentCls}-preview`,n=(0,el.IX)(e,{previewCls:t,modalMaskBg:new en.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[eh(n),ef(n),(0,er.QA)((0,el.IX)(n,{componentCls:t})),em(n)]},e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new en.C(e.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new en.C(e.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new en.C(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:1.5*e.fontSizeIcon})),eb=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ey={rotateLeft:r.createElement(X.Z,null),rotateRight:r.createElement(K.Z,null),zoomIn:r.createElement(J.Z,null),zoomOut:r.createElement(ee.Z,null),close:r.createElement(V.Z,null),left:r.createElement(Y.Z,null),right:r.createElement(q.Z,null),flipX:r.createElement(Q.Z,null),flipY:r.createElement(Q.Z,{rotate:90})};var eE=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ev=e=>{var t;let{prefixCls:n,preview:i,className:s,rootClassName:l,style:c}=e,u=eE(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:d,locale:p=W.Z,getPopupContainer:f,image:h}=r.useContext(z.E_),m=d("image",n),g=d(),b=p.Image||W.Z.Image,y=(0,Z.Z)(m),[E,v,T]=eg(m,y),S=o()(l,v,T,y),A=o()(s,v,null==h?void 0:h.className),[O]=(0,G.Cn)("ImagePreview","object"==typeof i?i.zIndex:void 0),_=r.useMemo(()=>{var e;if(!1===i)return i;let t="object"==typeof i?i:{},{getContainer:n,closeIcon:o}=t,s=eE(t,["getContainer","closeIcon"]);return Object.assign(Object.assign({mask:r.createElement("div",{className:`${m}-mask-info`},r.createElement(a.Z,null),null==b?void 0:b.preview),icons:ey},s),{getContainer:null!=n?n:f,transitionName:(0,H.m)(g,"zoom",t.transitionName),maskTransitionName:(0,H.m)(g,"fade",t.maskTransitionName),zIndex:O,closeIcon:null!=o?o:null===(e=null==h?void 0:h.preview)||void 0===e?void 0:e.closeIcon})},[i,b,null===(t=null==h?void 0:h.preview)||void 0===t?void 0:t.closeIcon]),k=Object.assign(Object.assign({},null==h?void 0:h.style),c);return E(r.createElement($,Object.assign({prefixCls:m,preview:_,rootClassName:S,className:A,style:k},u)))};ev.PreviewGroup=e=>{var{previewPrefixCls:t,preview:n}=e,a=eb(e,["previewPrefixCls","preview"]);let{getPrefixCls:i}=r.useContext(z.E_),s=i("image",t),l=`${s}-preview`,c=i(),u=(0,Z.Z)(s),[d,p,f]=eg(s,u),[h]=(0,G.Cn)("ImagePreview","object"==typeof n?n.zIndex:void 0),m=r.useMemo(()=>{var e;if(!1===n)return n;let t="object"==typeof n?n:{},r=o()(p,f,u,null!==(e=t.rootClassName)&&void 0!==e?e:"");return Object.assign(Object.assign({},t),{transitionName:(0,H.m)(c,"zoom",t.transitionName),maskTransitionName:(0,H.m)(c,"fade",t.maskTransitionName),rootClassName:r,zIndex:h})},[n]);return d(r.createElement($.PreviewGroup,Object.assign({preview:m,previewPrefixCls:l,icons:ey},a)))};var eT=ev},66309:function(e,t,n){"use strict";n.d(t,{Z:function(){return I}});var r=n(67294),a=n(93967),i=n.n(a),o=n(98423),s=n(98787),l=n(69760),c=n(96159),u=n(45353),d=n(53124),p=n(25446),f=n(10274),h=n(14747),m=n(83262),g=n(83559);let b=e=>{let{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:a,calc:i}=e,o=i(r).sub(n).equal(),s=i(t).sub(n).equal();return{[a]:Object.assign(Object.assign({},(0,h.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:o,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,p.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${a}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${a}-close-icon`]:{marginInlineStart:s,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${a}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${a}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:o}}),[`${a}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},y=e=>{let{lineWidth:t,fontSizeIcon:n,calc:r}=e,a=e.fontSizeSM,i=(0,m.IX)(e,{tagFontSize:a,tagLineHeight:(0,p.bf)(r(e.lineHeightSM).mul(a).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return i},E=e=>({defaultBg:new f.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var v=(0,g.I$)("Tag",e=>{let t=y(e);return b(t)},E),T=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let S=r.forwardRef((e,t)=>{let{prefixCls:n,style:a,className:o,checked:s,onChange:l,onClick:c}=e,u=T(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:p,tag:f}=r.useContext(d.E_),h=p("tag",n),[m,g,b]=v(h),y=i()(h,`${h}-checkable`,{[`${h}-checkable-checked`]:s},null==f?void 0:f.className,o,g,b);return m(r.createElement("span",Object.assign({},u,{ref:t,style:Object.assign(Object.assign({},a),null==f?void 0:f.style),className:y,onClick:e=>{null==l||l(!s),null==c||c(e)}})))});var A=n(98719);let O=e=>(0,A.Z)(e,(t,n)=>{let{textColor:r,lightBorderColor:a,lightColor:i,darkColor:o}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:i,borderColor:a,"&-inverse":{color:e.colorTextLightSolid,background:o,borderColor:o},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var _=(0,g.bk)(["Tag","preset"],e=>{let t=y(e);return O(t)},E);let k=(e,t,n)=>{let r=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var x=(0,g.bk)(["Tag","status"],e=>{let t=y(e);return[k(t,"success","Success"),k(t,"processing","Info"),k(t,"error","Error"),k(t,"warning","Warning")]},E),C=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let w=r.forwardRef((e,t)=>{let{prefixCls:n,className:a,rootClassName:p,style:f,children:h,icon:m,color:g,onClose:b,bordered:y=!0,visible:E}=e,T=C(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:S,direction:A,tag:O}=r.useContext(d.E_),[k,w]=r.useState(!0),I=(0,o.Z)(T,["closeIcon","closable"]);r.useEffect(()=>{void 0!==E&&w(E)},[E]);let N=(0,s.o2)(g),R=(0,s.yT)(g),L=N||R,D=Object.assign(Object.assign({backgroundColor:g&&!L?g:void 0},null==O?void 0:O.style),f),P=S("tag",n),[M,F,j]=v(P),B=i()(P,null==O?void 0:O.className,{[`${P}-${g}`]:L,[`${P}-has-color`]:g&&!L,[`${P}-hidden`]:!k,[`${P}-rtl`]:"rtl"===A,[`${P}-borderless`]:!y},a,p,F,j),U=e=>{e.stopPropagation(),null==b||b(e),e.defaultPrevented||w(!1)},[,$]=(0,l.Z)((0,l.w)(e),(0,l.w)(O),{closable:!1,closeIconRender:e=>{let t=r.createElement("span",{className:`${P}-close-icon`,onClick:U},e);return(0,c.wm)(e,t,e=>({onClick:t=>{var n;null===(n=null==e?void 0:e.onClick)||void 0===n||n.call(e,t),U(t)},className:i()(null==e?void 0:e.className,`${P}-close-icon`)}))}}),G="function"==typeof T.onClick||h&&"a"===h.type,H=m||null,z=H?r.createElement(r.Fragment,null,H,h&&r.createElement("span",null,h)):h,Z=r.createElement("span",Object.assign({},I,{ref:t,className:B,style:D}),z,$,N&&r.createElement(_,{key:"preset",prefixCls:P}),R&&r.createElement(x,{key:"status",prefixCls:P}));return M(G?r.createElement(u.Z,{component:"Tag"},Z):Z)});w.CheckableTag=S;var I=w},62502:function(e,t,n){"use strict";var r=n(15575),a=n(64977),i=n(72869),o=n(32473).Q,s=n(24395).Q;e.exports=function(e,t,n){var a=n?function(e){for(var t,n=e.length,r=-1,a={};++r4&&h.slice(0,4)===o&&s.test(t)&&("-"===t.charAt(4)?m=o+(n=t.slice(5).replace(l,d)).charAt(0).toUpperCase()+n.slice(1):(f=(p=t).slice(4),t=l.test(f)?p:("-"!==(f=f.replace(c,u)).charAt(0)&&(f="-"+f),o+f)),g=a),new g(m,t))};var s=/^data[-\w.:]+$/i,l=/-[a-z]/g,c=/[A-Z]/g;function u(e){return"-"+e.toLowerCase()}function d(e){return e.charAt(1).toUpperCase()}},48055:function(e,t,n){"use strict";var r=n(26230),a=n(13970),i=n(10629),o=n(647),s=n(91305),l=n(22537);e.exports=r([i,a,o,s,l])},91305:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=r.booleanish,o=r.number,s=r.spaceSeparated;e.exports=a({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:i,ariaAutoComplete:null,ariaBusy:i,ariaChecked:i,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:s,ariaCurrent:null,ariaDescribedBy:s,ariaDetails:null,ariaDisabled:i,ariaDropEffect:s,ariaErrorMessage:null,ariaExpanded:i,ariaFlowTo:s,ariaGrabbed:i,ariaHasPopup:null,ariaHidden:i,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s,ariaLevel:o,ariaLive:null,ariaModal:i,ariaMultiLine:i,ariaMultiSelectable:i,ariaOrientation:null,ariaOwns:s,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:i,ariaReadOnly:i,ariaRelevant:null,ariaRequired:i,ariaRoleDescription:s,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:i,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}})},22537:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=n(19348),o=r.boolean,s=r.overloadedBoolean,l=r.booleanish,c=r.number,u=r.spaceSeparated,d=r.commaSeparated;e.exports=a({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:i,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:d,acceptCharset:u,accessKey:u,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:u,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:u,cols:c,colSpan:null,content:null,contentEditable:l,controls:o,controlsList:u,coords:c|d,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:s,draggable:l,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:u,height:c,hidden:o,high:c,href:null,hrefLang:null,htmlFor:u,httpEquiv:u,id:null,imageSizes:null,imageSrcSet:d,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:u,itemRef:u,itemScope:o,itemType:u,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:u,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:u,required:o,reversed:o,rows:c,rowSpan:c,sandbox:u,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:c,sizes:null,slot:null,span:c,spellCheck:l,src:null,srcDoc:null,srcLang:null,srcSet:d,start:c,step:null,style:null,tabIndex:c,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:l,width:c,wrap:null,align:null,aLink:null,archive:u,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:l,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}})},19348:function(e,t,n){"use strict";var r=n(21098);e.exports=function(e,t){return r(e,t.toLowerCase())}},21098:function(e){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},47589:function(e,t,n){"use strict";var r=n(64977),a=n(16038),i=n(78444);e.exports=function(e){var t,n,o=e.space,s=e.mustUseProperty||[],l=e.attributes||{},c=e.properties,u=e.transform,d={},p={};for(t in c)n=new i(t,u(l,t),c[t],o),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),d[t]=n,p[r(t)]=t,p[r(n.attribute)]=t;return new a(d,p,o)}},78444:function(e,t,n){"use strict";var r=n(40313),a=n(61422);e.exports=s,s.prototype=new r,s.prototype.defined=!0;var i=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=i.length;function s(e,t,n,s){var l,c,u,d=-1;for(s&&(this.space=s),r.call(this,e,t);++d=97&&t<=122||t>=65&&t<=90}},7961:function(e,t,n){"use strict";var r=n(46260),a=n(46195);e.exports=function(e){return r(e)||a(e)}},46195:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},79480:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}},45629:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/construct/knowledge",function(){return n(5462)}])},85813:function(e,t,n){"use strict";n.d(t,{r:function(){return _6}});var r,a,i,o,s,l,c,u,d,p,f,h,m,g,b,y,E,v,T,S,A,O,_,k,x,C,w,I,N,R,L,D,P,M,F,j,B,U,$,G,H,z,Z,W,V,Y,q,X,K,Q,J,ee,et,en,er,ea={};n.r(ea),n.d(ea,{area:function(){return cf},bottom:function(){return cT},bottomLeft:function(){return cT},bottomRight:function(){return cT},inside:function(){return cT},left:function(){return cT},outside:function(){return c_},right:function(){return cT},spider:function(){return cN},surround:function(){return cL},top:function(){return cT},topLeft:function(){return cT},topRight:function(){return cT}});var ei={};n.r(ei),n.d(ei,{interpolateBlues:function(){return uD.interpolateBlues},interpolateBrBG:function(){return uD.interpolateBrBG},interpolateBuGn:function(){return uD.interpolateBuGn},interpolateBuPu:function(){return uD.interpolateBuPu},interpolateCividis:function(){return uD.interpolateCividis},interpolateCool:function(){return uD.interpolateCool},interpolateCubehelixDefault:function(){return uD.interpolateCubehelixDefault},interpolateGnBu:function(){return uD.interpolateGnBu},interpolateGreens:function(){return uD.interpolateGreens},interpolateGreys:function(){return uD.interpolateGreys},interpolateInferno:function(){return uD.interpolateInferno},interpolateMagma:function(){return uD.interpolateMagma},interpolateOrRd:function(){return uD.interpolateOrRd},interpolateOranges:function(){return uD.interpolateOranges},interpolatePRGn:function(){return uD.interpolatePRGn},interpolatePiYG:function(){return uD.interpolatePiYG},interpolatePlasma:function(){return uD.interpolatePlasma},interpolatePuBu:function(){return uD.interpolatePuBu},interpolatePuBuGn:function(){return uD.interpolatePuBuGn},interpolatePuOr:function(){return uD.interpolatePuOr},interpolatePuRd:function(){return uD.interpolatePuRd},interpolatePurples:function(){return uD.interpolatePurples},interpolateRainbow:function(){return uD.interpolateRainbow},interpolateRdBu:function(){return uD.interpolateRdBu},interpolateRdGy:function(){return uD.interpolateRdGy},interpolateRdPu:function(){return uD.interpolateRdPu},interpolateRdYlBu:function(){return uD.interpolateRdYlBu},interpolateRdYlGn:function(){return uD.interpolateRdYlGn},interpolateReds:function(){return uD.interpolateReds},interpolateSinebow:function(){return uD.interpolateSinebow},interpolateSpectral:function(){return uD.interpolateSpectral},interpolateTurbo:function(){return uD.interpolateTurbo},interpolateViridis:function(){return uD.interpolateViridis},interpolateWarm:function(){return uD.interpolateWarm},interpolateYlGn:function(){return uD.interpolateYlGn},interpolateYlGnBu:function(){return uD.interpolateYlGnBu},interpolateYlOrBr:function(){return uD.interpolateYlOrBr},interpolateYlOrRd:function(){return uD.interpolateYlOrRd},schemeAccent:function(){return uD.schemeAccent},schemeBlues:function(){return uD.schemeBlues},schemeBrBG:function(){return uD.schemeBrBG},schemeBuGn:function(){return uD.schemeBuGn},schemeBuPu:function(){return uD.schemeBuPu},schemeCategory10:function(){return uD.schemeCategory10},schemeDark2:function(){return uD.schemeDark2},schemeGnBu:function(){return uD.schemeGnBu},schemeGreens:function(){return uD.schemeGreens},schemeGreys:function(){return uD.schemeGreys},schemeOrRd:function(){return uD.schemeOrRd},schemeOranges:function(){return uD.schemeOranges},schemePRGn:function(){return uD.schemePRGn},schemePaired:function(){return uD.schemePaired},schemePastel1:function(){return uD.schemePastel1},schemePastel2:function(){return uD.schemePastel2},schemePiYG:function(){return uD.schemePiYG},schemePuBu:function(){return uD.schemePuBu},schemePuBuGn:function(){return uD.schemePuBuGn},schemePuOr:function(){return uD.schemePuOr},schemePuRd:function(){return uD.schemePuRd},schemePurples:function(){return uD.schemePurples},schemeRdBu:function(){return uD.schemeRdBu},schemeRdGy:function(){return uD.schemeRdGy},schemeRdPu:function(){return uD.schemeRdPu},schemeRdYlBu:function(){return uD.schemeRdYlBu},schemeRdYlGn:function(){return uD.schemeRdYlGn},schemeReds:function(){return uD.schemeReds},schemeSet1:function(){return uD.schemeSet1},schemeSet2:function(){return uD.schemeSet2},schemeSet3:function(){return uD.schemeSet3},schemeSpectral:function(){return uD.schemeSpectral},schemeTableau10:function(){return uD.schemeTableau10},schemeYlGn:function(){return uD.schemeYlGn},schemeYlGnBu:function(){return uD.schemeYlGnBu},schemeYlOrBr:function(){return uD.schemeYlOrBr},schemeYlOrRd:function(){return uD.schemeYlOrRd}});var eo={};n.r(eo);var es={};n.r(es),n.d(es,{geoAlbers:function(){return Ta.Z},geoAlbersUsa:function(){return Tr.Z},geoAzimuthalEqualArea:function(){return Ti.Z},geoAzimuthalEqualAreaRaw:function(){return Ti.l},geoAzimuthalEquidistant:function(){return To.Z},geoAzimuthalEquidistantRaw:function(){return To.N},geoConicConformal:function(){return Ts.Z},geoConicConformalRaw:function(){return Ts.l},geoConicEqualArea:function(){return Tl.Z},geoConicEqualAreaRaw:function(){return Tl.v},geoConicEquidistant:function(){return Tc.Z},geoConicEquidistantRaw:function(){return Tc.o},geoEqualEarth:function(){return Tu.Z},geoEqualEarthRaw:function(){return Tu.i},geoEquirectangular:function(){return Td.Z},geoEquirectangularRaw:function(){return Td.k},geoGnomonic:function(){return Tp.Z},geoGnomonicRaw:function(){return Tp.M},geoIdentity:function(){return Tf.Z},geoMercator:function(){return Tm.ZP},geoMercatorRaw:function(){return Tm.hk},geoNaturalEarth1:function(){return Tg.Z},geoNaturalEarth1Raw:function(){return Tg.K},geoOrthographic:function(){return Tb.Z},geoOrthographicRaw:function(){return Tb.I},geoProjection:function(){return Th.Z},geoProjectionMutator:function(){return Th.r},geoStereographic:function(){return Ty.Z},geoStereographicRaw:function(){return Ty.T},geoTransverseMercator:function(){return TE.Z},geoTransverseMercatorRaw:function(){return TE.F}});var el={};n.r(el),n.d(el,{frequency:function(){return Sh},id:function(){return Sm},name:function(){return Sg},weight:function(){return Sf}});var ec=n(74902),eu=n(1413),ed=n(87462),ep=n(97685),ef=n(45987),eh=n(50888),em=n(96486),eg=n(67294),eb=function(){return(eb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n-1&&!e.return)switch(e.type){case ek:e.return=function e(t,n,r){var a;switch(a=n,45^eD(t,0)?(((a<<2^eD(t,0))<<2^eD(t,1))<<2^eD(t,2))<<2^eD(t,3):0){case 5103:return eA+"print-"+t+t;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 eA+t+t;case 4789:return eS+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return eA+t+eS+t+eT+t+t;case 5936:switch(eD(t,n+11)){case 114:return eA+t+eT+eR(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return eA+t+eT+eR(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return eA+t+eT+eR(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return eA+t+eT+t+t;case 6165:return eA+t+eT+"flex-"+t+t;case 5187:return eA+t+eR(t,/(\w+).+(:[^]+)/,eA+"box-$1$2"+eT+"flex-$1$2")+t;case 5443:return eA+t+eT+"flex-item-"+eR(t,/flex-|-self/g,"")+(eN(t,/flex-|baseline/)?"":eT+"grid-row-"+eR(t,/flex-|-self/g,""))+t;case 4675:return eA+t+eT+"flex-line-pack"+eR(t,/align-content|flex-|-self/g,"")+t;case 5548:return eA+t+eT+eR(t,"shrink","negative")+t;case 5292:return eA+t+eT+eR(t,"basis","preferred-size")+t;case 6060:return eA+"box-"+eR(t,"-grow","")+eA+t+eT+eR(t,"grow","positive")+t;case 4554:return eA+eR(t,/([^-])(transform)/g,"$1"+eA+"$2")+t;case 6187:return eR(eR(eR(t,/(zoom-|grab)/,eA+"$1"),/(image-set)/,eA+"$1"),t,"")+t;case 5495:case 3959:return eR(t,/(image-set\([^]*)/,eA+"$1$`$1");case 4968:return eR(eR(t,/(.+:)(flex-)?(.*)/,eA+"box-pack:$3"+eT+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+eA+t+t;case 4200:if(!eN(t,/flex-|baseline/))return eT+"grid-column-align"+eP(t,n)+t;break;case 2592:case 3360:return eT+eR(t,"template-","")+t;case 4384:case 3616:if(r&&r.some(function(e,t){return n=t,eN(e.props,/grid-\w+-end/)}))return~eL(t+(r=r[n].value),"span",0)?t:eT+eR(t,"-start","")+t+eT+"grid-row-span:"+(~eL(r,"span",0)?eN(r,/\d+/):+eN(r,/\d+/)-+eN(t,/\d+/))+";";return eT+eR(t,"-start","")+t;case 4896:case 4128:return r&&r.some(function(e){return eN(e.props,/grid-\w+-start/)})?t:eT+eR(eR(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return eR(t,/(.+)-inline(.+)/,eA+"$1$2")+t;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(eM(t)-1-n>6)switch(eD(t,n+1)){case 109:if(45!==eD(t,n+4))break;case 102:return eR(t,/(.+:)(.+)-([^]+)/,"$1"+eA+"$2-$3$1"+eS+(108==eD(t,n+3)?"$3":"$2-$3"))+t;case 115:return~eL(t,"stretch",0)?e(eR(t,"stretch","fill-available"),n,r)+t:t}break;case 5152:case 5920:return eR(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(e,n,r,a,i,o,s){return eT+n+":"+r+s+(a?eT+n+"-span:"+(i?o:+o-+r)+s:"")+t});case 4949:if(121===eD(t,n+6))return eR(t,":",":"+eA)+t;break;case 6444:switch(eD(t,45===eD(t,14)?18:11)){case 120:return eR(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+eA+(45===eD(t,14)?"inline-":"")+"box$3$1"+eA+"$2$3$1"+eT+"$2box$3")+t;case 100:return eR(t,":",":"+eT)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return eR(t,"scroll-","scroll-snap-")+t}return t}(e.value,e.length,n);return;case ex:return eQ([eW(e,{value:eR(e.value,"@","@"+eA)})],r);case e_:if(e.length)return(n=e.props).map(function(t){switch(eN(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":eV(eW(e,{props:[eR(t,/:(read-\w+)/,":"+eS+"$1")]})),eV(eW(e,{props:[t]})),eI(e,{props:ej(n,r)});break;case"::placeholder":eV(eW(e,{props:[eR(t,/:(plac\w+)/,":"+eA+"input-$1")]})),eV(eW(e,{props:[eR(t,/:(plac\w+)/,":"+eS+"$1")]})),eV(eW(e,{props:[eR(t,/:(plac\w+)/,eT+"input-$1")]})),eV(eW(e,{props:[t]})),eI(e,{props:ej(n,r)})}return""}).join("")}}function e1(e,t,n,r,a,i,o,s,l,c,u,d){for(var p=a-1,f=0===a?i:[""],h=f.length,m=0,g=0,b=0;m0?f[y]+" "+E:eR(E,/&\f/g,f[y])).trim())&&(l[b++]=v);return eZ(e,t,n,0===a?e_:s,l,c,u,d)}function e2(e,t,n,r,a){return eZ(e,t,n,ek,eP(e,0,r),eP(e,r+1,-1),r,a)}var e3=n(94371),e4=n(83454),e5=void 0!==e4&&void 0!==e4.env&&(e4.env.REACT_APP_SC_ATTR||e4.env.SC_ATTR)||"data-styled",e6="active",e8="data-styled-version",e9="6.1.15",e7="/*!sc*/\n",te="undefined"!=typeof window&&"HTMLElement"in window,tt=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==e4&&void 0!==e4.env&&void 0!==e4.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==e4.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==e4.env.REACT_APP_SC_DISABLE_SPEEDY&&e4.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==e4&&void 0!==e4.env&&void 0!==e4.env.SC_DISABLE_SPEEDY&&""!==e4.env.SC_DISABLE_SPEEDY&&"false"!==e4.env.SC_DISABLE_SPEEDY&&e4.env.SC_DISABLE_SPEEDY),tn=Object.freeze([]),tr=Object.freeze({}),ta=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),ti=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,to=/(^-|-$)/g;function ts(e){return e.replace(ti,"-").replace(to,"")}var tl=/(a)(d)/gi,tc=function(e){return String.fromCharCode(e+(e>25?39:97))};function tu(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=tc(t%52)+n;return(tc(t%52)+n).replace(tl,"$1-$2")}var td,tp=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},tf=function(e){return tp(5381,e)};function th(e){return"string"==typeof e}var tm="function"==typeof Symbol&&Symbol.for,tg=tm?Symbol.for("react.memo"):60115,tb=tm?Symbol.for("react.forward_ref"):60112,ty={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},tE={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},tv={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},tT=((td={})[tb]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},td[tg]=tv,td);function tS(e){return("type"in e&&e.type.$$typeof)===tg?tv:"$$typeof"in e?tT[e.$$typeof]:ty}var tA=Object.defineProperty,tO=Object.getOwnPropertyNames,t_=Object.getOwnPropertySymbols,tk=Object.getOwnPropertyDescriptor,tx=Object.getPrototypeOf,tC=Object.prototype;function tw(e){return"function"==typeof e}function tI(e){return"object"==typeof e&&"styledComponentId"in e}function tN(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function tR(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r0?" Args: ".concat(t.join(", ")):""))}var tM=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,a=r;e>=a;)if((a<<=1)<0)throw tP(16,"".concat(e));this.groupSizes=new Uint32Array(a),this.groupSizes.set(n),this.length=a;for(var i=r;i=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),a=r+n,i=r;i=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(l+="".concat(e,","))}),r+="".concat(o).concat(s,'{content:"').concat(l,'"}').concat(e7)}}})(a);return r}(r)})}return e.registerId=function(e){return tU(e)},e.prototype.rehydrate=function(){!this.server&&te&&tW(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(eb(eb({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){var e,t,n,r;return this.tag||(this.tag=(n=(t=this.options).useCSSOMInjection,r=t.target,e=t.isServer?new tX(r):n?new tY(r):new tq(r),new tM(e)))},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(tU(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(tU(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(tU(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),t0=/&/g,t1=/^\s*\/\/.*$/gm;function t2(e){var t,n,r,a=void 0===e?tr:e,i=a.options,o=void 0===i?tr:i,s=a.plugins,l=void 0===s?tn:s,c=function(e,r,a){return a.startsWith(n)&&a.endsWith(n)&&a.replaceAll(n,"").length>0?".".concat(t):e},u=l.slice();u.push(function(e){e.type===e_&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(t0,n).replace(r,c))}),o.prefix&&u.push(e0),u.push(eJ);var d=function(e,a,i,s){void 0===a&&(a=""),void 0===i&&(i=""),void 0===s&&(s="&"),t=s,n=a,r=RegExp("\\".concat(n,"\\b"),"g");var l,c,d,p,f,h=e.replace(t1,""),m=(f=function e(t,n,r,a,i,o,s,l,c){for(var u,d=0,p=0,f=s,h=0,m=0,g=0,b=1,y=1,E=1,v=0,T="",S=i,A=o,O=a,_=T;y;)switch(g=v,v=eY()){case 40:if(108!=g&&58==eD(_,f-1)){-1!=eL(_+=eR(eK(v),"&","&\f"),"&\f",eC(d?l[d-1]:0))&&(E=-1);break}case 34:case 39:case 91:_+=eK(v);break;case 9:case 10:case 13:case 32:_+=function(e){for(;eH=eq();)if(eH<33)eY();else break;return eX(e)>2||eX(eH)>3?"":" "}(g);break;case 92:_+=function(e,t){for(var n;--t&&eY()&&!(eH<48)&&!(eH>102)&&(!(eH>57)||!(eH<65))&&(!(eH>70)||!(eH<97)););return n=eG+(t<6&&32==eq()&&32==eY()),eP(ez,e,n)}(eG-1,7);continue;case 47:switch(eq()){case 42:case 47:eF(eZ(u=function(e,t){for(;eY();)if(e+eH===57)break;else if(e+eH===84&&47===eq())break;return"/*"+eP(ez,t,eG-1)+"*"+ew(47===e?e:eY())}(eY(),eG),n,r,eO,ew(eH),eP(u,2,-2),0,c),c);break;default:_+="/"}break;case 123*b:l[d++]=eM(_)*E;case 125*b:case 59:case 0:switch(v){case 0:case 125:y=0;case 59+p:-1==E&&(_=eR(_,/\f/g,"")),m>0&&eM(_)-f&&eF(m>32?e2(_+";",a,r,f-1,c):e2(eR(_," ","")+";",a,r,f-2,c),c);break;case 59:_+=";";default:if(eF(O=e1(_,n,r,d,p,i,l,T,S=[],A=[],f,o),o),123===v){if(0===p)e(_,n,O,O,S,o,f,l,A);else switch(99===h&&110===eD(_,3)?100:h){case 100:case 108:case 109:case 115:e(t,O,O,a&&eF(e1(t,O,O,0,0,i,l,T,i,S=[],f,A),A),i,A,f,l,a?S:A);break;default:e(_,O,O,O,[""],A,0,l,A)}}}d=p=m=0,b=E=1,T=_="",f=s;break;case 58:f=1+eM(_),m=g;default:if(b<1){if(123==v)--b;else if(125==v&&0==b++&&125==(eH=eG>0?eD(ez,--eG):0,eU--,10===eH&&(eU=1,eB--),eH))continue}switch(_+=ew(v),v*b){case 38:E=p>0?1:(_+="\f",-1);break;case 44:l[d++]=(eM(_)-1)*E,E=1;break;case 64:45===eq()&&(_+=eK(eY())),h=eq(),p=f=eM(T=_+=function(e){for(;!eX(eq());)eY();return eP(ez,e,eG)}(eG)),v++;break;case 45:45===g&&2==eM(_)&&(b=0)}}return o}("",null,null,null,[""],(p=d=i||a?"".concat(i," ").concat(a," { ").concat(h," }"):h,eB=eU=1,e$=eM(ez=p),eG=0,d=[]),0,[0],d),ez="",f);o.namespace&&(m=function e(t,n){return t.map(function(t){return"rule"===t.type&&(t.value="".concat(n," ").concat(t.value),t.value=t.value.replaceAll(",",",".concat(n," ")),t.props=t.props.map(function(e){return"".concat(n," ").concat(e)})),Array.isArray(t.children)&&"@keyframes"!==t.type&&(t.children=e(t.children,n)),t})}(m,o.namespace));var g=[];return eQ(m,(c=(l=u.concat(function(e){var t;!e.root&&(e=e.return)&&(t=e,g.push(t))})).length,function(e,t,n,r){for(var a="",i=0;i="A"&&r<="Z"?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var nt=function(e){return null==e||!1===e||""===e},nn=function(e){var t=[];for(var n in e){var r=e[n];e.hasOwnProperty(n)&&!nt(r)&&(Array.isArray(r)&&r.isCss||tw(r)?t.push("".concat(ne(n),":"),r,";"):tL(r)?t.push.apply(t,ey(ey(["".concat(n," {")],nn(r),!1),["}"],!1)):t.push("".concat(ne(n),": ").concat(null==r||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||n in e3.Z||n.startsWith("--")?String(r).trim():"".concat(r,"px"),";")))}return t};function nr(e,t,n,r){return nt(e)?[]:tI(e)?[".".concat(e.styledComponentId)]:tw(e)?!tw(e)||e.prototype&&e.prototype.isReactComponent||!t?[e]:nr(e(t),t,n,r):e instanceof t7?n?(e.inject(n,r),[e.getName(r)]):[e]:tL(e)?nn(e):Array.isArray(e)?Array.prototype.concat.apply(tn,e.map(function(e){return nr(e,t,n,r)})):[e.toString()]}function na(e){for(var t=0;t>>0);if(!t.hasNameForId(this.componentId,i)){var o=n(a,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,o)}r=tN(r,i),this.staticRulesId=i}}else{for(var s=tp(this.baseHash,n.hash),l="",c=0;c>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(l,".".concat(p),void 0,this.componentId)),r=tN(r,p)}}return r},e}(),ns=eg.createContext(void 0);ns.Consumer;var nl={};function nc(e,t,n){var r,a,i,o,s=tI(e),l=!th(e),c=t.attrs,u=void 0===c?tn:c,d=t.componentId,p=void 0===d?(r=t.displayName,a=t.parentComponentId,nl[i="string"!=typeof r?"sc":ts(r)]=(nl[i]||0)+1,o="".concat(i,"-").concat(tu(tf(e9+i+nl[i])>>>0)),a?"".concat(a,"-").concat(o):o):d,f=t.displayName,h=void 0===f?th(e)?"styled.".concat(e):"Styled(".concat(e.displayName||e.name||"Component",")"):f,m=t.displayName&&t.componentId?"".concat(ts(t.displayName),"-").concat(t.componentId):t.componentId||p,g=s&&e.attrs?e.attrs.concat(u).filter(Boolean):u,b=t.shouldForwardProp;if(s&&e.shouldForwardProp){var y=e.shouldForwardProp;if(t.shouldForwardProp){var E=t.shouldForwardProp;b=function(e,t){return y(e,t)&&E(e,t)}}else b=y}var v=new no(n,m,s?e.componentStyle:void 0);function T(e,t){return function(e,t,n){var r,a,i=e.attrs,o=e.componentStyle,s=e.defaultProps,l=e.foldedComponentIds,c=e.styledComponentId,u=e.target,d=eg.useContext(ns),p=t8(),f=e.shouldForwardProp||p.shouldForwardProp,h=(void 0===(r=s)&&(r=tr),t.theme!==r.theme&&t.theme||d||r.theme||tr),m=function(e,t,n){for(var r,a=eb(eb({},t),{className:void 0,theme:n}),i=0;i2&&tJ.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=n.nc,a=tR([r&&'nonce="'.concat(r,'"'),"".concat(e5,'="true"'),"".concat(e8,'="').concat(e9,'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(e.sealed)throw tP(2);return e._emitSheetCSS()},this.getStyleElement=function(){if(e.sealed)throw tP(2);var t,r=e.instance.toString();if(!r)return[];var a=((t={})[e5]="",t[e8]=e9,t.dangerouslySetInnerHTML={__html:r},t),i=n.nc;return i&&(a.nonce=i),[eg.createElement("style",eb({},a,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new tJ({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw tP(2);return eg.createElement(t9,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw tP(3)}}();var nh=n(4942),nm=n(73935),ng=n.t(nm,2),nb=function(){return(nb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=18&&(J=ny.createRoot)}catch(e){}function nT(e){var t=ny.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"==typeof t&&(t.usingClientEntryPoint=e)}var nS="__rc_react_root__",nA=new Map;"undefined"!=typeof document&&nA.set("tooltip",document.createElement("div"));var nO=function(e,t){void 0===t&&(t=!1);var n=null;if(t)n=nA.get("tooltip");else if(n=document.createElement("div"),null==e?void 0:e.key){var r=nA.get(e.key);r?n=r:nA.set(e.key,n)}return!function(e,t){if(J){var n;nT(!0),n=t[nS]||J(t),nT(!1),n.render(e),t[nS]=n;return}nv(e,t)}(e,n),n},n_=function(e){if("undefined"==typeof document)return"loading";var t=e.attachShadow({mode:"open"}),n=document.createElement("div"),r=document.createElement("style");r.innerHTML=".loading {\n display: inline-block;\n position: relative;\n width: 80px;\n height: 80px;\n }\n .loading div {\n position: absolute;\n top: 33px;\n width: 13px;\n height: 13px;\n border-radius: 50%;\n background: #ccc;\n animation-timing-function: cubic-bezier(0, 1, 1, 0);\n }\n .loading div:nth-child(1) {\n left: 8px;\n animation: loading1 0.6s infinite;\n }\n .loading div:nth-child(2) {\n left: 8px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(3) {\n left: 32px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(4) {\n left: 56px;\n animation: loading3 0.6s infinite;\n }\n @keyframes loading1 {\n 0% {\n transform: scale(0);\n }\n 100% {\n transform: scale(1);\n }\n }\n @keyframes loading3 {\n 0% {\n transform: scale(1);\n }\n 100% {\n transform: scale(0);\n }\n }\n @keyframes loading2 {\n 0% {\n transform: translate(0, 0);\n }\n 100% {\n transform: translate(24px, 0);\n }\n }\n ",n.classList.add("loading"),n.innerHTML="
",t.appendChild(r),t.appendChild(n)},nk=function(e){var t=e.loadingTemplate,n=e.theme,r=eg.useRef(null);return eg.useEffect(function(){!t&&r.current&&n_(r.current)},[]),eg.createElement("div",{className:"charts-loading-container",style:{position:"absolute",width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",left:0,top:0,zIndex:99,backgroundColor:"dark"===(void 0===n?"light":n)?"rgb(20, 20, 20)":"rgb(255, 255, 255)"}},t||eg.createElement("div",{ref:r}))},nx=(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),nC=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={hasError:!1},t.renderError=function(e){var n=t.props.errorTemplate;return"function"==typeof n?n(e):n||eg.createElement("h5",null,"组件出错了,请核查后重试: ",e.message)},t}return nx(t,e),t.getDerivedStateFromError=function(e){return{hasError:!0,error:e}},t.getDerivedStateFromProps=function(e,t){return t.children!==e.children?{children:e.children,hasError:!1,error:void 0}:null},t.prototype.render=function(){return this.state.hasError?this.renderError(this.state.error):eg.createElement(eg.Fragment,null,this.props.children)},t}(eg.Component),nw=function(e,t,n){if(n||2==arguments.length)for(var r,a=0,i=t.length;a90)return this;this.computeMatrix()}return this._getAxes(),this.type===nR.iM.ORBITING||this.type===nR.iM.EXPLORING?this._getPosition():this.type===nR.iM.TRACKING&&this._getFocalPoint(),this._update(),this}},{key:"pan",value:function(e,t){var n=(0,nR.O4)(e,t,0),r=n$.d9(this.position);return n$.IH(r,r,n$.bA(n$.Ue(),this.right,n[0])),n$.IH(r,r,n$.bA(n$.Ue(),this.up,n[1])),this._setPosition(r),this.triggerUpdate(),this}},{key:"dolly",value:function(e){var t=this.forward,n=n$.d9(this.position),r=e*this.dollyingStep;return r=Math.max(Math.min(this.distance+e*this.dollyingStep,this.maxDistance),this.minDistance)-this.distance,n[0]+=r*t[0],n[1]+=r*t[1],n[2]+=r*t[2],this._setPosition(n),this.type===nR.iM.ORBITING||this.type===nR.iM.EXPLORING?this._getDistance():this.type===nR.iM.TRACKING&&n$.IH(this.focalPoint,n,this.distanceVector),this.triggerUpdate(),this}},{key:"cancelLandmarkAnimation",value:function(){void 0!==this.landmarkAnimationID&&this.canvas.cancelAnimationFrame(this.landmarkAnimationID)}},{key:"createLandmark",value:function(e){var t,n,r,a,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=i.position,s=void 0===o?this.position:o,l=i.focalPoint,c=void 0===l?this.focalPoint:l,u=i.roll,d=i.zoom,p=new nR.GZ.CameraContribution;p.setType(this.type,void 0),p.setPosition(s[0],null!==(t=s[1])&&void 0!==t?t:this.position[1],null!==(n=s[2])&&void 0!==n?n:this.position[2]),p.setFocalPoint(c[0],null!==(r=c[1])&&void 0!==r?r:this.focalPoint[1],null!==(a=c[2])&&void 0!==a?a:this.focalPoint[2]),p.setRoll(null!=u?u:this.roll),p.setZoom(null!=d?d:this.zoom);var f={name:e,matrix:nU.clone(p.getWorldTransform()),right:n$.d9(p.right),up:n$.d9(p.up),forward:n$.d9(p.forward),position:n$.d9(p.getPosition()),focalPoint:n$.d9(p.getFocalPoint()),distanceVector:n$.d9(p.getDistanceVector()),distance:p.getDistance(),dollyingStep:p.getDollyingStep(),azimuth:p.getAzimuth(),elevation:p.getElevation(),roll:p.getRoll(),relAzimuth:p.relAzimuth,relElevation:p.relElevation,relRoll:p.relRoll,zoom:p.getZoom()};return this.landmarks.push(f),f}},{key:"gotoLandmark",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=nj(e,"String")?this.landmarks.find(function(t){return t.name===e}):e;if(r){var a,i=nj(n,"Number")?{duration:n}:n,o=i.easing,s=void 0===o?"linear":o,l=i.duration,c=void 0===l?100:l,u=i.easingFunction,d=i.onfinish,p=void 0===d?void 0:d,f=i.onframe,h=void 0===f?void 0:f;this.cancelLandmarkAnimation();var m=r.position,g=r.focalPoint,b=r.zoom,y=r.roll,E=(void 0===u?void 0:u)||nR.GZ.EasingFunction(s),v=function(){t.setFocalPoint(g),t.setPosition(m),t.setRoll(y),t.setZoom(b),t.computeMatrix(),t.triggerUpdate(),null==p||p()};if(0===c)return v();var T=function(e){void 0===a&&(a=e);var n=e-a;if(n>=c){v();return}var r=E(n/c),i=n$.Ue(),o=n$.Ue(),s=1,l=0;if(n$.t7(i,t.focalPoint,g,r),n$.t7(o,t.position,m,r),l=t.roll*(1-r)+y*r,s=t.zoom*(1-r)+b*r,t.setFocalPoint(i),t.setPosition(o),t.setRoll(l),t.setZoom(s),n$.TK(i,g)+n$.TK(o,m)<=.01&&void 0===b&&void 0===y)return v();t.computeMatrix(),t.triggerUpdate(),nn?n:e},nW={}.toString,nV=function(e){return null==e},nY=function(e){function t(e,n,r,a){var i;return(0,nL.Z)(this,t),(i=(0,nP.Z)(this,t,[e])).currentTime=r,i.timelineTime=a,i.target=n,i.type="finish",i.bubbles=!1,i.currentTarget=n,i.defaultPrevented=!1,i.eventPhase=i.AT_TARGET,i.timeStamp=Date.now(),i.currentTime=r,i.timelineTime=a,i}return(0,nM.Z)(t,e),(0,nD.Z)(t)}(nR.xA),nq=0,nX=(0,nD.Z)(function e(t,n){var r;(0,nL.Z)(this,e),this.currentTimePending=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._playbackRate=1,this._inTimeline=!0,this.effect=t,t.animation=this,this.timeline=n,this.id="".concat(nq++),this._inEffect=!!this.effect.update(0),this._totalDuration=Number(null===(r=this.effect)||void 0===r?void 0:r.getComputedTiming().endTime),this._holdTime=0,this._paused=!1,this.oldPlayState="idle",this.updatePromises()},[{key:"pending",get:function(){return null===this._startTime&&!this._paused&&0!==this.playbackRate||this.currentTimePending}},{key:"playState",get:function(){return this._idle?"idle":this._isFinished?"finished":this._paused?"paused":"running"}},{key:"ready",get:function(){var e=this;return this.readyPromise||(-1===this.timeline.animationsWithPromises.indexOf(this)&&this.timeline.animationsWithPromises.push(this),this.readyPromise=new Promise(function(t,n){e.resolveReadyPromise=function(){t(e)},e.rejectReadyPromise=function(){n(Error())}}),this.pending||this.resolveReadyPromise()),this.readyPromise}},{key:"finished",get:function(){var e=this;return this.finishedPromise||(-1===this.timeline.animationsWithPromises.indexOf(this)&&this.timeline.animationsWithPromises.push(this),this.finishedPromise=new Promise(function(t,n){e.resolveFinishedPromise=function(){t(e)},e.rejectFinishedPromise=function(){n(Error())}}),"finished"===this.playState&&this.resolveFinishedPromise()),this.finishedPromise}},{key:"currentTime",get:function(){return this.updatePromises(),this._idle||this.currentTimePending?null:this._currentTime},set:function(e){if(!isNaN(e=Number(e))){if(this.timeline.restart(),!this._paused&&null!==this._startTime){var t;this._startTime=Number(null===(t=this.timeline)||void 0===t?void 0:t.currentTime)-e/this.playbackRate}this.currentTimePending=!1,this._currentTime!==e&&(this._idle&&(this._idle=!1,this._paused=!0),this.tickCurrentTime(e,!0),this.timeline.applyDirtiedAnimation(this))}}},{key:"startTime",get:function(){return this._startTime},set:function(e){null!==e&&(this.updatePromises(),!isNaN(e=Number(e))&&(this._paused||this._idle||(this._startTime=e,this.tickCurrentTime((Number(this.timeline.currentTime)-this._startTime)*this.playbackRate),this.timeline.applyDirtiedAnimation(this),this.updatePromises())))}},{key:"playbackRate",get:function(){return this._playbackRate},set:function(e){if(e!==this._playbackRate){this.updatePromises();var t=this.currentTime;this._playbackRate=e,this.startTime=null,"paused"!==this.playState&&"idle"!==this.playState&&(this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this)),null!==t&&(this.currentTime=t),this.updatePromises()}}},{key:"_isFinished",get:function(){return!this._idle&&(this._playbackRate>0&&Number(this._currentTime)>=this._totalDuration||this._playbackRate<0&&0>=Number(this._currentTime))}},{key:"totalDuration",get:function(){return this._totalDuration}},{key:"_needsTick",get:function(){return this.pending||"running"===this.playState||!this._finishedFlag}},{key:"updatePromises",value:function(){var e=this.oldPlayState,t=this.pending?"pending":this.playState;return this.readyPromise&&t!==e&&("idle"===t?(this.rejectReadyPromise(),this.readyPromise=void 0):"pending"===e?this.resolveReadyPromise():"pending"===t&&(this.readyPromise=void 0)),this.finishedPromise&&t!==e&&("idle"===t?(this.rejectFinishedPromise(),this.finishedPromise=void 0):"finished"===t?this.resolveFinishedPromise():"finished"===e&&(this.finishedPromise=void 0)),this.oldPlayState=t,this.readyPromise||this.finishedPromise}},{key:"play",value:function(){this.updatePromises(),this._paused=!1,(this._isFinished||this._idle)&&(this.rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this),-1===this.timeline.animations.indexOf(this)&&this.timeline.animations.push(this),this.updatePromises()}},{key:"pause",value:function(){this.updatePromises(),this.currentTime&&(this._holdTime=this.currentTime),this._isFinished||this._paused||this._idle?this._idle&&(this.rewind(),this._idle=!1):this.currentTimePending=!0,this._startTime=null,this._paused=!0,this.updatePromises()}},{key:"finish",value:function(){this.updatePromises(),this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this.currentTimePending=!1,this.timeline.applyDirtiedAnimation(this),this.updatePromises())}},{key:"cancel",value:function(){var e=this;if(this.updatePromises(),this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this.effect.update(null),this.timeline.applyDirtiedAnimation(this),this.updatePromises(),this.oncancel)){var t=new nY(null,this,this.currentTime,null);setTimeout(function(){e.oncancel(t)})}}},{key:"reverse",value:function(){this.updatePromises();var e=this.currentTime;this.playbackRate*=-1,this.play(),null!==e&&(this.currentTime=e),this.updatePromises()}},{key:"updatePlaybackRate",value:function(e){this.playbackRate=e}},{key:"targetAnimations",value:function(){var e;return(null===(e=this.effect)||void 0===e?void 0:e.target).getAnimations()}},{key:"markTarget",value:function(){var e=this.targetAnimations();-1===e.indexOf(this)&&e.push(this)}},{key:"unmarkTarget",value:function(){var e=this.targetAnimations(),t=e.indexOf(this);-1!==t&&e.splice(t,1)}},{key:"tick",value:function(e,t){this._idle||this._paused||(null===this._startTime?t&&(this.startTime=e-this._currentTime/this.playbackRate):this._isFinished||this.tickCurrentTime((e-this._startTime)*this.playbackRate)),t&&(this.currentTimePending=!1,this.fireEvents(e))}},{key:"rewind",value:function(){if(this.playbackRate>=0)this.currentTime=0;else if(this._totalDuration<1/0)this.currentTime=this._totalDuration;else throw Error("Unable to rewind negative playback rate animation with infinite duration")}},{key:"persist",value:function(){throw Error(nR.jf)}},{key:"addEventListener",value:function(e,t,n){throw Error(nR.jf)}},{key:"removeEventListener",value:function(e,t,n){throw Error(nR.jf)}},{key:"dispatchEvent",value:function(e){throw Error(nR.jf)}},{key:"commitStyles",value:function(){throw Error(nR.jf)}},{key:"ensureAlive",value:function(){var e,t;this.playbackRate<0&&0===this.currentTime?this._inEffect=!!(null!==(e=this.effect)&&void 0!==e&&e.update(-1)):this._inEffect=!!(null!==(t=this.effect)&&void 0!==t&&t.update(this.currentTime)),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,this.timeline.animations.push(this))}},{key:"tickCurrentTime",value:function(e,t){e!==this._currentTime&&(this._currentTime=e,this._isFinished&&!t&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this.ensureAlive())}},{key:"fireEvents",value:function(e){var t=this;if(this._isFinished){if(!this._finishedFlag){if(this.onfinish){var n=new nY(null,this,this.currentTime,e);setTimeout(function(){t.onfinish&&t.onfinish(n)})}this._finishedFlag=!0}}else{if(this.onframe&&"running"===this.playState){var r=new nY(null,this,this.currentTime,e);this.onframe(r)}this._finishedFlag=!1}}}]),nK="function"==typeof Float32Array,nQ=function(e,t){return 1-3*t+3*e},nJ=function(e,t){return 3*t-6*e},n0=function(e){return 3*e},n1=function(e,t,n){return((nQ(t,n)*e+nJ(t,n))*e+n0(t))*e},n2=function(e,t,n){return 3*nQ(t,n)*e*e+2*nJ(t,n)*e+n0(t)},n3=function(e,t,n,r,a){var i,o,s=0;do(i=n1(o=t+(n-t)/2,r,a)-e)>0?n=o:t=o;while(Math.abs(i)>1e-7&&++s<10);return o},n4=function(e,t,n,r){for(var a=0;a<4;++a){var i=n2(t,n,r);if(0===i)break;var o=n1(t,n,r)-e;t-=o/i}return t},n5=function(e,t,n,r){if(!(e>=0&&e<=1&&n>=0&&n<=1))throw Error("bezier x values must be in [0, 1] range");if(e===t&&n===r)return function(e){return e};for(var a=nK?new Float32Array(11):Array(11),i=0;i<11;++i)a[i]=n1(.1*i,e,n);var o=function(t){for(var r=0,i=1;10!==i&&a[i]<=t;++i)r+=.1;var o=r+(t-a[--i])/(a[i+1]-a[i])*.1,s=n2(o,e,n);return s>=.001?n4(t,o,e,n):0===s?o:n3(t,r,r+.1,e,n)};return function(e){return 0===e||1===e?e:n1(o(e),t,r)}},n6=function(e){return Math.pow(e,2)},n8=function(e){return Math.pow(e,3)},n9=function(e){return Math.pow(e,4)},n7=function(e){return Math.pow(e,5)},re=function(e){return Math.pow(e,6)},rt=function(e){return 1-Math.cos(e*Math.PI/2)},rn=function(e){return 1-Math.sqrt(1-e*e)},rr=function(e){return e*e*(3*e-2)},ra=function(e){for(var t,n=4;e<((t=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*t-2)/22-e,2)},ri=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,2),r=n[0],a=n[1],i=nZ(Number(void 0===r?1:r),1,10),o=nZ(Number(void 0===a?.5:a),.1,2);return 0===e||1===e?e:-i*Math.pow(2,10*(e-1))*Math.sin((e-1-o/(2*Math.PI)*Math.asin(1/i))*(2*Math.PI)/o)},ro=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,r=(0,nz.Z)(t,4),a=r[0],i=void 0===a?1:a,o=r[1],s=void 0===o?100:o,l=r[2],c=void 0===l?10:l,u=r[3],d=void 0===u?0:u;i=nZ(i,.1,1e3),s=nZ(s,.1,1e3),c=nZ(c,.1,1e3),d=nZ(d,.1,1e3);var p=Math.sqrt(s/i),f=c/(2*Math.sqrt(s*i)),h=f<1?p*Math.sqrt(1-f*f):0,m=f<1?(f*p+-d)/h:-d+p,g=n?n*e/1e3:e;return(g=f<1?Math.exp(-g*f*p)*(1*Math.cos(h*g)+m*Math.sin(h*g)):(1+m*g)*Math.exp(-g*p),0===e||1===e)?e:1-g},rs=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,2),r=n[0],a=void 0===r?10:r;return("start"===n[1]?Math.ceil:Math.floor)(nZ(e,0,1)*a)/a},rl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,4);return n5(n[0],n[1],n[2],n[3])(e)},rc=n5(.42,0,1,1),ru=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return 1-e(1-t,n,r)}},rd=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return t<.5?e(2*t,n,r)/2:1-e(-2*t+2,n,r)/2}},rp=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return t<.5?(1-e(1-2*t,n,r))/2:(e(2*t-1,n,r)+1)/2}},rf={steps:rs,"step-start":function(e){return rs(e,[1,"start"])},"step-end":function(e){return rs(e,[1,"end"])},linear:function(e){return e},"cubic-bezier":rl,ease:function(e){return rl(e,[.25,.1,.25,1])},in:rc,out:ru(rc),"in-out":rd(rc),"out-in":rp(rc),"in-quad":n6,"out-quad":ru(n6),"in-out-quad":rd(n6),"out-in-quad":rp(n6),"in-cubic":n8,"out-cubic":ru(n8),"in-out-cubic":rd(n8),"out-in-cubic":rp(n8),"in-quart":n9,"out-quart":ru(n9),"in-out-quart":rd(n9),"out-in-quart":rp(n9),"in-quint":n7,"out-quint":ru(n7),"in-out-quint":rd(n7),"out-in-quint":rp(n7),"in-expo":re,"out-expo":ru(re),"in-out-expo":rd(re),"out-in-expo":rp(re),"in-sine":rt,"out-sine":ru(rt),"in-out-sine":rd(rt),"out-in-sine":rp(rt),"in-circ":rn,"out-circ":ru(rn),"in-out-circ":rd(rn),"out-in-circ":rp(rn),"in-back":rr,"out-back":ru(rr),"in-out-back":rd(rr),"out-in-back":rp(rr),"in-bounce":ra,"out-bounce":ru(ra),"in-out-bounce":rd(ra),"out-in-bounce":rp(ra),"in-elastic":ri,"out-elastic":ru(ri),"in-out-elastic":rd(ri),"out-in-elastic":rp(ri),spring:ro,"spring-in":ro,"spring-out":ru(ro),"spring-in-out":rd(ro),"spring-out-in":rp(ro)},rh=function(e){var t;return("-"===(t=(t=e).replace(/([A-Z])/g,function(e){return"-".concat(e.toLowerCase())})).charAt(0)?t.substring(1):t).replace(/^ease-/,"").replace(/(\(|\s).+/,"").toLowerCase().trim()},rm=function(e){return e};function rg(e,t){return function(n){if(n>=1)return 1;var r=1/e;return(n+=t*r)-n%r}}var rb="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",ry=new RegExp("cubic-bezier\\(".concat(rb,",").concat(rb,",").concat(rb,",").concat(rb,"\\)")),rE=/steps\(\s*(\d+)\s*\)/,rv=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/;function rT(e){var t=ry.exec(e);if(t)return n5.apply(void 0,(0,nH.Z)(t.slice(1).map(Number)));var n=rE.exec(e);if(n)return rg(Number(n[1]),0);var r=rv.exec(e);return r?rg(Number(r[1]),{start:1,middle:.5,end:0}[r[2]]):rf[rh(e)]||rf.linear}function rS(e){return"offset"!==e&&"easing"!==e&&"composite"!==e&&"computedOffset"!==e}var rA=function(e,t,n){return function(r){var a,i=function e(t,n,r){if("number"==typeof t&&"number"==typeof n)return t*(1-r)+n*r;if("boolean"==typeof t&&"boolean"==typeof n||"string"==typeof t&&"string"==typeof n)return r<.5?t:n;if(Array.isArray(t)&&Array.isArray(n)){for(var a=t.length,i=n.length,o=Math.max(a,i),s=[],l=0;l1)throw Error("Keyframe offsets must be between 0 and 1.");n.computedOffset=a}}else if("composite"===r&&-1===["replace","add","accumulate","auto"].indexOf(a))throw Error("".concat(a," compositing is not supported"));n[r]=a}return void 0===n.offset&&(n.offset=null),void 0===n.easing&&(n.easing=(null==t?void 0:t.easing)||"linear"),void 0===n.composite&&(n.composite="auto"),n}),r=!0,a=-1/0,i=0;i=0&&1>=Number(e.offset)}),r||function(){var e,t,r=n.length;n[r-1].computedOffset=Number(null!==(e=n[r-1].offset)&&void 0!==e?e:1),r>1&&(n[0].computedOffset=Number(null!==(t=n[0].offset)&&void 0!==t?t:0));for(var a=0,i=Number(n[0].computedOffset),o=1;o=e.applyFrom&&t=Math.min(n.delay+e+n.endDelay,r)?2:3}(e,t,n),u=function(e,t,n,r,a){switch(r){case 1:if("backwards"===t||"both"===t)return 0;return null;case 3:return n-a;case 2:if("forwards"===t||"both"===t)return e;return null;case 0:return null}}(e,n.fill,t,c,n.delay);if(null===u)return null;var d="auto"===n.duration?0:n.duration,p=(r=n.iterations,a=n.iterationStart,0===d?1!==c&&(a+=r):a+=u/d,a),f=(i=n.iterationStart,o=n.iterations,0==(s=p===1/0?i%1:p%1)&&2===c&&0!==o&&(0!==u||0===d)&&(s=1),s),h=(l=n.iterations,2===c&&l===1/0?1/0:1===f?Math.floor(p)-1:Math.floor(p)),m=function(e,t,n){var r=e;if("normal"!==e&&"reverse"!==e){var a=t;"alternate-reverse"===e&&(a+=1),r="normal",a!==1/0&&a%2!=0&&(r="reverse")}return"normal"===r?n:1-n}(n.direction,h,f);return n.currentIteration=h,n.progress=m,n.easingFunction(m)}(this.timing.activeDuration,e,this.timing),null!==this.timeFraction)}},{key:"getKeyframes",value:function(){return this.normalizedKeyframes}},{key:"setKeyframes",value:function(e){this.normalizedKeyframes=r_(e)}},{key:"getComputedTiming",value:function(){return this.computedTiming}},{key:"getTiming",value:function(){return this.timing}},{key:"updateTiming",value:function(e){var t=this;Object.keys(e||{}).forEach(function(n){t.timing[n]=e[n]})}}]);function rw(e,t){return Number(e.id)-Number(t.id)}var rI=(0,nD.Z)(function e(t){var n=this;(0,nL.Z)(this,e),this.animations=[],this.ticking=!1,this.timelineTicking=!1,this.hasRestartedThisFrame=!1,this.animationsWithPromises=[],this.inTick=!1,this.pendingEffects=[],this.currentTime=null,this.rafId=0,this.rafCallbacks=[],this.webAnimationsNextTick=function(e){n.currentTime=e,n.discardAnimations(),0===n.animations.length?n.timelineTicking=!1:n.requestAnimationFrame(n.webAnimationsNextTick)},this.processRafCallbacks=function(e){var t=n.rafCallbacks;n.rafCallbacks=[],et.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let rR=(e,t,n)=>[["M",e-n,t],["A",n,n,0,1,0,e+n,t],["A",n,n,0,1,0,e-n,t],["Z"]];rR.style=["fill"];let rL=rR.bind(void 0);rL.style=["stroke","lineWidth"];let rD=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t-n],["L",e+n,t+n],["L",e-n,t+n],["Z"]];rD.style=["fill"];let rP=rD.bind(void 0);rP.style=["fill"];let rM=rD.bind(void 0);rM.style=["stroke","lineWidth"];let rF=(e,t,n)=>{let r=.618*n;return[["M",e-r,t],["L",e,t-n],["L",e+r,t],["L",e,t+n],["Z"]]};rF.style=["fill"];let rj=rF.bind(void 0);rj.style=["stroke","lineWidth"];let rB=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t+r],["L",e,t-r],["L",e+n,t+r],["Z"]]};rB.style=["fill"];let rU=rB.bind(void 0);rU.style=["stroke","lineWidth"];let r$=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t-r],["L",e+n,t-r],["L",e,t+r],["Z"]]};r$.style=["fill"];let rG=r$.bind(void 0);rG.style=["stroke","lineWidth"];let rH=(e,t,n)=>{let r=n/2*Math.sqrt(3);return[["M",e,t-n],["L",e+r,t-n/2],["L",e+r,t+n/2],["L",e,t+n],["L",e-r,t+n/2],["L",e-r,t-n/2],["Z"]]};rH.style=["fill"];let rz=rH.bind(void 0);rz.style=["stroke","lineWidth"];let rZ=(e,t,n)=>{let r=n-1.5;return[["M",e-n,t-r],["L",e+n,t+r],["L",e+n,t-r],["L",e-n,t+r],["Z"]]};rZ.style=["fill"];let rW=rZ.bind(void 0);rW.style=["stroke","lineWidth"];let rV=(e,t,n)=>[["M",e,t+n],["L",e,t-n]];rV.style=["stroke","lineWidth"];let rY=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t+n],["M",e+n,t-n],["L",e-n,t+n]];rY.style=["stroke","lineWidth"];let rq=(e,t,n)=>[["M",e-n/2,t-n],["L",e+n/2,t-n],["M",e,t-n],["L",e,t+n],["M",e-n/2,t+n],["L",e+n/2,t+n]];rq.style=["stroke","lineWidth"];let rX=(e,t,n)=>[["M",e-n,t],["L",e+n,t],["M",e,t-n],["L",e,t+n]];rX.style=["stroke","lineWidth"];let rK=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rK.style=["stroke","lineWidth"];let rQ=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rQ.style=["stroke","lineWidth"];let rJ=rQ.bind(void 0);rJ.style=["stroke","lineWidth"];let r0=(e,t,n)=>[["M",e-n,t],["A",n/2,n/2,0,1,1,e,t],["A",n/2,n/2,0,1,0,e+n,t]];r0.style=["stroke","lineWidth"];let r1=(e,t,n)=>[["M",e-n-1,t-2.5],["L",e,t-2.5],["L",e,t+2.5],["L",e+n+1,t+2.5]];r1.style=["stroke","lineWidth"];let r2=(e,t,n)=>[["M",e-n-1,t+2.5],["L",e,t+2.5],["L",e,t-2.5],["L",e+n+1,t-2.5]];r2.style=["stroke","lineWidth"];let r3=(e,t,n)=>[["M",e-(n+1),t+2.5],["L",e-n/2,t+2.5],["L",e-n/2,t-2.5],["L",e+n/2,t-2.5],["L",e+n/2,t+2.5],["L",e+n+1,t+2.5]];r3.style=["stroke","lineWidth"];let r4=(e,t,n)=>[["M",e-5,t+2.5],["L",e-5,t],["L",e,t],["L",e,t-3],["L",e,t+3],["L",e+6.5,t+3]];r4.style=["stroke","lineWidth"];let r5=new Map([["bowtie",rZ],["cross",rY],["dash",rJ],["diamond",rF],["dot",rQ],["hexagon",rH],["hollowBowtie",rW],["hollowDiamond",rj],["hollowHexagon",rz],["hollowPoint",rL],["hollowSquare",rM],["hollowTriangle",rU],["hollowTriangleDown",rG],["hv",r1],["hvh",r3],["hyphen",rK],["line",rV],["plus",rX],["point",rR],["rect",rP],["smooth",r0],["square",rD],["tick",rq],["triangleDown",r$],["triangle",rB],["vh",r2],["vhv",r4]]),r6={};function r8(e,t){if(e.startsWith("symbol.")){var n;n=e.split(".").pop(),r5.set(n,t)}else Object.assign(r6,{[e]:t})}var r9=n(88998);/*! * @antv/g-plugin-canvas-path-generator * @description A G plugin of path generator with Canvas2D API * @version 2.1.16 @@ -58,4 +58,4 @@ * @author Lea Verou * @namespace * @public - */var r=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},a={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=u.reach));S+=T.value.length,T=T.next){var A,O=T.value;if(n.length>t.length)return;if(!(O instanceof i)){var _=1;if(b){if(!(A=o(v,S,t,g))||A.index>=t.length)break;var k=A.index,x=A.index+A[0].length,C=S;for(C+=T.value.length;k>=C;)C+=(T=T.next).value.length;if(C-=T.value.length,S=C,T.value instanceof i)continue;for(var w=T;w!==n.tail&&(Cu.reach&&(u.reach=L);var D=T.prev;N&&(D=l(n,D,N),S+=N.length),function(e,t,n){for(var r=t.next,a=0;a1){var M={cause:d+","+f,reach:L};e(t,n,r,T.prev,S,M),u&&M.reach>u.reach&&(u.reach=M.reach)}}}}}}(e,c,t,c.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(c)},hooks:{all:{},add:function(e,t){var n=a.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=a.hooks.all[e];if(n&&n.length)for(var r,i=0;r=n[i++];)r(t)}},Token:i};function i(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var i=a[1].length;a.index+=i,a[0]=a[0].slice(i)}return a}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}if(e.Prism=a,i.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach(function(t){r+=e(t,n)}),r}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},o=t.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(i.classes,o):i.classes.push(o)),a.hooks.run("wrap",i);var s="";for(var l in i.attributes)s+=" "+l+'="'+(i.attributes[l]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+s+">"+i.content+""},!e.document)return e.addEventListener&&(a.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),r=n.language,i=n.code,o=n.immediateClose;e.postMessage(a.highlight(i,a.languages[r],r)),o&&e.close()},!1)),a;var c=a.util.currentScript();function u(){a.manual||a.highlightAll()}if(c&&(a.filename=c.src,c.hasAttribute("data-manual")&&(a.manual=!0)),!a.manual){var d=document.readyState;"loading"===d||"interactive"===d&&c&&c.defer?document.addEventListener("DOMContentLoaded",u):window.requestAnimationFrame?window.requestAnimationFrame(u):window.setTimeout(u,16)}return a}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=r),void 0!==n.g&&(n.g.Prism=r)},96774:function(e){e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),o=Object.keys(t);if(i.length!==o.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;le.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}},88998:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(95778);function a(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},13643:function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,{Z:function(){return r}})},98568:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)}n.d(t,{Z:function(){return a}})},99660:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(88998);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var l=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(l&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;C(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:I(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),b}},t}},16200:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59312);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw a}}return s}}(e,t)||(0,r.Z)(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},27567:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(13643);function a(){return(a="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var a=function(e,t){for(;!({}).hasOwnProperty.call(e,t)&&null!==(e=(0,r.Z)(e)););return e}(e,t);if(a){var i=Object.getOwnPropertyDescriptor(a,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}}).apply(null,arguments)}function i(e,t,n,i){var o=a((0,r.Z)(1&i?e.prototype:e),t,n);return 2&i&&"function"==typeof o?function(e){return o.apply(n,e)}:o}},25585:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(59630),a=n(59312);function i(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,a.Z)(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},95778:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(2846);function a(e){var t=function(e,t){if("object"!=(0,r.Z)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=(0,r.Z)(a))return a;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.Z)(t)?t:t+""}},2846:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{Z:function(){return r}})},59312:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59630);function a(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},21129:function(e,t,n){"use strict";var r=n(4503);t.Z=r},86676:function(e,t,n){"use strict";n.d(t,{r:function(){return a}});let r=/[#.]/g;function a(e,t){let n,a;let i=e||"",o={},s=0;for(;so&&(o=i):i=1,a=r+t.length,r=n.indexOf(t,a);return o}n.d(t,{J:function(){return r}})},24557:function(e,t,n){"use strict";n.d(t,{Z:function(){return ed}});var r={};n.r(r),n.d(r,{boolean:function(){return c},booleanish:function(){return u},commaOrSpaceSeparated:function(){return m},commaSeparated:function(){return h},number:function(){return p},overloadedBoolean:function(){return d},spaceSeparated:function(){return f}});class a{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function i(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new a(n,r,t)}function o(e){return e.toLowerCase()}a.prototype.normal={},a.prototype.property={},a.prototype.space=void 0;class s{constructor(e,t){this.attribute=t,this.property=e}}s.prototype.attribute="",s.prototype.booleanish=!1,s.prototype.boolean=!1,s.prototype.commaOrSpaceSeparated=!1,s.prototype.commaSeparated=!1,s.prototype.defined=!1,s.prototype.mustUseProperty=!1,s.prototype.number=!1,s.prototype.overloadedBoolean=!1,s.prototype.property="",s.prototype.spaceSeparated=!1,s.prototype.space=void 0;let l=0,c=g(),u=g(),d=g(),p=g(),f=g(),h=g(),m=g();function g(){return 2**++l}let b=Object.keys(r);class y extends s{constructor(e,t,n,a){var i,o;let s=-1;if(super(e,t),a&&(this.space=a),"number"==typeof n)for(;++s"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function T(e,t){return t in e?e[t]:t}function S(e,t){return T(e,t.toLowerCase())}let A=E({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:h,acceptCharset:f,accessKey:f,action:null,allow:null,allowFullScreen:c,allowPaymentRequest:c,allowUserMedia:c,alt:null,as:null,async:c,autoCapitalize:null,autoComplete:f,autoFocus:c,autoPlay:c,blocking:f,capture:null,charSet:null,checked:c,cite:null,className:f,cols:p,colSpan:null,content:null,contentEditable:u,controls:c,controlsList:f,coords:p|h,crossOrigin:null,data:null,dateTime:null,decoding:null,default:c,defer:c,dir:null,dirName:null,disabled:c,download:d,draggable:u,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:c,formTarget:null,headers:f,height:p,hidden:c,high:p,href:null,hrefLang:null,htmlFor:f,httpEquiv:f,id:null,imageSizes:null,imageSrcSet:null,inert:c,inputMode:null,integrity:null,is:null,isMap:c,itemId:null,itemProp:f,itemRef:f,itemScope:c,itemType:f,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:c,low:p,manifest:null,max:null,maxLength:p,media:null,method:null,min:null,minLength:p,multiple:c,muted:c,name:null,nonce:null,noModule:c,noValidate:c,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored: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,onScrollEnd: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:c,optimum:p,pattern:null,ping:f,placeholder:null,playsInline:c,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:c,referrerPolicy:null,rel:f,required:c,reversed:c,rows:p,rowSpan:p,sandbox:f,scope:null,scoped:c,seamless:c,selected:c,shadowRootClonable:c,shadowRootDelegatesFocus:c,shadowRootMode:null,shape:null,size:p,sizes:null,slot:null,span:p,spellCheck:u,src:null,srcDoc:null,srcLang:null,srcSet:null,start:p,step:null,style:null,tabIndex:p,target:null,title:null,translate:null,type:null,typeMustMatch:c,useMap:null,value:u,width:p,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:f,axis:null,background:null,bgColor:null,border:p,borderColor:null,bottomMargin:p,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:c,declare:c,event:null,face:null,frame:null,frameBorder:null,hSpace:p,leftMargin:p,link:null,longDesc:null,lowSrc:null,marginHeight:p,marginWidth:p,noResize:c,noHref:c,noShade:c,noWrap:c,object:null,profile:null,prompt:null,rev:null,rightMargin:p,rules:null,scheme:null,scrolling:u,standby:null,summary:null,text:null,topMargin:p,valueType:null,version:null,vAlign:null,vLink:null,vSpace:p,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:c,disableRemotePlayback:c,prefix:null,property:null,results:p,security:null,unselectable:null},space:"html",transform:S}),O=E({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:m,accentHeight:p,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:p,amplitude:p,arabicForm:null,ascent:p,attributeName:null,attributeType:null,azimuth:p,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:p,by:null,calcMode:null,capHeight:p,className:f,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:p,diffuseConstant:p,direction:null,display:null,dur:null,divisor:p,dominantBaseline:null,download:c,dx:null,dy:null,edgeMode:null,editable:null,elevation:p,enableBackground:null,end:null,event:null,exponent:p,externalResourcesRequired:null,fill:null,fillOpacity:p,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:h,g2:h,glyphName:h,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:p,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:p,horizOriginX:p,horizOriginY:p,id:null,ideographic:p,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:p,k:p,k1:p,k2:p,k3:p,k4:p,kernelMatrix:m,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:p,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:p,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose: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,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:p,overlineThickness:p,paintOrder:null,panose1:null,path:null,pathLength:p,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:f,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:p,pointsAtY:p,pointsAtZ:p,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:m,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:m,rev:m,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:m,requiredFeatures:m,requiredFonts:m,requiredFormats:m,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:p,specularExponent:p,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:p,strikethroughThickness:p,string:null,stroke:null,strokeDashArray:m,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:p,strokeOpacity:p,strokeWidth:null,style:null,surfaceScale:p,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:m,tabIndex:p,tableValues:null,target:null,targetX:p,targetY:p,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:m,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:p,underlineThickness:p,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:p,values:null,vAlphabetic:p,vMathematical:p,vectorEffect:null,vHanging:p,vIdeographic:p,version:null,vertAdvY:p,vertOriginX:p,vertOriginY:p,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:p,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:T}),_=E({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),k=E({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:S}),x=E({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),C=i([v,A,_,k,x],"html"),w=i([v,O,_,k,x],"svg");var I=n(25668),N=n(86676);let R=/[A-Z]/g,L=/-[a-z]/g,D=/^data[-\w.:]+$/i;function P(e){return"-"+e.toLowerCase()}function M(e){return e.charAt(1).toUpperCase()}var F=n(50342);function j(e,t,n){let r=n?function(e){let t=new Map;for(let n of e)t.set(n.toLowerCase(),n);return t}(n):void 0;return function(n,a,...i){let l;if(null==n)l={type:"root",children:[]},i.unshift(a);else{l=(0,N.r)(n,t);let c=l.tagName.toLowerCase(),u=r?r.get(c):void 0;if(l.tagName=u||c,function(e){if(null===e||"object"!=typeof e||Array.isArray(e))return!0;if("string"!=typeof e.type)return!1;let t=Object.keys(e);for(let n of t){let t=e[n];if(t&&"object"==typeof t){if(!Array.isArray(t))return!0;for(let e of t)if("number"!=typeof e&&"string"!=typeof e)return!0}}return!!("children"in e&&Array.isArray(e.children))}(a))i.unshift(a);else for(let[t,n]of Object.entries(a))!function(e,t,n,r){let a;let i=function(e,t){let n=o(t),r=t,a=s;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&D.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(L,M);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!L.test(e)){let n=e.replace(R,P);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}a=y}return new a(r,t)}(e,n);if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;a=r}else a="boolean"==typeof r?r:"string"==typeof r?i.spaceSeparated?(0,F.Q)(r):i.commaSeparated?(0,I.Q)(r):i.commaOrSpaceSeparated?(0,F.Q)((0,I.Q)(r).join(" ")):B(i,i.property,r):Array.isArray(r)?[...r]:"style"===i.property?function(e){let t=[];for(let[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}(r):String(r);if(Array.isArray(a)){let e=[];for(let t of a)e.push(B(i,i.property,t));a=e}"className"===i.property&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}(e,l.properties,t,n)}for(let e of i)!function e(t,n){if(null==n);else if("number"==typeof n||"string"==typeof n)t.push({type:"text",value:String(n)});else if(Array.isArray(n))for(let r of n)e(t,r);else if("object"==typeof n&&"type"in n)"root"===n.type?e(t,n.children):t.push(n);else throw Error("Expected node, nodes, or string, got `"+n+"`")}(l.children,e);return"element"===l.type&&"template"===l.tagName&&(l.content={type:"root",children:l.children},l.children=[]),l}}function B(e,t,n){if("string"==typeof n){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(""===n||o(n)===o(t)))return!0}return n}let U=j(C,"div"),$=j(w,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]);var G=n(49911);function H(e,t){let n=function(e,t){switch(e.nodeType){case 1:return function(e,t){let n=e.namespaceURI,r=n===G.t.svg?$:U,a=n===G.t.html?e.tagName.toLowerCase():e.tagName,i=n===G.t.html&&"template"===a?e.content:e,o=e.getAttributeNames(),s={},l=-1;for(;++ln&&(n=e):e&&(void 0!==n&&n>-1&&l.push("\n".repeat(n)||" "),n=-1,l.push(e))}return l.join("")}(d,{whitespace:"pre"});try{a=es.ZP.renderToString(p,{...t,displayMode:c,throwOnError:!0})}catch(o){let i=o.name.toLowerCase();n.message("Could not render math with KaTeX",{ancestors:[...r,e],cause:o,place:e.position,ruleId:i,source:"rehype-katex"});try{a=es.ZP.renderToString(p,{...t,displayMode:c,strict:"ignore",throwOnError:!1})}catch{a=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(o)},children:[{type:"text",value:p}]}]}}if("string"==typeof a){let e=function(e,t){let n=t?.fragment?function(e){let t=document.createElement("template");return t.innerHTML=e,t.content}(e):Z.parseFromString(e,"text/html");return H(n,{})||{type:"root",children:[]}}(a,{fragment:!0});a=e.children}let f=u.children.indexOf(d);return u.children.splice(f,1,...a),el.AM})}}},12384:function(e,t,n){"use strict";n.d(t,{Z:function(){return tJ}});var r,a,i,o,s,l,c,u,d,p,f,h,m,g,b,y,E,v,T,S,A,O,_=n(52835),k=n(24345),x=n(91634),C=n(25668),w=n(86676),I=n(26103),N=n(28051),R=n(50342);let L=new Set(["button","menu","reset","submit"]),D={}.hasOwnProperty;function P(e,t,n){let r=n&&function(e){let t={},n=-1;for(;++n1?n[e.line-2]:0)+e.column-1;if(r-1&&e<=t.length){let r=0;for(;;){let a=n[r];if(void 0===a){let e=B(t,n[r-1]);a=-1===e?t.length+1:e+1,n[r]=a}if(a>e)return{line:r+1,column:e-(r>0?n[r-1]:0)+1,offset:e};r++}}}}}(t),a=r.toPoint(0),i=r.toPoint(t.length);(0,k.ok)(a,"expected `start`"),(0,k.ok)(i,"expected `end`"),n.position={start:a,end:i}}return n}case"#documentType":return Z(e,t,n={type:"doctype"}),n;case"#text":return n={type:"text",value:t.value},Z(e,t,n),n;default:return function(e,t){let n=e.schema;e.schema=t.namespaceURI===U.t.svg?x.YP:x.dy;let r=-1,a={};for(;++r=55296&&e<=57343}function ei(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function eo(e){return e>=64976&&e<=65007||en.has(e)}(a=m=m||(m={})).controlCharacterInInputStream="control-character-in-input-stream",a.noncharacterInInputStream="noncharacter-in-input-stream",a.surrogateInInputStream="surrogate-in-input-stream",a.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",a.endTagWithAttributes="end-tag-with-attributes",a.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",a.unexpectedSolidusInTag="unexpected-solidus-in-tag",a.unexpectedNullCharacter="unexpected-null-character",a.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",a.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",a.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",a.missingEndTagName="missing-end-tag-name",a.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",a.unknownNamedCharacterReference="unknown-named-character-reference",a.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",a.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",a.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",a.eofBeforeTagName="eof-before-tag-name",a.eofInTag="eof-in-tag",a.missingAttributeValue="missing-attribute-value",a.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",a.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",a.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",a.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",a.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",a.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",a.missingDoctypePublicIdentifier="missing-doctype-public-identifier",a.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",a.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",a.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",a.cdataInHtmlContent="cdata-in-html-content",a.incorrectlyOpenedComment="incorrectly-opened-comment",a.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",a.eofInDoctype="eof-in-doctype",a.nestedComment="nested-comment",a.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",a.eofInComment="eof-in-comment",a.incorrectlyClosedComment="incorrectly-closed-comment",a.eofInCdata="eof-in-cdata",a.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",a.nullCharacterReference="null-character-reference",a.surrogateCharacterReference="surrogate-character-reference",a.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",a.controlCharacterReference="control-character-reference",a.noncharacterCharacterReference="noncharacter-character-reference",a.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",a.missingDoctypeName="missing-doctype-name",a.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",a.duplicateAttribute="duplicate-attribute",a.nonConformingDoctype="non-conforming-doctype",a.missingDoctype="missing-doctype",a.misplacedDoctype="misplaced-doctype",a.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",a.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",a.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",a.openElementsLeftAfterEof="open-elements-left-after-eof",a.abandonedHeadElementChild="abandoned-head-element-child",a.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",a.nestedNoscriptInHead="nested-noscript-in-head",a.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text";class es{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e){let{line:t,col:n,offset:r}=this;return{code:e,startLine:t,endLine:t,startCol:n,endCol:n,startOffset:r,endOffset:r}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let t=this.html.charCodeAt(this.pos+1);if(t>=56320&&t<=57343)return this.pos++,this._addGap(),(e-55296)*1024+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,h.EOF;return this._err(m.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,h.EOF;let n=this.html.charCodeAt(t);return n===h.CARRIAGE_RETURN?h.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,h.EOF;let e=this.html.charCodeAt(this.pos);if(e===h.CARRIAGE_RETURN)return this.isEol=!0,this.skipNextNewLine=!0,h.LINE_FEED;if(e===h.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine))return this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance();this.skipNextNewLine=!1,ea(e)&&(e=this._processSurrogate(e));let t=null===this.handler.onParseError||e>31&&e<127||e===h.LINE_FEED||e===h.CARRIAGE_RETURN||e>159&&e<64976;return t||this._checkForProblematicCharacters(e),e}_checkForProblematicCharacters(e){ei(e)?this._err(m.controlCharacterInInputStream):eo(e)&&this._err(m.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}(i=g=g||(g={}))[i.CHARACTER=0]="CHARACTER",i[i.NULL_CHARACTER=1]="NULL_CHARACTER",i[i.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",i[i.START_TAG=3]="START_TAG",i[i.END_TAG=4]="END_TAG",i[i.COMMENT=5]="COMMENT",i[i.DOCTYPE=6]="DOCTYPE",i[i.EOF=7]="EOF",i[i.HIBERNATION=8]="HIBERNATION";var ec=n(60411);(o=b=b||(b={})).HTML="http://www.w3.org/1999/xhtml",o.MATHML="http://www.w3.org/1998/Math/MathML",o.SVG="http://www.w3.org/2000/svg",o.XLINK="http://www.w3.org/1999/xlink",o.XML="http://www.w3.org/XML/1998/namespace",o.XMLNS="http://www.w3.org/2000/xmlns/",(s=y=y||(y={})).TYPE="type",s.ACTION="action",s.ENCODING="encoding",s.PROMPT="prompt",s.NAME="name",s.COLOR="color",s.FACE="face",s.SIZE="size",(l=E=E||(E={})).NO_QUIRKS="no-quirks",l.QUIRKS="quirks",l.LIMITED_QUIRKS="limited-quirks",(c=v=v||(v={})).A="a",c.ADDRESS="address",c.ANNOTATION_XML="annotation-xml",c.APPLET="applet",c.AREA="area",c.ARTICLE="article",c.ASIDE="aside",c.B="b",c.BASE="base",c.BASEFONT="basefont",c.BGSOUND="bgsound",c.BIG="big",c.BLOCKQUOTE="blockquote",c.BODY="body",c.BR="br",c.BUTTON="button",c.CAPTION="caption",c.CENTER="center",c.CODE="code",c.COL="col",c.COLGROUP="colgroup",c.DD="dd",c.DESC="desc",c.DETAILS="details",c.DIALOG="dialog",c.DIR="dir",c.DIV="div",c.DL="dl",c.DT="dt",c.EM="em",c.EMBED="embed",c.FIELDSET="fieldset",c.FIGCAPTION="figcaption",c.FIGURE="figure",c.FONT="font",c.FOOTER="footer",c.FOREIGN_OBJECT="foreignObject",c.FORM="form",c.FRAME="frame",c.FRAMESET="frameset",c.H1="h1",c.H2="h2",c.H3="h3",c.H4="h4",c.H5="h5",c.H6="h6",c.HEAD="head",c.HEADER="header",c.HGROUP="hgroup",c.HR="hr",c.HTML="html",c.I="i",c.IMG="img",c.IMAGE="image",c.INPUT="input",c.IFRAME="iframe",c.KEYGEN="keygen",c.LABEL="label",c.LI="li",c.LINK="link",c.LISTING="listing",c.MAIN="main",c.MALIGNMARK="malignmark",c.MARQUEE="marquee",c.MATH="math",c.MENU="menu",c.META="meta",c.MGLYPH="mglyph",c.MI="mi",c.MO="mo",c.MN="mn",c.MS="ms",c.MTEXT="mtext",c.NAV="nav",c.NOBR="nobr",c.NOFRAMES="noframes",c.NOEMBED="noembed",c.NOSCRIPT="noscript",c.OBJECT="object",c.OL="ol",c.OPTGROUP="optgroup",c.OPTION="option",c.P="p",c.PARAM="param",c.PLAINTEXT="plaintext",c.PRE="pre",c.RB="rb",c.RP="rp",c.RT="rt",c.RTC="rtc",c.RUBY="ruby",c.S="s",c.SCRIPT="script",c.SECTION="section",c.SELECT="select",c.SOURCE="source",c.SMALL="small",c.SPAN="span",c.STRIKE="strike",c.STRONG="strong",c.STYLE="style",c.SUB="sub",c.SUMMARY="summary",c.SUP="sup",c.TABLE="table",c.TBODY="tbody",c.TEMPLATE="template",c.TEXTAREA="textarea",c.TFOOT="tfoot",c.TD="td",c.TH="th",c.THEAD="thead",c.TITLE="title",c.TR="tr",c.TRACK="track",c.TT="tt",c.U="u",c.UL="ul",c.SVG="svg",c.VAR="var",c.WBR="wbr",c.XMP="xmp",(u=T=T||(T={}))[u.UNKNOWN=0]="UNKNOWN",u[u.A=1]="A",u[u.ADDRESS=2]="ADDRESS",u[u.ANNOTATION_XML=3]="ANNOTATION_XML",u[u.APPLET=4]="APPLET",u[u.AREA=5]="AREA",u[u.ARTICLE=6]="ARTICLE",u[u.ASIDE=7]="ASIDE",u[u.B=8]="B",u[u.BASE=9]="BASE",u[u.BASEFONT=10]="BASEFONT",u[u.BGSOUND=11]="BGSOUND",u[u.BIG=12]="BIG",u[u.BLOCKQUOTE=13]="BLOCKQUOTE",u[u.BODY=14]="BODY",u[u.BR=15]="BR",u[u.BUTTON=16]="BUTTON",u[u.CAPTION=17]="CAPTION",u[u.CENTER=18]="CENTER",u[u.CODE=19]="CODE",u[u.COL=20]="COL",u[u.COLGROUP=21]="COLGROUP",u[u.DD=22]="DD",u[u.DESC=23]="DESC",u[u.DETAILS=24]="DETAILS",u[u.DIALOG=25]="DIALOG",u[u.DIR=26]="DIR",u[u.DIV=27]="DIV",u[u.DL=28]="DL",u[u.DT=29]="DT",u[u.EM=30]="EM",u[u.EMBED=31]="EMBED",u[u.FIELDSET=32]="FIELDSET",u[u.FIGCAPTION=33]="FIGCAPTION",u[u.FIGURE=34]="FIGURE",u[u.FONT=35]="FONT",u[u.FOOTER=36]="FOOTER",u[u.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",u[u.FORM=38]="FORM",u[u.FRAME=39]="FRAME",u[u.FRAMESET=40]="FRAMESET",u[u.H1=41]="H1",u[u.H2=42]="H2",u[u.H3=43]="H3",u[u.H4=44]="H4",u[u.H5=45]="H5",u[u.H6=46]="H6",u[u.HEAD=47]="HEAD",u[u.HEADER=48]="HEADER",u[u.HGROUP=49]="HGROUP",u[u.HR=50]="HR",u[u.HTML=51]="HTML",u[u.I=52]="I",u[u.IMG=53]="IMG",u[u.IMAGE=54]="IMAGE",u[u.INPUT=55]="INPUT",u[u.IFRAME=56]="IFRAME",u[u.KEYGEN=57]="KEYGEN",u[u.LABEL=58]="LABEL",u[u.LI=59]="LI",u[u.LINK=60]="LINK",u[u.LISTING=61]="LISTING",u[u.MAIN=62]="MAIN",u[u.MALIGNMARK=63]="MALIGNMARK",u[u.MARQUEE=64]="MARQUEE",u[u.MATH=65]="MATH",u[u.MENU=66]="MENU",u[u.META=67]="META",u[u.MGLYPH=68]="MGLYPH",u[u.MI=69]="MI",u[u.MO=70]="MO",u[u.MN=71]="MN",u[u.MS=72]="MS",u[u.MTEXT=73]="MTEXT",u[u.NAV=74]="NAV",u[u.NOBR=75]="NOBR",u[u.NOFRAMES=76]="NOFRAMES",u[u.NOEMBED=77]="NOEMBED",u[u.NOSCRIPT=78]="NOSCRIPT",u[u.OBJECT=79]="OBJECT",u[u.OL=80]="OL",u[u.OPTGROUP=81]="OPTGROUP",u[u.OPTION=82]="OPTION",u[u.P=83]="P",u[u.PARAM=84]="PARAM",u[u.PLAINTEXT=85]="PLAINTEXT",u[u.PRE=86]="PRE",u[u.RB=87]="RB",u[u.RP=88]="RP",u[u.RT=89]="RT",u[u.RTC=90]="RTC",u[u.RUBY=91]="RUBY",u[u.S=92]="S",u[u.SCRIPT=93]="SCRIPT",u[u.SECTION=94]="SECTION",u[u.SELECT=95]="SELECT",u[u.SOURCE=96]="SOURCE",u[u.SMALL=97]="SMALL",u[u.SPAN=98]="SPAN",u[u.STRIKE=99]="STRIKE",u[u.STRONG=100]="STRONG",u[u.STYLE=101]="STYLE",u[u.SUB=102]="SUB",u[u.SUMMARY=103]="SUMMARY",u[u.SUP=104]="SUP",u[u.TABLE=105]="TABLE",u[u.TBODY=106]="TBODY",u[u.TEMPLATE=107]="TEMPLATE",u[u.TEXTAREA=108]="TEXTAREA",u[u.TFOOT=109]="TFOOT",u[u.TD=110]="TD",u[u.TH=111]="TH",u[u.THEAD=112]="THEAD",u[u.TITLE=113]="TITLE",u[u.TR=114]="TR",u[u.TRACK=115]="TRACK",u[u.TT=116]="TT",u[u.U=117]="U",u[u.UL=118]="UL",u[u.SVG=119]="SVG",u[u.VAR=120]="VAR",u[u.WBR=121]="WBR",u[u.XMP=122]="XMP";let eu=new Map([[v.A,T.A],[v.ADDRESS,T.ADDRESS],[v.ANNOTATION_XML,T.ANNOTATION_XML],[v.APPLET,T.APPLET],[v.AREA,T.AREA],[v.ARTICLE,T.ARTICLE],[v.ASIDE,T.ASIDE],[v.B,T.B],[v.BASE,T.BASE],[v.BASEFONT,T.BASEFONT],[v.BGSOUND,T.BGSOUND],[v.BIG,T.BIG],[v.BLOCKQUOTE,T.BLOCKQUOTE],[v.BODY,T.BODY],[v.BR,T.BR],[v.BUTTON,T.BUTTON],[v.CAPTION,T.CAPTION],[v.CENTER,T.CENTER],[v.CODE,T.CODE],[v.COL,T.COL],[v.COLGROUP,T.COLGROUP],[v.DD,T.DD],[v.DESC,T.DESC],[v.DETAILS,T.DETAILS],[v.DIALOG,T.DIALOG],[v.DIR,T.DIR],[v.DIV,T.DIV],[v.DL,T.DL],[v.DT,T.DT],[v.EM,T.EM],[v.EMBED,T.EMBED],[v.FIELDSET,T.FIELDSET],[v.FIGCAPTION,T.FIGCAPTION],[v.FIGURE,T.FIGURE],[v.FONT,T.FONT],[v.FOOTER,T.FOOTER],[v.FOREIGN_OBJECT,T.FOREIGN_OBJECT],[v.FORM,T.FORM],[v.FRAME,T.FRAME],[v.FRAMESET,T.FRAMESET],[v.H1,T.H1],[v.H2,T.H2],[v.H3,T.H3],[v.H4,T.H4],[v.H5,T.H5],[v.H6,T.H6],[v.HEAD,T.HEAD],[v.HEADER,T.HEADER],[v.HGROUP,T.HGROUP],[v.HR,T.HR],[v.HTML,T.HTML],[v.I,T.I],[v.IMG,T.IMG],[v.IMAGE,T.IMAGE],[v.INPUT,T.INPUT],[v.IFRAME,T.IFRAME],[v.KEYGEN,T.KEYGEN],[v.LABEL,T.LABEL],[v.LI,T.LI],[v.LINK,T.LINK],[v.LISTING,T.LISTING],[v.MAIN,T.MAIN],[v.MALIGNMARK,T.MALIGNMARK],[v.MARQUEE,T.MARQUEE],[v.MATH,T.MATH],[v.MENU,T.MENU],[v.META,T.META],[v.MGLYPH,T.MGLYPH],[v.MI,T.MI],[v.MO,T.MO],[v.MN,T.MN],[v.MS,T.MS],[v.MTEXT,T.MTEXT],[v.NAV,T.NAV],[v.NOBR,T.NOBR],[v.NOFRAMES,T.NOFRAMES],[v.NOEMBED,T.NOEMBED],[v.NOSCRIPT,T.NOSCRIPT],[v.OBJECT,T.OBJECT],[v.OL,T.OL],[v.OPTGROUP,T.OPTGROUP],[v.OPTION,T.OPTION],[v.P,T.P],[v.PARAM,T.PARAM],[v.PLAINTEXT,T.PLAINTEXT],[v.PRE,T.PRE],[v.RB,T.RB],[v.RP,T.RP],[v.RT,T.RT],[v.RTC,T.RTC],[v.RUBY,T.RUBY],[v.S,T.S],[v.SCRIPT,T.SCRIPT],[v.SECTION,T.SECTION],[v.SELECT,T.SELECT],[v.SOURCE,T.SOURCE],[v.SMALL,T.SMALL],[v.SPAN,T.SPAN],[v.STRIKE,T.STRIKE],[v.STRONG,T.STRONG],[v.STYLE,T.STYLE],[v.SUB,T.SUB],[v.SUMMARY,T.SUMMARY],[v.SUP,T.SUP],[v.TABLE,T.TABLE],[v.TBODY,T.TBODY],[v.TEMPLATE,T.TEMPLATE],[v.TEXTAREA,T.TEXTAREA],[v.TFOOT,T.TFOOT],[v.TD,T.TD],[v.TH,T.TH],[v.THEAD,T.THEAD],[v.TITLE,T.TITLE],[v.TR,T.TR],[v.TRACK,T.TRACK],[v.TT,T.TT],[v.U,T.U],[v.UL,T.UL],[v.SVG,T.SVG],[v.VAR,T.VAR],[v.WBR,T.WBR],[v.XMP,T.XMP]]);function ed(e){var t;return null!==(t=eu.get(e))&&void 0!==t?t:T.UNKNOWN}let ep=T,ef={[b.HTML]:new Set([ep.ADDRESS,ep.APPLET,ep.AREA,ep.ARTICLE,ep.ASIDE,ep.BASE,ep.BASEFONT,ep.BGSOUND,ep.BLOCKQUOTE,ep.BODY,ep.BR,ep.BUTTON,ep.CAPTION,ep.CENTER,ep.COL,ep.COLGROUP,ep.DD,ep.DETAILS,ep.DIR,ep.DIV,ep.DL,ep.DT,ep.EMBED,ep.FIELDSET,ep.FIGCAPTION,ep.FIGURE,ep.FOOTER,ep.FORM,ep.FRAME,ep.FRAMESET,ep.H1,ep.H2,ep.H3,ep.H4,ep.H5,ep.H6,ep.HEAD,ep.HEADER,ep.HGROUP,ep.HR,ep.HTML,ep.IFRAME,ep.IMG,ep.INPUT,ep.LI,ep.LINK,ep.LISTING,ep.MAIN,ep.MARQUEE,ep.MENU,ep.META,ep.NAV,ep.NOEMBED,ep.NOFRAMES,ep.NOSCRIPT,ep.OBJECT,ep.OL,ep.P,ep.PARAM,ep.PLAINTEXT,ep.PRE,ep.SCRIPT,ep.SECTION,ep.SELECT,ep.SOURCE,ep.STYLE,ep.SUMMARY,ep.TABLE,ep.TBODY,ep.TD,ep.TEMPLATE,ep.TEXTAREA,ep.TFOOT,ep.TH,ep.THEAD,ep.TITLE,ep.TR,ep.TRACK,ep.UL,ep.WBR,ep.XMP]),[b.MATHML]:new Set([ep.MI,ep.MO,ep.MN,ep.MS,ep.MTEXT,ep.ANNOTATION_XML]),[b.SVG]:new Set([ep.TITLE,ep.FOREIGN_OBJECT,ep.DESC]),[b.XLINK]:new Set,[b.XML]:new Set,[b.XMLNS]:new Set};function eh(e){return e===ep.H1||e===ep.H2||e===ep.H3||e===ep.H4||e===ep.H5||e===ep.H6}v.STYLE,v.SCRIPT,v.XMP,v.IFRAME,v.NOEMBED,v.NOFRAMES,v.PLAINTEXT;let em=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);(d=S||(S={}))[d.DATA=0]="DATA",d[d.RCDATA=1]="RCDATA",d[d.RAWTEXT=2]="RAWTEXT",d[d.SCRIPT_DATA=3]="SCRIPT_DATA",d[d.PLAINTEXT=4]="PLAINTEXT",d[d.TAG_OPEN=5]="TAG_OPEN",d[d.END_TAG_OPEN=6]="END_TAG_OPEN",d[d.TAG_NAME=7]="TAG_NAME",d[d.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",d[d.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",d[d.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",d[d.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",d[d.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",d[d.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",d[d.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",d[d.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",d[d.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",d[d.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",d[d.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",d[d.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",d[d.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",d[d.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",d[d.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",d[d.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",d[d.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",d[d.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",d[d.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",d[d.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",d[d.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",d[d.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",d[d.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",d[d.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",d[d.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",d[d.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",d[d.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",d[d.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",d[d.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",d[d.BOGUS_COMMENT=40]="BOGUS_COMMENT",d[d.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",d[d.COMMENT_START=42]="COMMENT_START",d[d.COMMENT_START_DASH=43]="COMMENT_START_DASH",d[d.COMMENT=44]="COMMENT",d[d.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",d[d.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",d[d.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",d[d.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",d[d.COMMENT_END_DASH=49]="COMMENT_END_DASH",d[d.COMMENT_END=50]="COMMENT_END",d[d.COMMENT_END_BANG=51]="COMMENT_END_BANG",d[d.DOCTYPE=52]="DOCTYPE",d[d.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",d[d.DOCTYPE_NAME=54]="DOCTYPE_NAME",d[d.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",d[d.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",d[d.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",d[d.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",d[d.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",d[d.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",d[d.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",d[d.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",d[d.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",d[d.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",d[d.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",d[d.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",d[d.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",d[d.CDATA_SECTION=68]="CDATA_SECTION",d[d.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",d[d.CDATA_SECTION_END=70]="CDATA_SECTION_END",d[d.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",d[d.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",d[d.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",d[d.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",d[d.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",d[d.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",d[d.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",d[d.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END";let eg={DATA:S.DATA,RCDATA:S.RCDATA,RAWTEXT:S.RAWTEXT,SCRIPT_DATA:S.SCRIPT_DATA,PLAINTEXT:S.PLAINTEXT,CDATA_SECTION:S.CDATA_SECTION};function eb(e){return e>=h.DIGIT_0&&e<=h.DIGIT_9}function ey(e){return e>=h.LATIN_CAPITAL_A&&e<=h.LATIN_CAPITAL_Z}function eE(e){return e>=h.LATIN_SMALL_A&&e<=h.LATIN_SMALL_Z||ey(e)}function ev(e){return eE(e)||eb(e)}function eT(e){return e>=h.LATIN_CAPITAL_A&&e<=h.LATIN_CAPITAL_F}function eS(e){return e>=h.LATIN_SMALL_A&&e<=h.LATIN_SMALL_F}function eA(e){return e===h.SPACE||e===h.LINE_FEED||e===h.TABULATION||e===h.FORM_FEED}function eO(e){return eA(e)||e===h.SOLIDUS||e===h.GREATER_THAN_SIGN}class e_{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=S.DATA,this.returnState=S.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new es(t),this.currentLocation=this.getCurrentLocation(-1)}_err(e){var t,n;null===(n=(t=this.handler).onParseError)||void 0===n||n.call(t,this.preprocessor.getError(e))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw Error("Parser was already resumed");this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(e){this.consumedAfterSnapshot-=e,this.preprocessor.retreat(e)}_reconsumeInState(e,t){this.state=e,this._callState(t)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t0&&this._err(m.endTagWithAttributes),e.selfClosing&&this._err(m.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case g.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case g.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case g.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:g.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type!==e)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=t;return}}this._createCharacterToken(e,t)}_emitCodePoint(e){let t=eA(e)?g.WHITESPACE_CHARACTER:e===h.NULL?g.NULL_CHARACTER:g.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(g.CHARACTER,e)}_matchNamedCharacterReference(e){let t=null,n=0,r=!1;for(let i=0,o=ec.HP[0];i>=0&&!((i=(0,ec.Go)(ec.HP,o,i+1,e))<0);e=this._consume()){n+=1,o=ec.HP[i];let s=o&ec.ge.VALUE_LENGTH;if(s){var a;let o=(s>>14)-1;if(e!==h.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((a=this.preprocessor.peek(1))===h.EQUALS_SIGN||ev(a))?(t=[h.AMPERSAND],i+=o):(t=0===o?[ec.HP[i]&~ec.ge.VALUE_LENGTH]:1===o?[ec.HP[++i]]:[ec.HP[++i],ec.HP[++i]],n=0,r=e!==h.SEMICOLON),0===o){this._consume();break}}}return this._unconsume(n),r&&!this.preprocessor.endOfChunkHit&&this._err(m.missingSemicolonAfterCharacterReference),this._unconsume(1),t}_isCharacterReferenceInAttribute(){return this.returnState===S.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case S.DATA:this._stateData(e);break;case S.RCDATA:this._stateRcdata(e);break;case S.RAWTEXT:this._stateRawtext(e);break;case S.SCRIPT_DATA:this._stateScriptData(e);break;case S.PLAINTEXT:this._statePlaintext(e);break;case S.TAG_OPEN:this._stateTagOpen(e);break;case S.END_TAG_OPEN:this._stateEndTagOpen(e);break;case S.TAG_NAME:this._stateTagName(e);break;case S.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case S.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case S.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case S.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case S.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case S.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case S.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case S.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case S.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case S.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case S.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case S.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case S.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case S.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case S.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case S.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case S.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case S.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case S.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case S.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case S.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case S.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case S.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case S.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case S.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case S.BOGUS_COMMENT:this._stateBogusComment(e);break;case S.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case S.COMMENT_START:this._stateCommentStart(e);break;case S.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case S.COMMENT:this._stateComment(e);break;case S.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case S.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case S.COMMENT_END:this._stateCommentEnd(e);break;case S.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case S.DOCTYPE:this._stateDoctype(e);break;case S.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case S.DOCTYPE_NAME:this._stateDoctypeName(e);break;case S.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case S.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case S.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case S.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case S.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case S.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case S.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case S.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case S.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case S.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case S.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case S.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case S.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case S.CDATA_SECTION:this._stateCdataSection(e);break;case S.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case S.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case S.CHARACTER_REFERENCE:this._stateCharacterReference(e);break;case S.NAMED_CHARACTER_REFERENCE:this._stateNamedCharacterReference(e);break;case S.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;case S.NUMERIC_CHARACTER_REFERENCE:this._stateNumericCharacterReference(e);break;case S.HEXADEMICAL_CHARACTER_REFERENCE_START:this._stateHexademicalCharacterReferenceStart(e);break;case S.HEXADEMICAL_CHARACTER_REFERENCE:this._stateHexademicalCharacterReference(e);break;case S.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(e);break;case S.NUMERIC_CHARACTER_REFERENCE_END:this._stateNumericCharacterReferenceEnd(e);break;default:throw Error("Unknown state")}}_stateData(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.TAG_OPEN;break;case h.AMPERSAND:this.returnState=S.DATA,this.state=S.CHARACTER_REFERENCE;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitCodePoint(e);break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case h.AMPERSAND:this.returnState=S.RCDATA,this.state=S.CHARACTER_REFERENCE;break;case h.LESS_THAN_SIGN:this.state=S.RCDATA_LESS_THAN_SIGN;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.RAWTEXT_LESS_THAN_SIGN;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.SCRIPT_DATA_LESS_THAN_SIGN;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(eE(e))this._createStartTagToken(),this.state=S.TAG_NAME,this._stateTagName(e);else switch(e){case h.EXCLAMATION_MARK:this.state=S.MARKUP_DECLARATION_OPEN;break;case h.SOLIDUS:this.state=S.END_TAG_OPEN;break;case h.QUESTION_MARK:this._err(m.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=S.BOGUS_COMMENT,this._stateBogusComment(e);break;case h.EOF:this._err(m.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(m.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=S.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(eE(e))this._createEndTagToken(),this.state=S.TAG_NAME,this._stateTagName(e);else switch(e){case h.GREATER_THAN_SIGN:this._err(m.missingEndTagName),this.state=S.DATA;break;case h.EOF:this._err(m.eofBeforeTagName),this._emitChars("");break;case h.NULL:this._err(m.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case h.EOF:this._err(m.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===h.SOLIDUS?this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:eE(e)?(this._emitChars("<"),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=S.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){eE(e)?(this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("");break;case h.NULL:this._err(m.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case h.EOF:this._err(m.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===h.SOLIDUS?(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(er.SCRIPT,!1)&&eO(this.preprocessor.peek(er.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e1114111)this._err(m.characterReferenceOutsideUnicodeRange),this.charRefCode=h.REPLACEMENT_CHARACTER;else if(ea(this.charRefCode))this._err(m.surrogateCharacterReference),this.charRefCode=h.REPLACEMENT_CHARACTER;else if(eo(this.charRefCode))this._err(m.noncharacterCharacterReference);else if(ei(this.charRefCode)||this.charRefCode===h.CARRIAGE_RETURN){this._err(m.controlCharacterReference);let e=em.get(this.charRefCode);void 0!==e&&(this.charRefCode=e)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}}let ek=new Set([T.DD,T.DT,T.LI,T.OPTGROUP,T.OPTION,T.P,T.RB,T.RP,T.RT,T.RTC]),ex=new Set([...ek,T.CAPTION,T.COLGROUP,T.TBODY,T.TD,T.TFOOT,T.TH,T.THEAD,T.TR]),eC=new Map([[T.APPLET,b.HTML],[T.CAPTION,b.HTML],[T.HTML,b.HTML],[T.MARQUEE,b.HTML],[T.OBJECT,b.HTML],[T.TABLE,b.HTML],[T.TD,b.HTML],[T.TEMPLATE,b.HTML],[T.TH,b.HTML],[T.ANNOTATION_XML,b.MATHML],[T.MI,b.MATHML],[T.MN,b.MATHML],[T.MO,b.MATHML],[T.MS,b.MATHML],[T.MTEXT,b.MATHML],[T.DESC,b.SVG],[T.FOREIGN_OBJECT,b.SVG],[T.TITLE,b.SVG]]),ew=[T.H1,T.H2,T.H3,T.H4,T.H5,T.H6],eI=[T.TR,T.TEMPLATE,T.HTML],eN=[T.TBODY,T.TFOOT,T.THEAD,T.TEMPLATE,T.HTML],eR=[T.TABLE,T.TEMPLATE,T.HTML],eL=[T.TD,T.TH];class eD{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=T.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===T.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===b.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){let r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==b.HTML);this.shortenToLength(t<0?0:t)}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop=0;n--)if(e.includes(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return -1}clearBackTo(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(eR,b.HTML)}clearBackToTableBodyContext(){this.clearBackTo(eN,b.HTML)}clearBackToTableRowContext(){this.clearBackTo(eI,b.HTML)}remove(e){let t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===T.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===T.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(eC.get(n)===r)return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(eh(t)&&n===b.HTML)break;if(eC.get(t)===n)return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if((n===T.UL||n===T.OL)&&r===b.HTML||eC.get(n)===r)return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(n===T.BUTTON&&r===b.HTML||eC.get(n)===r)return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n===T.TABLE||n===T.TEMPLATE||n===T.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(n===b.HTML){if(t===T.TBODY||t===T.THEAD||t===T.TFOOT)break;if(t===T.TABLE||t===T.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n!==T.OPTION&&n!==T.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;ek.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;ex.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&ex.has(this.currentTagId);)this.pop()}}(p=A=A||(A={}))[p.Marker=0]="Marker",p[p.Element=1]="Element";let eP={type:A.Marker};class eM{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let n=[],r=t.length,a=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let e=0;e[e.name,e.value])),a=0;for(let e=0;er.get(e.name)===e.value)&&(a+=1)>=3&&this.entries.splice(t.idx,1)}}insertMarker(){this.entries.unshift(eP)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:A.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:A.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);t>=0&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(eP);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===A.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===A.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===A.Element&&t.element===e)}}function eF(e){return{nodeName:"#text",value:e,parentNode:null}}let ej={createDocument:()=>({nodeName:"#document",mode:E.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){let r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,n,r){let a=e.childNodes.find(e=>"#documentType"===e.nodeName);a?(a.name=t,a.publicId=n,a.systemId=r):ej.appendChild(e,{nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null})},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let n=e.childNodes[e.childNodes.length-1];if(ej.isTextNode(n)){n.value+=t;return}}ej.appendChild(e,eF(t))},insertTextBefore(e,t,n){let r=e.childNodes[e.childNodes.indexOf(n)-1];r&&ej.isTextNode(r)?r.value+=t:ej.insertBefore(e,eF(t),n)},adoptAttributes(e,t){let n=new Set(e.attrs.map(e=>e.name));for(let r=0;re.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},eB="html",eU=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],e$=[...eU,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],eG=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),eH=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],ez=[...eH,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function eZ(e,t){return t.some(t=>e.startsWith(t))}let eW={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},eV=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),eY=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:b.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:b.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:b.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:b.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:b.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:b.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:b.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:b.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:b.XML}],["xml:space",{prefix:"xml",name:"space",namespace:b.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:b.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:b.XMLNS}]]),eq=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),eX=new Set([T.B,T.BIG,T.BLOCKQUOTE,T.BODY,T.BR,T.CENTER,T.CODE,T.DD,T.DIV,T.DL,T.DT,T.EM,T.EMBED,T.H1,T.H2,T.H3,T.H4,T.H5,T.H6,T.HEAD,T.HR,T.I,T.IMG,T.LI,T.LISTING,T.MENU,T.META,T.NOBR,T.OL,T.P,T.PRE,T.RUBY,T.S,T.SMALL,T.SPAN,T.STRONG,T.STRIKE,T.SUB,T.SUP,T.TABLE,T.TT,T.U,T.UL,T.VAR]);function eK(e){for(let t=0;t0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null===(r=(n=this.treeAdapter).onItemPop)||void 0===r||r.call(n,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let n=e===this.document||this.treeAdapter.getNamespaceURI(e)===b.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,b.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=O.TEXT}switchToPlaintextParsing(){this.insertionMode=O.TEXT,this.originalInsertionMode=O.IN_BODY,this.tokenizer.state=eg.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===v.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===b.HTML)switch(this.fragmentContextID){case T.TITLE:case T.TEXTAREA:this.tokenizer.state=eg.RCDATA;break;case T.STYLE:case T.XMP:case T.IFRAME:case T.NOEMBED:case T.NOFRAMES:case T.NOSCRIPT:this.tokenizer.state=eg.RAWTEXT;break;case T.SCRIPT:this.tokenizer.state=eg.SCRIPT_DATA;break;case T.PLAINTEXT:this.tokenizer.state=eg.PLAINTEXT}}_setDocumentType(e){let t=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){let t=this.treeAdapter.getChildNodes(this.document),n=t.find(e=>this.treeAdapter.isDocumentTypeNode(e));n&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){let n=this.treeAdapter.createElement(e,b.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,b.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(v.HTML,b.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,T.HTML)}_appendCommentNode(e,t){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let r=this.treeAdapter.getChildNodes(t),a=n?r.lastIndexOf(n):r.length,i=r[a-1],o=this.treeAdapter.getNodeSourceCodeLocation(i);if(o){let{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let n=t.location,r=this.treeAdapter.getTagName(e),a=t.type===g.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,a)}}shouldProcessStartTagTokenInForeignContent(e){let t,n;return!!this.currentNotInHTML&&(0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):{current:t,currentTagId:n}=this.openElements,(e.tagID!==T.SVG||this.treeAdapter.getTagName(t)!==v.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==b.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===T.MGLYPH||e.tagID===T.MALIGNMARK)&&!this._isIntegrationPoint(n,t,b.HTML)))}_processToken(e){switch(e.type){case g.CHARACTER:this.onCharacter(e);break;case g.NULL_CHARACTER:this.onNullCharacter(e);break;case g.COMMENT:this.onComment(e);break;case g.DOCTYPE:this.onDoctype(e);break;case g.START_TAG:this._processStartTag(e);break;case g.END_TAG:this.onEndTag(e);break;case g.EOF:this.onEof(e);break;case g.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){let r=this.treeAdapter.getNamespaceURI(t),a=this.treeAdapter.getAttrList(t);return(!n||n===b.HTML)&&function(e,t,n){if(t===b.MATHML&&e===T.ANNOTATION_XML){for(let e=0;ee.type===A.Marker||this.openElements.contains(e.element)),n=t<0?e-1:t-1;for(let e=n;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=O.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(T.P),this.openElements.popUntilTagNamePopped(T.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case T.TR:this.insertionMode=O.IN_ROW;return;case T.TBODY:case T.THEAD:case T.TFOOT:this.insertionMode=O.IN_TABLE_BODY;return;case T.CAPTION:this.insertionMode=O.IN_CAPTION;return;case T.COLGROUP:this.insertionMode=O.IN_COLUMN_GROUP;return;case T.TABLE:this.insertionMode=O.IN_TABLE;return;case T.BODY:this.insertionMode=O.IN_BODY;return;case T.FRAMESET:this.insertionMode=O.IN_FRAMESET;return;case T.SELECT:this._resetInsertionModeForSelect(e);return;case T.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case T.HTML:this.insertionMode=this.headElement?O.AFTER_HEAD:O.BEFORE_HEAD;return;case T.TD:case T.TH:if(e>0){this.insertionMode=O.IN_CELL;return}break;case T.HEAD:if(e>0){this.insertionMode=O.IN_HEAD;return}}this.insertionMode=O.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===T.TEMPLATE)break;if(e===T.TABLE){this.insertionMode=O.IN_SELECT_IN_TABLE;return}}this.insertionMode=O.IN_SELECT}_isElementCausesFosterParenting(e){return e1.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case T.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===b.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case T.TABLE:{let n=this.treeAdapter.getParentNode(t);if(n)return{parent:n,beforeElement:t};return{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){let n=this.treeAdapter.getNamespaceURI(e);return ef[n].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){this._insertCharacters(e),this.framesetOk=!1;return}switch(this.insertionMode){case O.INITIAL:e8(this,e);break;case O.BEFORE_HTML:e9(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.IN_BODY:case O.IN_CAPTION:case O.IN_CELL:case O.IN_TEMPLATE:ts(this,e);break;case O.TEXT:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tg(this,e);break;case O.IN_TABLE_TEXT:tT(this,e);break;case O.IN_COLUMN_GROUP:t_(this,e);break;case O.AFTER_BODY:tD(this,e);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){e.chars="�",this._insertCharacters(e);return}switch(this.insertionMode){case O.INITIAL:e8(this,e);break;case O.BEFORE_HTML:e9(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.TEXT:this._insertCharacters(e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tg(this,e);break;case O.IN_COLUMN_GROUP:t_(this,e);break;case O.AFTER_BODY:tD(this,e);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){e5(this,e);return}switch(this.insertionMode){case O.INITIAL:case O.BEFORE_HTML:case O.BEFORE_HEAD:case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:case O.IN_BODY:case O.IN_TABLE:case O.IN_CAPTION:case O.IN_COLUMN_GROUP:case O.IN_TABLE_BODY:case O.IN_ROW:case O.IN_CELL:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:case O.IN_TEMPLATE:case O.IN_FRAMESET:case O.AFTER_FRAMESET:e5(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case O.INITIAL:!function(e,t){e._setDocumentType(t);let n=t.forceQuirks?E.QUIRKS:function(e){if(e.name!==eB)return E.QUIRKS;let{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return E.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),eG.has(n))return E.QUIRKS;let e=null===t?e$:eU;if(eZ(n,e))return E.QUIRKS;if(eZ(n,e=null===t?eH:ez))return E.LIMITED_QUIRKS}return E.NO_QUIRKS}(t);t.name===eB&&null===t.publicId&&(null===t.systemId||"about:legacy-compat"===t.systemId)||e._err(t,m.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=O.BEFORE_HTML}(this,e);break;case O.BEFORE_HEAD:case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:this._err(e,m.misplacedDoctype);break;case O.IN_TABLE_TEXT:tS(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,m.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){let t=e.tagID,n=t===T.FONT&&e.attrs.some(({name:e})=>e===y.COLOR||e===y.SIZE||e===y.FACE);return n||eX.has(t)}(t))tM(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===b.MATHML?eK(t):r===b.SVG&&(function(e){let t=eq.get(e.tagName);null!=t&&(e.tagName=t,e.tagID=ed(e.tagName))}(t),eQ(t)),eJ(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case O.INITIAL:e8(this,e);break;case O.BEFORE_HTML:e.tagID===T.HTML?(this._insertElement(e,b.HTML),this.insertionMode=O.BEFORE_HEAD):e9(this,e);break;case O.BEFORE_HEAD:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.HEAD:e._insertElement(t,b.HTML),e.headElement=e.openElements.current,e.insertionMode=O.IN_HEAD;break;default:e7(e,t)}}(this,e);break;case O.IN_HEAD:te(this,e);break;case O.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BASEFONT:case T.BGSOUND:case T.HEAD:case T.LINK:case T.META:case T.NOFRAMES:case T.STYLE:te(e,t);break;case T.NOSCRIPT:e._err(t,m.nestedNoscriptInHead);break;default:tr(e,t)}}(this,e);break;case O.AFTER_HEAD:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BODY:e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=O.IN_BODY;break;case T.FRAMESET:e._insertElement(t,b.HTML),e.insertionMode=O.IN_FRAMESET;break;case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:e._err(t,m.abandonedHeadElementChild),e.openElements.push(e.headElement,T.HEAD),te(e,t),e.openElements.remove(e.headElement);break;case T.HEAD:e._err(t,m.misplacedStartTagForHeadElement);break;default:ta(e,t)}}(this,e);break;case O.IN_BODY:tp(this,e);break;case O.IN_TABLE:tb(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_CAPTION:!function(e,t){let n=t.tagID;tA.has(n)?e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_TABLE,tb(e,t)):tp(e,t)}(this,e);break;case O.IN_COLUMN_GROUP:tO(this,e);break;case O.IN_TABLE_BODY:tk(this,e);break;case O.IN_ROW:tC(this,e);break;case O.IN_CELL:!function(e,t){let n=t.tagID;tA.has(n)?(e.openElements.hasInTableScope(T.TD)||e.openElements.hasInTableScope(T.TH))&&(e._closeTableCell(),tC(e,t)):tp(e,t)}(this,e);break;case O.IN_SELECT:tI(this,e);break;case O.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e._processStartTag(t)):tI(e,t)}(this,e);break;case O.IN_TEMPLATE:!function(e,t){switch(t.tagID){case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:te(e,t);break;case T.CAPTION:case T.COLGROUP:case T.TBODY:case T.TFOOT:case T.THEAD:e.tmplInsertionModeStack[0]=O.IN_TABLE,e.insertionMode=O.IN_TABLE,tb(e,t);break;case T.COL:e.tmplInsertionModeStack[0]=O.IN_COLUMN_GROUP,e.insertionMode=O.IN_COLUMN_GROUP,tO(e,t);break;case T.TR:e.tmplInsertionModeStack[0]=O.IN_TABLE_BODY,e.insertionMode=O.IN_TABLE_BODY,tk(e,t);break;case T.TD:case T.TH:e.tmplInsertionModeStack[0]=O.IN_ROW,e.insertionMode=O.IN_ROW,tC(e,t);break;default:e.tmplInsertionModeStack[0]=O.IN_BODY,e.insertionMode=O.IN_BODY,tp(e,t)}}(this,e);break;case O.AFTER_BODY:e.tagID===T.HTML?tp(this,e):tD(this,e);break;case O.IN_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.FRAMESET:e._insertElement(t,b.HTML);break;case T.FRAME:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.NOFRAMES:te(e,t)}}(this,e);break;case O.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.NOFRAMES:te(e,t)}}(this,e);break;case O.AFTER_AFTER_BODY:e.tagID===T.HTML?tp(this,e):tP(this,e);break;case O.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.NOFRAMES:te(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===T.P||t.tagID===T.BR){tM(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){let r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===b.HTML){e._endTagOutsideForeignContent(t);break}let a=e.treeAdapter.getTagName(r);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){var t;switch(this.insertionMode){case O.INITIAL:e8(this,e);break;case O.BEFORE_HTML:!function(e,t){let n=t.tagID;(n===T.HTML||n===T.HEAD||n===T.BODY||n===T.BR)&&e9(e,t)}(this,e);break;case O.BEFORE_HEAD:!function(e,t){let n=t.tagID;n===T.HEAD||n===T.BODY||n===T.HTML||n===T.BR?e7(e,t):e._err(t,m.endTagWithoutMatchingOpenElement)}(this,e);break;case O.IN_HEAD:!function(e,t){switch(t.tagID){case T.HEAD:e.openElements.pop(),e.insertionMode=O.AFTER_HEAD;break;case T.BODY:case T.BR:case T.HTML:tn(e,t);break;case T.TEMPLATE:tt(e,t);break;default:e._err(t,m.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case T.NOSCRIPT:e.openElements.pop(),e.insertionMode=O.IN_HEAD;break;case T.BR:tr(e,t);break;default:e._err(t,m.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.AFTER_HEAD:!function(e,t){switch(t.tagID){case T.BODY:case T.HTML:case T.BR:ta(e,t);break;case T.TEMPLATE:tt(e,t);break;default:e._err(t,m.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.IN_BODY:th(this,e);break;case O.TEXT:e.tagID===T.SCRIPT&&(null===(t=this.scriptHandler)||void 0===t||t.call(this,this.openElements.current)),this.openElements.pop(),this.insertionMode=this.originalInsertionMode;break;case O.IN_TABLE:ty(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_CAPTION:!function(e,t){let n=t.tagID;switch(n){case T.CAPTION:case T.TABLE:e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_TABLE,n===T.TABLE&&ty(e,t));break;case T.BODY:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:th(e,t)}}(this,e);break;case O.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case T.COLGROUP:e.openElements.currentTagId===T.COLGROUP&&(e.openElements.pop(),e.insertionMode=O.IN_TABLE);break;case T.TEMPLATE:tt(e,t);break;case T.COL:break;default:t_(e,t)}}(this,e);break;case O.IN_TABLE_BODY:tx(this,e);break;case O.IN_ROW:tw(this,e);break;case O.IN_CELL:!function(e,t){let n=t.tagID;switch(n){case T.TD:case T.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_ROW);break;case T.TABLE:case T.TBODY:case T.TFOOT:case T.THEAD:case T.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),tw(e,t));break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:break;default:th(e,t)}}(this,e);break;case O.IN_SELECT:tN(this,e);break;case O.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e.onEndTag(t)):tN(e,t)}(this,e);break;case O.IN_TEMPLATE:e.tagID===T.TEMPLATE&&tt(this,e);break;case O.AFTER_BODY:tL(this,e);break;case O.IN_FRAMESET:e.tagID!==T.FRAMESET||this.openElements.isRootHtmlElementCurrent()||(this.openElements.pop(),this.fragmentContext||this.openElements.currentTagId===T.FRAMESET||(this.insertionMode=O.AFTER_FRAMESET));break;case O.AFTER_FRAMESET:e.tagID===T.HTML&&(this.insertionMode=O.AFTER_AFTER_FRAMESET);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onEof(e){switch(this.insertionMode){case O.INITIAL:e8(this,e);break;case O.BEFORE_HTML:e9(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.IN_BODY:case O.IN_TABLE:case O.IN_CAPTION:case O.IN_COLUMN_GROUP:case O.IN_TABLE_BODY:case O.IN_ROW:case O.IN_CELL:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:tm(this,e);break;case O.TEXT:this._err(e,m.eofInElementThatCanContainOnlyText),this.openElements.pop(),this.insertionMode=this.originalInsertionMode,this.onEof(e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_TEMPLATE:tR(this,e);break;case O.AFTER_BODY:case O.IN_FRAMESET:case O.AFTER_FRAMESET:case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:e6(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===h.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:case O.TEXT:case O.IN_COLUMN_GROUP:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:case O.IN_FRAMESET:case O.AFTER_FRAMESET:this._insertCharacters(e);break;case O.IN_BODY:case O.IN_CAPTION:case O.IN_CELL:case O.IN_TEMPLATE:case O.AFTER_BODY:case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:to(this,e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tg(this,e);break;case O.IN_TABLE_TEXT:tv(this,e)}}}function e4(e,t){for(let n=0;n<8;n++){let n=function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):tf(e,t),n}(e,t);if(!n)break;let r=function(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){let a=e.openElements.items[r];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[r])&&(n=a)}return n||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;let a=function(e,t,n){let r=t,a=e.openElements.getCommonAncestor(t);for(let i=0,o=a;o!==n;i++,o=a){a=e.openElements.getCommonAncestor(o);let n=e.activeFormattingElements.getElementEntry(o),s=n&&i>=3,l=!n||s;l?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(o)):(o=function(e,t){let n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}(e,r,n.element),i=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(a),i&&function(e,t,n){let r=e.treeAdapter.getTagName(t),a=ed(r);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(n);else{let r=e.treeAdapter.getNamespaceURI(t);a===T.TEMPLATE&&r===b.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}(e,i,a),function(e,t,n){let r=e.treeAdapter.getNamespaceURI(n.element),{token:a}=n,i=e.treeAdapter.createElement(a.tagName,r,a.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,a),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,a.tagID)}(e,r,n)}}function e5(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function e6(e,t){if(e.stopped=!0,t.location){let n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){let n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function e8(e,t){e._err(t,m.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,E.QUIRKS),e.insertionMode=O.BEFORE_HTML,e._processToken(t)}function e9(e,t){e._insertFakeRootElement(),e.insertionMode=O.BEFORE_HEAD,e._processToken(t)}function e7(e,t){e._insertFakeElement(v.HEAD,T.HEAD),e.headElement=e.openElements.current,e.insertionMode=O.IN_HEAD,e._processToken(t)}function te(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.TITLE:e._switchToTextParsing(t,eg.RCDATA);break;case T.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,eg.RAWTEXT):(e._insertElement(t,b.HTML),e.insertionMode=O.IN_HEAD_NO_SCRIPT);break;case T.NOFRAMES:case T.STYLE:e._switchToTextParsing(t,eg.RAWTEXT);break;case T.SCRIPT:e._switchToTextParsing(t,eg.SCRIPT_DATA);break;case T.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=O.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(O.IN_TEMPLATE);break;case T.HEAD:e._err(t,m.misplacedStartTagForHeadElement);break;default:tn(e,t)}}function tt(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==T.TEMPLATE&&e._err(t,m.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,m.endTagWithoutMatchingOpenElement)}function tn(e,t){e.openElements.pop(),e.insertionMode=O.AFTER_HEAD,e._processToken(t)}function tr(e,t){let n=t.type===g.EOF?m.openElementsLeftAfterEof:m.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=O.IN_HEAD,e._processToken(t)}function ta(e,t){e._insertFakeElement(v.BODY,T.BODY),e.insertionMode=O.IN_BODY,ti(e,t)}function ti(e,t){switch(t.type){case g.CHARACTER:ts(e,t);break;case g.WHITESPACE_CHARACTER:to(e,t);break;case g.COMMENT:e5(e,t);break;case g.START_TAG:tp(e,t);break;case g.END_TAG:th(e,t);break;case g.EOF:tm(e,t)}}function to(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function ts(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function tl(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function tc(e){let t=el(e,y.TYPE);return null!=t&&"hidden"===t.toLowerCase()}function tu(e,t){e._switchToTextParsing(t,eg.RAWTEXT)}function td(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML)}function tp(e,t){switch(t.tagID){case T.I:case T.S:case T.B:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.SMALL:case T.STRIKE:case T.STRONG:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case T.A:!function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(v.A);n&&(e4(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),eh(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,b.HTML);break;case T.P:case T.DL:case T.OL:case T.UL:case T.DIV:case T.DIR:case T.NAV:case T.MAIN:case T.MENU:case T.ASIDE:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.DETAILS:case T.ADDRESS:case T.ARTICLE:case T.SECTION:case T.SUMMARY:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML);break;case T.LI:case T.DD:case T.DT:!function(e,t){e.framesetOk=!1;let n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let r=e.openElements.tagIDs[t];if(n===T.LI&&r===T.LI||(n===T.DD||n===T.DT)&&(r===T.DD||r===T.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==T.ADDRESS&&r!==T.DIV&&r!==T.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML)}(e,t);break;case T.BR:case T.IMG:case T.WBR:case T.AREA:case T.EMBED:case T.KEYGEN:tl(e,t);break;case T.HR:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0;break;case T.RB:case T.RTC:e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,b.HTML);break;case T.RT:case T.RP:e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(T.RTC),e._insertElement(t,b.HTML);break;case T.PRE:case T.LISTING:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.framesetOk=!1;break;case T.XMP:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,eg.RAWTEXT);break;case T.SVG:e._reconstructActiveFormattingElements(),eQ(t),eJ(t),t.selfClosing?e._appendElement(t,b.SVG):e._insertElement(t,b.SVG),t.ackSelfClosing=!0;break;case T.HTML:0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs);break;case T.BASE:case T.LINK:case T.META:case T.STYLE:case T.TITLE:case T.SCRIPT:case T.BGSOUND:case T.BASEFONT:case T.TEMPLATE:te(e,t);break;case T.BODY:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t);break;case T.FORM:!function(e,t){let n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),n||(e.formElement=e.openElements.current))}(e,t);break;case T.NOBR:e._reconstructActiveFormattingElements(),e.openElements.hasInScope(T.NOBR)&&(e4(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case T.MATH:e._reconstructActiveFormattingElements(),eK(t),eJ(t),t.selfClosing?e._appendElement(t,b.MATHML):e._insertElement(t,b.MATHML),t.ackSelfClosing=!0;break;case T.TABLE:e.treeAdapter.getDocumentMode(e.document)!==E.QUIRKS&&e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=O.IN_TABLE;break;case T.INPUT:e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),tc(t)||(e.framesetOk=!1),t.ackSelfClosing=!0;break;case T.PARAM:case T.TRACK:case T.SOURCE:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.IMAGE:t.tagName=v.IMG,t.tagID=T.IMG,tl(e,t);break;case T.BUTTON:e.openElements.hasInScope(T.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1;break;case T.APPLET:case T.OBJECT:case T.MARQUEE:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1;break;case T.IFRAME:e.framesetOk=!1,e._switchToTextParsing(t,eg.RAWTEXT);break;case T.SELECT:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===O.IN_TABLE||e.insertionMode===O.IN_CAPTION||e.insertionMode===O.IN_TABLE_BODY||e.insertionMode===O.IN_ROW||e.insertionMode===O.IN_CELL?O.IN_SELECT_IN_TABLE:O.IN_SELECT;break;case T.OPTION:case T.OPTGROUP:e.openElements.currentTagId===T.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML);break;case T.NOEMBED:tu(e,t);break;case T.FRAMESET:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_FRAMESET)}(e,t);break;case T.TEXTAREA:e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.tokenizer.state=eg.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=O.TEXT;break;case T.NOSCRIPT:e.options.scriptingEnabled?tu(e,t):td(e,t);break;case T.PLAINTEXT:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.tokenizer.state=eg.PLAINTEXT;break;case T.COL:case T.TH:case T.TD:case T.TR:case T.HEAD:case T.FRAME:case T.TBODY:case T.TFOOT:case T.THEAD:case T.CAPTION:case T.COLGROUP:break;default:td(e,t)}}function tf(e,t){let n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let a=e.openElements.items[t],i=e.openElements.tagIDs[t];if(r===i&&(r!==T.UNKNOWN||e.treeAdapter.getTagName(a)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(a,i))break}}function th(e,t){switch(t.tagID){case T.A:case T.B:case T.I:case T.S:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.NOBR:case T.SMALL:case T.STRIKE:case T.STRONG:e4(e,t);break;case T.P:e.openElements.hasInButtonScope(T.P)||e._insertFakeElement(v.P,T.P),e._closePElement();break;case T.DL:case T.UL:case T.OL:case T.DIR:case T.DIV:case T.NAV:case T.PRE:case T.MAIN:case T.MENU:case T.ASIDE:case T.BUTTON:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.ADDRESS:case T.ARTICLE:case T.DETAILS:case T.SECTION:case T.SUMMARY:case T.LISTING:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case T.LI:e.openElements.hasInListItemScope(T.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(T.LI),e.openElements.popUntilTagNamePopped(T.LI));break;case T.DD:case T.DT:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped());break;case T.BR:e._reconstructActiveFormattingElements(),e._insertFakeElement(v.BR,T.BR),e.openElements.pop(),e.framesetOk=!1;break;case T.BODY:!function(e,t){if(e.openElements.hasInScope(T.BODY)&&(e.insertionMode=O.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}(e,t);break;case T.HTML:e.openElements.hasInScope(T.BODY)&&(e.insertionMode=O.AFTER_BODY,tL(e,t));break;case T.FORM:!function(e){let t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(T.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(T.FORM):n&&e.openElements.remove(n))}(e);break;case T.APPLET:case T.OBJECT:case T.MARQUEE:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}(e,t);break;case T.TEMPLATE:tt(e,t);break;default:tf(e,t)}}function tm(e,t){e.tmplInsertionModeStack.length>0?tR(e,t):e6(e,t)}function tg(e,t){if(e1.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=O.IN_TABLE_TEXT,t.type){case g.CHARACTER:tT(e,t);break;case g.WHITESPACE_CHARACTER:tv(e,t)}else tE(e,t)}function tb(e,t){switch(t.tagID){case T.TD:case T.TH:case T.TR:e.openElements.clearBackToTableContext(),e._insertFakeElement(v.TBODY,T.TBODY),e.insertionMode=O.IN_TABLE_BODY,tk(e,t);break;case T.STYLE:case T.SCRIPT:case T.TEMPLATE:te(e,t);break;case T.COL:e.openElements.clearBackToTableContext(),e._insertFakeElement(v.COLGROUP,T.COLGROUP),e.insertionMode=O.IN_COLUMN_GROUP,tO(e,t);break;case T.FORM:e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,b.HTML),e.formElement=e.openElements.current,e.openElements.pop());break;case T.TABLE:e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode(),e._processStartTag(t));break;case T.TBODY:case T.TFOOT:case T.THEAD:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_TABLE_BODY;break;case T.INPUT:tc(t)?e._appendElement(t,b.HTML):tE(e,t),t.ackSelfClosing=!0;break;case T.CAPTION:e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_CAPTION;break;case T.COLGROUP:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_COLUMN_GROUP;break;default:tE(e,t)}}function ty(e,t){switch(t.tagID){case T.TABLE:e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode());break;case T.TEMPLATE:tt(e,t);break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:tE(e,t)}}function tE(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,ti(e,t),e.fosterParentingEnabled=n}function tv(e,t){e.pendingCharacterTokens.push(t)}function tT(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function tS(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0&&e.openElements.currentTagId===T.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===T.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===T.OPTGROUP&&e.openElements.pop();break;case T.OPTION:e.openElements.currentTagId===T.OPTION&&e.openElements.pop();break;case T.SELECT:e.openElements.hasInSelectScope(T.SELECT)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode());break;case T.TEMPLATE:tt(e,t)}}function tR(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):e6(e,t)}function tL(e,t){var n;if(t.tagID===T.HTML){if(e.fragmentContext||(e.insertionMode=O.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===T.HTML){e._setEndLocation(e.openElements.items[0],t);let r=e.openElements.items[1];!r||(null===(n=e.treeAdapter.getNodeSourceCodeLocation(r))||void 0===n?void 0:n.endTag)||e._setEndLocation(r,t)}}else tD(e,t)}function tD(e,t){e.insertionMode=O.IN_BODY,ti(e,t)}function tP(e,t){e.insertionMode=O.IN_BODY,ti(e,t)}function tM(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==b.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}n(43470),v.AREA,v.BASE,v.BASEFONT,v.BGSOUND,v.BR,v.COL,v.EMBED,v.FRAME,v.HR,v.IMG,v.INPUT,v.KEYGEN,v.LINK,v.META,v.PARAM,v.SOURCE,v.TRACK,v.WBR;var tF=n(3980),tj=n(21623);let tB=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),tU={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function t$(e,t){let n=function(e){let t="root"===e.type?e.children[0]:e;return!!(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName.toLowerCase()))}(e),r=q("type",{handlers:{root:tH,element:tz,text:tZ,comment:tV,doctype:tW,raw:tY},unknown:tq}),a={parser:n?new e3(tU):e3.getFragmentParser(void 0,tU),handle(e){r(e,a)},stitches:!1,options:t||{}};r(e,a),tX(a,(0,tF.Pk)());let i=n?a.parser.document:a.parser.getFragment(),o=function(e,t){let n=t||{};return H({file:n.file||void 0,location:!1,schema:"svg"===n.space?x.YP:x.dy,verbose:n.verbose||!1},e)}(i,{file:a.options.file});return(a.stitches&&(0,tj.Vn)(o,"comment",function(e,t,n){if(e.value.stitch&&n&&void 0!==t){let r=n.children;return r[t]=e.value.stitch,t}}),"root"===o.type&&1===o.children.length&&o.children[0].type===e.type)?o.children[0]:o}function tG(e,t){let n=-1;if(e)for(;++n4&&(t.parser.tokenizer.state=0);let n={type:g.CHARACTER,chars:e.value,location:tQ(e)};tX(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tW(e,t){let n={type:g.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:tQ(e)};tX(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tV(e,t){let n=e.value,r={type:g.COMMENT,data:n,location:tQ(e)};tX(t,(0,tF.Pk)(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function tY(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,tK(t,(0,tF.Pk)(e)),t.parser.tokenizer.write(e.value,!1),t.parser.tokenizer._runParsingLoop(),72===t.parser.tokenizer.state||78===t.parser.tokenizer.state){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;let e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function tq(e,t){if(t.options.passThrough&&t.options.passThrough.includes(e.type))!function(e,t){t.stitches=!0;let n="children"in e?(0,_.ZP)({...e,children:[]}):(0,_.ZP)(e);if("children"in e&&"children"in n){let r=t$({type:"root",children:e.children},t.options);n.children=r.children}tV({type:"comment",value:{stitch:n}},t)}(e,t);else{let t="";throw tB.has(e.type)&&(t=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),Error("Cannot compile `"+e.type+"` node"+t)}}function tX(e,t){tK(e,t);let n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=eg.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function tK(e,t){if(t&&void 0!==t.offset){let n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function tQ(e){let t=(0,tF.Pk)(e)||{line:void 0,column:void 0,offset:void 0},n=(0,tF.rb)(e)||{line:void 0,column:void 0,offset:void 0},r={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset};return r}function tJ(e){return function(t,n){let r=t$(t,{...e,file:n});return r}}},78600:function(e,t,n){"use strict";function r(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,a=n.indexOf(t);for(;-1!==a;)r++,a=n.indexOf(t,a+t.length);return r}n.d(t,{Z:function(){return eQ}});var a=n(24345),i=n(15459),o=n(88718),s=n(96093);let l="phrasing",c=["autolink","link","image","label"];function u(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function d(e){this.config.enter.autolinkProtocol.call(this,e)}function p(e){this.config.exit.autolinkProtocol.call(this,e)}function f(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];(0,a.ok)("link"===t.type),t.url="http://"+this.sliceSerialize(e)}function h(e){this.config.exit.autolinkEmail.call(this,e)}function m(e){this.exit(e)}function g(e){!function(e,t,n){let r=(0,s.O)((n||{}).ignore||[]),a=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r0?{type:"text",value:i}:void 0),!1===i?r.lastIndex=n+1:(s!==n&&d.push({type:"text",value:e.value.slice(s,n)}),Array.isArray(i)?d.push(...i):i&&d.push(i),s=n+p[0].length,u=!0),!r.global)break;p=r.exec(e.value)}return u?(s?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],a=n.indexOf(")"),i=r(e,"("),o=r(e,")");for(;-1!==a&&i>o;)e+=n.slice(0,a+1),a=(n=n.slice(a+1)).indexOf(")"),o++;return[e,n]}(n+a);if(!s[0])return!1;let l={type:"link",title:null,url:o+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[l,{type:"text",value:s[1]}]:l}function y(e,t,n,r){return!(!E(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function E(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||(0,i.B8)(n)||(0,i.Xh)(n))&&(!t||47!==n)}var v=n(11098);function T(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function S(){this.buffer()}function A(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteDefinition"===n.type),n.label=t,n.identifier=(0,v.d)(this.sliceSerialize(e)).toLowerCase()}function O(e){this.exit(e)}function _(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function k(){this.buffer()}function x(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteReference"===n.type),n.label=t,n.identifier=(0,v.d)(this.sliceSerialize(e)).toLowerCase()}function C(e){this.exit(e)}function w(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteReference"),s=n.enter("reference");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),o(),i+=a.move("]")}function I(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteDefinition"),s=n.enter("label");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),i+=a.move("]:"+(e.children&&e.children.length>0?" ":"")),a.shift(4),i+=a.move(n.indentLines(n.containerFlow(e,a.current()),N)),o(),i}function N(e,t,n){return 0===t?e:(n?"":" ")+e}w.peek=function(){return"["};let R=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function L(e){this.enter({type:"delete",children:[]},e)}function D(e){this.exit(e)}function P(e,t,n,r){let a=n.createTracker(r),i=n.enter("strikethrough"),o=a.move("~~");return o+=n.containerPhrasing(e,{...a.current(),before:o,after:"~"})+a.move("~~"),i(),o}function M(e){return e.length}function F(e){let t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function j(e,t,n){return">"+(n?"":" ")+e}function B(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),c+=l.move(")"),o(),c}function q(e,t,n,r){let a=e.referenceType,i=n.enter("imageReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("!["),c=n.safe(e.alt,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function X(e,t,n){let r=e.value||"",a="`",i=-1;for(;RegExp("(^|[^`])"+a+"([^`]|$)").test(r);)a+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i\u007F]/.test(e.url))}function Q(e,t,n,r){let a,i;let o=H(n),s='"'===o?"Quote":"Apostrophe",l=n.createTracker(r);if(K(e,n)){let t=n.stack;n.stack=[],a=n.enter("autolink");let r=l.move("<");return r+=l.move(n.containerPhrasing(e,{before:r,after:">",...l.current()}))+l.move(">"),a(),n.stack=t,r}a=n.enter("link"),i=n.enter("label");let c=l.move("[");return c+=l.move(n.containerPhrasing(e,{before:c,after:"](",...l.current()}))+l.move("]("),i(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(i=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(i=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),i(),e.title&&(i=n.enter(`title${s}`),c+=l.move(" "+o),c+=l.move(n.safe(e.title,{before:c,after:o,...l.current()}))+l.move(o),i()),c+=l.move(")"),a(),c}function J(e,t,n,r){let a=e.referenceType,i=n.enter("linkReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("["),c=n.containerPhrasing(e,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function ee(e){let t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function et(e){let t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}V.peek=function(){return"<"},Y.peek=function(){return"!"},q.peek=function(){return"!"},X.peek=function(){return"`"},Q.peek=function(e,t,n){return K(e,n)?"<":"["},J.peek=function(){return"["};let en=(0,s.O)(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function er(e,t,n,r){let a=function(e){let t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(n),i=n.enter("strong"),o=n.createTracker(r),s=o.move(a+a);return s+=o.move(n.containerPhrasing(e,{before:s,after:a,...o.current()}))+o.move(a+a),i(),s}er.peek=function(e,t,n){return n.options.strong||"*"};let ea={blockquote:function(e,t,n,r){let a=n.enter("blockquote"),i=n.createTracker(r);i.move("> "),i.shift(2);let o=n.indentLines(n.containerFlow(e,i.current()),j);return a(),o},break:U,code:function(e,t,n,r){let a=function(e){let t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),i=e.value||"",o="`"===a?"GraveAccent":"Tilde";if(!1===n.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value)){let e=n.enter("codeIndented"),t=n.indentLines(i,G);return e(),t}let s=n.createTracker(r),l=a.repeat(Math.max((0,$.J)(i,a)+1,3)),c=n.enter("codeFenced"),u=s.move(l);if(e.lang){let t=n.enter(`codeFencedLang${o}`);u+=s.move(n.safe(e.lang,{before:u,after:" ",encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${o}`);u+=s.move(" "),u+=s.move(n.safe(e.meta,{before:u,after:"\n",encode:["`"],...s.current()})),t()}return u+=s.move("\n"),i&&(u+=s.move(i+"\n")),u+=s.move(l),c(),u},definition:function(e,t,n,r){let a=H(n),i='"'===a?"Quote":"Apostrophe",o=n.enter("definition"),s=n.enter("label"),l=n.createTracker(r),c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()}))+l.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":"\n",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),o(),c},emphasis:z,hardBreak:U,heading:function(e,t,n,r){let a;let i=Math.max(Math.min(6,e.depth||1),1),s=n.createTracker(r);if(a=!1,(0,Z.Vn)(e,function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return a=!0,o.BK}),(!e.depth||e.depth<3)&&(0,W.B)(e)&&(n.options.setext||a)){let t=n.enter("headingSetext"),r=n.enter("phrasing"),a=n.containerPhrasing(e,{...s.current(),before:"\n",after:"\n"});return r(),t(),a+"\n"+(1===i?"=":"-").repeat(a.length-(Math.max(a.lastIndexOf("\r"),a.lastIndexOf("\n"))+1))}let l="#".repeat(i),c=n.enter("headingAtx"),u=n.enter("phrasing");s.move(l+" ");let d=n.containerPhrasing(e,{before:"# ",after:"\n",...s.current()});return/^[\t ]/.test(d)&&(d="&#x"+d.charCodeAt(0).toString(16).toUpperCase()+";"+d.slice(1)),d=d?l+" "+d:l,n.options.closeAtx&&(d+=" "+l),u(),c(),d},html:V,image:Y,imageReference:q,inlineCode:X,link:Q,linkReference:J,list:function(e,t,n,r){let a=n.enter("list"),i=n.bulletCurrent,o=e.ordered?function(e){let t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):ee(n),s=e.ordered?"."===o?")":".":function(e){let t=ee(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n),l=!!t&&!!n.bulletLastUsed&&o===n.bulletLastUsed;if(!e.ordered){let t=e.children?e.children[0]:void 0;if("*"!==o&&"-"!==o||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(l=!0),et(n)===o&&t){let t=-1;for(;++t-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+i);let o=i.length+1;("tab"===a||"mixed"===a&&(t&&"list"===t.type&&t.spread||e.spread))&&(o=4*Math.ceil(o/4));let s=n.createTracker(r);s.move(i+" ".repeat(o-i.length)),s.shift(o);let l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),function(e,t,n){return t?(n?"":" ".repeat(o))+e:(n?i:i+" ".repeat(o-i.length))+e});return l(),c},paragraph:function(e,t,n,r){let a=n.enter("paragraph"),i=n.enter("phrasing"),o=n.containerPhrasing(e,r);return i(),a(),o},root:function(e,t,n,r){let a=e.children.some(function(e){return en(e)}),i=a?n.containerPhrasing:n.containerFlow;return i.call(n,e,r)},strong:er,text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){let r=(et(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}};function ei(e){let t=e._align;(0,a.ok)(t,"expected `_align` on table"),this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function eo(e){this.exit(e),this.data.inTable=void 0}function es(e){this.enter({type:"tableRow",children:[]},e)}function el(e){this.exit(e)}function ec(e){this.enter({type:"tableCell",children:[]},e)}function eu(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,ed));let n=this.stack[this.stack.length-1];(0,a.ok)("inlineCode"===n.type),n.value=t,this.exit(e)}function ed(e,t){return"|"===t?t:e}function ep(e){let t=this.stack[this.stack.length-2];(0,a.ok)("listItem"===t.type),t.checked="taskListCheckValueChecked"===e.type}function ef(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1];(0,a.ok)("paragraph"===e.type);let n=e.children[0];if(n&&"text"===n.type){let r;let a=t.children,i=-1;for(;++i0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}eO[43]=eA,eO[45]=eA,eO[46]=eA,eO[95]=eA,eO[72]=[eA,eS],eO[104]=[eA,eS],eO[87]=[eA,eT],eO[119]=[eA,eT];var eN=n(23402),eR=n(42761);let eL={tokenize:function(e,t,n){let r=this;return(0,eR.f)(e,function(e){let a=r.events[r.events.length-1];return a&&"gfmFootnoteDefinitionIndent"===a[1].type&&4===a[2].sliceSerialize(a[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function eD(e,t,n){let r;let a=this,i=a.events.length,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);for(;i--;){let e=a.events[i][1];if("labelImage"===e.type){r=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(i){if(!r||!r._balanced)return n(i);let s=(0,v.d)(a.sliceSerialize({start:r.end,end:a.now()}));return 94===s.codePointAt(0)&&o.includes(s.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(i),e.exit("gfmFootnoteCallLabelMarker"),t(i)):n(i)}}function eP(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;let i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",a,t],["exit",a,t],["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function eM(e,t,n){let r;let a=this,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),s=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),l};function l(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(l){if(s>999||93===l&&!r||null===l||91===l||(0,i.z3)(l))return n(l);if(93===l){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return o.includes((0,v.d)(a.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(l)}return(0,i.z3)(l)||(r=!0),s++,e.consume(l),92===l?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function eF(e,t,n){let r,a;let o=this,s=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]),l=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(t)}function u(t){if(l>999||93===t&&!a||null===t||91===t||(0,i.z3)(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return r=(0,v.d)(o.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return(0,i.z3)(t)||(a=!0),l++,e.consume(t),92===t?d:u}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}function p(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s.includes(r)||s.push(r),(0,eR.f)(e,f,"gfmFootnoteDefinitionWhitespace")):n(t)}function f(e){return t(e)}}function ej(e,t,n){return e.check(eN.w,t,e.attempt(eL,t,n))}function eB(e){e.exit("gfmFootnoteDefinition")}var eU=n(21905),e$=n(62987),eG=n(63233);class eH{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let a=0;if(0!==n||0!==r.length){for(;a0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function ez(e,t,n){let r;let a=this,o=0,s=0;return function(e){let t=a.events.length-1;for(;t>-1;){let e=a.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let r=t>-1?a.events[t][1].type:null,i="tableHead"===r||"tableRow"===r?E:l;return i===E&&a.parser.lazy[a.now().line]?n(e):i(e)};function l(t){return e.enter("tableHead"),e.enter("tableRow"),124===t||(r=!0,s+=1),c(t)}function c(t){return null===t?n(t):(0,i.Ch)(t)?s>1?(s=0,a.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p):n(t):(0,i.xz)(t)?(0,eR.f)(e,c,"whitespace")(t):(s+=1,r&&(r=!1,o+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,c):(e.enter("data"),u(t))}function u(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),c(t)):(e.consume(t),92===t?d:u)}function d(t){return 92===t||124===t?(e.consume(t),u):u(t)}function p(t){return(a.interrupt=!1,a.parser.lazy[a.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,(0,i.xz)(t))?(0,eR.f)(e,f,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):f(t)}function f(t){return 45===t||58===t?m(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),h):n(t)}function h(t){return(0,i.xz)(t)?(0,eR.f)(e,m,"whitespace")(t):m(t)}function m(t){return 58===t?(s+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),g):45===t?(s+=1,g(t)):null===t||(0,i.Ch)(t)?y(t):n(t)}function g(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),b):(e.exit("tableDelimiterFiller"),b(n))}(t)):n(t)}function b(t){return(0,i.xz)(t)?(0,eR.f)(e,y,"whitespace")(t):y(t)}function y(a){return 124===a?f(a):null===a||(0,i.Ch)(a)?r&&o===s?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(a)):n(a):n(a)}function E(t){return e.enter("tableRow"),v(t)}function v(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),v):null===n||(0,i.Ch)(n)?(e.exit("tableRow"),t(n)):(0,i.xz)(n)?(0,eR.f)(e,v,"whitespace")(n):(e.enter("data"),T(n))}function T(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),v(t)):(e.consume(t),92===t?S:T)}function S(t){return 92===t||124===t?(e.consume(t),T):T(t)}}function eZ(e,t){let n,r,a,i=-1,o=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,d=0,p=new eH;for(;++in[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",o,t]])}return void 0!==a&&(i.end=Object.assign({},eY(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function eV(e,t,n,r,a){let i=[],o=eY(t.events,n);a&&(a.end=Object.assign({},o),i.push(["exit",a,t])),r.end=Object.assign({},o),i.push(["exit",r,t]),e.add(n+1,0,i)}function eY(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}let eq={name:"tasklistCheck",tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),a):n(t)};function a(t){return(0,i.z3)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(t)}function s(r){return(0,i.Ch)(r)?t(r):(0,i.xz)(r)?e.check({tokenize:eX},t,n)(r):n(r)}}};function eX(e,t,n){return(0,eR.f)(e,function(e){return null===e?n(e):t(e)},"whitespace")}let eK={};function eQ(e){let t=e||eK,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),i=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push((0,em.W)([{text:eO},{document:{91:{name:"gfmFootnoteDefinition",tokenize:eF,continuation:{tokenize:ej},exit:eB}},text:{91:{name:"gfmFootnoteCall",tokenize:eM},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:eD,resolveTo:eP}}},function(e){let t=(e||{}).singleTilde,n={name:"strikethrough",tokenize:function(e,n,r){let a=this.previous,i=this.events,o=0;return function(s){return 126===a&&"characterEscape"!==i[i.length-1][1].type?r(s):(e.enter("strikethroughSequenceTemporary"),function i(s){let l=(0,e$.r)(a);if(126===s)return o>1?r(s):(e.consume(s),o++,i);if(o<2&&!t)return r(s);let c=e.exit("strikethroughSequenceTemporary"),u=(0,e$.r)(s);return c._open=!u||2===u&&!!l,c._close=!l||2===l&&!!u,n(s)}(s))}},resolveAll:function(e,t){let n=-1;for(;++nl&&(l=e[c].length);++ds[d])&&(s[d]=e)}n.push(i)}i[c]=n,o[c]=a}let d=-1;if("object"==typeof n&&"length"in n)for(;++ds[d]&&(s[d]=i),f[d]=i),p[d]=o}i.splice(1,0,p),o.splice(1,0,f),c=-1;let h=[];for(;++c","Iacute":"\xcd","Icirc":"\xce","Igrave":"\xcc","Iuml":"\xcf","LT":"<","Ntilde":"\xd1","Oacute":"\xd3","Ocirc":"\xd4","Ograve":"\xd2","Oslash":"\xd8","Otilde":"\xd5","Ouml":"\xd6","QUOT":"\\"","REG":"\xae","THORN":"\xde","Uacute":"\xda","Ucirc":"\xdb","Ugrave":"\xd9","Uuml":"\xdc","Yacute":"\xdd","aacute":"\xe1","acirc":"\xe2","acute":"\xb4","aelig":"\xe6","agrave":"\xe0","amp":"&","aring":"\xe5","atilde":"\xe3","auml":"\xe4","brvbar":"\xa6","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","eacute":"\xe9","ecirc":"\xea","egrave":"\xe8","eth":"\xf0","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","iacute":"\xed","icirc":"\xee","iexcl":"\xa1","igrave":"\xec","iquest":"\xbf","iuml":"\xef","laquo":"\xab","lt":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","ntilde":"\xf1","oacute":"\xf3","ocirc":"\xf4","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","oslash":"\xf8","otilde":"\xf5","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","raquo":"\xbb","reg":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","thorn":"\xfe","times":"\xd7","uacute":"\xfa","ucirc":"\xfb","ugrave":"\xf9","uml":"\xa8","uuml":"\xfc","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')}},function(e){e.O(0,[3662,7034,6106,8674,3166,2837,2168,8163,1265,7728,2913,3791,5278,9859,4330,4041,8791,5030,5418,2783,3457,1300,4567,2398,2480,7410,7124,9773,4035,1154,2510,3345,9202,7249,3768,5789,9774,2888,179],function(){return e(e.s=45629)}),_N_E=e.O()}]); \ No newline at end of file + */var r=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},a={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=u.reach));S+=T.value.length,T=T.next){var A,O=T.value;if(n.length>t.length)return;if(!(O instanceof i)){var _=1;if(b){if(!(A=o(v,S,t,g))||A.index>=t.length)break;var k=A.index,x=A.index+A[0].length,C=S;for(C+=T.value.length;k>=C;)C+=(T=T.next).value.length;if(C-=T.value.length,S=C,T.value instanceof i)continue;for(var w=T;w!==n.tail&&(Cu.reach&&(u.reach=L);var D=T.prev;N&&(D=l(n,D,N),S+=N.length),function(e,t,n){for(var r=t.next,a=0;a1){var M={cause:d+","+f,reach:L};e(t,n,r,T.prev,S,M),u&&M.reach>u.reach&&(u.reach=M.reach)}}}}}}(e,c,t,c.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(c)},hooks:{all:{},add:function(e,t){var n=a.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=a.hooks.all[e];if(n&&n.length)for(var r,i=0;r=n[i++];)r(t)}},Token:i};function i(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var i=a[1].length;a.index+=i,a[0]=a[0].slice(i)}return a}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}if(e.Prism=a,i.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach(function(t){r+=e(t,n)}),r}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},o=t.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(i.classes,o):i.classes.push(o)),a.hooks.run("wrap",i);var s="";for(var l in i.attributes)s+=" "+l+'="'+(i.attributes[l]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+s+">"+i.content+""},!e.document)return e.addEventListener&&(a.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),r=n.language,i=n.code,o=n.immediateClose;e.postMessage(a.highlight(i,a.languages[r],r)),o&&e.close()},!1)),a;var c=a.util.currentScript();function u(){a.manual||a.highlightAll()}if(c&&(a.filename=c.src,c.hasAttribute("data-manual")&&(a.manual=!0)),!a.manual){var d=document.readyState;"loading"===d||"interactive"===d&&c&&c.defer?document.addEventListener("DOMContentLoaded",u):window.requestAnimationFrame?window.requestAnimationFrame(u):window.setTimeout(u,16)}return a}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=r),void 0!==n.g&&(n.g.Prism=r)},96774:function(e){e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),o=Object.keys(t);if(i.length!==o.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;le.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}},88998:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(95778);function a(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},13643:function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,{Z:function(){return r}})},98568:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)}n.d(t,{Z:function(){return a}})},99660:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(88998);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var l=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(l&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;C(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:I(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),b}},t}},55054:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59312);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw a}}return s}}(e,t)||(0,r.Z)(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},27567:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(13643);function a(){return(a="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var a=function(e,t){for(;!({}).hasOwnProperty.call(e,t)&&null!==(e=(0,r.Z)(e)););return e}(e,t);if(a){var i=Object.getOwnPropertyDescriptor(a,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}}).apply(null,arguments)}function i(e,t,n,i){var o=a((0,r.Z)(1&i?e.prototype:e),t,n);return 2&i&&"function"==typeof o?function(e){return o.apply(n,e)}:o}},25585:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(59630),a=n(59312);function i(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,a.Z)(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},95778:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(2846);function a(e){var t=function(e,t){if("object"!=(0,r.Z)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=(0,r.Z)(a))return a;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.Z)(t)?t:t+""}},2846:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{Z:function(){return r}})},59312:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59630);function a(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},21129:function(e,t,n){"use strict";var r=n(4503);t.Z=r},86676:function(e,t,n){"use strict";n.d(t,{r:function(){return a}});let r=/[#.]/g;function a(e,t){let n,a;let i=e||"",o={},s=0;for(;so&&(o=i):i=1,a=r+t.length,r=n.indexOf(t,a);return o}n.d(t,{J:function(){return r}})},24557:function(e,t,n){"use strict";n.d(t,{Z:function(){return ed}});var r={};n.r(r),n.d(r,{boolean:function(){return c},booleanish:function(){return u},commaOrSpaceSeparated:function(){return m},commaSeparated:function(){return h},number:function(){return p},overloadedBoolean:function(){return d},spaceSeparated:function(){return f}});class a{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function i(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new a(n,r,t)}function o(e){return e.toLowerCase()}a.prototype.normal={},a.prototype.property={},a.prototype.space=void 0;class s{constructor(e,t){this.attribute=t,this.property=e}}s.prototype.attribute="",s.prototype.booleanish=!1,s.prototype.boolean=!1,s.prototype.commaOrSpaceSeparated=!1,s.prototype.commaSeparated=!1,s.prototype.defined=!1,s.prototype.mustUseProperty=!1,s.prototype.number=!1,s.prototype.overloadedBoolean=!1,s.prototype.property="",s.prototype.spaceSeparated=!1,s.prototype.space=void 0;let l=0,c=g(),u=g(),d=g(),p=g(),f=g(),h=g(),m=g();function g(){return 2**++l}let b=Object.keys(r);class y extends s{constructor(e,t,n,a){var i,o;let s=-1;if(super(e,t),a&&(this.space=a),"number"==typeof n)for(;++s"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function T(e,t){return t in e?e[t]:t}function S(e,t){return T(e,t.toLowerCase())}let A=E({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:h,acceptCharset:f,accessKey:f,action:null,allow:null,allowFullScreen:c,allowPaymentRequest:c,allowUserMedia:c,alt:null,as:null,async:c,autoCapitalize:null,autoComplete:f,autoFocus:c,autoPlay:c,blocking:f,capture:null,charSet:null,checked:c,cite:null,className:f,cols:p,colSpan:null,content:null,contentEditable:u,controls:c,controlsList:f,coords:p|h,crossOrigin:null,data:null,dateTime:null,decoding:null,default:c,defer:c,dir:null,dirName:null,disabled:c,download:d,draggable:u,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:c,formTarget:null,headers:f,height:p,hidden:c,high:p,href:null,hrefLang:null,htmlFor:f,httpEquiv:f,id:null,imageSizes:null,imageSrcSet:null,inert:c,inputMode:null,integrity:null,is:null,isMap:c,itemId:null,itemProp:f,itemRef:f,itemScope:c,itemType:f,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:c,low:p,manifest:null,max:null,maxLength:p,media:null,method:null,min:null,minLength:p,multiple:c,muted:c,name:null,nonce:null,noModule:c,noValidate:c,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored: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,onScrollEnd: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:c,optimum:p,pattern:null,ping:f,placeholder:null,playsInline:c,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:c,referrerPolicy:null,rel:f,required:c,reversed:c,rows:p,rowSpan:p,sandbox:f,scope:null,scoped:c,seamless:c,selected:c,shadowRootClonable:c,shadowRootDelegatesFocus:c,shadowRootMode:null,shape:null,size:p,sizes:null,slot:null,span:p,spellCheck:u,src:null,srcDoc:null,srcLang:null,srcSet:null,start:p,step:null,style:null,tabIndex:p,target:null,title:null,translate:null,type:null,typeMustMatch:c,useMap:null,value:u,width:p,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:f,axis:null,background:null,bgColor:null,border:p,borderColor:null,bottomMargin:p,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:c,declare:c,event:null,face:null,frame:null,frameBorder:null,hSpace:p,leftMargin:p,link:null,longDesc:null,lowSrc:null,marginHeight:p,marginWidth:p,noResize:c,noHref:c,noShade:c,noWrap:c,object:null,profile:null,prompt:null,rev:null,rightMargin:p,rules:null,scheme:null,scrolling:u,standby:null,summary:null,text:null,topMargin:p,valueType:null,version:null,vAlign:null,vLink:null,vSpace:p,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:c,disableRemotePlayback:c,prefix:null,property:null,results:p,security:null,unselectable:null},space:"html",transform:S}),O=E({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:m,accentHeight:p,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:p,amplitude:p,arabicForm:null,ascent:p,attributeName:null,attributeType:null,azimuth:p,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:p,by:null,calcMode:null,capHeight:p,className:f,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:p,diffuseConstant:p,direction:null,display:null,dur:null,divisor:p,dominantBaseline:null,download:c,dx:null,dy:null,edgeMode:null,editable:null,elevation:p,enableBackground:null,end:null,event:null,exponent:p,externalResourcesRequired:null,fill:null,fillOpacity:p,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:h,g2:h,glyphName:h,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:p,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:p,horizOriginX:p,horizOriginY:p,id:null,ideographic:p,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:p,k:p,k1:p,k2:p,k3:p,k4:p,kernelMatrix:m,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:p,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:p,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose: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,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:p,overlineThickness:p,paintOrder:null,panose1:null,path:null,pathLength:p,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:f,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:p,pointsAtY:p,pointsAtZ:p,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:m,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:m,rev:m,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:m,requiredFeatures:m,requiredFonts:m,requiredFormats:m,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:p,specularExponent:p,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:p,strikethroughThickness:p,string:null,stroke:null,strokeDashArray:m,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:p,strokeOpacity:p,strokeWidth:null,style:null,surfaceScale:p,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:m,tabIndex:p,tableValues:null,target:null,targetX:p,targetY:p,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:m,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:p,underlineThickness:p,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:p,values:null,vAlphabetic:p,vMathematical:p,vectorEffect:null,vHanging:p,vIdeographic:p,version:null,vertAdvY:p,vertOriginX:p,vertOriginY:p,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:p,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:T}),_=E({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),k=E({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:S}),x=E({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),C=i([v,A,_,k,x],"html"),w=i([v,O,_,k,x],"svg");var I=n(25668),N=n(86676);let R=/[A-Z]/g,L=/-[a-z]/g,D=/^data[-\w.:]+$/i;function P(e){return"-"+e.toLowerCase()}function M(e){return e.charAt(1).toUpperCase()}var F=n(50342);function j(e,t,n){let r=n?function(e){let t=new Map;for(let n of e)t.set(n.toLowerCase(),n);return t}(n):void 0;return function(n,a,...i){let l;if(null==n)l={type:"root",children:[]},i.unshift(a);else{l=(0,N.r)(n,t);let c=l.tagName.toLowerCase(),u=r?r.get(c):void 0;if(l.tagName=u||c,function(e){if(null===e||"object"!=typeof e||Array.isArray(e))return!0;if("string"!=typeof e.type)return!1;let t=Object.keys(e);for(let n of t){let t=e[n];if(t&&"object"==typeof t){if(!Array.isArray(t))return!0;for(let e of t)if("number"!=typeof e&&"string"!=typeof e)return!0}}return!!("children"in e&&Array.isArray(e.children))}(a))i.unshift(a);else for(let[t,n]of Object.entries(a))!function(e,t,n,r){let a;let i=function(e,t){let n=o(t),r=t,a=s;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&D.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(L,M);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!L.test(e)){let n=e.replace(R,P);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}a=y}return new a(r,t)}(e,n);if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;a=r}else a="boolean"==typeof r?r:"string"==typeof r?i.spaceSeparated?(0,F.Q)(r):i.commaSeparated?(0,I.Q)(r):i.commaOrSpaceSeparated?(0,F.Q)((0,I.Q)(r).join(" ")):B(i,i.property,r):Array.isArray(r)?[...r]:"style"===i.property?function(e){let t=[];for(let[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}(r):String(r);if(Array.isArray(a)){let e=[];for(let t of a)e.push(B(i,i.property,t));a=e}"className"===i.property&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}(e,l.properties,t,n)}for(let e of i)!function e(t,n){if(null==n);else if("number"==typeof n||"string"==typeof n)t.push({type:"text",value:String(n)});else if(Array.isArray(n))for(let r of n)e(t,r);else if("object"==typeof n&&"type"in n)"root"===n.type?e(t,n.children):t.push(n);else throw Error("Expected node, nodes, or string, got `"+n+"`")}(l.children,e);return"element"===l.type&&"template"===l.tagName&&(l.content={type:"root",children:l.children},l.children=[]),l}}function B(e,t,n){if("string"==typeof n){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(""===n||o(n)===o(t)))return!0}return n}let U=j(C,"div"),$=j(w,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]);var G=n(49911);function H(e,t){let n=function(e,t){switch(e.nodeType){case 1:return function(e,t){let n=e.namespaceURI,r=n===G.t.svg?$:U,a=n===G.t.html?e.tagName.toLowerCase():e.tagName,i=n===G.t.html&&"template"===a?e.content:e,o=e.getAttributeNames(),s={},l=-1;for(;++ln&&(n=e):e&&(void 0!==n&&n>-1&&l.push("\n".repeat(n)||" "),n=-1,l.push(e))}return l.join("")}(d,{whitespace:"pre"});try{a=es.ZP.renderToString(p,{...t,displayMode:c,throwOnError:!0})}catch(o){let i=o.name.toLowerCase();n.message("Could not render math with KaTeX",{ancestors:[...r,e],cause:o,place:e.position,ruleId:i,source:"rehype-katex"});try{a=es.ZP.renderToString(p,{...t,displayMode:c,strict:"ignore",throwOnError:!1})}catch{a=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(o)},children:[{type:"text",value:p}]}]}}if("string"==typeof a){let e=function(e,t){let n=t?.fragment?function(e){let t=document.createElement("template");return t.innerHTML=e,t.content}(e):Z.parseFromString(e,"text/html");return H(n,{})||{type:"root",children:[]}}(a,{fragment:!0});a=e.children}let f=u.children.indexOf(d);return u.children.splice(f,1,...a),el.AM})}}},12384:function(e,t,n){"use strict";n.d(t,{Z:function(){return tJ}});var r,a,i,o,s,l,c,u,d,p,f,h,m,g,b,y,E,v,T,S,A,O,_=n(52835),k=n(24345),x=n(91634),C=n(25668),w=n(86676),I=n(26103),N=n(28051),R=n(50342);let L=new Set(["button","menu","reset","submit"]),D={}.hasOwnProperty;function P(e,t,n){let r=n&&function(e){let t={},n=-1;for(;++n1?n[e.line-2]:0)+e.column-1;if(r-1&&e<=t.length){let r=0;for(;;){let a=n[r];if(void 0===a){let e=B(t,n[r-1]);a=-1===e?t.length+1:e+1,n[r]=a}if(a>e)return{line:r+1,column:e-(r>0?n[r-1]:0)+1,offset:e};r++}}}}}(t),a=r.toPoint(0),i=r.toPoint(t.length);(0,k.ok)(a,"expected `start`"),(0,k.ok)(i,"expected `end`"),n.position={start:a,end:i}}return n}case"#documentType":return Z(e,t,n={type:"doctype"}),n;case"#text":return n={type:"text",value:t.value},Z(e,t,n),n;default:return function(e,t){let n=e.schema;e.schema=t.namespaceURI===U.t.svg?x.YP:x.dy;let r=-1,a={};for(;++r=55296&&e<=57343}function ei(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function eo(e){return e>=64976&&e<=65007||en.has(e)}(a=m=m||(m={})).controlCharacterInInputStream="control-character-in-input-stream",a.noncharacterInInputStream="noncharacter-in-input-stream",a.surrogateInInputStream="surrogate-in-input-stream",a.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",a.endTagWithAttributes="end-tag-with-attributes",a.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",a.unexpectedSolidusInTag="unexpected-solidus-in-tag",a.unexpectedNullCharacter="unexpected-null-character",a.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",a.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",a.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",a.missingEndTagName="missing-end-tag-name",a.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",a.unknownNamedCharacterReference="unknown-named-character-reference",a.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",a.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",a.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",a.eofBeforeTagName="eof-before-tag-name",a.eofInTag="eof-in-tag",a.missingAttributeValue="missing-attribute-value",a.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",a.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",a.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",a.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",a.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",a.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",a.missingDoctypePublicIdentifier="missing-doctype-public-identifier",a.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",a.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",a.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",a.cdataInHtmlContent="cdata-in-html-content",a.incorrectlyOpenedComment="incorrectly-opened-comment",a.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",a.eofInDoctype="eof-in-doctype",a.nestedComment="nested-comment",a.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",a.eofInComment="eof-in-comment",a.incorrectlyClosedComment="incorrectly-closed-comment",a.eofInCdata="eof-in-cdata",a.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",a.nullCharacterReference="null-character-reference",a.surrogateCharacterReference="surrogate-character-reference",a.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",a.controlCharacterReference="control-character-reference",a.noncharacterCharacterReference="noncharacter-character-reference",a.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",a.missingDoctypeName="missing-doctype-name",a.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",a.duplicateAttribute="duplicate-attribute",a.nonConformingDoctype="non-conforming-doctype",a.missingDoctype="missing-doctype",a.misplacedDoctype="misplaced-doctype",a.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",a.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",a.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",a.openElementsLeftAfterEof="open-elements-left-after-eof",a.abandonedHeadElementChild="abandoned-head-element-child",a.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",a.nestedNoscriptInHead="nested-noscript-in-head",a.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text";class es{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e){let{line:t,col:n,offset:r}=this;return{code:e,startLine:t,endLine:t,startCol:n,endCol:n,startOffset:r,endOffset:r}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let t=this.html.charCodeAt(this.pos+1);if(t>=56320&&t<=57343)return this.pos++,this._addGap(),(e-55296)*1024+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,h.EOF;return this._err(m.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,h.EOF;let n=this.html.charCodeAt(t);return n===h.CARRIAGE_RETURN?h.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,h.EOF;let e=this.html.charCodeAt(this.pos);if(e===h.CARRIAGE_RETURN)return this.isEol=!0,this.skipNextNewLine=!0,h.LINE_FEED;if(e===h.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine))return this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance();this.skipNextNewLine=!1,ea(e)&&(e=this._processSurrogate(e));let t=null===this.handler.onParseError||e>31&&e<127||e===h.LINE_FEED||e===h.CARRIAGE_RETURN||e>159&&e<64976;return t||this._checkForProblematicCharacters(e),e}_checkForProblematicCharacters(e){ei(e)?this._err(m.controlCharacterInInputStream):eo(e)&&this._err(m.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}(i=g=g||(g={}))[i.CHARACTER=0]="CHARACTER",i[i.NULL_CHARACTER=1]="NULL_CHARACTER",i[i.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",i[i.START_TAG=3]="START_TAG",i[i.END_TAG=4]="END_TAG",i[i.COMMENT=5]="COMMENT",i[i.DOCTYPE=6]="DOCTYPE",i[i.EOF=7]="EOF",i[i.HIBERNATION=8]="HIBERNATION";var ec=n(60411);(o=b=b||(b={})).HTML="http://www.w3.org/1999/xhtml",o.MATHML="http://www.w3.org/1998/Math/MathML",o.SVG="http://www.w3.org/2000/svg",o.XLINK="http://www.w3.org/1999/xlink",o.XML="http://www.w3.org/XML/1998/namespace",o.XMLNS="http://www.w3.org/2000/xmlns/",(s=y=y||(y={})).TYPE="type",s.ACTION="action",s.ENCODING="encoding",s.PROMPT="prompt",s.NAME="name",s.COLOR="color",s.FACE="face",s.SIZE="size",(l=E=E||(E={})).NO_QUIRKS="no-quirks",l.QUIRKS="quirks",l.LIMITED_QUIRKS="limited-quirks",(c=v=v||(v={})).A="a",c.ADDRESS="address",c.ANNOTATION_XML="annotation-xml",c.APPLET="applet",c.AREA="area",c.ARTICLE="article",c.ASIDE="aside",c.B="b",c.BASE="base",c.BASEFONT="basefont",c.BGSOUND="bgsound",c.BIG="big",c.BLOCKQUOTE="blockquote",c.BODY="body",c.BR="br",c.BUTTON="button",c.CAPTION="caption",c.CENTER="center",c.CODE="code",c.COL="col",c.COLGROUP="colgroup",c.DD="dd",c.DESC="desc",c.DETAILS="details",c.DIALOG="dialog",c.DIR="dir",c.DIV="div",c.DL="dl",c.DT="dt",c.EM="em",c.EMBED="embed",c.FIELDSET="fieldset",c.FIGCAPTION="figcaption",c.FIGURE="figure",c.FONT="font",c.FOOTER="footer",c.FOREIGN_OBJECT="foreignObject",c.FORM="form",c.FRAME="frame",c.FRAMESET="frameset",c.H1="h1",c.H2="h2",c.H3="h3",c.H4="h4",c.H5="h5",c.H6="h6",c.HEAD="head",c.HEADER="header",c.HGROUP="hgroup",c.HR="hr",c.HTML="html",c.I="i",c.IMG="img",c.IMAGE="image",c.INPUT="input",c.IFRAME="iframe",c.KEYGEN="keygen",c.LABEL="label",c.LI="li",c.LINK="link",c.LISTING="listing",c.MAIN="main",c.MALIGNMARK="malignmark",c.MARQUEE="marquee",c.MATH="math",c.MENU="menu",c.META="meta",c.MGLYPH="mglyph",c.MI="mi",c.MO="mo",c.MN="mn",c.MS="ms",c.MTEXT="mtext",c.NAV="nav",c.NOBR="nobr",c.NOFRAMES="noframes",c.NOEMBED="noembed",c.NOSCRIPT="noscript",c.OBJECT="object",c.OL="ol",c.OPTGROUP="optgroup",c.OPTION="option",c.P="p",c.PARAM="param",c.PLAINTEXT="plaintext",c.PRE="pre",c.RB="rb",c.RP="rp",c.RT="rt",c.RTC="rtc",c.RUBY="ruby",c.S="s",c.SCRIPT="script",c.SECTION="section",c.SELECT="select",c.SOURCE="source",c.SMALL="small",c.SPAN="span",c.STRIKE="strike",c.STRONG="strong",c.STYLE="style",c.SUB="sub",c.SUMMARY="summary",c.SUP="sup",c.TABLE="table",c.TBODY="tbody",c.TEMPLATE="template",c.TEXTAREA="textarea",c.TFOOT="tfoot",c.TD="td",c.TH="th",c.THEAD="thead",c.TITLE="title",c.TR="tr",c.TRACK="track",c.TT="tt",c.U="u",c.UL="ul",c.SVG="svg",c.VAR="var",c.WBR="wbr",c.XMP="xmp",(u=T=T||(T={}))[u.UNKNOWN=0]="UNKNOWN",u[u.A=1]="A",u[u.ADDRESS=2]="ADDRESS",u[u.ANNOTATION_XML=3]="ANNOTATION_XML",u[u.APPLET=4]="APPLET",u[u.AREA=5]="AREA",u[u.ARTICLE=6]="ARTICLE",u[u.ASIDE=7]="ASIDE",u[u.B=8]="B",u[u.BASE=9]="BASE",u[u.BASEFONT=10]="BASEFONT",u[u.BGSOUND=11]="BGSOUND",u[u.BIG=12]="BIG",u[u.BLOCKQUOTE=13]="BLOCKQUOTE",u[u.BODY=14]="BODY",u[u.BR=15]="BR",u[u.BUTTON=16]="BUTTON",u[u.CAPTION=17]="CAPTION",u[u.CENTER=18]="CENTER",u[u.CODE=19]="CODE",u[u.COL=20]="COL",u[u.COLGROUP=21]="COLGROUP",u[u.DD=22]="DD",u[u.DESC=23]="DESC",u[u.DETAILS=24]="DETAILS",u[u.DIALOG=25]="DIALOG",u[u.DIR=26]="DIR",u[u.DIV=27]="DIV",u[u.DL=28]="DL",u[u.DT=29]="DT",u[u.EM=30]="EM",u[u.EMBED=31]="EMBED",u[u.FIELDSET=32]="FIELDSET",u[u.FIGCAPTION=33]="FIGCAPTION",u[u.FIGURE=34]="FIGURE",u[u.FONT=35]="FONT",u[u.FOOTER=36]="FOOTER",u[u.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",u[u.FORM=38]="FORM",u[u.FRAME=39]="FRAME",u[u.FRAMESET=40]="FRAMESET",u[u.H1=41]="H1",u[u.H2=42]="H2",u[u.H3=43]="H3",u[u.H4=44]="H4",u[u.H5=45]="H5",u[u.H6=46]="H6",u[u.HEAD=47]="HEAD",u[u.HEADER=48]="HEADER",u[u.HGROUP=49]="HGROUP",u[u.HR=50]="HR",u[u.HTML=51]="HTML",u[u.I=52]="I",u[u.IMG=53]="IMG",u[u.IMAGE=54]="IMAGE",u[u.INPUT=55]="INPUT",u[u.IFRAME=56]="IFRAME",u[u.KEYGEN=57]="KEYGEN",u[u.LABEL=58]="LABEL",u[u.LI=59]="LI",u[u.LINK=60]="LINK",u[u.LISTING=61]="LISTING",u[u.MAIN=62]="MAIN",u[u.MALIGNMARK=63]="MALIGNMARK",u[u.MARQUEE=64]="MARQUEE",u[u.MATH=65]="MATH",u[u.MENU=66]="MENU",u[u.META=67]="META",u[u.MGLYPH=68]="MGLYPH",u[u.MI=69]="MI",u[u.MO=70]="MO",u[u.MN=71]="MN",u[u.MS=72]="MS",u[u.MTEXT=73]="MTEXT",u[u.NAV=74]="NAV",u[u.NOBR=75]="NOBR",u[u.NOFRAMES=76]="NOFRAMES",u[u.NOEMBED=77]="NOEMBED",u[u.NOSCRIPT=78]="NOSCRIPT",u[u.OBJECT=79]="OBJECT",u[u.OL=80]="OL",u[u.OPTGROUP=81]="OPTGROUP",u[u.OPTION=82]="OPTION",u[u.P=83]="P",u[u.PARAM=84]="PARAM",u[u.PLAINTEXT=85]="PLAINTEXT",u[u.PRE=86]="PRE",u[u.RB=87]="RB",u[u.RP=88]="RP",u[u.RT=89]="RT",u[u.RTC=90]="RTC",u[u.RUBY=91]="RUBY",u[u.S=92]="S",u[u.SCRIPT=93]="SCRIPT",u[u.SECTION=94]="SECTION",u[u.SELECT=95]="SELECT",u[u.SOURCE=96]="SOURCE",u[u.SMALL=97]="SMALL",u[u.SPAN=98]="SPAN",u[u.STRIKE=99]="STRIKE",u[u.STRONG=100]="STRONG",u[u.STYLE=101]="STYLE",u[u.SUB=102]="SUB",u[u.SUMMARY=103]="SUMMARY",u[u.SUP=104]="SUP",u[u.TABLE=105]="TABLE",u[u.TBODY=106]="TBODY",u[u.TEMPLATE=107]="TEMPLATE",u[u.TEXTAREA=108]="TEXTAREA",u[u.TFOOT=109]="TFOOT",u[u.TD=110]="TD",u[u.TH=111]="TH",u[u.THEAD=112]="THEAD",u[u.TITLE=113]="TITLE",u[u.TR=114]="TR",u[u.TRACK=115]="TRACK",u[u.TT=116]="TT",u[u.U=117]="U",u[u.UL=118]="UL",u[u.SVG=119]="SVG",u[u.VAR=120]="VAR",u[u.WBR=121]="WBR",u[u.XMP=122]="XMP";let eu=new Map([[v.A,T.A],[v.ADDRESS,T.ADDRESS],[v.ANNOTATION_XML,T.ANNOTATION_XML],[v.APPLET,T.APPLET],[v.AREA,T.AREA],[v.ARTICLE,T.ARTICLE],[v.ASIDE,T.ASIDE],[v.B,T.B],[v.BASE,T.BASE],[v.BASEFONT,T.BASEFONT],[v.BGSOUND,T.BGSOUND],[v.BIG,T.BIG],[v.BLOCKQUOTE,T.BLOCKQUOTE],[v.BODY,T.BODY],[v.BR,T.BR],[v.BUTTON,T.BUTTON],[v.CAPTION,T.CAPTION],[v.CENTER,T.CENTER],[v.CODE,T.CODE],[v.COL,T.COL],[v.COLGROUP,T.COLGROUP],[v.DD,T.DD],[v.DESC,T.DESC],[v.DETAILS,T.DETAILS],[v.DIALOG,T.DIALOG],[v.DIR,T.DIR],[v.DIV,T.DIV],[v.DL,T.DL],[v.DT,T.DT],[v.EM,T.EM],[v.EMBED,T.EMBED],[v.FIELDSET,T.FIELDSET],[v.FIGCAPTION,T.FIGCAPTION],[v.FIGURE,T.FIGURE],[v.FONT,T.FONT],[v.FOOTER,T.FOOTER],[v.FOREIGN_OBJECT,T.FOREIGN_OBJECT],[v.FORM,T.FORM],[v.FRAME,T.FRAME],[v.FRAMESET,T.FRAMESET],[v.H1,T.H1],[v.H2,T.H2],[v.H3,T.H3],[v.H4,T.H4],[v.H5,T.H5],[v.H6,T.H6],[v.HEAD,T.HEAD],[v.HEADER,T.HEADER],[v.HGROUP,T.HGROUP],[v.HR,T.HR],[v.HTML,T.HTML],[v.I,T.I],[v.IMG,T.IMG],[v.IMAGE,T.IMAGE],[v.INPUT,T.INPUT],[v.IFRAME,T.IFRAME],[v.KEYGEN,T.KEYGEN],[v.LABEL,T.LABEL],[v.LI,T.LI],[v.LINK,T.LINK],[v.LISTING,T.LISTING],[v.MAIN,T.MAIN],[v.MALIGNMARK,T.MALIGNMARK],[v.MARQUEE,T.MARQUEE],[v.MATH,T.MATH],[v.MENU,T.MENU],[v.META,T.META],[v.MGLYPH,T.MGLYPH],[v.MI,T.MI],[v.MO,T.MO],[v.MN,T.MN],[v.MS,T.MS],[v.MTEXT,T.MTEXT],[v.NAV,T.NAV],[v.NOBR,T.NOBR],[v.NOFRAMES,T.NOFRAMES],[v.NOEMBED,T.NOEMBED],[v.NOSCRIPT,T.NOSCRIPT],[v.OBJECT,T.OBJECT],[v.OL,T.OL],[v.OPTGROUP,T.OPTGROUP],[v.OPTION,T.OPTION],[v.P,T.P],[v.PARAM,T.PARAM],[v.PLAINTEXT,T.PLAINTEXT],[v.PRE,T.PRE],[v.RB,T.RB],[v.RP,T.RP],[v.RT,T.RT],[v.RTC,T.RTC],[v.RUBY,T.RUBY],[v.S,T.S],[v.SCRIPT,T.SCRIPT],[v.SECTION,T.SECTION],[v.SELECT,T.SELECT],[v.SOURCE,T.SOURCE],[v.SMALL,T.SMALL],[v.SPAN,T.SPAN],[v.STRIKE,T.STRIKE],[v.STRONG,T.STRONG],[v.STYLE,T.STYLE],[v.SUB,T.SUB],[v.SUMMARY,T.SUMMARY],[v.SUP,T.SUP],[v.TABLE,T.TABLE],[v.TBODY,T.TBODY],[v.TEMPLATE,T.TEMPLATE],[v.TEXTAREA,T.TEXTAREA],[v.TFOOT,T.TFOOT],[v.TD,T.TD],[v.TH,T.TH],[v.THEAD,T.THEAD],[v.TITLE,T.TITLE],[v.TR,T.TR],[v.TRACK,T.TRACK],[v.TT,T.TT],[v.U,T.U],[v.UL,T.UL],[v.SVG,T.SVG],[v.VAR,T.VAR],[v.WBR,T.WBR],[v.XMP,T.XMP]]);function ed(e){var t;return null!==(t=eu.get(e))&&void 0!==t?t:T.UNKNOWN}let ep=T,ef={[b.HTML]:new Set([ep.ADDRESS,ep.APPLET,ep.AREA,ep.ARTICLE,ep.ASIDE,ep.BASE,ep.BASEFONT,ep.BGSOUND,ep.BLOCKQUOTE,ep.BODY,ep.BR,ep.BUTTON,ep.CAPTION,ep.CENTER,ep.COL,ep.COLGROUP,ep.DD,ep.DETAILS,ep.DIR,ep.DIV,ep.DL,ep.DT,ep.EMBED,ep.FIELDSET,ep.FIGCAPTION,ep.FIGURE,ep.FOOTER,ep.FORM,ep.FRAME,ep.FRAMESET,ep.H1,ep.H2,ep.H3,ep.H4,ep.H5,ep.H6,ep.HEAD,ep.HEADER,ep.HGROUP,ep.HR,ep.HTML,ep.IFRAME,ep.IMG,ep.INPUT,ep.LI,ep.LINK,ep.LISTING,ep.MAIN,ep.MARQUEE,ep.MENU,ep.META,ep.NAV,ep.NOEMBED,ep.NOFRAMES,ep.NOSCRIPT,ep.OBJECT,ep.OL,ep.P,ep.PARAM,ep.PLAINTEXT,ep.PRE,ep.SCRIPT,ep.SECTION,ep.SELECT,ep.SOURCE,ep.STYLE,ep.SUMMARY,ep.TABLE,ep.TBODY,ep.TD,ep.TEMPLATE,ep.TEXTAREA,ep.TFOOT,ep.TH,ep.THEAD,ep.TITLE,ep.TR,ep.TRACK,ep.UL,ep.WBR,ep.XMP]),[b.MATHML]:new Set([ep.MI,ep.MO,ep.MN,ep.MS,ep.MTEXT,ep.ANNOTATION_XML]),[b.SVG]:new Set([ep.TITLE,ep.FOREIGN_OBJECT,ep.DESC]),[b.XLINK]:new Set,[b.XML]:new Set,[b.XMLNS]:new Set};function eh(e){return e===ep.H1||e===ep.H2||e===ep.H3||e===ep.H4||e===ep.H5||e===ep.H6}v.STYLE,v.SCRIPT,v.XMP,v.IFRAME,v.NOEMBED,v.NOFRAMES,v.PLAINTEXT;let em=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);(d=S||(S={}))[d.DATA=0]="DATA",d[d.RCDATA=1]="RCDATA",d[d.RAWTEXT=2]="RAWTEXT",d[d.SCRIPT_DATA=3]="SCRIPT_DATA",d[d.PLAINTEXT=4]="PLAINTEXT",d[d.TAG_OPEN=5]="TAG_OPEN",d[d.END_TAG_OPEN=6]="END_TAG_OPEN",d[d.TAG_NAME=7]="TAG_NAME",d[d.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",d[d.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",d[d.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",d[d.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",d[d.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",d[d.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",d[d.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",d[d.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",d[d.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",d[d.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",d[d.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",d[d.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",d[d.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",d[d.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",d[d.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",d[d.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",d[d.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",d[d.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",d[d.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",d[d.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",d[d.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",d[d.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",d[d.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",d[d.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",d[d.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",d[d.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",d[d.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",d[d.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",d[d.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",d[d.BOGUS_COMMENT=40]="BOGUS_COMMENT",d[d.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",d[d.COMMENT_START=42]="COMMENT_START",d[d.COMMENT_START_DASH=43]="COMMENT_START_DASH",d[d.COMMENT=44]="COMMENT",d[d.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",d[d.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",d[d.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",d[d.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",d[d.COMMENT_END_DASH=49]="COMMENT_END_DASH",d[d.COMMENT_END=50]="COMMENT_END",d[d.COMMENT_END_BANG=51]="COMMENT_END_BANG",d[d.DOCTYPE=52]="DOCTYPE",d[d.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",d[d.DOCTYPE_NAME=54]="DOCTYPE_NAME",d[d.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",d[d.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",d[d.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",d[d.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",d[d.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",d[d.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",d[d.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",d[d.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",d[d.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",d[d.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",d[d.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",d[d.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",d[d.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",d[d.CDATA_SECTION=68]="CDATA_SECTION",d[d.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",d[d.CDATA_SECTION_END=70]="CDATA_SECTION_END",d[d.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",d[d.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",d[d.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",d[d.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",d[d.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",d[d.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",d[d.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",d[d.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END";let eg={DATA:S.DATA,RCDATA:S.RCDATA,RAWTEXT:S.RAWTEXT,SCRIPT_DATA:S.SCRIPT_DATA,PLAINTEXT:S.PLAINTEXT,CDATA_SECTION:S.CDATA_SECTION};function eb(e){return e>=h.DIGIT_0&&e<=h.DIGIT_9}function ey(e){return e>=h.LATIN_CAPITAL_A&&e<=h.LATIN_CAPITAL_Z}function eE(e){return e>=h.LATIN_SMALL_A&&e<=h.LATIN_SMALL_Z||ey(e)}function ev(e){return eE(e)||eb(e)}function eT(e){return e>=h.LATIN_CAPITAL_A&&e<=h.LATIN_CAPITAL_F}function eS(e){return e>=h.LATIN_SMALL_A&&e<=h.LATIN_SMALL_F}function eA(e){return e===h.SPACE||e===h.LINE_FEED||e===h.TABULATION||e===h.FORM_FEED}function eO(e){return eA(e)||e===h.SOLIDUS||e===h.GREATER_THAN_SIGN}class e_{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=S.DATA,this.returnState=S.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new es(t),this.currentLocation=this.getCurrentLocation(-1)}_err(e){var t,n;null===(n=(t=this.handler).onParseError)||void 0===n||n.call(t,this.preprocessor.getError(e))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw Error("Parser was already resumed");this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(e){this.consumedAfterSnapshot-=e,this.preprocessor.retreat(e)}_reconsumeInState(e,t){this.state=e,this._callState(t)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t0&&this._err(m.endTagWithAttributes),e.selfClosing&&this._err(m.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case g.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case g.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case g.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:g.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type!==e)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=t;return}}this._createCharacterToken(e,t)}_emitCodePoint(e){let t=eA(e)?g.WHITESPACE_CHARACTER:e===h.NULL?g.NULL_CHARACTER:g.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(g.CHARACTER,e)}_matchNamedCharacterReference(e){let t=null,n=0,r=!1;for(let i=0,o=ec.HP[0];i>=0&&!((i=(0,ec.Go)(ec.HP,o,i+1,e))<0);e=this._consume()){n+=1,o=ec.HP[i];let s=o&ec.ge.VALUE_LENGTH;if(s){var a;let o=(s>>14)-1;if(e!==h.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((a=this.preprocessor.peek(1))===h.EQUALS_SIGN||ev(a))?(t=[h.AMPERSAND],i+=o):(t=0===o?[ec.HP[i]&~ec.ge.VALUE_LENGTH]:1===o?[ec.HP[++i]]:[ec.HP[++i],ec.HP[++i]],n=0,r=e!==h.SEMICOLON),0===o){this._consume();break}}}return this._unconsume(n),r&&!this.preprocessor.endOfChunkHit&&this._err(m.missingSemicolonAfterCharacterReference),this._unconsume(1),t}_isCharacterReferenceInAttribute(){return this.returnState===S.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case S.DATA:this._stateData(e);break;case S.RCDATA:this._stateRcdata(e);break;case S.RAWTEXT:this._stateRawtext(e);break;case S.SCRIPT_DATA:this._stateScriptData(e);break;case S.PLAINTEXT:this._statePlaintext(e);break;case S.TAG_OPEN:this._stateTagOpen(e);break;case S.END_TAG_OPEN:this._stateEndTagOpen(e);break;case S.TAG_NAME:this._stateTagName(e);break;case S.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case S.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case S.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case S.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case S.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case S.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case S.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case S.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case S.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case S.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case S.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case S.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case S.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case S.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case S.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case S.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case S.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case S.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case S.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case S.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case S.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case S.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case S.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case S.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case S.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case S.BOGUS_COMMENT:this._stateBogusComment(e);break;case S.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case S.COMMENT_START:this._stateCommentStart(e);break;case S.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case S.COMMENT:this._stateComment(e);break;case S.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case S.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case S.COMMENT_END:this._stateCommentEnd(e);break;case S.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case S.DOCTYPE:this._stateDoctype(e);break;case S.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case S.DOCTYPE_NAME:this._stateDoctypeName(e);break;case S.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case S.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case S.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case S.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case S.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case S.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case S.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case S.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case S.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case S.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case S.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case S.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case S.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case S.CDATA_SECTION:this._stateCdataSection(e);break;case S.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case S.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case S.CHARACTER_REFERENCE:this._stateCharacterReference(e);break;case S.NAMED_CHARACTER_REFERENCE:this._stateNamedCharacterReference(e);break;case S.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;case S.NUMERIC_CHARACTER_REFERENCE:this._stateNumericCharacterReference(e);break;case S.HEXADEMICAL_CHARACTER_REFERENCE_START:this._stateHexademicalCharacterReferenceStart(e);break;case S.HEXADEMICAL_CHARACTER_REFERENCE:this._stateHexademicalCharacterReference(e);break;case S.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(e);break;case S.NUMERIC_CHARACTER_REFERENCE_END:this._stateNumericCharacterReferenceEnd(e);break;default:throw Error("Unknown state")}}_stateData(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.TAG_OPEN;break;case h.AMPERSAND:this.returnState=S.DATA,this.state=S.CHARACTER_REFERENCE;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitCodePoint(e);break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case h.AMPERSAND:this.returnState=S.RCDATA,this.state=S.CHARACTER_REFERENCE;break;case h.LESS_THAN_SIGN:this.state=S.RCDATA_LESS_THAN_SIGN;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.RAWTEXT_LESS_THAN_SIGN;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.SCRIPT_DATA_LESS_THAN_SIGN;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(eE(e))this._createStartTagToken(),this.state=S.TAG_NAME,this._stateTagName(e);else switch(e){case h.EXCLAMATION_MARK:this.state=S.MARKUP_DECLARATION_OPEN;break;case h.SOLIDUS:this.state=S.END_TAG_OPEN;break;case h.QUESTION_MARK:this._err(m.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=S.BOGUS_COMMENT,this._stateBogusComment(e);break;case h.EOF:this._err(m.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(m.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=S.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(eE(e))this._createEndTagToken(),this.state=S.TAG_NAME,this._stateTagName(e);else switch(e){case h.GREATER_THAN_SIGN:this._err(m.missingEndTagName),this.state=S.DATA;break;case h.EOF:this._err(m.eofBeforeTagName),this._emitChars("");break;case h.NULL:this._err(m.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case h.EOF:this._err(m.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===h.SOLIDUS?this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:eE(e)?(this._emitChars("<"),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=S.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){eE(e)?(this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("");break;case h.NULL:this._err(m.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case h.EOF:this._err(m.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===h.SOLIDUS?(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(er.SCRIPT,!1)&&eO(this.preprocessor.peek(er.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e1114111)this._err(m.characterReferenceOutsideUnicodeRange),this.charRefCode=h.REPLACEMENT_CHARACTER;else if(ea(this.charRefCode))this._err(m.surrogateCharacterReference),this.charRefCode=h.REPLACEMENT_CHARACTER;else if(eo(this.charRefCode))this._err(m.noncharacterCharacterReference);else if(ei(this.charRefCode)||this.charRefCode===h.CARRIAGE_RETURN){this._err(m.controlCharacterReference);let e=em.get(this.charRefCode);void 0!==e&&(this.charRefCode=e)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}}let ek=new Set([T.DD,T.DT,T.LI,T.OPTGROUP,T.OPTION,T.P,T.RB,T.RP,T.RT,T.RTC]),ex=new Set([...ek,T.CAPTION,T.COLGROUP,T.TBODY,T.TD,T.TFOOT,T.TH,T.THEAD,T.TR]),eC=new Map([[T.APPLET,b.HTML],[T.CAPTION,b.HTML],[T.HTML,b.HTML],[T.MARQUEE,b.HTML],[T.OBJECT,b.HTML],[T.TABLE,b.HTML],[T.TD,b.HTML],[T.TEMPLATE,b.HTML],[T.TH,b.HTML],[T.ANNOTATION_XML,b.MATHML],[T.MI,b.MATHML],[T.MN,b.MATHML],[T.MO,b.MATHML],[T.MS,b.MATHML],[T.MTEXT,b.MATHML],[T.DESC,b.SVG],[T.FOREIGN_OBJECT,b.SVG],[T.TITLE,b.SVG]]),ew=[T.H1,T.H2,T.H3,T.H4,T.H5,T.H6],eI=[T.TR,T.TEMPLATE,T.HTML],eN=[T.TBODY,T.TFOOT,T.THEAD,T.TEMPLATE,T.HTML],eR=[T.TABLE,T.TEMPLATE,T.HTML],eL=[T.TD,T.TH];class eD{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=T.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===T.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===b.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){let r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==b.HTML);this.shortenToLength(t<0?0:t)}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop=0;n--)if(e.includes(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return -1}clearBackTo(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(eR,b.HTML)}clearBackToTableBodyContext(){this.clearBackTo(eN,b.HTML)}clearBackToTableRowContext(){this.clearBackTo(eI,b.HTML)}remove(e){let t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===T.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===T.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(eC.get(n)===r)return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(eh(t)&&n===b.HTML)break;if(eC.get(t)===n)return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if((n===T.UL||n===T.OL)&&r===b.HTML||eC.get(n)===r)return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(n===T.BUTTON&&r===b.HTML||eC.get(n)===r)return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n===T.TABLE||n===T.TEMPLATE||n===T.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(n===b.HTML){if(t===T.TBODY||t===T.THEAD||t===T.TFOOT)break;if(t===T.TABLE||t===T.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n!==T.OPTION&&n!==T.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;ek.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;ex.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&ex.has(this.currentTagId);)this.pop()}}(p=A=A||(A={}))[p.Marker=0]="Marker",p[p.Element=1]="Element";let eP={type:A.Marker};class eM{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let n=[],r=t.length,a=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let e=0;e[e.name,e.value])),a=0;for(let e=0;er.get(e.name)===e.value)&&(a+=1)>=3&&this.entries.splice(t.idx,1)}}insertMarker(){this.entries.unshift(eP)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:A.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:A.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);t>=0&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(eP);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===A.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===A.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===A.Element&&t.element===e)}}function eF(e){return{nodeName:"#text",value:e,parentNode:null}}let ej={createDocument:()=>({nodeName:"#document",mode:E.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){let r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,n,r){let a=e.childNodes.find(e=>"#documentType"===e.nodeName);a?(a.name=t,a.publicId=n,a.systemId=r):ej.appendChild(e,{nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null})},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let n=e.childNodes[e.childNodes.length-1];if(ej.isTextNode(n)){n.value+=t;return}}ej.appendChild(e,eF(t))},insertTextBefore(e,t,n){let r=e.childNodes[e.childNodes.indexOf(n)-1];r&&ej.isTextNode(r)?r.value+=t:ej.insertBefore(e,eF(t),n)},adoptAttributes(e,t){let n=new Set(e.attrs.map(e=>e.name));for(let r=0;re.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},eB="html",eU=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],e$=[...eU,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],eG=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),eH=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],ez=[...eH,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function eZ(e,t){return t.some(t=>e.startsWith(t))}let eW={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},eV=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),eY=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:b.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:b.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:b.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:b.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:b.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:b.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:b.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:b.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:b.XML}],["xml:space",{prefix:"xml",name:"space",namespace:b.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:b.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:b.XMLNS}]]),eq=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),eX=new Set([T.B,T.BIG,T.BLOCKQUOTE,T.BODY,T.BR,T.CENTER,T.CODE,T.DD,T.DIV,T.DL,T.DT,T.EM,T.EMBED,T.H1,T.H2,T.H3,T.H4,T.H5,T.H6,T.HEAD,T.HR,T.I,T.IMG,T.LI,T.LISTING,T.MENU,T.META,T.NOBR,T.OL,T.P,T.PRE,T.RUBY,T.S,T.SMALL,T.SPAN,T.STRONG,T.STRIKE,T.SUB,T.SUP,T.TABLE,T.TT,T.U,T.UL,T.VAR]);function eK(e){for(let t=0;t0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null===(r=(n=this.treeAdapter).onItemPop)||void 0===r||r.call(n,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let n=e===this.document||this.treeAdapter.getNamespaceURI(e)===b.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,b.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=O.TEXT}switchToPlaintextParsing(){this.insertionMode=O.TEXT,this.originalInsertionMode=O.IN_BODY,this.tokenizer.state=eg.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===v.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===b.HTML)switch(this.fragmentContextID){case T.TITLE:case T.TEXTAREA:this.tokenizer.state=eg.RCDATA;break;case T.STYLE:case T.XMP:case T.IFRAME:case T.NOEMBED:case T.NOFRAMES:case T.NOSCRIPT:this.tokenizer.state=eg.RAWTEXT;break;case T.SCRIPT:this.tokenizer.state=eg.SCRIPT_DATA;break;case T.PLAINTEXT:this.tokenizer.state=eg.PLAINTEXT}}_setDocumentType(e){let t=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){let t=this.treeAdapter.getChildNodes(this.document),n=t.find(e=>this.treeAdapter.isDocumentTypeNode(e));n&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){let n=this.treeAdapter.createElement(e,b.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,b.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(v.HTML,b.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,T.HTML)}_appendCommentNode(e,t){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let r=this.treeAdapter.getChildNodes(t),a=n?r.lastIndexOf(n):r.length,i=r[a-1],o=this.treeAdapter.getNodeSourceCodeLocation(i);if(o){let{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let n=t.location,r=this.treeAdapter.getTagName(e),a=t.type===g.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,a)}}shouldProcessStartTagTokenInForeignContent(e){let t,n;return!!this.currentNotInHTML&&(0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):{current:t,currentTagId:n}=this.openElements,(e.tagID!==T.SVG||this.treeAdapter.getTagName(t)!==v.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==b.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===T.MGLYPH||e.tagID===T.MALIGNMARK)&&!this._isIntegrationPoint(n,t,b.HTML)))}_processToken(e){switch(e.type){case g.CHARACTER:this.onCharacter(e);break;case g.NULL_CHARACTER:this.onNullCharacter(e);break;case g.COMMENT:this.onComment(e);break;case g.DOCTYPE:this.onDoctype(e);break;case g.START_TAG:this._processStartTag(e);break;case g.END_TAG:this.onEndTag(e);break;case g.EOF:this.onEof(e);break;case g.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){let r=this.treeAdapter.getNamespaceURI(t),a=this.treeAdapter.getAttrList(t);return(!n||n===b.HTML)&&function(e,t,n){if(t===b.MATHML&&e===T.ANNOTATION_XML){for(let e=0;ee.type===A.Marker||this.openElements.contains(e.element)),n=t<0?e-1:t-1;for(let e=n;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=O.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(T.P),this.openElements.popUntilTagNamePopped(T.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case T.TR:this.insertionMode=O.IN_ROW;return;case T.TBODY:case T.THEAD:case T.TFOOT:this.insertionMode=O.IN_TABLE_BODY;return;case T.CAPTION:this.insertionMode=O.IN_CAPTION;return;case T.COLGROUP:this.insertionMode=O.IN_COLUMN_GROUP;return;case T.TABLE:this.insertionMode=O.IN_TABLE;return;case T.BODY:this.insertionMode=O.IN_BODY;return;case T.FRAMESET:this.insertionMode=O.IN_FRAMESET;return;case T.SELECT:this._resetInsertionModeForSelect(e);return;case T.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case T.HTML:this.insertionMode=this.headElement?O.AFTER_HEAD:O.BEFORE_HEAD;return;case T.TD:case T.TH:if(e>0){this.insertionMode=O.IN_CELL;return}break;case T.HEAD:if(e>0){this.insertionMode=O.IN_HEAD;return}}this.insertionMode=O.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===T.TEMPLATE)break;if(e===T.TABLE){this.insertionMode=O.IN_SELECT_IN_TABLE;return}}this.insertionMode=O.IN_SELECT}_isElementCausesFosterParenting(e){return e1.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case T.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===b.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case T.TABLE:{let n=this.treeAdapter.getParentNode(t);if(n)return{parent:n,beforeElement:t};return{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){let n=this.treeAdapter.getNamespaceURI(e);return ef[n].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){this._insertCharacters(e),this.framesetOk=!1;return}switch(this.insertionMode){case O.INITIAL:e8(this,e);break;case O.BEFORE_HTML:e9(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.IN_BODY:case O.IN_CAPTION:case O.IN_CELL:case O.IN_TEMPLATE:ts(this,e);break;case O.TEXT:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tg(this,e);break;case O.IN_TABLE_TEXT:tT(this,e);break;case O.IN_COLUMN_GROUP:t_(this,e);break;case O.AFTER_BODY:tD(this,e);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){e.chars="�",this._insertCharacters(e);return}switch(this.insertionMode){case O.INITIAL:e8(this,e);break;case O.BEFORE_HTML:e9(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.TEXT:this._insertCharacters(e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tg(this,e);break;case O.IN_COLUMN_GROUP:t_(this,e);break;case O.AFTER_BODY:tD(this,e);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){e5(this,e);return}switch(this.insertionMode){case O.INITIAL:case O.BEFORE_HTML:case O.BEFORE_HEAD:case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:case O.IN_BODY:case O.IN_TABLE:case O.IN_CAPTION:case O.IN_COLUMN_GROUP:case O.IN_TABLE_BODY:case O.IN_ROW:case O.IN_CELL:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:case O.IN_TEMPLATE:case O.IN_FRAMESET:case O.AFTER_FRAMESET:e5(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case O.INITIAL:!function(e,t){e._setDocumentType(t);let n=t.forceQuirks?E.QUIRKS:function(e){if(e.name!==eB)return E.QUIRKS;let{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return E.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),eG.has(n))return E.QUIRKS;let e=null===t?e$:eU;if(eZ(n,e))return E.QUIRKS;if(eZ(n,e=null===t?eH:ez))return E.LIMITED_QUIRKS}return E.NO_QUIRKS}(t);t.name===eB&&null===t.publicId&&(null===t.systemId||"about:legacy-compat"===t.systemId)||e._err(t,m.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=O.BEFORE_HTML}(this,e);break;case O.BEFORE_HEAD:case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:this._err(e,m.misplacedDoctype);break;case O.IN_TABLE_TEXT:tS(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,m.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){let t=e.tagID,n=t===T.FONT&&e.attrs.some(({name:e})=>e===y.COLOR||e===y.SIZE||e===y.FACE);return n||eX.has(t)}(t))tM(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===b.MATHML?eK(t):r===b.SVG&&(function(e){let t=eq.get(e.tagName);null!=t&&(e.tagName=t,e.tagID=ed(e.tagName))}(t),eQ(t)),eJ(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case O.INITIAL:e8(this,e);break;case O.BEFORE_HTML:e.tagID===T.HTML?(this._insertElement(e,b.HTML),this.insertionMode=O.BEFORE_HEAD):e9(this,e);break;case O.BEFORE_HEAD:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.HEAD:e._insertElement(t,b.HTML),e.headElement=e.openElements.current,e.insertionMode=O.IN_HEAD;break;default:e7(e,t)}}(this,e);break;case O.IN_HEAD:te(this,e);break;case O.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BASEFONT:case T.BGSOUND:case T.HEAD:case T.LINK:case T.META:case T.NOFRAMES:case T.STYLE:te(e,t);break;case T.NOSCRIPT:e._err(t,m.nestedNoscriptInHead);break;default:tr(e,t)}}(this,e);break;case O.AFTER_HEAD:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BODY:e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=O.IN_BODY;break;case T.FRAMESET:e._insertElement(t,b.HTML),e.insertionMode=O.IN_FRAMESET;break;case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:e._err(t,m.abandonedHeadElementChild),e.openElements.push(e.headElement,T.HEAD),te(e,t),e.openElements.remove(e.headElement);break;case T.HEAD:e._err(t,m.misplacedStartTagForHeadElement);break;default:ta(e,t)}}(this,e);break;case O.IN_BODY:tp(this,e);break;case O.IN_TABLE:tb(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_CAPTION:!function(e,t){let n=t.tagID;tA.has(n)?e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_TABLE,tb(e,t)):tp(e,t)}(this,e);break;case O.IN_COLUMN_GROUP:tO(this,e);break;case O.IN_TABLE_BODY:tk(this,e);break;case O.IN_ROW:tC(this,e);break;case O.IN_CELL:!function(e,t){let n=t.tagID;tA.has(n)?(e.openElements.hasInTableScope(T.TD)||e.openElements.hasInTableScope(T.TH))&&(e._closeTableCell(),tC(e,t)):tp(e,t)}(this,e);break;case O.IN_SELECT:tI(this,e);break;case O.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e._processStartTag(t)):tI(e,t)}(this,e);break;case O.IN_TEMPLATE:!function(e,t){switch(t.tagID){case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:te(e,t);break;case T.CAPTION:case T.COLGROUP:case T.TBODY:case T.TFOOT:case T.THEAD:e.tmplInsertionModeStack[0]=O.IN_TABLE,e.insertionMode=O.IN_TABLE,tb(e,t);break;case T.COL:e.tmplInsertionModeStack[0]=O.IN_COLUMN_GROUP,e.insertionMode=O.IN_COLUMN_GROUP,tO(e,t);break;case T.TR:e.tmplInsertionModeStack[0]=O.IN_TABLE_BODY,e.insertionMode=O.IN_TABLE_BODY,tk(e,t);break;case T.TD:case T.TH:e.tmplInsertionModeStack[0]=O.IN_ROW,e.insertionMode=O.IN_ROW,tC(e,t);break;default:e.tmplInsertionModeStack[0]=O.IN_BODY,e.insertionMode=O.IN_BODY,tp(e,t)}}(this,e);break;case O.AFTER_BODY:e.tagID===T.HTML?tp(this,e):tD(this,e);break;case O.IN_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.FRAMESET:e._insertElement(t,b.HTML);break;case T.FRAME:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.NOFRAMES:te(e,t)}}(this,e);break;case O.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.NOFRAMES:te(e,t)}}(this,e);break;case O.AFTER_AFTER_BODY:e.tagID===T.HTML?tp(this,e):tP(this,e);break;case O.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.NOFRAMES:te(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===T.P||t.tagID===T.BR){tM(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){let r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===b.HTML){e._endTagOutsideForeignContent(t);break}let a=e.treeAdapter.getTagName(r);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){var t;switch(this.insertionMode){case O.INITIAL:e8(this,e);break;case O.BEFORE_HTML:!function(e,t){let n=t.tagID;(n===T.HTML||n===T.HEAD||n===T.BODY||n===T.BR)&&e9(e,t)}(this,e);break;case O.BEFORE_HEAD:!function(e,t){let n=t.tagID;n===T.HEAD||n===T.BODY||n===T.HTML||n===T.BR?e7(e,t):e._err(t,m.endTagWithoutMatchingOpenElement)}(this,e);break;case O.IN_HEAD:!function(e,t){switch(t.tagID){case T.HEAD:e.openElements.pop(),e.insertionMode=O.AFTER_HEAD;break;case T.BODY:case T.BR:case T.HTML:tn(e,t);break;case T.TEMPLATE:tt(e,t);break;default:e._err(t,m.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case T.NOSCRIPT:e.openElements.pop(),e.insertionMode=O.IN_HEAD;break;case T.BR:tr(e,t);break;default:e._err(t,m.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.AFTER_HEAD:!function(e,t){switch(t.tagID){case T.BODY:case T.HTML:case T.BR:ta(e,t);break;case T.TEMPLATE:tt(e,t);break;default:e._err(t,m.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.IN_BODY:th(this,e);break;case O.TEXT:e.tagID===T.SCRIPT&&(null===(t=this.scriptHandler)||void 0===t||t.call(this,this.openElements.current)),this.openElements.pop(),this.insertionMode=this.originalInsertionMode;break;case O.IN_TABLE:ty(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_CAPTION:!function(e,t){let n=t.tagID;switch(n){case T.CAPTION:case T.TABLE:e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_TABLE,n===T.TABLE&&ty(e,t));break;case T.BODY:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:th(e,t)}}(this,e);break;case O.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case T.COLGROUP:e.openElements.currentTagId===T.COLGROUP&&(e.openElements.pop(),e.insertionMode=O.IN_TABLE);break;case T.TEMPLATE:tt(e,t);break;case T.COL:break;default:t_(e,t)}}(this,e);break;case O.IN_TABLE_BODY:tx(this,e);break;case O.IN_ROW:tw(this,e);break;case O.IN_CELL:!function(e,t){let n=t.tagID;switch(n){case T.TD:case T.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_ROW);break;case T.TABLE:case T.TBODY:case T.TFOOT:case T.THEAD:case T.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),tw(e,t));break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:break;default:th(e,t)}}(this,e);break;case O.IN_SELECT:tN(this,e);break;case O.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e.onEndTag(t)):tN(e,t)}(this,e);break;case O.IN_TEMPLATE:e.tagID===T.TEMPLATE&&tt(this,e);break;case O.AFTER_BODY:tL(this,e);break;case O.IN_FRAMESET:e.tagID!==T.FRAMESET||this.openElements.isRootHtmlElementCurrent()||(this.openElements.pop(),this.fragmentContext||this.openElements.currentTagId===T.FRAMESET||(this.insertionMode=O.AFTER_FRAMESET));break;case O.AFTER_FRAMESET:e.tagID===T.HTML&&(this.insertionMode=O.AFTER_AFTER_FRAMESET);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onEof(e){switch(this.insertionMode){case O.INITIAL:e8(this,e);break;case O.BEFORE_HTML:e9(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.IN_BODY:case O.IN_TABLE:case O.IN_CAPTION:case O.IN_COLUMN_GROUP:case O.IN_TABLE_BODY:case O.IN_ROW:case O.IN_CELL:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:tm(this,e);break;case O.TEXT:this._err(e,m.eofInElementThatCanContainOnlyText),this.openElements.pop(),this.insertionMode=this.originalInsertionMode,this.onEof(e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_TEMPLATE:tR(this,e);break;case O.AFTER_BODY:case O.IN_FRAMESET:case O.AFTER_FRAMESET:case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:e6(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===h.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:case O.TEXT:case O.IN_COLUMN_GROUP:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:case O.IN_FRAMESET:case O.AFTER_FRAMESET:this._insertCharacters(e);break;case O.IN_BODY:case O.IN_CAPTION:case O.IN_CELL:case O.IN_TEMPLATE:case O.AFTER_BODY:case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:to(this,e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tg(this,e);break;case O.IN_TABLE_TEXT:tv(this,e)}}}function e4(e,t){for(let n=0;n<8;n++){let n=function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):tf(e,t),n}(e,t);if(!n)break;let r=function(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){let a=e.openElements.items[r];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[r])&&(n=a)}return n||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;let a=function(e,t,n){let r=t,a=e.openElements.getCommonAncestor(t);for(let i=0,o=a;o!==n;i++,o=a){a=e.openElements.getCommonAncestor(o);let n=e.activeFormattingElements.getElementEntry(o),s=n&&i>=3,l=!n||s;l?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(o)):(o=function(e,t){let n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}(e,r,n.element),i=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(a),i&&function(e,t,n){let r=e.treeAdapter.getTagName(t),a=ed(r);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(n);else{let r=e.treeAdapter.getNamespaceURI(t);a===T.TEMPLATE&&r===b.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}(e,i,a),function(e,t,n){let r=e.treeAdapter.getNamespaceURI(n.element),{token:a}=n,i=e.treeAdapter.createElement(a.tagName,r,a.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,a),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,a.tagID)}(e,r,n)}}function e5(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function e6(e,t){if(e.stopped=!0,t.location){let n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){let n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function e8(e,t){e._err(t,m.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,E.QUIRKS),e.insertionMode=O.BEFORE_HTML,e._processToken(t)}function e9(e,t){e._insertFakeRootElement(),e.insertionMode=O.BEFORE_HEAD,e._processToken(t)}function e7(e,t){e._insertFakeElement(v.HEAD,T.HEAD),e.headElement=e.openElements.current,e.insertionMode=O.IN_HEAD,e._processToken(t)}function te(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.TITLE:e._switchToTextParsing(t,eg.RCDATA);break;case T.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,eg.RAWTEXT):(e._insertElement(t,b.HTML),e.insertionMode=O.IN_HEAD_NO_SCRIPT);break;case T.NOFRAMES:case T.STYLE:e._switchToTextParsing(t,eg.RAWTEXT);break;case T.SCRIPT:e._switchToTextParsing(t,eg.SCRIPT_DATA);break;case T.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=O.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(O.IN_TEMPLATE);break;case T.HEAD:e._err(t,m.misplacedStartTagForHeadElement);break;default:tn(e,t)}}function tt(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==T.TEMPLATE&&e._err(t,m.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,m.endTagWithoutMatchingOpenElement)}function tn(e,t){e.openElements.pop(),e.insertionMode=O.AFTER_HEAD,e._processToken(t)}function tr(e,t){let n=t.type===g.EOF?m.openElementsLeftAfterEof:m.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=O.IN_HEAD,e._processToken(t)}function ta(e,t){e._insertFakeElement(v.BODY,T.BODY),e.insertionMode=O.IN_BODY,ti(e,t)}function ti(e,t){switch(t.type){case g.CHARACTER:ts(e,t);break;case g.WHITESPACE_CHARACTER:to(e,t);break;case g.COMMENT:e5(e,t);break;case g.START_TAG:tp(e,t);break;case g.END_TAG:th(e,t);break;case g.EOF:tm(e,t)}}function to(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function ts(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function tl(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function tc(e){let t=el(e,y.TYPE);return null!=t&&"hidden"===t.toLowerCase()}function tu(e,t){e._switchToTextParsing(t,eg.RAWTEXT)}function td(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML)}function tp(e,t){switch(t.tagID){case T.I:case T.S:case T.B:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.SMALL:case T.STRIKE:case T.STRONG:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case T.A:!function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(v.A);n&&(e4(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),eh(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,b.HTML);break;case T.P:case T.DL:case T.OL:case T.UL:case T.DIV:case T.DIR:case T.NAV:case T.MAIN:case T.MENU:case T.ASIDE:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.DETAILS:case T.ADDRESS:case T.ARTICLE:case T.SECTION:case T.SUMMARY:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML);break;case T.LI:case T.DD:case T.DT:!function(e,t){e.framesetOk=!1;let n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let r=e.openElements.tagIDs[t];if(n===T.LI&&r===T.LI||(n===T.DD||n===T.DT)&&(r===T.DD||r===T.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==T.ADDRESS&&r!==T.DIV&&r!==T.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML)}(e,t);break;case T.BR:case T.IMG:case T.WBR:case T.AREA:case T.EMBED:case T.KEYGEN:tl(e,t);break;case T.HR:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0;break;case T.RB:case T.RTC:e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,b.HTML);break;case T.RT:case T.RP:e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(T.RTC),e._insertElement(t,b.HTML);break;case T.PRE:case T.LISTING:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.framesetOk=!1;break;case T.XMP:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,eg.RAWTEXT);break;case T.SVG:e._reconstructActiveFormattingElements(),eQ(t),eJ(t),t.selfClosing?e._appendElement(t,b.SVG):e._insertElement(t,b.SVG),t.ackSelfClosing=!0;break;case T.HTML:0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs);break;case T.BASE:case T.LINK:case T.META:case T.STYLE:case T.TITLE:case T.SCRIPT:case T.BGSOUND:case T.BASEFONT:case T.TEMPLATE:te(e,t);break;case T.BODY:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t);break;case T.FORM:!function(e,t){let n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),n||(e.formElement=e.openElements.current))}(e,t);break;case T.NOBR:e._reconstructActiveFormattingElements(),e.openElements.hasInScope(T.NOBR)&&(e4(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case T.MATH:e._reconstructActiveFormattingElements(),eK(t),eJ(t),t.selfClosing?e._appendElement(t,b.MATHML):e._insertElement(t,b.MATHML),t.ackSelfClosing=!0;break;case T.TABLE:e.treeAdapter.getDocumentMode(e.document)!==E.QUIRKS&&e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=O.IN_TABLE;break;case T.INPUT:e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),tc(t)||(e.framesetOk=!1),t.ackSelfClosing=!0;break;case T.PARAM:case T.TRACK:case T.SOURCE:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.IMAGE:t.tagName=v.IMG,t.tagID=T.IMG,tl(e,t);break;case T.BUTTON:e.openElements.hasInScope(T.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1;break;case T.APPLET:case T.OBJECT:case T.MARQUEE:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1;break;case T.IFRAME:e.framesetOk=!1,e._switchToTextParsing(t,eg.RAWTEXT);break;case T.SELECT:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===O.IN_TABLE||e.insertionMode===O.IN_CAPTION||e.insertionMode===O.IN_TABLE_BODY||e.insertionMode===O.IN_ROW||e.insertionMode===O.IN_CELL?O.IN_SELECT_IN_TABLE:O.IN_SELECT;break;case T.OPTION:case T.OPTGROUP:e.openElements.currentTagId===T.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML);break;case T.NOEMBED:tu(e,t);break;case T.FRAMESET:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_FRAMESET)}(e,t);break;case T.TEXTAREA:e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.tokenizer.state=eg.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=O.TEXT;break;case T.NOSCRIPT:e.options.scriptingEnabled?tu(e,t):td(e,t);break;case T.PLAINTEXT:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.tokenizer.state=eg.PLAINTEXT;break;case T.COL:case T.TH:case T.TD:case T.TR:case T.HEAD:case T.FRAME:case T.TBODY:case T.TFOOT:case T.THEAD:case T.CAPTION:case T.COLGROUP:break;default:td(e,t)}}function tf(e,t){let n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let a=e.openElements.items[t],i=e.openElements.tagIDs[t];if(r===i&&(r!==T.UNKNOWN||e.treeAdapter.getTagName(a)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(a,i))break}}function th(e,t){switch(t.tagID){case T.A:case T.B:case T.I:case T.S:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.NOBR:case T.SMALL:case T.STRIKE:case T.STRONG:e4(e,t);break;case T.P:e.openElements.hasInButtonScope(T.P)||e._insertFakeElement(v.P,T.P),e._closePElement();break;case T.DL:case T.UL:case T.OL:case T.DIR:case T.DIV:case T.NAV:case T.PRE:case T.MAIN:case T.MENU:case T.ASIDE:case T.BUTTON:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.ADDRESS:case T.ARTICLE:case T.DETAILS:case T.SECTION:case T.SUMMARY:case T.LISTING:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case T.LI:e.openElements.hasInListItemScope(T.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(T.LI),e.openElements.popUntilTagNamePopped(T.LI));break;case T.DD:case T.DT:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped());break;case T.BR:e._reconstructActiveFormattingElements(),e._insertFakeElement(v.BR,T.BR),e.openElements.pop(),e.framesetOk=!1;break;case T.BODY:!function(e,t){if(e.openElements.hasInScope(T.BODY)&&(e.insertionMode=O.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}(e,t);break;case T.HTML:e.openElements.hasInScope(T.BODY)&&(e.insertionMode=O.AFTER_BODY,tL(e,t));break;case T.FORM:!function(e){let t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(T.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(T.FORM):n&&e.openElements.remove(n))}(e);break;case T.APPLET:case T.OBJECT:case T.MARQUEE:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}(e,t);break;case T.TEMPLATE:tt(e,t);break;default:tf(e,t)}}function tm(e,t){e.tmplInsertionModeStack.length>0?tR(e,t):e6(e,t)}function tg(e,t){if(e1.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=O.IN_TABLE_TEXT,t.type){case g.CHARACTER:tT(e,t);break;case g.WHITESPACE_CHARACTER:tv(e,t)}else tE(e,t)}function tb(e,t){switch(t.tagID){case T.TD:case T.TH:case T.TR:e.openElements.clearBackToTableContext(),e._insertFakeElement(v.TBODY,T.TBODY),e.insertionMode=O.IN_TABLE_BODY,tk(e,t);break;case T.STYLE:case T.SCRIPT:case T.TEMPLATE:te(e,t);break;case T.COL:e.openElements.clearBackToTableContext(),e._insertFakeElement(v.COLGROUP,T.COLGROUP),e.insertionMode=O.IN_COLUMN_GROUP,tO(e,t);break;case T.FORM:e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,b.HTML),e.formElement=e.openElements.current,e.openElements.pop());break;case T.TABLE:e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode(),e._processStartTag(t));break;case T.TBODY:case T.TFOOT:case T.THEAD:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_TABLE_BODY;break;case T.INPUT:tc(t)?e._appendElement(t,b.HTML):tE(e,t),t.ackSelfClosing=!0;break;case T.CAPTION:e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_CAPTION;break;case T.COLGROUP:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_COLUMN_GROUP;break;default:tE(e,t)}}function ty(e,t){switch(t.tagID){case T.TABLE:e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode());break;case T.TEMPLATE:tt(e,t);break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:tE(e,t)}}function tE(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,ti(e,t),e.fosterParentingEnabled=n}function tv(e,t){e.pendingCharacterTokens.push(t)}function tT(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function tS(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0&&e.openElements.currentTagId===T.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===T.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===T.OPTGROUP&&e.openElements.pop();break;case T.OPTION:e.openElements.currentTagId===T.OPTION&&e.openElements.pop();break;case T.SELECT:e.openElements.hasInSelectScope(T.SELECT)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode());break;case T.TEMPLATE:tt(e,t)}}function tR(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):e6(e,t)}function tL(e,t){var n;if(t.tagID===T.HTML){if(e.fragmentContext||(e.insertionMode=O.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===T.HTML){e._setEndLocation(e.openElements.items[0],t);let r=e.openElements.items[1];!r||(null===(n=e.treeAdapter.getNodeSourceCodeLocation(r))||void 0===n?void 0:n.endTag)||e._setEndLocation(r,t)}}else tD(e,t)}function tD(e,t){e.insertionMode=O.IN_BODY,ti(e,t)}function tP(e,t){e.insertionMode=O.IN_BODY,ti(e,t)}function tM(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==b.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}n(43470),v.AREA,v.BASE,v.BASEFONT,v.BGSOUND,v.BR,v.COL,v.EMBED,v.FRAME,v.HR,v.IMG,v.INPUT,v.KEYGEN,v.LINK,v.META,v.PARAM,v.SOURCE,v.TRACK,v.WBR;var tF=n(3980),tj=n(21623);let tB=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),tU={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function t$(e,t){let n=function(e){let t="root"===e.type?e.children[0]:e;return!!(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName.toLowerCase()))}(e),r=q("type",{handlers:{root:tH,element:tz,text:tZ,comment:tV,doctype:tW,raw:tY},unknown:tq}),a={parser:n?new e3(tU):e3.getFragmentParser(void 0,tU),handle(e){r(e,a)},stitches:!1,options:t||{}};r(e,a),tX(a,(0,tF.Pk)());let i=n?a.parser.document:a.parser.getFragment(),o=function(e,t){let n=t||{};return H({file:n.file||void 0,location:!1,schema:"svg"===n.space?x.YP:x.dy,verbose:n.verbose||!1},e)}(i,{file:a.options.file});return(a.stitches&&(0,tj.Vn)(o,"comment",function(e,t,n){if(e.value.stitch&&n&&void 0!==t){let r=n.children;return r[t]=e.value.stitch,t}}),"root"===o.type&&1===o.children.length&&o.children[0].type===e.type)?o.children[0]:o}function tG(e,t){let n=-1;if(e)for(;++n4&&(t.parser.tokenizer.state=0);let n={type:g.CHARACTER,chars:e.value,location:tQ(e)};tX(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tW(e,t){let n={type:g.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:tQ(e)};tX(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tV(e,t){let n=e.value,r={type:g.COMMENT,data:n,location:tQ(e)};tX(t,(0,tF.Pk)(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function tY(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,tK(t,(0,tF.Pk)(e)),t.parser.tokenizer.write(e.value,!1),t.parser.tokenizer._runParsingLoop(),72===t.parser.tokenizer.state||78===t.parser.tokenizer.state){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;let e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function tq(e,t){if(t.options.passThrough&&t.options.passThrough.includes(e.type))!function(e,t){t.stitches=!0;let n="children"in e?(0,_.ZP)({...e,children:[]}):(0,_.ZP)(e);if("children"in e&&"children"in n){let r=t$({type:"root",children:e.children},t.options);n.children=r.children}tV({type:"comment",value:{stitch:n}},t)}(e,t);else{let t="";throw tB.has(e.type)&&(t=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),Error("Cannot compile `"+e.type+"` node"+t)}}function tX(e,t){tK(e,t);let n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=eg.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function tK(e,t){if(t&&void 0!==t.offset){let n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function tQ(e){let t=(0,tF.Pk)(e)||{line:void 0,column:void 0,offset:void 0},n=(0,tF.rb)(e)||{line:void 0,column:void 0,offset:void 0},r={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset};return r}function tJ(e){return function(t,n){let r=t$(t,{...e,file:n});return r}}},78600:function(e,t,n){"use strict";function r(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,a=n.indexOf(t);for(;-1!==a;)r++,a=n.indexOf(t,a+t.length);return r}n.d(t,{Z:function(){return eQ}});var a=n(24345),i=n(15459),o=n(88718),s=n(96093);let l="phrasing",c=["autolink","link","image","label"];function u(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function d(e){this.config.enter.autolinkProtocol.call(this,e)}function p(e){this.config.exit.autolinkProtocol.call(this,e)}function f(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];(0,a.ok)("link"===t.type),t.url="http://"+this.sliceSerialize(e)}function h(e){this.config.exit.autolinkEmail.call(this,e)}function m(e){this.exit(e)}function g(e){!function(e,t,n){let r=(0,s.O)((n||{}).ignore||[]),a=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r0?{type:"text",value:i}:void 0),!1===i?r.lastIndex=n+1:(s!==n&&d.push({type:"text",value:e.value.slice(s,n)}),Array.isArray(i)?d.push(...i):i&&d.push(i),s=n+p[0].length,u=!0),!r.global)break;p=r.exec(e.value)}return u?(s?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],a=n.indexOf(")"),i=r(e,"("),o=r(e,")");for(;-1!==a&&i>o;)e+=n.slice(0,a+1),a=(n=n.slice(a+1)).indexOf(")"),o++;return[e,n]}(n+a);if(!s[0])return!1;let l={type:"link",title:null,url:o+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[l,{type:"text",value:s[1]}]:l}function y(e,t,n,r){return!(!E(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function E(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||(0,i.B8)(n)||(0,i.Xh)(n))&&(!t||47!==n)}var v=n(11098);function T(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function S(){this.buffer()}function A(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteDefinition"===n.type),n.label=t,n.identifier=(0,v.d)(this.sliceSerialize(e)).toLowerCase()}function O(e){this.exit(e)}function _(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function k(){this.buffer()}function x(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteReference"===n.type),n.label=t,n.identifier=(0,v.d)(this.sliceSerialize(e)).toLowerCase()}function C(e){this.exit(e)}function w(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteReference"),s=n.enter("reference");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),o(),i+=a.move("]")}function I(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteDefinition"),s=n.enter("label");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),i+=a.move("]:"+(e.children&&e.children.length>0?" ":"")),a.shift(4),i+=a.move(n.indentLines(n.containerFlow(e,a.current()),N)),o(),i}function N(e,t,n){return 0===t?e:(n?"":" ")+e}w.peek=function(){return"["};let R=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function L(e){this.enter({type:"delete",children:[]},e)}function D(e){this.exit(e)}function P(e,t,n,r){let a=n.createTracker(r),i=n.enter("strikethrough"),o=a.move("~~");return o+=n.containerPhrasing(e,{...a.current(),before:o,after:"~"})+a.move("~~"),i(),o}function M(e){return e.length}function F(e){let t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function j(e,t,n){return">"+(n?"":" ")+e}function B(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),c+=l.move(")"),o(),c}function q(e,t,n,r){let a=e.referenceType,i=n.enter("imageReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("!["),c=n.safe(e.alt,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function X(e,t,n){let r=e.value||"",a="`",i=-1;for(;RegExp("(^|[^`])"+a+"([^`]|$)").test(r);)a+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i\u007F]/.test(e.url))}function Q(e,t,n,r){let a,i;let o=H(n),s='"'===o?"Quote":"Apostrophe",l=n.createTracker(r);if(K(e,n)){let t=n.stack;n.stack=[],a=n.enter("autolink");let r=l.move("<");return r+=l.move(n.containerPhrasing(e,{before:r,after:">",...l.current()}))+l.move(">"),a(),n.stack=t,r}a=n.enter("link"),i=n.enter("label");let c=l.move("[");return c+=l.move(n.containerPhrasing(e,{before:c,after:"](",...l.current()}))+l.move("]("),i(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(i=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(i=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),i(),e.title&&(i=n.enter(`title${s}`),c+=l.move(" "+o),c+=l.move(n.safe(e.title,{before:c,after:o,...l.current()}))+l.move(o),i()),c+=l.move(")"),a(),c}function J(e,t,n,r){let a=e.referenceType,i=n.enter("linkReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("["),c=n.containerPhrasing(e,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function ee(e){let t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function et(e){let t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}V.peek=function(){return"<"},Y.peek=function(){return"!"},q.peek=function(){return"!"},X.peek=function(){return"`"},Q.peek=function(e,t,n){return K(e,n)?"<":"["},J.peek=function(){return"["};let en=(0,s.O)(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function er(e,t,n,r){let a=function(e){let t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(n),i=n.enter("strong"),o=n.createTracker(r),s=o.move(a+a);return s+=o.move(n.containerPhrasing(e,{before:s,after:a,...o.current()}))+o.move(a+a),i(),s}er.peek=function(e,t,n){return n.options.strong||"*"};let ea={blockquote:function(e,t,n,r){let a=n.enter("blockquote"),i=n.createTracker(r);i.move("> "),i.shift(2);let o=n.indentLines(n.containerFlow(e,i.current()),j);return a(),o},break:U,code:function(e,t,n,r){let a=function(e){let t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),i=e.value||"",o="`"===a?"GraveAccent":"Tilde";if(!1===n.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value)){let e=n.enter("codeIndented"),t=n.indentLines(i,G);return e(),t}let s=n.createTracker(r),l=a.repeat(Math.max((0,$.J)(i,a)+1,3)),c=n.enter("codeFenced"),u=s.move(l);if(e.lang){let t=n.enter(`codeFencedLang${o}`);u+=s.move(n.safe(e.lang,{before:u,after:" ",encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${o}`);u+=s.move(" "),u+=s.move(n.safe(e.meta,{before:u,after:"\n",encode:["`"],...s.current()})),t()}return u+=s.move("\n"),i&&(u+=s.move(i+"\n")),u+=s.move(l),c(),u},definition:function(e,t,n,r){let a=H(n),i='"'===a?"Quote":"Apostrophe",o=n.enter("definition"),s=n.enter("label"),l=n.createTracker(r),c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()}))+l.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":"\n",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),o(),c},emphasis:z,hardBreak:U,heading:function(e,t,n,r){let a;let i=Math.max(Math.min(6,e.depth||1),1),s=n.createTracker(r);if(a=!1,(0,Z.Vn)(e,function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return a=!0,o.BK}),(!e.depth||e.depth<3)&&(0,W.B)(e)&&(n.options.setext||a)){let t=n.enter("headingSetext"),r=n.enter("phrasing"),a=n.containerPhrasing(e,{...s.current(),before:"\n",after:"\n"});return r(),t(),a+"\n"+(1===i?"=":"-").repeat(a.length-(Math.max(a.lastIndexOf("\r"),a.lastIndexOf("\n"))+1))}let l="#".repeat(i),c=n.enter("headingAtx"),u=n.enter("phrasing");s.move(l+" ");let d=n.containerPhrasing(e,{before:"# ",after:"\n",...s.current()});return/^[\t ]/.test(d)&&(d="&#x"+d.charCodeAt(0).toString(16).toUpperCase()+";"+d.slice(1)),d=d?l+" "+d:l,n.options.closeAtx&&(d+=" "+l),u(),c(),d},html:V,image:Y,imageReference:q,inlineCode:X,link:Q,linkReference:J,list:function(e,t,n,r){let a=n.enter("list"),i=n.bulletCurrent,o=e.ordered?function(e){let t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):ee(n),s=e.ordered?"."===o?")":".":function(e){let t=ee(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n),l=!!t&&!!n.bulletLastUsed&&o===n.bulletLastUsed;if(!e.ordered){let t=e.children?e.children[0]:void 0;if("*"!==o&&"-"!==o||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(l=!0),et(n)===o&&t){let t=-1;for(;++t-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+i);let o=i.length+1;("tab"===a||"mixed"===a&&(t&&"list"===t.type&&t.spread||e.spread))&&(o=4*Math.ceil(o/4));let s=n.createTracker(r);s.move(i+" ".repeat(o-i.length)),s.shift(o);let l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),function(e,t,n){return t?(n?"":" ".repeat(o))+e:(n?i:i+" ".repeat(o-i.length))+e});return l(),c},paragraph:function(e,t,n,r){let a=n.enter("paragraph"),i=n.enter("phrasing"),o=n.containerPhrasing(e,r);return i(),a(),o},root:function(e,t,n,r){let a=e.children.some(function(e){return en(e)}),i=a?n.containerPhrasing:n.containerFlow;return i.call(n,e,r)},strong:er,text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){let r=(et(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}};function ei(e){let t=e._align;(0,a.ok)(t,"expected `_align` on table"),this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function eo(e){this.exit(e),this.data.inTable=void 0}function es(e){this.enter({type:"tableRow",children:[]},e)}function el(e){this.exit(e)}function ec(e){this.enter({type:"tableCell",children:[]},e)}function eu(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,ed));let n=this.stack[this.stack.length-1];(0,a.ok)("inlineCode"===n.type),n.value=t,this.exit(e)}function ed(e,t){return"|"===t?t:e}function ep(e){let t=this.stack[this.stack.length-2];(0,a.ok)("listItem"===t.type),t.checked="taskListCheckValueChecked"===e.type}function ef(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1];(0,a.ok)("paragraph"===e.type);let n=e.children[0];if(n&&"text"===n.type){let r;let a=t.children,i=-1;for(;++i0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}eO[43]=eA,eO[45]=eA,eO[46]=eA,eO[95]=eA,eO[72]=[eA,eS],eO[104]=[eA,eS],eO[87]=[eA,eT],eO[119]=[eA,eT];var eN=n(23402),eR=n(42761);let eL={tokenize:function(e,t,n){let r=this;return(0,eR.f)(e,function(e){let a=r.events[r.events.length-1];return a&&"gfmFootnoteDefinitionIndent"===a[1].type&&4===a[2].sliceSerialize(a[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function eD(e,t,n){let r;let a=this,i=a.events.length,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);for(;i--;){let e=a.events[i][1];if("labelImage"===e.type){r=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(i){if(!r||!r._balanced)return n(i);let s=(0,v.d)(a.sliceSerialize({start:r.end,end:a.now()}));return 94===s.codePointAt(0)&&o.includes(s.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(i),e.exit("gfmFootnoteCallLabelMarker"),t(i)):n(i)}}function eP(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;let i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",a,t],["exit",a,t],["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function eM(e,t,n){let r;let a=this,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),s=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),l};function l(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(l){if(s>999||93===l&&!r||null===l||91===l||(0,i.z3)(l))return n(l);if(93===l){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return o.includes((0,v.d)(a.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(l)}return(0,i.z3)(l)||(r=!0),s++,e.consume(l),92===l?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function eF(e,t,n){let r,a;let o=this,s=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]),l=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(t)}function u(t){if(l>999||93===t&&!a||null===t||91===t||(0,i.z3)(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return r=(0,v.d)(o.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return(0,i.z3)(t)||(a=!0),l++,e.consume(t),92===t?d:u}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}function p(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s.includes(r)||s.push(r),(0,eR.f)(e,f,"gfmFootnoteDefinitionWhitespace")):n(t)}function f(e){return t(e)}}function ej(e,t,n){return e.check(eN.w,t,e.attempt(eL,t,n))}function eB(e){e.exit("gfmFootnoteDefinition")}var eU=n(21905),e$=n(62987),eG=n(63233);class eH{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let a=0;if(0!==n||0!==r.length){for(;a0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function ez(e,t,n){let r;let a=this,o=0,s=0;return function(e){let t=a.events.length-1;for(;t>-1;){let e=a.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let r=t>-1?a.events[t][1].type:null,i="tableHead"===r||"tableRow"===r?E:l;return i===E&&a.parser.lazy[a.now().line]?n(e):i(e)};function l(t){return e.enter("tableHead"),e.enter("tableRow"),124===t||(r=!0,s+=1),c(t)}function c(t){return null===t?n(t):(0,i.Ch)(t)?s>1?(s=0,a.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p):n(t):(0,i.xz)(t)?(0,eR.f)(e,c,"whitespace")(t):(s+=1,r&&(r=!1,o+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,c):(e.enter("data"),u(t))}function u(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),c(t)):(e.consume(t),92===t?d:u)}function d(t){return 92===t||124===t?(e.consume(t),u):u(t)}function p(t){return(a.interrupt=!1,a.parser.lazy[a.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,(0,i.xz)(t))?(0,eR.f)(e,f,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):f(t)}function f(t){return 45===t||58===t?m(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),h):n(t)}function h(t){return(0,i.xz)(t)?(0,eR.f)(e,m,"whitespace")(t):m(t)}function m(t){return 58===t?(s+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),g):45===t?(s+=1,g(t)):null===t||(0,i.Ch)(t)?y(t):n(t)}function g(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),b):(e.exit("tableDelimiterFiller"),b(n))}(t)):n(t)}function b(t){return(0,i.xz)(t)?(0,eR.f)(e,y,"whitespace")(t):y(t)}function y(a){return 124===a?f(a):null===a||(0,i.Ch)(a)?r&&o===s?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(a)):n(a):n(a)}function E(t){return e.enter("tableRow"),v(t)}function v(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),v):null===n||(0,i.Ch)(n)?(e.exit("tableRow"),t(n)):(0,i.xz)(n)?(0,eR.f)(e,v,"whitespace")(n):(e.enter("data"),T(n))}function T(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),v(t)):(e.consume(t),92===t?S:T)}function S(t){return 92===t||124===t?(e.consume(t),T):T(t)}}function eZ(e,t){let n,r,a,i=-1,o=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,d=0,p=new eH;for(;++in[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",o,t]])}return void 0!==a&&(i.end=Object.assign({},eY(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function eV(e,t,n,r,a){let i=[],o=eY(t.events,n);a&&(a.end=Object.assign({},o),i.push(["exit",a,t])),r.end=Object.assign({},o),i.push(["exit",r,t]),e.add(n+1,0,i)}function eY(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}let eq={name:"tasklistCheck",tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),a):n(t)};function a(t){return(0,i.z3)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(t)}function s(r){return(0,i.Ch)(r)?t(r):(0,i.xz)(r)?e.check({tokenize:eX},t,n)(r):n(r)}}};function eX(e,t,n){return(0,eR.f)(e,function(e){return null===e?n(e):t(e)},"whitespace")}let eK={};function eQ(e){let t=e||eK,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),i=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push((0,em.W)([{text:eO},{document:{91:{name:"gfmFootnoteDefinition",tokenize:eF,continuation:{tokenize:ej},exit:eB}},text:{91:{name:"gfmFootnoteCall",tokenize:eM},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:eD,resolveTo:eP}}},function(e){let t=(e||{}).singleTilde,n={name:"strikethrough",tokenize:function(e,n,r){let a=this.previous,i=this.events,o=0;return function(s){return 126===a&&"characterEscape"!==i[i.length-1][1].type?r(s):(e.enter("strikethroughSequenceTemporary"),function i(s){let l=(0,e$.r)(a);if(126===s)return o>1?r(s):(e.consume(s),o++,i);if(o<2&&!t)return r(s);let c=e.exit("strikethroughSequenceTemporary"),u=(0,e$.r)(s);return c._open=!u||2===u&&!!l,c._close=!l||2===l&&!!u,n(s)}(s))}},resolveAll:function(e,t){let n=-1;for(;++nl&&(l=e[c].length);++ds[d])&&(s[d]=e)}n.push(i)}i[c]=n,o[c]=a}let d=-1;if("object"==typeof n&&"length"in n)for(;++ds[d]&&(s[d]=i),f[d]=i),p[d]=o}i.splice(1,0,p),o.splice(1,0,f),c=-1;let h=[];for(;++c","Iacute":"\xcd","Icirc":"\xce","Igrave":"\xcc","Iuml":"\xcf","LT":"<","Ntilde":"\xd1","Oacute":"\xd3","Ocirc":"\xd4","Ograve":"\xd2","Oslash":"\xd8","Otilde":"\xd5","Ouml":"\xd6","QUOT":"\\"","REG":"\xae","THORN":"\xde","Uacute":"\xda","Ucirc":"\xdb","Ugrave":"\xd9","Uuml":"\xdc","Yacute":"\xdd","aacute":"\xe1","acirc":"\xe2","acute":"\xb4","aelig":"\xe6","agrave":"\xe0","amp":"&","aring":"\xe5","atilde":"\xe3","auml":"\xe4","brvbar":"\xa6","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","eacute":"\xe9","ecirc":"\xea","egrave":"\xe8","eth":"\xf0","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","iacute":"\xed","icirc":"\xee","iexcl":"\xa1","igrave":"\xec","iquest":"\xbf","iuml":"\xef","laquo":"\xab","lt":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","ntilde":"\xf1","oacute":"\xf3","ocirc":"\xf4","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","oslash":"\xf8","otilde":"\xf5","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","raquo":"\xbb","reg":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","thorn":"\xfe","times":"\xd7","uacute":"\xfa","ucirc":"\xfb","ugrave":"\xf9","uml":"\xa8","uuml":"\xfc","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')}},function(e){e.O(0,[3662,7034,6106,8674,3166,2837,2168,8163,1265,7728,2913,3791,5278,9859,4330,4041,8791,5030,5418,2783,3457,1300,4567,2398,2480,7410,7124,9773,4035,1154,2510,3345,9202,7249,3768,5789,9774,2888,179],function(){return e(e.s=45629)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/knowledge/chunk-8357d7c9a1837dd4.js b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/knowledge/chunk-ddca56aa0d03d1aa.js similarity index 99% rename from packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/knowledge/chunk-8357d7c9a1837dd4.js rename to packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/knowledge/chunk-ddca56aa0d03d1aa.js index 84f86458a..15a1727a3 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/knowledge/chunk-8357d7c9a1837dd4.js +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/knowledge/chunk-ddca56aa0d03d1aa.js @@ -7,7 +7,7 @@ ${(0,f.bf)(a)} ${(0,f.bf)(a)} 0 0 ${n}, ${(0,f.bf)(a)} 0 0 0 ${n} inset, 0 ${(0,f.bf)(a)} 0 0 ${n} inset; - `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:r}}},E=e=>{let{componentCls:t,iconCls:n,actionsLiMargin:r,cardActionsIconSize:a,colorBorderSecondary:i,actionsBg:o}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:o,borderTop:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${i}`,display:"flex",borderRadius:`0 0 ${(0,f.bf)(e.borderRadiusLG)} ${(0,f.bf)(e.borderRadiusLG)}`},(0,h.dF)()),{"& > li":{margin:r,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.calc(e.cardActionsIconSize).mul(2).equal(),fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${n}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:(0,f.bf)(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:a,lineHeight:(0,f.bf)(e.calc(a).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${i}`}}})},v=e=>Object.assign(Object.assign({margin:`${(0,f.bf)(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex"},(0,h.dF)()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},h.vS),"&-description":{color:e.colorTextDescription}}),T=e=>{let{componentCls:t,cardPaddingBase:n,colorFillAlter:r}=e;return{[`${t}-head`]:{padding:`0 ${(0,f.bf)(n)}`,background:r,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${(0,f.bf)(e.padding)} ${(0,f.bf)(n)}`}}},S=e=>{let{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},O=e=>{let{componentCls:t,cardShadow:n,cardHeadPadding:r,colorBorderSecondary:a,boxShadowTertiary:i,cardPaddingBase:o,extraColor:s}=e;return{[t]:Object.assign(Object.assign({},(0,h.Wf)(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${t}-bordered)`]:{boxShadow:i},[`${t}-head`]:b(e),[`${t}-extra`]:{marginInlineStart:"auto",color:s,fontWeight:"normal",fontSize:e.fontSize},[`${t}-body`]:Object.assign({padding:o,borderRadius:`0 0 ${(0,f.bf)(e.borderRadiusLG)} ${(0,f.bf)(e.borderRadiusLG)}`},(0,h.dF)()),[`${t}-grid`]:y(e),[`${t}-cover`]:{"> *":{display:"block",width:"100%",borderRadius:`${(0,f.bf)(e.borderRadiusLG)} ${(0,f.bf)(e.borderRadiusLG)} 0 0`}},[`${t}-actions`]:E(e),[`${t}-meta`]:v(e)}),[`${t}-bordered`]:{border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${a}`,[`${t}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${t}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:n}},[`${t}-contain-grid`]:{borderRadius:`${(0,f.bf)(e.borderRadiusLG)} ${(0,f.bf)(e.borderRadiusLG)} 0 0 `,[`${t}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${t}-loading) ${t}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${t}-contain-tabs`]:{[`> div${t}-head`]:{minHeight:0,[`${t}-head-title, ${t}-extra`]:{paddingTop:r}}},[`${t}-type-inner`]:T(e),[`${t}-loading`]:S(e),[`${t}-rtl`]:{direction:"rtl"}}},A=e=>{let{componentCls:t,cardPaddingSM:n,headerHeightSM:r,headerFontSizeSM:a}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:r,padding:`0 ${(0,f.bf)(n)}`,fontSize:a,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}};var _=(0,g.I$)("Card",e=>{let t=(0,m.IX)(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[O(t),A(t)]},e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+2*e.padding,headerHeightSM:e.fontSize*e.lineHeight+2*e.paddingXS,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText})),k=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let x=e=>{let{actionClasses:t,actions:n=[],actionStyle:a}=e;return r.createElement("ul",{className:t,style:a},n.map((e,t)=>{let a=`action-${t}`;return r.createElement("li",{style:{width:`${100/n.length}%`},key:a},r.createElement("span",null,e))}))},C=r.forwardRef((e,t)=>{let n;let{prefixCls:a,className:d,rootClassName:f,style:h,extra:g,headStyle:m={},bodyStyle:b={},title:y,loading:E,bordered:v=!0,size:T,type:S,cover:O,actions:A,tabList:C,children:w,activeTabKey:I,defaultActiveTabKey:R,tabBarExtraContent:N,hoverable:L,tabProps:D={},classNames:P,styles:M}=e,F=k(e,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps","classNames","styles"]),{getPrefixCls:B,direction:j,card:U}=r.useContext(s.E_),G=e=>{var t;return i()(null===(t=null==U?void 0:U.classNames)||void 0===t?void 0:t[e],null==P?void 0:P[e])},H=e=>{var t;return Object.assign(Object.assign({},null===(t=null==U?void 0:U.styles)||void 0===t?void 0:t[e]),null==M?void 0:M[e])},$=r.useMemo(()=>{let e=!1;return r.Children.forEach(w,t=>{(null==t?void 0:t.type)===p&&(e=!0)}),e},[w]),z=B("card",a),[Z,W,V]=_(z),Y=r.createElement(c.Z,{loading:!0,active:!0,paragraph:{rows:4},title:!1},w),q=void 0!==I,X=Object.assign(Object.assign({},D),{[q?"activeKey":"defaultActiveKey"]:q?I:R,tabBarExtraContent:N}),K=(0,l.Z)(T),Q=C?r.createElement(u.Z,Object.assign({size:K&&"default"!==K?K:"large"},X,{className:`${z}-head-tabs`,onChange:t=>{var n;null===(n=e.onTabChange)||void 0===n||n.call(e,t)},items:C.map(e=>{var{tab:t}=e;return Object.assign({label:t},k(e,["tab"]))})})):null;if(y||g||Q){let e=i()(`${z}-head`,G("header")),t=i()(`${z}-head-title`,G("title")),a=i()(`${z}-extra`,G("extra")),o=Object.assign(Object.assign({},m),H("header"));n=r.createElement("div",{className:e,style:o},r.createElement("div",{className:`${z}-head-wrapper`},y&&r.createElement("div",{className:t,style:H("title")},y),g&&r.createElement("div",{className:a,style:H("extra")},g)),Q)}let J=i()(`${z}-cover`,G("cover")),ee=O?r.createElement("div",{className:J,style:H("cover")},O):null,et=i()(`${z}-body`,G("body")),en=Object.assign(Object.assign({},b),H("body")),er=r.createElement("div",{className:et,style:en},E?Y:w),ea=i()(`${z}-actions`,G("actions")),ei=(null==A?void 0:A.length)?r.createElement(x,{actionClasses:ea,actionStyle:H("actions"),actions:A}):null,eo=(0,o.Z)(F,["onTabChange"]),es=i()(z,null==U?void 0:U.className,{[`${z}-loading`]:E,[`${z}-bordered`]:v,[`${z}-hoverable`]:L,[`${z}-contain-grid`]:$,[`${z}-contain-tabs`]:null==C?void 0:C.length,[`${z}-${K}`]:K,[`${z}-type-${S}`]:!!S,[`${z}-rtl`]:"rtl"===j},d,f,W,V),el=Object.assign(Object.assign({},null==U?void 0:U.style),h);return Z(r.createElement("div",Object.assign({ref:t},eo,{className:es,style:el}),n,ee,er,ei))});var w=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};C.Grid=p,C.Meta=e=>{let{prefixCls:t,className:n,avatar:a,title:o,description:l}=e,c=w(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:u}=r.useContext(s.E_),d=u("card",t),p=i()(`${d}-meta`,n),f=a?r.createElement("div",{className:`${d}-meta-avatar`},a):null,h=o?r.createElement("div",{className:`${d}-meta-title`},o):null,g=l?r.createElement("div",{className:`${d}-meta-description`},l):null,m=h||g?r.createElement("div",{className:`${d}-meta-detail`},h,g):null;return r.createElement("div",Object.assign({},c,{className:p}),f,m)};var I=C},85265:function(e,t,n){"use strict";n.d(t,{Z:function(){return q}});var r=n(67294),a=n(93967),i=n.n(a),o=n(1413),s=n(97685),l=n(2788),c=n(8410),u=r.createContext(null),d=r.createContext({}),p=n(4942),f=n(87462),h=n(29372),g=n(15105),m=n(64217),b=n(45987),y=n(42550),E=["prefixCls","className","containerRef"],v=function(e){var t=e.prefixCls,n=e.className,a=e.containerRef,o=(0,b.Z)(e,E),s=r.useContext(d).panel,l=(0,y.x1)(s,a);return r.createElement("div",(0,f.Z)({className:i()("".concat(t,"-content"),n),role:"dialog",ref:l},(0,m.Z)(e,{aria:!0}),{"aria-modal":"true"},o))},T=n(80334);function S(e){return"string"==typeof e&&String(Number(e))===e?((0,T.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var O={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"},A=r.forwardRef(function(e,t){var n,a,l,c=e.prefixCls,d=e.open,b=e.placement,y=e.inline,E=e.push,T=e.forceRender,A=e.autoFocus,_=e.keyboard,k=e.classNames,x=e.rootClassName,C=e.rootStyle,w=e.zIndex,I=e.className,R=e.id,N=e.style,L=e.motion,D=e.width,P=e.height,M=e.children,F=e.mask,B=e.maskClosable,j=e.maskMotion,U=e.maskClassName,G=e.maskStyle,H=e.afterOpenChange,$=e.onClose,z=e.onMouseEnter,Z=e.onMouseOver,W=e.onMouseLeave,V=e.onClick,Y=e.onKeyDown,q=e.onKeyUp,X=e.styles,K=e.drawerRender,Q=r.useRef(),J=r.useRef(),ee=r.useRef();r.useImperativeHandle(t,function(){return Q.current}),r.useEffect(function(){if(d&&A){var e;null===(e=Q.current)||void 0===e||e.focus({preventScroll:!0})}},[d]);var et=r.useState(!1),en=(0,s.Z)(et,2),er=en[0],ea=en[1],ei=r.useContext(u),eo=null!==(n=null!==(a=null===(l="boolean"==typeof E?E?{}:{distance:0}:E||{})||void 0===l?void 0:l.distance)&&void 0!==a?a:null==ei?void 0:ei.pushDistance)&&void 0!==n?n:180,es=r.useMemo(function(){return{pushDistance:eo,push:function(){ea(!0)},pull:function(){ea(!1)}}},[eo]);r.useEffect(function(){var e,t;d?null==ei||null===(e=ei.push)||void 0===e||e.call(ei):null==ei||null===(t=ei.pull)||void 0===t||t.call(ei)},[d]),r.useEffect(function(){return function(){var e;null==ei||null===(e=ei.pull)||void 0===e||e.call(ei)}},[]);var el=F&&r.createElement(h.ZP,(0,f.Z)({key:"mask"},j,{visible:d}),function(e,t){var n=e.className,a=e.style;return r.createElement("div",{className:i()("".concat(c,"-mask"),n,null==k?void 0:k.mask,U),style:(0,o.Z)((0,o.Z)((0,o.Z)({},a),G),null==X?void 0:X.mask),onClick:B&&d?$:void 0,ref:t})}),ec="function"==typeof L?L(b):L,eu={};if(er&&eo)switch(b){case"top":eu.transform="translateY(".concat(eo,"px)");break;case"bottom":eu.transform="translateY(".concat(-eo,"px)");break;case"left":eu.transform="translateX(".concat(eo,"px)");break;default:eu.transform="translateX(".concat(-eo,"px)")}"left"===b||"right"===b?eu.width=S(D):eu.height=S(P);var ed={onMouseEnter:z,onMouseOver:Z,onMouseLeave:W,onClick:V,onKeyDown:Y,onKeyUp:q},ep=r.createElement(h.ZP,(0,f.Z)({key:"panel"},ec,{visible:d,forceRender:T,onVisibleChanged:function(e){null==H||H(e)},removeOnLeave:!1,leavedClassName:"".concat(c,"-content-wrapper-hidden")}),function(t,n){var a=t.className,s=t.style,l=r.createElement(v,(0,f.Z)({id:R,containerRef:n,prefixCls:c,className:i()(I,null==k?void 0:k.content),style:(0,o.Z)((0,o.Z)({},N),null==X?void 0:X.content)},(0,m.Z)(e,{aria:!0}),ed),M);return r.createElement("div",(0,f.Z)({className:i()("".concat(c,"-content-wrapper"),null==k?void 0:k.wrapper,a),style:(0,o.Z)((0,o.Z)((0,o.Z)({},eu),s),null==X?void 0:X.wrapper)},(0,m.Z)(e,{data:!0})),K?K(l):l)}),ef=(0,o.Z)({},C);return w&&(ef.zIndex=w),r.createElement(u.Provider,{value:es},r.createElement("div",{className:i()(c,"".concat(c,"-").concat(b),x,(0,p.Z)((0,p.Z)({},"".concat(c,"-open"),d),"".concat(c,"-inline"),y)),style:ef,tabIndex:-1,ref:Q,onKeyDown:function(e){var t,n,r=e.keyCode,a=e.shiftKey;switch(r){case g.Z.TAB:r===g.Z.TAB&&(a||document.activeElement!==ee.current?a&&document.activeElement===J.current&&(null===(n=ee.current)||void 0===n||n.focus({preventScroll:!0})):null===(t=J.current)||void 0===t||t.focus({preventScroll:!0}));break;case g.Z.ESC:$&&_&&(e.stopPropagation(),$(e))}}},el,r.createElement("div",{tabIndex:0,ref:J,style:O,"aria-hidden":"true","data-sentinel":"start"}),ep,r.createElement("div",{tabIndex:0,ref:ee,style:O,"aria-hidden":"true","data-sentinel":"end"})))}),_=function(e){var t=e.open,n=e.prefixCls,a=e.placement,i=e.autoFocus,u=e.keyboard,p=e.width,f=e.mask,h=void 0===f||f,g=e.maskClosable,m=e.getContainer,b=e.forceRender,y=e.afterOpenChange,E=e.destroyOnClose,v=e.onMouseEnter,T=e.onMouseOver,S=e.onMouseLeave,O=e.onClick,_=e.onKeyDown,k=e.onKeyUp,x=e.panelRef,C=r.useState(!1),w=(0,s.Z)(C,2),I=w[0],R=w[1],N=r.useState(!1),L=(0,s.Z)(N,2),D=L[0],P=L[1];(0,c.Z)(function(){P(!0)},[]);var M=!!D&&void 0!==t&&t,F=r.useRef(),B=r.useRef();(0,c.Z)(function(){M&&(B.current=document.activeElement)},[M]);var j=r.useMemo(function(){return{panel:x}},[x]);if(!b&&!I&&!M&&E)return null;var U=(0,o.Z)((0,o.Z)({},e),{},{open:M,prefixCls:void 0===n?"rc-drawer":n,placement:void 0===a?"right":a,autoFocus:void 0===i||i,keyboard:void 0===u||u,width:void 0===p?378:p,mask:h,maskClosable:void 0===g||g,inline:!1===m,afterOpenChange:function(e){var t,n;R(e),null==y||y(e),e||!B.current||null!==(t=F.current)&&void 0!==t&&t.contains(B.current)||null===(n=B.current)||void 0===n||n.focus({preventScroll:!0})},ref:F},{onMouseEnter:v,onMouseOver:T,onMouseLeave:S,onClick:O,onKeyDown:_,onKeyUp:k});return r.createElement(d.Provider,{value:j},r.createElement(l.Z,{open:M||b||I,autoDestroy:!1,getContainer:m,autoLock:h&&(M||I)},r.createElement(A,U)))},k=n(89942),x=n(87263),C=n(33603),w=n(43945),I=n(53124),R=n(16569),N=n(69760),L=n(48054),D=e=>{var t,n;let{prefixCls:a,title:o,footer:s,extra:l,loading:c,onClose:u,headerStyle:d,bodyStyle:p,footerStyle:f,children:h,classNames:g,styles:m}=e,{drawer:b}=r.useContext(I.E_),y=r.useCallback(e=>r.createElement("button",{type:"button",onClick:u,"aria-label":"Close",className:`${a}-close`},e),[u]),[E,v]=(0,N.Z)((0,N.w)(e),(0,N.w)(b),{closable:!0,closeIconRender:y}),T=r.useMemo(()=>{var e,t;return o||E?r.createElement("div",{style:Object.assign(Object.assign(Object.assign({},null===(e=null==b?void 0:b.styles)||void 0===e?void 0:e.header),d),null==m?void 0:m.header),className:i()(`${a}-header`,{[`${a}-header-close-only`]:E&&!o&&!l},null===(t=null==b?void 0:b.classNames)||void 0===t?void 0:t.header,null==g?void 0:g.header)},r.createElement("div",{className:`${a}-header-title`},v,o&&r.createElement("div",{className:`${a}-title`},o)),l&&r.createElement("div",{className:`${a}-extra`},l)):null},[E,v,l,d,a,o]),S=r.useMemo(()=>{var e,t;if(!s)return null;let n=`${a}-footer`;return r.createElement("div",{className:i()(n,null===(e=null==b?void 0:b.classNames)||void 0===e?void 0:e.footer,null==g?void 0:g.footer),style:Object.assign(Object.assign(Object.assign({},null===(t=null==b?void 0:b.styles)||void 0===t?void 0:t.footer),f),null==m?void 0:m.footer)},s)},[s,f,a]);return r.createElement(r.Fragment,null,T,r.createElement("div",{className:i()(`${a}-body`,null==g?void 0:g.body,null===(t=null==b?void 0:b.classNames)||void 0===t?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},null===(n=null==b?void 0:b.styles)||void 0===n?void 0:n.body),p),null==m?void 0:m.body)},c?r.createElement(L.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${a}-body-skeleton`}):h),S)},P=n(25446),M=n(14747),F=n(83559),B=n(83262);let j=e=>{let t="100%";return({left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`})[e]},U=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),G=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}}},U({opacity:e},{opacity:1})),H=(e,t)=>[G(.7,t),U({transform:j(e)},{transform:"none"})];var $=e=>{let{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:G(0,n),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce((e,t)=>Object.assign(Object.assign({},e),{[`&-${t}`]:H(t,n)}),{})}}};let z=e=>{let{borderRadiusSM:t,componentCls:n,zIndexPopup:r,colorBgMask:a,colorBgElevated:i,motionDurationSlow:o,motionDurationMid:s,paddingXS:l,padding:c,paddingLG:u,fontSizeLG:d,lineHeightLG:p,lineWidth:f,lineType:h,colorSplit:g,marginXS:m,colorIcon:b,colorIconHover:y,colorBgTextHover:E,colorBgTextActive:v,colorText:T,fontWeightStrong:S,footerPaddingBlock:O,footerPaddingInline:A,calc:_}=e,k=`${n}-content-wrapper`;return{[n]:{position:"fixed",inset:0,zIndex:r,pointerEvents:"none",color:T,"&-pure":{position:"relative",background:i,display:"flex",flexDirection:"column",[`&${n}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${n}-mask`]:{position:"absolute",inset:0,zIndex:r,background:a,pointerEvents:"auto"},[k]:{position:"absolute",zIndex:r,maxWidth:"100vw",transition:`all ${o}`,"&-hidden":{display:"none"}},[`&-left > ${k}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${k}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${k}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${k}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${n}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:i,pointerEvents:"auto"},[`${n}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,P.bf)(c)} ${(0,P.bf)(u)}`,fontSize:d,lineHeight:p,borderBottom:`${(0,P.bf)(f)} ${h} ${g}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:"none"},[`${n}-close`]:Object.assign({display:"inline-flex",width:_(d).add(l).equal(),height:_(d).add(l).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",marginInlineEnd:m,color:b,fontWeight:S,fontSize:d,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${s}`,textRendering:"auto","&:hover":{color:y,backgroundColor:E,textDecoration:"none"},"&:active":{backgroundColor:v}},(0,M.Qy)(e)),[`${n}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:d,lineHeight:p},[`${n}-body`]:{flex:1,minWidth:0,minHeight:0,padding:u,overflow:"auto",[`${n}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${n}-footer`]:{flexShrink:0,padding:`${(0,P.bf)(O)} ${(0,P.bf)(A)}`,borderTop:`${(0,P.bf)(f)} ${h} ${g}`},"&-rtl":{direction:"rtl"}}}};var Z=(0,F.I$)("Drawer",e=>{let t=(0,B.IX)(e,{});return[z(t),$(t)]},e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding})),W=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let V={distance:180},Y=e=>{let{rootClassName:t,width:n,height:a,size:o="default",mask:s=!0,push:l=V,open:c,afterOpenChange:u,onClose:d,prefixCls:p,getContainer:f,style:h,className:g,visible:m,afterVisibleChange:b,maskStyle:y,drawerStyle:E,contentWrapperStyle:v}=e,T=W(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:S,getPrefixCls:O,direction:A,drawer:N}=r.useContext(I.E_),L=O("drawer",p),[P,M,F]=Z(L),B=void 0===f&&S?()=>S(document.body):f,j=i()({"no-mask":!s,[`${L}-rtl`]:"rtl"===A},t,M,F),U=r.useMemo(()=>null!=n?n:"large"===o?736:378,[n,o]),G=r.useMemo(()=>null!=a?a:"large"===o?736:378,[a,o]),H={motionName:(0,C.m)(L,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},$=(0,R.H)(),[z,Y]=(0,x.Cn)("Drawer",T.zIndex),{classNames:q={},styles:X={}}=T,{classNames:K={},styles:Q={}}=N||{};return P(r.createElement(k.Z,{form:!0,space:!0},r.createElement(w.Z.Provider,{value:Y},r.createElement(_,Object.assign({prefixCls:L,onClose:d,maskMotion:H,motion:e=>({motionName:(0,C.m)(L,`panel-motion-${e}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500})},T,{classNames:{mask:i()(q.mask,K.mask),content:i()(q.content,K.content),wrapper:i()(q.wrapper,K.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},X.mask),y),Q.mask),content:Object.assign(Object.assign(Object.assign({},X.content),E),Q.content),wrapper:Object.assign(Object.assign(Object.assign({},X.wrapper),v),Q.wrapper)},open:null!=c?c:m,mask:s,push:l,width:U,height:G,style:Object.assign(Object.assign({},null==N?void 0:N.style),h),className:i()(null==N?void 0:N.className,g),rootClassName:j,getContainer:B,afterOpenChange:null!=u?u:b,panelRef:$,zIndex:z}),r.createElement(D,Object.assign({prefixCls:L},T,{onClose:d}))))))};Y._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,style:n,className:a,placement:o="right"}=e,s=W(e,["prefixCls","style","className","placement"]),{getPrefixCls:l}=r.useContext(I.E_),c=l("drawer",t),[u,d,p]=Z(c),f=i()(c,`${c}-pure`,`${c}-${o}`,d,p,a);return u(r.createElement("div",{className:f,style:n},r.createElement(D,Object.assign({prefixCls:c},s))))};var q=Y},86250:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r=n(67294),a=n(93967),i=n.n(a),o=n(98423),s=n(98065),l=n(53124),c=n(83559),u=n(83262);let d=["wrap","nowrap","wrap-reverse"],p=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],f=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],h=(e,t)=>{let n=!0===t.wrap?"wrap":t.wrap;return{[`${e}-wrap-${n}`]:n&&d.includes(n)}},g=(e,t)=>{let n={};return f.forEach(r=>{n[`${e}-align-${r}`]=t.align===r}),n[`${e}-align-stretch`]=!t.align&&!!t.vertical,n},m=(e,t)=>{let n={};return p.forEach(r=>{n[`${e}-justify-${r}`]=t.justify===r}),n},b=e=>{let{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},y=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},E=e=>{let{componentCls:t}=e,n={};return d.forEach(e=>{n[`${t}-wrap-${e}`]={flexWrap:e}}),n},v=e=>{let{componentCls:t}=e,n={};return f.forEach(e=>{n[`${t}-align-${e}`]={alignItems:e}}),n},T=e=>{let{componentCls:t}=e,n={};return p.forEach(e=>{n[`${t}-justify-${e}`]={justifyContent:e}}),n};var S=(0,c.I$)("Flex",e=>{let{paddingXS:t,padding:n,paddingLG:r}=e,a=(0,u.IX)(e,{flexGapSM:t,flexGap:n,flexGapLG:r});return[b(a),y(a),E(a),v(a),T(a)]},()=>({}),{resetStyle:!1}),O=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let A=r.forwardRef((e,t)=>{let{prefixCls:n,rootClassName:a,className:c,style:u,flex:d,gap:p,children:f,vertical:b=!1,component:y="div"}=e,E=O(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:v,direction:T,getPrefixCls:A}=r.useContext(l.E_),_=A("flex",n),[k,x,C]=S(_),w=null!=b?b:null==v?void 0:v.vertical,I=i()(c,a,null==v?void 0:v.className,_,x,C,i()(Object.assign(Object.assign(Object.assign({},h(_,e)),g(_,e)),m(_,e))),{[`${_}-rtl`]:"rtl"===T,[`${_}-gap-${p}`]:(0,s.n)(p),[`${_}-vertical`]:w}),R=Object.assign(Object.assign({},null==v?void 0:v.style),u);return d&&(R.flex=d),p&&!(0,s.n)(p)&&(R.gap=p),k(r.createElement(y,Object.assign({ref:t,className:I,style:R},(0,o.Z)(E,["justify","wrap","align"])),f))});var _=A},57020:function(e,t,n){"use strict";n.d(t,{Z:function(){return eT}});var r=n(67294),a=n(99611),i=n(93967),o=n.n(i),s=n(87462),l=n(1413),c=n(4942),u=n(97685),d=n(71002),p=n(45987),f=n(27678),h=n(21770),g=n(40974),m=n(64019),b=n(15105),y=n(2788),E=n(29372),v=r.createContext(null),T=function(e){var t=e.visible,n=e.maskTransitionName,a=e.getContainer,i=e.prefixCls,s=e.rootClassName,u=e.icons,d=e.countRender,p=e.showSwitch,f=e.showProgress,h=e.current,g=e.transform,m=e.count,T=e.scale,S=e.minScale,O=e.maxScale,A=e.closeIcon,_=e.onSwitchLeft,k=e.onSwitchRight,x=e.onClose,C=e.onZoomIn,w=e.onZoomOut,I=e.onRotateRight,R=e.onRotateLeft,N=e.onFlipX,L=e.onFlipY,D=e.onReset,P=e.toolbarRender,M=e.zIndex,F=e.image,B=(0,r.useContext)(v),j=u.rotateLeft,U=u.rotateRight,G=u.zoomIn,H=u.zoomOut,$=u.close,z=u.left,Z=u.right,W=u.flipX,V=u.flipY,Y="".concat(i,"-operations-operation");r.useEffect(function(){var e=function(e){e.keyCode===b.Z.ESC&&x()};return t&&window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}},[t]);var q=[{icon:V,onClick:L,type:"flipY"},{icon:W,onClick:N,type:"flipX"},{icon:j,onClick:R,type:"rotateLeft"},{icon:U,onClick:I,type:"rotateRight"},{icon:H,onClick:w,type:"zoomOut",disabled:T<=S},{icon:G,onClick:C,type:"zoomIn",disabled:T===O}].map(function(e){var t,n=e.icon,a=e.onClick,s=e.type,l=e.disabled;return r.createElement("div",{className:o()(Y,(t={},(0,c.Z)(t,"".concat(i,"-operations-operation-").concat(s),!0),(0,c.Z)(t,"".concat(i,"-operations-operation-disabled"),!!l),t)),onClick:a,key:s},n)}),X=r.createElement("div",{className:"".concat(i,"-operations")},q);return r.createElement(E.ZP,{visible:t,motionName:n},function(e){var t=e.className,n=e.style;return r.createElement(y.Z,{open:!0,getContainer:null!=a?a:document.body},r.createElement("div",{className:o()("".concat(i,"-operations-wrapper"),t,s),style:(0,l.Z)((0,l.Z)({},n),{},{zIndex:M})},null===A?null:r.createElement("button",{className:"".concat(i,"-close"),onClick:x},A||$),p&&r.createElement(r.Fragment,null,r.createElement("div",{className:o()("".concat(i,"-switch-left"),(0,c.Z)({},"".concat(i,"-switch-left-disabled"),0===h)),onClick:_},z),r.createElement("div",{className:o()("".concat(i,"-switch-right"),(0,c.Z)({},"".concat(i,"-switch-right-disabled"),h===m-1)),onClick:k},Z)),r.createElement("div",{className:"".concat(i,"-footer")},f&&r.createElement("div",{className:"".concat(i,"-progress")},d?d(h+1,m):"".concat(h+1," / ").concat(m)),P?P(X,(0,l.Z)((0,l.Z)({icons:{flipYIcon:q[0],flipXIcon:q[1],rotateLeftIcon:q[2],rotateRightIcon:q[3],zoomOutIcon:q[4],zoomInIcon:q[5]},actions:{onFlipY:L,onFlipX:N,onRotateLeft:R,onRotateRight:I,onZoomOut:w,onZoomIn:C,onReset:D,onClose:x},transform:g},B?{current:h,total:m}:{}),{},{image:F})):X)))})},S=n(91881),O=n(75164),A={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1},_=n(80334);function k(e,t,n,r){var a=t+n,i=(n-r)/2;if(n>r){if(t>0)return(0,c.Z)({},e,i);if(t<0&&ar)return(0,c.Z)({},e,t<0?i:-i);return{}}function x(e,t,n,r){var a=(0,f.g1)(),i=a.width,o=a.height,s=null;return e<=i&&t<=o?s={x:0,y:0}:(e>i||t>o)&&(s=(0,l.Z)((0,l.Z)({},k("x",n,e,i)),k("y",r,t,o))),s}function C(e){var t=e.src,n=e.isCustomPlaceholder,a=e.fallback,i=(0,r.useState)(n?"loading":"normal"),o=(0,u.Z)(i,2),s=o[0],l=o[1],c=(0,r.useRef)(!1),d="error"===s;(0,r.useEffect)(function(){var e=!0;return new Promise(function(e){var n=document.createElement("img");n.onerror=function(){return e(!1)},n.onload=function(){return e(!0)},n.src=t}).then(function(t){!t&&e&&l("error")}),function(){e=!1}},[t]),(0,r.useEffect)(function(){n&&!c.current?l("loading"):d&&l("normal")},[t]);var p=function(){l("normal")};return[function(e){c.current=!1,"loading"===s&&null!=e&&e.complete&&(e.naturalWidth||e.naturalHeight)&&(c.current=!0,p())},d&&a?{src:a}:{onLoad:p,src:t},s]}function w(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}var I=["fallback","src","imgRef"],R=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],N=function(e){var t=e.fallback,n=e.src,a=e.imgRef,i=(0,p.Z)(e,I),o=C({src:n,fallback:t}),l=(0,u.Z)(o,2),c=l[0],d=l[1];return r.createElement("img",(0,s.Z)({ref:function(e){a.current=e,c(e)}},i,d))},L=function(e){var t,n,a,i,d,h,y,E,k,C,I,L,D,P,M,F,B,j,U,G,H,$,z,Z,W,V,Y,q,X=e.prefixCls,K=e.src,Q=e.alt,J=e.imageInfo,ee=e.fallback,et=e.movable,en=void 0===et||et,er=e.onClose,ea=e.visible,ei=e.icons,eo=e.rootClassName,es=e.closeIcon,el=e.getContainer,ec=e.current,eu=void 0===ec?0:ec,ed=e.count,ep=void 0===ed?1:ed,ef=e.countRender,eh=e.scaleStep,eg=void 0===eh?.5:eh,em=e.minScale,eb=void 0===em?1:em,ey=e.maxScale,eE=void 0===ey?50:ey,ev=e.transitionName,eT=e.maskTransitionName,eS=void 0===eT?"fade":eT,eO=e.imageRender,eA=e.imgCommonProps,e_=e.toolbarRender,ek=e.onTransform,ex=e.onChange,eC=(0,p.Z)(e,R),ew=(0,r.useRef)(),eI=(0,r.useContext)(v),eR=eI&&ep>1,eN=eI&&ep>=1,eL=(0,r.useState)(!0),eD=(0,u.Z)(eL,2),eP=eD[0],eM=eD[1],eF=(t=(0,r.useRef)(null),n=(0,r.useRef)([]),a=(0,r.useState)(A),d=(i=(0,u.Z)(a,2))[0],h=i[1],y=function(e,r){null===t.current&&(n.current=[],t.current=(0,O.Z)(function(){h(function(e){var a=e;return n.current.forEach(function(e){a=(0,l.Z)((0,l.Z)({},a),e)}),t.current=null,null==ek||ek({transform:a,action:r}),a})})),n.current.push((0,l.Z)((0,l.Z)({},d),e))},{transform:d,resetTransform:function(e){h(A),(0,S.Z)(A,d)||null==ek||ek({transform:A,action:e})},updateTransform:y,dispatchZoomChange:function(e,t,n,r,a){var i=ew.current,o=i.width,s=i.height,l=i.offsetWidth,c=i.offsetHeight,u=i.offsetLeft,p=i.offsetTop,h=e,g=d.scale*e;g>eE?(g=eE,h=eE/d.scale):g0&&(t=1/t),eG(t,"wheel",e.clientX,e.clientY)}}}),e$=eH.isMoving,ez=eH.onMouseDown,eZ=eH.onWheel,eW=(U=eB.rotate,G=eB.scale,H=eB.x,$=eB.y,z=(0,r.useState)(!1),W=(Z=(0,u.Z)(z,2))[0],V=Z[1],Y=(0,r.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),q=function(e){Y.current=(0,l.Z)((0,l.Z)({},Y.current),e)},(0,r.useEffect)(function(){var e;return ea&&en&&(e=(0,m.Z)(window,"touchmove",function(e){return e.preventDefault()},{passive:!1})),function(){var t;null===(t=e)||void 0===t||t.remove()}},[ea,en]),{isTouching:W,onTouchStart:function(e){if(en){e.stopPropagation(),V(!0);var t=e.touches,n=void 0===t?[]:t;n.length>1?q({point1:{x:n[0].clientX,y:n[0].clientY},point2:{x:n[1].clientX,y:n[1].clientY},eventType:"touchZoom"}):q({point1:{x:n[0].clientX-H,y:n[0].clientY-$},eventType:"move"})}},onTouchMove:function(e){var t=e.touches,n=void 0===t?[]:t,r=Y.current,a=r.point1,i=r.point2,o=r.eventType;if(n.length>1&&"touchZoom"===o){var s={x:n[0].clientX,y:n[0].clientY},l={x:n[1].clientX,y:n[1].clientY},c=function(e,t,n,r){var a=w(e,n),i=w(t,r);if(0===a&&0===i)return[e.x,e.y];var o=a/(a+i);return[e.x+o*(t.x-e.x),e.y+o*(t.y-e.y)]}(a,i,s,l),d=(0,u.Z)(c,2),p=d[0],f=d[1];eG(w(s,l)/w(a,i),"touchZoom",p,f,!0),q({point1:s,point2:l,eventType:"touchZoom"})}else"move"===o&&(eU({x:n[0].clientX-a.x,y:n[0].clientY-a.y},"move"),q({eventType:"move"}))},onTouchEnd:function(){if(ea){if(W&&V(!1),q({eventType:"none"}),eb>G)return eU({x:0,y:0,scale:eb},"touchZoom");var e=ew.current.offsetWidth*G,t=ew.current.offsetHeight*G,n=ew.current.getBoundingClientRect(),r=n.left,a=n.top,i=U%180!=0,o=x(i?t:e,i?e:t,r,a);o&&eU((0,l.Z)({},o),"dragRebound")}}}),eV=eW.isTouching,eY=eW.onTouchStart,eq=eW.onTouchMove,eX=eW.onTouchEnd,eK=eB.rotate,eQ=eB.scale,eJ=o()((0,c.Z)({},"".concat(X,"-moving"),e$));(0,r.useEffect)(function(){eP||eM(!0)},[eP]);var e0=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu>0&&(eM(!1),ej("prev"),null==ex||ex(eu-1,eu))},e1=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu({position:e||"absolute",inset:0}),eu=e=>{let{iconCls:t,motionDurationSlow:n,paddingXXS:r,marginXXS:a,prefixCls:i,colorTextLightSolid:o}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:o,background:new en.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${i}-mask-info`]:Object.assign(Object.assign({},ea.vS),{padding:`0 ${(0,et.bf)(r)}`,[t]:{marginInlineEnd:a,svg:{verticalAlign:"baseline"}}})}},ed=e=>{let{previewCls:t,modalMaskBg:n,paddingSM:r,marginXL:a,margin:i,paddingLG:o,previewOperationColorDisabled:s,previewOperationHoverColor:l,motionDurationSlow:c,iconCls:u,colorTextLightSolid:d}=e,p=new en.C(n).setAlpha(.1),f=p.clone().setAlpha(.2);return{[`${t}-footer`]:{position:"fixed",bottom:a,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor,transform:"translateX(-50%)"},[`${t}-progress`]:{marginBottom:i},[`${t}-close`]:{position:"fixed",top:a,right:{_skip_check_:!0,value:a},display:"flex",color:d,backgroundColor:p.toRgbString(),borderRadius:"50%",padding:r,outline:0,border:0,cursor:"pointer",transition:`all ${c}`,"&:hover":{backgroundColor:f.toRgbString()},[`& > ${u}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,et.bf)(o)}`,backgroundColor:p.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:r,padding:r,cursor:"pointer",transition:`all ${c}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${u}`]:{color:l},"&-disabled":{color:s,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${u}`]:{fontSize:e.previewOperationSize}}}}},ep=e=>{let{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:r,previewCls:a,zIndexPopup:i,motionDurationSlow:o}=e,s=new en.C(t).setAlpha(.1),l=s.clone().setAlpha(.2);return{[`${a}-switch-left, ${a}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(i).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:s.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${o}`,userSelect:"none","&:hover":{background:l.toRgbString()},"&-disabled":{"&, &:hover":{color:r,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${a}-switch-left`]:{insetInlineStart:e.marginSM},[`${a}-switch-right`]:{insetInlineEnd:e.marginSM}}},ef=e=>{let{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:a}=e;return[{[`${a}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:Object.assign(Object.assign({},ec()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${r} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},ec()),{transition:`transform ${r} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${a}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${a}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal()},"&":[ed(e),ep(e)]}]},eh=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},eu(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},ec())}}},eg=e=>{let{previewCls:t}=e;return{[`${t}-root`]:(0,ei._y)(e,"zoom"),"&":(0,eo.J$)(e,!0)}};var em=(0,es.I$)("Image",e=>{let t=`${e.componentCls}-preview`,n=(0,el.IX)(e,{previewCls:t,modalMaskBg:new en.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[eh(n),ef(n),(0,er.QA)((0,el.IX)(n,{componentCls:t})),eg(n)]},e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new en.C(e.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new en.C(e.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new en.C(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:1.5*e.fontSizeIcon})),eb=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ey={rotateLeft:r.createElement(X.Z,null),rotateRight:r.createElement(K.Z,null),zoomIn:r.createElement(J.Z,null),zoomOut:r.createElement(ee.Z,null),close:r.createElement(V.Z,null),left:r.createElement(Y.Z,null),right:r.createElement(q.Z,null),flipX:r.createElement(Q.Z,null),flipY:r.createElement(Q.Z,{rotate:90})};var eE=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ev=e=>{var t;let{prefixCls:n,preview:i,className:s,rootClassName:l,style:c}=e,u=eE(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:d,locale:p=W.Z,getPopupContainer:f,image:h}=r.useContext(z.E_),g=d("image",n),m=d(),b=p.Image||W.Z.Image,y=(0,Z.Z)(g),[E,v,T]=em(g,y),S=o()(l,v,T,y),O=o()(s,v,null==h?void 0:h.className),[A]=(0,H.Cn)("ImagePreview","object"==typeof i?i.zIndex:void 0),_=r.useMemo(()=>{var e;if(!1===i)return i;let t="object"==typeof i?i:{},{getContainer:n,closeIcon:o}=t,s=eE(t,["getContainer","closeIcon"]);return Object.assign(Object.assign({mask:r.createElement("div",{className:`${g}-mask-info`},r.createElement(a.Z,null),null==b?void 0:b.preview),icons:ey},s),{getContainer:null!=n?n:f,transitionName:(0,$.m)(m,"zoom",t.transitionName),maskTransitionName:(0,$.m)(m,"fade",t.maskTransitionName),zIndex:A,closeIcon:null!=o?o:null===(e=null==h?void 0:h.preview)||void 0===e?void 0:e.closeIcon})},[i,b,null===(t=null==h?void 0:h.preview)||void 0===t?void 0:t.closeIcon]),k=Object.assign(Object.assign({},null==h?void 0:h.style),c);return E(r.createElement(G,Object.assign({prefixCls:g,preview:_,rootClassName:S,className:O,style:k},u)))};ev.PreviewGroup=e=>{var{previewPrefixCls:t,preview:n}=e,a=eb(e,["previewPrefixCls","preview"]);let{getPrefixCls:i}=r.useContext(z.E_),s=i("image",t),l=`${s}-preview`,c=i(),u=(0,Z.Z)(s),[d,p,f]=em(s,u),[h]=(0,H.Cn)("ImagePreview","object"==typeof n?n.zIndex:void 0),g=r.useMemo(()=>{var e;if(!1===n)return n;let t="object"==typeof n?n:{},r=o()(p,f,u,null!==(e=t.rootClassName)&&void 0!==e?e:"");return Object.assign(Object.assign({},t),{transitionName:(0,$.m)(c,"zoom",t.transitionName),maskTransitionName:(0,$.m)(c,"fade",t.maskTransitionName),rootClassName:r,zIndex:h})},[n]);return d(r.createElement(G.PreviewGroup,Object.assign({preview:g,previewPrefixCls:l,icons:ey},a)))};var eT=ev},66309:function(e,t,n){"use strict";n.d(t,{Z:function(){return I}});var r=n(67294),a=n(93967),i=n.n(a),o=n(98423),s=n(98787),l=n(69760),c=n(96159),u=n(45353),d=n(53124),p=n(25446),f=n(10274),h=n(14747),g=n(83262),m=n(83559);let b=e=>{let{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:a,calc:i}=e,o=i(r).sub(n).equal(),s=i(t).sub(n).equal();return{[a]:Object.assign(Object.assign({},(0,h.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:o,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,p.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${a}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${a}-close-icon`]:{marginInlineStart:s,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${a}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${a}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:o}}),[`${a}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},y=e=>{let{lineWidth:t,fontSizeIcon:n,calc:r}=e,a=e.fontSizeSM,i=(0,g.IX)(e,{tagFontSize:a,tagLineHeight:(0,p.bf)(r(e.lineHeightSM).mul(a).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return i},E=e=>({defaultBg:new f.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var v=(0,m.I$)("Tag",e=>{let t=y(e);return b(t)},E),T=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let S=r.forwardRef((e,t)=>{let{prefixCls:n,style:a,className:o,checked:s,onChange:l,onClick:c}=e,u=T(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:p,tag:f}=r.useContext(d.E_),h=p("tag",n),[g,m,b]=v(h),y=i()(h,`${h}-checkable`,{[`${h}-checkable-checked`]:s},null==f?void 0:f.className,o,m,b);return g(r.createElement("span",Object.assign({},u,{ref:t,style:Object.assign(Object.assign({},a),null==f?void 0:f.style),className:y,onClick:e=>{null==l||l(!s),null==c||c(e)}})))});var O=n(98719);let A=e=>(0,O.Z)(e,(t,n)=>{let{textColor:r,lightBorderColor:a,lightColor:i,darkColor:o}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:i,borderColor:a,"&-inverse":{color:e.colorTextLightSolid,background:o,borderColor:o},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var _=(0,m.bk)(["Tag","preset"],e=>{let t=y(e);return A(t)},E);let k=(e,t,n)=>{let r=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var x=(0,m.bk)(["Tag","status"],e=>{let t=y(e);return[k(t,"success","Success"),k(t,"processing","Info"),k(t,"error","Error"),k(t,"warning","Warning")]},E),C=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let w=r.forwardRef((e,t)=>{let{prefixCls:n,className:a,rootClassName:p,style:f,children:h,icon:g,color:m,onClose:b,bordered:y=!0,visible:E}=e,T=C(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:S,direction:O,tag:A}=r.useContext(d.E_),[k,w]=r.useState(!0),I=(0,o.Z)(T,["closeIcon","closable"]);r.useEffect(()=>{void 0!==E&&w(E)},[E]);let R=(0,s.o2)(m),N=(0,s.yT)(m),L=R||N,D=Object.assign(Object.assign({backgroundColor:m&&!L?m:void 0},null==A?void 0:A.style),f),P=S("tag",n),[M,F,B]=v(P),j=i()(P,null==A?void 0:A.className,{[`${P}-${m}`]:L,[`${P}-has-color`]:m&&!L,[`${P}-hidden`]:!k,[`${P}-rtl`]:"rtl"===O,[`${P}-borderless`]:!y},a,p,F,B),U=e=>{e.stopPropagation(),null==b||b(e),e.defaultPrevented||w(!1)},[,G]=(0,l.Z)((0,l.w)(e),(0,l.w)(A),{closable:!1,closeIconRender:e=>{let t=r.createElement("span",{className:`${P}-close-icon`,onClick:U},e);return(0,c.wm)(e,t,e=>({onClick:t=>{var n;null===(n=null==e?void 0:e.onClick)||void 0===n||n.call(e,t),U(t)},className:i()(null==e?void 0:e.className,`${P}-close-icon`)}))}}),H="function"==typeof T.onClick||h&&"a"===h.type,$=g||null,z=$?r.createElement(r.Fragment,null,$,h&&r.createElement("span",null,h)):h,Z=r.createElement("span",Object.assign({},I,{ref:t,className:j,style:D}),z,G,R&&r.createElement(_,{key:"preset",prefixCls:P}),N&&r.createElement(x,{key:"status",prefixCls:P}));return M(H?r.createElement(u.Z,{component:"Tag"},Z):Z)});w.CheckableTag=S;var I=w},62502:function(e,t,n){"use strict";var r=n(15575),a=n(64977),i=n(72869),o=n(32473).Q,s=n(24395).Q;e.exports=function(e,t,n){var a=n?function(e){for(var t,n=e.length,r=-1,a={};++r4&&h.slice(0,4)===o&&s.test(t)&&("-"===t.charAt(4)?g=o+(n=t.slice(5).replace(l,d)).charAt(0).toUpperCase()+n.slice(1):(f=(p=t).slice(4),t=l.test(f)?p:("-"!==(f=f.replace(c,u)).charAt(0)&&(f="-"+f),o+f)),m=a),new m(g,t))};var s=/^data[-\w.:]+$/i,l=/-[a-z]/g,c=/[A-Z]/g;function u(e){return"-"+e.toLowerCase()}function d(e){return e.charAt(1).toUpperCase()}},48055:function(e,t,n){"use strict";var r=n(26230),a=n(13970),i=n(10629),o=n(647),s=n(91305),l=n(22537);e.exports=r([i,a,o,s,l])},91305:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=r.booleanish,o=r.number,s=r.spaceSeparated;e.exports=a({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:i,ariaAutoComplete:null,ariaBusy:i,ariaChecked:i,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:s,ariaCurrent:null,ariaDescribedBy:s,ariaDetails:null,ariaDisabled:i,ariaDropEffect:s,ariaErrorMessage:null,ariaExpanded:i,ariaFlowTo:s,ariaGrabbed:i,ariaHasPopup:null,ariaHidden:i,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s,ariaLevel:o,ariaLive:null,ariaModal:i,ariaMultiLine:i,ariaMultiSelectable:i,ariaOrientation:null,ariaOwns:s,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:i,ariaReadOnly:i,ariaRelevant:null,ariaRequired:i,ariaRoleDescription:s,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:i,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}})},22537:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=n(19348),o=r.boolean,s=r.overloadedBoolean,l=r.booleanish,c=r.number,u=r.spaceSeparated,d=r.commaSeparated;e.exports=a({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:i,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:d,acceptCharset:u,accessKey:u,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:u,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:u,cols:c,colSpan:null,content:null,contentEditable:l,controls:o,controlsList:u,coords:c|d,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:s,draggable:l,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:u,height:c,hidden:o,high:c,href:null,hrefLang:null,htmlFor:u,httpEquiv:u,id:null,imageSizes:null,imageSrcSet:d,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:u,itemRef:u,itemScope:o,itemType:u,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:u,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:u,required:o,reversed:o,rows:c,rowSpan:c,sandbox:u,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:c,sizes:null,slot:null,span:c,spellCheck:l,src:null,srcDoc:null,srcLang:null,srcSet:d,start:c,step:null,style:null,tabIndex:c,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:l,width:c,wrap:null,align:null,aLink:null,archive:u,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:l,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}})},19348:function(e,t,n){"use strict";var r=n(21098);e.exports=function(e,t){return r(e,t.toLowerCase())}},21098:function(e){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},47589:function(e,t,n){"use strict";var r=n(64977),a=n(16038),i=n(78444);e.exports=function(e){var t,n,o=e.space,s=e.mustUseProperty||[],l=e.attributes||{},c=e.properties,u=e.transform,d={},p={};for(t in c)n=new i(t,u(l,t),c[t],o),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),d[t]=n,p[r(t)]=t,p[r(n.attribute)]=t;return new a(d,p,o)}},78444:function(e,t,n){"use strict";var r=n(40313),a=n(61422);e.exports=s,s.prototype=new r,s.prototype.defined=!0;var i=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=i.length;function s(e,t,n,s){var l,c,u,d=-1;for(s&&(this.space=s),r.call(this,e,t);++d=97&&t<=122||t>=65&&t<=90}},7961:function(e,t,n){"use strict";var r=n(46260),a=n(46195);e.exports=function(e){return r(e)||a(e)}},46195:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},79480:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}},45745:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/construct/knowledge/chunk",function(){return n(26784)}])},85813:function(e,t,n){"use strict";n.d(t,{r:function(){return _6}});var r,a,i,o,s,l,c,u,d,p,f,h,g,m,b,y,E,v,T,S,O,A,_,k,x,C,w,I,R,N,L,D,P,M,F,B,j,U,G,H,$,z,Z,W,V,Y,q,X,K,Q,J,ee,et,en,er,ea={};n.r(ea),n.d(ea,{area:function(){return cf},bottom:function(){return cT},bottomLeft:function(){return cT},bottomRight:function(){return cT},inside:function(){return cT},left:function(){return cT},outside:function(){return c_},right:function(){return cT},spider:function(){return cR},surround:function(){return cL},top:function(){return cT},topLeft:function(){return cT},topRight:function(){return cT}});var ei={};n.r(ei),n.d(ei,{interpolateBlues:function(){return uD.interpolateBlues},interpolateBrBG:function(){return uD.interpolateBrBG},interpolateBuGn:function(){return uD.interpolateBuGn},interpolateBuPu:function(){return uD.interpolateBuPu},interpolateCividis:function(){return uD.interpolateCividis},interpolateCool:function(){return uD.interpolateCool},interpolateCubehelixDefault:function(){return uD.interpolateCubehelixDefault},interpolateGnBu:function(){return uD.interpolateGnBu},interpolateGreens:function(){return uD.interpolateGreens},interpolateGreys:function(){return uD.interpolateGreys},interpolateInferno:function(){return uD.interpolateInferno},interpolateMagma:function(){return uD.interpolateMagma},interpolateOrRd:function(){return uD.interpolateOrRd},interpolateOranges:function(){return uD.interpolateOranges},interpolatePRGn:function(){return uD.interpolatePRGn},interpolatePiYG:function(){return uD.interpolatePiYG},interpolatePlasma:function(){return uD.interpolatePlasma},interpolatePuBu:function(){return uD.interpolatePuBu},interpolatePuBuGn:function(){return uD.interpolatePuBuGn},interpolatePuOr:function(){return uD.interpolatePuOr},interpolatePuRd:function(){return uD.interpolatePuRd},interpolatePurples:function(){return uD.interpolatePurples},interpolateRainbow:function(){return uD.interpolateRainbow},interpolateRdBu:function(){return uD.interpolateRdBu},interpolateRdGy:function(){return uD.interpolateRdGy},interpolateRdPu:function(){return uD.interpolateRdPu},interpolateRdYlBu:function(){return uD.interpolateRdYlBu},interpolateRdYlGn:function(){return uD.interpolateRdYlGn},interpolateReds:function(){return uD.interpolateReds},interpolateSinebow:function(){return uD.interpolateSinebow},interpolateSpectral:function(){return uD.interpolateSpectral},interpolateTurbo:function(){return uD.interpolateTurbo},interpolateViridis:function(){return uD.interpolateViridis},interpolateWarm:function(){return uD.interpolateWarm},interpolateYlGn:function(){return uD.interpolateYlGn},interpolateYlGnBu:function(){return uD.interpolateYlGnBu},interpolateYlOrBr:function(){return uD.interpolateYlOrBr},interpolateYlOrRd:function(){return uD.interpolateYlOrRd},schemeAccent:function(){return uD.schemeAccent},schemeBlues:function(){return uD.schemeBlues},schemeBrBG:function(){return uD.schemeBrBG},schemeBuGn:function(){return uD.schemeBuGn},schemeBuPu:function(){return uD.schemeBuPu},schemeCategory10:function(){return uD.schemeCategory10},schemeDark2:function(){return uD.schemeDark2},schemeGnBu:function(){return uD.schemeGnBu},schemeGreens:function(){return uD.schemeGreens},schemeGreys:function(){return uD.schemeGreys},schemeOrRd:function(){return uD.schemeOrRd},schemeOranges:function(){return uD.schemeOranges},schemePRGn:function(){return uD.schemePRGn},schemePaired:function(){return uD.schemePaired},schemePastel1:function(){return uD.schemePastel1},schemePastel2:function(){return uD.schemePastel2},schemePiYG:function(){return uD.schemePiYG},schemePuBu:function(){return uD.schemePuBu},schemePuBuGn:function(){return uD.schemePuBuGn},schemePuOr:function(){return uD.schemePuOr},schemePuRd:function(){return uD.schemePuRd},schemePurples:function(){return uD.schemePurples},schemeRdBu:function(){return uD.schemeRdBu},schemeRdGy:function(){return uD.schemeRdGy},schemeRdPu:function(){return uD.schemeRdPu},schemeRdYlBu:function(){return uD.schemeRdYlBu},schemeRdYlGn:function(){return uD.schemeRdYlGn},schemeReds:function(){return uD.schemeReds},schemeSet1:function(){return uD.schemeSet1},schemeSet2:function(){return uD.schemeSet2},schemeSet3:function(){return uD.schemeSet3},schemeSpectral:function(){return uD.schemeSpectral},schemeTableau10:function(){return uD.schemeTableau10},schemeYlGn:function(){return uD.schemeYlGn},schemeYlGnBu:function(){return uD.schemeYlGnBu},schemeYlOrBr:function(){return uD.schemeYlOrBr},schemeYlOrRd:function(){return uD.schemeYlOrRd}});var eo={};n.r(eo);var es={};n.r(es),n.d(es,{geoAlbers:function(){return Ta.Z},geoAlbersUsa:function(){return Tr.Z},geoAzimuthalEqualArea:function(){return Ti.Z},geoAzimuthalEqualAreaRaw:function(){return Ti.l},geoAzimuthalEquidistant:function(){return To.Z},geoAzimuthalEquidistantRaw:function(){return To.N},geoConicConformal:function(){return Ts.Z},geoConicConformalRaw:function(){return Ts.l},geoConicEqualArea:function(){return Tl.Z},geoConicEqualAreaRaw:function(){return Tl.v},geoConicEquidistant:function(){return Tc.Z},geoConicEquidistantRaw:function(){return Tc.o},geoEqualEarth:function(){return Tu.Z},geoEqualEarthRaw:function(){return Tu.i},geoEquirectangular:function(){return Td.Z},geoEquirectangularRaw:function(){return Td.k},geoGnomonic:function(){return Tp.Z},geoGnomonicRaw:function(){return Tp.M},geoIdentity:function(){return Tf.Z},geoMercator:function(){return Tg.ZP},geoMercatorRaw:function(){return Tg.hk},geoNaturalEarth1:function(){return Tm.Z},geoNaturalEarth1Raw:function(){return Tm.K},geoOrthographic:function(){return Tb.Z},geoOrthographicRaw:function(){return Tb.I},geoProjection:function(){return Th.Z},geoProjectionMutator:function(){return Th.r},geoStereographic:function(){return Ty.Z},geoStereographicRaw:function(){return Ty.T},geoTransverseMercator:function(){return TE.Z},geoTransverseMercatorRaw:function(){return TE.F}});var el={};n.r(el),n.d(el,{frequency:function(){return Sh},id:function(){return Sg},name:function(){return Sm},weight:function(){return Sf}});var ec=n(74902),eu=n(1413),ed=n(87462),ep=n(97685),ef=n(45987),eh=n(50888),eg=n(96486),em=n(67294),eb=function(){return(eb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n-1&&!e.return)switch(e.type){case ek:e.return=function e(t,n,r){var a;switch(a=n,45^eD(t,0)?(((a<<2^eD(t,0))<<2^eD(t,1))<<2^eD(t,2))<<2^eD(t,3):0){case 5103:return eO+"print-"+t+t;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 eO+t+t;case 4789:return eS+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return eO+t+eS+t+eT+t+t;case 5936:switch(eD(t,n+11)){case 114:return eO+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return eO+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return eO+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return eO+t+eT+t+t;case 6165:return eO+t+eT+"flex-"+t+t;case 5187:return eO+t+eN(t,/(\w+).+(:[^]+)/,eO+"box-$1$2"+eT+"flex-$1$2")+t;case 5443:return eO+t+eT+"flex-item-"+eN(t,/flex-|-self/g,"")+(eR(t,/flex-|baseline/)?"":eT+"grid-row-"+eN(t,/flex-|-self/g,""))+t;case 4675:return eO+t+eT+"flex-line-pack"+eN(t,/align-content|flex-|-self/g,"")+t;case 5548:return eO+t+eT+eN(t,"shrink","negative")+t;case 5292:return eO+t+eT+eN(t,"basis","preferred-size")+t;case 6060:return eO+"box-"+eN(t,"-grow","")+eO+t+eT+eN(t,"grow","positive")+t;case 4554:return eO+eN(t,/([^-])(transform)/g,"$1"+eO+"$2")+t;case 6187:return eN(eN(eN(t,/(zoom-|grab)/,eO+"$1"),/(image-set)/,eO+"$1"),t,"")+t;case 5495:case 3959:return eN(t,/(image-set\([^]*)/,eO+"$1$`$1");case 4968:return eN(eN(t,/(.+:)(flex-)?(.*)/,eO+"box-pack:$3"+eT+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+eO+t+t;case 4200:if(!eR(t,/flex-|baseline/))return eT+"grid-column-align"+eP(t,n)+t;break;case 2592:case 3360:return eT+eN(t,"template-","")+t;case 4384:case 3616:if(r&&r.some(function(e,t){return n=t,eR(e.props,/grid-\w+-end/)}))return~eL(t+(r=r[n].value),"span",0)?t:eT+eN(t,"-start","")+t+eT+"grid-row-span:"+(~eL(r,"span",0)?eR(r,/\d+/):+eR(r,/\d+/)-+eR(t,/\d+/))+";";return eT+eN(t,"-start","")+t;case 4896:case 4128:return r&&r.some(function(e){return eR(e.props,/grid-\w+-start/)})?t:eT+eN(eN(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return eN(t,/(.+)-inline(.+)/,eO+"$1$2")+t;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(eM(t)-1-n>6)switch(eD(t,n+1)){case 109:if(45!==eD(t,n+4))break;case 102:return eN(t,/(.+:)(.+)-([^]+)/,"$1"+eO+"$2-$3$1"+eS+(108==eD(t,n+3)?"$3":"$2-$3"))+t;case 115:return~eL(t,"stretch",0)?e(eN(t,"stretch","fill-available"),n,r)+t:t}break;case 5152:case 5920:return eN(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(e,n,r,a,i,o,s){return eT+n+":"+r+s+(a?eT+n+"-span:"+(i?o:+o-+r)+s:"")+t});case 4949:if(121===eD(t,n+6))return eN(t,":",":"+eO)+t;break;case 6444:switch(eD(t,45===eD(t,14)?18:11)){case 120:return eN(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+eO+(45===eD(t,14)?"inline-":"")+"box$3$1"+eO+"$2$3$1"+eT+"$2box$3")+t;case 100:return eN(t,":",":"+eT)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return eN(t,"scroll-","scroll-snap-")+t}return t}(e.value,e.length,n);return;case ex:return eQ([eW(e,{value:eN(e.value,"@","@"+eO)})],r);case e_:if(e.length)return(n=e.props).map(function(t){switch(eR(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":eV(eW(e,{props:[eN(t,/:(read-\w+)/,":"+eS+"$1")]})),eV(eW(e,{props:[t]})),eI(e,{props:eB(n,r)});break;case"::placeholder":eV(eW(e,{props:[eN(t,/:(plac\w+)/,":"+eO+"input-$1")]})),eV(eW(e,{props:[eN(t,/:(plac\w+)/,":"+eS+"$1")]})),eV(eW(e,{props:[eN(t,/:(plac\w+)/,eT+"input-$1")]})),eV(eW(e,{props:[t]})),eI(e,{props:eB(n,r)})}return""}).join("")}}function e1(e,t,n,r,a,i,o,s,l,c,u,d){for(var p=a-1,f=0===a?i:[""],h=f.length,g=0,m=0,b=0;g0?f[y]+" "+E:eN(E,/&\f/g,f[y])).trim())&&(l[b++]=v);return eZ(e,t,n,0===a?e_:s,l,c,u,d)}function e2(e,t,n,r,a){return eZ(e,t,n,ek,eP(e,0,r),eP(e,r+1,-1),r,a)}var e3=n(94371),e5=n(83454),e4=void 0!==e5&&void 0!==e5.env&&(e5.env.REACT_APP_SC_ATTR||e5.env.SC_ATTR)||"data-styled",e6="active",e9="data-styled-version",e8="6.1.15",e7="/*!sc*/\n",te="undefined"!=typeof window&&"HTMLElement"in window,tt=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==e5&&void 0!==e5.env&&void 0!==e5.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==e5.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==e5.env.REACT_APP_SC_DISABLE_SPEEDY&&e5.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==e5&&void 0!==e5.env&&void 0!==e5.env.SC_DISABLE_SPEEDY&&""!==e5.env.SC_DISABLE_SPEEDY&&"false"!==e5.env.SC_DISABLE_SPEEDY&&e5.env.SC_DISABLE_SPEEDY),tn=Object.freeze([]),tr=Object.freeze({}),ta=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),ti=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,to=/(^-|-$)/g;function ts(e){return e.replace(ti,"-").replace(to,"")}var tl=/(a)(d)/gi,tc=function(e){return String.fromCharCode(e+(e>25?39:97))};function tu(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=tc(t%52)+n;return(tc(t%52)+n).replace(tl,"$1-$2")}var td,tp=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},tf=function(e){return tp(5381,e)};function th(e){return"string"==typeof e}var tg="function"==typeof Symbol&&Symbol.for,tm=tg?Symbol.for("react.memo"):60115,tb=tg?Symbol.for("react.forward_ref"):60112,ty={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},tE={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},tv={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},tT=((td={})[tb]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},td[tm]=tv,td);function tS(e){return("type"in e&&e.type.$$typeof)===tm?tv:"$$typeof"in e?tT[e.$$typeof]:ty}var tO=Object.defineProperty,tA=Object.getOwnPropertyNames,t_=Object.getOwnPropertySymbols,tk=Object.getOwnPropertyDescriptor,tx=Object.getPrototypeOf,tC=Object.prototype;function tw(e){return"function"==typeof e}function tI(e){return"object"==typeof e&&"styledComponentId"in e}function tR(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function tN(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r0?" Args: ".concat(t.join(", ")):""))}var tM=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,a=r;e>=a;)if((a<<=1)<0)throw tP(16,"".concat(e));this.groupSizes=new Uint32Array(a),this.groupSizes.set(n),this.length=a;for(var i=r;i=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),a=r+n,i=r;i=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(l+="".concat(e,","))}),r+="".concat(o).concat(s,'{content:"').concat(l,'"}').concat(e7)}}})(a);return r}(r)})}return e.registerId=function(e){return tU(e)},e.prototype.rehydrate=function(){!this.server&&te&&tW(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(eb(eb({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){var e,t,n,r;return this.tag||(this.tag=(n=(t=this.options).useCSSOMInjection,r=t.target,e=t.isServer?new tX(r):n?new tY(r):new tq(r),new tM(e)))},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(tU(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(tU(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(tU(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),t0=/&/g,t1=/^\s*\/\/.*$/gm;function t2(e){var t,n,r,a=void 0===e?tr:e,i=a.options,o=void 0===i?tr:i,s=a.plugins,l=void 0===s?tn:s,c=function(e,r,a){return a.startsWith(n)&&a.endsWith(n)&&a.replaceAll(n,"").length>0?".".concat(t):e},u=l.slice();u.push(function(e){e.type===e_&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(t0,n).replace(r,c))}),o.prefix&&u.push(e0),u.push(eJ);var d=function(e,a,i,s){void 0===a&&(a=""),void 0===i&&(i=""),void 0===s&&(s="&"),t=s,n=a,r=RegExp("\\".concat(n,"\\b"),"g");var l,c,d,p,f,h=e.replace(t1,""),g=(f=function e(t,n,r,a,i,o,s,l,c){for(var u,d=0,p=0,f=s,h=0,g=0,m=0,b=1,y=1,E=1,v=0,T="",S=i,O=o,A=a,_=T;y;)switch(m=v,v=eY()){case 40:if(108!=m&&58==eD(_,f-1)){-1!=eL(_+=eN(eK(v),"&","&\f"),"&\f",eC(d?l[d-1]:0))&&(E=-1);break}case 34:case 39:case 91:_+=eK(v);break;case 9:case 10:case 13:case 32:_+=function(e){for(;e$=eq();)if(e$<33)eY();else break;return eX(e)>2||eX(e$)>3?"":" "}(m);break;case 92:_+=function(e,t){for(var n;--t&&eY()&&!(e$<48)&&!(e$>102)&&(!(e$>57)||!(e$<65))&&(!(e$>70)||!(e$<97)););return n=eH+(t<6&&32==eq()&&32==eY()),eP(ez,e,n)}(eH-1,7);continue;case 47:switch(eq()){case 42:case 47:eF(eZ(u=function(e,t){for(;eY();)if(e+e$===57)break;else if(e+e$===84&&47===eq())break;return"/*"+eP(ez,t,eH-1)+"*"+ew(47===e?e:eY())}(eY(),eH),n,r,eA,ew(e$),eP(u,2,-2),0,c),c);break;default:_+="/"}break;case 123*b:l[d++]=eM(_)*E;case 125*b:case 59:case 0:switch(v){case 0:case 125:y=0;case 59+p:-1==E&&(_=eN(_,/\f/g,"")),g>0&&eM(_)-f&&eF(g>32?e2(_+";",a,r,f-1,c):e2(eN(_," ","")+";",a,r,f-2,c),c);break;case 59:_+=";";default:if(eF(A=e1(_,n,r,d,p,i,l,T,S=[],O=[],f,o),o),123===v){if(0===p)e(_,n,A,A,S,o,f,l,O);else switch(99===h&&110===eD(_,3)?100:h){case 100:case 108:case 109:case 115:e(t,A,A,a&&eF(e1(t,A,A,0,0,i,l,T,i,S=[],f,O),O),i,O,f,l,a?S:O);break;default:e(_,A,A,A,[""],O,0,l,O)}}}d=p=g=0,b=E=1,T=_="",f=s;break;case 58:f=1+eM(_),g=m;default:if(b<1){if(123==v)--b;else if(125==v&&0==b++&&125==(e$=eH>0?eD(ez,--eH):0,eU--,10===e$&&(eU=1,ej--),e$))continue}switch(_+=ew(v),v*b){case 38:E=p>0?1:(_+="\f",-1);break;case 44:l[d++]=(eM(_)-1)*E,E=1;break;case 64:45===eq()&&(_+=eK(eY())),h=eq(),p=f=eM(T=_+=function(e){for(;!eX(eq());)eY();return eP(ez,e,eH)}(eH)),v++;break;case 45:45===m&&2==eM(_)&&(b=0)}}return o}("",null,null,null,[""],(p=d=i||a?"".concat(i," ").concat(a," { ").concat(h," }"):h,ej=eU=1,eG=eM(ez=p),eH=0,d=[]),0,[0],d),ez="",f);o.namespace&&(g=function e(t,n){return t.map(function(t){return"rule"===t.type&&(t.value="".concat(n," ").concat(t.value),t.value=t.value.replaceAll(",",",".concat(n," ")),t.props=t.props.map(function(e){return"".concat(n," ").concat(e)})),Array.isArray(t.children)&&"@keyframes"!==t.type&&(t.children=e(t.children,n)),t})}(g,o.namespace));var m=[];return eQ(g,(c=(l=u.concat(function(e){var t;!e.root&&(e=e.return)&&(t=e,m.push(t))})).length,function(e,t,n,r){for(var a="",i=0;i="A"&&r<="Z"?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var nt=function(e){return null==e||!1===e||""===e},nn=function(e){var t=[];for(var n in e){var r=e[n];e.hasOwnProperty(n)&&!nt(r)&&(Array.isArray(r)&&r.isCss||tw(r)?t.push("".concat(ne(n),":"),r,";"):tL(r)?t.push.apply(t,ey(ey(["".concat(n," {")],nn(r),!1),["}"],!1)):t.push("".concat(ne(n),": ").concat(null==r||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||n in e3.Z||n.startsWith("--")?String(r).trim():"".concat(r,"px"),";")))}return t};function nr(e,t,n,r){return nt(e)?[]:tI(e)?[".".concat(e.styledComponentId)]:tw(e)?!tw(e)||e.prototype&&e.prototype.isReactComponent||!t?[e]:nr(e(t),t,n,r):e instanceof t7?n?(e.inject(n,r),[e.getName(r)]):[e]:tL(e)?nn(e):Array.isArray(e)?Array.prototype.concat.apply(tn,e.map(function(e){return nr(e,t,n,r)})):[e.toString()]}function na(e){for(var t=0;t>>0);if(!t.hasNameForId(this.componentId,i)){var o=n(a,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,o)}r=tR(r,i),this.staticRulesId=i}}else{for(var s=tp(this.baseHash,n.hash),l="",c=0;c>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(l,".".concat(p),void 0,this.componentId)),r=tR(r,p)}}return r},e}(),ns=em.createContext(void 0);ns.Consumer;var nl={};function nc(e,t,n){var r,a,i,o,s=tI(e),l=!th(e),c=t.attrs,u=void 0===c?tn:c,d=t.componentId,p=void 0===d?(r=t.displayName,a=t.parentComponentId,nl[i="string"!=typeof r?"sc":ts(r)]=(nl[i]||0)+1,o="".concat(i,"-").concat(tu(tf(e8+i+nl[i])>>>0)),a?"".concat(a,"-").concat(o):o):d,f=t.displayName,h=void 0===f?th(e)?"styled.".concat(e):"Styled(".concat(e.displayName||e.name||"Component",")"):f,g=t.displayName&&t.componentId?"".concat(ts(t.displayName),"-").concat(t.componentId):t.componentId||p,m=s&&e.attrs?e.attrs.concat(u).filter(Boolean):u,b=t.shouldForwardProp;if(s&&e.shouldForwardProp){var y=e.shouldForwardProp;if(t.shouldForwardProp){var E=t.shouldForwardProp;b=function(e,t){return y(e,t)&&E(e,t)}}else b=y}var v=new no(n,g,s?e.componentStyle:void 0);function T(e,t){return function(e,t,n){var r,a,i=e.attrs,o=e.componentStyle,s=e.defaultProps,l=e.foldedComponentIds,c=e.styledComponentId,u=e.target,d=em.useContext(ns),p=t9(),f=e.shouldForwardProp||p.shouldForwardProp,h=(void 0===(r=s)&&(r=tr),t.theme!==r.theme&&t.theme||d||r.theme||tr),g=function(e,t,n){for(var r,a=eb(eb({},t),{className:void 0,theme:n}),i=0;i2&&tJ.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=n.nc,a=tN([r&&'nonce="'.concat(r,'"'),"".concat(e4,'="true"'),"".concat(e9,'="').concat(e8,'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(e.sealed)throw tP(2);return e._emitSheetCSS()},this.getStyleElement=function(){if(e.sealed)throw tP(2);var t,r=e.instance.toString();if(!r)return[];var a=((t={})[e4]="",t[e9]=e8,t.dangerouslySetInnerHTML={__html:r},t),i=n.nc;return i&&(a.nonce=i),[em.createElement("style",eb({},a,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new tJ({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw tP(2);return em.createElement(t8,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw tP(3)}}();var nh=n(4942),ng=n(73935),nm=n.t(ng,2),nb=function(){return(nb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=18&&(J=ny.createRoot)}catch(e){}function nT(e){var t=ny.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"==typeof t&&(t.usingClientEntryPoint=e)}var nS="__rc_react_root__",nO=new Map;"undefined"!=typeof document&&nO.set("tooltip",document.createElement("div"));var nA=function(e,t){void 0===t&&(t=!1);var n=null;if(t)n=nO.get("tooltip");else if(n=document.createElement("div"),null==e?void 0:e.key){var r=nO.get(e.key);r?n=r:nO.set(e.key,n)}return!function(e,t){if(J){var n;nT(!0),n=t[nS]||J(t),nT(!1),n.render(e),t[nS]=n;return}nv(e,t)}(e,n),n},n_=function(e){if("undefined"==typeof document)return"loading";var t=e.attachShadow({mode:"open"}),n=document.createElement("div"),r=document.createElement("style");r.innerHTML=".loading {\n display: inline-block;\n position: relative;\n width: 80px;\n height: 80px;\n }\n .loading div {\n position: absolute;\n top: 33px;\n width: 13px;\n height: 13px;\n border-radius: 50%;\n background: #ccc;\n animation-timing-function: cubic-bezier(0, 1, 1, 0);\n }\n .loading div:nth-child(1) {\n left: 8px;\n animation: loading1 0.6s infinite;\n }\n .loading div:nth-child(2) {\n left: 8px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(3) {\n left: 32px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(4) {\n left: 56px;\n animation: loading3 0.6s infinite;\n }\n @keyframes loading1 {\n 0% {\n transform: scale(0);\n }\n 100% {\n transform: scale(1);\n }\n }\n @keyframes loading3 {\n 0% {\n transform: scale(1);\n }\n 100% {\n transform: scale(0);\n }\n }\n @keyframes loading2 {\n 0% {\n transform: translate(0, 0);\n }\n 100% {\n transform: translate(24px, 0);\n }\n }\n ",n.classList.add("loading"),n.innerHTML="
",t.appendChild(r),t.appendChild(n)},nk=function(e){var t=e.loadingTemplate,n=e.theme,r=em.useRef(null);return em.useEffect(function(){!t&&r.current&&n_(r.current)},[]),em.createElement("div",{className:"charts-loading-container",style:{position:"absolute",width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",left:0,top:0,zIndex:99,backgroundColor:"dark"===(void 0===n?"light":n)?"rgb(20, 20, 20)":"rgb(255, 255, 255)"}},t||em.createElement("div",{ref:r}))},nx=(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),nC=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={hasError:!1},t.renderError=function(e){var n=t.props.errorTemplate;return"function"==typeof n?n(e):n||em.createElement("h5",null,"组件出错了,请核查后重试: ",e.message)},t}return nx(t,e),t.getDerivedStateFromError=function(e){return{hasError:!0,error:e}},t.getDerivedStateFromProps=function(e,t){return t.children!==e.children?{children:e.children,hasError:!1,error:void 0}:null},t.prototype.render=function(){return this.state.hasError?this.renderError(this.state.error):em.createElement(em.Fragment,null,this.props.children)},t}(em.Component),nw=function(e,t,n){if(n||2==arguments.length)for(var r,a=0,i=t.length;a90)return this;this.computeMatrix()}return this._getAxes(),this.type===nN.iM.ORBITING||this.type===nN.iM.EXPLORING?this._getPosition():this.type===nN.iM.TRACKING&&this._getFocalPoint(),this._update(),this}},{key:"pan",value:function(e,t){var n=(0,nN.O4)(e,t,0),r=nG.d9(this.position);return nG.IH(r,r,nG.bA(nG.Ue(),this.right,n[0])),nG.IH(r,r,nG.bA(nG.Ue(),this.up,n[1])),this._setPosition(r),this.triggerUpdate(),this}},{key:"dolly",value:function(e){var t=this.forward,n=nG.d9(this.position),r=e*this.dollyingStep;return r=Math.max(Math.min(this.distance+e*this.dollyingStep,this.maxDistance),this.minDistance)-this.distance,n[0]+=r*t[0],n[1]+=r*t[1],n[2]+=r*t[2],this._setPosition(n),this.type===nN.iM.ORBITING||this.type===nN.iM.EXPLORING?this._getDistance():this.type===nN.iM.TRACKING&&nG.IH(this.focalPoint,n,this.distanceVector),this.triggerUpdate(),this}},{key:"cancelLandmarkAnimation",value:function(){void 0!==this.landmarkAnimationID&&this.canvas.cancelAnimationFrame(this.landmarkAnimationID)}},{key:"createLandmark",value:function(e){var t,n,r,a,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=i.position,s=void 0===o?this.position:o,l=i.focalPoint,c=void 0===l?this.focalPoint:l,u=i.roll,d=i.zoom,p=new nN.GZ.CameraContribution;p.setType(this.type,void 0),p.setPosition(s[0],null!==(t=s[1])&&void 0!==t?t:this.position[1],null!==(n=s[2])&&void 0!==n?n:this.position[2]),p.setFocalPoint(c[0],null!==(r=c[1])&&void 0!==r?r:this.focalPoint[1],null!==(a=c[2])&&void 0!==a?a:this.focalPoint[2]),p.setRoll(null!=u?u:this.roll),p.setZoom(null!=d?d:this.zoom);var f={name:e,matrix:nU.clone(p.getWorldTransform()),right:nG.d9(p.right),up:nG.d9(p.up),forward:nG.d9(p.forward),position:nG.d9(p.getPosition()),focalPoint:nG.d9(p.getFocalPoint()),distanceVector:nG.d9(p.getDistanceVector()),distance:p.getDistance(),dollyingStep:p.getDollyingStep(),azimuth:p.getAzimuth(),elevation:p.getElevation(),roll:p.getRoll(),relAzimuth:p.relAzimuth,relElevation:p.relElevation,relRoll:p.relRoll,zoom:p.getZoom()};return this.landmarks.push(f),f}},{key:"gotoLandmark",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=nB(e,"String")?this.landmarks.find(function(t){return t.name===e}):e;if(r){var a,i=nB(n,"Number")?{duration:n}:n,o=i.easing,s=void 0===o?"linear":o,l=i.duration,c=void 0===l?100:l,u=i.easingFunction,d=i.onfinish,p=void 0===d?void 0:d,f=i.onframe,h=void 0===f?void 0:f;this.cancelLandmarkAnimation();var g=r.position,m=r.focalPoint,b=r.zoom,y=r.roll,E=(void 0===u?void 0:u)||nN.GZ.EasingFunction(s),v=function(){t.setFocalPoint(m),t.setPosition(g),t.setRoll(y),t.setZoom(b),t.computeMatrix(),t.triggerUpdate(),null==p||p()};if(0===c)return v();var T=function(e){void 0===a&&(a=e);var n=e-a;if(n>=c){v();return}var r=E(n/c),i=nG.Ue(),o=nG.Ue(),s=1,l=0;if(nG.t7(i,t.focalPoint,m,r),nG.t7(o,t.position,g,r),l=t.roll*(1-r)+y*r,s=t.zoom*(1-r)+b*r,t.setFocalPoint(i),t.setPosition(o),t.setRoll(l),t.setZoom(s),nG.TK(i,m)+nG.TK(o,g)<=.01&&void 0===b&&void 0===y)return v();t.computeMatrix(),t.triggerUpdate(),nn?n:e},nW={}.toString,nV=function(e){return null==e},nY=function(e){function t(e,n,r,a){var i;return(0,nL.Z)(this,t),(i=(0,nP.Z)(this,t,[e])).currentTime=r,i.timelineTime=a,i.target=n,i.type="finish",i.bubbles=!1,i.currentTarget=n,i.defaultPrevented=!1,i.eventPhase=i.AT_TARGET,i.timeStamp=Date.now(),i.currentTime=r,i.timelineTime=a,i}return(0,nM.Z)(t,e),(0,nD.Z)(t)}(nN.xA),nq=0,nX=(0,nD.Z)(function e(t,n){var r;(0,nL.Z)(this,e),this.currentTimePending=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._playbackRate=1,this._inTimeline=!0,this.effect=t,t.animation=this,this.timeline=n,this.id="".concat(nq++),this._inEffect=!!this.effect.update(0),this._totalDuration=Number(null===(r=this.effect)||void 0===r?void 0:r.getComputedTiming().endTime),this._holdTime=0,this._paused=!1,this.oldPlayState="idle",this.updatePromises()},[{key:"pending",get:function(){return null===this._startTime&&!this._paused&&0!==this.playbackRate||this.currentTimePending}},{key:"playState",get:function(){return this._idle?"idle":this._isFinished?"finished":this._paused?"paused":"running"}},{key:"ready",get:function(){var e=this;return this.readyPromise||(-1===this.timeline.animationsWithPromises.indexOf(this)&&this.timeline.animationsWithPromises.push(this),this.readyPromise=new Promise(function(t,n){e.resolveReadyPromise=function(){t(e)},e.rejectReadyPromise=function(){n(Error())}}),this.pending||this.resolveReadyPromise()),this.readyPromise}},{key:"finished",get:function(){var e=this;return this.finishedPromise||(-1===this.timeline.animationsWithPromises.indexOf(this)&&this.timeline.animationsWithPromises.push(this),this.finishedPromise=new Promise(function(t,n){e.resolveFinishedPromise=function(){t(e)},e.rejectFinishedPromise=function(){n(Error())}}),"finished"===this.playState&&this.resolveFinishedPromise()),this.finishedPromise}},{key:"currentTime",get:function(){return this.updatePromises(),this._idle||this.currentTimePending?null:this._currentTime},set:function(e){if(!isNaN(e=Number(e))){if(this.timeline.restart(),!this._paused&&null!==this._startTime){var t;this._startTime=Number(null===(t=this.timeline)||void 0===t?void 0:t.currentTime)-e/this.playbackRate}this.currentTimePending=!1,this._currentTime!==e&&(this._idle&&(this._idle=!1,this._paused=!0),this.tickCurrentTime(e,!0),this.timeline.applyDirtiedAnimation(this))}}},{key:"startTime",get:function(){return this._startTime},set:function(e){null!==e&&(this.updatePromises(),!isNaN(e=Number(e))&&(this._paused||this._idle||(this._startTime=e,this.tickCurrentTime((Number(this.timeline.currentTime)-this._startTime)*this.playbackRate),this.timeline.applyDirtiedAnimation(this),this.updatePromises())))}},{key:"playbackRate",get:function(){return this._playbackRate},set:function(e){if(e!==this._playbackRate){this.updatePromises();var t=this.currentTime;this._playbackRate=e,this.startTime=null,"paused"!==this.playState&&"idle"!==this.playState&&(this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this)),null!==t&&(this.currentTime=t),this.updatePromises()}}},{key:"_isFinished",get:function(){return!this._idle&&(this._playbackRate>0&&Number(this._currentTime)>=this._totalDuration||this._playbackRate<0&&0>=Number(this._currentTime))}},{key:"totalDuration",get:function(){return this._totalDuration}},{key:"_needsTick",get:function(){return this.pending||"running"===this.playState||!this._finishedFlag}},{key:"updatePromises",value:function(){var e=this.oldPlayState,t=this.pending?"pending":this.playState;return this.readyPromise&&t!==e&&("idle"===t?(this.rejectReadyPromise(),this.readyPromise=void 0):"pending"===e?this.resolveReadyPromise():"pending"===t&&(this.readyPromise=void 0)),this.finishedPromise&&t!==e&&("idle"===t?(this.rejectFinishedPromise(),this.finishedPromise=void 0):"finished"===t?this.resolveFinishedPromise():"finished"===e&&(this.finishedPromise=void 0)),this.oldPlayState=t,this.readyPromise||this.finishedPromise}},{key:"play",value:function(){this.updatePromises(),this._paused=!1,(this._isFinished||this._idle)&&(this.rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this),-1===this.timeline.animations.indexOf(this)&&this.timeline.animations.push(this),this.updatePromises()}},{key:"pause",value:function(){this.updatePromises(),this.currentTime&&(this._holdTime=this.currentTime),this._isFinished||this._paused||this._idle?this._idle&&(this.rewind(),this._idle=!1):this.currentTimePending=!0,this._startTime=null,this._paused=!0,this.updatePromises()}},{key:"finish",value:function(){this.updatePromises(),this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this.currentTimePending=!1,this.timeline.applyDirtiedAnimation(this),this.updatePromises())}},{key:"cancel",value:function(){var e=this;if(this.updatePromises(),this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this.effect.update(null),this.timeline.applyDirtiedAnimation(this),this.updatePromises(),this.oncancel)){var t=new nY(null,this,this.currentTime,null);setTimeout(function(){e.oncancel(t)})}}},{key:"reverse",value:function(){this.updatePromises();var e=this.currentTime;this.playbackRate*=-1,this.play(),null!==e&&(this.currentTime=e),this.updatePromises()}},{key:"updatePlaybackRate",value:function(e){this.playbackRate=e}},{key:"targetAnimations",value:function(){var e;return(null===(e=this.effect)||void 0===e?void 0:e.target).getAnimations()}},{key:"markTarget",value:function(){var e=this.targetAnimations();-1===e.indexOf(this)&&e.push(this)}},{key:"unmarkTarget",value:function(){var e=this.targetAnimations(),t=e.indexOf(this);-1!==t&&e.splice(t,1)}},{key:"tick",value:function(e,t){this._idle||this._paused||(null===this._startTime?t&&(this.startTime=e-this._currentTime/this.playbackRate):this._isFinished||this.tickCurrentTime((e-this._startTime)*this.playbackRate)),t&&(this.currentTimePending=!1,this.fireEvents(e))}},{key:"rewind",value:function(){if(this.playbackRate>=0)this.currentTime=0;else if(this._totalDuration<1/0)this.currentTime=this._totalDuration;else throw Error("Unable to rewind negative playback rate animation with infinite duration")}},{key:"persist",value:function(){throw Error(nN.jf)}},{key:"addEventListener",value:function(e,t,n){throw Error(nN.jf)}},{key:"removeEventListener",value:function(e,t,n){throw Error(nN.jf)}},{key:"dispatchEvent",value:function(e){throw Error(nN.jf)}},{key:"commitStyles",value:function(){throw Error(nN.jf)}},{key:"ensureAlive",value:function(){var e,t;this.playbackRate<0&&0===this.currentTime?this._inEffect=!!(null!==(e=this.effect)&&void 0!==e&&e.update(-1)):this._inEffect=!!(null!==(t=this.effect)&&void 0!==t&&t.update(this.currentTime)),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,this.timeline.animations.push(this))}},{key:"tickCurrentTime",value:function(e,t){e!==this._currentTime&&(this._currentTime=e,this._isFinished&&!t&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this.ensureAlive())}},{key:"fireEvents",value:function(e){var t=this;if(this._isFinished){if(!this._finishedFlag){if(this.onfinish){var n=new nY(null,this,this.currentTime,e);setTimeout(function(){t.onfinish&&t.onfinish(n)})}this._finishedFlag=!0}}else{if(this.onframe&&"running"===this.playState){var r=new nY(null,this,this.currentTime,e);this.onframe(r)}this._finishedFlag=!1}}}]),nK="function"==typeof Float32Array,nQ=function(e,t){return 1-3*t+3*e},nJ=function(e,t){return 3*t-6*e},n0=function(e){return 3*e},n1=function(e,t,n){return((nQ(t,n)*e+nJ(t,n))*e+n0(t))*e},n2=function(e,t,n){return 3*nQ(t,n)*e*e+2*nJ(t,n)*e+n0(t)},n3=function(e,t,n,r,a){var i,o,s=0;do(i=n1(o=t+(n-t)/2,r,a)-e)>0?n=o:t=o;while(Math.abs(i)>1e-7&&++s<10);return o},n5=function(e,t,n,r){for(var a=0;a<4;++a){var i=n2(t,n,r);if(0===i)break;var o=n1(t,n,r)-e;t-=o/i}return t},n4=function(e,t,n,r){if(!(e>=0&&e<=1&&n>=0&&n<=1))throw Error("bezier x values must be in [0, 1] range");if(e===t&&n===r)return function(e){return e};for(var a=nK?new Float32Array(11):Array(11),i=0;i<11;++i)a[i]=n1(.1*i,e,n);var o=function(t){for(var r=0,i=1;10!==i&&a[i]<=t;++i)r+=.1;var o=r+(t-a[--i])/(a[i+1]-a[i])*.1,s=n2(o,e,n);return s>=.001?n5(t,o,e,n):0===s?o:n3(t,r,r+.1,e,n)};return function(e){return 0===e||1===e?e:n1(o(e),t,r)}},n6=function(e){return Math.pow(e,2)},n9=function(e){return Math.pow(e,3)},n8=function(e){return Math.pow(e,4)},n7=function(e){return Math.pow(e,5)},re=function(e){return Math.pow(e,6)},rt=function(e){return 1-Math.cos(e*Math.PI/2)},rn=function(e){return 1-Math.sqrt(1-e*e)},rr=function(e){return e*e*(3*e-2)},ra=function(e){for(var t,n=4;e<((t=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*t-2)/22-e,2)},ri=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,2),r=n[0],a=n[1],i=nZ(Number(void 0===r?1:r),1,10),o=nZ(Number(void 0===a?.5:a),.1,2);return 0===e||1===e?e:-i*Math.pow(2,10*(e-1))*Math.sin((e-1-o/(2*Math.PI)*Math.asin(1/i))*(2*Math.PI)/o)},ro=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,r=(0,nz.Z)(t,4),a=r[0],i=void 0===a?1:a,o=r[1],s=void 0===o?100:o,l=r[2],c=void 0===l?10:l,u=r[3],d=void 0===u?0:u;i=nZ(i,.1,1e3),s=nZ(s,.1,1e3),c=nZ(c,.1,1e3),d=nZ(d,.1,1e3);var p=Math.sqrt(s/i),f=c/(2*Math.sqrt(s*i)),h=f<1?p*Math.sqrt(1-f*f):0,g=f<1?(f*p+-d)/h:-d+p,m=n?n*e/1e3:e;return(m=f<1?Math.exp(-m*f*p)*(1*Math.cos(h*m)+g*Math.sin(h*m)):(1+g*m)*Math.exp(-m*p),0===e||1===e)?e:1-m},rs=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,2),r=n[0],a=void 0===r?10:r;return("start"===n[1]?Math.ceil:Math.floor)(nZ(e,0,1)*a)/a},rl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,4);return n4(n[0],n[1],n[2],n[3])(e)},rc=n4(.42,0,1,1),ru=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return 1-e(1-t,n,r)}},rd=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return t<.5?e(2*t,n,r)/2:1-e(-2*t+2,n,r)/2}},rp=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return t<.5?(1-e(1-2*t,n,r))/2:(e(2*t-1,n,r)+1)/2}},rf={steps:rs,"step-start":function(e){return rs(e,[1,"start"])},"step-end":function(e){return rs(e,[1,"end"])},linear:function(e){return e},"cubic-bezier":rl,ease:function(e){return rl(e,[.25,.1,.25,1])},in:rc,out:ru(rc),"in-out":rd(rc),"out-in":rp(rc),"in-quad":n6,"out-quad":ru(n6),"in-out-quad":rd(n6),"out-in-quad":rp(n6),"in-cubic":n9,"out-cubic":ru(n9),"in-out-cubic":rd(n9),"out-in-cubic":rp(n9),"in-quart":n8,"out-quart":ru(n8),"in-out-quart":rd(n8),"out-in-quart":rp(n8),"in-quint":n7,"out-quint":ru(n7),"in-out-quint":rd(n7),"out-in-quint":rp(n7),"in-expo":re,"out-expo":ru(re),"in-out-expo":rd(re),"out-in-expo":rp(re),"in-sine":rt,"out-sine":ru(rt),"in-out-sine":rd(rt),"out-in-sine":rp(rt),"in-circ":rn,"out-circ":ru(rn),"in-out-circ":rd(rn),"out-in-circ":rp(rn),"in-back":rr,"out-back":ru(rr),"in-out-back":rd(rr),"out-in-back":rp(rr),"in-bounce":ra,"out-bounce":ru(ra),"in-out-bounce":rd(ra),"out-in-bounce":rp(ra),"in-elastic":ri,"out-elastic":ru(ri),"in-out-elastic":rd(ri),"out-in-elastic":rp(ri),spring:ro,"spring-in":ro,"spring-out":ru(ro),"spring-in-out":rd(ro),"spring-out-in":rp(ro)},rh=function(e){var t;return("-"===(t=(t=e).replace(/([A-Z])/g,function(e){return"-".concat(e.toLowerCase())})).charAt(0)?t.substring(1):t).replace(/^ease-/,"").replace(/(\(|\s).+/,"").toLowerCase().trim()},rg=function(e){return e};function rm(e,t){return function(n){if(n>=1)return 1;var r=1/e;return(n+=t*r)-n%r}}var rb="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",ry=new RegExp("cubic-bezier\\(".concat(rb,",").concat(rb,",").concat(rb,",").concat(rb,"\\)")),rE=/steps\(\s*(\d+)\s*\)/,rv=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/;function rT(e){var t=ry.exec(e);if(t)return n4.apply(void 0,(0,n$.Z)(t.slice(1).map(Number)));var n=rE.exec(e);if(n)return rm(Number(n[1]),0);var r=rv.exec(e);return r?rm(Number(r[1]),{start:1,middle:.5,end:0}[r[2]]):rf[rh(e)]||rf.linear}function rS(e){return"offset"!==e&&"easing"!==e&&"composite"!==e&&"computedOffset"!==e}var rO=function(e,t,n){return function(r){var a,i=function e(t,n,r){if("number"==typeof t&&"number"==typeof n)return t*(1-r)+n*r;if("boolean"==typeof t&&"boolean"==typeof n||"string"==typeof t&&"string"==typeof n)return r<.5?t:n;if(Array.isArray(t)&&Array.isArray(n)){for(var a=t.length,i=n.length,o=Math.max(a,i),s=[],l=0;l1)throw Error("Keyframe offsets must be between 0 and 1.");n.computedOffset=a}}else if("composite"===r&&-1===["replace","add","accumulate","auto"].indexOf(a))throw Error("".concat(a," compositing is not supported"));n[r]=a}return void 0===n.offset&&(n.offset=null),void 0===n.easing&&(n.easing=(null==t?void 0:t.easing)||"linear"),void 0===n.composite&&(n.composite="auto"),n}),r=!0,a=-1/0,i=0;i=0&&1>=Number(e.offset)}),r||function(){var e,t,r=n.length;n[r-1].computedOffset=Number(null!==(e=n[r-1].offset)&&void 0!==e?e:1),r>1&&(n[0].computedOffset=Number(null!==(t=n[0].offset)&&void 0!==t?t:0));for(var a=0,i=Number(n[0].computedOffset),o=1;o=e.applyFrom&&t=Math.min(n.delay+e+n.endDelay,r)?2:3}(e,t,n),u=function(e,t,n,r,a){switch(r){case 1:if("backwards"===t||"both"===t)return 0;return null;case 3:return n-a;case 2:if("forwards"===t||"both"===t)return e;return null;case 0:return null}}(e,n.fill,t,c,n.delay);if(null===u)return null;var d="auto"===n.duration?0:n.duration,p=(r=n.iterations,a=n.iterationStart,0===d?1!==c&&(a+=r):a+=u/d,a),f=(i=n.iterationStart,o=n.iterations,0==(s=p===1/0?i%1:p%1)&&2===c&&0!==o&&(0!==u||0===d)&&(s=1),s),h=(l=n.iterations,2===c&&l===1/0?1/0:1===f?Math.floor(p)-1:Math.floor(p)),g=function(e,t,n){var r=e;if("normal"!==e&&"reverse"!==e){var a=t;"alternate-reverse"===e&&(a+=1),r="normal",a!==1/0&&a%2!=0&&(r="reverse")}return"normal"===r?n:1-n}(n.direction,h,f);return n.currentIteration=h,n.progress=g,n.easingFunction(g)}(this.timing.activeDuration,e,this.timing),null!==this.timeFraction)}},{key:"getKeyframes",value:function(){return this.normalizedKeyframes}},{key:"setKeyframes",value:function(e){this.normalizedKeyframes=r_(e)}},{key:"getComputedTiming",value:function(){return this.computedTiming}},{key:"getTiming",value:function(){return this.timing}},{key:"updateTiming",value:function(e){var t=this;Object.keys(e||{}).forEach(function(n){t.timing[n]=e[n]})}}]);function rw(e,t){return Number(e.id)-Number(t.id)}var rI=(0,nD.Z)(function e(t){var n=this;(0,nL.Z)(this,e),this.animations=[],this.ticking=!1,this.timelineTicking=!1,this.hasRestartedThisFrame=!1,this.animationsWithPromises=[],this.inTick=!1,this.pendingEffects=[],this.currentTime=null,this.rafId=0,this.rafCallbacks=[],this.webAnimationsNextTick=function(e){n.currentTime=e,n.discardAnimations(),0===n.animations.length?n.timelineTicking=!1:n.requestAnimationFrame(n.webAnimationsNextTick)},this.processRafCallbacks=function(e){var t=n.rafCallbacks;n.rafCallbacks=[],et.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let rN=(e,t,n)=>[["M",e-n,t],["A",n,n,0,1,0,e+n,t],["A",n,n,0,1,0,e-n,t],["Z"]];rN.style=["fill"];let rL=rN.bind(void 0);rL.style=["stroke","lineWidth"];let rD=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t-n],["L",e+n,t+n],["L",e-n,t+n],["Z"]];rD.style=["fill"];let rP=rD.bind(void 0);rP.style=["fill"];let rM=rD.bind(void 0);rM.style=["stroke","lineWidth"];let rF=(e,t,n)=>{let r=.618*n;return[["M",e-r,t],["L",e,t-n],["L",e+r,t],["L",e,t+n],["Z"]]};rF.style=["fill"];let rB=rF.bind(void 0);rB.style=["stroke","lineWidth"];let rj=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t+r],["L",e,t-r],["L",e+n,t+r],["Z"]]};rj.style=["fill"];let rU=rj.bind(void 0);rU.style=["stroke","lineWidth"];let rG=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t-r],["L",e+n,t-r],["L",e,t+r],["Z"]]};rG.style=["fill"];let rH=rG.bind(void 0);rH.style=["stroke","lineWidth"];let r$=(e,t,n)=>{let r=n/2*Math.sqrt(3);return[["M",e,t-n],["L",e+r,t-n/2],["L",e+r,t+n/2],["L",e,t+n],["L",e-r,t+n/2],["L",e-r,t-n/2],["Z"]]};r$.style=["fill"];let rz=r$.bind(void 0);rz.style=["stroke","lineWidth"];let rZ=(e,t,n)=>{let r=n-1.5;return[["M",e-n,t-r],["L",e+n,t+r],["L",e+n,t-r],["L",e-n,t+r],["Z"]]};rZ.style=["fill"];let rW=rZ.bind(void 0);rW.style=["stroke","lineWidth"];let rV=(e,t,n)=>[["M",e,t+n],["L",e,t-n]];rV.style=["stroke","lineWidth"];let rY=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t+n],["M",e+n,t-n],["L",e-n,t+n]];rY.style=["stroke","lineWidth"];let rq=(e,t,n)=>[["M",e-n/2,t-n],["L",e+n/2,t-n],["M",e,t-n],["L",e,t+n],["M",e-n/2,t+n],["L",e+n/2,t+n]];rq.style=["stroke","lineWidth"];let rX=(e,t,n)=>[["M",e-n,t],["L",e+n,t],["M",e,t-n],["L",e,t+n]];rX.style=["stroke","lineWidth"];let rK=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rK.style=["stroke","lineWidth"];let rQ=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rQ.style=["stroke","lineWidth"];let rJ=rQ.bind(void 0);rJ.style=["stroke","lineWidth"];let r0=(e,t,n)=>[["M",e-n,t],["A",n/2,n/2,0,1,1,e,t],["A",n/2,n/2,0,1,0,e+n,t]];r0.style=["stroke","lineWidth"];let r1=(e,t,n)=>[["M",e-n-1,t-2.5],["L",e,t-2.5],["L",e,t+2.5],["L",e+n+1,t+2.5]];r1.style=["stroke","lineWidth"];let r2=(e,t,n)=>[["M",e-n-1,t+2.5],["L",e,t+2.5],["L",e,t-2.5],["L",e+n+1,t-2.5]];r2.style=["stroke","lineWidth"];let r3=(e,t,n)=>[["M",e-(n+1),t+2.5],["L",e-n/2,t+2.5],["L",e-n/2,t-2.5],["L",e+n/2,t-2.5],["L",e+n/2,t+2.5],["L",e+n+1,t+2.5]];r3.style=["stroke","lineWidth"];let r5=(e,t,n)=>[["M",e-5,t+2.5],["L",e-5,t],["L",e,t],["L",e,t-3],["L",e,t+3],["L",e+6.5,t+3]];r5.style=["stroke","lineWidth"];let r4=new Map([["bowtie",rZ],["cross",rY],["dash",rJ],["diamond",rF],["dot",rQ],["hexagon",r$],["hollowBowtie",rW],["hollowDiamond",rB],["hollowHexagon",rz],["hollowPoint",rL],["hollowSquare",rM],["hollowTriangle",rU],["hollowTriangleDown",rH],["hv",r1],["hvh",r3],["hyphen",rK],["line",rV],["plus",rX],["point",rN],["rect",rP],["smooth",r0],["square",rD],["tick",rq],["triangleDown",rG],["triangle",rj],["vh",r2],["vhv",r5]]),r6={};function r9(e,t){if(e.startsWith("symbol.")){var n;n=e.split(".").pop(),r4.set(n,t)}else Object.assign(r6,{[e]:t})}var r8=n(88998);/*! + `,transition:`all ${e.motionDurationMid}`,"&-hoverable:hover":{position:"relative",zIndex:1,boxShadow:r}}},E=e=>{let{componentCls:t,iconCls:n,actionsLiMargin:r,cardActionsIconSize:a,colorBorderSecondary:i,actionsBg:o}=e;return Object.assign(Object.assign({margin:0,padding:0,listStyle:"none",background:o,borderTop:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${i}`,display:"flex",borderRadius:`0 0 ${(0,f.bf)(e.borderRadiusLG)} ${(0,f.bf)(e.borderRadiusLG)}`},(0,h.dF)()),{"& > li":{margin:r,color:e.colorTextDescription,textAlign:"center","> span":{position:"relative",display:"block",minWidth:e.calc(e.cardActionsIconSize).mul(2).equal(),fontSize:e.fontSize,lineHeight:e.lineHeight,cursor:"pointer","&:hover":{color:e.colorPrimary,transition:`color ${e.motionDurationMid}`},[`a:not(${t}-btn), > ${n}`]:{display:"inline-block",width:"100%",color:e.colorTextDescription,lineHeight:(0,f.bf)(e.fontHeight),transition:`color ${e.motionDurationMid}`,"&:hover":{color:e.colorPrimary}},[`> ${n}`]:{fontSize:a,lineHeight:(0,f.bf)(e.calc(a).mul(e.lineHeight).equal())}},"&:not(:last-child)":{borderInlineEnd:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${i}`}}})},v=e=>Object.assign(Object.assign({margin:`${(0,f.bf)(e.calc(e.marginXXS).mul(-1).equal())} 0`,display:"flex"},(0,h.dF)()),{"&-avatar":{paddingInlineEnd:e.padding},"&-detail":{overflow:"hidden",flex:1,"> div:not(:last-child)":{marginBottom:e.marginXS}},"&-title":Object.assign({color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:e.fontSizeLG},h.vS),"&-description":{color:e.colorTextDescription}}),T=e=>{let{componentCls:t,cardPaddingBase:n,colorFillAlter:r}=e;return{[`${t}-head`]:{padding:`0 ${(0,f.bf)(n)}`,background:r,"&-title":{fontSize:e.fontSize}},[`${t}-body`]:{padding:`${(0,f.bf)(e.padding)} ${(0,f.bf)(n)}`}}},S=e=>{let{componentCls:t}=e;return{overflow:"hidden",[`${t}-body`]:{userSelect:"none"}}},O=e=>{let{componentCls:t,cardShadow:n,cardHeadPadding:r,colorBorderSecondary:a,boxShadowTertiary:i,cardPaddingBase:o,extraColor:s}=e;return{[t]:Object.assign(Object.assign({},(0,h.Wf)(e)),{position:"relative",background:e.colorBgContainer,borderRadius:e.borderRadiusLG,[`&:not(${t}-bordered)`]:{boxShadow:i},[`${t}-head`]:b(e),[`${t}-extra`]:{marginInlineStart:"auto",color:s,fontWeight:"normal",fontSize:e.fontSize},[`${t}-body`]:Object.assign({padding:o,borderRadius:`0 0 ${(0,f.bf)(e.borderRadiusLG)} ${(0,f.bf)(e.borderRadiusLG)}`},(0,h.dF)()),[`${t}-grid`]:y(e),[`${t}-cover`]:{"> *":{display:"block",width:"100%",borderRadius:`${(0,f.bf)(e.borderRadiusLG)} ${(0,f.bf)(e.borderRadiusLG)} 0 0`}},[`${t}-actions`]:E(e),[`${t}-meta`]:v(e)}),[`${t}-bordered`]:{border:`${(0,f.bf)(e.lineWidth)} ${e.lineType} ${a}`,[`${t}-cover`]:{marginTop:-1,marginInlineStart:-1,marginInlineEnd:-1}},[`${t}-hoverable`]:{cursor:"pointer",transition:`box-shadow ${e.motionDurationMid}, border-color ${e.motionDurationMid}`,"&:hover":{borderColor:"transparent",boxShadow:n}},[`${t}-contain-grid`]:{borderRadius:`${(0,f.bf)(e.borderRadiusLG)} ${(0,f.bf)(e.borderRadiusLG)} 0 0 `,[`${t}-body`]:{display:"flex",flexWrap:"wrap"},[`&:not(${t}-loading) ${t}-body`]:{marginBlockStart:e.calc(e.lineWidth).mul(-1).equal(),marginInlineStart:e.calc(e.lineWidth).mul(-1).equal(),padding:0}},[`${t}-contain-tabs`]:{[`> div${t}-head`]:{minHeight:0,[`${t}-head-title, ${t}-extra`]:{paddingTop:r}}},[`${t}-type-inner`]:T(e),[`${t}-loading`]:S(e),[`${t}-rtl`]:{direction:"rtl"}}},A=e=>{let{componentCls:t,cardPaddingSM:n,headerHeightSM:r,headerFontSizeSM:a}=e;return{[`${t}-small`]:{[`> ${t}-head`]:{minHeight:r,padding:`0 ${(0,f.bf)(n)}`,fontSize:a,[`> ${t}-head-wrapper`]:{[`> ${t}-extra`]:{fontSize:e.fontSize}}},[`> ${t}-body`]:{padding:n}},[`${t}-small${t}-contain-tabs`]:{[`> ${t}-head`]:{[`${t}-head-title, ${t}-extra`]:{paddingTop:0,display:"flex",alignItems:"center"}}}}};var _=(0,g.I$)("Card",e=>{let t=(0,m.IX)(e,{cardShadow:e.boxShadowCard,cardHeadPadding:e.padding,cardPaddingBase:e.paddingLG,cardActionsIconSize:e.fontSize,cardPaddingSM:12});return[O(t),A(t)]},e=>({headerBg:"transparent",headerFontSize:e.fontSizeLG,headerFontSizeSM:e.fontSize,headerHeight:e.fontSizeLG*e.lineHeightLG+2*e.padding,headerHeightSM:e.fontSize*e.lineHeight+2*e.paddingXS,actionsBg:e.colorBgContainer,actionsLiMargin:`${e.paddingSM}px 0`,tabsMarginBottom:-e.padding-e.lineWidth,extraColor:e.colorText})),k=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let x=e=>{let{actionClasses:t,actions:n=[],actionStyle:a}=e;return r.createElement("ul",{className:t,style:a},n.map((e,t)=>{let a=`action-${t}`;return r.createElement("li",{style:{width:`${100/n.length}%`},key:a},r.createElement("span",null,e))}))},C=r.forwardRef((e,t)=>{let n;let{prefixCls:a,className:d,rootClassName:f,style:h,extra:g,headStyle:m={},bodyStyle:b={},title:y,loading:E,bordered:v=!0,size:T,type:S,cover:O,actions:A,tabList:C,children:w,activeTabKey:I,defaultActiveTabKey:R,tabBarExtraContent:N,hoverable:L,tabProps:D={},classNames:P,styles:M}=e,F=k(e,["prefixCls","className","rootClassName","style","extra","headStyle","bodyStyle","title","loading","bordered","size","type","cover","actions","tabList","children","activeTabKey","defaultActiveTabKey","tabBarExtraContent","hoverable","tabProps","classNames","styles"]),{getPrefixCls:B,direction:j,card:U}=r.useContext(s.E_),G=e=>{var t;return i()(null===(t=null==U?void 0:U.classNames)||void 0===t?void 0:t[e],null==P?void 0:P[e])},H=e=>{var t;return Object.assign(Object.assign({},null===(t=null==U?void 0:U.styles)||void 0===t?void 0:t[e]),null==M?void 0:M[e])},$=r.useMemo(()=>{let e=!1;return r.Children.forEach(w,t=>{(null==t?void 0:t.type)===p&&(e=!0)}),e},[w]),z=B("card",a),[Z,W,V]=_(z),Y=r.createElement(c.Z,{loading:!0,active:!0,paragraph:{rows:4},title:!1},w),q=void 0!==I,X=Object.assign(Object.assign({},D),{[q?"activeKey":"defaultActiveKey"]:q?I:R,tabBarExtraContent:N}),K=(0,l.Z)(T),Q=C?r.createElement(u.Z,Object.assign({size:K&&"default"!==K?K:"large"},X,{className:`${z}-head-tabs`,onChange:t=>{var n;null===(n=e.onTabChange)||void 0===n||n.call(e,t)},items:C.map(e=>{var{tab:t}=e;return Object.assign({label:t},k(e,["tab"]))})})):null;if(y||g||Q){let e=i()(`${z}-head`,G("header")),t=i()(`${z}-head-title`,G("title")),a=i()(`${z}-extra`,G("extra")),o=Object.assign(Object.assign({},m),H("header"));n=r.createElement("div",{className:e,style:o},r.createElement("div",{className:`${z}-head-wrapper`},y&&r.createElement("div",{className:t,style:H("title")},y),g&&r.createElement("div",{className:a,style:H("extra")},g)),Q)}let J=i()(`${z}-cover`,G("cover")),ee=O?r.createElement("div",{className:J,style:H("cover")},O):null,et=i()(`${z}-body`,G("body")),en=Object.assign(Object.assign({},b),H("body")),er=r.createElement("div",{className:et,style:en},E?Y:w),ea=i()(`${z}-actions`,G("actions")),ei=(null==A?void 0:A.length)?r.createElement(x,{actionClasses:ea,actionStyle:H("actions"),actions:A}):null,eo=(0,o.Z)(F,["onTabChange"]),es=i()(z,null==U?void 0:U.className,{[`${z}-loading`]:E,[`${z}-bordered`]:v,[`${z}-hoverable`]:L,[`${z}-contain-grid`]:$,[`${z}-contain-tabs`]:null==C?void 0:C.length,[`${z}-${K}`]:K,[`${z}-type-${S}`]:!!S,[`${z}-rtl`]:"rtl"===j},d,f,W,V),el=Object.assign(Object.assign({},null==U?void 0:U.style),h);return Z(r.createElement("div",Object.assign({ref:t},eo,{className:es,style:el}),n,ee,er,ei))});var w=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};C.Grid=p,C.Meta=e=>{let{prefixCls:t,className:n,avatar:a,title:o,description:l}=e,c=w(e,["prefixCls","className","avatar","title","description"]),{getPrefixCls:u}=r.useContext(s.E_),d=u("card",t),p=i()(`${d}-meta`,n),f=a?r.createElement("div",{className:`${d}-meta-avatar`},a):null,h=o?r.createElement("div",{className:`${d}-meta-title`},o):null,g=l?r.createElement("div",{className:`${d}-meta-description`},l):null,m=h||g?r.createElement("div",{className:`${d}-meta-detail`},h,g):null;return r.createElement("div",Object.assign({},c,{className:p}),f,m)};var I=C},85265:function(e,t,n){"use strict";n.d(t,{Z:function(){return q}});var r=n(67294),a=n(93967),i=n.n(a),o=n(1413),s=n(97685),l=n(2788),c=n(8410),u=r.createContext(null),d=r.createContext({}),p=n(4942),f=n(87462),h=n(29372),g=n(15105),m=n(64217),b=n(45987),y=n(42550),E=["prefixCls","className","containerRef"],v=function(e){var t=e.prefixCls,n=e.className,a=e.containerRef,o=(0,b.Z)(e,E),s=r.useContext(d).panel,l=(0,y.x1)(s,a);return r.createElement("div",(0,f.Z)({className:i()("".concat(t,"-content"),n),role:"dialog",ref:l},(0,m.Z)(e,{aria:!0}),{"aria-modal":"true"},o))},T=n(80334);function S(e){return"string"==typeof e&&String(Number(e))===e?((0,T.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var O={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"},A=r.forwardRef(function(e,t){var n,a,l,c=e.prefixCls,d=e.open,b=e.placement,y=e.inline,E=e.push,T=e.forceRender,A=e.autoFocus,_=e.keyboard,k=e.classNames,x=e.rootClassName,C=e.rootStyle,w=e.zIndex,I=e.className,R=e.id,N=e.style,L=e.motion,D=e.width,P=e.height,M=e.children,F=e.mask,B=e.maskClosable,j=e.maskMotion,U=e.maskClassName,G=e.maskStyle,H=e.afterOpenChange,$=e.onClose,z=e.onMouseEnter,Z=e.onMouseOver,W=e.onMouseLeave,V=e.onClick,Y=e.onKeyDown,q=e.onKeyUp,X=e.styles,K=e.drawerRender,Q=r.useRef(),J=r.useRef(),ee=r.useRef();r.useImperativeHandle(t,function(){return Q.current}),r.useEffect(function(){if(d&&A){var e;null===(e=Q.current)||void 0===e||e.focus({preventScroll:!0})}},[d]);var et=r.useState(!1),en=(0,s.Z)(et,2),er=en[0],ea=en[1],ei=r.useContext(u),eo=null!==(n=null!==(a=null===(l="boolean"==typeof E?E?{}:{distance:0}:E||{})||void 0===l?void 0:l.distance)&&void 0!==a?a:null==ei?void 0:ei.pushDistance)&&void 0!==n?n:180,es=r.useMemo(function(){return{pushDistance:eo,push:function(){ea(!0)},pull:function(){ea(!1)}}},[eo]);r.useEffect(function(){var e,t;d?null==ei||null===(e=ei.push)||void 0===e||e.call(ei):null==ei||null===(t=ei.pull)||void 0===t||t.call(ei)},[d]),r.useEffect(function(){return function(){var e;null==ei||null===(e=ei.pull)||void 0===e||e.call(ei)}},[]);var el=F&&r.createElement(h.ZP,(0,f.Z)({key:"mask"},j,{visible:d}),function(e,t){var n=e.className,a=e.style;return r.createElement("div",{className:i()("".concat(c,"-mask"),n,null==k?void 0:k.mask,U),style:(0,o.Z)((0,o.Z)((0,o.Z)({},a),G),null==X?void 0:X.mask),onClick:B&&d?$:void 0,ref:t})}),ec="function"==typeof L?L(b):L,eu={};if(er&&eo)switch(b){case"top":eu.transform="translateY(".concat(eo,"px)");break;case"bottom":eu.transform="translateY(".concat(-eo,"px)");break;case"left":eu.transform="translateX(".concat(eo,"px)");break;default:eu.transform="translateX(".concat(-eo,"px)")}"left"===b||"right"===b?eu.width=S(D):eu.height=S(P);var ed={onMouseEnter:z,onMouseOver:Z,onMouseLeave:W,onClick:V,onKeyDown:Y,onKeyUp:q},ep=r.createElement(h.ZP,(0,f.Z)({key:"panel"},ec,{visible:d,forceRender:T,onVisibleChanged:function(e){null==H||H(e)},removeOnLeave:!1,leavedClassName:"".concat(c,"-content-wrapper-hidden")}),function(t,n){var a=t.className,s=t.style,l=r.createElement(v,(0,f.Z)({id:R,containerRef:n,prefixCls:c,className:i()(I,null==k?void 0:k.content),style:(0,o.Z)((0,o.Z)({},N),null==X?void 0:X.content)},(0,m.Z)(e,{aria:!0}),ed),M);return r.createElement("div",(0,f.Z)({className:i()("".concat(c,"-content-wrapper"),null==k?void 0:k.wrapper,a),style:(0,o.Z)((0,o.Z)((0,o.Z)({},eu),s),null==X?void 0:X.wrapper)},(0,m.Z)(e,{data:!0})),K?K(l):l)}),ef=(0,o.Z)({},C);return w&&(ef.zIndex=w),r.createElement(u.Provider,{value:es},r.createElement("div",{className:i()(c,"".concat(c,"-").concat(b),x,(0,p.Z)((0,p.Z)({},"".concat(c,"-open"),d),"".concat(c,"-inline"),y)),style:ef,tabIndex:-1,ref:Q,onKeyDown:function(e){var t,n,r=e.keyCode,a=e.shiftKey;switch(r){case g.Z.TAB:r===g.Z.TAB&&(a||document.activeElement!==ee.current?a&&document.activeElement===J.current&&(null===(n=ee.current)||void 0===n||n.focus({preventScroll:!0})):null===(t=J.current)||void 0===t||t.focus({preventScroll:!0}));break;case g.Z.ESC:$&&_&&(e.stopPropagation(),$(e))}}},el,r.createElement("div",{tabIndex:0,ref:J,style:O,"aria-hidden":"true","data-sentinel":"start"}),ep,r.createElement("div",{tabIndex:0,ref:ee,style:O,"aria-hidden":"true","data-sentinel":"end"})))}),_=function(e){var t=e.open,n=e.prefixCls,a=e.placement,i=e.autoFocus,u=e.keyboard,p=e.width,f=e.mask,h=void 0===f||f,g=e.maskClosable,m=e.getContainer,b=e.forceRender,y=e.afterOpenChange,E=e.destroyOnClose,v=e.onMouseEnter,T=e.onMouseOver,S=e.onMouseLeave,O=e.onClick,_=e.onKeyDown,k=e.onKeyUp,x=e.panelRef,C=r.useState(!1),w=(0,s.Z)(C,2),I=w[0],R=w[1],N=r.useState(!1),L=(0,s.Z)(N,2),D=L[0],P=L[1];(0,c.Z)(function(){P(!0)},[]);var M=!!D&&void 0!==t&&t,F=r.useRef(),B=r.useRef();(0,c.Z)(function(){M&&(B.current=document.activeElement)},[M]);var j=r.useMemo(function(){return{panel:x}},[x]);if(!b&&!I&&!M&&E)return null;var U=(0,o.Z)((0,o.Z)({},e),{},{open:M,prefixCls:void 0===n?"rc-drawer":n,placement:void 0===a?"right":a,autoFocus:void 0===i||i,keyboard:void 0===u||u,width:void 0===p?378:p,mask:h,maskClosable:void 0===g||g,inline:!1===m,afterOpenChange:function(e){var t,n;R(e),null==y||y(e),e||!B.current||null!==(t=F.current)&&void 0!==t&&t.contains(B.current)||null===(n=B.current)||void 0===n||n.focus({preventScroll:!0})},ref:F},{onMouseEnter:v,onMouseOver:T,onMouseLeave:S,onClick:O,onKeyDown:_,onKeyUp:k});return r.createElement(d.Provider,{value:j},r.createElement(l.Z,{open:M||b||I,autoDestroy:!1,getContainer:m,autoLock:h&&(M||I)},r.createElement(A,U)))},k=n(89942),x=n(87263),C=n(33603),w=n(43945),I=n(53124),R=n(16569),N=n(69760),L=n(48054),D=e=>{var t,n;let{prefixCls:a,title:o,footer:s,extra:l,loading:c,onClose:u,headerStyle:d,bodyStyle:p,footerStyle:f,children:h,classNames:g,styles:m}=e,{drawer:b}=r.useContext(I.E_),y=r.useCallback(e=>r.createElement("button",{type:"button",onClick:u,"aria-label":"Close",className:`${a}-close`},e),[u]),[E,v]=(0,N.Z)((0,N.w)(e),(0,N.w)(b),{closable:!0,closeIconRender:y}),T=r.useMemo(()=>{var e,t;return o||E?r.createElement("div",{style:Object.assign(Object.assign(Object.assign({},null===(e=null==b?void 0:b.styles)||void 0===e?void 0:e.header),d),null==m?void 0:m.header),className:i()(`${a}-header`,{[`${a}-header-close-only`]:E&&!o&&!l},null===(t=null==b?void 0:b.classNames)||void 0===t?void 0:t.header,null==g?void 0:g.header)},r.createElement("div",{className:`${a}-header-title`},v,o&&r.createElement("div",{className:`${a}-title`},o)),l&&r.createElement("div",{className:`${a}-extra`},l)):null},[E,v,l,d,a,o]),S=r.useMemo(()=>{var e,t;if(!s)return null;let n=`${a}-footer`;return r.createElement("div",{className:i()(n,null===(e=null==b?void 0:b.classNames)||void 0===e?void 0:e.footer,null==g?void 0:g.footer),style:Object.assign(Object.assign(Object.assign({},null===(t=null==b?void 0:b.styles)||void 0===t?void 0:t.footer),f),null==m?void 0:m.footer)},s)},[s,f,a]);return r.createElement(r.Fragment,null,T,r.createElement("div",{className:i()(`${a}-body`,null==g?void 0:g.body,null===(t=null==b?void 0:b.classNames)||void 0===t?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},null===(n=null==b?void 0:b.styles)||void 0===n?void 0:n.body),p),null==m?void 0:m.body)},c?r.createElement(L.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${a}-body-skeleton`}):h),S)},P=n(25446),M=n(14747),F=n(83559),B=n(83262);let j=e=>{let t="100%";return({left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`})[e]},U=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),G=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}}},U({opacity:e},{opacity:1})),H=(e,t)=>[G(.7,t),U({transform:j(e)},{transform:"none"})];var $=e=>{let{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:G(0,n),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce((e,t)=>Object.assign(Object.assign({},e),{[`&-${t}`]:H(t,n)}),{})}}};let z=e=>{let{borderRadiusSM:t,componentCls:n,zIndexPopup:r,colorBgMask:a,colorBgElevated:i,motionDurationSlow:o,motionDurationMid:s,paddingXS:l,padding:c,paddingLG:u,fontSizeLG:d,lineHeightLG:p,lineWidth:f,lineType:h,colorSplit:g,marginXS:m,colorIcon:b,colorIconHover:y,colorBgTextHover:E,colorBgTextActive:v,colorText:T,fontWeightStrong:S,footerPaddingBlock:O,footerPaddingInline:A,calc:_}=e,k=`${n}-content-wrapper`;return{[n]:{position:"fixed",inset:0,zIndex:r,pointerEvents:"none",color:T,"&-pure":{position:"relative",background:i,display:"flex",flexDirection:"column",[`&${n}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${n}-mask`]:{position:"absolute",inset:0,zIndex:r,background:a,pointerEvents:"auto"},[k]:{position:"absolute",zIndex:r,maxWidth:"100vw",transition:`all ${o}`,"&-hidden":{display:"none"}},[`&-left > ${k}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${k}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${k}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${k}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${n}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:i,pointerEvents:"auto"},[`${n}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,P.bf)(c)} ${(0,P.bf)(u)}`,fontSize:d,lineHeight:p,borderBottom:`${(0,P.bf)(f)} ${h} ${g}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:"none"},[`${n}-close`]:Object.assign({display:"inline-flex",width:_(d).add(l).equal(),height:_(d).add(l).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",marginInlineEnd:m,color:b,fontWeight:S,fontSize:d,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${s}`,textRendering:"auto","&:hover":{color:y,backgroundColor:E,textDecoration:"none"},"&:active":{backgroundColor:v}},(0,M.Qy)(e)),[`${n}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:d,lineHeight:p},[`${n}-body`]:{flex:1,minWidth:0,minHeight:0,padding:u,overflow:"auto",[`${n}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${n}-footer`]:{flexShrink:0,padding:`${(0,P.bf)(O)} ${(0,P.bf)(A)}`,borderTop:`${(0,P.bf)(f)} ${h} ${g}`},"&-rtl":{direction:"rtl"}}}};var Z=(0,F.I$)("Drawer",e=>{let t=(0,B.IX)(e,{});return[z(t),$(t)]},e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding})),W=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let V={distance:180},Y=e=>{let{rootClassName:t,width:n,height:a,size:o="default",mask:s=!0,push:l=V,open:c,afterOpenChange:u,onClose:d,prefixCls:p,getContainer:f,style:h,className:g,visible:m,afterVisibleChange:b,maskStyle:y,drawerStyle:E,contentWrapperStyle:v}=e,T=W(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:S,getPrefixCls:O,direction:A,drawer:N}=r.useContext(I.E_),L=O("drawer",p),[P,M,F]=Z(L),B=void 0===f&&S?()=>S(document.body):f,j=i()({"no-mask":!s,[`${L}-rtl`]:"rtl"===A},t,M,F),U=r.useMemo(()=>null!=n?n:"large"===o?736:378,[n,o]),G=r.useMemo(()=>null!=a?a:"large"===o?736:378,[a,o]),H={motionName:(0,C.m)(L,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},$=(0,R.H)(),[z,Y]=(0,x.Cn)("Drawer",T.zIndex),{classNames:q={},styles:X={}}=T,{classNames:K={},styles:Q={}}=N||{};return P(r.createElement(k.Z,{form:!0,space:!0},r.createElement(w.Z.Provider,{value:Y},r.createElement(_,Object.assign({prefixCls:L,onClose:d,maskMotion:H,motion:e=>({motionName:(0,C.m)(L,`panel-motion-${e}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500})},T,{classNames:{mask:i()(q.mask,K.mask),content:i()(q.content,K.content),wrapper:i()(q.wrapper,K.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},X.mask),y),Q.mask),content:Object.assign(Object.assign(Object.assign({},X.content),E),Q.content),wrapper:Object.assign(Object.assign(Object.assign({},X.wrapper),v),Q.wrapper)},open:null!=c?c:m,mask:s,push:l,width:U,height:G,style:Object.assign(Object.assign({},null==N?void 0:N.style),h),className:i()(null==N?void 0:N.className,g),rootClassName:j,getContainer:B,afterOpenChange:null!=u?u:b,panelRef:$,zIndex:z}),r.createElement(D,Object.assign({prefixCls:L},T,{onClose:d}))))))};Y._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,style:n,className:a,placement:o="right"}=e,s=W(e,["prefixCls","style","className","placement"]),{getPrefixCls:l}=r.useContext(I.E_),c=l("drawer",t),[u,d,p]=Z(c),f=i()(c,`${c}-pure`,`${c}-${o}`,d,p,a);return u(r.createElement("div",{className:f,style:n},r.createElement(D,Object.assign({prefixCls:c},s))))};var q=Y},86250:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r=n(67294),a=n(93967),i=n.n(a),o=n(98423),s=n(98065),l=n(53124),c=n(83559),u=n(83262);let d=["wrap","nowrap","wrap-reverse"],p=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],f=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],h=(e,t)=>{let n=!0===t.wrap?"wrap":t.wrap;return{[`${e}-wrap-${n}`]:n&&d.includes(n)}},g=(e,t)=>{let n={};return f.forEach(r=>{n[`${e}-align-${r}`]=t.align===r}),n[`${e}-align-stretch`]=!t.align&&!!t.vertical,n},m=(e,t)=>{let n={};return p.forEach(r=>{n[`${e}-justify-${r}`]=t.justify===r}),n},b=e=>{let{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},y=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},E=e=>{let{componentCls:t}=e,n={};return d.forEach(e=>{n[`${t}-wrap-${e}`]={flexWrap:e}}),n},v=e=>{let{componentCls:t}=e,n={};return f.forEach(e=>{n[`${t}-align-${e}`]={alignItems:e}}),n},T=e=>{let{componentCls:t}=e,n={};return p.forEach(e=>{n[`${t}-justify-${e}`]={justifyContent:e}}),n};var S=(0,c.I$)("Flex",e=>{let{paddingXS:t,padding:n,paddingLG:r}=e,a=(0,u.IX)(e,{flexGapSM:t,flexGap:n,flexGapLG:r});return[b(a),y(a),E(a),v(a),T(a)]},()=>({}),{resetStyle:!1}),O=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let A=r.forwardRef((e,t)=>{let{prefixCls:n,rootClassName:a,className:c,style:u,flex:d,gap:p,children:f,vertical:b=!1,component:y="div"}=e,E=O(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:v,direction:T,getPrefixCls:A}=r.useContext(l.E_),_=A("flex",n),[k,x,C]=S(_),w=null!=b?b:null==v?void 0:v.vertical,I=i()(c,a,null==v?void 0:v.className,_,x,C,i()(Object.assign(Object.assign(Object.assign({},h(_,e)),g(_,e)),m(_,e))),{[`${_}-rtl`]:"rtl"===T,[`${_}-gap-${p}`]:(0,s.n)(p),[`${_}-vertical`]:w}),R=Object.assign(Object.assign({},null==v?void 0:v.style),u);return d&&(R.flex=d),p&&!(0,s.n)(p)&&(R.gap=p),k(r.createElement(y,Object.assign({ref:t,className:I,style:R},(0,o.Z)(E,["justify","wrap","align"])),f))});var _=A},57020:function(e,t,n){"use strict";n.d(t,{Z:function(){return eT}});var r=n(67294),a=n(99611),i=n(93967),o=n.n(i),s=n(87462),l=n(1413),c=n(4942),u=n(97685),d=n(71002),p=n(45987),f=n(27678),h=n(21770),g=n(40974),m=n(64019),b=n(15105),y=n(2788),E=n(29372),v=r.createContext(null),T=function(e){var t=e.visible,n=e.maskTransitionName,a=e.getContainer,i=e.prefixCls,s=e.rootClassName,u=e.icons,d=e.countRender,p=e.showSwitch,f=e.showProgress,h=e.current,g=e.transform,m=e.count,T=e.scale,S=e.minScale,O=e.maxScale,A=e.closeIcon,_=e.onSwitchLeft,k=e.onSwitchRight,x=e.onClose,C=e.onZoomIn,w=e.onZoomOut,I=e.onRotateRight,R=e.onRotateLeft,N=e.onFlipX,L=e.onFlipY,D=e.onReset,P=e.toolbarRender,M=e.zIndex,F=e.image,B=(0,r.useContext)(v),j=u.rotateLeft,U=u.rotateRight,G=u.zoomIn,H=u.zoomOut,$=u.close,z=u.left,Z=u.right,W=u.flipX,V=u.flipY,Y="".concat(i,"-operations-operation");r.useEffect(function(){var e=function(e){e.keyCode===b.Z.ESC&&x()};return t&&window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}},[t]);var q=[{icon:V,onClick:L,type:"flipY"},{icon:W,onClick:N,type:"flipX"},{icon:j,onClick:R,type:"rotateLeft"},{icon:U,onClick:I,type:"rotateRight"},{icon:H,onClick:w,type:"zoomOut",disabled:T<=S},{icon:G,onClick:C,type:"zoomIn",disabled:T===O}].map(function(e){var t,n=e.icon,a=e.onClick,s=e.type,l=e.disabled;return r.createElement("div",{className:o()(Y,(t={},(0,c.Z)(t,"".concat(i,"-operations-operation-").concat(s),!0),(0,c.Z)(t,"".concat(i,"-operations-operation-disabled"),!!l),t)),onClick:a,key:s},n)}),X=r.createElement("div",{className:"".concat(i,"-operations")},q);return r.createElement(E.ZP,{visible:t,motionName:n},function(e){var t=e.className,n=e.style;return r.createElement(y.Z,{open:!0,getContainer:null!=a?a:document.body},r.createElement("div",{className:o()("".concat(i,"-operations-wrapper"),t,s),style:(0,l.Z)((0,l.Z)({},n),{},{zIndex:M})},null===A?null:r.createElement("button",{className:"".concat(i,"-close"),onClick:x},A||$),p&&r.createElement(r.Fragment,null,r.createElement("div",{className:o()("".concat(i,"-switch-left"),(0,c.Z)({},"".concat(i,"-switch-left-disabled"),0===h)),onClick:_},z),r.createElement("div",{className:o()("".concat(i,"-switch-right"),(0,c.Z)({},"".concat(i,"-switch-right-disabled"),h===m-1)),onClick:k},Z)),r.createElement("div",{className:"".concat(i,"-footer")},f&&r.createElement("div",{className:"".concat(i,"-progress")},d?d(h+1,m):"".concat(h+1," / ").concat(m)),P?P(X,(0,l.Z)((0,l.Z)({icons:{flipYIcon:q[0],flipXIcon:q[1],rotateLeftIcon:q[2],rotateRightIcon:q[3],zoomOutIcon:q[4],zoomInIcon:q[5]},actions:{onFlipY:L,onFlipX:N,onRotateLeft:R,onRotateRight:I,onZoomOut:w,onZoomIn:C,onReset:D,onClose:x},transform:g},B?{current:h,total:m}:{}),{},{image:F})):X)))})},S=n(91881),O=n(75164),A={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1},_=n(80334);function k(e,t,n,r){var a=t+n,i=(n-r)/2;if(n>r){if(t>0)return(0,c.Z)({},e,i);if(t<0&&ar)return(0,c.Z)({},e,t<0?i:-i);return{}}function x(e,t,n,r){var a=(0,f.g1)(),i=a.width,o=a.height,s=null;return e<=i&&t<=o?s={x:0,y:0}:(e>i||t>o)&&(s=(0,l.Z)((0,l.Z)({},k("x",n,e,i)),k("y",r,t,o))),s}function C(e){var t=e.src,n=e.isCustomPlaceholder,a=e.fallback,i=(0,r.useState)(n?"loading":"normal"),o=(0,u.Z)(i,2),s=o[0],l=o[1],c=(0,r.useRef)(!1),d="error"===s;(0,r.useEffect)(function(){var e=!0;return new Promise(function(e){var n=document.createElement("img");n.onerror=function(){return e(!1)},n.onload=function(){return e(!0)},n.src=t}).then(function(t){!t&&e&&l("error")}),function(){e=!1}},[t]),(0,r.useEffect)(function(){n&&!c.current?l("loading"):d&&l("normal")},[t]);var p=function(){l("normal")};return[function(e){c.current=!1,"loading"===s&&null!=e&&e.complete&&(e.naturalWidth||e.naturalHeight)&&(c.current=!0,p())},d&&a?{src:a}:{onLoad:p,src:t},s]}function w(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}var I=["fallback","src","imgRef"],R=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],N=function(e){var t=e.fallback,n=e.src,a=e.imgRef,i=(0,p.Z)(e,I),o=C({src:n,fallback:t}),l=(0,u.Z)(o,2),c=l[0],d=l[1];return r.createElement("img",(0,s.Z)({ref:function(e){a.current=e,c(e)}},i,d))},L=function(e){var t,n,a,i,d,h,y,E,k,C,I,L,D,P,M,F,B,j,U,G,H,$,z,Z,W,V,Y,q,X=e.prefixCls,K=e.src,Q=e.alt,J=e.imageInfo,ee=e.fallback,et=e.movable,en=void 0===et||et,er=e.onClose,ea=e.visible,ei=e.icons,eo=e.rootClassName,es=e.closeIcon,el=e.getContainer,ec=e.current,eu=void 0===ec?0:ec,ed=e.count,ep=void 0===ed?1:ed,ef=e.countRender,eh=e.scaleStep,eg=void 0===eh?.5:eh,em=e.minScale,eb=void 0===em?1:em,ey=e.maxScale,eE=void 0===ey?50:ey,ev=e.transitionName,eT=e.maskTransitionName,eS=void 0===eT?"fade":eT,eO=e.imageRender,eA=e.imgCommonProps,e_=e.toolbarRender,ek=e.onTransform,ex=e.onChange,eC=(0,p.Z)(e,R),ew=(0,r.useRef)(),eI=(0,r.useContext)(v),eR=eI&&ep>1,eN=eI&&ep>=1,eL=(0,r.useState)(!0),eD=(0,u.Z)(eL,2),eP=eD[0],eM=eD[1],eF=(t=(0,r.useRef)(null),n=(0,r.useRef)([]),a=(0,r.useState)(A),d=(i=(0,u.Z)(a,2))[0],h=i[1],y=function(e,r){null===t.current&&(n.current=[],t.current=(0,O.Z)(function(){h(function(e){var a=e;return n.current.forEach(function(e){a=(0,l.Z)((0,l.Z)({},a),e)}),t.current=null,null==ek||ek({transform:a,action:r}),a})})),n.current.push((0,l.Z)((0,l.Z)({},d),e))},{transform:d,resetTransform:function(e){h(A),(0,S.Z)(A,d)||null==ek||ek({transform:A,action:e})},updateTransform:y,dispatchZoomChange:function(e,t,n,r,a){var i=ew.current,o=i.width,s=i.height,l=i.offsetWidth,c=i.offsetHeight,u=i.offsetLeft,p=i.offsetTop,h=e,g=d.scale*e;g>eE?(g=eE,h=eE/d.scale):g0&&(t=1/t),eG(t,"wheel",e.clientX,e.clientY)}}}),e$=eH.isMoving,ez=eH.onMouseDown,eZ=eH.onWheel,eW=(U=eB.rotate,G=eB.scale,H=eB.x,$=eB.y,z=(0,r.useState)(!1),W=(Z=(0,u.Z)(z,2))[0],V=Z[1],Y=(0,r.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),q=function(e){Y.current=(0,l.Z)((0,l.Z)({},Y.current),e)},(0,r.useEffect)(function(){var e;return ea&&en&&(e=(0,m.Z)(window,"touchmove",function(e){return e.preventDefault()},{passive:!1})),function(){var t;null===(t=e)||void 0===t||t.remove()}},[ea,en]),{isTouching:W,onTouchStart:function(e){if(en){e.stopPropagation(),V(!0);var t=e.touches,n=void 0===t?[]:t;n.length>1?q({point1:{x:n[0].clientX,y:n[0].clientY},point2:{x:n[1].clientX,y:n[1].clientY},eventType:"touchZoom"}):q({point1:{x:n[0].clientX-H,y:n[0].clientY-$},eventType:"move"})}},onTouchMove:function(e){var t=e.touches,n=void 0===t?[]:t,r=Y.current,a=r.point1,i=r.point2,o=r.eventType;if(n.length>1&&"touchZoom"===o){var s={x:n[0].clientX,y:n[0].clientY},l={x:n[1].clientX,y:n[1].clientY},c=function(e,t,n,r){var a=w(e,n),i=w(t,r);if(0===a&&0===i)return[e.x,e.y];var o=a/(a+i);return[e.x+o*(t.x-e.x),e.y+o*(t.y-e.y)]}(a,i,s,l),d=(0,u.Z)(c,2),p=d[0],f=d[1];eG(w(s,l)/w(a,i),"touchZoom",p,f,!0),q({point1:s,point2:l,eventType:"touchZoom"})}else"move"===o&&(eU({x:n[0].clientX-a.x,y:n[0].clientY-a.y},"move"),q({eventType:"move"}))},onTouchEnd:function(){if(ea){if(W&&V(!1),q({eventType:"none"}),eb>G)return eU({x:0,y:0,scale:eb},"touchZoom");var e=ew.current.offsetWidth*G,t=ew.current.offsetHeight*G,n=ew.current.getBoundingClientRect(),r=n.left,a=n.top,i=U%180!=0,o=x(i?t:e,i?e:t,r,a);o&&eU((0,l.Z)({},o),"dragRebound")}}}),eV=eW.isTouching,eY=eW.onTouchStart,eq=eW.onTouchMove,eX=eW.onTouchEnd,eK=eB.rotate,eQ=eB.scale,eJ=o()((0,c.Z)({},"".concat(X,"-moving"),e$));(0,r.useEffect)(function(){eP||eM(!0)},[eP]);var e0=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu>0&&(eM(!1),ej("prev"),null==ex||ex(eu-1,eu))},e1=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu({position:e||"absolute",inset:0}),eu=e=>{let{iconCls:t,motionDurationSlow:n,paddingXXS:r,marginXXS:a,prefixCls:i,colorTextLightSolid:o}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:o,background:new en.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${i}-mask-info`]:Object.assign(Object.assign({},ea.vS),{padding:`0 ${(0,et.bf)(r)}`,[t]:{marginInlineEnd:a,svg:{verticalAlign:"baseline"}}})}},ed=e=>{let{previewCls:t,modalMaskBg:n,paddingSM:r,marginXL:a,margin:i,paddingLG:o,previewOperationColorDisabled:s,previewOperationHoverColor:l,motionDurationSlow:c,iconCls:u,colorTextLightSolid:d}=e,p=new en.C(n).setAlpha(.1),f=p.clone().setAlpha(.2);return{[`${t}-footer`]:{position:"fixed",bottom:a,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor,transform:"translateX(-50%)"},[`${t}-progress`]:{marginBottom:i},[`${t}-close`]:{position:"fixed",top:a,right:{_skip_check_:!0,value:a},display:"flex",color:d,backgroundColor:p.toRgbString(),borderRadius:"50%",padding:r,outline:0,border:0,cursor:"pointer",transition:`all ${c}`,"&:hover":{backgroundColor:f.toRgbString()},[`& > ${u}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,et.bf)(o)}`,backgroundColor:p.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:r,padding:r,cursor:"pointer",transition:`all ${c}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${u}`]:{color:l},"&-disabled":{color:s,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${u}`]:{fontSize:e.previewOperationSize}}}}},ep=e=>{let{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:r,previewCls:a,zIndexPopup:i,motionDurationSlow:o}=e,s=new en.C(t).setAlpha(.1),l=s.clone().setAlpha(.2);return{[`${a}-switch-left, ${a}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(i).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:s.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${o}`,userSelect:"none","&:hover":{background:l.toRgbString()},"&-disabled":{"&, &:hover":{color:r,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${a}-switch-left`]:{insetInlineStart:e.marginSM},[`${a}-switch-right`]:{insetInlineEnd:e.marginSM}}},ef=e=>{let{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:a}=e;return[{[`${a}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:Object.assign(Object.assign({},ec()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${r} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},ec()),{transition:`transform ${r} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${a}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${a}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal()},"&":[ed(e),ep(e)]}]},eh=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},eu(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},ec())}}},eg=e=>{let{previewCls:t}=e;return{[`${t}-root`]:(0,ei._y)(e,"zoom"),"&":(0,eo.J$)(e,!0)}};var em=(0,es.I$)("Image",e=>{let t=`${e.componentCls}-preview`,n=(0,el.IX)(e,{previewCls:t,modalMaskBg:new en.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[eh(n),ef(n),(0,er.QA)((0,el.IX)(n,{componentCls:t})),eg(n)]},e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new en.C(e.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new en.C(e.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new en.C(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:1.5*e.fontSizeIcon})),eb=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ey={rotateLeft:r.createElement(X.Z,null),rotateRight:r.createElement(K.Z,null),zoomIn:r.createElement(J.Z,null),zoomOut:r.createElement(ee.Z,null),close:r.createElement(V.Z,null),left:r.createElement(Y.Z,null),right:r.createElement(q.Z,null),flipX:r.createElement(Q.Z,null),flipY:r.createElement(Q.Z,{rotate:90})};var eE=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ev=e=>{var t;let{prefixCls:n,preview:i,className:s,rootClassName:l,style:c}=e,u=eE(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:d,locale:p=W.Z,getPopupContainer:f,image:h}=r.useContext(z.E_),g=d("image",n),m=d(),b=p.Image||W.Z.Image,y=(0,Z.Z)(g),[E,v,T]=em(g,y),S=o()(l,v,T,y),O=o()(s,v,null==h?void 0:h.className),[A]=(0,H.Cn)("ImagePreview","object"==typeof i?i.zIndex:void 0),_=r.useMemo(()=>{var e;if(!1===i)return i;let t="object"==typeof i?i:{},{getContainer:n,closeIcon:o}=t,s=eE(t,["getContainer","closeIcon"]);return Object.assign(Object.assign({mask:r.createElement("div",{className:`${g}-mask-info`},r.createElement(a.Z,null),null==b?void 0:b.preview),icons:ey},s),{getContainer:null!=n?n:f,transitionName:(0,$.m)(m,"zoom",t.transitionName),maskTransitionName:(0,$.m)(m,"fade",t.maskTransitionName),zIndex:A,closeIcon:null!=o?o:null===(e=null==h?void 0:h.preview)||void 0===e?void 0:e.closeIcon})},[i,b,null===(t=null==h?void 0:h.preview)||void 0===t?void 0:t.closeIcon]),k=Object.assign(Object.assign({},null==h?void 0:h.style),c);return E(r.createElement(G,Object.assign({prefixCls:g,preview:_,rootClassName:S,className:O,style:k},u)))};ev.PreviewGroup=e=>{var{previewPrefixCls:t,preview:n}=e,a=eb(e,["previewPrefixCls","preview"]);let{getPrefixCls:i}=r.useContext(z.E_),s=i("image",t),l=`${s}-preview`,c=i(),u=(0,Z.Z)(s),[d,p,f]=em(s,u),[h]=(0,H.Cn)("ImagePreview","object"==typeof n?n.zIndex:void 0),g=r.useMemo(()=>{var e;if(!1===n)return n;let t="object"==typeof n?n:{},r=o()(p,f,u,null!==(e=t.rootClassName)&&void 0!==e?e:"");return Object.assign(Object.assign({},t),{transitionName:(0,$.m)(c,"zoom",t.transitionName),maskTransitionName:(0,$.m)(c,"fade",t.maskTransitionName),rootClassName:r,zIndex:h})},[n]);return d(r.createElement(G.PreviewGroup,Object.assign({preview:g,previewPrefixCls:l,icons:ey},a)))};var eT=ev},66309:function(e,t,n){"use strict";n.d(t,{Z:function(){return I}});var r=n(67294),a=n(93967),i=n.n(a),o=n(98423),s=n(98787),l=n(69760),c=n(96159),u=n(45353),d=n(53124),p=n(25446),f=n(10274),h=n(14747),g=n(83262),m=n(83559);let b=e=>{let{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:a,calc:i}=e,o=i(r).sub(n).equal(),s=i(t).sub(n).equal();return{[a]:Object.assign(Object.assign({},(0,h.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:o,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,p.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${a}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${a}-close-icon`]:{marginInlineStart:s,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${a}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${a}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:o}}),[`${a}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},y=e=>{let{lineWidth:t,fontSizeIcon:n,calc:r}=e,a=e.fontSizeSM,i=(0,g.IX)(e,{tagFontSize:a,tagLineHeight:(0,p.bf)(r(e.lineHeightSM).mul(a).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return i},E=e=>({defaultBg:new f.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var v=(0,m.I$)("Tag",e=>{let t=y(e);return b(t)},E),T=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let S=r.forwardRef((e,t)=>{let{prefixCls:n,style:a,className:o,checked:s,onChange:l,onClick:c}=e,u=T(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:p,tag:f}=r.useContext(d.E_),h=p("tag",n),[g,m,b]=v(h),y=i()(h,`${h}-checkable`,{[`${h}-checkable-checked`]:s},null==f?void 0:f.className,o,m,b);return g(r.createElement("span",Object.assign({},u,{ref:t,style:Object.assign(Object.assign({},a),null==f?void 0:f.style),className:y,onClick:e=>{null==l||l(!s),null==c||c(e)}})))});var O=n(98719);let A=e=>(0,O.Z)(e,(t,n)=>{let{textColor:r,lightBorderColor:a,lightColor:i,darkColor:o}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:i,borderColor:a,"&-inverse":{color:e.colorTextLightSolid,background:o,borderColor:o},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var _=(0,m.bk)(["Tag","preset"],e=>{let t=y(e);return A(t)},E);let k=(e,t,n)=>{let r=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var x=(0,m.bk)(["Tag","status"],e=>{let t=y(e);return[k(t,"success","Success"),k(t,"processing","Info"),k(t,"error","Error"),k(t,"warning","Warning")]},E),C=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let w=r.forwardRef((e,t)=>{let{prefixCls:n,className:a,rootClassName:p,style:f,children:h,icon:g,color:m,onClose:b,bordered:y=!0,visible:E}=e,T=C(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:S,direction:O,tag:A}=r.useContext(d.E_),[k,w]=r.useState(!0),I=(0,o.Z)(T,["closeIcon","closable"]);r.useEffect(()=>{void 0!==E&&w(E)},[E]);let R=(0,s.o2)(m),N=(0,s.yT)(m),L=R||N,D=Object.assign(Object.assign({backgroundColor:m&&!L?m:void 0},null==A?void 0:A.style),f),P=S("tag",n),[M,F,B]=v(P),j=i()(P,null==A?void 0:A.className,{[`${P}-${m}`]:L,[`${P}-has-color`]:m&&!L,[`${P}-hidden`]:!k,[`${P}-rtl`]:"rtl"===O,[`${P}-borderless`]:!y},a,p,F,B),U=e=>{e.stopPropagation(),null==b||b(e),e.defaultPrevented||w(!1)},[,G]=(0,l.Z)((0,l.w)(e),(0,l.w)(A),{closable:!1,closeIconRender:e=>{let t=r.createElement("span",{className:`${P}-close-icon`,onClick:U},e);return(0,c.wm)(e,t,e=>({onClick:t=>{var n;null===(n=null==e?void 0:e.onClick)||void 0===n||n.call(e,t),U(t)},className:i()(null==e?void 0:e.className,`${P}-close-icon`)}))}}),H="function"==typeof T.onClick||h&&"a"===h.type,$=g||null,z=$?r.createElement(r.Fragment,null,$,h&&r.createElement("span",null,h)):h,Z=r.createElement("span",Object.assign({},I,{ref:t,className:j,style:D}),z,G,R&&r.createElement(_,{key:"preset",prefixCls:P}),N&&r.createElement(x,{key:"status",prefixCls:P}));return M(H?r.createElement(u.Z,{component:"Tag"},Z):Z)});w.CheckableTag=S;var I=w},62502:function(e,t,n){"use strict";var r=n(15575),a=n(64977),i=n(72869),o=n(32473).Q,s=n(24395).Q;e.exports=function(e,t,n){var a=n?function(e){for(var t,n=e.length,r=-1,a={};++r4&&h.slice(0,4)===o&&s.test(t)&&("-"===t.charAt(4)?g=o+(n=t.slice(5).replace(l,d)).charAt(0).toUpperCase()+n.slice(1):(f=(p=t).slice(4),t=l.test(f)?p:("-"!==(f=f.replace(c,u)).charAt(0)&&(f="-"+f),o+f)),m=a),new m(g,t))};var s=/^data[-\w.:]+$/i,l=/-[a-z]/g,c=/[A-Z]/g;function u(e){return"-"+e.toLowerCase()}function d(e){return e.charAt(1).toUpperCase()}},48055:function(e,t,n){"use strict";var r=n(26230),a=n(13970),i=n(10629),o=n(647),s=n(91305),l=n(22537);e.exports=r([i,a,o,s,l])},91305:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=r.booleanish,o=r.number,s=r.spaceSeparated;e.exports=a({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:i,ariaAutoComplete:null,ariaBusy:i,ariaChecked:i,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:s,ariaCurrent:null,ariaDescribedBy:s,ariaDetails:null,ariaDisabled:i,ariaDropEffect:s,ariaErrorMessage:null,ariaExpanded:i,ariaFlowTo:s,ariaGrabbed:i,ariaHasPopup:null,ariaHidden:i,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s,ariaLevel:o,ariaLive:null,ariaModal:i,ariaMultiLine:i,ariaMultiSelectable:i,ariaOrientation:null,ariaOwns:s,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:i,ariaReadOnly:i,ariaRelevant:null,ariaRequired:i,ariaRoleDescription:s,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:i,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}})},22537:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=n(19348),o=r.boolean,s=r.overloadedBoolean,l=r.booleanish,c=r.number,u=r.spaceSeparated,d=r.commaSeparated;e.exports=a({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:i,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:d,acceptCharset:u,accessKey:u,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:u,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:u,cols:c,colSpan:null,content:null,contentEditable:l,controls:o,controlsList:u,coords:c|d,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:s,draggable:l,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:u,height:c,hidden:o,high:c,href:null,hrefLang:null,htmlFor:u,httpEquiv:u,id:null,imageSizes:null,imageSrcSet:d,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:u,itemRef:u,itemScope:o,itemType:u,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:u,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:u,required:o,reversed:o,rows:c,rowSpan:c,sandbox:u,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:c,sizes:null,slot:null,span:c,spellCheck:l,src:null,srcDoc:null,srcLang:null,srcSet:d,start:c,step:null,style:null,tabIndex:c,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:l,width:c,wrap:null,align:null,aLink:null,archive:u,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:l,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}})},19348:function(e,t,n){"use strict";var r=n(21098);e.exports=function(e,t){return r(e,t.toLowerCase())}},21098:function(e){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},47589:function(e,t,n){"use strict";var r=n(64977),a=n(16038),i=n(78444);e.exports=function(e){var t,n,o=e.space,s=e.mustUseProperty||[],l=e.attributes||{},c=e.properties,u=e.transform,d={},p={};for(t in c)n=new i(t,u(l,t),c[t],o),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),d[t]=n,p[r(t)]=t,p[r(n.attribute)]=t;return new a(d,p,o)}},78444:function(e,t,n){"use strict";var r=n(40313),a=n(61422);e.exports=s,s.prototype=new r,s.prototype.defined=!0;var i=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=i.length;function s(e,t,n,s){var l,c,u,d=-1;for(s&&(this.space=s),r.call(this,e,t);++d=97&&t<=122||t>=65&&t<=90}},7961:function(e,t,n){"use strict";var r=n(46260),a=n(46195);e.exports=function(e){return r(e)||a(e)}},46195:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},79480:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}},45745:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/construct/knowledge/chunk",function(){return n(26784)}])},85813:function(e,t,n){"use strict";n.d(t,{r:function(){return _6}});var r,a,i,o,s,l,c,u,d,p,f,h,g,m,b,y,E,v,T,S,O,A,_,k,x,C,w,I,R,N,L,D,P,M,F,B,j,U,G,H,$,z,Z,W,V,Y,q,X,K,Q,J,ee,et,en,er,ea={};n.r(ea),n.d(ea,{area:function(){return cf},bottom:function(){return cT},bottomLeft:function(){return cT},bottomRight:function(){return cT},inside:function(){return cT},left:function(){return cT},outside:function(){return c_},right:function(){return cT},spider:function(){return cR},surround:function(){return cL},top:function(){return cT},topLeft:function(){return cT},topRight:function(){return cT}});var ei={};n.r(ei),n.d(ei,{interpolateBlues:function(){return uD.interpolateBlues},interpolateBrBG:function(){return uD.interpolateBrBG},interpolateBuGn:function(){return uD.interpolateBuGn},interpolateBuPu:function(){return uD.interpolateBuPu},interpolateCividis:function(){return uD.interpolateCividis},interpolateCool:function(){return uD.interpolateCool},interpolateCubehelixDefault:function(){return uD.interpolateCubehelixDefault},interpolateGnBu:function(){return uD.interpolateGnBu},interpolateGreens:function(){return uD.interpolateGreens},interpolateGreys:function(){return uD.interpolateGreys},interpolateInferno:function(){return uD.interpolateInferno},interpolateMagma:function(){return uD.interpolateMagma},interpolateOrRd:function(){return uD.interpolateOrRd},interpolateOranges:function(){return uD.interpolateOranges},interpolatePRGn:function(){return uD.interpolatePRGn},interpolatePiYG:function(){return uD.interpolatePiYG},interpolatePlasma:function(){return uD.interpolatePlasma},interpolatePuBu:function(){return uD.interpolatePuBu},interpolatePuBuGn:function(){return uD.interpolatePuBuGn},interpolatePuOr:function(){return uD.interpolatePuOr},interpolatePuRd:function(){return uD.interpolatePuRd},interpolatePurples:function(){return uD.interpolatePurples},interpolateRainbow:function(){return uD.interpolateRainbow},interpolateRdBu:function(){return uD.interpolateRdBu},interpolateRdGy:function(){return uD.interpolateRdGy},interpolateRdPu:function(){return uD.interpolateRdPu},interpolateRdYlBu:function(){return uD.interpolateRdYlBu},interpolateRdYlGn:function(){return uD.interpolateRdYlGn},interpolateReds:function(){return uD.interpolateReds},interpolateSinebow:function(){return uD.interpolateSinebow},interpolateSpectral:function(){return uD.interpolateSpectral},interpolateTurbo:function(){return uD.interpolateTurbo},interpolateViridis:function(){return uD.interpolateViridis},interpolateWarm:function(){return uD.interpolateWarm},interpolateYlGn:function(){return uD.interpolateYlGn},interpolateYlGnBu:function(){return uD.interpolateYlGnBu},interpolateYlOrBr:function(){return uD.interpolateYlOrBr},interpolateYlOrRd:function(){return uD.interpolateYlOrRd},schemeAccent:function(){return uD.schemeAccent},schemeBlues:function(){return uD.schemeBlues},schemeBrBG:function(){return uD.schemeBrBG},schemeBuGn:function(){return uD.schemeBuGn},schemeBuPu:function(){return uD.schemeBuPu},schemeCategory10:function(){return uD.schemeCategory10},schemeDark2:function(){return uD.schemeDark2},schemeGnBu:function(){return uD.schemeGnBu},schemeGreens:function(){return uD.schemeGreens},schemeGreys:function(){return uD.schemeGreys},schemeOrRd:function(){return uD.schemeOrRd},schemeOranges:function(){return uD.schemeOranges},schemePRGn:function(){return uD.schemePRGn},schemePaired:function(){return uD.schemePaired},schemePastel1:function(){return uD.schemePastel1},schemePastel2:function(){return uD.schemePastel2},schemePiYG:function(){return uD.schemePiYG},schemePuBu:function(){return uD.schemePuBu},schemePuBuGn:function(){return uD.schemePuBuGn},schemePuOr:function(){return uD.schemePuOr},schemePuRd:function(){return uD.schemePuRd},schemePurples:function(){return uD.schemePurples},schemeRdBu:function(){return uD.schemeRdBu},schemeRdGy:function(){return uD.schemeRdGy},schemeRdPu:function(){return uD.schemeRdPu},schemeRdYlBu:function(){return uD.schemeRdYlBu},schemeRdYlGn:function(){return uD.schemeRdYlGn},schemeReds:function(){return uD.schemeReds},schemeSet1:function(){return uD.schemeSet1},schemeSet2:function(){return uD.schemeSet2},schemeSet3:function(){return uD.schemeSet3},schemeSpectral:function(){return uD.schemeSpectral},schemeTableau10:function(){return uD.schemeTableau10},schemeYlGn:function(){return uD.schemeYlGn},schemeYlGnBu:function(){return uD.schemeYlGnBu},schemeYlOrBr:function(){return uD.schemeYlOrBr},schemeYlOrRd:function(){return uD.schemeYlOrRd}});var eo={};n.r(eo);var es={};n.r(es),n.d(es,{geoAlbers:function(){return Ta.Z},geoAlbersUsa:function(){return Tr.Z},geoAzimuthalEqualArea:function(){return Ti.Z},geoAzimuthalEqualAreaRaw:function(){return Ti.l},geoAzimuthalEquidistant:function(){return To.Z},geoAzimuthalEquidistantRaw:function(){return To.N},geoConicConformal:function(){return Ts.Z},geoConicConformalRaw:function(){return Ts.l},geoConicEqualArea:function(){return Tl.Z},geoConicEqualAreaRaw:function(){return Tl.v},geoConicEquidistant:function(){return Tc.Z},geoConicEquidistantRaw:function(){return Tc.o},geoEqualEarth:function(){return Tu.Z},geoEqualEarthRaw:function(){return Tu.i},geoEquirectangular:function(){return Td.Z},geoEquirectangularRaw:function(){return Td.k},geoGnomonic:function(){return Tp.Z},geoGnomonicRaw:function(){return Tp.M},geoIdentity:function(){return Tf.Z},geoMercator:function(){return Tg.ZP},geoMercatorRaw:function(){return Tg.hk},geoNaturalEarth1:function(){return Tm.Z},geoNaturalEarth1Raw:function(){return Tm.K},geoOrthographic:function(){return Tb.Z},geoOrthographicRaw:function(){return Tb.I},geoProjection:function(){return Th.Z},geoProjectionMutator:function(){return Th.r},geoStereographic:function(){return Ty.Z},geoStereographicRaw:function(){return Ty.T},geoTransverseMercator:function(){return TE.Z},geoTransverseMercatorRaw:function(){return TE.F}});var el={};n.r(el),n.d(el,{frequency:function(){return Sh},id:function(){return Sg},name:function(){return Sm},weight:function(){return Sf}});var ec=n(74902),eu=n(1413),ed=n(87462),ep=n(97685),ef=n(45987),eh=n(50888),eg=n(96486),em=n(67294),eb=function(){return(eb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n-1&&!e.return)switch(e.type){case ek:e.return=function e(t,n,r){var a;switch(a=n,45^eD(t,0)?(((a<<2^eD(t,0))<<2^eD(t,1))<<2^eD(t,2))<<2^eD(t,3):0){case 5103:return eO+"print-"+t+t;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 eO+t+t;case 4789:return eS+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return eO+t+eS+t+eT+t+t;case 5936:switch(eD(t,n+11)){case 114:return eO+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return eO+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return eO+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return eO+t+eT+t+t;case 6165:return eO+t+eT+"flex-"+t+t;case 5187:return eO+t+eN(t,/(\w+).+(:[^]+)/,eO+"box-$1$2"+eT+"flex-$1$2")+t;case 5443:return eO+t+eT+"flex-item-"+eN(t,/flex-|-self/g,"")+(eR(t,/flex-|baseline/)?"":eT+"grid-row-"+eN(t,/flex-|-self/g,""))+t;case 4675:return eO+t+eT+"flex-line-pack"+eN(t,/align-content|flex-|-self/g,"")+t;case 5548:return eO+t+eT+eN(t,"shrink","negative")+t;case 5292:return eO+t+eT+eN(t,"basis","preferred-size")+t;case 6060:return eO+"box-"+eN(t,"-grow","")+eO+t+eT+eN(t,"grow","positive")+t;case 4554:return eO+eN(t,/([^-])(transform)/g,"$1"+eO+"$2")+t;case 6187:return eN(eN(eN(t,/(zoom-|grab)/,eO+"$1"),/(image-set)/,eO+"$1"),t,"")+t;case 5495:case 3959:return eN(t,/(image-set\([^]*)/,eO+"$1$`$1");case 4968:return eN(eN(t,/(.+:)(flex-)?(.*)/,eO+"box-pack:$3"+eT+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+eO+t+t;case 4200:if(!eR(t,/flex-|baseline/))return eT+"grid-column-align"+eP(t,n)+t;break;case 2592:case 3360:return eT+eN(t,"template-","")+t;case 4384:case 3616:if(r&&r.some(function(e,t){return n=t,eR(e.props,/grid-\w+-end/)}))return~eL(t+(r=r[n].value),"span",0)?t:eT+eN(t,"-start","")+t+eT+"grid-row-span:"+(~eL(r,"span",0)?eR(r,/\d+/):+eR(r,/\d+/)-+eR(t,/\d+/))+";";return eT+eN(t,"-start","")+t;case 4896:case 4128:return r&&r.some(function(e){return eR(e.props,/grid-\w+-start/)})?t:eT+eN(eN(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return eN(t,/(.+)-inline(.+)/,eO+"$1$2")+t;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(eM(t)-1-n>6)switch(eD(t,n+1)){case 109:if(45!==eD(t,n+4))break;case 102:return eN(t,/(.+:)(.+)-([^]+)/,"$1"+eO+"$2-$3$1"+eS+(108==eD(t,n+3)?"$3":"$2-$3"))+t;case 115:return~eL(t,"stretch",0)?e(eN(t,"stretch","fill-available"),n,r)+t:t}break;case 5152:case 5920:return eN(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(e,n,r,a,i,o,s){return eT+n+":"+r+s+(a?eT+n+"-span:"+(i?o:+o-+r)+s:"")+t});case 4949:if(121===eD(t,n+6))return eN(t,":",":"+eO)+t;break;case 6444:switch(eD(t,45===eD(t,14)?18:11)){case 120:return eN(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+eO+(45===eD(t,14)?"inline-":"")+"box$3$1"+eO+"$2$3$1"+eT+"$2box$3")+t;case 100:return eN(t,":",":"+eT)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return eN(t,"scroll-","scroll-snap-")+t}return t}(e.value,e.length,n);return;case ex:return eQ([eW(e,{value:eN(e.value,"@","@"+eO)})],r);case e_:if(e.length)return(n=e.props).map(function(t){switch(eR(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":eV(eW(e,{props:[eN(t,/:(read-\w+)/,":"+eS+"$1")]})),eV(eW(e,{props:[t]})),eI(e,{props:eB(n,r)});break;case"::placeholder":eV(eW(e,{props:[eN(t,/:(plac\w+)/,":"+eO+"input-$1")]})),eV(eW(e,{props:[eN(t,/:(plac\w+)/,":"+eS+"$1")]})),eV(eW(e,{props:[eN(t,/:(plac\w+)/,eT+"input-$1")]})),eV(eW(e,{props:[t]})),eI(e,{props:eB(n,r)})}return""}).join("")}}function e1(e,t,n,r,a,i,o,s,l,c,u,d){for(var p=a-1,f=0===a?i:[""],h=f.length,g=0,m=0,b=0;g0?f[y]+" "+E:eN(E,/&\f/g,f[y])).trim())&&(l[b++]=v);return eZ(e,t,n,0===a?e_:s,l,c,u,d)}function e2(e,t,n,r,a){return eZ(e,t,n,ek,eP(e,0,r),eP(e,r+1,-1),r,a)}var e3=n(94371),e5=n(83454),e4=void 0!==e5&&void 0!==e5.env&&(e5.env.REACT_APP_SC_ATTR||e5.env.SC_ATTR)||"data-styled",e6="active",e9="data-styled-version",e8="6.1.15",e7="/*!sc*/\n",te="undefined"!=typeof window&&"HTMLElement"in window,tt=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==e5&&void 0!==e5.env&&void 0!==e5.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==e5.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==e5.env.REACT_APP_SC_DISABLE_SPEEDY&&e5.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==e5&&void 0!==e5.env&&void 0!==e5.env.SC_DISABLE_SPEEDY&&""!==e5.env.SC_DISABLE_SPEEDY&&"false"!==e5.env.SC_DISABLE_SPEEDY&&e5.env.SC_DISABLE_SPEEDY),tn=Object.freeze([]),tr=Object.freeze({}),ta=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),ti=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,to=/(^-|-$)/g;function ts(e){return e.replace(ti,"-").replace(to,"")}var tl=/(a)(d)/gi,tc=function(e){return String.fromCharCode(e+(e>25?39:97))};function tu(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=tc(t%52)+n;return(tc(t%52)+n).replace(tl,"$1-$2")}var td,tp=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},tf=function(e){return tp(5381,e)};function th(e){return"string"==typeof e}var tg="function"==typeof Symbol&&Symbol.for,tm=tg?Symbol.for("react.memo"):60115,tb=tg?Symbol.for("react.forward_ref"):60112,ty={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},tE={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},tv={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},tT=((td={})[tb]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},td[tm]=tv,td);function tS(e){return("type"in e&&e.type.$$typeof)===tm?tv:"$$typeof"in e?tT[e.$$typeof]:ty}var tO=Object.defineProperty,tA=Object.getOwnPropertyNames,t_=Object.getOwnPropertySymbols,tk=Object.getOwnPropertyDescriptor,tx=Object.getPrototypeOf,tC=Object.prototype;function tw(e){return"function"==typeof e}function tI(e){return"object"==typeof e&&"styledComponentId"in e}function tR(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function tN(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r0?" Args: ".concat(t.join(", ")):""))}var tM=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,a=r;e>=a;)if((a<<=1)<0)throw tP(16,"".concat(e));this.groupSizes=new Uint32Array(a),this.groupSizes.set(n),this.length=a;for(var i=r;i=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),a=r+n,i=r;i=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(l+="".concat(e,","))}),r+="".concat(o).concat(s,'{content:"').concat(l,'"}').concat(e7)}}})(a);return r}(r)})}return e.registerId=function(e){return tU(e)},e.prototype.rehydrate=function(){!this.server&&te&&tW(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(eb(eb({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){var e,t,n,r;return this.tag||(this.tag=(n=(t=this.options).useCSSOMInjection,r=t.target,e=t.isServer?new tX(r):n?new tY(r):new tq(r),new tM(e)))},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(tU(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(tU(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(tU(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),t0=/&/g,t1=/^\s*\/\/.*$/gm;function t2(e){var t,n,r,a=void 0===e?tr:e,i=a.options,o=void 0===i?tr:i,s=a.plugins,l=void 0===s?tn:s,c=function(e,r,a){return a.startsWith(n)&&a.endsWith(n)&&a.replaceAll(n,"").length>0?".".concat(t):e},u=l.slice();u.push(function(e){e.type===e_&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(t0,n).replace(r,c))}),o.prefix&&u.push(e0),u.push(eJ);var d=function(e,a,i,s){void 0===a&&(a=""),void 0===i&&(i=""),void 0===s&&(s="&"),t=s,n=a,r=RegExp("\\".concat(n,"\\b"),"g");var l,c,d,p,f,h=e.replace(t1,""),g=(f=function e(t,n,r,a,i,o,s,l,c){for(var u,d=0,p=0,f=s,h=0,g=0,m=0,b=1,y=1,E=1,v=0,T="",S=i,O=o,A=a,_=T;y;)switch(m=v,v=eY()){case 40:if(108!=m&&58==eD(_,f-1)){-1!=eL(_+=eN(eK(v),"&","&\f"),"&\f",eC(d?l[d-1]:0))&&(E=-1);break}case 34:case 39:case 91:_+=eK(v);break;case 9:case 10:case 13:case 32:_+=function(e){for(;e$=eq();)if(e$<33)eY();else break;return eX(e)>2||eX(e$)>3?"":" "}(m);break;case 92:_+=function(e,t){for(var n;--t&&eY()&&!(e$<48)&&!(e$>102)&&(!(e$>57)||!(e$<65))&&(!(e$>70)||!(e$<97)););return n=eH+(t<6&&32==eq()&&32==eY()),eP(ez,e,n)}(eH-1,7);continue;case 47:switch(eq()){case 42:case 47:eF(eZ(u=function(e,t){for(;eY();)if(e+e$===57)break;else if(e+e$===84&&47===eq())break;return"/*"+eP(ez,t,eH-1)+"*"+ew(47===e?e:eY())}(eY(),eH),n,r,eA,ew(e$),eP(u,2,-2),0,c),c);break;default:_+="/"}break;case 123*b:l[d++]=eM(_)*E;case 125*b:case 59:case 0:switch(v){case 0:case 125:y=0;case 59+p:-1==E&&(_=eN(_,/\f/g,"")),g>0&&eM(_)-f&&eF(g>32?e2(_+";",a,r,f-1,c):e2(eN(_," ","")+";",a,r,f-2,c),c);break;case 59:_+=";";default:if(eF(A=e1(_,n,r,d,p,i,l,T,S=[],O=[],f,o),o),123===v){if(0===p)e(_,n,A,A,S,o,f,l,O);else switch(99===h&&110===eD(_,3)?100:h){case 100:case 108:case 109:case 115:e(t,A,A,a&&eF(e1(t,A,A,0,0,i,l,T,i,S=[],f,O),O),i,O,f,l,a?S:O);break;default:e(_,A,A,A,[""],O,0,l,O)}}}d=p=g=0,b=E=1,T=_="",f=s;break;case 58:f=1+eM(_),g=m;default:if(b<1){if(123==v)--b;else if(125==v&&0==b++&&125==(e$=eH>0?eD(ez,--eH):0,eU--,10===e$&&(eU=1,ej--),e$))continue}switch(_+=ew(v),v*b){case 38:E=p>0?1:(_+="\f",-1);break;case 44:l[d++]=(eM(_)-1)*E,E=1;break;case 64:45===eq()&&(_+=eK(eY())),h=eq(),p=f=eM(T=_+=function(e){for(;!eX(eq());)eY();return eP(ez,e,eH)}(eH)),v++;break;case 45:45===m&&2==eM(_)&&(b=0)}}return o}("",null,null,null,[""],(p=d=i||a?"".concat(i," ").concat(a," { ").concat(h," }"):h,ej=eU=1,eG=eM(ez=p),eH=0,d=[]),0,[0],d),ez="",f);o.namespace&&(g=function e(t,n){return t.map(function(t){return"rule"===t.type&&(t.value="".concat(n," ").concat(t.value),t.value=t.value.replaceAll(",",",".concat(n," ")),t.props=t.props.map(function(e){return"".concat(n," ").concat(e)})),Array.isArray(t.children)&&"@keyframes"!==t.type&&(t.children=e(t.children,n)),t})}(g,o.namespace));var m=[];return eQ(g,(c=(l=u.concat(function(e){var t;!e.root&&(e=e.return)&&(t=e,m.push(t))})).length,function(e,t,n,r){for(var a="",i=0;i="A"&&r<="Z"?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var nt=function(e){return null==e||!1===e||""===e},nn=function(e){var t=[];for(var n in e){var r=e[n];e.hasOwnProperty(n)&&!nt(r)&&(Array.isArray(r)&&r.isCss||tw(r)?t.push("".concat(ne(n),":"),r,";"):tL(r)?t.push.apply(t,ey(ey(["".concat(n," {")],nn(r),!1),["}"],!1)):t.push("".concat(ne(n),": ").concat(null==r||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||n in e3.Z||n.startsWith("--")?String(r).trim():"".concat(r,"px"),";")))}return t};function nr(e,t,n,r){return nt(e)?[]:tI(e)?[".".concat(e.styledComponentId)]:tw(e)?!tw(e)||e.prototype&&e.prototype.isReactComponent||!t?[e]:nr(e(t),t,n,r):e instanceof t7?n?(e.inject(n,r),[e.getName(r)]):[e]:tL(e)?nn(e):Array.isArray(e)?Array.prototype.concat.apply(tn,e.map(function(e){return nr(e,t,n,r)})):[e.toString()]}function na(e){for(var t=0;t>>0);if(!t.hasNameForId(this.componentId,i)){var o=n(a,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,o)}r=tR(r,i),this.staticRulesId=i}}else{for(var s=tp(this.baseHash,n.hash),l="",c=0;c>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(l,".".concat(p),void 0,this.componentId)),r=tR(r,p)}}return r},e}(),ns=em.createContext(void 0);ns.Consumer;var nl={};function nc(e,t,n){var r,a,i,o,s=tI(e),l=!th(e),c=t.attrs,u=void 0===c?tn:c,d=t.componentId,p=void 0===d?(r=t.displayName,a=t.parentComponentId,nl[i="string"!=typeof r?"sc":ts(r)]=(nl[i]||0)+1,o="".concat(i,"-").concat(tu(tf(e8+i+nl[i])>>>0)),a?"".concat(a,"-").concat(o):o):d,f=t.displayName,h=void 0===f?th(e)?"styled.".concat(e):"Styled(".concat(e.displayName||e.name||"Component",")"):f,g=t.displayName&&t.componentId?"".concat(ts(t.displayName),"-").concat(t.componentId):t.componentId||p,m=s&&e.attrs?e.attrs.concat(u).filter(Boolean):u,b=t.shouldForwardProp;if(s&&e.shouldForwardProp){var y=e.shouldForwardProp;if(t.shouldForwardProp){var E=t.shouldForwardProp;b=function(e,t){return y(e,t)&&E(e,t)}}else b=y}var v=new no(n,g,s?e.componentStyle:void 0);function T(e,t){return function(e,t,n){var r,a,i=e.attrs,o=e.componentStyle,s=e.defaultProps,l=e.foldedComponentIds,c=e.styledComponentId,u=e.target,d=em.useContext(ns),p=t9(),f=e.shouldForwardProp||p.shouldForwardProp,h=(void 0===(r=s)&&(r=tr),t.theme!==r.theme&&t.theme||d||r.theme||tr),g=function(e,t,n){for(var r,a=eb(eb({},t),{className:void 0,theme:n}),i=0;i2&&tJ.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=n.nc,a=tN([r&&'nonce="'.concat(r,'"'),"".concat(e4,'="true"'),"".concat(e9,'="').concat(e8,'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(e.sealed)throw tP(2);return e._emitSheetCSS()},this.getStyleElement=function(){if(e.sealed)throw tP(2);var t,r=e.instance.toString();if(!r)return[];var a=((t={})[e4]="",t[e9]=e8,t.dangerouslySetInnerHTML={__html:r},t),i=n.nc;return i&&(a.nonce=i),[em.createElement("style",eb({},a,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new tJ({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw tP(2);return em.createElement(t8,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw tP(3)}}();var nh=n(4942),ng=n(73935),nm=n.t(ng,2),nb=function(){return(nb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=18&&(J=ny.createRoot)}catch(e){}function nT(e){var t=ny.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"==typeof t&&(t.usingClientEntryPoint=e)}var nS="__rc_react_root__",nO=new Map;"undefined"!=typeof document&&nO.set("tooltip",document.createElement("div"));var nA=function(e,t){void 0===t&&(t=!1);var n=null;if(t)n=nO.get("tooltip");else if(n=document.createElement("div"),null==e?void 0:e.key){var r=nO.get(e.key);r?n=r:nO.set(e.key,n)}return!function(e,t){if(J){var n;nT(!0),n=t[nS]||J(t),nT(!1),n.render(e),t[nS]=n;return}nv(e,t)}(e,n),n},n_=function(e){if("undefined"==typeof document)return"loading";var t=e.attachShadow({mode:"open"}),n=document.createElement("div"),r=document.createElement("style");r.innerHTML=".loading {\n display: inline-block;\n position: relative;\n width: 80px;\n height: 80px;\n }\n .loading div {\n position: absolute;\n top: 33px;\n width: 13px;\n height: 13px;\n border-radius: 50%;\n background: #ccc;\n animation-timing-function: cubic-bezier(0, 1, 1, 0);\n }\n .loading div:nth-child(1) {\n left: 8px;\n animation: loading1 0.6s infinite;\n }\n .loading div:nth-child(2) {\n left: 8px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(3) {\n left: 32px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(4) {\n left: 56px;\n animation: loading3 0.6s infinite;\n }\n @keyframes loading1 {\n 0% {\n transform: scale(0);\n }\n 100% {\n transform: scale(1);\n }\n }\n @keyframes loading3 {\n 0% {\n transform: scale(1);\n }\n 100% {\n transform: scale(0);\n }\n }\n @keyframes loading2 {\n 0% {\n transform: translate(0, 0);\n }\n 100% {\n transform: translate(24px, 0);\n }\n }\n ",n.classList.add("loading"),n.innerHTML="
",t.appendChild(r),t.appendChild(n)},nk=function(e){var t=e.loadingTemplate,n=e.theme,r=em.useRef(null);return em.useEffect(function(){!t&&r.current&&n_(r.current)},[]),em.createElement("div",{className:"charts-loading-container",style:{position:"absolute",width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",left:0,top:0,zIndex:99,backgroundColor:"dark"===(void 0===n?"light":n)?"rgb(20, 20, 20)":"rgb(255, 255, 255)"}},t||em.createElement("div",{ref:r}))},nx=(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),nC=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={hasError:!1},t.renderError=function(e){var n=t.props.errorTemplate;return"function"==typeof n?n(e):n||em.createElement("h5",null,"组件出错了,请核查后重试: ",e.message)},t}return nx(t,e),t.getDerivedStateFromError=function(e){return{hasError:!0,error:e}},t.getDerivedStateFromProps=function(e,t){return t.children!==e.children?{children:e.children,hasError:!1,error:void 0}:null},t.prototype.render=function(){return this.state.hasError?this.renderError(this.state.error):em.createElement(em.Fragment,null,this.props.children)},t}(em.Component),nw=function(e,t,n){if(n||2==arguments.length)for(var r,a=0,i=t.length;a90)return this;this.computeMatrix()}return this._getAxes(),this.type===nN.iM.ORBITING||this.type===nN.iM.EXPLORING?this._getPosition():this.type===nN.iM.TRACKING&&this._getFocalPoint(),this._update(),this}},{key:"pan",value:function(e,t){var n=(0,nN.O4)(e,t,0),r=nG.d9(this.position);return nG.IH(r,r,nG.bA(nG.Ue(),this.right,n[0])),nG.IH(r,r,nG.bA(nG.Ue(),this.up,n[1])),this._setPosition(r),this.triggerUpdate(),this}},{key:"dolly",value:function(e){var t=this.forward,n=nG.d9(this.position),r=e*this.dollyingStep;return r=Math.max(Math.min(this.distance+e*this.dollyingStep,this.maxDistance),this.minDistance)-this.distance,n[0]+=r*t[0],n[1]+=r*t[1],n[2]+=r*t[2],this._setPosition(n),this.type===nN.iM.ORBITING||this.type===nN.iM.EXPLORING?this._getDistance():this.type===nN.iM.TRACKING&&nG.IH(this.focalPoint,n,this.distanceVector),this.triggerUpdate(),this}},{key:"cancelLandmarkAnimation",value:function(){void 0!==this.landmarkAnimationID&&this.canvas.cancelAnimationFrame(this.landmarkAnimationID)}},{key:"createLandmark",value:function(e){var t,n,r,a,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=i.position,s=void 0===o?this.position:o,l=i.focalPoint,c=void 0===l?this.focalPoint:l,u=i.roll,d=i.zoom,p=new nN.GZ.CameraContribution;p.setType(this.type,void 0),p.setPosition(s[0],null!==(t=s[1])&&void 0!==t?t:this.position[1],null!==(n=s[2])&&void 0!==n?n:this.position[2]),p.setFocalPoint(c[0],null!==(r=c[1])&&void 0!==r?r:this.focalPoint[1],null!==(a=c[2])&&void 0!==a?a:this.focalPoint[2]),p.setRoll(null!=u?u:this.roll),p.setZoom(null!=d?d:this.zoom);var f={name:e,matrix:nU.clone(p.getWorldTransform()),right:nG.d9(p.right),up:nG.d9(p.up),forward:nG.d9(p.forward),position:nG.d9(p.getPosition()),focalPoint:nG.d9(p.getFocalPoint()),distanceVector:nG.d9(p.getDistanceVector()),distance:p.getDistance(),dollyingStep:p.getDollyingStep(),azimuth:p.getAzimuth(),elevation:p.getElevation(),roll:p.getRoll(),relAzimuth:p.relAzimuth,relElevation:p.relElevation,relRoll:p.relRoll,zoom:p.getZoom()};return this.landmarks.push(f),f}},{key:"gotoLandmark",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=nB(e,"String")?this.landmarks.find(function(t){return t.name===e}):e;if(r){var a,i=nB(n,"Number")?{duration:n}:n,o=i.easing,s=void 0===o?"linear":o,l=i.duration,c=void 0===l?100:l,u=i.easingFunction,d=i.onfinish,p=void 0===d?void 0:d,f=i.onframe,h=void 0===f?void 0:f;this.cancelLandmarkAnimation();var g=r.position,m=r.focalPoint,b=r.zoom,y=r.roll,E=(void 0===u?void 0:u)||nN.GZ.EasingFunction(s),v=function(){t.setFocalPoint(m),t.setPosition(g),t.setRoll(y),t.setZoom(b),t.computeMatrix(),t.triggerUpdate(),null==p||p()};if(0===c)return v();var T=function(e){void 0===a&&(a=e);var n=e-a;if(n>=c){v();return}var r=E(n/c),i=nG.Ue(),o=nG.Ue(),s=1,l=0;if(nG.t7(i,t.focalPoint,m,r),nG.t7(o,t.position,g,r),l=t.roll*(1-r)+y*r,s=t.zoom*(1-r)+b*r,t.setFocalPoint(i),t.setPosition(o),t.setRoll(l),t.setZoom(s),nG.TK(i,m)+nG.TK(o,g)<=.01&&void 0===b&&void 0===y)return v();t.computeMatrix(),t.triggerUpdate(),nn?n:e},nW={}.toString,nV=function(e){return null==e},nY=function(e){function t(e,n,r,a){var i;return(0,nL.Z)(this,t),(i=(0,nP.Z)(this,t,[e])).currentTime=r,i.timelineTime=a,i.target=n,i.type="finish",i.bubbles=!1,i.currentTarget=n,i.defaultPrevented=!1,i.eventPhase=i.AT_TARGET,i.timeStamp=Date.now(),i.currentTime=r,i.timelineTime=a,i}return(0,nM.Z)(t,e),(0,nD.Z)(t)}(nN.xA),nq=0,nX=(0,nD.Z)(function e(t,n){var r;(0,nL.Z)(this,e),this.currentTimePending=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._playbackRate=1,this._inTimeline=!0,this.effect=t,t.animation=this,this.timeline=n,this.id="".concat(nq++),this._inEffect=!!this.effect.update(0),this._totalDuration=Number(null===(r=this.effect)||void 0===r?void 0:r.getComputedTiming().endTime),this._holdTime=0,this._paused=!1,this.oldPlayState="idle",this.updatePromises()},[{key:"pending",get:function(){return null===this._startTime&&!this._paused&&0!==this.playbackRate||this.currentTimePending}},{key:"playState",get:function(){return this._idle?"idle":this._isFinished?"finished":this._paused?"paused":"running"}},{key:"ready",get:function(){var e=this;return this.readyPromise||(-1===this.timeline.animationsWithPromises.indexOf(this)&&this.timeline.animationsWithPromises.push(this),this.readyPromise=new Promise(function(t,n){e.resolveReadyPromise=function(){t(e)},e.rejectReadyPromise=function(){n(Error())}}),this.pending||this.resolveReadyPromise()),this.readyPromise}},{key:"finished",get:function(){var e=this;return this.finishedPromise||(-1===this.timeline.animationsWithPromises.indexOf(this)&&this.timeline.animationsWithPromises.push(this),this.finishedPromise=new Promise(function(t,n){e.resolveFinishedPromise=function(){t(e)},e.rejectFinishedPromise=function(){n(Error())}}),"finished"===this.playState&&this.resolveFinishedPromise()),this.finishedPromise}},{key:"currentTime",get:function(){return this.updatePromises(),this._idle||this.currentTimePending?null:this._currentTime},set:function(e){if(!isNaN(e=Number(e))){if(this.timeline.restart(),!this._paused&&null!==this._startTime){var t;this._startTime=Number(null===(t=this.timeline)||void 0===t?void 0:t.currentTime)-e/this.playbackRate}this.currentTimePending=!1,this._currentTime!==e&&(this._idle&&(this._idle=!1,this._paused=!0),this.tickCurrentTime(e,!0),this.timeline.applyDirtiedAnimation(this))}}},{key:"startTime",get:function(){return this._startTime},set:function(e){null!==e&&(this.updatePromises(),!isNaN(e=Number(e))&&(this._paused||this._idle||(this._startTime=e,this.tickCurrentTime((Number(this.timeline.currentTime)-this._startTime)*this.playbackRate),this.timeline.applyDirtiedAnimation(this),this.updatePromises())))}},{key:"playbackRate",get:function(){return this._playbackRate},set:function(e){if(e!==this._playbackRate){this.updatePromises();var t=this.currentTime;this._playbackRate=e,this.startTime=null,"paused"!==this.playState&&"idle"!==this.playState&&(this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this)),null!==t&&(this.currentTime=t),this.updatePromises()}}},{key:"_isFinished",get:function(){return!this._idle&&(this._playbackRate>0&&Number(this._currentTime)>=this._totalDuration||this._playbackRate<0&&0>=Number(this._currentTime))}},{key:"totalDuration",get:function(){return this._totalDuration}},{key:"_needsTick",get:function(){return this.pending||"running"===this.playState||!this._finishedFlag}},{key:"updatePromises",value:function(){var e=this.oldPlayState,t=this.pending?"pending":this.playState;return this.readyPromise&&t!==e&&("idle"===t?(this.rejectReadyPromise(),this.readyPromise=void 0):"pending"===e?this.resolveReadyPromise():"pending"===t&&(this.readyPromise=void 0)),this.finishedPromise&&t!==e&&("idle"===t?(this.rejectFinishedPromise(),this.finishedPromise=void 0):"finished"===t?this.resolveFinishedPromise():"finished"===e&&(this.finishedPromise=void 0)),this.oldPlayState=t,this.readyPromise||this.finishedPromise}},{key:"play",value:function(){this.updatePromises(),this._paused=!1,(this._isFinished||this._idle)&&(this.rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this),-1===this.timeline.animations.indexOf(this)&&this.timeline.animations.push(this),this.updatePromises()}},{key:"pause",value:function(){this.updatePromises(),this.currentTime&&(this._holdTime=this.currentTime),this._isFinished||this._paused||this._idle?this._idle&&(this.rewind(),this._idle=!1):this.currentTimePending=!0,this._startTime=null,this._paused=!0,this.updatePromises()}},{key:"finish",value:function(){this.updatePromises(),this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this.currentTimePending=!1,this.timeline.applyDirtiedAnimation(this),this.updatePromises())}},{key:"cancel",value:function(){var e=this;if(this.updatePromises(),this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this.effect.update(null),this.timeline.applyDirtiedAnimation(this),this.updatePromises(),this.oncancel)){var t=new nY(null,this,this.currentTime,null);setTimeout(function(){e.oncancel(t)})}}},{key:"reverse",value:function(){this.updatePromises();var e=this.currentTime;this.playbackRate*=-1,this.play(),null!==e&&(this.currentTime=e),this.updatePromises()}},{key:"updatePlaybackRate",value:function(e){this.playbackRate=e}},{key:"targetAnimations",value:function(){var e;return(null===(e=this.effect)||void 0===e?void 0:e.target).getAnimations()}},{key:"markTarget",value:function(){var e=this.targetAnimations();-1===e.indexOf(this)&&e.push(this)}},{key:"unmarkTarget",value:function(){var e=this.targetAnimations(),t=e.indexOf(this);-1!==t&&e.splice(t,1)}},{key:"tick",value:function(e,t){this._idle||this._paused||(null===this._startTime?t&&(this.startTime=e-this._currentTime/this.playbackRate):this._isFinished||this.tickCurrentTime((e-this._startTime)*this.playbackRate)),t&&(this.currentTimePending=!1,this.fireEvents(e))}},{key:"rewind",value:function(){if(this.playbackRate>=0)this.currentTime=0;else if(this._totalDuration<1/0)this.currentTime=this._totalDuration;else throw Error("Unable to rewind negative playback rate animation with infinite duration")}},{key:"persist",value:function(){throw Error(nN.jf)}},{key:"addEventListener",value:function(e,t,n){throw Error(nN.jf)}},{key:"removeEventListener",value:function(e,t,n){throw Error(nN.jf)}},{key:"dispatchEvent",value:function(e){throw Error(nN.jf)}},{key:"commitStyles",value:function(){throw Error(nN.jf)}},{key:"ensureAlive",value:function(){var e,t;this.playbackRate<0&&0===this.currentTime?this._inEffect=!!(null!==(e=this.effect)&&void 0!==e&&e.update(-1)):this._inEffect=!!(null!==(t=this.effect)&&void 0!==t&&t.update(this.currentTime)),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,this.timeline.animations.push(this))}},{key:"tickCurrentTime",value:function(e,t){e!==this._currentTime&&(this._currentTime=e,this._isFinished&&!t&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this.ensureAlive())}},{key:"fireEvents",value:function(e){var t=this;if(this._isFinished){if(!this._finishedFlag){if(this.onfinish){var n=new nY(null,this,this.currentTime,e);setTimeout(function(){t.onfinish&&t.onfinish(n)})}this._finishedFlag=!0}}else{if(this.onframe&&"running"===this.playState){var r=new nY(null,this,this.currentTime,e);this.onframe(r)}this._finishedFlag=!1}}}]),nK="function"==typeof Float32Array,nQ=function(e,t){return 1-3*t+3*e},nJ=function(e,t){return 3*t-6*e},n0=function(e){return 3*e},n1=function(e,t,n){return((nQ(t,n)*e+nJ(t,n))*e+n0(t))*e},n2=function(e,t,n){return 3*nQ(t,n)*e*e+2*nJ(t,n)*e+n0(t)},n3=function(e,t,n,r,a){var i,o,s=0;do(i=n1(o=t+(n-t)/2,r,a)-e)>0?n=o:t=o;while(Math.abs(i)>1e-7&&++s<10);return o},n5=function(e,t,n,r){for(var a=0;a<4;++a){var i=n2(t,n,r);if(0===i)break;var o=n1(t,n,r)-e;t-=o/i}return t},n4=function(e,t,n,r){if(!(e>=0&&e<=1&&n>=0&&n<=1))throw Error("bezier x values must be in [0, 1] range");if(e===t&&n===r)return function(e){return e};for(var a=nK?new Float32Array(11):Array(11),i=0;i<11;++i)a[i]=n1(.1*i,e,n);var o=function(t){for(var r=0,i=1;10!==i&&a[i]<=t;++i)r+=.1;var o=r+(t-a[--i])/(a[i+1]-a[i])*.1,s=n2(o,e,n);return s>=.001?n5(t,o,e,n):0===s?o:n3(t,r,r+.1,e,n)};return function(e){return 0===e||1===e?e:n1(o(e),t,r)}},n6=function(e){return Math.pow(e,2)},n9=function(e){return Math.pow(e,3)},n8=function(e){return Math.pow(e,4)},n7=function(e){return Math.pow(e,5)},re=function(e){return Math.pow(e,6)},rt=function(e){return 1-Math.cos(e*Math.PI/2)},rn=function(e){return 1-Math.sqrt(1-e*e)},rr=function(e){return e*e*(3*e-2)},ra=function(e){for(var t,n=4;e<((t=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*t-2)/22-e,2)},ri=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,2),r=n[0],a=n[1],i=nZ(Number(void 0===r?1:r),1,10),o=nZ(Number(void 0===a?.5:a),.1,2);return 0===e||1===e?e:-i*Math.pow(2,10*(e-1))*Math.sin((e-1-o/(2*Math.PI)*Math.asin(1/i))*(2*Math.PI)/o)},ro=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,r=(0,nz.Z)(t,4),a=r[0],i=void 0===a?1:a,o=r[1],s=void 0===o?100:o,l=r[2],c=void 0===l?10:l,u=r[3],d=void 0===u?0:u;i=nZ(i,.1,1e3),s=nZ(s,.1,1e3),c=nZ(c,.1,1e3),d=nZ(d,.1,1e3);var p=Math.sqrt(s/i),f=c/(2*Math.sqrt(s*i)),h=f<1?p*Math.sqrt(1-f*f):0,g=f<1?(f*p+-d)/h:-d+p,m=n?n*e/1e3:e;return(m=f<1?Math.exp(-m*f*p)*(1*Math.cos(h*m)+g*Math.sin(h*m)):(1+g*m)*Math.exp(-m*p),0===e||1===e)?e:1-m},rs=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,2),r=n[0],a=void 0===r?10:r;return("start"===n[1]?Math.ceil:Math.floor)(nZ(e,0,1)*a)/a},rl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,4);return n4(n[0],n[1],n[2],n[3])(e)},rc=n4(.42,0,1,1),ru=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return 1-e(1-t,n,r)}},rd=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return t<.5?e(2*t,n,r)/2:1-e(-2*t+2,n,r)/2}},rp=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return t<.5?(1-e(1-2*t,n,r))/2:(e(2*t-1,n,r)+1)/2}},rf={steps:rs,"step-start":function(e){return rs(e,[1,"start"])},"step-end":function(e){return rs(e,[1,"end"])},linear:function(e){return e},"cubic-bezier":rl,ease:function(e){return rl(e,[.25,.1,.25,1])},in:rc,out:ru(rc),"in-out":rd(rc),"out-in":rp(rc),"in-quad":n6,"out-quad":ru(n6),"in-out-quad":rd(n6),"out-in-quad":rp(n6),"in-cubic":n9,"out-cubic":ru(n9),"in-out-cubic":rd(n9),"out-in-cubic":rp(n9),"in-quart":n8,"out-quart":ru(n8),"in-out-quart":rd(n8),"out-in-quart":rp(n8),"in-quint":n7,"out-quint":ru(n7),"in-out-quint":rd(n7),"out-in-quint":rp(n7),"in-expo":re,"out-expo":ru(re),"in-out-expo":rd(re),"out-in-expo":rp(re),"in-sine":rt,"out-sine":ru(rt),"in-out-sine":rd(rt),"out-in-sine":rp(rt),"in-circ":rn,"out-circ":ru(rn),"in-out-circ":rd(rn),"out-in-circ":rp(rn),"in-back":rr,"out-back":ru(rr),"in-out-back":rd(rr),"out-in-back":rp(rr),"in-bounce":ra,"out-bounce":ru(ra),"in-out-bounce":rd(ra),"out-in-bounce":rp(ra),"in-elastic":ri,"out-elastic":ru(ri),"in-out-elastic":rd(ri),"out-in-elastic":rp(ri),spring:ro,"spring-in":ro,"spring-out":ru(ro),"spring-in-out":rd(ro),"spring-out-in":rp(ro)},rh=function(e){var t;return("-"===(t=(t=e).replace(/([A-Z])/g,function(e){return"-".concat(e.toLowerCase())})).charAt(0)?t.substring(1):t).replace(/^ease-/,"").replace(/(\(|\s).+/,"").toLowerCase().trim()},rg=function(e){return e};function rm(e,t){return function(n){if(n>=1)return 1;var r=1/e;return(n+=t*r)-n%r}}var rb="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",ry=new RegExp("cubic-bezier\\(".concat(rb,",").concat(rb,",").concat(rb,",").concat(rb,"\\)")),rE=/steps\(\s*(\d+)\s*\)/,rv=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/;function rT(e){var t=ry.exec(e);if(t)return n4.apply(void 0,(0,n$.Z)(t.slice(1).map(Number)));var n=rE.exec(e);if(n)return rm(Number(n[1]),0);var r=rv.exec(e);return r?rm(Number(r[1]),{start:1,middle:.5,end:0}[r[2]]):rf[rh(e)]||rf.linear}function rS(e){return"offset"!==e&&"easing"!==e&&"composite"!==e&&"computedOffset"!==e}var rO=function(e,t,n){return function(r){var a,i=function e(t,n,r){if("number"==typeof t&&"number"==typeof n)return t*(1-r)+n*r;if("boolean"==typeof t&&"boolean"==typeof n||"string"==typeof t&&"string"==typeof n)return r<.5?t:n;if(Array.isArray(t)&&Array.isArray(n)){for(var a=t.length,i=n.length,o=Math.max(a,i),s=[],l=0;l1)throw Error("Keyframe offsets must be between 0 and 1.");n.computedOffset=a}}else if("composite"===r&&-1===["replace","add","accumulate","auto"].indexOf(a))throw Error("".concat(a," compositing is not supported"));n[r]=a}return void 0===n.offset&&(n.offset=null),void 0===n.easing&&(n.easing=(null==t?void 0:t.easing)||"linear"),void 0===n.composite&&(n.composite="auto"),n}),r=!0,a=-1/0,i=0;i=0&&1>=Number(e.offset)}),r||function(){var e,t,r=n.length;n[r-1].computedOffset=Number(null!==(e=n[r-1].offset)&&void 0!==e?e:1),r>1&&(n[0].computedOffset=Number(null!==(t=n[0].offset)&&void 0!==t?t:0));for(var a=0,i=Number(n[0].computedOffset),o=1;o=e.applyFrom&&t=Math.min(n.delay+e+n.endDelay,r)?2:3}(e,t,n),u=function(e,t,n,r,a){switch(r){case 1:if("backwards"===t||"both"===t)return 0;return null;case 3:return n-a;case 2:if("forwards"===t||"both"===t)return e;return null;case 0:return null}}(e,n.fill,t,c,n.delay);if(null===u)return null;var d="auto"===n.duration?0:n.duration,p=(r=n.iterations,a=n.iterationStart,0===d?1!==c&&(a+=r):a+=u/d,a),f=(i=n.iterationStart,o=n.iterations,0==(s=p===1/0?i%1:p%1)&&2===c&&0!==o&&(0!==u||0===d)&&(s=1),s),h=(l=n.iterations,2===c&&l===1/0?1/0:1===f?Math.floor(p)-1:Math.floor(p)),g=function(e,t,n){var r=e;if("normal"!==e&&"reverse"!==e){var a=t;"alternate-reverse"===e&&(a+=1),r="normal",a!==1/0&&a%2!=0&&(r="reverse")}return"normal"===r?n:1-n}(n.direction,h,f);return n.currentIteration=h,n.progress=g,n.easingFunction(g)}(this.timing.activeDuration,e,this.timing),null!==this.timeFraction)}},{key:"getKeyframes",value:function(){return this.normalizedKeyframes}},{key:"setKeyframes",value:function(e){this.normalizedKeyframes=r_(e)}},{key:"getComputedTiming",value:function(){return this.computedTiming}},{key:"getTiming",value:function(){return this.timing}},{key:"updateTiming",value:function(e){var t=this;Object.keys(e||{}).forEach(function(n){t.timing[n]=e[n]})}}]);function rw(e,t){return Number(e.id)-Number(t.id)}var rI=(0,nD.Z)(function e(t){var n=this;(0,nL.Z)(this,e),this.animations=[],this.ticking=!1,this.timelineTicking=!1,this.hasRestartedThisFrame=!1,this.animationsWithPromises=[],this.inTick=!1,this.pendingEffects=[],this.currentTime=null,this.rafId=0,this.rafCallbacks=[],this.webAnimationsNextTick=function(e){n.currentTime=e,n.discardAnimations(),0===n.animations.length?n.timelineTicking=!1:n.requestAnimationFrame(n.webAnimationsNextTick)},this.processRafCallbacks=function(e){var t=n.rafCallbacks;n.rafCallbacks=[],et.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let rN=(e,t,n)=>[["M",e-n,t],["A",n,n,0,1,0,e+n,t],["A",n,n,0,1,0,e-n,t],["Z"]];rN.style=["fill"];let rL=rN.bind(void 0);rL.style=["stroke","lineWidth"];let rD=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t-n],["L",e+n,t+n],["L",e-n,t+n],["Z"]];rD.style=["fill"];let rP=rD.bind(void 0);rP.style=["fill"];let rM=rD.bind(void 0);rM.style=["stroke","lineWidth"];let rF=(e,t,n)=>{let r=.618*n;return[["M",e-r,t],["L",e,t-n],["L",e+r,t],["L",e,t+n],["Z"]]};rF.style=["fill"];let rB=rF.bind(void 0);rB.style=["stroke","lineWidth"];let rj=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t+r],["L",e,t-r],["L",e+n,t+r],["Z"]]};rj.style=["fill"];let rU=rj.bind(void 0);rU.style=["stroke","lineWidth"];let rG=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t-r],["L",e+n,t-r],["L",e,t+r],["Z"]]};rG.style=["fill"];let rH=rG.bind(void 0);rH.style=["stroke","lineWidth"];let r$=(e,t,n)=>{let r=n/2*Math.sqrt(3);return[["M",e,t-n],["L",e+r,t-n/2],["L",e+r,t+n/2],["L",e,t+n],["L",e-r,t+n/2],["L",e-r,t-n/2],["Z"]]};r$.style=["fill"];let rz=r$.bind(void 0);rz.style=["stroke","lineWidth"];let rZ=(e,t,n)=>{let r=n-1.5;return[["M",e-n,t-r],["L",e+n,t+r],["L",e+n,t-r],["L",e-n,t+r],["Z"]]};rZ.style=["fill"];let rW=rZ.bind(void 0);rW.style=["stroke","lineWidth"];let rV=(e,t,n)=>[["M",e,t+n],["L",e,t-n]];rV.style=["stroke","lineWidth"];let rY=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t+n],["M",e+n,t-n],["L",e-n,t+n]];rY.style=["stroke","lineWidth"];let rq=(e,t,n)=>[["M",e-n/2,t-n],["L",e+n/2,t-n],["M",e,t-n],["L",e,t+n],["M",e-n/2,t+n],["L",e+n/2,t+n]];rq.style=["stroke","lineWidth"];let rX=(e,t,n)=>[["M",e-n,t],["L",e+n,t],["M",e,t-n],["L",e,t+n]];rX.style=["stroke","lineWidth"];let rK=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rK.style=["stroke","lineWidth"];let rQ=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rQ.style=["stroke","lineWidth"];let rJ=rQ.bind(void 0);rJ.style=["stroke","lineWidth"];let r0=(e,t,n)=>[["M",e-n,t],["A",n/2,n/2,0,1,1,e,t],["A",n/2,n/2,0,1,0,e+n,t]];r0.style=["stroke","lineWidth"];let r1=(e,t,n)=>[["M",e-n-1,t-2.5],["L",e,t-2.5],["L",e,t+2.5],["L",e+n+1,t+2.5]];r1.style=["stroke","lineWidth"];let r2=(e,t,n)=>[["M",e-n-1,t+2.5],["L",e,t+2.5],["L",e,t-2.5],["L",e+n+1,t-2.5]];r2.style=["stroke","lineWidth"];let r3=(e,t,n)=>[["M",e-(n+1),t+2.5],["L",e-n/2,t+2.5],["L",e-n/2,t-2.5],["L",e+n/2,t-2.5],["L",e+n/2,t+2.5],["L",e+n+1,t+2.5]];r3.style=["stroke","lineWidth"];let r5=(e,t,n)=>[["M",e-5,t+2.5],["L",e-5,t],["L",e,t],["L",e,t-3],["L",e,t+3],["L",e+6.5,t+3]];r5.style=["stroke","lineWidth"];let r4=new Map([["bowtie",rZ],["cross",rY],["dash",rJ],["diamond",rF],["dot",rQ],["hexagon",r$],["hollowBowtie",rW],["hollowDiamond",rB],["hollowHexagon",rz],["hollowPoint",rL],["hollowSquare",rM],["hollowTriangle",rU],["hollowTriangleDown",rH],["hv",r1],["hvh",r3],["hyphen",rK],["line",rV],["plus",rX],["point",rN],["rect",rP],["smooth",r0],["square",rD],["tick",rq],["triangleDown",rG],["triangle",rj],["vh",r2],["vhv",r5]]),r6={};function r9(e,t){if(e.startsWith("symbol.")){var n;n=e.split(".").pop(),r4.set(n,t)}else Object.assign(r6,{[e]:t})}var r8=n(88998);/*! * @antv/g-plugin-canvas-path-generator * @description A G plugin of path generator with Canvas2D API * @version 2.1.16 @@ -61,4 +61,4 @@ * @author Lea Verou * @namespace * @public - */var r=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},a={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=u.reach));S+=T.value.length,T=T.next){var O,A=T.value;if(n.length>t.length)return;if(!(A instanceof i)){var _=1;if(b){if(!(O=o(v,S,t,m))||O.index>=t.length)break;var k=O.index,x=O.index+O[0].length,C=S;for(C+=T.value.length;k>=C;)C+=(T=T.next).value.length;if(C-=T.value.length,S=C,T.value instanceof i)continue;for(var w=T;w!==n.tail&&(Cu.reach&&(u.reach=L);var D=T.prev;R&&(D=l(n,D,R),S+=R.length),function(e,t,n){for(var r=t.next,a=0;a1){var M={cause:d+","+f,reach:L};e(t,n,r,T.prev,S,M),u&&M.reach>u.reach&&(u.reach=M.reach)}}}}}}(e,c,t,c.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(c)},hooks:{all:{},add:function(e,t){var n=a.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=a.hooks.all[e];if(n&&n.length)for(var r,i=0;r=n[i++];)r(t)}},Token:i};function i(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var i=a[1].length;a.index+=i,a[0]=a[0].slice(i)}return a}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}if(e.Prism=a,i.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach(function(t){r+=e(t,n)}),r}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},o=t.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(i.classes,o):i.classes.push(o)),a.hooks.run("wrap",i);var s="";for(var l in i.attributes)s+=" "+l+'="'+(i.attributes[l]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+s+">"+i.content+""},!e.document)return e.addEventListener&&(a.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),r=n.language,i=n.code,o=n.immediateClose;e.postMessage(a.highlight(i,a.languages[r],r)),o&&e.close()},!1)),a;var c=a.util.currentScript();function u(){a.manual||a.highlightAll()}if(c&&(a.filename=c.src,c.hasAttribute("data-manual")&&(a.manual=!0)),!a.manual){var d=document.readyState;"loading"===d||"interactive"===d&&c&&c.defer?document.addEventListener("DOMContentLoaded",u):window.requestAnimationFrame?window.requestAnimationFrame(u):window.setTimeout(u,16)}return a}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=r),void 0!==n.g&&(n.g.Prism=r)},96774:function(e){e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),o=Object.keys(t);if(i.length!==o.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;le.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}},88998:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(95778);function a(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},13643:function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,{Z:function(){return r}})},98568:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)}n.d(t,{Z:function(){return a}})},99660:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(88998);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var l=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(l&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;C(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:I(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),b}},t}},16200:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59312);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw a}}return s}}(e,t)||(0,r.Z)(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},27567:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(13643);function a(){return(a="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var a=function(e,t){for(;!({}).hasOwnProperty.call(e,t)&&null!==(e=(0,r.Z)(e)););return e}(e,t);if(a){var i=Object.getOwnPropertyDescriptor(a,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}}).apply(null,arguments)}function i(e,t,n,i){var o=a((0,r.Z)(1&i?e.prototype:e),t,n);return 2&i&&"function"==typeof o?function(e){return o.apply(n,e)}:o}},25585:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(59630),a=n(59312);function i(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,a.Z)(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},95778:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(2846);function a(e){var t=function(e,t){if("object"!=(0,r.Z)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=(0,r.Z)(a))return a;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.Z)(t)?t:t+""}},2846:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{Z:function(){return r}})},59312:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59630);function a(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},21129:function(e,t,n){"use strict";var r=n(4503);t.Z=r},86676:function(e,t,n){"use strict";n.d(t,{r:function(){return a}});let r=/[#.]/g;function a(e,t){let n,a;let i=e||"",o={},s=0;for(;so&&(o=i):i=1,a=r+t.length,r=n.indexOf(t,a);return o}n.d(t,{J:function(){return r}})},24557:function(e,t,n){"use strict";n.d(t,{Z:function(){return ed}});var r={};n.r(r),n.d(r,{boolean:function(){return c},booleanish:function(){return u},commaOrSpaceSeparated:function(){return g},commaSeparated:function(){return h},number:function(){return p},overloadedBoolean:function(){return d},spaceSeparated:function(){return f}});class a{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function i(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new a(n,r,t)}function o(e){return e.toLowerCase()}a.prototype.normal={},a.prototype.property={},a.prototype.space=void 0;class s{constructor(e,t){this.attribute=t,this.property=e}}s.prototype.attribute="",s.prototype.booleanish=!1,s.prototype.boolean=!1,s.prototype.commaOrSpaceSeparated=!1,s.prototype.commaSeparated=!1,s.prototype.defined=!1,s.prototype.mustUseProperty=!1,s.prototype.number=!1,s.prototype.overloadedBoolean=!1,s.prototype.property="",s.prototype.spaceSeparated=!1,s.prototype.space=void 0;let l=0,c=m(),u=m(),d=m(),p=m(),f=m(),h=m(),g=m();function m(){return 2**++l}let b=Object.keys(r);class y extends s{constructor(e,t,n,a){var i,o;let s=-1;if(super(e,t),a&&(this.space=a),"number"==typeof n)for(;++s"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function T(e,t){return t in e?e[t]:t}function S(e,t){return T(e,t.toLowerCase())}let O=E({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:h,acceptCharset:f,accessKey:f,action:null,allow:null,allowFullScreen:c,allowPaymentRequest:c,allowUserMedia:c,alt:null,as:null,async:c,autoCapitalize:null,autoComplete:f,autoFocus:c,autoPlay:c,blocking:f,capture:null,charSet:null,checked:c,cite:null,className:f,cols:p,colSpan:null,content:null,contentEditable:u,controls:c,controlsList:f,coords:p|h,crossOrigin:null,data:null,dateTime:null,decoding:null,default:c,defer:c,dir:null,dirName:null,disabled:c,download:d,draggable:u,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:c,formTarget:null,headers:f,height:p,hidden:c,high:p,href:null,hrefLang:null,htmlFor:f,httpEquiv:f,id:null,imageSizes:null,imageSrcSet:null,inert:c,inputMode:null,integrity:null,is:null,isMap:c,itemId:null,itemProp:f,itemRef:f,itemScope:c,itemType:f,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:c,low:p,manifest:null,max:null,maxLength:p,media:null,method:null,min:null,minLength:p,multiple:c,muted:c,name:null,nonce:null,noModule:c,noValidate:c,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored: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,onScrollEnd: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:c,optimum:p,pattern:null,ping:f,placeholder:null,playsInline:c,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:c,referrerPolicy:null,rel:f,required:c,reversed:c,rows:p,rowSpan:p,sandbox:f,scope:null,scoped:c,seamless:c,selected:c,shadowRootClonable:c,shadowRootDelegatesFocus:c,shadowRootMode:null,shape:null,size:p,sizes:null,slot:null,span:p,spellCheck:u,src:null,srcDoc:null,srcLang:null,srcSet:null,start:p,step:null,style:null,tabIndex:p,target:null,title:null,translate:null,type:null,typeMustMatch:c,useMap:null,value:u,width:p,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:f,axis:null,background:null,bgColor:null,border:p,borderColor:null,bottomMargin:p,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:c,declare:c,event:null,face:null,frame:null,frameBorder:null,hSpace:p,leftMargin:p,link:null,longDesc:null,lowSrc:null,marginHeight:p,marginWidth:p,noResize:c,noHref:c,noShade:c,noWrap:c,object:null,profile:null,prompt:null,rev:null,rightMargin:p,rules:null,scheme:null,scrolling:u,standby:null,summary:null,text:null,topMargin:p,valueType:null,version:null,vAlign:null,vLink:null,vSpace:p,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:c,disableRemotePlayback:c,prefix:null,property:null,results:p,security:null,unselectable:null},space:"html",transform:S}),A=E({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:g,accentHeight:p,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:p,amplitude:p,arabicForm:null,ascent:p,attributeName:null,attributeType:null,azimuth:p,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:p,by:null,calcMode:null,capHeight:p,className:f,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:p,diffuseConstant:p,direction:null,display:null,dur:null,divisor:p,dominantBaseline:null,download:c,dx:null,dy:null,edgeMode:null,editable:null,elevation:p,enableBackground:null,end:null,event:null,exponent:p,externalResourcesRequired:null,fill:null,fillOpacity:p,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:h,g2:h,glyphName:h,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:p,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:p,horizOriginX:p,horizOriginY:p,id:null,ideographic:p,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:p,k:p,k1:p,k2:p,k3:p,k4:p,kernelMatrix:g,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:p,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:p,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose: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,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:p,overlineThickness:p,paintOrder:null,panose1:null,path:null,pathLength:p,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:f,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:p,pointsAtY:p,pointsAtZ:p,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:g,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:g,rev:g,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:g,requiredFeatures:g,requiredFonts:g,requiredFormats:g,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:p,specularExponent:p,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:p,strikethroughThickness:p,string:null,stroke:null,strokeDashArray:g,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:p,strokeOpacity:p,strokeWidth:null,style:null,surfaceScale:p,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:g,tabIndex:p,tableValues:null,target:null,targetX:p,targetY:p,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:g,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:p,underlineThickness:p,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:p,values:null,vAlphabetic:p,vMathematical:p,vectorEffect:null,vHanging:p,vIdeographic:p,version:null,vertAdvY:p,vertOriginX:p,vertOriginY:p,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:p,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:T}),_=E({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),k=E({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:S}),x=E({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),C=i([v,O,_,k,x],"html"),w=i([v,A,_,k,x],"svg");var I=n(25668),R=n(86676);let N=/[A-Z]/g,L=/-[a-z]/g,D=/^data[-\w.:]+$/i;function P(e){return"-"+e.toLowerCase()}function M(e){return e.charAt(1).toUpperCase()}var F=n(50342);function B(e,t,n){let r=n?function(e){let t=new Map;for(let n of e)t.set(n.toLowerCase(),n);return t}(n):void 0;return function(n,a,...i){let l;if(null==n)l={type:"root",children:[]},i.unshift(a);else{l=(0,R.r)(n,t);let c=l.tagName.toLowerCase(),u=r?r.get(c):void 0;if(l.tagName=u||c,function(e){if(null===e||"object"!=typeof e||Array.isArray(e))return!0;if("string"!=typeof e.type)return!1;let t=Object.keys(e);for(let n of t){let t=e[n];if(t&&"object"==typeof t){if(!Array.isArray(t))return!0;for(let e of t)if("number"!=typeof e&&"string"!=typeof e)return!0}}return!!("children"in e&&Array.isArray(e.children))}(a))i.unshift(a);else for(let[t,n]of Object.entries(a))!function(e,t,n,r){let a;let i=function(e,t){let n=o(t),r=t,a=s;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&D.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(L,M);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!L.test(e)){let n=e.replace(N,P);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}a=y}return new a(r,t)}(e,n);if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;a=r}else a="boolean"==typeof r?r:"string"==typeof r?i.spaceSeparated?(0,F.Q)(r):i.commaSeparated?(0,I.Q)(r):i.commaOrSpaceSeparated?(0,F.Q)((0,I.Q)(r).join(" ")):j(i,i.property,r):Array.isArray(r)?[...r]:"style"===i.property?function(e){let t=[];for(let[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}(r):String(r);if(Array.isArray(a)){let e=[];for(let t of a)e.push(j(i,i.property,t));a=e}"className"===i.property&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}(e,l.properties,t,n)}for(let e of i)!function e(t,n){if(null==n);else if("number"==typeof n||"string"==typeof n)t.push({type:"text",value:String(n)});else if(Array.isArray(n))for(let r of n)e(t,r);else if("object"==typeof n&&"type"in n)"root"===n.type?e(t,n.children):t.push(n);else throw Error("Expected node, nodes, or string, got `"+n+"`")}(l.children,e);return"element"===l.type&&"template"===l.tagName&&(l.content={type:"root",children:l.children},l.children=[]),l}}function j(e,t,n){if("string"==typeof n){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(""===n||o(n)===o(t)))return!0}return n}let U=B(C,"div"),G=B(w,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]);var H=n(49911);function $(e,t){let n=function(e,t){switch(e.nodeType){case 1:return function(e,t){let n=e.namespaceURI,r=n===H.t.svg?G:U,a=n===H.t.html?e.tagName.toLowerCase():e.tagName,i=n===H.t.html&&"template"===a?e.content:e,o=e.getAttributeNames(),s={},l=-1;for(;++ln&&(n=e):e&&(void 0!==n&&n>-1&&l.push("\n".repeat(n)||" "),n=-1,l.push(e))}return l.join("")}(d,{whitespace:"pre"});try{a=es.ZP.renderToString(p,{...t,displayMode:c,throwOnError:!0})}catch(o){let i=o.name.toLowerCase();n.message("Could not render math with KaTeX",{ancestors:[...r,e],cause:o,place:e.position,ruleId:i,source:"rehype-katex"});try{a=es.ZP.renderToString(p,{...t,displayMode:c,strict:"ignore",throwOnError:!1})}catch{a=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(o)},children:[{type:"text",value:p}]}]}}if("string"==typeof a){let e=function(e,t){let n=t?.fragment?function(e){let t=document.createElement("template");return t.innerHTML=e,t.content}(e):Z.parseFromString(e,"text/html");return $(n,{})||{type:"root",children:[]}}(a,{fragment:!0});a=e.children}let f=u.children.indexOf(d);return u.children.splice(f,1,...a),el.AM})}}},12384:function(e,t,n){"use strict";n.d(t,{Z:function(){return tJ}});var r,a,i,o,s,l,c,u,d,p,f,h,g,m,b,y,E,v,T,S,O,A,_=n(52835),k=n(24345),x=n(91634),C=n(25668),w=n(86676),I=n(26103),R=n(28051),N=n(50342);let L=new Set(["button","menu","reset","submit"]),D={}.hasOwnProperty;function P(e,t,n){let r=n&&function(e){let t={},n=-1;for(;++n1?n[e.line-2]:0)+e.column-1;if(r-1&&e<=t.length){let r=0;for(;;){let a=n[r];if(void 0===a){let e=j(t,n[r-1]);a=-1===e?t.length+1:e+1,n[r]=a}if(a>e)return{line:r+1,column:e-(r>0?n[r-1]:0)+1,offset:e};r++}}}}}(t),a=r.toPoint(0),i=r.toPoint(t.length);(0,k.ok)(a,"expected `start`"),(0,k.ok)(i,"expected `end`"),n.position={start:a,end:i}}return n}case"#documentType":return Z(e,t,n={type:"doctype"}),n;case"#text":return n={type:"text",value:t.value},Z(e,t,n),n;default:return function(e,t){let n=e.schema;e.schema=t.namespaceURI===U.t.svg?x.YP:x.dy;let r=-1,a={};for(;++r=55296&&e<=57343}function ei(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function eo(e){return e>=64976&&e<=65007||en.has(e)}(a=g=g||(g={})).controlCharacterInInputStream="control-character-in-input-stream",a.noncharacterInInputStream="noncharacter-in-input-stream",a.surrogateInInputStream="surrogate-in-input-stream",a.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",a.endTagWithAttributes="end-tag-with-attributes",a.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",a.unexpectedSolidusInTag="unexpected-solidus-in-tag",a.unexpectedNullCharacter="unexpected-null-character",a.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",a.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",a.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",a.missingEndTagName="missing-end-tag-name",a.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",a.unknownNamedCharacterReference="unknown-named-character-reference",a.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",a.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",a.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",a.eofBeforeTagName="eof-before-tag-name",a.eofInTag="eof-in-tag",a.missingAttributeValue="missing-attribute-value",a.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",a.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",a.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",a.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",a.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",a.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",a.missingDoctypePublicIdentifier="missing-doctype-public-identifier",a.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",a.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",a.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",a.cdataInHtmlContent="cdata-in-html-content",a.incorrectlyOpenedComment="incorrectly-opened-comment",a.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",a.eofInDoctype="eof-in-doctype",a.nestedComment="nested-comment",a.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",a.eofInComment="eof-in-comment",a.incorrectlyClosedComment="incorrectly-closed-comment",a.eofInCdata="eof-in-cdata",a.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",a.nullCharacterReference="null-character-reference",a.surrogateCharacterReference="surrogate-character-reference",a.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",a.controlCharacterReference="control-character-reference",a.noncharacterCharacterReference="noncharacter-character-reference",a.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",a.missingDoctypeName="missing-doctype-name",a.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",a.duplicateAttribute="duplicate-attribute",a.nonConformingDoctype="non-conforming-doctype",a.missingDoctype="missing-doctype",a.misplacedDoctype="misplaced-doctype",a.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",a.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",a.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",a.openElementsLeftAfterEof="open-elements-left-after-eof",a.abandonedHeadElementChild="abandoned-head-element-child",a.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",a.nestedNoscriptInHead="nested-noscript-in-head",a.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text";class es{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e){let{line:t,col:n,offset:r}=this;return{code:e,startLine:t,endLine:t,startCol:n,endCol:n,startOffset:r,endOffset:r}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let t=this.html.charCodeAt(this.pos+1);if(t>=56320&&t<=57343)return this.pos++,this._addGap(),(e-55296)*1024+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,h.EOF;return this._err(g.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,h.EOF;let n=this.html.charCodeAt(t);return n===h.CARRIAGE_RETURN?h.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,h.EOF;let e=this.html.charCodeAt(this.pos);if(e===h.CARRIAGE_RETURN)return this.isEol=!0,this.skipNextNewLine=!0,h.LINE_FEED;if(e===h.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine))return this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance();this.skipNextNewLine=!1,ea(e)&&(e=this._processSurrogate(e));let t=null===this.handler.onParseError||e>31&&e<127||e===h.LINE_FEED||e===h.CARRIAGE_RETURN||e>159&&e<64976;return t||this._checkForProblematicCharacters(e),e}_checkForProblematicCharacters(e){ei(e)?this._err(g.controlCharacterInInputStream):eo(e)&&this._err(g.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}(i=m=m||(m={}))[i.CHARACTER=0]="CHARACTER",i[i.NULL_CHARACTER=1]="NULL_CHARACTER",i[i.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",i[i.START_TAG=3]="START_TAG",i[i.END_TAG=4]="END_TAG",i[i.COMMENT=5]="COMMENT",i[i.DOCTYPE=6]="DOCTYPE",i[i.EOF=7]="EOF",i[i.HIBERNATION=8]="HIBERNATION";var ec=n(60411);(o=b=b||(b={})).HTML="http://www.w3.org/1999/xhtml",o.MATHML="http://www.w3.org/1998/Math/MathML",o.SVG="http://www.w3.org/2000/svg",o.XLINK="http://www.w3.org/1999/xlink",o.XML="http://www.w3.org/XML/1998/namespace",o.XMLNS="http://www.w3.org/2000/xmlns/",(s=y=y||(y={})).TYPE="type",s.ACTION="action",s.ENCODING="encoding",s.PROMPT="prompt",s.NAME="name",s.COLOR="color",s.FACE="face",s.SIZE="size",(l=E=E||(E={})).NO_QUIRKS="no-quirks",l.QUIRKS="quirks",l.LIMITED_QUIRKS="limited-quirks",(c=v=v||(v={})).A="a",c.ADDRESS="address",c.ANNOTATION_XML="annotation-xml",c.APPLET="applet",c.AREA="area",c.ARTICLE="article",c.ASIDE="aside",c.B="b",c.BASE="base",c.BASEFONT="basefont",c.BGSOUND="bgsound",c.BIG="big",c.BLOCKQUOTE="blockquote",c.BODY="body",c.BR="br",c.BUTTON="button",c.CAPTION="caption",c.CENTER="center",c.CODE="code",c.COL="col",c.COLGROUP="colgroup",c.DD="dd",c.DESC="desc",c.DETAILS="details",c.DIALOG="dialog",c.DIR="dir",c.DIV="div",c.DL="dl",c.DT="dt",c.EM="em",c.EMBED="embed",c.FIELDSET="fieldset",c.FIGCAPTION="figcaption",c.FIGURE="figure",c.FONT="font",c.FOOTER="footer",c.FOREIGN_OBJECT="foreignObject",c.FORM="form",c.FRAME="frame",c.FRAMESET="frameset",c.H1="h1",c.H2="h2",c.H3="h3",c.H4="h4",c.H5="h5",c.H6="h6",c.HEAD="head",c.HEADER="header",c.HGROUP="hgroup",c.HR="hr",c.HTML="html",c.I="i",c.IMG="img",c.IMAGE="image",c.INPUT="input",c.IFRAME="iframe",c.KEYGEN="keygen",c.LABEL="label",c.LI="li",c.LINK="link",c.LISTING="listing",c.MAIN="main",c.MALIGNMARK="malignmark",c.MARQUEE="marquee",c.MATH="math",c.MENU="menu",c.META="meta",c.MGLYPH="mglyph",c.MI="mi",c.MO="mo",c.MN="mn",c.MS="ms",c.MTEXT="mtext",c.NAV="nav",c.NOBR="nobr",c.NOFRAMES="noframes",c.NOEMBED="noembed",c.NOSCRIPT="noscript",c.OBJECT="object",c.OL="ol",c.OPTGROUP="optgroup",c.OPTION="option",c.P="p",c.PARAM="param",c.PLAINTEXT="plaintext",c.PRE="pre",c.RB="rb",c.RP="rp",c.RT="rt",c.RTC="rtc",c.RUBY="ruby",c.S="s",c.SCRIPT="script",c.SECTION="section",c.SELECT="select",c.SOURCE="source",c.SMALL="small",c.SPAN="span",c.STRIKE="strike",c.STRONG="strong",c.STYLE="style",c.SUB="sub",c.SUMMARY="summary",c.SUP="sup",c.TABLE="table",c.TBODY="tbody",c.TEMPLATE="template",c.TEXTAREA="textarea",c.TFOOT="tfoot",c.TD="td",c.TH="th",c.THEAD="thead",c.TITLE="title",c.TR="tr",c.TRACK="track",c.TT="tt",c.U="u",c.UL="ul",c.SVG="svg",c.VAR="var",c.WBR="wbr",c.XMP="xmp",(u=T=T||(T={}))[u.UNKNOWN=0]="UNKNOWN",u[u.A=1]="A",u[u.ADDRESS=2]="ADDRESS",u[u.ANNOTATION_XML=3]="ANNOTATION_XML",u[u.APPLET=4]="APPLET",u[u.AREA=5]="AREA",u[u.ARTICLE=6]="ARTICLE",u[u.ASIDE=7]="ASIDE",u[u.B=8]="B",u[u.BASE=9]="BASE",u[u.BASEFONT=10]="BASEFONT",u[u.BGSOUND=11]="BGSOUND",u[u.BIG=12]="BIG",u[u.BLOCKQUOTE=13]="BLOCKQUOTE",u[u.BODY=14]="BODY",u[u.BR=15]="BR",u[u.BUTTON=16]="BUTTON",u[u.CAPTION=17]="CAPTION",u[u.CENTER=18]="CENTER",u[u.CODE=19]="CODE",u[u.COL=20]="COL",u[u.COLGROUP=21]="COLGROUP",u[u.DD=22]="DD",u[u.DESC=23]="DESC",u[u.DETAILS=24]="DETAILS",u[u.DIALOG=25]="DIALOG",u[u.DIR=26]="DIR",u[u.DIV=27]="DIV",u[u.DL=28]="DL",u[u.DT=29]="DT",u[u.EM=30]="EM",u[u.EMBED=31]="EMBED",u[u.FIELDSET=32]="FIELDSET",u[u.FIGCAPTION=33]="FIGCAPTION",u[u.FIGURE=34]="FIGURE",u[u.FONT=35]="FONT",u[u.FOOTER=36]="FOOTER",u[u.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",u[u.FORM=38]="FORM",u[u.FRAME=39]="FRAME",u[u.FRAMESET=40]="FRAMESET",u[u.H1=41]="H1",u[u.H2=42]="H2",u[u.H3=43]="H3",u[u.H4=44]="H4",u[u.H5=45]="H5",u[u.H6=46]="H6",u[u.HEAD=47]="HEAD",u[u.HEADER=48]="HEADER",u[u.HGROUP=49]="HGROUP",u[u.HR=50]="HR",u[u.HTML=51]="HTML",u[u.I=52]="I",u[u.IMG=53]="IMG",u[u.IMAGE=54]="IMAGE",u[u.INPUT=55]="INPUT",u[u.IFRAME=56]="IFRAME",u[u.KEYGEN=57]="KEYGEN",u[u.LABEL=58]="LABEL",u[u.LI=59]="LI",u[u.LINK=60]="LINK",u[u.LISTING=61]="LISTING",u[u.MAIN=62]="MAIN",u[u.MALIGNMARK=63]="MALIGNMARK",u[u.MARQUEE=64]="MARQUEE",u[u.MATH=65]="MATH",u[u.MENU=66]="MENU",u[u.META=67]="META",u[u.MGLYPH=68]="MGLYPH",u[u.MI=69]="MI",u[u.MO=70]="MO",u[u.MN=71]="MN",u[u.MS=72]="MS",u[u.MTEXT=73]="MTEXT",u[u.NAV=74]="NAV",u[u.NOBR=75]="NOBR",u[u.NOFRAMES=76]="NOFRAMES",u[u.NOEMBED=77]="NOEMBED",u[u.NOSCRIPT=78]="NOSCRIPT",u[u.OBJECT=79]="OBJECT",u[u.OL=80]="OL",u[u.OPTGROUP=81]="OPTGROUP",u[u.OPTION=82]="OPTION",u[u.P=83]="P",u[u.PARAM=84]="PARAM",u[u.PLAINTEXT=85]="PLAINTEXT",u[u.PRE=86]="PRE",u[u.RB=87]="RB",u[u.RP=88]="RP",u[u.RT=89]="RT",u[u.RTC=90]="RTC",u[u.RUBY=91]="RUBY",u[u.S=92]="S",u[u.SCRIPT=93]="SCRIPT",u[u.SECTION=94]="SECTION",u[u.SELECT=95]="SELECT",u[u.SOURCE=96]="SOURCE",u[u.SMALL=97]="SMALL",u[u.SPAN=98]="SPAN",u[u.STRIKE=99]="STRIKE",u[u.STRONG=100]="STRONG",u[u.STYLE=101]="STYLE",u[u.SUB=102]="SUB",u[u.SUMMARY=103]="SUMMARY",u[u.SUP=104]="SUP",u[u.TABLE=105]="TABLE",u[u.TBODY=106]="TBODY",u[u.TEMPLATE=107]="TEMPLATE",u[u.TEXTAREA=108]="TEXTAREA",u[u.TFOOT=109]="TFOOT",u[u.TD=110]="TD",u[u.TH=111]="TH",u[u.THEAD=112]="THEAD",u[u.TITLE=113]="TITLE",u[u.TR=114]="TR",u[u.TRACK=115]="TRACK",u[u.TT=116]="TT",u[u.U=117]="U",u[u.UL=118]="UL",u[u.SVG=119]="SVG",u[u.VAR=120]="VAR",u[u.WBR=121]="WBR",u[u.XMP=122]="XMP";let eu=new Map([[v.A,T.A],[v.ADDRESS,T.ADDRESS],[v.ANNOTATION_XML,T.ANNOTATION_XML],[v.APPLET,T.APPLET],[v.AREA,T.AREA],[v.ARTICLE,T.ARTICLE],[v.ASIDE,T.ASIDE],[v.B,T.B],[v.BASE,T.BASE],[v.BASEFONT,T.BASEFONT],[v.BGSOUND,T.BGSOUND],[v.BIG,T.BIG],[v.BLOCKQUOTE,T.BLOCKQUOTE],[v.BODY,T.BODY],[v.BR,T.BR],[v.BUTTON,T.BUTTON],[v.CAPTION,T.CAPTION],[v.CENTER,T.CENTER],[v.CODE,T.CODE],[v.COL,T.COL],[v.COLGROUP,T.COLGROUP],[v.DD,T.DD],[v.DESC,T.DESC],[v.DETAILS,T.DETAILS],[v.DIALOG,T.DIALOG],[v.DIR,T.DIR],[v.DIV,T.DIV],[v.DL,T.DL],[v.DT,T.DT],[v.EM,T.EM],[v.EMBED,T.EMBED],[v.FIELDSET,T.FIELDSET],[v.FIGCAPTION,T.FIGCAPTION],[v.FIGURE,T.FIGURE],[v.FONT,T.FONT],[v.FOOTER,T.FOOTER],[v.FOREIGN_OBJECT,T.FOREIGN_OBJECT],[v.FORM,T.FORM],[v.FRAME,T.FRAME],[v.FRAMESET,T.FRAMESET],[v.H1,T.H1],[v.H2,T.H2],[v.H3,T.H3],[v.H4,T.H4],[v.H5,T.H5],[v.H6,T.H6],[v.HEAD,T.HEAD],[v.HEADER,T.HEADER],[v.HGROUP,T.HGROUP],[v.HR,T.HR],[v.HTML,T.HTML],[v.I,T.I],[v.IMG,T.IMG],[v.IMAGE,T.IMAGE],[v.INPUT,T.INPUT],[v.IFRAME,T.IFRAME],[v.KEYGEN,T.KEYGEN],[v.LABEL,T.LABEL],[v.LI,T.LI],[v.LINK,T.LINK],[v.LISTING,T.LISTING],[v.MAIN,T.MAIN],[v.MALIGNMARK,T.MALIGNMARK],[v.MARQUEE,T.MARQUEE],[v.MATH,T.MATH],[v.MENU,T.MENU],[v.META,T.META],[v.MGLYPH,T.MGLYPH],[v.MI,T.MI],[v.MO,T.MO],[v.MN,T.MN],[v.MS,T.MS],[v.MTEXT,T.MTEXT],[v.NAV,T.NAV],[v.NOBR,T.NOBR],[v.NOFRAMES,T.NOFRAMES],[v.NOEMBED,T.NOEMBED],[v.NOSCRIPT,T.NOSCRIPT],[v.OBJECT,T.OBJECT],[v.OL,T.OL],[v.OPTGROUP,T.OPTGROUP],[v.OPTION,T.OPTION],[v.P,T.P],[v.PARAM,T.PARAM],[v.PLAINTEXT,T.PLAINTEXT],[v.PRE,T.PRE],[v.RB,T.RB],[v.RP,T.RP],[v.RT,T.RT],[v.RTC,T.RTC],[v.RUBY,T.RUBY],[v.S,T.S],[v.SCRIPT,T.SCRIPT],[v.SECTION,T.SECTION],[v.SELECT,T.SELECT],[v.SOURCE,T.SOURCE],[v.SMALL,T.SMALL],[v.SPAN,T.SPAN],[v.STRIKE,T.STRIKE],[v.STRONG,T.STRONG],[v.STYLE,T.STYLE],[v.SUB,T.SUB],[v.SUMMARY,T.SUMMARY],[v.SUP,T.SUP],[v.TABLE,T.TABLE],[v.TBODY,T.TBODY],[v.TEMPLATE,T.TEMPLATE],[v.TEXTAREA,T.TEXTAREA],[v.TFOOT,T.TFOOT],[v.TD,T.TD],[v.TH,T.TH],[v.THEAD,T.THEAD],[v.TITLE,T.TITLE],[v.TR,T.TR],[v.TRACK,T.TRACK],[v.TT,T.TT],[v.U,T.U],[v.UL,T.UL],[v.SVG,T.SVG],[v.VAR,T.VAR],[v.WBR,T.WBR],[v.XMP,T.XMP]]);function ed(e){var t;return null!==(t=eu.get(e))&&void 0!==t?t:T.UNKNOWN}let ep=T,ef={[b.HTML]:new Set([ep.ADDRESS,ep.APPLET,ep.AREA,ep.ARTICLE,ep.ASIDE,ep.BASE,ep.BASEFONT,ep.BGSOUND,ep.BLOCKQUOTE,ep.BODY,ep.BR,ep.BUTTON,ep.CAPTION,ep.CENTER,ep.COL,ep.COLGROUP,ep.DD,ep.DETAILS,ep.DIR,ep.DIV,ep.DL,ep.DT,ep.EMBED,ep.FIELDSET,ep.FIGCAPTION,ep.FIGURE,ep.FOOTER,ep.FORM,ep.FRAME,ep.FRAMESET,ep.H1,ep.H2,ep.H3,ep.H4,ep.H5,ep.H6,ep.HEAD,ep.HEADER,ep.HGROUP,ep.HR,ep.HTML,ep.IFRAME,ep.IMG,ep.INPUT,ep.LI,ep.LINK,ep.LISTING,ep.MAIN,ep.MARQUEE,ep.MENU,ep.META,ep.NAV,ep.NOEMBED,ep.NOFRAMES,ep.NOSCRIPT,ep.OBJECT,ep.OL,ep.P,ep.PARAM,ep.PLAINTEXT,ep.PRE,ep.SCRIPT,ep.SECTION,ep.SELECT,ep.SOURCE,ep.STYLE,ep.SUMMARY,ep.TABLE,ep.TBODY,ep.TD,ep.TEMPLATE,ep.TEXTAREA,ep.TFOOT,ep.TH,ep.THEAD,ep.TITLE,ep.TR,ep.TRACK,ep.UL,ep.WBR,ep.XMP]),[b.MATHML]:new Set([ep.MI,ep.MO,ep.MN,ep.MS,ep.MTEXT,ep.ANNOTATION_XML]),[b.SVG]:new Set([ep.TITLE,ep.FOREIGN_OBJECT,ep.DESC]),[b.XLINK]:new Set,[b.XML]:new Set,[b.XMLNS]:new Set};function eh(e){return e===ep.H1||e===ep.H2||e===ep.H3||e===ep.H4||e===ep.H5||e===ep.H6}v.STYLE,v.SCRIPT,v.XMP,v.IFRAME,v.NOEMBED,v.NOFRAMES,v.PLAINTEXT;let eg=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);(d=S||(S={}))[d.DATA=0]="DATA",d[d.RCDATA=1]="RCDATA",d[d.RAWTEXT=2]="RAWTEXT",d[d.SCRIPT_DATA=3]="SCRIPT_DATA",d[d.PLAINTEXT=4]="PLAINTEXT",d[d.TAG_OPEN=5]="TAG_OPEN",d[d.END_TAG_OPEN=6]="END_TAG_OPEN",d[d.TAG_NAME=7]="TAG_NAME",d[d.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",d[d.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",d[d.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",d[d.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",d[d.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",d[d.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",d[d.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",d[d.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",d[d.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",d[d.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",d[d.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",d[d.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",d[d.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",d[d.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",d[d.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",d[d.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",d[d.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",d[d.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",d[d.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",d[d.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",d[d.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",d[d.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",d[d.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",d[d.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",d[d.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",d[d.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",d[d.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",d[d.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",d[d.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",d[d.BOGUS_COMMENT=40]="BOGUS_COMMENT",d[d.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",d[d.COMMENT_START=42]="COMMENT_START",d[d.COMMENT_START_DASH=43]="COMMENT_START_DASH",d[d.COMMENT=44]="COMMENT",d[d.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",d[d.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",d[d.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",d[d.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",d[d.COMMENT_END_DASH=49]="COMMENT_END_DASH",d[d.COMMENT_END=50]="COMMENT_END",d[d.COMMENT_END_BANG=51]="COMMENT_END_BANG",d[d.DOCTYPE=52]="DOCTYPE",d[d.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",d[d.DOCTYPE_NAME=54]="DOCTYPE_NAME",d[d.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",d[d.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",d[d.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",d[d.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",d[d.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",d[d.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",d[d.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",d[d.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",d[d.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",d[d.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",d[d.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",d[d.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",d[d.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",d[d.CDATA_SECTION=68]="CDATA_SECTION",d[d.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",d[d.CDATA_SECTION_END=70]="CDATA_SECTION_END",d[d.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",d[d.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",d[d.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",d[d.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",d[d.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",d[d.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",d[d.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",d[d.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END";let em={DATA:S.DATA,RCDATA:S.RCDATA,RAWTEXT:S.RAWTEXT,SCRIPT_DATA:S.SCRIPT_DATA,PLAINTEXT:S.PLAINTEXT,CDATA_SECTION:S.CDATA_SECTION};function eb(e){return e>=h.DIGIT_0&&e<=h.DIGIT_9}function ey(e){return e>=h.LATIN_CAPITAL_A&&e<=h.LATIN_CAPITAL_Z}function eE(e){return e>=h.LATIN_SMALL_A&&e<=h.LATIN_SMALL_Z||ey(e)}function ev(e){return eE(e)||eb(e)}function eT(e){return e>=h.LATIN_CAPITAL_A&&e<=h.LATIN_CAPITAL_F}function eS(e){return e>=h.LATIN_SMALL_A&&e<=h.LATIN_SMALL_F}function eO(e){return e===h.SPACE||e===h.LINE_FEED||e===h.TABULATION||e===h.FORM_FEED}function eA(e){return eO(e)||e===h.SOLIDUS||e===h.GREATER_THAN_SIGN}class e_{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=S.DATA,this.returnState=S.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new es(t),this.currentLocation=this.getCurrentLocation(-1)}_err(e){var t,n;null===(n=(t=this.handler).onParseError)||void 0===n||n.call(t,this.preprocessor.getError(e))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw Error("Parser was already resumed");this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(e){this.consumedAfterSnapshot-=e,this.preprocessor.retreat(e)}_reconsumeInState(e,t){this.state=e,this._callState(t)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t0&&this._err(g.endTagWithAttributes),e.selfClosing&&this._err(g.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case m.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case m.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case m.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:m.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type!==e)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=t;return}}this._createCharacterToken(e,t)}_emitCodePoint(e){let t=eO(e)?m.WHITESPACE_CHARACTER:e===h.NULL?m.NULL_CHARACTER:m.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(m.CHARACTER,e)}_matchNamedCharacterReference(e){let t=null,n=0,r=!1;for(let i=0,o=ec.HP[0];i>=0&&!((i=(0,ec.Go)(ec.HP,o,i+1,e))<0);e=this._consume()){n+=1,o=ec.HP[i];let s=o&ec.ge.VALUE_LENGTH;if(s){var a;let o=(s>>14)-1;if(e!==h.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((a=this.preprocessor.peek(1))===h.EQUALS_SIGN||ev(a))?(t=[h.AMPERSAND],i+=o):(t=0===o?[ec.HP[i]&~ec.ge.VALUE_LENGTH]:1===o?[ec.HP[++i]]:[ec.HP[++i],ec.HP[++i]],n=0,r=e!==h.SEMICOLON),0===o){this._consume();break}}}return this._unconsume(n),r&&!this.preprocessor.endOfChunkHit&&this._err(g.missingSemicolonAfterCharacterReference),this._unconsume(1),t}_isCharacterReferenceInAttribute(){return this.returnState===S.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case S.DATA:this._stateData(e);break;case S.RCDATA:this._stateRcdata(e);break;case S.RAWTEXT:this._stateRawtext(e);break;case S.SCRIPT_DATA:this._stateScriptData(e);break;case S.PLAINTEXT:this._statePlaintext(e);break;case S.TAG_OPEN:this._stateTagOpen(e);break;case S.END_TAG_OPEN:this._stateEndTagOpen(e);break;case S.TAG_NAME:this._stateTagName(e);break;case S.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case S.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case S.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case S.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case S.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case S.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case S.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case S.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case S.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case S.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case S.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case S.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case S.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case S.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case S.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case S.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case S.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case S.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case S.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case S.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case S.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case S.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case S.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case S.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case S.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case S.BOGUS_COMMENT:this._stateBogusComment(e);break;case S.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case S.COMMENT_START:this._stateCommentStart(e);break;case S.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case S.COMMENT:this._stateComment(e);break;case S.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case S.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case S.COMMENT_END:this._stateCommentEnd(e);break;case S.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case S.DOCTYPE:this._stateDoctype(e);break;case S.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case S.DOCTYPE_NAME:this._stateDoctypeName(e);break;case S.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case S.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case S.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case S.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case S.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case S.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case S.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case S.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case S.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case S.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case S.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case S.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case S.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case S.CDATA_SECTION:this._stateCdataSection(e);break;case S.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case S.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case S.CHARACTER_REFERENCE:this._stateCharacterReference(e);break;case S.NAMED_CHARACTER_REFERENCE:this._stateNamedCharacterReference(e);break;case S.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;case S.NUMERIC_CHARACTER_REFERENCE:this._stateNumericCharacterReference(e);break;case S.HEXADEMICAL_CHARACTER_REFERENCE_START:this._stateHexademicalCharacterReferenceStart(e);break;case S.HEXADEMICAL_CHARACTER_REFERENCE:this._stateHexademicalCharacterReference(e);break;case S.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(e);break;case S.NUMERIC_CHARACTER_REFERENCE_END:this._stateNumericCharacterReferenceEnd(e);break;default:throw Error("Unknown state")}}_stateData(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.TAG_OPEN;break;case h.AMPERSAND:this.returnState=S.DATA,this.state=S.CHARACTER_REFERENCE;break;case h.NULL:this._err(g.unexpectedNullCharacter),this._emitCodePoint(e);break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case h.AMPERSAND:this.returnState=S.RCDATA,this.state=S.CHARACTER_REFERENCE;break;case h.LESS_THAN_SIGN:this.state=S.RCDATA_LESS_THAN_SIGN;break;case h.NULL:this._err(g.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.RAWTEXT_LESS_THAN_SIGN;break;case h.NULL:this._err(g.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.SCRIPT_DATA_LESS_THAN_SIGN;break;case h.NULL:this._err(g.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case h.NULL:this._err(g.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(eE(e))this._createStartTagToken(),this.state=S.TAG_NAME,this._stateTagName(e);else switch(e){case h.EXCLAMATION_MARK:this.state=S.MARKUP_DECLARATION_OPEN;break;case h.SOLIDUS:this.state=S.END_TAG_OPEN;break;case h.QUESTION_MARK:this._err(g.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=S.BOGUS_COMMENT,this._stateBogusComment(e);break;case h.EOF:this._err(g.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(g.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=S.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(eE(e))this._createEndTagToken(),this.state=S.TAG_NAME,this._stateTagName(e);else switch(e){case h.GREATER_THAN_SIGN:this._err(g.missingEndTagName),this.state=S.DATA;break;case h.EOF:this._err(g.eofBeforeTagName),this._emitChars("");break;case h.NULL:this._err(g.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case h.EOF:this._err(g.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===h.SOLIDUS?this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:eE(e)?(this._emitChars("<"),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=S.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){eE(e)?(this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("");break;case h.NULL:this._err(g.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case h.EOF:this._err(g.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===h.SOLIDUS?(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(er.SCRIPT,!1)&&eA(this.preprocessor.peek(er.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e1114111)this._err(g.characterReferenceOutsideUnicodeRange),this.charRefCode=h.REPLACEMENT_CHARACTER;else if(ea(this.charRefCode))this._err(g.surrogateCharacterReference),this.charRefCode=h.REPLACEMENT_CHARACTER;else if(eo(this.charRefCode))this._err(g.noncharacterCharacterReference);else if(ei(this.charRefCode)||this.charRefCode===h.CARRIAGE_RETURN){this._err(g.controlCharacterReference);let e=eg.get(this.charRefCode);void 0!==e&&(this.charRefCode=e)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}}let ek=new Set([T.DD,T.DT,T.LI,T.OPTGROUP,T.OPTION,T.P,T.RB,T.RP,T.RT,T.RTC]),ex=new Set([...ek,T.CAPTION,T.COLGROUP,T.TBODY,T.TD,T.TFOOT,T.TH,T.THEAD,T.TR]),eC=new Map([[T.APPLET,b.HTML],[T.CAPTION,b.HTML],[T.HTML,b.HTML],[T.MARQUEE,b.HTML],[T.OBJECT,b.HTML],[T.TABLE,b.HTML],[T.TD,b.HTML],[T.TEMPLATE,b.HTML],[T.TH,b.HTML],[T.ANNOTATION_XML,b.MATHML],[T.MI,b.MATHML],[T.MN,b.MATHML],[T.MO,b.MATHML],[T.MS,b.MATHML],[T.MTEXT,b.MATHML],[T.DESC,b.SVG],[T.FOREIGN_OBJECT,b.SVG],[T.TITLE,b.SVG]]),ew=[T.H1,T.H2,T.H3,T.H4,T.H5,T.H6],eI=[T.TR,T.TEMPLATE,T.HTML],eR=[T.TBODY,T.TFOOT,T.THEAD,T.TEMPLATE,T.HTML],eN=[T.TABLE,T.TEMPLATE,T.HTML],eL=[T.TD,T.TH];class eD{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=T.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===T.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===b.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){let r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==b.HTML);this.shortenToLength(t<0?0:t)}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop=0;n--)if(e.includes(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return -1}clearBackTo(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(eN,b.HTML)}clearBackToTableBodyContext(){this.clearBackTo(eR,b.HTML)}clearBackToTableRowContext(){this.clearBackTo(eI,b.HTML)}remove(e){let t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===T.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===T.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(eC.get(n)===r)return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(eh(t)&&n===b.HTML)break;if(eC.get(t)===n)return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if((n===T.UL||n===T.OL)&&r===b.HTML||eC.get(n)===r)return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(n===T.BUTTON&&r===b.HTML||eC.get(n)===r)return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n===T.TABLE||n===T.TEMPLATE||n===T.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(n===b.HTML){if(t===T.TBODY||t===T.THEAD||t===T.TFOOT)break;if(t===T.TABLE||t===T.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n!==T.OPTION&&n!==T.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;ek.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;ex.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&ex.has(this.currentTagId);)this.pop()}}(p=O=O||(O={}))[p.Marker=0]="Marker",p[p.Element=1]="Element";let eP={type:O.Marker};class eM{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let n=[],r=t.length,a=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let e=0;e[e.name,e.value])),a=0;for(let e=0;er.get(e.name)===e.value)&&(a+=1)>=3&&this.entries.splice(t.idx,1)}}insertMarker(){this.entries.unshift(eP)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:O.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:O.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);t>=0&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(eP);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===O.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===O.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===O.Element&&t.element===e)}}function eF(e){return{nodeName:"#text",value:e,parentNode:null}}let eB={createDocument:()=>({nodeName:"#document",mode:E.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){let r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,n,r){let a=e.childNodes.find(e=>"#documentType"===e.nodeName);a?(a.name=t,a.publicId=n,a.systemId=r):eB.appendChild(e,{nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null})},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let n=e.childNodes[e.childNodes.length-1];if(eB.isTextNode(n)){n.value+=t;return}}eB.appendChild(e,eF(t))},insertTextBefore(e,t,n){let r=e.childNodes[e.childNodes.indexOf(n)-1];r&&eB.isTextNode(r)?r.value+=t:eB.insertBefore(e,eF(t),n)},adoptAttributes(e,t){let n=new Set(e.attrs.map(e=>e.name));for(let r=0;re.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},ej="html",eU=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],eG=[...eU,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],eH=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),e$=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],ez=[...e$,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function eZ(e,t){return t.some(t=>e.startsWith(t))}let eW={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},eV=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),eY=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:b.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:b.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:b.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:b.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:b.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:b.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:b.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:b.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:b.XML}],["xml:space",{prefix:"xml",name:"space",namespace:b.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:b.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:b.XMLNS}]]),eq=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),eX=new Set([T.B,T.BIG,T.BLOCKQUOTE,T.BODY,T.BR,T.CENTER,T.CODE,T.DD,T.DIV,T.DL,T.DT,T.EM,T.EMBED,T.H1,T.H2,T.H3,T.H4,T.H5,T.H6,T.HEAD,T.HR,T.I,T.IMG,T.LI,T.LISTING,T.MENU,T.META,T.NOBR,T.OL,T.P,T.PRE,T.RUBY,T.S,T.SMALL,T.SPAN,T.STRONG,T.STRIKE,T.SUB,T.SUP,T.TABLE,T.TT,T.U,T.UL,T.VAR]);function eK(e){for(let t=0;t0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null===(r=(n=this.treeAdapter).onItemPop)||void 0===r||r.call(n,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let n=e===this.document||this.treeAdapter.getNamespaceURI(e)===b.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,b.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=A.TEXT}switchToPlaintextParsing(){this.insertionMode=A.TEXT,this.originalInsertionMode=A.IN_BODY,this.tokenizer.state=em.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===v.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===b.HTML)switch(this.fragmentContextID){case T.TITLE:case T.TEXTAREA:this.tokenizer.state=em.RCDATA;break;case T.STYLE:case T.XMP:case T.IFRAME:case T.NOEMBED:case T.NOFRAMES:case T.NOSCRIPT:this.tokenizer.state=em.RAWTEXT;break;case T.SCRIPT:this.tokenizer.state=em.SCRIPT_DATA;break;case T.PLAINTEXT:this.tokenizer.state=em.PLAINTEXT}}_setDocumentType(e){let t=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){let t=this.treeAdapter.getChildNodes(this.document),n=t.find(e=>this.treeAdapter.isDocumentTypeNode(e));n&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){let n=this.treeAdapter.createElement(e,b.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,b.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(v.HTML,b.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,T.HTML)}_appendCommentNode(e,t){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let r=this.treeAdapter.getChildNodes(t),a=n?r.lastIndexOf(n):r.length,i=r[a-1],o=this.treeAdapter.getNodeSourceCodeLocation(i);if(o){let{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let n=t.location,r=this.treeAdapter.getTagName(e),a=t.type===m.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,a)}}shouldProcessStartTagTokenInForeignContent(e){let t,n;return!!this.currentNotInHTML&&(0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):{current:t,currentTagId:n}=this.openElements,(e.tagID!==T.SVG||this.treeAdapter.getTagName(t)!==v.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==b.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===T.MGLYPH||e.tagID===T.MALIGNMARK)&&!this._isIntegrationPoint(n,t,b.HTML)))}_processToken(e){switch(e.type){case m.CHARACTER:this.onCharacter(e);break;case m.NULL_CHARACTER:this.onNullCharacter(e);break;case m.COMMENT:this.onComment(e);break;case m.DOCTYPE:this.onDoctype(e);break;case m.START_TAG:this._processStartTag(e);break;case m.END_TAG:this.onEndTag(e);break;case m.EOF:this.onEof(e);break;case m.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){let r=this.treeAdapter.getNamespaceURI(t),a=this.treeAdapter.getAttrList(t);return(!n||n===b.HTML)&&function(e,t,n){if(t===b.MATHML&&e===T.ANNOTATION_XML){for(let e=0;ee.type===O.Marker||this.openElements.contains(e.element)),n=t<0?e-1:t-1;for(let e=n;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=A.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(T.P),this.openElements.popUntilTagNamePopped(T.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case T.TR:this.insertionMode=A.IN_ROW;return;case T.TBODY:case T.THEAD:case T.TFOOT:this.insertionMode=A.IN_TABLE_BODY;return;case T.CAPTION:this.insertionMode=A.IN_CAPTION;return;case T.COLGROUP:this.insertionMode=A.IN_COLUMN_GROUP;return;case T.TABLE:this.insertionMode=A.IN_TABLE;return;case T.BODY:this.insertionMode=A.IN_BODY;return;case T.FRAMESET:this.insertionMode=A.IN_FRAMESET;return;case T.SELECT:this._resetInsertionModeForSelect(e);return;case T.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case T.HTML:this.insertionMode=this.headElement?A.AFTER_HEAD:A.BEFORE_HEAD;return;case T.TD:case T.TH:if(e>0){this.insertionMode=A.IN_CELL;return}break;case T.HEAD:if(e>0){this.insertionMode=A.IN_HEAD;return}}this.insertionMode=A.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===T.TEMPLATE)break;if(e===T.TABLE){this.insertionMode=A.IN_SELECT_IN_TABLE;return}}this.insertionMode=A.IN_SELECT}_isElementCausesFosterParenting(e){return e1.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case T.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===b.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case T.TABLE:{let n=this.treeAdapter.getParentNode(t);if(n)return{parent:n,beforeElement:t};return{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){let n=this.treeAdapter.getNamespaceURI(e);return ef[n].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){this._insertCharacters(e),this.framesetOk=!1;return}switch(this.insertionMode){case A.INITIAL:e9(this,e);break;case A.BEFORE_HTML:e8(this,e);break;case A.BEFORE_HEAD:e7(this,e);break;case A.IN_HEAD:tn(this,e);break;case A.IN_HEAD_NO_SCRIPT:tr(this,e);break;case A.AFTER_HEAD:ta(this,e);break;case A.IN_BODY:case A.IN_CAPTION:case A.IN_CELL:case A.IN_TEMPLATE:ts(this,e);break;case A.TEXT:case A.IN_SELECT:case A.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case A.IN_TABLE:case A.IN_TABLE_BODY:case A.IN_ROW:tm(this,e);break;case A.IN_TABLE_TEXT:tT(this,e);break;case A.IN_COLUMN_GROUP:t_(this,e);break;case A.AFTER_BODY:tD(this,e);break;case A.AFTER_AFTER_BODY:tP(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){e.chars="�",this._insertCharacters(e);return}switch(this.insertionMode){case A.INITIAL:e9(this,e);break;case A.BEFORE_HTML:e8(this,e);break;case A.BEFORE_HEAD:e7(this,e);break;case A.IN_HEAD:tn(this,e);break;case A.IN_HEAD_NO_SCRIPT:tr(this,e);break;case A.AFTER_HEAD:ta(this,e);break;case A.TEXT:this._insertCharacters(e);break;case A.IN_TABLE:case A.IN_TABLE_BODY:case A.IN_ROW:tm(this,e);break;case A.IN_COLUMN_GROUP:t_(this,e);break;case A.AFTER_BODY:tD(this,e);break;case A.AFTER_AFTER_BODY:tP(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){e4(this,e);return}switch(this.insertionMode){case A.INITIAL:case A.BEFORE_HTML:case A.BEFORE_HEAD:case A.IN_HEAD:case A.IN_HEAD_NO_SCRIPT:case A.AFTER_HEAD:case A.IN_BODY:case A.IN_TABLE:case A.IN_CAPTION:case A.IN_COLUMN_GROUP:case A.IN_TABLE_BODY:case A.IN_ROW:case A.IN_CELL:case A.IN_SELECT:case A.IN_SELECT_IN_TABLE:case A.IN_TEMPLATE:case A.IN_FRAMESET:case A.AFTER_FRAMESET:e4(this,e);break;case A.IN_TABLE_TEXT:tS(this,e);break;case A.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case A.AFTER_AFTER_BODY:case A.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case A.INITIAL:!function(e,t){e._setDocumentType(t);let n=t.forceQuirks?E.QUIRKS:function(e){if(e.name!==ej)return E.QUIRKS;let{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return E.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),eH.has(n))return E.QUIRKS;let e=null===t?eG:eU;if(eZ(n,e))return E.QUIRKS;if(eZ(n,e=null===t?e$:ez))return E.LIMITED_QUIRKS}return E.NO_QUIRKS}(t);t.name===ej&&null===t.publicId&&(null===t.systemId||"about:legacy-compat"===t.systemId)||e._err(t,g.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=A.BEFORE_HTML}(this,e);break;case A.BEFORE_HEAD:case A.IN_HEAD:case A.IN_HEAD_NO_SCRIPT:case A.AFTER_HEAD:this._err(e,g.misplacedDoctype);break;case A.IN_TABLE_TEXT:tS(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,g.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){let t=e.tagID,n=t===T.FONT&&e.attrs.some(({name:e})=>e===y.COLOR||e===y.SIZE||e===y.FACE);return n||eX.has(t)}(t))tM(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===b.MATHML?eK(t):r===b.SVG&&(function(e){let t=eq.get(e.tagName);null!=t&&(e.tagName=t,e.tagID=ed(e.tagName))}(t),eQ(t)),eJ(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case A.INITIAL:e9(this,e);break;case A.BEFORE_HTML:e.tagID===T.HTML?(this._insertElement(e,b.HTML),this.insertionMode=A.BEFORE_HEAD):e8(this,e);break;case A.BEFORE_HEAD:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.HEAD:e._insertElement(t,b.HTML),e.headElement=e.openElements.current,e.insertionMode=A.IN_HEAD;break;default:e7(e,t)}}(this,e);break;case A.IN_HEAD:te(this,e);break;case A.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BASEFONT:case T.BGSOUND:case T.HEAD:case T.LINK:case T.META:case T.NOFRAMES:case T.STYLE:te(e,t);break;case T.NOSCRIPT:e._err(t,g.nestedNoscriptInHead);break;default:tr(e,t)}}(this,e);break;case A.AFTER_HEAD:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BODY:e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=A.IN_BODY;break;case T.FRAMESET:e._insertElement(t,b.HTML),e.insertionMode=A.IN_FRAMESET;break;case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:e._err(t,g.abandonedHeadElementChild),e.openElements.push(e.headElement,T.HEAD),te(e,t),e.openElements.remove(e.headElement);break;case T.HEAD:e._err(t,g.misplacedStartTagForHeadElement);break;default:ta(e,t)}}(this,e);break;case A.IN_BODY:tp(this,e);break;case A.IN_TABLE:tb(this,e);break;case A.IN_TABLE_TEXT:tS(this,e);break;case A.IN_CAPTION:!function(e,t){let n=t.tagID;tO.has(n)?e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=A.IN_TABLE,tb(e,t)):tp(e,t)}(this,e);break;case A.IN_COLUMN_GROUP:tA(this,e);break;case A.IN_TABLE_BODY:tk(this,e);break;case A.IN_ROW:tC(this,e);break;case A.IN_CELL:!function(e,t){let n=t.tagID;tO.has(n)?(e.openElements.hasInTableScope(T.TD)||e.openElements.hasInTableScope(T.TH))&&(e._closeTableCell(),tC(e,t)):tp(e,t)}(this,e);break;case A.IN_SELECT:tI(this,e);break;case A.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e._processStartTag(t)):tI(e,t)}(this,e);break;case A.IN_TEMPLATE:!function(e,t){switch(t.tagID){case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:te(e,t);break;case T.CAPTION:case T.COLGROUP:case T.TBODY:case T.TFOOT:case T.THEAD:e.tmplInsertionModeStack[0]=A.IN_TABLE,e.insertionMode=A.IN_TABLE,tb(e,t);break;case T.COL:e.tmplInsertionModeStack[0]=A.IN_COLUMN_GROUP,e.insertionMode=A.IN_COLUMN_GROUP,tA(e,t);break;case T.TR:e.tmplInsertionModeStack[0]=A.IN_TABLE_BODY,e.insertionMode=A.IN_TABLE_BODY,tk(e,t);break;case T.TD:case T.TH:e.tmplInsertionModeStack[0]=A.IN_ROW,e.insertionMode=A.IN_ROW,tC(e,t);break;default:e.tmplInsertionModeStack[0]=A.IN_BODY,e.insertionMode=A.IN_BODY,tp(e,t)}}(this,e);break;case A.AFTER_BODY:e.tagID===T.HTML?tp(this,e):tD(this,e);break;case A.IN_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.FRAMESET:e._insertElement(t,b.HTML);break;case T.FRAME:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.NOFRAMES:te(e,t)}}(this,e);break;case A.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.NOFRAMES:te(e,t)}}(this,e);break;case A.AFTER_AFTER_BODY:e.tagID===T.HTML?tp(this,e):tP(this,e);break;case A.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.NOFRAMES:te(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===T.P||t.tagID===T.BR){tM(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){let r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===b.HTML){e._endTagOutsideForeignContent(t);break}let a=e.treeAdapter.getTagName(r);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){var t;switch(this.insertionMode){case A.INITIAL:e9(this,e);break;case A.BEFORE_HTML:!function(e,t){let n=t.tagID;(n===T.HTML||n===T.HEAD||n===T.BODY||n===T.BR)&&e8(e,t)}(this,e);break;case A.BEFORE_HEAD:!function(e,t){let n=t.tagID;n===T.HEAD||n===T.BODY||n===T.HTML||n===T.BR?e7(e,t):e._err(t,g.endTagWithoutMatchingOpenElement)}(this,e);break;case A.IN_HEAD:!function(e,t){switch(t.tagID){case T.HEAD:e.openElements.pop(),e.insertionMode=A.AFTER_HEAD;break;case T.BODY:case T.BR:case T.HTML:tn(e,t);break;case T.TEMPLATE:tt(e,t);break;default:e._err(t,g.endTagWithoutMatchingOpenElement)}}(this,e);break;case A.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case T.NOSCRIPT:e.openElements.pop(),e.insertionMode=A.IN_HEAD;break;case T.BR:tr(e,t);break;default:e._err(t,g.endTagWithoutMatchingOpenElement)}}(this,e);break;case A.AFTER_HEAD:!function(e,t){switch(t.tagID){case T.BODY:case T.HTML:case T.BR:ta(e,t);break;case T.TEMPLATE:tt(e,t);break;default:e._err(t,g.endTagWithoutMatchingOpenElement)}}(this,e);break;case A.IN_BODY:th(this,e);break;case A.TEXT:e.tagID===T.SCRIPT&&(null===(t=this.scriptHandler)||void 0===t||t.call(this,this.openElements.current)),this.openElements.pop(),this.insertionMode=this.originalInsertionMode;break;case A.IN_TABLE:ty(this,e);break;case A.IN_TABLE_TEXT:tS(this,e);break;case A.IN_CAPTION:!function(e,t){let n=t.tagID;switch(n){case T.CAPTION:case T.TABLE:e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=A.IN_TABLE,n===T.TABLE&&ty(e,t));break;case T.BODY:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:th(e,t)}}(this,e);break;case A.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case T.COLGROUP:e.openElements.currentTagId===T.COLGROUP&&(e.openElements.pop(),e.insertionMode=A.IN_TABLE);break;case T.TEMPLATE:tt(e,t);break;case T.COL:break;default:t_(e,t)}}(this,e);break;case A.IN_TABLE_BODY:tx(this,e);break;case A.IN_ROW:tw(this,e);break;case A.IN_CELL:!function(e,t){let n=t.tagID;switch(n){case T.TD:case T.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=A.IN_ROW);break;case T.TABLE:case T.TBODY:case T.TFOOT:case T.THEAD:case T.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),tw(e,t));break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:break;default:th(e,t)}}(this,e);break;case A.IN_SELECT:tR(this,e);break;case A.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e.onEndTag(t)):tR(e,t)}(this,e);break;case A.IN_TEMPLATE:e.tagID===T.TEMPLATE&&tt(this,e);break;case A.AFTER_BODY:tL(this,e);break;case A.IN_FRAMESET:e.tagID!==T.FRAMESET||this.openElements.isRootHtmlElementCurrent()||(this.openElements.pop(),this.fragmentContext||this.openElements.currentTagId===T.FRAMESET||(this.insertionMode=A.AFTER_FRAMESET));break;case A.AFTER_FRAMESET:e.tagID===T.HTML&&(this.insertionMode=A.AFTER_AFTER_FRAMESET);break;case A.AFTER_AFTER_BODY:tP(this,e)}}onEof(e){switch(this.insertionMode){case A.INITIAL:e9(this,e);break;case A.BEFORE_HTML:e8(this,e);break;case A.BEFORE_HEAD:e7(this,e);break;case A.IN_HEAD:tn(this,e);break;case A.IN_HEAD_NO_SCRIPT:tr(this,e);break;case A.AFTER_HEAD:ta(this,e);break;case A.IN_BODY:case A.IN_TABLE:case A.IN_CAPTION:case A.IN_COLUMN_GROUP:case A.IN_TABLE_BODY:case A.IN_ROW:case A.IN_CELL:case A.IN_SELECT:case A.IN_SELECT_IN_TABLE:tg(this,e);break;case A.TEXT:this._err(e,g.eofInElementThatCanContainOnlyText),this.openElements.pop(),this.insertionMode=this.originalInsertionMode,this.onEof(e);break;case A.IN_TABLE_TEXT:tS(this,e);break;case A.IN_TEMPLATE:tN(this,e);break;case A.AFTER_BODY:case A.IN_FRAMESET:case A.AFTER_FRAMESET:case A.AFTER_AFTER_BODY:case A.AFTER_AFTER_FRAMESET:e6(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===h.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case A.IN_HEAD:case A.IN_HEAD_NO_SCRIPT:case A.AFTER_HEAD:case A.TEXT:case A.IN_COLUMN_GROUP:case A.IN_SELECT:case A.IN_SELECT_IN_TABLE:case A.IN_FRAMESET:case A.AFTER_FRAMESET:this._insertCharacters(e);break;case A.IN_BODY:case A.IN_CAPTION:case A.IN_CELL:case A.IN_TEMPLATE:case A.AFTER_BODY:case A.AFTER_AFTER_BODY:case A.AFTER_AFTER_FRAMESET:to(this,e);break;case A.IN_TABLE:case A.IN_TABLE_BODY:case A.IN_ROW:tm(this,e);break;case A.IN_TABLE_TEXT:tv(this,e)}}}function e5(e,t){for(let n=0;n<8;n++){let n=function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):tf(e,t),n}(e,t);if(!n)break;let r=function(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){let a=e.openElements.items[r];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[r])&&(n=a)}return n||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;let a=function(e,t,n){let r=t,a=e.openElements.getCommonAncestor(t);for(let i=0,o=a;o!==n;i++,o=a){a=e.openElements.getCommonAncestor(o);let n=e.activeFormattingElements.getElementEntry(o),s=n&&i>=3,l=!n||s;l?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(o)):(o=function(e,t){let n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}(e,r,n.element),i=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(a),i&&function(e,t,n){let r=e.treeAdapter.getTagName(t),a=ed(r);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(n);else{let r=e.treeAdapter.getNamespaceURI(t);a===T.TEMPLATE&&r===b.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}(e,i,a),function(e,t,n){let r=e.treeAdapter.getNamespaceURI(n.element),{token:a}=n,i=e.treeAdapter.createElement(a.tagName,r,a.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,a),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,a.tagID)}(e,r,n)}}function e4(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function e6(e,t){if(e.stopped=!0,t.location){let n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){let n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function e9(e,t){e._err(t,g.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,E.QUIRKS),e.insertionMode=A.BEFORE_HTML,e._processToken(t)}function e8(e,t){e._insertFakeRootElement(),e.insertionMode=A.BEFORE_HEAD,e._processToken(t)}function e7(e,t){e._insertFakeElement(v.HEAD,T.HEAD),e.headElement=e.openElements.current,e.insertionMode=A.IN_HEAD,e._processToken(t)}function te(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.TITLE:e._switchToTextParsing(t,em.RCDATA);break;case T.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,em.RAWTEXT):(e._insertElement(t,b.HTML),e.insertionMode=A.IN_HEAD_NO_SCRIPT);break;case T.NOFRAMES:case T.STYLE:e._switchToTextParsing(t,em.RAWTEXT);break;case T.SCRIPT:e._switchToTextParsing(t,em.SCRIPT_DATA);break;case T.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=A.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(A.IN_TEMPLATE);break;case T.HEAD:e._err(t,g.misplacedStartTagForHeadElement);break;default:tn(e,t)}}function tt(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==T.TEMPLATE&&e._err(t,g.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,g.endTagWithoutMatchingOpenElement)}function tn(e,t){e.openElements.pop(),e.insertionMode=A.AFTER_HEAD,e._processToken(t)}function tr(e,t){let n=t.type===m.EOF?g.openElementsLeftAfterEof:g.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=A.IN_HEAD,e._processToken(t)}function ta(e,t){e._insertFakeElement(v.BODY,T.BODY),e.insertionMode=A.IN_BODY,ti(e,t)}function ti(e,t){switch(t.type){case m.CHARACTER:ts(e,t);break;case m.WHITESPACE_CHARACTER:to(e,t);break;case m.COMMENT:e4(e,t);break;case m.START_TAG:tp(e,t);break;case m.END_TAG:th(e,t);break;case m.EOF:tg(e,t)}}function to(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function ts(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function tl(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function tc(e){let t=el(e,y.TYPE);return null!=t&&"hidden"===t.toLowerCase()}function tu(e,t){e._switchToTextParsing(t,em.RAWTEXT)}function td(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML)}function tp(e,t){switch(t.tagID){case T.I:case T.S:case T.B:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.SMALL:case T.STRIKE:case T.STRONG:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case T.A:!function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(v.A);n&&(e5(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),eh(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,b.HTML);break;case T.P:case T.DL:case T.OL:case T.UL:case T.DIV:case T.DIR:case T.NAV:case T.MAIN:case T.MENU:case T.ASIDE:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.DETAILS:case T.ADDRESS:case T.ARTICLE:case T.SECTION:case T.SUMMARY:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML);break;case T.LI:case T.DD:case T.DT:!function(e,t){e.framesetOk=!1;let n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let r=e.openElements.tagIDs[t];if(n===T.LI&&r===T.LI||(n===T.DD||n===T.DT)&&(r===T.DD||r===T.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==T.ADDRESS&&r!==T.DIV&&r!==T.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML)}(e,t);break;case T.BR:case T.IMG:case T.WBR:case T.AREA:case T.EMBED:case T.KEYGEN:tl(e,t);break;case T.HR:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0;break;case T.RB:case T.RTC:e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,b.HTML);break;case T.RT:case T.RP:e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(T.RTC),e._insertElement(t,b.HTML);break;case T.PRE:case T.LISTING:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.framesetOk=!1;break;case T.XMP:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,em.RAWTEXT);break;case T.SVG:e._reconstructActiveFormattingElements(),eQ(t),eJ(t),t.selfClosing?e._appendElement(t,b.SVG):e._insertElement(t,b.SVG),t.ackSelfClosing=!0;break;case T.HTML:0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs);break;case T.BASE:case T.LINK:case T.META:case T.STYLE:case T.TITLE:case T.SCRIPT:case T.BGSOUND:case T.BASEFONT:case T.TEMPLATE:te(e,t);break;case T.BODY:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t);break;case T.FORM:!function(e,t){let n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),n||(e.formElement=e.openElements.current))}(e,t);break;case T.NOBR:e._reconstructActiveFormattingElements(),e.openElements.hasInScope(T.NOBR)&&(e5(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case T.MATH:e._reconstructActiveFormattingElements(),eK(t),eJ(t),t.selfClosing?e._appendElement(t,b.MATHML):e._insertElement(t,b.MATHML),t.ackSelfClosing=!0;break;case T.TABLE:e.treeAdapter.getDocumentMode(e.document)!==E.QUIRKS&&e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=A.IN_TABLE;break;case T.INPUT:e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),tc(t)||(e.framesetOk=!1),t.ackSelfClosing=!0;break;case T.PARAM:case T.TRACK:case T.SOURCE:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.IMAGE:t.tagName=v.IMG,t.tagID=T.IMG,tl(e,t);break;case T.BUTTON:e.openElements.hasInScope(T.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1;break;case T.APPLET:case T.OBJECT:case T.MARQUEE:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1;break;case T.IFRAME:e.framesetOk=!1,e._switchToTextParsing(t,em.RAWTEXT);break;case T.SELECT:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===A.IN_TABLE||e.insertionMode===A.IN_CAPTION||e.insertionMode===A.IN_TABLE_BODY||e.insertionMode===A.IN_ROW||e.insertionMode===A.IN_CELL?A.IN_SELECT_IN_TABLE:A.IN_SELECT;break;case T.OPTION:case T.OPTGROUP:e.openElements.currentTagId===T.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML);break;case T.NOEMBED:tu(e,t);break;case T.FRAMESET:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,b.HTML),e.insertionMode=A.IN_FRAMESET)}(e,t);break;case T.TEXTAREA:e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.tokenizer.state=em.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=A.TEXT;break;case T.NOSCRIPT:e.options.scriptingEnabled?tu(e,t):td(e,t);break;case T.PLAINTEXT:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.tokenizer.state=em.PLAINTEXT;break;case T.COL:case T.TH:case T.TD:case T.TR:case T.HEAD:case T.FRAME:case T.TBODY:case T.TFOOT:case T.THEAD:case T.CAPTION:case T.COLGROUP:break;default:td(e,t)}}function tf(e,t){let n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let a=e.openElements.items[t],i=e.openElements.tagIDs[t];if(r===i&&(r!==T.UNKNOWN||e.treeAdapter.getTagName(a)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(a,i))break}}function th(e,t){switch(t.tagID){case T.A:case T.B:case T.I:case T.S:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.NOBR:case T.SMALL:case T.STRIKE:case T.STRONG:e5(e,t);break;case T.P:e.openElements.hasInButtonScope(T.P)||e._insertFakeElement(v.P,T.P),e._closePElement();break;case T.DL:case T.UL:case T.OL:case T.DIR:case T.DIV:case T.NAV:case T.PRE:case T.MAIN:case T.MENU:case T.ASIDE:case T.BUTTON:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.ADDRESS:case T.ARTICLE:case T.DETAILS:case T.SECTION:case T.SUMMARY:case T.LISTING:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case T.LI:e.openElements.hasInListItemScope(T.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(T.LI),e.openElements.popUntilTagNamePopped(T.LI));break;case T.DD:case T.DT:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped());break;case T.BR:e._reconstructActiveFormattingElements(),e._insertFakeElement(v.BR,T.BR),e.openElements.pop(),e.framesetOk=!1;break;case T.BODY:!function(e,t){if(e.openElements.hasInScope(T.BODY)&&(e.insertionMode=A.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}(e,t);break;case T.HTML:e.openElements.hasInScope(T.BODY)&&(e.insertionMode=A.AFTER_BODY,tL(e,t));break;case T.FORM:!function(e){let t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(T.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(T.FORM):n&&e.openElements.remove(n))}(e);break;case T.APPLET:case T.OBJECT:case T.MARQUEE:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}(e,t);break;case T.TEMPLATE:tt(e,t);break;default:tf(e,t)}}function tg(e,t){e.tmplInsertionModeStack.length>0?tN(e,t):e6(e,t)}function tm(e,t){if(e1.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=A.IN_TABLE_TEXT,t.type){case m.CHARACTER:tT(e,t);break;case m.WHITESPACE_CHARACTER:tv(e,t)}else tE(e,t)}function tb(e,t){switch(t.tagID){case T.TD:case T.TH:case T.TR:e.openElements.clearBackToTableContext(),e._insertFakeElement(v.TBODY,T.TBODY),e.insertionMode=A.IN_TABLE_BODY,tk(e,t);break;case T.STYLE:case T.SCRIPT:case T.TEMPLATE:te(e,t);break;case T.COL:e.openElements.clearBackToTableContext(),e._insertFakeElement(v.COLGROUP,T.COLGROUP),e.insertionMode=A.IN_COLUMN_GROUP,tA(e,t);break;case T.FORM:e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,b.HTML),e.formElement=e.openElements.current,e.openElements.pop());break;case T.TABLE:e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode(),e._processStartTag(t));break;case T.TBODY:case T.TFOOT:case T.THEAD:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=A.IN_TABLE_BODY;break;case T.INPUT:tc(t)?e._appendElement(t,b.HTML):tE(e,t),t.ackSelfClosing=!0;break;case T.CAPTION:e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,b.HTML),e.insertionMode=A.IN_CAPTION;break;case T.COLGROUP:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=A.IN_COLUMN_GROUP;break;default:tE(e,t)}}function ty(e,t){switch(t.tagID){case T.TABLE:e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode());break;case T.TEMPLATE:tt(e,t);break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:tE(e,t)}}function tE(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,ti(e,t),e.fosterParentingEnabled=n}function tv(e,t){e.pendingCharacterTokens.push(t)}function tT(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function tS(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0&&e.openElements.currentTagId===T.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===T.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===T.OPTGROUP&&e.openElements.pop();break;case T.OPTION:e.openElements.currentTagId===T.OPTION&&e.openElements.pop();break;case T.SELECT:e.openElements.hasInSelectScope(T.SELECT)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode());break;case T.TEMPLATE:tt(e,t)}}function tN(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):e6(e,t)}function tL(e,t){var n;if(t.tagID===T.HTML){if(e.fragmentContext||(e.insertionMode=A.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===T.HTML){e._setEndLocation(e.openElements.items[0],t);let r=e.openElements.items[1];!r||(null===(n=e.treeAdapter.getNodeSourceCodeLocation(r))||void 0===n?void 0:n.endTag)||e._setEndLocation(r,t)}}else tD(e,t)}function tD(e,t){e.insertionMode=A.IN_BODY,ti(e,t)}function tP(e,t){e.insertionMode=A.IN_BODY,ti(e,t)}function tM(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==b.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}n(43470),v.AREA,v.BASE,v.BASEFONT,v.BGSOUND,v.BR,v.COL,v.EMBED,v.FRAME,v.HR,v.IMG,v.INPUT,v.KEYGEN,v.LINK,v.META,v.PARAM,v.SOURCE,v.TRACK,v.WBR;var tF=n(3980),tB=n(21623);let tj=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),tU={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function tG(e,t){let n=function(e){let t="root"===e.type?e.children[0]:e;return!!(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName.toLowerCase()))}(e),r=q("type",{handlers:{root:t$,element:tz,text:tZ,comment:tV,doctype:tW,raw:tY},unknown:tq}),a={parser:n?new e3(tU):e3.getFragmentParser(void 0,tU),handle(e){r(e,a)},stitches:!1,options:t||{}};r(e,a),tX(a,(0,tF.Pk)());let i=n?a.parser.document:a.parser.getFragment(),o=function(e,t){let n=t||{};return $({file:n.file||void 0,location:!1,schema:"svg"===n.space?x.YP:x.dy,verbose:n.verbose||!1},e)}(i,{file:a.options.file});return(a.stitches&&(0,tB.Vn)(o,"comment",function(e,t,n){if(e.value.stitch&&n&&void 0!==t){let r=n.children;return r[t]=e.value.stitch,t}}),"root"===o.type&&1===o.children.length&&o.children[0].type===e.type)?o.children[0]:o}function tH(e,t){let n=-1;if(e)for(;++n4&&(t.parser.tokenizer.state=0);let n={type:m.CHARACTER,chars:e.value,location:tQ(e)};tX(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tW(e,t){let n={type:m.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:tQ(e)};tX(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tV(e,t){let n=e.value,r={type:m.COMMENT,data:n,location:tQ(e)};tX(t,(0,tF.Pk)(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function tY(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,tK(t,(0,tF.Pk)(e)),t.parser.tokenizer.write(e.value,!1),t.parser.tokenizer._runParsingLoop(),72===t.parser.tokenizer.state||78===t.parser.tokenizer.state){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;let e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function tq(e,t){if(t.options.passThrough&&t.options.passThrough.includes(e.type))!function(e,t){t.stitches=!0;let n="children"in e?(0,_.ZP)({...e,children:[]}):(0,_.ZP)(e);if("children"in e&&"children"in n){let r=tG({type:"root",children:e.children},t.options);n.children=r.children}tV({type:"comment",value:{stitch:n}},t)}(e,t);else{let t="";throw tj.has(e.type)&&(t=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),Error("Cannot compile `"+e.type+"` node"+t)}}function tX(e,t){tK(e,t);let n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=em.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function tK(e,t){if(t&&void 0!==t.offset){let n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function tQ(e){let t=(0,tF.Pk)(e)||{line:void 0,column:void 0,offset:void 0},n=(0,tF.rb)(e)||{line:void 0,column:void 0,offset:void 0},r={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset};return r}function tJ(e){return function(t,n){let r=tG(t,{...e,file:n});return r}}},78600:function(e,t,n){"use strict";function r(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,a=n.indexOf(t);for(;-1!==a;)r++,a=n.indexOf(t,a+t.length);return r}n.d(t,{Z:function(){return eQ}});var a=n(24345),i=n(15459),o=n(88718),s=n(96093);let l="phrasing",c=["autolink","link","image","label"];function u(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function d(e){this.config.enter.autolinkProtocol.call(this,e)}function p(e){this.config.exit.autolinkProtocol.call(this,e)}function f(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];(0,a.ok)("link"===t.type),t.url="http://"+this.sliceSerialize(e)}function h(e){this.config.exit.autolinkEmail.call(this,e)}function g(e){this.exit(e)}function m(e){!function(e,t,n){let r=(0,s.O)((n||{}).ignore||[]),a=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r0?{type:"text",value:i}:void 0),!1===i?r.lastIndex=n+1:(s!==n&&d.push({type:"text",value:e.value.slice(s,n)}),Array.isArray(i)?d.push(...i):i&&d.push(i),s=n+p[0].length,u=!0),!r.global)break;p=r.exec(e.value)}return u?(s?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],a=n.indexOf(")"),i=r(e,"("),o=r(e,")");for(;-1!==a&&i>o;)e+=n.slice(0,a+1),a=(n=n.slice(a+1)).indexOf(")"),o++;return[e,n]}(n+a);if(!s[0])return!1;let l={type:"link",title:null,url:o+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[l,{type:"text",value:s[1]}]:l}function y(e,t,n,r){return!(!E(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function E(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||(0,i.B8)(n)||(0,i.Xh)(n))&&(!t||47!==n)}var v=n(11098);function T(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function S(){this.buffer()}function O(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteDefinition"===n.type),n.label=t,n.identifier=(0,v.d)(this.sliceSerialize(e)).toLowerCase()}function A(e){this.exit(e)}function _(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function k(){this.buffer()}function x(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteReference"===n.type),n.label=t,n.identifier=(0,v.d)(this.sliceSerialize(e)).toLowerCase()}function C(e){this.exit(e)}function w(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteReference"),s=n.enter("reference");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),o(),i+=a.move("]")}function I(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteDefinition"),s=n.enter("label");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),i+=a.move("]:"+(e.children&&e.children.length>0?" ":"")),a.shift(4),i+=a.move(n.indentLines(n.containerFlow(e,a.current()),R)),o(),i}function R(e,t,n){return 0===t?e:(n?"":" ")+e}w.peek=function(){return"["};let N=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function L(e){this.enter({type:"delete",children:[]},e)}function D(e){this.exit(e)}function P(e,t,n,r){let a=n.createTracker(r),i=n.enter("strikethrough"),o=a.move("~~");return o+=n.containerPhrasing(e,{...a.current(),before:o,after:"~"})+a.move("~~"),i(),o}function M(e){return e.length}function F(e){let t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function B(e,t,n){return">"+(n?"":" ")+e}function j(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),c+=l.move(")"),o(),c}function q(e,t,n,r){let a=e.referenceType,i=n.enter("imageReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("!["),c=n.safe(e.alt,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function X(e,t,n){let r=e.value||"",a="`",i=-1;for(;RegExp("(^|[^`])"+a+"([^`]|$)").test(r);)a+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i\u007F]/.test(e.url))}function Q(e,t,n,r){let a,i;let o=$(n),s='"'===o?"Quote":"Apostrophe",l=n.createTracker(r);if(K(e,n)){let t=n.stack;n.stack=[],a=n.enter("autolink");let r=l.move("<");return r+=l.move(n.containerPhrasing(e,{before:r,after:">",...l.current()}))+l.move(">"),a(),n.stack=t,r}a=n.enter("link"),i=n.enter("label");let c=l.move("[");return c+=l.move(n.containerPhrasing(e,{before:c,after:"](",...l.current()}))+l.move("]("),i(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(i=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(i=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),i(),e.title&&(i=n.enter(`title${s}`),c+=l.move(" "+o),c+=l.move(n.safe(e.title,{before:c,after:o,...l.current()}))+l.move(o),i()),c+=l.move(")"),a(),c}function J(e,t,n,r){let a=e.referenceType,i=n.enter("linkReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("["),c=n.containerPhrasing(e,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function ee(e){let t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function et(e){let t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}V.peek=function(){return"<"},Y.peek=function(){return"!"},q.peek=function(){return"!"},X.peek=function(){return"`"},Q.peek=function(e,t,n){return K(e,n)?"<":"["},J.peek=function(){return"["};let en=(0,s.O)(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function er(e,t,n,r){let a=function(e){let t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(n),i=n.enter("strong"),o=n.createTracker(r),s=o.move(a+a);return s+=o.move(n.containerPhrasing(e,{before:s,after:a,...o.current()}))+o.move(a+a),i(),s}er.peek=function(e,t,n){return n.options.strong||"*"};let ea={blockquote:function(e,t,n,r){let a=n.enter("blockquote"),i=n.createTracker(r);i.move("> "),i.shift(2);let o=n.indentLines(n.containerFlow(e,i.current()),B);return a(),o},break:U,code:function(e,t,n,r){let a=function(e){let t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),i=e.value||"",o="`"===a?"GraveAccent":"Tilde";if(!1===n.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value)){let e=n.enter("codeIndented"),t=n.indentLines(i,H);return e(),t}let s=n.createTracker(r),l=a.repeat(Math.max((0,G.J)(i,a)+1,3)),c=n.enter("codeFenced"),u=s.move(l);if(e.lang){let t=n.enter(`codeFencedLang${o}`);u+=s.move(n.safe(e.lang,{before:u,after:" ",encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${o}`);u+=s.move(" "),u+=s.move(n.safe(e.meta,{before:u,after:"\n",encode:["`"],...s.current()})),t()}return u+=s.move("\n"),i&&(u+=s.move(i+"\n")),u+=s.move(l),c(),u},definition:function(e,t,n,r){let a=$(n),i='"'===a?"Quote":"Apostrophe",o=n.enter("definition"),s=n.enter("label"),l=n.createTracker(r),c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()}))+l.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":"\n",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),o(),c},emphasis:z,hardBreak:U,heading:function(e,t,n,r){let a;let i=Math.max(Math.min(6,e.depth||1),1),s=n.createTracker(r);if(a=!1,(0,Z.Vn)(e,function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return a=!0,o.BK}),(!e.depth||e.depth<3)&&(0,W.B)(e)&&(n.options.setext||a)){let t=n.enter("headingSetext"),r=n.enter("phrasing"),a=n.containerPhrasing(e,{...s.current(),before:"\n",after:"\n"});return r(),t(),a+"\n"+(1===i?"=":"-").repeat(a.length-(Math.max(a.lastIndexOf("\r"),a.lastIndexOf("\n"))+1))}let l="#".repeat(i),c=n.enter("headingAtx"),u=n.enter("phrasing");s.move(l+" ");let d=n.containerPhrasing(e,{before:"# ",after:"\n",...s.current()});return/^[\t ]/.test(d)&&(d="&#x"+d.charCodeAt(0).toString(16).toUpperCase()+";"+d.slice(1)),d=d?l+" "+d:l,n.options.closeAtx&&(d+=" "+l),u(),c(),d},html:V,image:Y,imageReference:q,inlineCode:X,link:Q,linkReference:J,list:function(e,t,n,r){let a=n.enter("list"),i=n.bulletCurrent,o=e.ordered?function(e){let t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):ee(n),s=e.ordered?"."===o?")":".":function(e){let t=ee(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n),l=!!t&&!!n.bulletLastUsed&&o===n.bulletLastUsed;if(!e.ordered){let t=e.children?e.children[0]:void 0;if("*"!==o&&"-"!==o||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(l=!0),et(n)===o&&t){let t=-1;for(;++t-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+i);let o=i.length+1;("tab"===a||"mixed"===a&&(t&&"list"===t.type&&t.spread||e.spread))&&(o=4*Math.ceil(o/4));let s=n.createTracker(r);s.move(i+" ".repeat(o-i.length)),s.shift(o);let l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),function(e,t,n){return t?(n?"":" ".repeat(o))+e:(n?i:i+" ".repeat(o-i.length))+e});return l(),c},paragraph:function(e,t,n,r){let a=n.enter("paragraph"),i=n.enter("phrasing"),o=n.containerPhrasing(e,r);return i(),a(),o},root:function(e,t,n,r){let a=e.children.some(function(e){return en(e)}),i=a?n.containerPhrasing:n.containerFlow;return i.call(n,e,r)},strong:er,text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){let r=(et(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}};function ei(e){let t=e._align;(0,a.ok)(t,"expected `_align` on table"),this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function eo(e){this.exit(e),this.data.inTable=void 0}function es(e){this.enter({type:"tableRow",children:[]},e)}function el(e){this.exit(e)}function ec(e){this.enter({type:"tableCell",children:[]},e)}function eu(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,ed));let n=this.stack[this.stack.length-1];(0,a.ok)("inlineCode"===n.type),n.value=t,this.exit(e)}function ed(e,t){return"|"===t?t:e}function ep(e){let t=this.stack[this.stack.length-2];(0,a.ok)("listItem"===t.type),t.checked="taskListCheckValueChecked"===e.type}function ef(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1];(0,a.ok)("paragraph"===e.type);let n=e.children[0];if(n&&"text"===n.type){let r;let a=t.children,i=-1;for(;++i0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}eA[43]=eO,eA[45]=eO,eA[46]=eO,eA[95]=eO,eA[72]=[eO,eS],eA[104]=[eO,eS],eA[87]=[eO,eT],eA[119]=[eO,eT];var eR=n(23402),eN=n(42761);let eL={tokenize:function(e,t,n){let r=this;return(0,eN.f)(e,function(e){let a=r.events[r.events.length-1];return a&&"gfmFootnoteDefinitionIndent"===a[1].type&&4===a[2].sliceSerialize(a[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function eD(e,t,n){let r;let a=this,i=a.events.length,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);for(;i--;){let e=a.events[i][1];if("labelImage"===e.type){r=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(i){if(!r||!r._balanced)return n(i);let s=(0,v.d)(a.sliceSerialize({start:r.end,end:a.now()}));return 94===s.codePointAt(0)&&o.includes(s.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(i),e.exit("gfmFootnoteCallLabelMarker"),t(i)):n(i)}}function eP(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;let i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",a,t],["exit",a,t],["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function eM(e,t,n){let r;let a=this,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),s=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),l};function l(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(l){if(s>999||93===l&&!r||null===l||91===l||(0,i.z3)(l))return n(l);if(93===l){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return o.includes((0,v.d)(a.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(l)}return(0,i.z3)(l)||(r=!0),s++,e.consume(l),92===l?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function eF(e,t,n){let r,a;let o=this,s=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]),l=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(t)}function u(t){if(l>999||93===t&&!a||null===t||91===t||(0,i.z3)(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return r=(0,v.d)(o.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return(0,i.z3)(t)||(a=!0),l++,e.consume(t),92===t?d:u}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}function p(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s.includes(r)||s.push(r),(0,eN.f)(e,f,"gfmFootnoteDefinitionWhitespace")):n(t)}function f(e){return t(e)}}function eB(e,t,n){return e.check(eR.w,t,e.attempt(eL,t,n))}function ej(e){e.exit("gfmFootnoteDefinition")}var eU=n(21905),eG=n(62987),eH=n(63233);class e${constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let a=0;if(0!==n||0!==r.length){for(;a0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function ez(e,t,n){let r;let a=this,o=0,s=0;return function(e){let t=a.events.length-1;for(;t>-1;){let e=a.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let r=t>-1?a.events[t][1].type:null,i="tableHead"===r||"tableRow"===r?E:l;return i===E&&a.parser.lazy[a.now().line]?n(e):i(e)};function l(t){return e.enter("tableHead"),e.enter("tableRow"),124===t||(r=!0,s+=1),c(t)}function c(t){return null===t?n(t):(0,i.Ch)(t)?s>1?(s=0,a.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p):n(t):(0,i.xz)(t)?(0,eN.f)(e,c,"whitespace")(t):(s+=1,r&&(r=!1,o+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,c):(e.enter("data"),u(t))}function u(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),c(t)):(e.consume(t),92===t?d:u)}function d(t){return 92===t||124===t?(e.consume(t),u):u(t)}function p(t){return(a.interrupt=!1,a.parser.lazy[a.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,(0,i.xz)(t))?(0,eN.f)(e,f,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):f(t)}function f(t){return 45===t||58===t?g(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),h):n(t)}function h(t){return(0,i.xz)(t)?(0,eN.f)(e,g,"whitespace")(t):g(t)}function g(t){return 58===t?(s+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),m):45===t?(s+=1,m(t)):null===t||(0,i.Ch)(t)?y(t):n(t)}function m(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),b):(e.exit("tableDelimiterFiller"),b(n))}(t)):n(t)}function b(t){return(0,i.xz)(t)?(0,eN.f)(e,y,"whitespace")(t):y(t)}function y(a){return 124===a?f(a):null===a||(0,i.Ch)(a)?r&&o===s?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(a)):n(a):n(a)}function E(t){return e.enter("tableRow"),v(t)}function v(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),v):null===n||(0,i.Ch)(n)?(e.exit("tableRow"),t(n)):(0,i.xz)(n)?(0,eN.f)(e,v,"whitespace")(n):(e.enter("data"),T(n))}function T(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),v(t)):(e.consume(t),92===t?S:T)}function S(t){return 92===t||124===t?(e.consume(t),T):T(t)}}function eZ(e,t){let n,r,a,i=-1,o=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,d=0,p=new e$;for(;++in[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",o,t]])}return void 0!==a&&(i.end=Object.assign({},eY(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function eV(e,t,n,r,a){let i=[],o=eY(t.events,n);a&&(a.end=Object.assign({},o),i.push(["exit",a,t])),r.end=Object.assign({},o),i.push(["exit",r,t]),e.add(n+1,0,i)}function eY(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}let eq={name:"tasklistCheck",tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),a):n(t)};function a(t){return(0,i.z3)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(t)}function s(r){return(0,i.Ch)(r)?t(r):(0,i.xz)(r)?e.check({tokenize:eX},t,n)(r):n(r)}}};function eX(e,t,n){return(0,eN.f)(e,function(e){return null===e?n(e):t(e)},"whitespace")}let eK={};function eQ(e){let t=e||eK,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),i=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push((0,eg.W)([{text:eA},{document:{91:{name:"gfmFootnoteDefinition",tokenize:eF,continuation:{tokenize:eB},exit:ej}},text:{91:{name:"gfmFootnoteCall",tokenize:eM},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:eD,resolveTo:eP}}},function(e){let t=(e||{}).singleTilde,n={name:"strikethrough",tokenize:function(e,n,r){let a=this.previous,i=this.events,o=0;return function(s){return 126===a&&"characterEscape"!==i[i.length-1][1].type?r(s):(e.enter("strikethroughSequenceTemporary"),function i(s){let l=(0,eG.r)(a);if(126===s)return o>1?r(s):(e.consume(s),o++,i);if(o<2&&!t)return r(s);let c=e.exit("strikethroughSequenceTemporary"),u=(0,eG.r)(s);return c._open=!u||2===u&&!!l,c._close=!l||2===l&&!!u,n(s)}(s))}},resolveAll:function(e,t){let n=-1;for(;++nl&&(l=e[c].length);++ds[d])&&(s[d]=e)}n.push(i)}i[c]=n,o[c]=a}let d=-1;if("object"==typeof n&&"length"in n)for(;++ds[d]&&(s[d]=i),f[d]=i),p[d]=o}i.splice(1,0,p),o.splice(1,0,f),c=-1;let h=[];for(;++c","Iacute":"\xcd","Icirc":"\xce","Igrave":"\xcc","Iuml":"\xcf","LT":"<","Ntilde":"\xd1","Oacute":"\xd3","Ocirc":"\xd4","Ograve":"\xd2","Oslash":"\xd8","Otilde":"\xd5","Ouml":"\xd6","QUOT":"\\"","REG":"\xae","THORN":"\xde","Uacute":"\xda","Ucirc":"\xdb","Ugrave":"\xd9","Uuml":"\xdc","Yacute":"\xdd","aacute":"\xe1","acirc":"\xe2","acute":"\xb4","aelig":"\xe6","agrave":"\xe0","amp":"&","aring":"\xe5","atilde":"\xe3","auml":"\xe4","brvbar":"\xa6","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","eacute":"\xe9","ecirc":"\xea","egrave":"\xe8","eth":"\xf0","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","iacute":"\xed","icirc":"\xee","iexcl":"\xa1","igrave":"\xec","iquest":"\xbf","iuml":"\xef","laquo":"\xab","lt":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","ntilde":"\xf1","oacute":"\xf3","ocirc":"\xf4","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","oslash":"\xf8","otilde":"\xf5","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","raquo":"\xbb","reg":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","thorn":"\xfe","times":"\xd7","uacute":"\xfa","ucirc":"\xfb","ugrave":"\xf9","uml":"\xa8","uuml":"\xfc","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')}},function(e){e.O(0,[3662,7034,6106,8674,3166,2837,2168,8163,1265,7728,2913,3791,5278,9859,4330,4041,8791,5030,5418,2783,3457,1300,4567,2398,2480,7410,7124,9773,4035,1154,2510,3345,9202,7249,3768,5789,9774,2888,179],function(){return e(e.s=45745)}),_N_E=e.O()}]); \ No newline at end of file + */var r=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},a={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=u.reach));S+=T.value.length,T=T.next){var O,A=T.value;if(n.length>t.length)return;if(!(A instanceof i)){var _=1;if(b){if(!(O=o(v,S,t,m))||O.index>=t.length)break;var k=O.index,x=O.index+O[0].length,C=S;for(C+=T.value.length;k>=C;)C+=(T=T.next).value.length;if(C-=T.value.length,S=C,T.value instanceof i)continue;for(var w=T;w!==n.tail&&(Cu.reach&&(u.reach=L);var D=T.prev;R&&(D=l(n,D,R),S+=R.length),function(e,t,n){for(var r=t.next,a=0;a1){var M={cause:d+","+f,reach:L};e(t,n,r,T.prev,S,M),u&&M.reach>u.reach&&(u.reach=M.reach)}}}}}}(e,c,t,c.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(c)},hooks:{all:{},add:function(e,t){var n=a.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=a.hooks.all[e];if(n&&n.length)for(var r,i=0;r=n[i++];)r(t)}},Token:i};function i(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var i=a[1].length;a.index+=i,a[0]=a[0].slice(i)}return a}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}if(e.Prism=a,i.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach(function(t){r+=e(t,n)}),r}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},o=t.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(i.classes,o):i.classes.push(o)),a.hooks.run("wrap",i);var s="";for(var l in i.attributes)s+=" "+l+'="'+(i.attributes[l]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+s+">"+i.content+""},!e.document)return e.addEventListener&&(a.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),r=n.language,i=n.code,o=n.immediateClose;e.postMessage(a.highlight(i,a.languages[r],r)),o&&e.close()},!1)),a;var c=a.util.currentScript();function u(){a.manual||a.highlightAll()}if(c&&(a.filename=c.src,c.hasAttribute("data-manual")&&(a.manual=!0)),!a.manual){var d=document.readyState;"loading"===d||"interactive"===d&&c&&c.defer?document.addEventListener("DOMContentLoaded",u):window.requestAnimationFrame?window.requestAnimationFrame(u):window.setTimeout(u,16)}return a}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=r),void 0!==n.g&&(n.g.Prism=r)},96774:function(e){e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),o=Object.keys(t);if(i.length!==o.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;le.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}},88998:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(95778);function a(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},13643:function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,{Z:function(){return r}})},98568:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)}n.d(t,{Z:function(){return a}})},99660:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(88998);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var l=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(l&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;C(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:I(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),b}},t}},55054:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59312);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw a}}return s}}(e,t)||(0,r.Z)(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},27567:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(13643);function a(){return(a="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var a=function(e,t){for(;!({}).hasOwnProperty.call(e,t)&&null!==(e=(0,r.Z)(e)););return e}(e,t);if(a){var i=Object.getOwnPropertyDescriptor(a,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}}).apply(null,arguments)}function i(e,t,n,i){var o=a((0,r.Z)(1&i?e.prototype:e),t,n);return 2&i&&"function"==typeof o?function(e){return o.apply(n,e)}:o}},25585:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(59630),a=n(59312);function i(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,a.Z)(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},95778:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(2846);function a(e){var t=function(e,t){if("object"!=(0,r.Z)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=(0,r.Z)(a))return a;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.Z)(t)?t:t+""}},2846:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{Z:function(){return r}})},59312:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59630);function a(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},21129:function(e,t,n){"use strict";var r=n(4503);t.Z=r},86676:function(e,t,n){"use strict";n.d(t,{r:function(){return a}});let r=/[#.]/g;function a(e,t){let n,a;let i=e||"",o={},s=0;for(;so&&(o=i):i=1,a=r+t.length,r=n.indexOf(t,a);return o}n.d(t,{J:function(){return r}})},24557:function(e,t,n){"use strict";n.d(t,{Z:function(){return ed}});var r={};n.r(r),n.d(r,{boolean:function(){return c},booleanish:function(){return u},commaOrSpaceSeparated:function(){return g},commaSeparated:function(){return h},number:function(){return p},overloadedBoolean:function(){return d},spaceSeparated:function(){return f}});class a{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function i(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new a(n,r,t)}function o(e){return e.toLowerCase()}a.prototype.normal={},a.prototype.property={},a.prototype.space=void 0;class s{constructor(e,t){this.attribute=t,this.property=e}}s.prototype.attribute="",s.prototype.booleanish=!1,s.prototype.boolean=!1,s.prototype.commaOrSpaceSeparated=!1,s.prototype.commaSeparated=!1,s.prototype.defined=!1,s.prototype.mustUseProperty=!1,s.prototype.number=!1,s.prototype.overloadedBoolean=!1,s.prototype.property="",s.prototype.spaceSeparated=!1,s.prototype.space=void 0;let l=0,c=m(),u=m(),d=m(),p=m(),f=m(),h=m(),g=m();function m(){return 2**++l}let b=Object.keys(r);class y extends s{constructor(e,t,n,a){var i,o;let s=-1;if(super(e,t),a&&(this.space=a),"number"==typeof n)for(;++s"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function T(e,t){return t in e?e[t]:t}function S(e,t){return T(e,t.toLowerCase())}let O=E({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:h,acceptCharset:f,accessKey:f,action:null,allow:null,allowFullScreen:c,allowPaymentRequest:c,allowUserMedia:c,alt:null,as:null,async:c,autoCapitalize:null,autoComplete:f,autoFocus:c,autoPlay:c,blocking:f,capture:null,charSet:null,checked:c,cite:null,className:f,cols:p,colSpan:null,content:null,contentEditable:u,controls:c,controlsList:f,coords:p|h,crossOrigin:null,data:null,dateTime:null,decoding:null,default:c,defer:c,dir:null,dirName:null,disabled:c,download:d,draggable:u,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:c,formTarget:null,headers:f,height:p,hidden:c,high:p,href:null,hrefLang:null,htmlFor:f,httpEquiv:f,id:null,imageSizes:null,imageSrcSet:null,inert:c,inputMode:null,integrity:null,is:null,isMap:c,itemId:null,itemProp:f,itemRef:f,itemScope:c,itemType:f,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:c,low:p,manifest:null,max:null,maxLength:p,media:null,method:null,min:null,minLength:p,multiple:c,muted:c,name:null,nonce:null,noModule:c,noValidate:c,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored: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,onScrollEnd: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:c,optimum:p,pattern:null,ping:f,placeholder:null,playsInline:c,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:c,referrerPolicy:null,rel:f,required:c,reversed:c,rows:p,rowSpan:p,sandbox:f,scope:null,scoped:c,seamless:c,selected:c,shadowRootClonable:c,shadowRootDelegatesFocus:c,shadowRootMode:null,shape:null,size:p,sizes:null,slot:null,span:p,spellCheck:u,src:null,srcDoc:null,srcLang:null,srcSet:null,start:p,step:null,style:null,tabIndex:p,target:null,title:null,translate:null,type:null,typeMustMatch:c,useMap:null,value:u,width:p,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:f,axis:null,background:null,bgColor:null,border:p,borderColor:null,bottomMargin:p,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:c,declare:c,event:null,face:null,frame:null,frameBorder:null,hSpace:p,leftMargin:p,link:null,longDesc:null,lowSrc:null,marginHeight:p,marginWidth:p,noResize:c,noHref:c,noShade:c,noWrap:c,object:null,profile:null,prompt:null,rev:null,rightMargin:p,rules:null,scheme:null,scrolling:u,standby:null,summary:null,text:null,topMargin:p,valueType:null,version:null,vAlign:null,vLink:null,vSpace:p,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:c,disableRemotePlayback:c,prefix:null,property:null,results:p,security:null,unselectable:null},space:"html",transform:S}),A=E({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:g,accentHeight:p,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:p,amplitude:p,arabicForm:null,ascent:p,attributeName:null,attributeType:null,azimuth:p,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:p,by:null,calcMode:null,capHeight:p,className:f,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:p,diffuseConstant:p,direction:null,display:null,dur:null,divisor:p,dominantBaseline:null,download:c,dx:null,dy:null,edgeMode:null,editable:null,elevation:p,enableBackground:null,end:null,event:null,exponent:p,externalResourcesRequired:null,fill:null,fillOpacity:p,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:h,g2:h,glyphName:h,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:p,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:p,horizOriginX:p,horizOriginY:p,id:null,ideographic:p,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:p,k:p,k1:p,k2:p,k3:p,k4:p,kernelMatrix:g,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:p,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:p,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose: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,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:p,overlineThickness:p,paintOrder:null,panose1:null,path:null,pathLength:p,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:f,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:p,pointsAtY:p,pointsAtZ:p,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:g,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:g,rev:g,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:g,requiredFeatures:g,requiredFonts:g,requiredFormats:g,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:p,specularExponent:p,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:p,strikethroughThickness:p,string:null,stroke:null,strokeDashArray:g,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:p,strokeOpacity:p,strokeWidth:null,style:null,surfaceScale:p,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:g,tabIndex:p,tableValues:null,target:null,targetX:p,targetY:p,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:g,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:p,underlineThickness:p,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:p,values:null,vAlphabetic:p,vMathematical:p,vectorEffect:null,vHanging:p,vIdeographic:p,version:null,vertAdvY:p,vertOriginX:p,vertOriginY:p,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:p,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:T}),_=E({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),k=E({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:S}),x=E({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),C=i([v,O,_,k,x],"html"),w=i([v,A,_,k,x],"svg");var I=n(25668),R=n(86676);let N=/[A-Z]/g,L=/-[a-z]/g,D=/^data[-\w.:]+$/i;function P(e){return"-"+e.toLowerCase()}function M(e){return e.charAt(1).toUpperCase()}var F=n(50342);function B(e,t,n){let r=n?function(e){let t=new Map;for(let n of e)t.set(n.toLowerCase(),n);return t}(n):void 0;return function(n,a,...i){let l;if(null==n)l={type:"root",children:[]},i.unshift(a);else{l=(0,R.r)(n,t);let c=l.tagName.toLowerCase(),u=r?r.get(c):void 0;if(l.tagName=u||c,function(e){if(null===e||"object"!=typeof e||Array.isArray(e))return!0;if("string"!=typeof e.type)return!1;let t=Object.keys(e);for(let n of t){let t=e[n];if(t&&"object"==typeof t){if(!Array.isArray(t))return!0;for(let e of t)if("number"!=typeof e&&"string"!=typeof e)return!0}}return!!("children"in e&&Array.isArray(e.children))}(a))i.unshift(a);else for(let[t,n]of Object.entries(a))!function(e,t,n,r){let a;let i=function(e,t){let n=o(t),r=t,a=s;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&D.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(L,M);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!L.test(e)){let n=e.replace(N,P);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}a=y}return new a(r,t)}(e,n);if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;a=r}else a="boolean"==typeof r?r:"string"==typeof r?i.spaceSeparated?(0,F.Q)(r):i.commaSeparated?(0,I.Q)(r):i.commaOrSpaceSeparated?(0,F.Q)((0,I.Q)(r).join(" ")):j(i,i.property,r):Array.isArray(r)?[...r]:"style"===i.property?function(e){let t=[];for(let[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}(r):String(r);if(Array.isArray(a)){let e=[];for(let t of a)e.push(j(i,i.property,t));a=e}"className"===i.property&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}(e,l.properties,t,n)}for(let e of i)!function e(t,n){if(null==n);else if("number"==typeof n||"string"==typeof n)t.push({type:"text",value:String(n)});else if(Array.isArray(n))for(let r of n)e(t,r);else if("object"==typeof n&&"type"in n)"root"===n.type?e(t,n.children):t.push(n);else throw Error("Expected node, nodes, or string, got `"+n+"`")}(l.children,e);return"element"===l.type&&"template"===l.tagName&&(l.content={type:"root",children:l.children},l.children=[]),l}}function j(e,t,n){if("string"==typeof n){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(""===n||o(n)===o(t)))return!0}return n}let U=B(C,"div"),G=B(w,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]);var H=n(49911);function $(e,t){let n=function(e,t){switch(e.nodeType){case 1:return function(e,t){let n=e.namespaceURI,r=n===H.t.svg?G:U,a=n===H.t.html?e.tagName.toLowerCase():e.tagName,i=n===H.t.html&&"template"===a?e.content:e,o=e.getAttributeNames(),s={},l=-1;for(;++ln&&(n=e):e&&(void 0!==n&&n>-1&&l.push("\n".repeat(n)||" "),n=-1,l.push(e))}return l.join("")}(d,{whitespace:"pre"});try{a=es.ZP.renderToString(p,{...t,displayMode:c,throwOnError:!0})}catch(o){let i=o.name.toLowerCase();n.message("Could not render math with KaTeX",{ancestors:[...r,e],cause:o,place:e.position,ruleId:i,source:"rehype-katex"});try{a=es.ZP.renderToString(p,{...t,displayMode:c,strict:"ignore",throwOnError:!1})}catch{a=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(o)},children:[{type:"text",value:p}]}]}}if("string"==typeof a){let e=function(e,t){let n=t?.fragment?function(e){let t=document.createElement("template");return t.innerHTML=e,t.content}(e):Z.parseFromString(e,"text/html");return $(n,{})||{type:"root",children:[]}}(a,{fragment:!0});a=e.children}let f=u.children.indexOf(d);return u.children.splice(f,1,...a),el.AM})}}},12384:function(e,t,n){"use strict";n.d(t,{Z:function(){return tJ}});var r,a,i,o,s,l,c,u,d,p,f,h,g,m,b,y,E,v,T,S,O,A,_=n(52835),k=n(24345),x=n(91634),C=n(25668),w=n(86676),I=n(26103),R=n(28051),N=n(50342);let L=new Set(["button","menu","reset","submit"]),D={}.hasOwnProperty;function P(e,t,n){let r=n&&function(e){let t={},n=-1;for(;++n1?n[e.line-2]:0)+e.column-1;if(r-1&&e<=t.length){let r=0;for(;;){let a=n[r];if(void 0===a){let e=j(t,n[r-1]);a=-1===e?t.length+1:e+1,n[r]=a}if(a>e)return{line:r+1,column:e-(r>0?n[r-1]:0)+1,offset:e};r++}}}}}(t),a=r.toPoint(0),i=r.toPoint(t.length);(0,k.ok)(a,"expected `start`"),(0,k.ok)(i,"expected `end`"),n.position={start:a,end:i}}return n}case"#documentType":return Z(e,t,n={type:"doctype"}),n;case"#text":return n={type:"text",value:t.value},Z(e,t,n),n;default:return function(e,t){let n=e.schema;e.schema=t.namespaceURI===U.t.svg?x.YP:x.dy;let r=-1,a={};for(;++r=55296&&e<=57343}function ei(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function eo(e){return e>=64976&&e<=65007||en.has(e)}(a=g=g||(g={})).controlCharacterInInputStream="control-character-in-input-stream",a.noncharacterInInputStream="noncharacter-in-input-stream",a.surrogateInInputStream="surrogate-in-input-stream",a.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",a.endTagWithAttributes="end-tag-with-attributes",a.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",a.unexpectedSolidusInTag="unexpected-solidus-in-tag",a.unexpectedNullCharacter="unexpected-null-character",a.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",a.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",a.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",a.missingEndTagName="missing-end-tag-name",a.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",a.unknownNamedCharacterReference="unknown-named-character-reference",a.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",a.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",a.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",a.eofBeforeTagName="eof-before-tag-name",a.eofInTag="eof-in-tag",a.missingAttributeValue="missing-attribute-value",a.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",a.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",a.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",a.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",a.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",a.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",a.missingDoctypePublicIdentifier="missing-doctype-public-identifier",a.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",a.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",a.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",a.cdataInHtmlContent="cdata-in-html-content",a.incorrectlyOpenedComment="incorrectly-opened-comment",a.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",a.eofInDoctype="eof-in-doctype",a.nestedComment="nested-comment",a.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",a.eofInComment="eof-in-comment",a.incorrectlyClosedComment="incorrectly-closed-comment",a.eofInCdata="eof-in-cdata",a.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",a.nullCharacterReference="null-character-reference",a.surrogateCharacterReference="surrogate-character-reference",a.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",a.controlCharacterReference="control-character-reference",a.noncharacterCharacterReference="noncharacter-character-reference",a.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",a.missingDoctypeName="missing-doctype-name",a.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",a.duplicateAttribute="duplicate-attribute",a.nonConformingDoctype="non-conforming-doctype",a.missingDoctype="missing-doctype",a.misplacedDoctype="misplaced-doctype",a.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",a.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",a.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",a.openElementsLeftAfterEof="open-elements-left-after-eof",a.abandonedHeadElementChild="abandoned-head-element-child",a.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",a.nestedNoscriptInHead="nested-noscript-in-head",a.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text";class es{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e){let{line:t,col:n,offset:r}=this;return{code:e,startLine:t,endLine:t,startCol:n,endCol:n,startOffset:r,endOffset:r}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let t=this.html.charCodeAt(this.pos+1);if(t>=56320&&t<=57343)return this.pos++,this._addGap(),(e-55296)*1024+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,h.EOF;return this._err(g.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,h.EOF;let n=this.html.charCodeAt(t);return n===h.CARRIAGE_RETURN?h.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,h.EOF;let e=this.html.charCodeAt(this.pos);if(e===h.CARRIAGE_RETURN)return this.isEol=!0,this.skipNextNewLine=!0,h.LINE_FEED;if(e===h.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine))return this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance();this.skipNextNewLine=!1,ea(e)&&(e=this._processSurrogate(e));let t=null===this.handler.onParseError||e>31&&e<127||e===h.LINE_FEED||e===h.CARRIAGE_RETURN||e>159&&e<64976;return t||this._checkForProblematicCharacters(e),e}_checkForProblematicCharacters(e){ei(e)?this._err(g.controlCharacterInInputStream):eo(e)&&this._err(g.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}(i=m=m||(m={}))[i.CHARACTER=0]="CHARACTER",i[i.NULL_CHARACTER=1]="NULL_CHARACTER",i[i.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",i[i.START_TAG=3]="START_TAG",i[i.END_TAG=4]="END_TAG",i[i.COMMENT=5]="COMMENT",i[i.DOCTYPE=6]="DOCTYPE",i[i.EOF=7]="EOF",i[i.HIBERNATION=8]="HIBERNATION";var ec=n(60411);(o=b=b||(b={})).HTML="http://www.w3.org/1999/xhtml",o.MATHML="http://www.w3.org/1998/Math/MathML",o.SVG="http://www.w3.org/2000/svg",o.XLINK="http://www.w3.org/1999/xlink",o.XML="http://www.w3.org/XML/1998/namespace",o.XMLNS="http://www.w3.org/2000/xmlns/",(s=y=y||(y={})).TYPE="type",s.ACTION="action",s.ENCODING="encoding",s.PROMPT="prompt",s.NAME="name",s.COLOR="color",s.FACE="face",s.SIZE="size",(l=E=E||(E={})).NO_QUIRKS="no-quirks",l.QUIRKS="quirks",l.LIMITED_QUIRKS="limited-quirks",(c=v=v||(v={})).A="a",c.ADDRESS="address",c.ANNOTATION_XML="annotation-xml",c.APPLET="applet",c.AREA="area",c.ARTICLE="article",c.ASIDE="aside",c.B="b",c.BASE="base",c.BASEFONT="basefont",c.BGSOUND="bgsound",c.BIG="big",c.BLOCKQUOTE="blockquote",c.BODY="body",c.BR="br",c.BUTTON="button",c.CAPTION="caption",c.CENTER="center",c.CODE="code",c.COL="col",c.COLGROUP="colgroup",c.DD="dd",c.DESC="desc",c.DETAILS="details",c.DIALOG="dialog",c.DIR="dir",c.DIV="div",c.DL="dl",c.DT="dt",c.EM="em",c.EMBED="embed",c.FIELDSET="fieldset",c.FIGCAPTION="figcaption",c.FIGURE="figure",c.FONT="font",c.FOOTER="footer",c.FOREIGN_OBJECT="foreignObject",c.FORM="form",c.FRAME="frame",c.FRAMESET="frameset",c.H1="h1",c.H2="h2",c.H3="h3",c.H4="h4",c.H5="h5",c.H6="h6",c.HEAD="head",c.HEADER="header",c.HGROUP="hgroup",c.HR="hr",c.HTML="html",c.I="i",c.IMG="img",c.IMAGE="image",c.INPUT="input",c.IFRAME="iframe",c.KEYGEN="keygen",c.LABEL="label",c.LI="li",c.LINK="link",c.LISTING="listing",c.MAIN="main",c.MALIGNMARK="malignmark",c.MARQUEE="marquee",c.MATH="math",c.MENU="menu",c.META="meta",c.MGLYPH="mglyph",c.MI="mi",c.MO="mo",c.MN="mn",c.MS="ms",c.MTEXT="mtext",c.NAV="nav",c.NOBR="nobr",c.NOFRAMES="noframes",c.NOEMBED="noembed",c.NOSCRIPT="noscript",c.OBJECT="object",c.OL="ol",c.OPTGROUP="optgroup",c.OPTION="option",c.P="p",c.PARAM="param",c.PLAINTEXT="plaintext",c.PRE="pre",c.RB="rb",c.RP="rp",c.RT="rt",c.RTC="rtc",c.RUBY="ruby",c.S="s",c.SCRIPT="script",c.SECTION="section",c.SELECT="select",c.SOURCE="source",c.SMALL="small",c.SPAN="span",c.STRIKE="strike",c.STRONG="strong",c.STYLE="style",c.SUB="sub",c.SUMMARY="summary",c.SUP="sup",c.TABLE="table",c.TBODY="tbody",c.TEMPLATE="template",c.TEXTAREA="textarea",c.TFOOT="tfoot",c.TD="td",c.TH="th",c.THEAD="thead",c.TITLE="title",c.TR="tr",c.TRACK="track",c.TT="tt",c.U="u",c.UL="ul",c.SVG="svg",c.VAR="var",c.WBR="wbr",c.XMP="xmp",(u=T=T||(T={}))[u.UNKNOWN=0]="UNKNOWN",u[u.A=1]="A",u[u.ADDRESS=2]="ADDRESS",u[u.ANNOTATION_XML=3]="ANNOTATION_XML",u[u.APPLET=4]="APPLET",u[u.AREA=5]="AREA",u[u.ARTICLE=6]="ARTICLE",u[u.ASIDE=7]="ASIDE",u[u.B=8]="B",u[u.BASE=9]="BASE",u[u.BASEFONT=10]="BASEFONT",u[u.BGSOUND=11]="BGSOUND",u[u.BIG=12]="BIG",u[u.BLOCKQUOTE=13]="BLOCKQUOTE",u[u.BODY=14]="BODY",u[u.BR=15]="BR",u[u.BUTTON=16]="BUTTON",u[u.CAPTION=17]="CAPTION",u[u.CENTER=18]="CENTER",u[u.CODE=19]="CODE",u[u.COL=20]="COL",u[u.COLGROUP=21]="COLGROUP",u[u.DD=22]="DD",u[u.DESC=23]="DESC",u[u.DETAILS=24]="DETAILS",u[u.DIALOG=25]="DIALOG",u[u.DIR=26]="DIR",u[u.DIV=27]="DIV",u[u.DL=28]="DL",u[u.DT=29]="DT",u[u.EM=30]="EM",u[u.EMBED=31]="EMBED",u[u.FIELDSET=32]="FIELDSET",u[u.FIGCAPTION=33]="FIGCAPTION",u[u.FIGURE=34]="FIGURE",u[u.FONT=35]="FONT",u[u.FOOTER=36]="FOOTER",u[u.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",u[u.FORM=38]="FORM",u[u.FRAME=39]="FRAME",u[u.FRAMESET=40]="FRAMESET",u[u.H1=41]="H1",u[u.H2=42]="H2",u[u.H3=43]="H3",u[u.H4=44]="H4",u[u.H5=45]="H5",u[u.H6=46]="H6",u[u.HEAD=47]="HEAD",u[u.HEADER=48]="HEADER",u[u.HGROUP=49]="HGROUP",u[u.HR=50]="HR",u[u.HTML=51]="HTML",u[u.I=52]="I",u[u.IMG=53]="IMG",u[u.IMAGE=54]="IMAGE",u[u.INPUT=55]="INPUT",u[u.IFRAME=56]="IFRAME",u[u.KEYGEN=57]="KEYGEN",u[u.LABEL=58]="LABEL",u[u.LI=59]="LI",u[u.LINK=60]="LINK",u[u.LISTING=61]="LISTING",u[u.MAIN=62]="MAIN",u[u.MALIGNMARK=63]="MALIGNMARK",u[u.MARQUEE=64]="MARQUEE",u[u.MATH=65]="MATH",u[u.MENU=66]="MENU",u[u.META=67]="META",u[u.MGLYPH=68]="MGLYPH",u[u.MI=69]="MI",u[u.MO=70]="MO",u[u.MN=71]="MN",u[u.MS=72]="MS",u[u.MTEXT=73]="MTEXT",u[u.NAV=74]="NAV",u[u.NOBR=75]="NOBR",u[u.NOFRAMES=76]="NOFRAMES",u[u.NOEMBED=77]="NOEMBED",u[u.NOSCRIPT=78]="NOSCRIPT",u[u.OBJECT=79]="OBJECT",u[u.OL=80]="OL",u[u.OPTGROUP=81]="OPTGROUP",u[u.OPTION=82]="OPTION",u[u.P=83]="P",u[u.PARAM=84]="PARAM",u[u.PLAINTEXT=85]="PLAINTEXT",u[u.PRE=86]="PRE",u[u.RB=87]="RB",u[u.RP=88]="RP",u[u.RT=89]="RT",u[u.RTC=90]="RTC",u[u.RUBY=91]="RUBY",u[u.S=92]="S",u[u.SCRIPT=93]="SCRIPT",u[u.SECTION=94]="SECTION",u[u.SELECT=95]="SELECT",u[u.SOURCE=96]="SOURCE",u[u.SMALL=97]="SMALL",u[u.SPAN=98]="SPAN",u[u.STRIKE=99]="STRIKE",u[u.STRONG=100]="STRONG",u[u.STYLE=101]="STYLE",u[u.SUB=102]="SUB",u[u.SUMMARY=103]="SUMMARY",u[u.SUP=104]="SUP",u[u.TABLE=105]="TABLE",u[u.TBODY=106]="TBODY",u[u.TEMPLATE=107]="TEMPLATE",u[u.TEXTAREA=108]="TEXTAREA",u[u.TFOOT=109]="TFOOT",u[u.TD=110]="TD",u[u.TH=111]="TH",u[u.THEAD=112]="THEAD",u[u.TITLE=113]="TITLE",u[u.TR=114]="TR",u[u.TRACK=115]="TRACK",u[u.TT=116]="TT",u[u.U=117]="U",u[u.UL=118]="UL",u[u.SVG=119]="SVG",u[u.VAR=120]="VAR",u[u.WBR=121]="WBR",u[u.XMP=122]="XMP";let eu=new Map([[v.A,T.A],[v.ADDRESS,T.ADDRESS],[v.ANNOTATION_XML,T.ANNOTATION_XML],[v.APPLET,T.APPLET],[v.AREA,T.AREA],[v.ARTICLE,T.ARTICLE],[v.ASIDE,T.ASIDE],[v.B,T.B],[v.BASE,T.BASE],[v.BASEFONT,T.BASEFONT],[v.BGSOUND,T.BGSOUND],[v.BIG,T.BIG],[v.BLOCKQUOTE,T.BLOCKQUOTE],[v.BODY,T.BODY],[v.BR,T.BR],[v.BUTTON,T.BUTTON],[v.CAPTION,T.CAPTION],[v.CENTER,T.CENTER],[v.CODE,T.CODE],[v.COL,T.COL],[v.COLGROUP,T.COLGROUP],[v.DD,T.DD],[v.DESC,T.DESC],[v.DETAILS,T.DETAILS],[v.DIALOG,T.DIALOG],[v.DIR,T.DIR],[v.DIV,T.DIV],[v.DL,T.DL],[v.DT,T.DT],[v.EM,T.EM],[v.EMBED,T.EMBED],[v.FIELDSET,T.FIELDSET],[v.FIGCAPTION,T.FIGCAPTION],[v.FIGURE,T.FIGURE],[v.FONT,T.FONT],[v.FOOTER,T.FOOTER],[v.FOREIGN_OBJECT,T.FOREIGN_OBJECT],[v.FORM,T.FORM],[v.FRAME,T.FRAME],[v.FRAMESET,T.FRAMESET],[v.H1,T.H1],[v.H2,T.H2],[v.H3,T.H3],[v.H4,T.H4],[v.H5,T.H5],[v.H6,T.H6],[v.HEAD,T.HEAD],[v.HEADER,T.HEADER],[v.HGROUP,T.HGROUP],[v.HR,T.HR],[v.HTML,T.HTML],[v.I,T.I],[v.IMG,T.IMG],[v.IMAGE,T.IMAGE],[v.INPUT,T.INPUT],[v.IFRAME,T.IFRAME],[v.KEYGEN,T.KEYGEN],[v.LABEL,T.LABEL],[v.LI,T.LI],[v.LINK,T.LINK],[v.LISTING,T.LISTING],[v.MAIN,T.MAIN],[v.MALIGNMARK,T.MALIGNMARK],[v.MARQUEE,T.MARQUEE],[v.MATH,T.MATH],[v.MENU,T.MENU],[v.META,T.META],[v.MGLYPH,T.MGLYPH],[v.MI,T.MI],[v.MO,T.MO],[v.MN,T.MN],[v.MS,T.MS],[v.MTEXT,T.MTEXT],[v.NAV,T.NAV],[v.NOBR,T.NOBR],[v.NOFRAMES,T.NOFRAMES],[v.NOEMBED,T.NOEMBED],[v.NOSCRIPT,T.NOSCRIPT],[v.OBJECT,T.OBJECT],[v.OL,T.OL],[v.OPTGROUP,T.OPTGROUP],[v.OPTION,T.OPTION],[v.P,T.P],[v.PARAM,T.PARAM],[v.PLAINTEXT,T.PLAINTEXT],[v.PRE,T.PRE],[v.RB,T.RB],[v.RP,T.RP],[v.RT,T.RT],[v.RTC,T.RTC],[v.RUBY,T.RUBY],[v.S,T.S],[v.SCRIPT,T.SCRIPT],[v.SECTION,T.SECTION],[v.SELECT,T.SELECT],[v.SOURCE,T.SOURCE],[v.SMALL,T.SMALL],[v.SPAN,T.SPAN],[v.STRIKE,T.STRIKE],[v.STRONG,T.STRONG],[v.STYLE,T.STYLE],[v.SUB,T.SUB],[v.SUMMARY,T.SUMMARY],[v.SUP,T.SUP],[v.TABLE,T.TABLE],[v.TBODY,T.TBODY],[v.TEMPLATE,T.TEMPLATE],[v.TEXTAREA,T.TEXTAREA],[v.TFOOT,T.TFOOT],[v.TD,T.TD],[v.TH,T.TH],[v.THEAD,T.THEAD],[v.TITLE,T.TITLE],[v.TR,T.TR],[v.TRACK,T.TRACK],[v.TT,T.TT],[v.U,T.U],[v.UL,T.UL],[v.SVG,T.SVG],[v.VAR,T.VAR],[v.WBR,T.WBR],[v.XMP,T.XMP]]);function ed(e){var t;return null!==(t=eu.get(e))&&void 0!==t?t:T.UNKNOWN}let ep=T,ef={[b.HTML]:new Set([ep.ADDRESS,ep.APPLET,ep.AREA,ep.ARTICLE,ep.ASIDE,ep.BASE,ep.BASEFONT,ep.BGSOUND,ep.BLOCKQUOTE,ep.BODY,ep.BR,ep.BUTTON,ep.CAPTION,ep.CENTER,ep.COL,ep.COLGROUP,ep.DD,ep.DETAILS,ep.DIR,ep.DIV,ep.DL,ep.DT,ep.EMBED,ep.FIELDSET,ep.FIGCAPTION,ep.FIGURE,ep.FOOTER,ep.FORM,ep.FRAME,ep.FRAMESET,ep.H1,ep.H2,ep.H3,ep.H4,ep.H5,ep.H6,ep.HEAD,ep.HEADER,ep.HGROUP,ep.HR,ep.HTML,ep.IFRAME,ep.IMG,ep.INPUT,ep.LI,ep.LINK,ep.LISTING,ep.MAIN,ep.MARQUEE,ep.MENU,ep.META,ep.NAV,ep.NOEMBED,ep.NOFRAMES,ep.NOSCRIPT,ep.OBJECT,ep.OL,ep.P,ep.PARAM,ep.PLAINTEXT,ep.PRE,ep.SCRIPT,ep.SECTION,ep.SELECT,ep.SOURCE,ep.STYLE,ep.SUMMARY,ep.TABLE,ep.TBODY,ep.TD,ep.TEMPLATE,ep.TEXTAREA,ep.TFOOT,ep.TH,ep.THEAD,ep.TITLE,ep.TR,ep.TRACK,ep.UL,ep.WBR,ep.XMP]),[b.MATHML]:new Set([ep.MI,ep.MO,ep.MN,ep.MS,ep.MTEXT,ep.ANNOTATION_XML]),[b.SVG]:new Set([ep.TITLE,ep.FOREIGN_OBJECT,ep.DESC]),[b.XLINK]:new Set,[b.XML]:new Set,[b.XMLNS]:new Set};function eh(e){return e===ep.H1||e===ep.H2||e===ep.H3||e===ep.H4||e===ep.H5||e===ep.H6}v.STYLE,v.SCRIPT,v.XMP,v.IFRAME,v.NOEMBED,v.NOFRAMES,v.PLAINTEXT;let eg=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);(d=S||(S={}))[d.DATA=0]="DATA",d[d.RCDATA=1]="RCDATA",d[d.RAWTEXT=2]="RAWTEXT",d[d.SCRIPT_DATA=3]="SCRIPT_DATA",d[d.PLAINTEXT=4]="PLAINTEXT",d[d.TAG_OPEN=5]="TAG_OPEN",d[d.END_TAG_OPEN=6]="END_TAG_OPEN",d[d.TAG_NAME=7]="TAG_NAME",d[d.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",d[d.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",d[d.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",d[d.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",d[d.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",d[d.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",d[d.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",d[d.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",d[d.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",d[d.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",d[d.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",d[d.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",d[d.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",d[d.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",d[d.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",d[d.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",d[d.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",d[d.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",d[d.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",d[d.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",d[d.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",d[d.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",d[d.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",d[d.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",d[d.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",d[d.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",d[d.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",d[d.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",d[d.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",d[d.BOGUS_COMMENT=40]="BOGUS_COMMENT",d[d.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",d[d.COMMENT_START=42]="COMMENT_START",d[d.COMMENT_START_DASH=43]="COMMENT_START_DASH",d[d.COMMENT=44]="COMMENT",d[d.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",d[d.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",d[d.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",d[d.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",d[d.COMMENT_END_DASH=49]="COMMENT_END_DASH",d[d.COMMENT_END=50]="COMMENT_END",d[d.COMMENT_END_BANG=51]="COMMENT_END_BANG",d[d.DOCTYPE=52]="DOCTYPE",d[d.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",d[d.DOCTYPE_NAME=54]="DOCTYPE_NAME",d[d.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",d[d.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",d[d.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",d[d.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",d[d.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",d[d.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",d[d.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",d[d.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",d[d.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",d[d.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",d[d.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",d[d.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",d[d.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",d[d.CDATA_SECTION=68]="CDATA_SECTION",d[d.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",d[d.CDATA_SECTION_END=70]="CDATA_SECTION_END",d[d.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",d[d.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",d[d.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",d[d.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",d[d.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",d[d.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",d[d.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",d[d.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END";let em={DATA:S.DATA,RCDATA:S.RCDATA,RAWTEXT:S.RAWTEXT,SCRIPT_DATA:S.SCRIPT_DATA,PLAINTEXT:S.PLAINTEXT,CDATA_SECTION:S.CDATA_SECTION};function eb(e){return e>=h.DIGIT_0&&e<=h.DIGIT_9}function ey(e){return e>=h.LATIN_CAPITAL_A&&e<=h.LATIN_CAPITAL_Z}function eE(e){return e>=h.LATIN_SMALL_A&&e<=h.LATIN_SMALL_Z||ey(e)}function ev(e){return eE(e)||eb(e)}function eT(e){return e>=h.LATIN_CAPITAL_A&&e<=h.LATIN_CAPITAL_F}function eS(e){return e>=h.LATIN_SMALL_A&&e<=h.LATIN_SMALL_F}function eO(e){return e===h.SPACE||e===h.LINE_FEED||e===h.TABULATION||e===h.FORM_FEED}function eA(e){return eO(e)||e===h.SOLIDUS||e===h.GREATER_THAN_SIGN}class e_{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=S.DATA,this.returnState=S.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new es(t),this.currentLocation=this.getCurrentLocation(-1)}_err(e){var t,n;null===(n=(t=this.handler).onParseError)||void 0===n||n.call(t,this.preprocessor.getError(e))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw Error("Parser was already resumed");this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(e){this.consumedAfterSnapshot-=e,this.preprocessor.retreat(e)}_reconsumeInState(e,t){this.state=e,this._callState(t)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t0&&this._err(g.endTagWithAttributes),e.selfClosing&&this._err(g.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case m.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case m.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case m.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:m.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type!==e)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=t;return}}this._createCharacterToken(e,t)}_emitCodePoint(e){let t=eO(e)?m.WHITESPACE_CHARACTER:e===h.NULL?m.NULL_CHARACTER:m.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(m.CHARACTER,e)}_matchNamedCharacterReference(e){let t=null,n=0,r=!1;for(let i=0,o=ec.HP[0];i>=0&&!((i=(0,ec.Go)(ec.HP,o,i+1,e))<0);e=this._consume()){n+=1,o=ec.HP[i];let s=o&ec.ge.VALUE_LENGTH;if(s){var a;let o=(s>>14)-1;if(e!==h.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((a=this.preprocessor.peek(1))===h.EQUALS_SIGN||ev(a))?(t=[h.AMPERSAND],i+=o):(t=0===o?[ec.HP[i]&~ec.ge.VALUE_LENGTH]:1===o?[ec.HP[++i]]:[ec.HP[++i],ec.HP[++i]],n=0,r=e!==h.SEMICOLON),0===o){this._consume();break}}}return this._unconsume(n),r&&!this.preprocessor.endOfChunkHit&&this._err(g.missingSemicolonAfterCharacterReference),this._unconsume(1),t}_isCharacterReferenceInAttribute(){return this.returnState===S.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case S.DATA:this._stateData(e);break;case S.RCDATA:this._stateRcdata(e);break;case S.RAWTEXT:this._stateRawtext(e);break;case S.SCRIPT_DATA:this._stateScriptData(e);break;case S.PLAINTEXT:this._statePlaintext(e);break;case S.TAG_OPEN:this._stateTagOpen(e);break;case S.END_TAG_OPEN:this._stateEndTagOpen(e);break;case S.TAG_NAME:this._stateTagName(e);break;case S.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case S.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case S.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case S.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case S.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case S.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case S.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case S.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case S.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case S.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case S.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case S.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case S.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case S.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case S.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case S.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case S.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case S.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case S.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case S.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case S.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case S.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case S.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case S.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case S.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case S.BOGUS_COMMENT:this._stateBogusComment(e);break;case S.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case S.COMMENT_START:this._stateCommentStart(e);break;case S.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case S.COMMENT:this._stateComment(e);break;case S.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case S.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case S.COMMENT_END:this._stateCommentEnd(e);break;case S.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case S.DOCTYPE:this._stateDoctype(e);break;case S.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case S.DOCTYPE_NAME:this._stateDoctypeName(e);break;case S.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case S.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case S.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case S.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case S.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case S.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case S.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case S.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case S.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case S.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case S.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case S.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case S.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case S.CDATA_SECTION:this._stateCdataSection(e);break;case S.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case S.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case S.CHARACTER_REFERENCE:this._stateCharacterReference(e);break;case S.NAMED_CHARACTER_REFERENCE:this._stateNamedCharacterReference(e);break;case S.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;case S.NUMERIC_CHARACTER_REFERENCE:this._stateNumericCharacterReference(e);break;case S.HEXADEMICAL_CHARACTER_REFERENCE_START:this._stateHexademicalCharacterReferenceStart(e);break;case S.HEXADEMICAL_CHARACTER_REFERENCE:this._stateHexademicalCharacterReference(e);break;case S.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(e);break;case S.NUMERIC_CHARACTER_REFERENCE_END:this._stateNumericCharacterReferenceEnd(e);break;default:throw Error("Unknown state")}}_stateData(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.TAG_OPEN;break;case h.AMPERSAND:this.returnState=S.DATA,this.state=S.CHARACTER_REFERENCE;break;case h.NULL:this._err(g.unexpectedNullCharacter),this._emitCodePoint(e);break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case h.AMPERSAND:this.returnState=S.RCDATA,this.state=S.CHARACTER_REFERENCE;break;case h.LESS_THAN_SIGN:this.state=S.RCDATA_LESS_THAN_SIGN;break;case h.NULL:this._err(g.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.RAWTEXT_LESS_THAN_SIGN;break;case h.NULL:this._err(g.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.SCRIPT_DATA_LESS_THAN_SIGN;break;case h.NULL:this._err(g.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case h.NULL:this._err(g.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(eE(e))this._createStartTagToken(),this.state=S.TAG_NAME,this._stateTagName(e);else switch(e){case h.EXCLAMATION_MARK:this.state=S.MARKUP_DECLARATION_OPEN;break;case h.SOLIDUS:this.state=S.END_TAG_OPEN;break;case h.QUESTION_MARK:this._err(g.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=S.BOGUS_COMMENT,this._stateBogusComment(e);break;case h.EOF:this._err(g.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(g.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=S.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(eE(e))this._createEndTagToken(),this.state=S.TAG_NAME,this._stateTagName(e);else switch(e){case h.GREATER_THAN_SIGN:this._err(g.missingEndTagName),this.state=S.DATA;break;case h.EOF:this._err(g.eofBeforeTagName),this._emitChars("");break;case h.NULL:this._err(g.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case h.EOF:this._err(g.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===h.SOLIDUS?this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:eE(e)?(this._emitChars("<"),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=S.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){eE(e)?(this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("");break;case h.NULL:this._err(g.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case h.EOF:this._err(g.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===h.SOLIDUS?(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(er.SCRIPT,!1)&&eA(this.preprocessor.peek(er.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e1114111)this._err(g.characterReferenceOutsideUnicodeRange),this.charRefCode=h.REPLACEMENT_CHARACTER;else if(ea(this.charRefCode))this._err(g.surrogateCharacterReference),this.charRefCode=h.REPLACEMENT_CHARACTER;else if(eo(this.charRefCode))this._err(g.noncharacterCharacterReference);else if(ei(this.charRefCode)||this.charRefCode===h.CARRIAGE_RETURN){this._err(g.controlCharacterReference);let e=eg.get(this.charRefCode);void 0!==e&&(this.charRefCode=e)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}}let ek=new Set([T.DD,T.DT,T.LI,T.OPTGROUP,T.OPTION,T.P,T.RB,T.RP,T.RT,T.RTC]),ex=new Set([...ek,T.CAPTION,T.COLGROUP,T.TBODY,T.TD,T.TFOOT,T.TH,T.THEAD,T.TR]),eC=new Map([[T.APPLET,b.HTML],[T.CAPTION,b.HTML],[T.HTML,b.HTML],[T.MARQUEE,b.HTML],[T.OBJECT,b.HTML],[T.TABLE,b.HTML],[T.TD,b.HTML],[T.TEMPLATE,b.HTML],[T.TH,b.HTML],[T.ANNOTATION_XML,b.MATHML],[T.MI,b.MATHML],[T.MN,b.MATHML],[T.MO,b.MATHML],[T.MS,b.MATHML],[T.MTEXT,b.MATHML],[T.DESC,b.SVG],[T.FOREIGN_OBJECT,b.SVG],[T.TITLE,b.SVG]]),ew=[T.H1,T.H2,T.H3,T.H4,T.H5,T.H6],eI=[T.TR,T.TEMPLATE,T.HTML],eR=[T.TBODY,T.TFOOT,T.THEAD,T.TEMPLATE,T.HTML],eN=[T.TABLE,T.TEMPLATE,T.HTML],eL=[T.TD,T.TH];class eD{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=T.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===T.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===b.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){let r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==b.HTML);this.shortenToLength(t<0?0:t)}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop=0;n--)if(e.includes(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return -1}clearBackTo(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(eN,b.HTML)}clearBackToTableBodyContext(){this.clearBackTo(eR,b.HTML)}clearBackToTableRowContext(){this.clearBackTo(eI,b.HTML)}remove(e){let t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===T.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===T.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(eC.get(n)===r)return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(eh(t)&&n===b.HTML)break;if(eC.get(t)===n)return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if((n===T.UL||n===T.OL)&&r===b.HTML||eC.get(n)===r)return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(n===T.BUTTON&&r===b.HTML||eC.get(n)===r)return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n===T.TABLE||n===T.TEMPLATE||n===T.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(n===b.HTML){if(t===T.TBODY||t===T.THEAD||t===T.TFOOT)break;if(t===T.TABLE||t===T.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n!==T.OPTION&&n!==T.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;ek.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;ex.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&ex.has(this.currentTagId);)this.pop()}}(p=O=O||(O={}))[p.Marker=0]="Marker",p[p.Element=1]="Element";let eP={type:O.Marker};class eM{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let n=[],r=t.length,a=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let e=0;e[e.name,e.value])),a=0;for(let e=0;er.get(e.name)===e.value)&&(a+=1)>=3&&this.entries.splice(t.idx,1)}}insertMarker(){this.entries.unshift(eP)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:O.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:O.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);t>=0&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(eP);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===O.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===O.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===O.Element&&t.element===e)}}function eF(e){return{nodeName:"#text",value:e,parentNode:null}}let eB={createDocument:()=>({nodeName:"#document",mode:E.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){let r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,n,r){let a=e.childNodes.find(e=>"#documentType"===e.nodeName);a?(a.name=t,a.publicId=n,a.systemId=r):eB.appendChild(e,{nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null})},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let n=e.childNodes[e.childNodes.length-1];if(eB.isTextNode(n)){n.value+=t;return}}eB.appendChild(e,eF(t))},insertTextBefore(e,t,n){let r=e.childNodes[e.childNodes.indexOf(n)-1];r&&eB.isTextNode(r)?r.value+=t:eB.insertBefore(e,eF(t),n)},adoptAttributes(e,t){let n=new Set(e.attrs.map(e=>e.name));for(let r=0;re.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},ej="html",eU=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],eG=[...eU,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],eH=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),e$=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],ez=[...e$,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function eZ(e,t){return t.some(t=>e.startsWith(t))}let eW={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},eV=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),eY=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:b.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:b.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:b.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:b.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:b.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:b.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:b.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:b.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:b.XML}],["xml:space",{prefix:"xml",name:"space",namespace:b.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:b.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:b.XMLNS}]]),eq=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),eX=new Set([T.B,T.BIG,T.BLOCKQUOTE,T.BODY,T.BR,T.CENTER,T.CODE,T.DD,T.DIV,T.DL,T.DT,T.EM,T.EMBED,T.H1,T.H2,T.H3,T.H4,T.H5,T.H6,T.HEAD,T.HR,T.I,T.IMG,T.LI,T.LISTING,T.MENU,T.META,T.NOBR,T.OL,T.P,T.PRE,T.RUBY,T.S,T.SMALL,T.SPAN,T.STRONG,T.STRIKE,T.SUB,T.SUP,T.TABLE,T.TT,T.U,T.UL,T.VAR]);function eK(e){for(let t=0;t0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null===(r=(n=this.treeAdapter).onItemPop)||void 0===r||r.call(n,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let n=e===this.document||this.treeAdapter.getNamespaceURI(e)===b.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,b.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=A.TEXT}switchToPlaintextParsing(){this.insertionMode=A.TEXT,this.originalInsertionMode=A.IN_BODY,this.tokenizer.state=em.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===v.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===b.HTML)switch(this.fragmentContextID){case T.TITLE:case T.TEXTAREA:this.tokenizer.state=em.RCDATA;break;case T.STYLE:case T.XMP:case T.IFRAME:case T.NOEMBED:case T.NOFRAMES:case T.NOSCRIPT:this.tokenizer.state=em.RAWTEXT;break;case T.SCRIPT:this.tokenizer.state=em.SCRIPT_DATA;break;case T.PLAINTEXT:this.tokenizer.state=em.PLAINTEXT}}_setDocumentType(e){let t=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){let t=this.treeAdapter.getChildNodes(this.document),n=t.find(e=>this.treeAdapter.isDocumentTypeNode(e));n&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){let n=this.treeAdapter.createElement(e,b.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,b.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(v.HTML,b.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,T.HTML)}_appendCommentNode(e,t){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let r=this.treeAdapter.getChildNodes(t),a=n?r.lastIndexOf(n):r.length,i=r[a-1],o=this.treeAdapter.getNodeSourceCodeLocation(i);if(o){let{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let n=t.location,r=this.treeAdapter.getTagName(e),a=t.type===m.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,a)}}shouldProcessStartTagTokenInForeignContent(e){let t,n;return!!this.currentNotInHTML&&(0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):{current:t,currentTagId:n}=this.openElements,(e.tagID!==T.SVG||this.treeAdapter.getTagName(t)!==v.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==b.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===T.MGLYPH||e.tagID===T.MALIGNMARK)&&!this._isIntegrationPoint(n,t,b.HTML)))}_processToken(e){switch(e.type){case m.CHARACTER:this.onCharacter(e);break;case m.NULL_CHARACTER:this.onNullCharacter(e);break;case m.COMMENT:this.onComment(e);break;case m.DOCTYPE:this.onDoctype(e);break;case m.START_TAG:this._processStartTag(e);break;case m.END_TAG:this.onEndTag(e);break;case m.EOF:this.onEof(e);break;case m.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){let r=this.treeAdapter.getNamespaceURI(t),a=this.treeAdapter.getAttrList(t);return(!n||n===b.HTML)&&function(e,t,n){if(t===b.MATHML&&e===T.ANNOTATION_XML){for(let e=0;ee.type===O.Marker||this.openElements.contains(e.element)),n=t<0?e-1:t-1;for(let e=n;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=A.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(T.P),this.openElements.popUntilTagNamePopped(T.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case T.TR:this.insertionMode=A.IN_ROW;return;case T.TBODY:case T.THEAD:case T.TFOOT:this.insertionMode=A.IN_TABLE_BODY;return;case T.CAPTION:this.insertionMode=A.IN_CAPTION;return;case T.COLGROUP:this.insertionMode=A.IN_COLUMN_GROUP;return;case T.TABLE:this.insertionMode=A.IN_TABLE;return;case T.BODY:this.insertionMode=A.IN_BODY;return;case T.FRAMESET:this.insertionMode=A.IN_FRAMESET;return;case T.SELECT:this._resetInsertionModeForSelect(e);return;case T.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case T.HTML:this.insertionMode=this.headElement?A.AFTER_HEAD:A.BEFORE_HEAD;return;case T.TD:case T.TH:if(e>0){this.insertionMode=A.IN_CELL;return}break;case T.HEAD:if(e>0){this.insertionMode=A.IN_HEAD;return}}this.insertionMode=A.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===T.TEMPLATE)break;if(e===T.TABLE){this.insertionMode=A.IN_SELECT_IN_TABLE;return}}this.insertionMode=A.IN_SELECT}_isElementCausesFosterParenting(e){return e1.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case T.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===b.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case T.TABLE:{let n=this.treeAdapter.getParentNode(t);if(n)return{parent:n,beforeElement:t};return{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){let n=this.treeAdapter.getNamespaceURI(e);return ef[n].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){this._insertCharacters(e),this.framesetOk=!1;return}switch(this.insertionMode){case A.INITIAL:e9(this,e);break;case A.BEFORE_HTML:e8(this,e);break;case A.BEFORE_HEAD:e7(this,e);break;case A.IN_HEAD:tn(this,e);break;case A.IN_HEAD_NO_SCRIPT:tr(this,e);break;case A.AFTER_HEAD:ta(this,e);break;case A.IN_BODY:case A.IN_CAPTION:case A.IN_CELL:case A.IN_TEMPLATE:ts(this,e);break;case A.TEXT:case A.IN_SELECT:case A.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case A.IN_TABLE:case A.IN_TABLE_BODY:case A.IN_ROW:tm(this,e);break;case A.IN_TABLE_TEXT:tT(this,e);break;case A.IN_COLUMN_GROUP:t_(this,e);break;case A.AFTER_BODY:tD(this,e);break;case A.AFTER_AFTER_BODY:tP(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){e.chars="�",this._insertCharacters(e);return}switch(this.insertionMode){case A.INITIAL:e9(this,e);break;case A.BEFORE_HTML:e8(this,e);break;case A.BEFORE_HEAD:e7(this,e);break;case A.IN_HEAD:tn(this,e);break;case A.IN_HEAD_NO_SCRIPT:tr(this,e);break;case A.AFTER_HEAD:ta(this,e);break;case A.TEXT:this._insertCharacters(e);break;case A.IN_TABLE:case A.IN_TABLE_BODY:case A.IN_ROW:tm(this,e);break;case A.IN_COLUMN_GROUP:t_(this,e);break;case A.AFTER_BODY:tD(this,e);break;case A.AFTER_AFTER_BODY:tP(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){e4(this,e);return}switch(this.insertionMode){case A.INITIAL:case A.BEFORE_HTML:case A.BEFORE_HEAD:case A.IN_HEAD:case A.IN_HEAD_NO_SCRIPT:case A.AFTER_HEAD:case A.IN_BODY:case A.IN_TABLE:case A.IN_CAPTION:case A.IN_COLUMN_GROUP:case A.IN_TABLE_BODY:case A.IN_ROW:case A.IN_CELL:case A.IN_SELECT:case A.IN_SELECT_IN_TABLE:case A.IN_TEMPLATE:case A.IN_FRAMESET:case A.AFTER_FRAMESET:e4(this,e);break;case A.IN_TABLE_TEXT:tS(this,e);break;case A.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case A.AFTER_AFTER_BODY:case A.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case A.INITIAL:!function(e,t){e._setDocumentType(t);let n=t.forceQuirks?E.QUIRKS:function(e){if(e.name!==ej)return E.QUIRKS;let{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return E.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),eH.has(n))return E.QUIRKS;let e=null===t?eG:eU;if(eZ(n,e))return E.QUIRKS;if(eZ(n,e=null===t?e$:ez))return E.LIMITED_QUIRKS}return E.NO_QUIRKS}(t);t.name===ej&&null===t.publicId&&(null===t.systemId||"about:legacy-compat"===t.systemId)||e._err(t,g.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=A.BEFORE_HTML}(this,e);break;case A.BEFORE_HEAD:case A.IN_HEAD:case A.IN_HEAD_NO_SCRIPT:case A.AFTER_HEAD:this._err(e,g.misplacedDoctype);break;case A.IN_TABLE_TEXT:tS(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,g.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){let t=e.tagID,n=t===T.FONT&&e.attrs.some(({name:e})=>e===y.COLOR||e===y.SIZE||e===y.FACE);return n||eX.has(t)}(t))tM(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===b.MATHML?eK(t):r===b.SVG&&(function(e){let t=eq.get(e.tagName);null!=t&&(e.tagName=t,e.tagID=ed(e.tagName))}(t),eQ(t)),eJ(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case A.INITIAL:e9(this,e);break;case A.BEFORE_HTML:e.tagID===T.HTML?(this._insertElement(e,b.HTML),this.insertionMode=A.BEFORE_HEAD):e8(this,e);break;case A.BEFORE_HEAD:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.HEAD:e._insertElement(t,b.HTML),e.headElement=e.openElements.current,e.insertionMode=A.IN_HEAD;break;default:e7(e,t)}}(this,e);break;case A.IN_HEAD:te(this,e);break;case A.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BASEFONT:case T.BGSOUND:case T.HEAD:case T.LINK:case T.META:case T.NOFRAMES:case T.STYLE:te(e,t);break;case T.NOSCRIPT:e._err(t,g.nestedNoscriptInHead);break;default:tr(e,t)}}(this,e);break;case A.AFTER_HEAD:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BODY:e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=A.IN_BODY;break;case T.FRAMESET:e._insertElement(t,b.HTML),e.insertionMode=A.IN_FRAMESET;break;case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:e._err(t,g.abandonedHeadElementChild),e.openElements.push(e.headElement,T.HEAD),te(e,t),e.openElements.remove(e.headElement);break;case T.HEAD:e._err(t,g.misplacedStartTagForHeadElement);break;default:ta(e,t)}}(this,e);break;case A.IN_BODY:tp(this,e);break;case A.IN_TABLE:tb(this,e);break;case A.IN_TABLE_TEXT:tS(this,e);break;case A.IN_CAPTION:!function(e,t){let n=t.tagID;tO.has(n)?e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=A.IN_TABLE,tb(e,t)):tp(e,t)}(this,e);break;case A.IN_COLUMN_GROUP:tA(this,e);break;case A.IN_TABLE_BODY:tk(this,e);break;case A.IN_ROW:tC(this,e);break;case A.IN_CELL:!function(e,t){let n=t.tagID;tO.has(n)?(e.openElements.hasInTableScope(T.TD)||e.openElements.hasInTableScope(T.TH))&&(e._closeTableCell(),tC(e,t)):tp(e,t)}(this,e);break;case A.IN_SELECT:tI(this,e);break;case A.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e._processStartTag(t)):tI(e,t)}(this,e);break;case A.IN_TEMPLATE:!function(e,t){switch(t.tagID){case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:te(e,t);break;case T.CAPTION:case T.COLGROUP:case T.TBODY:case T.TFOOT:case T.THEAD:e.tmplInsertionModeStack[0]=A.IN_TABLE,e.insertionMode=A.IN_TABLE,tb(e,t);break;case T.COL:e.tmplInsertionModeStack[0]=A.IN_COLUMN_GROUP,e.insertionMode=A.IN_COLUMN_GROUP,tA(e,t);break;case T.TR:e.tmplInsertionModeStack[0]=A.IN_TABLE_BODY,e.insertionMode=A.IN_TABLE_BODY,tk(e,t);break;case T.TD:case T.TH:e.tmplInsertionModeStack[0]=A.IN_ROW,e.insertionMode=A.IN_ROW,tC(e,t);break;default:e.tmplInsertionModeStack[0]=A.IN_BODY,e.insertionMode=A.IN_BODY,tp(e,t)}}(this,e);break;case A.AFTER_BODY:e.tagID===T.HTML?tp(this,e):tD(this,e);break;case A.IN_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.FRAMESET:e._insertElement(t,b.HTML);break;case T.FRAME:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.NOFRAMES:te(e,t)}}(this,e);break;case A.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.NOFRAMES:te(e,t)}}(this,e);break;case A.AFTER_AFTER_BODY:e.tagID===T.HTML?tp(this,e):tP(this,e);break;case A.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.NOFRAMES:te(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===T.P||t.tagID===T.BR){tM(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){let r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===b.HTML){e._endTagOutsideForeignContent(t);break}let a=e.treeAdapter.getTagName(r);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){var t;switch(this.insertionMode){case A.INITIAL:e9(this,e);break;case A.BEFORE_HTML:!function(e,t){let n=t.tagID;(n===T.HTML||n===T.HEAD||n===T.BODY||n===T.BR)&&e8(e,t)}(this,e);break;case A.BEFORE_HEAD:!function(e,t){let n=t.tagID;n===T.HEAD||n===T.BODY||n===T.HTML||n===T.BR?e7(e,t):e._err(t,g.endTagWithoutMatchingOpenElement)}(this,e);break;case A.IN_HEAD:!function(e,t){switch(t.tagID){case T.HEAD:e.openElements.pop(),e.insertionMode=A.AFTER_HEAD;break;case T.BODY:case T.BR:case T.HTML:tn(e,t);break;case T.TEMPLATE:tt(e,t);break;default:e._err(t,g.endTagWithoutMatchingOpenElement)}}(this,e);break;case A.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case T.NOSCRIPT:e.openElements.pop(),e.insertionMode=A.IN_HEAD;break;case T.BR:tr(e,t);break;default:e._err(t,g.endTagWithoutMatchingOpenElement)}}(this,e);break;case A.AFTER_HEAD:!function(e,t){switch(t.tagID){case T.BODY:case T.HTML:case T.BR:ta(e,t);break;case T.TEMPLATE:tt(e,t);break;default:e._err(t,g.endTagWithoutMatchingOpenElement)}}(this,e);break;case A.IN_BODY:th(this,e);break;case A.TEXT:e.tagID===T.SCRIPT&&(null===(t=this.scriptHandler)||void 0===t||t.call(this,this.openElements.current)),this.openElements.pop(),this.insertionMode=this.originalInsertionMode;break;case A.IN_TABLE:ty(this,e);break;case A.IN_TABLE_TEXT:tS(this,e);break;case A.IN_CAPTION:!function(e,t){let n=t.tagID;switch(n){case T.CAPTION:case T.TABLE:e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=A.IN_TABLE,n===T.TABLE&&ty(e,t));break;case T.BODY:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:th(e,t)}}(this,e);break;case A.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case T.COLGROUP:e.openElements.currentTagId===T.COLGROUP&&(e.openElements.pop(),e.insertionMode=A.IN_TABLE);break;case T.TEMPLATE:tt(e,t);break;case T.COL:break;default:t_(e,t)}}(this,e);break;case A.IN_TABLE_BODY:tx(this,e);break;case A.IN_ROW:tw(this,e);break;case A.IN_CELL:!function(e,t){let n=t.tagID;switch(n){case T.TD:case T.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=A.IN_ROW);break;case T.TABLE:case T.TBODY:case T.TFOOT:case T.THEAD:case T.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),tw(e,t));break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:break;default:th(e,t)}}(this,e);break;case A.IN_SELECT:tR(this,e);break;case A.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e.onEndTag(t)):tR(e,t)}(this,e);break;case A.IN_TEMPLATE:e.tagID===T.TEMPLATE&&tt(this,e);break;case A.AFTER_BODY:tL(this,e);break;case A.IN_FRAMESET:e.tagID!==T.FRAMESET||this.openElements.isRootHtmlElementCurrent()||(this.openElements.pop(),this.fragmentContext||this.openElements.currentTagId===T.FRAMESET||(this.insertionMode=A.AFTER_FRAMESET));break;case A.AFTER_FRAMESET:e.tagID===T.HTML&&(this.insertionMode=A.AFTER_AFTER_FRAMESET);break;case A.AFTER_AFTER_BODY:tP(this,e)}}onEof(e){switch(this.insertionMode){case A.INITIAL:e9(this,e);break;case A.BEFORE_HTML:e8(this,e);break;case A.BEFORE_HEAD:e7(this,e);break;case A.IN_HEAD:tn(this,e);break;case A.IN_HEAD_NO_SCRIPT:tr(this,e);break;case A.AFTER_HEAD:ta(this,e);break;case A.IN_BODY:case A.IN_TABLE:case A.IN_CAPTION:case A.IN_COLUMN_GROUP:case A.IN_TABLE_BODY:case A.IN_ROW:case A.IN_CELL:case A.IN_SELECT:case A.IN_SELECT_IN_TABLE:tg(this,e);break;case A.TEXT:this._err(e,g.eofInElementThatCanContainOnlyText),this.openElements.pop(),this.insertionMode=this.originalInsertionMode,this.onEof(e);break;case A.IN_TABLE_TEXT:tS(this,e);break;case A.IN_TEMPLATE:tN(this,e);break;case A.AFTER_BODY:case A.IN_FRAMESET:case A.AFTER_FRAMESET:case A.AFTER_AFTER_BODY:case A.AFTER_AFTER_FRAMESET:e6(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===h.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case A.IN_HEAD:case A.IN_HEAD_NO_SCRIPT:case A.AFTER_HEAD:case A.TEXT:case A.IN_COLUMN_GROUP:case A.IN_SELECT:case A.IN_SELECT_IN_TABLE:case A.IN_FRAMESET:case A.AFTER_FRAMESET:this._insertCharacters(e);break;case A.IN_BODY:case A.IN_CAPTION:case A.IN_CELL:case A.IN_TEMPLATE:case A.AFTER_BODY:case A.AFTER_AFTER_BODY:case A.AFTER_AFTER_FRAMESET:to(this,e);break;case A.IN_TABLE:case A.IN_TABLE_BODY:case A.IN_ROW:tm(this,e);break;case A.IN_TABLE_TEXT:tv(this,e)}}}function e5(e,t){for(let n=0;n<8;n++){let n=function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):tf(e,t),n}(e,t);if(!n)break;let r=function(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){let a=e.openElements.items[r];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[r])&&(n=a)}return n||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;let a=function(e,t,n){let r=t,a=e.openElements.getCommonAncestor(t);for(let i=0,o=a;o!==n;i++,o=a){a=e.openElements.getCommonAncestor(o);let n=e.activeFormattingElements.getElementEntry(o),s=n&&i>=3,l=!n||s;l?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(o)):(o=function(e,t){let n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}(e,r,n.element),i=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(a),i&&function(e,t,n){let r=e.treeAdapter.getTagName(t),a=ed(r);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(n);else{let r=e.treeAdapter.getNamespaceURI(t);a===T.TEMPLATE&&r===b.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}(e,i,a),function(e,t,n){let r=e.treeAdapter.getNamespaceURI(n.element),{token:a}=n,i=e.treeAdapter.createElement(a.tagName,r,a.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,a),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,a.tagID)}(e,r,n)}}function e4(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function e6(e,t){if(e.stopped=!0,t.location){let n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){let n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function e9(e,t){e._err(t,g.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,E.QUIRKS),e.insertionMode=A.BEFORE_HTML,e._processToken(t)}function e8(e,t){e._insertFakeRootElement(),e.insertionMode=A.BEFORE_HEAD,e._processToken(t)}function e7(e,t){e._insertFakeElement(v.HEAD,T.HEAD),e.headElement=e.openElements.current,e.insertionMode=A.IN_HEAD,e._processToken(t)}function te(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.TITLE:e._switchToTextParsing(t,em.RCDATA);break;case T.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,em.RAWTEXT):(e._insertElement(t,b.HTML),e.insertionMode=A.IN_HEAD_NO_SCRIPT);break;case T.NOFRAMES:case T.STYLE:e._switchToTextParsing(t,em.RAWTEXT);break;case T.SCRIPT:e._switchToTextParsing(t,em.SCRIPT_DATA);break;case T.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=A.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(A.IN_TEMPLATE);break;case T.HEAD:e._err(t,g.misplacedStartTagForHeadElement);break;default:tn(e,t)}}function tt(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==T.TEMPLATE&&e._err(t,g.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,g.endTagWithoutMatchingOpenElement)}function tn(e,t){e.openElements.pop(),e.insertionMode=A.AFTER_HEAD,e._processToken(t)}function tr(e,t){let n=t.type===m.EOF?g.openElementsLeftAfterEof:g.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=A.IN_HEAD,e._processToken(t)}function ta(e,t){e._insertFakeElement(v.BODY,T.BODY),e.insertionMode=A.IN_BODY,ti(e,t)}function ti(e,t){switch(t.type){case m.CHARACTER:ts(e,t);break;case m.WHITESPACE_CHARACTER:to(e,t);break;case m.COMMENT:e4(e,t);break;case m.START_TAG:tp(e,t);break;case m.END_TAG:th(e,t);break;case m.EOF:tg(e,t)}}function to(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function ts(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function tl(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function tc(e){let t=el(e,y.TYPE);return null!=t&&"hidden"===t.toLowerCase()}function tu(e,t){e._switchToTextParsing(t,em.RAWTEXT)}function td(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML)}function tp(e,t){switch(t.tagID){case T.I:case T.S:case T.B:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.SMALL:case T.STRIKE:case T.STRONG:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case T.A:!function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(v.A);n&&(e5(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),eh(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,b.HTML);break;case T.P:case T.DL:case T.OL:case T.UL:case T.DIV:case T.DIR:case T.NAV:case T.MAIN:case T.MENU:case T.ASIDE:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.DETAILS:case T.ADDRESS:case T.ARTICLE:case T.SECTION:case T.SUMMARY:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML);break;case T.LI:case T.DD:case T.DT:!function(e,t){e.framesetOk=!1;let n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let r=e.openElements.tagIDs[t];if(n===T.LI&&r===T.LI||(n===T.DD||n===T.DT)&&(r===T.DD||r===T.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==T.ADDRESS&&r!==T.DIV&&r!==T.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML)}(e,t);break;case T.BR:case T.IMG:case T.WBR:case T.AREA:case T.EMBED:case T.KEYGEN:tl(e,t);break;case T.HR:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0;break;case T.RB:case T.RTC:e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,b.HTML);break;case T.RT:case T.RP:e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(T.RTC),e._insertElement(t,b.HTML);break;case T.PRE:case T.LISTING:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.framesetOk=!1;break;case T.XMP:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,em.RAWTEXT);break;case T.SVG:e._reconstructActiveFormattingElements(),eQ(t),eJ(t),t.selfClosing?e._appendElement(t,b.SVG):e._insertElement(t,b.SVG),t.ackSelfClosing=!0;break;case T.HTML:0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs);break;case T.BASE:case T.LINK:case T.META:case T.STYLE:case T.TITLE:case T.SCRIPT:case T.BGSOUND:case T.BASEFONT:case T.TEMPLATE:te(e,t);break;case T.BODY:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t);break;case T.FORM:!function(e,t){let n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),n||(e.formElement=e.openElements.current))}(e,t);break;case T.NOBR:e._reconstructActiveFormattingElements(),e.openElements.hasInScope(T.NOBR)&&(e5(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case T.MATH:e._reconstructActiveFormattingElements(),eK(t),eJ(t),t.selfClosing?e._appendElement(t,b.MATHML):e._insertElement(t,b.MATHML),t.ackSelfClosing=!0;break;case T.TABLE:e.treeAdapter.getDocumentMode(e.document)!==E.QUIRKS&&e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=A.IN_TABLE;break;case T.INPUT:e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),tc(t)||(e.framesetOk=!1),t.ackSelfClosing=!0;break;case T.PARAM:case T.TRACK:case T.SOURCE:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.IMAGE:t.tagName=v.IMG,t.tagID=T.IMG,tl(e,t);break;case T.BUTTON:e.openElements.hasInScope(T.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1;break;case T.APPLET:case T.OBJECT:case T.MARQUEE:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1;break;case T.IFRAME:e.framesetOk=!1,e._switchToTextParsing(t,em.RAWTEXT);break;case T.SELECT:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===A.IN_TABLE||e.insertionMode===A.IN_CAPTION||e.insertionMode===A.IN_TABLE_BODY||e.insertionMode===A.IN_ROW||e.insertionMode===A.IN_CELL?A.IN_SELECT_IN_TABLE:A.IN_SELECT;break;case T.OPTION:case T.OPTGROUP:e.openElements.currentTagId===T.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML);break;case T.NOEMBED:tu(e,t);break;case T.FRAMESET:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,b.HTML),e.insertionMode=A.IN_FRAMESET)}(e,t);break;case T.TEXTAREA:e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.tokenizer.state=em.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=A.TEXT;break;case T.NOSCRIPT:e.options.scriptingEnabled?tu(e,t):td(e,t);break;case T.PLAINTEXT:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.tokenizer.state=em.PLAINTEXT;break;case T.COL:case T.TH:case T.TD:case T.TR:case T.HEAD:case T.FRAME:case T.TBODY:case T.TFOOT:case T.THEAD:case T.CAPTION:case T.COLGROUP:break;default:td(e,t)}}function tf(e,t){let n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let a=e.openElements.items[t],i=e.openElements.tagIDs[t];if(r===i&&(r!==T.UNKNOWN||e.treeAdapter.getTagName(a)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(a,i))break}}function th(e,t){switch(t.tagID){case T.A:case T.B:case T.I:case T.S:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.NOBR:case T.SMALL:case T.STRIKE:case T.STRONG:e5(e,t);break;case T.P:e.openElements.hasInButtonScope(T.P)||e._insertFakeElement(v.P,T.P),e._closePElement();break;case T.DL:case T.UL:case T.OL:case T.DIR:case T.DIV:case T.NAV:case T.PRE:case T.MAIN:case T.MENU:case T.ASIDE:case T.BUTTON:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.ADDRESS:case T.ARTICLE:case T.DETAILS:case T.SECTION:case T.SUMMARY:case T.LISTING:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case T.LI:e.openElements.hasInListItemScope(T.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(T.LI),e.openElements.popUntilTagNamePopped(T.LI));break;case T.DD:case T.DT:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped());break;case T.BR:e._reconstructActiveFormattingElements(),e._insertFakeElement(v.BR,T.BR),e.openElements.pop(),e.framesetOk=!1;break;case T.BODY:!function(e,t){if(e.openElements.hasInScope(T.BODY)&&(e.insertionMode=A.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}(e,t);break;case T.HTML:e.openElements.hasInScope(T.BODY)&&(e.insertionMode=A.AFTER_BODY,tL(e,t));break;case T.FORM:!function(e){let t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(T.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(T.FORM):n&&e.openElements.remove(n))}(e);break;case T.APPLET:case T.OBJECT:case T.MARQUEE:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}(e,t);break;case T.TEMPLATE:tt(e,t);break;default:tf(e,t)}}function tg(e,t){e.tmplInsertionModeStack.length>0?tN(e,t):e6(e,t)}function tm(e,t){if(e1.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=A.IN_TABLE_TEXT,t.type){case m.CHARACTER:tT(e,t);break;case m.WHITESPACE_CHARACTER:tv(e,t)}else tE(e,t)}function tb(e,t){switch(t.tagID){case T.TD:case T.TH:case T.TR:e.openElements.clearBackToTableContext(),e._insertFakeElement(v.TBODY,T.TBODY),e.insertionMode=A.IN_TABLE_BODY,tk(e,t);break;case T.STYLE:case T.SCRIPT:case T.TEMPLATE:te(e,t);break;case T.COL:e.openElements.clearBackToTableContext(),e._insertFakeElement(v.COLGROUP,T.COLGROUP),e.insertionMode=A.IN_COLUMN_GROUP,tA(e,t);break;case T.FORM:e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,b.HTML),e.formElement=e.openElements.current,e.openElements.pop());break;case T.TABLE:e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode(),e._processStartTag(t));break;case T.TBODY:case T.TFOOT:case T.THEAD:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=A.IN_TABLE_BODY;break;case T.INPUT:tc(t)?e._appendElement(t,b.HTML):tE(e,t),t.ackSelfClosing=!0;break;case T.CAPTION:e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,b.HTML),e.insertionMode=A.IN_CAPTION;break;case T.COLGROUP:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=A.IN_COLUMN_GROUP;break;default:tE(e,t)}}function ty(e,t){switch(t.tagID){case T.TABLE:e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode());break;case T.TEMPLATE:tt(e,t);break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:tE(e,t)}}function tE(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,ti(e,t),e.fosterParentingEnabled=n}function tv(e,t){e.pendingCharacterTokens.push(t)}function tT(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function tS(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0&&e.openElements.currentTagId===T.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===T.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===T.OPTGROUP&&e.openElements.pop();break;case T.OPTION:e.openElements.currentTagId===T.OPTION&&e.openElements.pop();break;case T.SELECT:e.openElements.hasInSelectScope(T.SELECT)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode());break;case T.TEMPLATE:tt(e,t)}}function tN(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):e6(e,t)}function tL(e,t){var n;if(t.tagID===T.HTML){if(e.fragmentContext||(e.insertionMode=A.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===T.HTML){e._setEndLocation(e.openElements.items[0],t);let r=e.openElements.items[1];!r||(null===(n=e.treeAdapter.getNodeSourceCodeLocation(r))||void 0===n?void 0:n.endTag)||e._setEndLocation(r,t)}}else tD(e,t)}function tD(e,t){e.insertionMode=A.IN_BODY,ti(e,t)}function tP(e,t){e.insertionMode=A.IN_BODY,ti(e,t)}function tM(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==b.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}n(43470),v.AREA,v.BASE,v.BASEFONT,v.BGSOUND,v.BR,v.COL,v.EMBED,v.FRAME,v.HR,v.IMG,v.INPUT,v.KEYGEN,v.LINK,v.META,v.PARAM,v.SOURCE,v.TRACK,v.WBR;var tF=n(3980),tB=n(21623);let tj=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),tU={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function tG(e,t){let n=function(e){let t="root"===e.type?e.children[0]:e;return!!(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName.toLowerCase()))}(e),r=q("type",{handlers:{root:t$,element:tz,text:tZ,comment:tV,doctype:tW,raw:tY},unknown:tq}),a={parser:n?new e3(tU):e3.getFragmentParser(void 0,tU),handle(e){r(e,a)},stitches:!1,options:t||{}};r(e,a),tX(a,(0,tF.Pk)());let i=n?a.parser.document:a.parser.getFragment(),o=function(e,t){let n=t||{};return $({file:n.file||void 0,location:!1,schema:"svg"===n.space?x.YP:x.dy,verbose:n.verbose||!1},e)}(i,{file:a.options.file});return(a.stitches&&(0,tB.Vn)(o,"comment",function(e,t,n){if(e.value.stitch&&n&&void 0!==t){let r=n.children;return r[t]=e.value.stitch,t}}),"root"===o.type&&1===o.children.length&&o.children[0].type===e.type)?o.children[0]:o}function tH(e,t){let n=-1;if(e)for(;++n4&&(t.parser.tokenizer.state=0);let n={type:m.CHARACTER,chars:e.value,location:tQ(e)};tX(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tW(e,t){let n={type:m.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:tQ(e)};tX(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tV(e,t){let n=e.value,r={type:m.COMMENT,data:n,location:tQ(e)};tX(t,(0,tF.Pk)(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function tY(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,tK(t,(0,tF.Pk)(e)),t.parser.tokenizer.write(e.value,!1),t.parser.tokenizer._runParsingLoop(),72===t.parser.tokenizer.state||78===t.parser.tokenizer.state){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;let e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function tq(e,t){if(t.options.passThrough&&t.options.passThrough.includes(e.type))!function(e,t){t.stitches=!0;let n="children"in e?(0,_.ZP)({...e,children:[]}):(0,_.ZP)(e);if("children"in e&&"children"in n){let r=tG({type:"root",children:e.children},t.options);n.children=r.children}tV({type:"comment",value:{stitch:n}},t)}(e,t);else{let t="";throw tj.has(e.type)&&(t=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),Error("Cannot compile `"+e.type+"` node"+t)}}function tX(e,t){tK(e,t);let n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=em.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function tK(e,t){if(t&&void 0!==t.offset){let n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function tQ(e){let t=(0,tF.Pk)(e)||{line:void 0,column:void 0,offset:void 0},n=(0,tF.rb)(e)||{line:void 0,column:void 0,offset:void 0},r={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset};return r}function tJ(e){return function(t,n){let r=tG(t,{...e,file:n});return r}}},78600:function(e,t,n){"use strict";function r(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,a=n.indexOf(t);for(;-1!==a;)r++,a=n.indexOf(t,a+t.length);return r}n.d(t,{Z:function(){return eQ}});var a=n(24345),i=n(15459),o=n(88718),s=n(96093);let l="phrasing",c=["autolink","link","image","label"];function u(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function d(e){this.config.enter.autolinkProtocol.call(this,e)}function p(e){this.config.exit.autolinkProtocol.call(this,e)}function f(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];(0,a.ok)("link"===t.type),t.url="http://"+this.sliceSerialize(e)}function h(e){this.config.exit.autolinkEmail.call(this,e)}function g(e){this.exit(e)}function m(e){!function(e,t,n){let r=(0,s.O)((n||{}).ignore||[]),a=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r0?{type:"text",value:i}:void 0),!1===i?r.lastIndex=n+1:(s!==n&&d.push({type:"text",value:e.value.slice(s,n)}),Array.isArray(i)?d.push(...i):i&&d.push(i),s=n+p[0].length,u=!0),!r.global)break;p=r.exec(e.value)}return u?(s?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],a=n.indexOf(")"),i=r(e,"("),o=r(e,")");for(;-1!==a&&i>o;)e+=n.slice(0,a+1),a=(n=n.slice(a+1)).indexOf(")"),o++;return[e,n]}(n+a);if(!s[0])return!1;let l={type:"link",title:null,url:o+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[l,{type:"text",value:s[1]}]:l}function y(e,t,n,r){return!(!E(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function E(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||(0,i.B8)(n)||(0,i.Xh)(n))&&(!t||47!==n)}var v=n(11098);function T(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function S(){this.buffer()}function O(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteDefinition"===n.type),n.label=t,n.identifier=(0,v.d)(this.sliceSerialize(e)).toLowerCase()}function A(e){this.exit(e)}function _(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function k(){this.buffer()}function x(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteReference"===n.type),n.label=t,n.identifier=(0,v.d)(this.sliceSerialize(e)).toLowerCase()}function C(e){this.exit(e)}function w(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteReference"),s=n.enter("reference");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),o(),i+=a.move("]")}function I(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteDefinition"),s=n.enter("label");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),i+=a.move("]:"+(e.children&&e.children.length>0?" ":"")),a.shift(4),i+=a.move(n.indentLines(n.containerFlow(e,a.current()),R)),o(),i}function R(e,t,n){return 0===t?e:(n?"":" ")+e}w.peek=function(){return"["};let N=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function L(e){this.enter({type:"delete",children:[]},e)}function D(e){this.exit(e)}function P(e,t,n,r){let a=n.createTracker(r),i=n.enter("strikethrough"),o=a.move("~~");return o+=n.containerPhrasing(e,{...a.current(),before:o,after:"~"})+a.move("~~"),i(),o}function M(e){return e.length}function F(e){let t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function B(e,t,n){return">"+(n?"":" ")+e}function j(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),c+=l.move(")"),o(),c}function q(e,t,n,r){let a=e.referenceType,i=n.enter("imageReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("!["),c=n.safe(e.alt,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function X(e,t,n){let r=e.value||"",a="`",i=-1;for(;RegExp("(^|[^`])"+a+"([^`]|$)").test(r);)a+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i\u007F]/.test(e.url))}function Q(e,t,n,r){let a,i;let o=$(n),s='"'===o?"Quote":"Apostrophe",l=n.createTracker(r);if(K(e,n)){let t=n.stack;n.stack=[],a=n.enter("autolink");let r=l.move("<");return r+=l.move(n.containerPhrasing(e,{before:r,after:">",...l.current()}))+l.move(">"),a(),n.stack=t,r}a=n.enter("link"),i=n.enter("label");let c=l.move("[");return c+=l.move(n.containerPhrasing(e,{before:c,after:"](",...l.current()}))+l.move("]("),i(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(i=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(i=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),i(),e.title&&(i=n.enter(`title${s}`),c+=l.move(" "+o),c+=l.move(n.safe(e.title,{before:c,after:o,...l.current()}))+l.move(o),i()),c+=l.move(")"),a(),c}function J(e,t,n,r){let a=e.referenceType,i=n.enter("linkReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("["),c=n.containerPhrasing(e,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function ee(e){let t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function et(e){let t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}V.peek=function(){return"<"},Y.peek=function(){return"!"},q.peek=function(){return"!"},X.peek=function(){return"`"},Q.peek=function(e,t,n){return K(e,n)?"<":"["},J.peek=function(){return"["};let en=(0,s.O)(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function er(e,t,n,r){let a=function(e){let t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(n),i=n.enter("strong"),o=n.createTracker(r),s=o.move(a+a);return s+=o.move(n.containerPhrasing(e,{before:s,after:a,...o.current()}))+o.move(a+a),i(),s}er.peek=function(e,t,n){return n.options.strong||"*"};let ea={blockquote:function(e,t,n,r){let a=n.enter("blockquote"),i=n.createTracker(r);i.move("> "),i.shift(2);let o=n.indentLines(n.containerFlow(e,i.current()),B);return a(),o},break:U,code:function(e,t,n,r){let a=function(e){let t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),i=e.value||"",o="`"===a?"GraveAccent":"Tilde";if(!1===n.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value)){let e=n.enter("codeIndented"),t=n.indentLines(i,H);return e(),t}let s=n.createTracker(r),l=a.repeat(Math.max((0,G.J)(i,a)+1,3)),c=n.enter("codeFenced"),u=s.move(l);if(e.lang){let t=n.enter(`codeFencedLang${o}`);u+=s.move(n.safe(e.lang,{before:u,after:" ",encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${o}`);u+=s.move(" "),u+=s.move(n.safe(e.meta,{before:u,after:"\n",encode:["`"],...s.current()})),t()}return u+=s.move("\n"),i&&(u+=s.move(i+"\n")),u+=s.move(l),c(),u},definition:function(e,t,n,r){let a=$(n),i='"'===a?"Quote":"Apostrophe",o=n.enter("definition"),s=n.enter("label"),l=n.createTracker(r),c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()}))+l.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":"\n",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),o(),c},emphasis:z,hardBreak:U,heading:function(e,t,n,r){let a;let i=Math.max(Math.min(6,e.depth||1),1),s=n.createTracker(r);if(a=!1,(0,Z.Vn)(e,function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return a=!0,o.BK}),(!e.depth||e.depth<3)&&(0,W.B)(e)&&(n.options.setext||a)){let t=n.enter("headingSetext"),r=n.enter("phrasing"),a=n.containerPhrasing(e,{...s.current(),before:"\n",after:"\n"});return r(),t(),a+"\n"+(1===i?"=":"-").repeat(a.length-(Math.max(a.lastIndexOf("\r"),a.lastIndexOf("\n"))+1))}let l="#".repeat(i),c=n.enter("headingAtx"),u=n.enter("phrasing");s.move(l+" ");let d=n.containerPhrasing(e,{before:"# ",after:"\n",...s.current()});return/^[\t ]/.test(d)&&(d="&#x"+d.charCodeAt(0).toString(16).toUpperCase()+";"+d.slice(1)),d=d?l+" "+d:l,n.options.closeAtx&&(d+=" "+l),u(),c(),d},html:V,image:Y,imageReference:q,inlineCode:X,link:Q,linkReference:J,list:function(e,t,n,r){let a=n.enter("list"),i=n.bulletCurrent,o=e.ordered?function(e){let t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):ee(n),s=e.ordered?"."===o?")":".":function(e){let t=ee(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n),l=!!t&&!!n.bulletLastUsed&&o===n.bulletLastUsed;if(!e.ordered){let t=e.children?e.children[0]:void 0;if("*"!==o&&"-"!==o||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(l=!0),et(n)===o&&t){let t=-1;for(;++t-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+i);let o=i.length+1;("tab"===a||"mixed"===a&&(t&&"list"===t.type&&t.spread||e.spread))&&(o=4*Math.ceil(o/4));let s=n.createTracker(r);s.move(i+" ".repeat(o-i.length)),s.shift(o);let l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),function(e,t,n){return t?(n?"":" ".repeat(o))+e:(n?i:i+" ".repeat(o-i.length))+e});return l(),c},paragraph:function(e,t,n,r){let a=n.enter("paragraph"),i=n.enter("phrasing"),o=n.containerPhrasing(e,r);return i(),a(),o},root:function(e,t,n,r){let a=e.children.some(function(e){return en(e)}),i=a?n.containerPhrasing:n.containerFlow;return i.call(n,e,r)},strong:er,text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){let r=(et(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}};function ei(e){let t=e._align;(0,a.ok)(t,"expected `_align` on table"),this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function eo(e){this.exit(e),this.data.inTable=void 0}function es(e){this.enter({type:"tableRow",children:[]},e)}function el(e){this.exit(e)}function ec(e){this.enter({type:"tableCell",children:[]},e)}function eu(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,ed));let n=this.stack[this.stack.length-1];(0,a.ok)("inlineCode"===n.type),n.value=t,this.exit(e)}function ed(e,t){return"|"===t?t:e}function ep(e){let t=this.stack[this.stack.length-2];(0,a.ok)("listItem"===t.type),t.checked="taskListCheckValueChecked"===e.type}function ef(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1];(0,a.ok)("paragraph"===e.type);let n=e.children[0];if(n&&"text"===n.type){let r;let a=t.children,i=-1;for(;++i0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}eA[43]=eO,eA[45]=eO,eA[46]=eO,eA[95]=eO,eA[72]=[eO,eS],eA[104]=[eO,eS],eA[87]=[eO,eT],eA[119]=[eO,eT];var eR=n(23402),eN=n(42761);let eL={tokenize:function(e,t,n){let r=this;return(0,eN.f)(e,function(e){let a=r.events[r.events.length-1];return a&&"gfmFootnoteDefinitionIndent"===a[1].type&&4===a[2].sliceSerialize(a[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function eD(e,t,n){let r;let a=this,i=a.events.length,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);for(;i--;){let e=a.events[i][1];if("labelImage"===e.type){r=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(i){if(!r||!r._balanced)return n(i);let s=(0,v.d)(a.sliceSerialize({start:r.end,end:a.now()}));return 94===s.codePointAt(0)&&o.includes(s.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(i),e.exit("gfmFootnoteCallLabelMarker"),t(i)):n(i)}}function eP(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;let i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",a,t],["exit",a,t],["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function eM(e,t,n){let r;let a=this,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),s=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),l};function l(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(l){if(s>999||93===l&&!r||null===l||91===l||(0,i.z3)(l))return n(l);if(93===l){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return o.includes((0,v.d)(a.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(l)}return(0,i.z3)(l)||(r=!0),s++,e.consume(l),92===l?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function eF(e,t,n){let r,a;let o=this,s=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]),l=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(t)}function u(t){if(l>999||93===t&&!a||null===t||91===t||(0,i.z3)(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return r=(0,v.d)(o.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return(0,i.z3)(t)||(a=!0),l++,e.consume(t),92===t?d:u}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}function p(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s.includes(r)||s.push(r),(0,eN.f)(e,f,"gfmFootnoteDefinitionWhitespace")):n(t)}function f(e){return t(e)}}function eB(e,t,n){return e.check(eR.w,t,e.attempt(eL,t,n))}function ej(e){e.exit("gfmFootnoteDefinition")}var eU=n(21905),eG=n(62987),eH=n(63233);class e${constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let a=0;if(0!==n||0!==r.length){for(;a0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function ez(e,t,n){let r;let a=this,o=0,s=0;return function(e){let t=a.events.length-1;for(;t>-1;){let e=a.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let r=t>-1?a.events[t][1].type:null,i="tableHead"===r||"tableRow"===r?E:l;return i===E&&a.parser.lazy[a.now().line]?n(e):i(e)};function l(t){return e.enter("tableHead"),e.enter("tableRow"),124===t||(r=!0,s+=1),c(t)}function c(t){return null===t?n(t):(0,i.Ch)(t)?s>1?(s=0,a.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p):n(t):(0,i.xz)(t)?(0,eN.f)(e,c,"whitespace")(t):(s+=1,r&&(r=!1,o+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,c):(e.enter("data"),u(t))}function u(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),c(t)):(e.consume(t),92===t?d:u)}function d(t){return 92===t||124===t?(e.consume(t),u):u(t)}function p(t){return(a.interrupt=!1,a.parser.lazy[a.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,(0,i.xz)(t))?(0,eN.f)(e,f,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):f(t)}function f(t){return 45===t||58===t?g(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),h):n(t)}function h(t){return(0,i.xz)(t)?(0,eN.f)(e,g,"whitespace")(t):g(t)}function g(t){return 58===t?(s+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),m):45===t?(s+=1,m(t)):null===t||(0,i.Ch)(t)?y(t):n(t)}function m(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),b):(e.exit("tableDelimiterFiller"),b(n))}(t)):n(t)}function b(t){return(0,i.xz)(t)?(0,eN.f)(e,y,"whitespace")(t):y(t)}function y(a){return 124===a?f(a):null===a||(0,i.Ch)(a)?r&&o===s?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(a)):n(a):n(a)}function E(t){return e.enter("tableRow"),v(t)}function v(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),v):null===n||(0,i.Ch)(n)?(e.exit("tableRow"),t(n)):(0,i.xz)(n)?(0,eN.f)(e,v,"whitespace")(n):(e.enter("data"),T(n))}function T(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),v(t)):(e.consume(t),92===t?S:T)}function S(t){return 92===t||124===t?(e.consume(t),T):T(t)}}function eZ(e,t){let n,r,a,i=-1,o=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,d=0,p=new e$;for(;++in[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",o,t]])}return void 0!==a&&(i.end=Object.assign({},eY(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function eV(e,t,n,r,a){let i=[],o=eY(t.events,n);a&&(a.end=Object.assign({},o),i.push(["exit",a,t])),r.end=Object.assign({},o),i.push(["exit",r,t]),e.add(n+1,0,i)}function eY(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}let eq={name:"tasklistCheck",tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),a):n(t)};function a(t){return(0,i.z3)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(t)}function s(r){return(0,i.Ch)(r)?t(r):(0,i.xz)(r)?e.check({tokenize:eX},t,n)(r):n(r)}}};function eX(e,t,n){return(0,eN.f)(e,function(e){return null===e?n(e):t(e)},"whitespace")}let eK={};function eQ(e){let t=e||eK,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),i=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push((0,eg.W)([{text:eA},{document:{91:{name:"gfmFootnoteDefinition",tokenize:eF,continuation:{tokenize:eB},exit:ej}},text:{91:{name:"gfmFootnoteCall",tokenize:eM},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:eD,resolveTo:eP}}},function(e){let t=(e||{}).singleTilde,n={name:"strikethrough",tokenize:function(e,n,r){let a=this.previous,i=this.events,o=0;return function(s){return 126===a&&"characterEscape"!==i[i.length-1][1].type?r(s):(e.enter("strikethroughSequenceTemporary"),function i(s){let l=(0,eG.r)(a);if(126===s)return o>1?r(s):(e.consume(s),o++,i);if(o<2&&!t)return r(s);let c=e.exit("strikethroughSequenceTemporary"),u=(0,eG.r)(s);return c._open=!u||2===u&&!!l,c._close=!l||2===l&&!!u,n(s)}(s))}},resolveAll:function(e,t){let n=-1;for(;++nl&&(l=e[c].length);++ds[d])&&(s[d]=e)}n.push(i)}i[c]=n,o[c]=a}let d=-1;if("object"==typeof n&&"length"in n)for(;++ds[d]&&(s[d]=i),f[d]=i),p[d]=o}i.splice(1,0,p),o.splice(1,0,f),c=-1;let h=[];for(;++c","Iacute":"\xcd","Icirc":"\xce","Igrave":"\xcc","Iuml":"\xcf","LT":"<","Ntilde":"\xd1","Oacute":"\xd3","Ocirc":"\xd4","Ograve":"\xd2","Oslash":"\xd8","Otilde":"\xd5","Ouml":"\xd6","QUOT":"\\"","REG":"\xae","THORN":"\xde","Uacute":"\xda","Ucirc":"\xdb","Ugrave":"\xd9","Uuml":"\xdc","Yacute":"\xdd","aacute":"\xe1","acirc":"\xe2","acute":"\xb4","aelig":"\xe6","agrave":"\xe0","amp":"&","aring":"\xe5","atilde":"\xe3","auml":"\xe4","brvbar":"\xa6","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","eacute":"\xe9","ecirc":"\xea","egrave":"\xe8","eth":"\xf0","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","iacute":"\xed","icirc":"\xee","iexcl":"\xa1","igrave":"\xec","iquest":"\xbf","iuml":"\xef","laquo":"\xab","lt":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","ntilde":"\xf1","oacute":"\xf3","ocirc":"\xf4","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","oslash":"\xf8","otilde":"\xf5","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","raquo":"\xbb","reg":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","thorn":"\xfe","times":"\xd7","uacute":"\xfa","ucirc":"\xfb","ugrave":"\xf9","uml":"\xa8","uuml":"\xfc","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')}},function(e){e.O(0,[3662,7034,6106,8674,3166,2837,2168,8163,1265,7728,2913,3791,5278,9859,4330,4041,8791,5030,5418,2783,3457,1300,4567,2398,2480,7410,7124,9773,4035,1154,2510,3345,9202,7249,3768,5789,9774,2888,179],function(){return e(e.s=45745)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/models-a55841ceb963c570.js b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/models-52bdbb71265883fc.js similarity index 100% rename from packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/models-a55841ceb963c570.js rename to packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/models-52bdbb71265883fc.js diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/prompt/[type]-9902ccfc604e1045.js b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/prompt/[type]-5e34d970d7340c40.js similarity index 100% rename from packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/prompt/[type]-9902ccfc604e1045.js rename to packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/construct/prompt/[type]-5e34d970d7340c40.js diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/evaluation-264129a9f009f85f.js b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/evaluation-eec97fe8ccee4539.js similarity index 99% rename from packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/evaluation-264129a9f009f85f.js rename to packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/evaluation-eec97fe8ccee4539.js index 8d12c7847..4c465b3d9 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/evaluation-264129a9f009f85f.js +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/evaluation-eec97fe8ccee4539.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4574],{40201:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/evaluation",function(){return a(38266)}])},38266:function(e,t,a){"use strict";a.r(t);var l=a(85893),n=a(76212),s=a(45605),d=a(88484),i=a(65654),o=a(25278),r=a(99859),c=a(66309),u=a(42075),m=a(86738),x=a(45360),p=a(14726),f=a(40411),h=a(39773),v=a(83062),g=a(28459),_=a(92783),b=a(55054),j=a(85576),y=a(34041),w=a(23799),k=a(67294);let{TextArea:Z}=o.default,{useWatch:S}=r.default;t.default=()=>{let[e,t]=(0,k.useState)(!1),[a,C]=(0,k.useState)(!1),[I,P]=(0,k.useState)([]),[F,N]=(0,k.useState)(0),[V,O]=(0,k.useState)(0),[R,U]=(0,k.useState)(),[L,q]=(0,k.useState)(),[E,W]=(0,k.useState)(!1),[A,K]=(0,k.useState)("evaluations"),[T,X]=(0,k.useState)(!1),[B,J]=(0,k.useState)(!0),[$,D]=(0,k.useState)([{}]),[M,Y]=(0,k.useState)(),[z,H]=(0,k.useState)([]),[G,Q]=(0,k.useState)(""),[ee,et]=(0,k.useState)(!1),[ea,el]=(0,k.useState)(!1),[en,es]=(0,k.useState)(!1),ed=(0,k.useMemo)(()=>null==z?void 0:z.map(e=>({label:null==e?void 0:e.name,value:null==e?void 0:e.code})),[z]),[ei]=r.default.useForm(),[eo]=r.default.useForm(),{run:er,loading:ec}=(0,i.Z)(async e=>{let[t,a]=await (0,n.Vx)((0,n.Kt)(e));return a},{manual:!0,onSuccess:e=>{q(null==e?void 0:e.map(e=>({label:e.describe,value:e.name})))}}),{run:eu,loading:em}=(0,i.Z)(async e=>{let[t,a]=await (0,n.Vx)((0,n.YK)(e));return a},{manual:!0,onSuccess:e=>{e&&e.length&&(D(e),X(!0))}}),{run:ex,loading:ep,refresh:ef}=(0,i.Z)(async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,[a,l]=await (0,n.Vx)((0,n.Wm)({page:e,page_size:t}));return l},{onSuccess:e=>{P(null==e?void 0:e.items),N(null==e?void 0:e.total_count)}}),{run:eh,loading:ev,refresh:eg}=(0,i.Z)(async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,[a,l]=await (0,n.Vx)((0,n.a$)({page:e,page_size:t}));return l},{onSuccess:e=>{H(null==e?void 0:e.items),O(null==e?void 0:e.total_count)}}),e_=[{title:"名称",dataIndex:"name",key:"name",width:"10%",fixed:"left"},{title:"编码",dataIndex:"code",key:"code",width:"20%"},{title:"储存方式",dataIndex:"storage_type",key:"storage_type"},{title:"数据集数量",dataIndex:"datasets_count",key:"datasets_count"},{title:"创建时间",dataIndex:"gmt_create",key:"gmt_create"},{title:"成员",dataIndex:"members",key:"members",width:"10%",render:e=>null==e?void 0:e.split(",").map(e=>(0,l.jsx)(c.Z,{children:e},e))},{title:"更新时间",dataIndex:"gmt_modified",key:"gmt_modified"},{title:"Action",key:"action",render:(e,t)=>(0,l.jsxs)(u.Z,{size:"middle",children:[(0,l.jsx)(m.Z,{title:"确认删除吗",onConfirm:async()=>{let[,,e]=await (0,n.Vx)((0,n.$E)({code:null==t?void 0:t.code}));(null==e?void 0:e.success)==!0&&(x.ZP.success("删除成功"),eg())},children:(0,l.jsx)(p.ZP,{type:"link",children:"删除"})}),(0,l.jsx)(p.ZP,{type:"link",onClick:()=>{var e;J(!1),C(!0),Q(null==t?void 0:t.code),eo.setFieldsValue({dataset_name:null==t?void 0:t.name,members:null==t?void 0:null===(e=t.members)||void 0===e?void 0:e.split(",")})},children:"编辑"}),(0,l.jsx)(p.ZP,{type:"link",loading:en,onClick:async()=>{es(!0);let e=await (0,n.Ug)({code:null==t?void 0:t.code}),a=e.headers["content-type"];if(a.includes("application/json")){let t=new FileReader;t.onload=()=>{try{let e=JSON.parse(t.result);x.ZP.error(e.err_msg)}catch(e){console.error("Failed to parse error response:",e)}},t.readAsText(e.data)}else{let t=e.headers["content-disposition"],a="downloaded_file.xlsx";if(t){let e=t.match(/filename\*?="?(.+)"/);e[1]&&(a=decodeURIComponent(e[1]))}let l=window.URL.createObjectURL(new Blob([e.data],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"})),n=document.createElement("a");n.href=l,n.download=a,document.body.appendChild(n),n.click(),n.remove(),window.URL.revokeObjectURL(l)}es(!1)},children:"下载"})]})}],eb=[{title:"数据集名称",dataIndex:"datasets_name",key:"datasets_name",fixed:"left",width:"15%",render:e=>(0,l.jsx)("span",{style:{textWrap:"nowrap",maxWidth:"300px"},children:e})},{title:"测评状态",dataIndex:"state",key:"state",render:e=>(0,l.jsx)(f.Z,{style:{textWrap:"nowrap"},status:"failed"==e?"error":"success",text:e})},{title:"测评编码",dataIndex:"evaluate_code",key:"evaluate_code"},{title:"场景",dataIndex:"scene_key",key:"scene_key"},{title:"测评指标",dataIndex:"evaluate_metrics",key:"evaluate_metrics"},{title:"创建时间",dataIndex:"gmt_create",key:"gmt_create"},{title:"更新时间",dataIndex:"gmt_modified",key:"gmt_modified"},h.Z.EXPAND_COLUMN,{title:(0,l.jsxs)("span",{className:"w-[50px]",children:[(0,l.jsx)("span",{className:"text-nowrap",children:"详情"}),(0,l.jsx)(v.Z,{placement:"topLeft",title:"查看日志与评分",children:(0,l.jsx)(s.Z,{})})]}),render:()=>(0,l.jsx)("div",{style:{minWidth:"50px"}})},{title:"测评结果",key:"result",render:(e,t)=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(p.ZP,{type:"link",loading:em,onClick:async()=>{eu({evaluate_code:null==t?void 0:t.evaluate_code})},children:"评分明细"}),(0,l.jsx)(p.ZP,{type:"link",loading:en,onClick:async()=>{es(!0);let e=await (0,n.XI)({evaluate_code:null==t?void 0:t.evaluate_code}),a=e.headers["content-type"];if(a.includes("application/json")){let t=new FileReader;t.onload=()=>{try{let e=JSON.parse(t.result);x.ZP.error(e.err_msg)}catch(e){console.error("Failed to parse error response:",e)}},t.readAsText(e.data)}else{let t=e.headers["content-disposition"],a="downloaded_file.xlsx";if(t){let e=t.match(/filename\*?="?(.+)"/);e[1]&&(a=decodeURIComponent(e[1]))}let l=window.URL.createObjectURL(new Blob([e.data],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"})),n=document.createElement("a");n.href=l,n.download=a,document.body.appendChild(n),n.click(),n.remove(),window.URL.revokeObjectURL(l)}es(!1)},children:"下载"})]})},{title:"操作",key:"action",width:"25%",render:(e,t)=>(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(m.Z,{title:"确认删除吗",onConfirm:async()=>{let[,,e]=await (0,n.Vx)((0,n.Wd)({evaluation_code:null==t?void 0:t.evaluate_code}));(null==e?void 0:e.success)==!0&&(x.ZP.success("删除成功"),ef())},children:(0,l.jsx)(p.ZP,{type:"link",children:"删除"})})})}],ej=()=>{X(!1)};return(0,l.jsx)(g.ZP,{theme:{components:{Segmented:{itemSelectedBg:"#2867f5",itemSelectedColor:"white"}}},children:(0,l.jsx)("div",{className:"flex flex-col h-full w-full dark:bg-gradient-dark bg-gradient-light bg-cover bg-center",children:(0,l.jsxs)("div",{className:"px-6 py-2 overflow-y-auto",children:[(0,l.jsx)(_.Z,{className:"backdrop-filter backdrop-blur-lg bg-white bg-opacity-30 border-2 border-white rounded-lg shadow p-1 dark:border-[#6f7f95] dark:bg-[#6f7f95] dark:bg-opacity-60",options:[{label:"评测数据",value:"evaluations"},{label:"数据集",value:"dataSet"}],onChange:e=>{K(e)},value:A}),"dataSet"===A&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"flex flex-row-reverse mb-4",children:(0,l.jsx)(p.ZP,{className:"border-none text-white bg-button-gradient h-full",onClick:()=>{C(!0),J(!0)},children:"添加数据集"})}),(0,l.jsx)(h.Z,{pagination:{total:V,onChange(e){eh(e)}},scroll:{x:1300},loading:ev,columns:e_,dataSource:z})]}),"evaluations"===A&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"flex flex-row-reverse mb-4",children:(0,l.jsx)(p.ZP,{className:"border-none text-white bg-button-gradient h-full",onClick:()=>{t(!0)},children:"发起评测"})}),(0,l.jsx)(h.Z,{pagination:{total:F,onChange(e){ex(e)}},rowKey:e=>e.evaluate_code,expandable:{expandedRowRender:e=>{let{average_score:t,log_info:a}=e;return(0,l.jsxs)("div",{className:"flex flex-col gap-2",children:[(()=>{if(!t)return(0,l.jsx)(l.Fragment,{});try{var e;let a=JSON.parse(t);return(0,l.jsx)("div",{className:"flex flex-row gap-1",children:null===(e=Object.entries(a))||void 0===e?void 0:e.map(e=>{let[t,a]=e;return(0,l.jsx)(b.Z,{title:t,value:a},t)})})}catch(e){return(0,l.jsx)(l.Fragment,{})}})(),a&&(0,l.jsxs)("div",{children:[(0,l.jsx)("span",{className:"text-gray-500 text-sm",children:"log:"}),(0,l.jsx)("span",{children:a})]})]})}},scroll:{x:"100%"},loading:ep,columns:eb,dataSource:I})]}),(0,l.jsx)(j.default,{title:"发起测评",open:e,onOk:async()=>{let e=await ei.validateFields();if(el(!0),e){let[,,t]=await (0,n.Vx)((0,n.kg)({...e}));(null==t?void 0:t.success)&&(x.ZP.success("发起成功"),ef(),ei.resetFields())}t(!1),el(!1)},confirmLoading:ea,onCancel:()=>{t(!1)},children:(0,l.jsxs)(r.default,{name:"basic",form:ei,initialValues:{remember:!0},autoComplete:"off",labelCol:{span:4},wrapperCol:{span:20},children:[(0,l.jsx)(r.default.Item,{name:"scene_key",label:"场景类型",rules:[{required:!0}],children:(0,l.jsx)(y.default,{options:[{value:"recall",label:"recall"},{value:"app",label:"app"}],onChange:async e=>{if(W(!0),ei.setFieldValue("scene_value",""),"recall"===e){let e=await (0,n.Vm)();e.data.success&&U(e.data.data.map(e=>({label:e.name,value:e.id.toString()})))}else{let e=await (0,n.yk)({});e.data.success&&U(e.data.data.app_list.map(e=>({label:e.app_name,value:e.app_code})))}W(!1)}})}),(0,l.jsx)(r.default.Item,{name:"scene_value",label:"场景参数",rules:[{required:!0}],children:(0,l.jsx)(y.default,{loading:E,disabled:E,options:R,onChange:e=>{ei.getFieldValue("scene_key")&&er({scene_key:ei.getFieldValue("scene_key"),scene_value:e})}})}),(0,l.jsx)(r.default.Item,{name:"parallel_num",label:"并行参数",rules:[{required:!0}],initialValue:1,children:(0,l.jsx)(o.default,{})}),(0,l.jsx)(r.default.Item,{name:"datasets",label:"数据集",rules:[{required:!0}],children:(0,l.jsx)(y.default,{options:ed})}),(0,l.jsx)(r.default.Item,{name:"evaluate_metrics",label:"评测指标",rules:[{required:"app"===S("scene_key",ei)}],children:(0,l.jsx)(y.default,{loading:ec,disabled:ec,options:L})})]})}),(0,l.jsx)(j.default,{title:B?"添加数据集":"编辑数据集",open:a,confirmLoading:ee,onOk:()=>{eo.validateFields().then(e=>{if(et(!0),B){let t=e.storage_type;if("oss"===t){let t=new FormData;t.append("dataset_name",e.dataset_name),e.members&&t.append("members",e.members.join(","));let a=e.doc_file.file;t.append("doc_file",a,a.name),(0,n.L$)(t).then(e=>{e.data.success?(x.ZP.success("上传成功"),eh()):x.ZP.error(e.data.err_msg)}).catch(e=>{var t,a;console.error("上传失败",e),x.ZP.error((null==e?void 0:null===(t=e.response)||void 0===t?void 0:null===(a=t.data)||void 0===a?void 0:a.err_msg)||"上传失败")}).finally(()=>{C(!1),et(!1)})}else"db"===t&&(0,n.h)({dataset_name:e.dataset_name,members:e.members.join(","),content:e.content}).then(e=>{e.data.success?(x.ZP.success("上传成功"),eh()):x.ZP.error(e.data.err_msg)}).catch(e=>{var t,a;console.log(e),x.ZP.error((null==e?void 0:null===(t=e.response)||void 0===t?void 0:null===(a=t.data)||void 0===a?void 0:a.err_msg)||"上传失败")}).finally(()=>{C(!1),et(!1),eo.resetFields()})}else(0,n.w_)({code:G,members:e.members.join(",")}).then(e=>{e.data.success?(x.ZP.success("更新成功"),eh()):x.ZP.error(e.data.err_msg)}).catch(e=>{console.log(e),x.ZP.error("更新失败")}).finally(()=>{C(!1),et(!1)})})},onCancel:()=>{C(!1)},children:(0,l.jsxs)(r.default,{name:"basic",form:eo,initialValues:{remember:!0},autoComplete:"off",labelCol:{span:4},wrapperCol:{span:20},children:[(0,l.jsx)(r.default.Item,{name:"dataset_name",label:"名称",rules:[{required:!0}],children:(0,l.jsx)(o.default,{disabled:!B})}),(0,l.jsx)(r.default.Item,{name:"members",label:"成员",children:(0,l.jsx)(y.default,{mode:"tags"})}),B&&(0,l.jsx)(r.default.Item,{name:"storage_type",label:"储存类型",rules:[{required:!0}],children:(0,l.jsx)(y.default,{options:M})}),"oss"===S("storage_type",eo)&&B&&(0,l.jsx)(r.default.Item,{name:"doc_file",label:"doc_file",rules:[{required:!0}],children:(0,l.jsx)(w.default,{name:"dataSet",maxCount:1,beforeUpload:e=>(eo.setFieldsValue({doc_file:e}),!1),onRemove:()=>{eo.setFieldsValue({doc_file:void 0})},children:(0,l.jsx)(p.ZP,{icon:(0,l.jsx)(d.Z,{}),children:"Click to Upload"})})}),"db"===S("storage_type",eo)&&B&&(0,l.jsx)(r.default.Item,{name:"content",label:"content",rules:[{required:!0}],children:(0,l.jsx)(Z,{rows:8})})]})}),(0,l.jsx)(j.default,{title:"评分明细",open:T,onOk:ej,onCancel:ej,styles:{body:{maxHeight:"500px",overflowY:"auto",minWidth:"700px"}},style:{minWidth:"750px"},footer:[(0,l.jsx)(p.ZP,{onClick:ej,children:"返回"},"back")],children:(0,l.jsx)(h.Z,{columns:Object.keys(null==$?void 0:$[0]).map(e=>({title:e,dataIndex:e,key:e})),style:{minWidth:"700px"},dataSource:$,rowKey:"code",pagination:!1})})]})})})}}},function(e){e.O(0,[2913,3791,5278,9859,4330,4041,8791,5418,2783,1300,4567,2480,9773,5653,9774,2888,179],function(){return e(e.s=40201)}),_N_E=e.O()}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4574],{40201:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/evaluation",function(){return a(38266)}])},38266:function(e,t,a){"use strict";a.r(t);var l=a(85893),n=a(76212),s=a(45605),d=a(88484),i=a(65654),o=a(25278),r=a(99859),c=a(66309),u=a(42075),m=a(86738),x=a(45360),p=a(14726),f=a(40411),h=a(39773),v=a(83062),g=a(28459),_=a(92783),b=a(57913),j=a(85576),y=a(34041),w=a(23799),k=a(67294);let{TextArea:Z}=o.default,{useWatch:S}=r.default;t.default=()=>{let[e,t]=(0,k.useState)(!1),[a,C]=(0,k.useState)(!1),[I,P]=(0,k.useState)([]),[F,N]=(0,k.useState)(0),[V,O]=(0,k.useState)(0),[R,U]=(0,k.useState)(),[L,q]=(0,k.useState)(),[E,W]=(0,k.useState)(!1),[A,K]=(0,k.useState)("evaluations"),[T,X]=(0,k.useState)(!1),[B,J]=(0,k.useState)(!0),[$,D]=(0,k.useState)([{}]),[M,Y]=(0,k.useState)(),[z,H]=(0,k.useState)([]),[G,Q]=(0,k.useState)(""),[ee,et]=(0,k.useState)(!1),[ea,el]=(0,k.useState)(!1),[en,es]=(0,k.useState)(!1),ed=(0,k.useMemo)(()=>null==z?void 0:z.map(e=>({label:null==e?void 0:e.name,value:null==e?void 0:e.code})),[z]),[ei]=r.default.useForm(),[eo]=r.default.useForm(),{run:er,loading:ec}=(0,i.Z)(async e=>{let[t,a]=await (0,n.Vx)((0,n.Kt)(e));return a},{manual:!0,onSuccess:e=>{q(null==e?void 0:e.map(e=>({label:e.describe,value:e.name})))}}),{run:eu,loading:em}=(0,i.Z)(async e=>{let[t,a]=await (0,n.Vx)((0,n.YK)(e));return a},{manual:!0,onSuccess:e=>{e&&e.length&&(D(e),X(!0))}}),{run:ex,loading:ep,refresh:ef}=(0,i.Z)(async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,[a,l]=await (0,n.Vx)((0,n.Wm)({page:e,page_size:t}));return l},{onSuccess:e=>{P(null==e?void 0:e.items),N(null==e?void 0:e.total_count)}}),{run:eh,loading:ev,refresh:eg}=(0,i.Z)(async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,[a,l]=await (0,n.Vx)((0,n.a$)({page:e,page_size:t}));return l},{onSuccess:e=>{H(null==e?void 0:e.items),O(null==e?void 0:e.total_count)}}),e_=[{title:"名称",dataIndex:"name",key:"name",width:"10%",fixed:"left"},{title:"编码",dataIndex:"code",key:"code",width:"20%"},{title:"储存方式",dataIndex:"storage_type",key:"storage_type"},{title:"数据集数量",dataIndex:"datasets_count",key:"datasets_count"},{title:"创建时间",dataIndex:"gmt_create",key:"gmt_create"},{title:"成员",dataIndex:"members",key:"members",width:"10%",render:e=>null==e?void 0:e.split(",").map(e=>(0,l.jsx)(c.Z,{children:e},e))},{title:"更新时间",dataIndex:"gmt_modified",key:"gmt_modified"},{title:"Action",key:"action",render:(e,t)=>(0,l.jsxs)(u.Z,{size:"middle",children:[(0,l.jsx)(m.Z,{title:"确认删除吗",onConfirm:async()=>{let[,,e]=await (0,n.Vx)((0,n.$E)({code:null==t?void 0:t.code}));(null==e?void 0:e.success)==!0&&(x.ZP.success("删除成功"),eg())},children:(0,l.jsx)(p.ZP,{type:"link",children:"删除"})}),(0,l.jsx)(p.ZP,{type:"link",onClick:()=>{var e;J(!1),C(!0),Q(null==t?void 0:t.code),eo.setFieldsValue({dataset_name:null==t?void 0:t.name,members:null==t?void 0:null===(e=t.members)||void 0===e?void 0:e.split(",")})},children:"编辑"}),(0,l.jsx)(p.ZP,{type:"link",loading:en,onClick:async()=>{es(!0);let e=await (0,n.Ug)({code:null==t?void 0:t.code}),a=e.headers["content-type"];if(a.includes("application/json")){let t=new FileReader;t.onload=()=>{try{let e=JSON.parse(t.result);x.ZP.error(e.err_msg)}catch(e){console.error("Failed to parse error response:",e)}},t.readAsText(e.data)}else{let t=e.headers["content-disposition"],a="downloaded_file.xlsx";if(t){let e=t.match(/filename\*?="?(.+)"/);e[1]&&(a=decodeURIComponent(e[1]))}let l=window.URL.createObjectURL(new Blob([e.data],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"})),n=document.createElement("a");n.href=l,n.download=a,document.body.appendChild(n),n.click(),n.remove(),window.URL.revokeObjectURL(l)}es(!1)},children:"下载"})]})}],eb=[{title:"数据集名称",dataIndex:"datasets_name",key:"datasets_name",fixed:"left",width:"15%",render:e=>(0,l.jsx)("span",{style:{textWrap:"nowrap",maxWidth:"300px"},children:e})},{title:"测评状态",dataIndex:"state",key:"state",render:e=>(0,l.jsx)(f.Z,{style:{textWrap:"nowrap"},status:"failed"==e?"error":"success",text:e})},{title:"测评编码",dataIndex:"evaluate_code",key:"evaluate_code"},{title:"场景",dataIndex:"scene_key",key:"scene_key"},{title:"测评指标",dataIndex:"evaluate_metrics",key:"evaluate_metrics"},{title:"创建时间",dataIndex:"gmt_create",key:"gmt_create"},{title:"更新时间",dataIndex:"gmt_modified",key:"gmt_modified"},h.Z.EXPAND_COLUMN,{title:(0,l.jsxs)("span",{className:"w-[50px]",children:[(0,l.jsx)("span",{className:"text-nowrap",children:"详情"}),(0,l.jsx)(v.Z,{placement:"topLeft",title:"查看日志与评分",children:(0,l.jsx)(s.Z,{})})]}),render:()=>(0,l.jsx)("div",{style:{minWidth:"50px"}})},{title:"测评结果",key:"result",render:(e,t)=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(p.ZP,{type:"link",loading:em,onClick:async()=>{eu({evaluate_code:null==t?void 0:t.evaluate_code})},children:"评分明细"}),(0,l.jsx)(p.ZP,{type:"link",loading:en,onClick:async()=>{es(!0);let e=await (0,n.XI)({evaluate_code:null==t?void 0:t.evaluate_code}),a=e.headers["content-type"];if(a.includes("application/json")){let t=new FileReader;t.onload=()=>{try{let e=JSON.parse(t.result);x.ZP.error(e.err_msg)}catch(e){console.error("Failed to parse error response:",e)}},t.readAsText(e.data)}else{let t=e.headers["content-disposition"],a="downloaded_file.xlsx";if(t){let e=t.match(/filename\*?="?(.+)"/);e[1]&&(a=decodeURIComponent(e[1]))}let l=window.URL.createObjectURL(new Blob([e.data],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"})),n=document.createElement("a");n.href=l,n.download=a,document.body.appendChild(n),n.click(),n.remove(),window.URL.revokeObjectURL(l)}es(!1)},children:"下载"})]})},{title:"操作",key:"action",width:"25%",render:(e,t)=>(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(m.Z,{title:"确认删除吗",onConfirm:async()=>{let[,,e]=await (0,n.Vx)((0,n.Wd)({evaluation_code:null==t?void 0:t.evaluate_code}));(null==e?void 0:e.success)==!0&&(x.ZP.success("删除成功"),ef())},children:(0,l.jsx)(p.ZP,{type:"link",children:"删除"})})})}],ej=()=>{X(!1)};return(0,l.jsx)(g.ZP,{theme:{components:{Segmented:{itemSelectedBg:"#2867f5",itemSelectedColor:"white"}}},children:(0,l.jsx)("div",{className:"flex flex-col h-full w-full dark:bg-gradient-dark bg-gradient-light bg-cover bg-center",children:(0,l.jsxs)("div",{className:"px-6 py-2 overflow-y-auto",children:[(0,l.jsx)(_.Z,{className:"backdrop-filter backdrop-blur-lg bg-white bg-opacity-30 border-2 border-white rounded-lg shadow p-1 dark:border-[#6f7f95] dark:bg-[#6f7f95] dark:bg-opacity-60",options:[{label:"评测数据",value:"evaluations"},{label:"数据集",value:"dataSet"}],onChange:e=>{K(e)},value:A}),"dataSet"===A&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"flex flex-row-reverse mb-4",children:(0,l.jsx)(p.ZP,{className:"border-none text-white bg-button-gradient h-full",onClick:()=>{C(!0),J(!0)},children:"添加数据集"})}),(0,l.jsx)(h.Z,{pagination:{total:V,onChange(e){eh(e)}},scroll:{x:1300},loading:ev,columns:e_,dataSource:z})]}),"evaluations"===A&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"flex flex-row-reverse mb-4",children:(0,l.jsx)(p.ZP,{className:"border-none text-white bg-button-gradient h-full",onClick:()=>{t(!0)},children:"发起评测"})}),(0,l.jsx)(h.Z,{pagination:{total:F,onChange(e){ex(e)}},rowKey:e=>e.evaluate_code,expandable:{expandedRowRender:e=>{let{average_score:t,log_info:a}=e;return(0,l.jsxs)("div",{className:"flex flex-col gap-2",children:[(()=>{if(!t)return(0,l.jsx)(l.Fragment,{});try{var e;let a=JSON.parse(t);return(0,l.jsx)("div",{className:"flex flex-row gap-1",children:null===(e=Object.entries(a))||void 0===e?void 0:e.map(e=>{let[t,a]=e;return(0,l.jsx)(b.Z,{title:t,value:a},t)})})}catch(e){return(0,l.jsx)(l.Fragment,{})}})(),a&&(0,l.jsxs)("div",{children:[(0,l.jsx)("span",{className:"text-gray-500 text-sm",children:"log:"}),(0,l.jsx)("span",{children:a})]})]})}},scroll:{x:"100%"},loading:ep,columns:eb,dataSource:I})]}),(0,l.jsx)(j.default,{title:"发起测评",open:e,onOk:async()=>{let e=await ei.validateFields();if(el(!0),e){let[,,t]=await (0,n.Vx)((0,n.kg)({...e}));(null==t?void 0:t.success)&&(x.ZP.success("发起成功"),ef(),ei.resetFields())}t(!1),el(!1)},confirmLoading:ea,onCancel:()=>{t(!1)},children:(0,l.jsxs)(r.default,{name:"basic",form:ei,initialValues:{remember:!0},autoComplete:"off",labelCol:{span:4},wrapperCol:{span:20},children:[(0,l.jsx)(r.default.Item,{name:"scene_key",label:"场景类型",rules:[{required:!0}],children:(0,l.jsx)(y.default,{options:[{value:"recall",label:"recall"},{value:"app",label:"app"}],onChange:async e=>{if(W(!0),ei.setFieldValue("scene_value",""),"recall"===e){let e=await (0,n.Vm)();e.data.success&&U(e.data.data.map(e=>({label:e.name,value:e.id.toString()})))}else{let e=await (0,n.yk)({});e.data.success&&U(e.data.data.app_list.map(e=>({label:e.app_name,value:e.app_code})))}W(!1)}})}),(0,l.jsx)(r.default.Item,{name:"scene_value",label:"场景参数",rules:[{required:!0}],children:(0,l.jsx)(y.default,{loading:E,disabled:E,options:R,onChange:e=>{ei.getFieldValue("scene_key")&&er({scene_key:ei.getFieldValue("scene_key"),scene_value:e})}})}),(0,l.jsx)(r.default.Item,{name:"parallel_num",label:"并行参数",rules:[{required:!0}],initialValue:1,children:(0,l.jsx)(o.default,{})}),(0,l.jsx)(r.default.Item,{name:"datasets",label:"数据集",rules:[{required:!0}],children:(0,l.jsx)(y.default,{options:ed})}),(0,l.jsx)(r.default.Item,{name:"evaluate_metrics",label:"评测指标",rules:[{required:"app"===S("scene_key",ei)}],children:(0,l.jsx)(y.default,{loading:ec,disabled:ec,options:L})})]})}),(0,l.jsx)(j.default,{title:B?"添加数据集":"编辑数据集",open:a,confirmLoading:ee,onOk:()=>{eo.validateFields().then(e=>{if(et(!0),B){let t=e.storage_type;if("oss"===t){let t=new FormData;t.append("dataset_name",e.dataset_name),e.members&&t.append("members",e.members.join(","));let a=e.doc_file.file;t.append("doc_file",a,a.name),(0,n.L$)(t).then(e=>{e.data.success?(x.ZP.success("上传成功"),eh()):x.ZP.error(e.data.err_msg)}).catch(e=>{var t,a;console.error("上传失败",e),x.ZP.error((null==e?void 0:null===(t=e.response)||void 0===t?void 0:null===(a=t.data)||void 0===a?void 0:a.err_msg)||"上传失败")}).finally(()=>{C(!1),et(!1)})}else"db"===t&&(0,n.h)({dataset_name:e.dataset_name,members:e.members.join(","),content:e.content}).then(e=>{e.data.success?(x.ZP.success("上传成功"),eh()):x.ZP.error(e.data.err_msg)}).catch(e=>{var t,a;console.log(e),x.ZP.error((null==e?void 0:null===(t=e.response)||void 0===t?void 0:null===(a=t.data)||void 0===a?void 0:a.err_msg)||"上传失败")}).finally(()=>{C(!1),et(!1),eo.resetFields()})}else(0,n.w_)({code:G,members:e.members.join(",")}).then(e=>{e.data.success?(x.ZP.success("更新成功"),eh()):x.ZP.error(e.data.err_msg)}).catch(e=>{console.log(e),x.ZP.error("更新失败")}).finally(()=>{C(!1),et(!1)})})},onCancel:()=>{C(!1)},children:(0,l.jsxs)(r.default,{name:"basic",form:eo,initialValues:{remember:!0},autoComplete:"off",labelCol:{span:4},wrapperCol:{span:20},children:[(0,l.jsx)(r.default.Item,{name:"dataset_name",label:"名称",rules:[{required:!0}],children:(0,l.jsx)(o.default,{disabled:!B})}),(0,l.jsx)(r.default.Item,{name:"members",label:"成员",children:(0,l.jsx)(y.default,{mode:"tags"})}),B&&(0,l.jsx)(r.default.Item,{name:"storage_type",label:"储存类型",rules:[{required:!0}],children:(0,l.jsx)(y.default,{options:M})}),"oss"===S("storage_type",eo)&&B&&(0,l.jsx)(r.default.Item,{name:"doc_file",label:"doc_file",rules:[{required:!0}],children:(0,l.jsx)(w.default,{name:"dataSet",maxCount:1,beforeUpload:e=>(eo.setFieldsValue({doc_file:e}),!1),onRemove:()=>{eo.setFieldsValue({doc_file:void 0})},children:(0,l.jsx)(p.ZP,{icon:(0,l.jsx)(d.Z,{}),children:"Click to Upload"})})}),"db"===S("storage_type",eo)&&B&&(0,l.jsx)(r.default.Item,{name:"content",label:"content",rules:[{required:!0}],children:(0,l.jsx)(Z,{rows:8})})]})}),(0,l.jsx)(j.default,{title:"评分明细",open:T,onOk:ej,onCancel:ej,styles:{body:{maxHeight:"500px",overflowY:"auto",minWidth:"700px"}},style:{minWidth:"750px"},footer:[(0,l.jsx)(p.ZP,{onClick:ej,children:"返回"},"back")],children:(0,l.jsx)(h.Z,{columns:Object.keys(null==$?void 0:$[0]).map(e=>({title:e,dataIndex:e,key:e})),style:{minWidth:"700px"},dataSource:$,rowKey:"code",pagination:!1})})]})})})}}},function(e){e.O(0,[2913,3791,5278,9859,4330,4041,8791,5418,2783,1300,4567,2480,9773,5653,9774,2888,179],function(){return e(e.s=40201)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/index-74db7fc279335f61.js b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/index-c9af054cad9a050f.js similarity index 100% rename from packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/index-74db7fc279335f61.js rename to packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/index-c9af054cad9a050f.js diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/mobile/chat/components/ChatDialog-9a31b7bd1e32304d.js b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/mobile/chat/components/ChatDialog-ff2a846e0cd709d3.js similarity index 66% rename from packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/mobile/chat/components/ChatDialog-9a31b7bd1e32304d.js rename to packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/mobile/chat/components/ChatDialog-ff2a846e0cd709d3.js index 63cd6086b..664fcfcec 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/mobile/chat/components/ChatDialog-9a31b7bd1e32304d.js +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/mobile/chat/components/ChatDialog-ff2a846e0cd709d3.js @@ -1,4 +1,4 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8258,9618,6231,8424,5265,2640,3913],{15381:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h129.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM184 456V172h81v284h-81zm627.2 160.4H496.8l9.6 198.4c.6 11.9-4.7 23.1-14.6 30.5-6.1 4.5-13.6 6.8-21.1 6.7a44.28 44.28 0 01-42.2-32.3L329 459.2V172h415.4a56.85 56.85 0 0133.6 51.8c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-14 25.5 21.9 19a56.76 56.76 0 0119.6 43c0 19.1-11 37.5-28.8 48.4z"}}]},name:"dislike",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},65429:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},27496:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},94668:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},34971:function(e,t){"use strict";t.Z=function(e,t,n){return en?n:e}},24960:function(e,t,n){"use strict";var r=n(44002);t.Z=function(e){return Array.isArray?Array.isArray(e):(0,r.Z)(e,"Array")}},52176:function(e,t,n){"use strict";var r=n(44002);t.Z=function(e){return(0,r.Z)(e,"Boolean")}},55265:function(e,t){"use strict";t.Z=function(e){return"function"==typeof e}},82993:function(e,t){"use strict";t.Z=function(e){return null==e}},23198:function(e,t,n){"use strict";function r(e,t,n){return void 0===n&&(n=1e-5),Math.abs(e-t)1&&(E*=C=Math.sqrt(C),v*=C);var w=E*E,I=v*v,R=(o===l?-1:1)*Math.sqrt(Math.abs((w*I-w*x*x-I*k*k)/(w*x*x+I*k*k)));g=R*E*x/v+(b+T)/2,m=-(R*v)*k/E+(y+S)/2,f=Math.asin(((y-m)/v*1e9>>0)/1e9),h=Math.asin(((S-m)/v*1e9>>0)/1e9),f=bh&&(f-=2*Math.PI),!l&&h>f&&(h-=2*Math.PI)}var N=h-f;if(Math.abs(N)>A){var L=h,D=T,P=S;_=e(T=g+E*Math.cos(h=f+A*(l&&h>f?1:-1)),S=m+v*Math.sin(h),E,v,i,0,l,D,P,[h,L,g,m])}N=h-f;var M=Math.cos(f),F=Math.cos(h),B=Math.tan(N/4),j=4/3*E*B,U=4/3*v*B,G=[b,y],H=[b+j*Math.sin(f),y-U*M],$=[T+j*Math.sin(h),S-U*F],z=[T,S];if(H[0]=2*G[0]-H[0],H[1]=2*G[1]-H[1],d)return H.concat($,z,_);_=H.concat($,z,_);for(var Z=[],W=0,V=_.length;W7){e[n].shift();for(var r=e[n],a=n;r.length;)t[n]="A",e.splice(a+=1,0,["C"].concat(r.splice(0,6)));e.splice(n,1)}}(d,f,b),g=d.length,"Z"===h&&m.push(b),l=(n=d[b]).length,p.x1=+n[l-2],p.y1=+n[l-1],p.x2=+n[l-4]||p.x1,p.y2=+n[l-3]||p.y1}return t?[d,m]:d}},19586:function(e,t,n){"use strict";n.d(t,{R:function(){return r}});var r={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0}},33554:function(e,t,n){"use strict";n.d(t,{z:function(){return r}});var r={x1:0,y1:0,x2:0,y2:0,x:0,y:0,qx:null,qy:null}},54947:function(e,t,n){"use strict";function r(e){return e.map(function(e){return Array.isArray(e)?[].concat(e):e})}n.d(t,{U:function(){return r}})},94918:function(e,t,n){"use strict";n.d(t,{A:function(){return f}});var r=n(97582),a=n(65336),i=n(33554),o=n(60310),s=n(97153),l=n(19586);function c(e){for(var t=e.pathValue[e.segmentStart],n=t.toLowerCase(),r=e.data;r.length>=l.R[n]&&("m"===n&&r.length>2?(e.segments.push([t].concat(r.splice(0,2))),n="l",t="m"===t?"l":"L"):e.segments.push([t].concat(r.splice(0,l.R[n]))),l.R[n]););}function u(e){return e>=48&&e<=57}function d(e){for(var t,n=e.pathValue,r=e.max;e.index=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].includes(t));)e.index+=1}var p=function(e){this.pathValue=e,this.segments=[],this.max=e.length,this.index=0,this.param=0,this.segmentStart=0,this.data=[],this.err=""};function f(e){if((0,a.y)(e))return[].concat(e);for(var t=function(e){if((0,o.b)(e))return[].concat(e);var t=function(e){if((0,s.n)(e))return[].concat(e);var t=new p(e);for(d(t);t.index0;s-=1){if((32|a)==97&&(3===s||4===s)?function(e){var t=e.index,n=e.pathValue,r=n.charCodeAt(t);if(48===r){e.param=0,e.index+=1;return}if(49===r){e.param=1,e.index+=1;return}e.err='[path-util]: invalid Arc flag "'+n[t]+'", expecting 0 or 1 at index '+t}(e):function(e){var t,n=e.max,r=e.pathValue,a=e.index,i=a,o=!1,s=!1,l=!1,c=!1;if(i>=n){e.err="[path-util]: Invalid path value at index "+i+', "pathValue" is missing param';return}if((43===(t=r.charCodeAt(i))||45===t)&&(i+=1,t=r.charCodeAt(i)),!u(t)&&46!==t){e.err="[path-util]: Invalid path value at index "+i+', "'+r[i]+'" is not a number';return}if(46!==t){if(o=48===t,i+=1,t=r.charCodeAt(i),o&&i=e.max||!((o=n.charCodeAt(e.index))>=48&&o<=57||43===o||45===o||46===o))break}c(e)}(t);return t.err?t.err:t.segments}(e),n=0,r=0,a=0,i=0;return t.map(function(e){var t,o=e.slice(1).map(Number),s=e[0],l=s.toUpperCase();if("M"===s)return n=o[0],r=o[1],a=n,i=r,["M",n,r];if(s!==l)switch(l){case"A":t=[l,o[0],o[1],o[2],o[3],o[4],o[5]+n,o[6]+r];break;case"V":t=[l,o[0]+r];break;case"H":t=[l,o[0]+n];break;default:t=[l].concat(o.map(function(e,t){return e+(t%2?r:n)}))}else t=[l].concat(o);var c=t.length;switch(l){case"Z":n=a,r=i;break;case"H":n=t[1];break;case"V":r=t[1];break;default:n=t[c-2],r=t[c-1],"M"===l&&(a=n,i=r)}return t})}(e),n=(0,r.pi)({},i.z),f=0;f=h[t],g[t]-=m?1:0,m?e.ss:[e.s]}).flat()});return b[0].length===b[1].length?b:e(b[0],b[1],f)}}});var r=n(50944),a=n(51777);function i(e){return e.map(function(e,t,n){var i,o,s,l,c,u,d,p,f,h,g,m,b=t&&n[t-1].slice(-2).concat(e.slice(1)),y=t?(0,a.S)(b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7],b[8],{bbox:!1}).length:0;return m=t?y?(void 0===i&&(i=.5),o=b.slice(0,2),s=b.slice(2,4),l=b.slice(4,6),c=b.slice(6,8),u=(0,r.k)(o,s,i),d=(0,r.k)(s,l,i),p=(0,r.k)(l,c,i),f=(0,r.k)(u,d,i),h=(0,r.k)(d,p,i),g=(0,r.k)(f,h,i),[["C"].concat(u,f,g),["C"].concat(h,p,c)]):[e,e]:[e],{s:e,ss:m,l:y}})}},46516:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var r=n(27872);function a(e){var t,n,a;return t=0,n=0,a=0,(0,r.Y)(e).map(function(e){if("M"===e[0])return t=e[1],n=e[2],0;var r,i,o,s=e.slice(1),l=s[0],c=s[1],u=s[2],d=s[3],p=s[4],f=s[5];return i=t,a=3*((f-(o=n))*(l+u)-(p-i)*(c+d)+c*(i-u)-l*(o-d)+f*(u+i/3)-p*(d+o/3))/20,t=(r=e.slice(-2))[0],n=r[1],a}).reduce(function(e,t){return e+t},0)>=0}},90046:function(e,t,n){"use strict";n.d(t,{r:function(){return i}});var r=n(97582),a=n(10992);function i(e,t,n){return(0,a.s)(e,t,(0,r.pi)((0,r.pi)({},n),{bbox:!1,length:!0})).point}},91952:function(e,t,n){"use strict";n.d(t,{g:function(){return a}});var r=n(58076);function a(e,t){var n,a,i=e.length-1,o=[],s=0,l=(a=(n=e.length)-1,e.map(function(t,r){return e.map(function(t,i){var o=r+i;return 0===i||e[o]&&"M"===e[o][0]?["M"].concat(e[o].slice(-2)):(o>=n&&(o-=a),e[o])})}));return l.forEach(function(n,a){e.slice(1).forEach(function(n,o){s+=(0,r.y)(e[(a+o)%i].slice(-2),t[o%i].slice(-2))}),o[a]=s,s=0}),l[o.indexOf(Math.min.apply(null,o))]}},62436:function(e,t,n){"use strict";n.d(t,{D:function(){return i}});var r=n(97582),a=n(10992);function i(e,t){return(0,a.s)(e,void 0,(0,r.pi)((0,r.pi)({},t),{bbox:!1,length:!0})).length}},60310:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var r=n(97153);function a(e){return(0,r.n)(e)&&e.every(function(e){var t=e[0];return t===t.toUpperCase()})}},65336:function(e,t,n){"use strict";n.d(t,{y:function(){return a}});var r=n(60310);function a(e){return(0,r.b)(e)&&e.every(function(e){var t=e[0];return"ACLMQZ".includes(t)})}},97153:function(e,t,n){"use strict";n.d(t,{n:function(){return a}});var r=n(19586);function a(e){return Array.isArray(e)&&e.every(function(e){var t=e[0].toLowerCase();return r.R[t]===e.length-1&&"achlmqstvz".includes(t)})}},50944:function(e,t,n){"use strict";function r(e,t,n){var r=e[0],a=e[1];return[r+(t[0]-r)*n,a+(t[1]-a)*n]}n.d(t,{k:function(){return r}})},10992:function(e,t,n){"use strict";n.d(t,{s:function(){return c}});var r=n(94918),a=n(50944),i=n(58076);function o(e,t,n,r,o){var s=(0,i.y)([e,t],[n,r]),l={x:0,y:0};if("number"==typeof o){if(o<=0)l={x:e,y:t};else if(o>=s)l={x:n,y:r};else{var c=(0,a.k)([e,t],[n,r],o/s);l={x:c[0],y:c[1]}}}return{length:s,point:l,min:{x:Math.min(e,n),y:Math.min(t,r)},max:{x:Math.max(e,n),y:Math.max(t,r)}}}function s(e,t){var n=e.x,r=e.y,a=t.x,i=t.y,o=Math.sqrt((Math.pow(n,2)+Math.pow(r,2))*(Math.pow(a,2)+Math.pow(i,2)));return(n*i-r*a<0?-1:1)*Math.acos((n*a+r*i)/o)}var l=n(51777);function c(e,t,n){for(var a,c,u,d,p,f,h,g,m,b=(0,r.A)(e),y="number"==typeof t,E=[],v=0,T=0,S=0,A=0,O=[],_=[],k=0,x={x:0,y:0},C=x,w=x,I=x,R=0,N=0,L=b.length;N1&&(b*=g(A),y*=g(A));var O=(Math.pow(b,2)*Math.pow(y,2)-Math.pow(b,2)*Math.pow(S.y,2)-Math.pow(y,2)*Math.pow(S.x,2))/(Math.pow(b,2)*Math.pow(S.y,2)+Math.pow(y,2)*Math.pow(S.x,2)),_=(i!==l?1:-1)*g(O=O<0?0:O),k={x:_*(b*S.y/y),y:_*(-(y*S.x)/b)},x={x:h(E)*k.x-f(E)*k.y+(e+c)/2,y:f(E)*k.x+h(E)*k.y+(t+u)/2},C={x:(S.x-k.x)/b,y:(S.y-k.y)/y},w=s({x:1,y:0},C),I=s(C,{x:(-S.x-k.x)/b,y:(-S.y-k.y)/y});!l&&I>0?I-=2*m:l&&I<0&&(I+=2*m);var R=w+(I%=2*m)*d,N=b*h(R),L=y*f(R);return{x:h(E)*N-f(E)*L+x.x,y:f(E)*N+h(E)*L+x.y}}(e,t,n,r,a,l,c,u,d,w/v)).x,A=h.y,m&&C.push({x:S,y:A}),y&&(O+=(0,i.y)(k,[S,A])),k=[S,A],T&&O>=p&&p>_[2]){var I=(O-p)/(O-_[2]);x={x:k[0]*(1-I)+_[0]*I,y:k[1]*(1-I)+_[1]*I}}_=[S,A,O]}return T&&p>=O&&(x={x:u,y:d}),{length:O,point:x,min:{x:Math.min.apply(null,C.map(function(e){return e.x})),y:Math.min.apply(null,C.map(function(e){return e.y}))},max:{x:Math.max.apply(null,C.map(function(e){return e.x})),y:Math.max.apply(null,C.map(function(e){return e.y}))}}}(E[0],E[1],E[2],E[3],E[4],E[5],E[6],E[7],E[8],(t||0)-R,n||{})).length,x=c.min,C=c.max,w=c.point):"C"===g?(k=(u=(0,l.S)(E[0],E[1],E[2],E[3],E[4],E[5],E[6],E[7],(t||0)-R,n||{})).length,x=u.min,C=u.max,w=u.point):"Q"===g?(k=(d=function(e,t,n,r,a,o,s,l){var c,u=l.bbox,d=void 0===u||u,p=l.length,f=void 0===p||p,h=l.sampleSize,g=void 0===h?10:h,m="number"==typeof s,b=e,y=t,E=0,v=[b,y,0],T=[b,y],S={x:0,y:0},A=[{x:b,y:y}];m&&s<=0&&(S={x:b,y:y});for(var O=0;O<=g;O+=1){if(b=(c=function(e,t,n,r,a,i,o){var s=1-o;return{x:Math.pow(s,2)*e+2*s*o*n+Math.pow(o,2)*a,y:Math.pow(s,2)*t+2*s*o*r+Math.pow(o,2)*i}}(e,t,n,r,a,o,O/g)).x,y=c.y,d&&A.push({x:b,y:y}),f&&(E+=(0,i.y)(T,[b,y])),T=[b,y],m&&E>=s&&s>v[2]){var _=(E-s)/(E-v[2]);S={x:T[0]*(1-_)+v[0]*_,y:T[1]*(1-_)+v[1]*_}}v=[b,y,E]}return m&&s>=E&&(S={x:a,y:o}),{length:E,point:S,min:{x:Math.min.apply(null,A.map(function(e){return e.x})),y:Math.min.apply(null,A.map(function(e){return e.y}))},max:{x:Math.max.apply(null,A.map(function(e){return e.x})),y:Math.max.apply(null,A.map(function(e){return e.y}))}}}(E[0],E[1],E[2],E[3],E[4],E[5],(t||0)-R,n||{})).length,x=d.min,C=d.max,w=d.point):"Z"===g&&(k=(p=o((E=[v,T,S,A])[0],E[1],E[2],E[3],(t||0)-R)).length,x=p.min,C=p.max,w=p.point),y&&R=t&&(I=w),_.push(C),O.push(x),R+=k,v=(f="Z"!==g?m.slice(-2):[S,A])[0],T=f[1];return y&&t>=R&&(I={x:v,y:T}),{length:R,point:I,min:{x:Math.min.apply(null,O.map(function(e){return e.x})),y:Math.min.apply(null,O.map(function(e){return e.y}))},max:{x:Math.max.apply(null,_.map(function(e){return e.x})),y:Math.max.apply(null,_.map(function(e){return e.y}))}}}},51777:function(e,t,n){"use strict";n.d(t,{S:function(){return a}});var r=n(58076);function a(e,t,n,a,i,o,s,l,c,u){var d,p=u.bbox,f=void 0===p||p,h=u.length,g=void 0===h||h,m=u.sampleSize,b=void 0===m?10:m,y="number"==typeof c,E=e,v=t,T=0,S=[E,v,0],A=[E,v],O={x:0,y:0},_=[{x:E,y:v}];y&&c<=0&&(O={x:E,y:v});for(var k=0;k<=b;k+=1){if(E=(d=function(e,t,n,r,a,i,o,s,l){var c=1-l;return{x:Math.pow(c,3)*e+3*Math.pow(c,2)*l*n+3*c*Math.pow(l,2)*a+Math.pow(l,3)*o,y:Math.pow(c,3)*t+3*Math.pow(c,2)*l*r+3*c*Math.pow(l,2)*i+Math.pow(l,3)*s}}(e,t,n,a,i,o,s,l,k/b)).x,v=d.y,f&&_.push({x:E,y:v}),g&&(T+=(0,r.y)(A,[E,v])),A=[E,v],y&&T>=c&&c>S[2]){var x=(T-c)/(T-S[2]);O={x:A[0]*(1-x)+S[0]*x,y:A[1]*(1-x)+S[1]*x}}S=[E,v,T]}return y&&c>=T&&(O={x:s,y:l}),{length:T,point:O,min:{x:Math.min.apply(null,_.map(function(e){return e.x})),y:Math.min.apply(null,_.map(function(e){return e.y}))},max:{x:Math.max.apply(null,_.map(function(e){return e.x})),y:Math.max.apply(null,_.map(function(e){return e.y}))}}}},4503:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function i(e,t,r,i,o){if("function"!=typeof r)throw TypeError("The listener must be a function");var s=new a(r,i||e,o),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function o(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,a=[];if(0===this._eventsCount)return a;for(r in e=this._events)t.call(e,r)&&a.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?a.concat(Object.getOwnPropertySymbols(e)):a},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var a=0,i=r.length,o=Array(i);at.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let o="text/event-stream",s="last-event-id";function l(e,t){var{signal:n,headers:l,onopen:u,onmessage:d,onclose:p,onerror:f,openWhenHidden:h,fetch:g}=t,m=i(t,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((t,i)=>{let b;let y=Object.assign({},l);function E(){b.abort(),document.hidden||_()}y.accept||(y.accept=o),h||document.addEventListener("visibilitychange",E);let v=1e3,T=0;function S(){document.removeEventListener("visibilitychange",E),window.clearTimeout(T),b.abort()}null==n||n.addEventListener("abort",()=>{S(),t()});let A=null!=g?g:window.fetch,O=null!=u?u:c;async function _(){var n,o;b=new AbortController;try{let n,i,l,c;let u=await A(e,Object.assign(Object.assign({},m),{headers:y,signal:b.signal}));await O(u),await r(u.body,(o=function(e,t,n){let r=a(),i=new TextDecoder;return function(o,s){if(0===o.length)null==n||n(r),r=a();else if(s>0){let n=i.decode(o.subarray(0,s)),a=s+(32===o[s+1]?2:1),l=i.decode(o.subarray(a));switch(n){case"data":r.data=r.data?r.data+"\n"+l:l;break;case"event":r.event=l;break;case"id":e(r.id=l);break;case"retry":let c=parseInt(l,10);isNaN(c)||t(r.retry=c)}}}}(e=>{e?y[s]=e:delete y[s]},e=>{v=e},d),c=!1,function(e){void 0===n?(n=e,i=0,l=-1):n=function(e,t){let n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}(n,e);let t=n.length,r=0;for(;i=n?k.text.primary:_.text.primary;return t}let w=({color:e,name:t,mainShade:n=500,lightShade:i=300,darkShade:o=700})=>{if(!(e=(0,r.Z)({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw Error((0,u.Z)(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw Error((0,u.Z)(12,t?` (${t})`:"",JSON.stringify(e.main)));return x(e,"light",i,a),x(e,"dark",o,a),e.contrastText||(e.contrastText=C(e.main)),e},I=(0,d.Z)((0,r.Z)({common:(0,r.Z)({},m),mode:t,primary:w({color:s,name:"primary"}),secondary:w({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:w({color:c,name:"error"}),warning:w({color:h,name:"warning"}),info:w({color:p,name:"info"}),success:w({color:f,name:"success"}),grey:b,contrastThreshold:n,getContrastText:C,augmentColor:w,tonalOffset:a},{dark:k,light:_}[t]),o);return I}(a),R=(0,h.Z)(e),U=(0,d.Z)(R,{mixins:(t=R.breakpoints,(0,r.Z)({toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}}},n)),palette:c,shadows:N.slice(),typography:function(e,t){let n="function"==typeof t?t(e):t,{fontFamily:a=I,fontSize:o=14,fontWeightLight:s=300,fontWeightRegular:l=400,fontWeightMedium:c=500,fontWeightBold:u=700,htmlFontSize:p=16,allVariants:f,pxToRem:h}=n,g=(0,i.Z)(n,C),m=o/14,b=h||(e=>`${e/p*m}rem`),y=(e,t,n,i,o)=>(0,r.Z)({fontFamily:a,fontWeight:e,fontSize:b(t),lineHeight:n},a===I?{letterSpacing:`${Math.round(1e5*(i/t))/1e5}em`}:{},o,f),E={h1:y(s,96,1.167,-1.5),h2:y(s,60,1.2,-.5),h3:y(l,48,1.167,0),h4:y(l,34,1.235,.25),h5:y(l,24,1.334,0),h6:y(c,20,1.6,.15),subtitle1:y(l,16,1.75,.15),subtitle2:y(c,14,1.57,.1),body1:y(l,16,1.5,.15),body2:y(l,14,1.43,.15),button:y(c,14,1.75,.4,w),caption:y(l,12,1.66,.4),overline:y(l,12,2.66,1,w),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,d.Z)((0,r.Z)({htmlFontSize:p,pxToRem:b,fontFamily:a,fontSize:o,fontWeightLight:s,fontWeightRegular:l,fontWeightMedium:c,fontWeightBold:u},E),g,{clone:!1})}(c,s),transitions:function(e){let t=(0,r.Z)({},D,e.easing),n=(0,r.Z)({},P,e.duration);return(0,r.Z)({getAutoHeightDuration:F,create:(e=["all"],r={})=>{let{duration:a=n.standard,easing:o=t.easeInOut,delay:s=0}=r;return(0,i.Z)(r,L),(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof a?a:M(a)} ${o} ${"string"==typeof s?s:M(s)}`).join(",")}},e,{easing:t,duration:n})}(o),zIndex:(0,r.Z)({},B)});return(U=[].reduce((e,t)=>(0,d.Z)(e,t),U=(0,d.Z)(U,l))).unstable_sxConfig=(0,r.Z)({},p.Z,null==l?void 0:l.unstable_sxConfig),U.unstable_sx=function(e){return(0,f.Z)({sx:e,theme:this})},U}();var G="$$material",H=n(58128);let $=(0,H.ZP)({themeId:G,defaultTheme:U,rootShouldForwardProp:e=>"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e&&"classes"!==e});var z=n(1977),Z=n(8027);function W(e){return(0,Z.ZP)("MuiSvgIcon",e)}(0,z.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var V=n(85893);let Y=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],q=e=>{let{color:t,fontSize:n,classes:r}=e,a={root:["root","inherit"!==t&&`color${l(t)}`,`fontSize${l(n)}`]};return(0,s.Z)(a,W,r)},K=$("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${l(n.color)}`],t[`fontSize${l(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,a,i,o,s,l,c,u,d,p,f,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(a=e.transitions)||null==(a=a.duration)?void 0:a.shorter}),fontSize:({inherit:"inherit",small:(null==(i=e.typography)||null==(o=i.pxToRem)?void 0:o.call(i,20))||"1.25rem",medium:(null==(s=e.typography)||null==(l=s.pxToRem)?void 0:l.call(s,24))||"1.5rem",large:(null==(c=e.typography)||null==(u=c.pxToRem)?void 0:u.call(c,35))||"2.1875rem"})[t.fontSize],color:null!=(d=null==(p=(e.vars||e).palette)||null==(p=p[t.color])?void 0:p.main)?d:({action:null==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.active,disabled:null==(h=(e.vars||e).palette)||null==(h=h.action)?void 0:h.disabled,inherit:void 0})[t.color]}}),X=a.forwardRef(function(e,t){let n=function({props:e,name:t}){return(0,c.Z)({props:e,name:t,defaultTheme:U,themeId:G})}({props:e,name:"MuiSvgIcon"}),{children:s,className:l,color:u="inherit",component:d="svg",fontSize:p="medium",htmlColor:f,inheritViewBox:h=!1,titleAccess:g,viewBox:m="0 0 24 24"}=n,b=(0,i.Z)(n,Y),y=a.isValidElement(s)&&"svg"===s.type,E=(0,r.Z)({},n,{color:u,component:d,fontSize:p,instanceFontSize:e.fontSize,inheritViewBox:h,viewBox:m,hasSvgAsChild:y}),v={};h||(v.viewBox=m);let T=q(E);return(0,V.jsxs)(K,(0,r.Z)({as:d,className:(0,o.Z)(T.root,l),focusable:"false",color:f,"aria-hidden":!g||void 0,role:g?"img":void 0,ref:t},v,b,y&&s.props,{ownerState:E,children:[y?s.props.children:s,g?(0,V.jsx)("title",{children:g}):null]}))});function Q(e,t){function n(n,a){return(0,V.jsx)(X,(0,r.Z)({"data-testid":`${t}Icon`,ref:a},n,{children:e}))}return n.muiName=X.muiName,a.memo(a.forwardRef(n))}X.muiName="SvgIcon"},2101:function(e,t,n){"use strict";var r=n(64836);t._j=function(e,t){if(e=s(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return l(e)},t.mi=function(e,t){let n=c(e),r=c(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)},t.$n=function(e,t){if(e=s(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return l(e)};var a=r(n(743)),i=r(n(49425));function o(e,t=0,n=1){return(0,i.default)(e,t,n)}function s(e){let t;if(e.type)return e;if("#"===e.charAt(0))return s(function(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map(e=>e+e)),n?`rgb${4===n.length?"a":""}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));let n=e.indexOf("("),r=e.substring(0,n);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw Error((0,a.default)(9,e));let i=e.substring(n+1,e.length-1);if("color"===r){if(t=(i=i.split(" ")).shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(t))throw Error((0,a.default)(10,t))}else i=i.split(",");return{type:r,values:i=i.map(e=>parseFloat(e)),colorSpace:t}}function l(e){let{type:t,colorSpace:n}=e,{values:r}=e;return -1!==t.indexOf("rgb")?r=r.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),`${t}(${r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`})`}function c(e){let t="hsl"===(e=s(e)).type||"hsla"===e.type?s(function(e){e=s(e);let{values:t}=e,n=t[0],r=t[1]/100,a=t[2]/100,i=r*Math.min(a,1-a),o=(e,t=(e+n/30)%12)=>a-i*Math.max(Math.min(t-3,9-t,1),-1),c="rgb",u=[Math.round(255*o(0)),Math.round(255*o(8)),Math.round(255*o(4))];return"hsla"===e.type&&(c+="a",u.push(t[3])),l({type:c,values:u})}(e)).values:e.values;return Number((.2126*(t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)))[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}},58128:function(e,t,n){"use strict";var r=n(64836);t.ZP=function(e={}){let{themeId:t,defaultTheme:n=g,rootShouldForwardProp:r=h,slotShouldForwardProp:l=h}=e,u=e=>(0,c.default)((0,a.default)({},e,{theme:b((0,a.default)({},e,{defaultTheme:n,themeId:t}))}));return u.__mui_systemSx=!0,(e,c={})=>{var d;let f;(0,o.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));let{name:g,slot:E,skipVariantsResolver:v,skipSx:T,overridesResolver:S=(d=m(E))?(e,t)=>t[d]:null}=c,A=(0,i.default)(c,p),O=void 0!==v?v:E&&"Root"!==E&&"root"!==E||!1,_=T||!1,k=h;"Root"===E||"root"===E?k=r:E?k=l:"string"==typeof e&&e.charCodeAt(0)>96&&(k=void 0);let x=(0,o.default)(e,(0,a.default)({shouldForwardProp:k,label:f},A)),C=e=>"function"==typeof e&&e.__emotion_real!==e||(0,s.isPlainObject)(e)?r=>y(e,(0,a.default)({},r,{theme:b({theme:r.theme,defaultTheme:n,themeId:t})})):e,w=(r,...i)=>{let o=C(r),s=i?i.map(C):[];g&&S&&s.push(e=>{let r=b((0,a.default)({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[g]||!r.components[g].styleOverrides)return null;let i=r.components[g].styleOverrides,o={};return Object.entries(i).forEach(([t,n])=>{o[t]=y(n,(0,a.default)({},e,{theme:r}))}),S(e,o)}),g&&!O&&s.push(e=>{var r;let i=b((0,a.default)({},e,{defaultTheme:n,themeId:t})),o=null==i||null==(r=i.components)||null==(r=r[g])?void 0:r.variants;return y({variants:o},(0,a.default)({},e,{theme:i}))}),_||s.push(u);let l=s.length-i.length;if(Array.isArray(r)&&l>0){let e=Array(l).fill("");(o=[...r,...e]).raw=[...r.raw,...e]}let c=x(o,...s);return e.muiName&&(c.muiName=e.muiName),c};return x.withConfig&&(w.withConfig=x.withConfig),w}};var a=r(n(10434)),i=r(n(7071)),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(23534)),s=n(211);r(n(99698)),r(n(37889));var l=r(n(19926)),c=r(n(386));let u=["ownerState"],d=["variants"],p=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function h(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}let g=(0,l.default)(),m=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function b({defaultTheme:e,theme:t,themeId:n}){return 0===Object.keys(t).length?e:t[n]||t}function y(e,t){let{ownerState:n}=t,r=(0,i.default)(t,u),o="function"==typeof e?e((0,a.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(e=>y(e,(0,a.default)({ownerState:n},r)));if(o&&"object"==typeof o&&Array.isArray(o.variants)){let{variants:e=[]}=o,t=(0,i.default)(o,d),s=t;return e.forEach(e=>{let t=!0;"function"==typeof e.props?t=e.props((0,a.default)({ownerState:n},r,n)):Object.keys(e.props).forEach(a=>{(null==n?void 0:n[a])!==e.props[a]&&r[a]!==e.props[a]&&(t=!1)}),t&&(Array.isArray(s)||(s=[s]),s.push("function"==typeof e.style?e.style((0,a.default)({ownerState:n},r,n)):e.style))}),s}return o}},19926:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},private_createBreakpoints:function(){return a.Z},unstable_applyStyles:function(){return i.Z}});var r=n(88647),a=n(41512),i=n(57064)},386:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},extendSxProp:function(){return a.Z},unstable_createStyleFunctionSx:function(){return r.n},unstable_defaultSxConfig:function(){return i.Z}});var r=n(86523),a=n(39707),i=n(44920)},99698:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(62908)},49425:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r}});var r=function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}},211:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},isPlainObject:function(){return r.P}});var r=n(68027)},743:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(78758)},37889:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return l},getFunctionName:function(){return i}});var r=n(59864);let a=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function i(e){let t=`${e}`.match(a),n=t&&t[1];return n||""}function o(e,t=""){return e.displayName||e.name||i(e)||t}function s(e,t,n){let r=o(t);return e.displayName||(""!==r?`${n}(${r})`:n)}function l(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return o(e,"Component");if("object"==typeof e)switch(e.$$typeof){case r.ForwardRef:return s(e,e.render,"ForwardRef");case r.Memo:return s(e,e.type,"memo")}}}},2093:function(e,t,n){"use strict";var r=n(97582),a=n(67294),i=n(92770);t.Z=function(e,t){(0,a.useEffect)(function(){var t=e(),n=!1;return!function(){(0,r.mG)(this,void 0,void 0,function(){return(0,r.Jh)(this,function(e){switch(e.label){case 0:if(!(0,i.mf)(t[Symbol.asyncIterator]))return[3,4];e.label=1;case 1:return[4,t.next()];case 2:if(e.sent().done||n)return[3,3];return[3,1];case 3:return[3,6];case 4:return[4,t];case 5:e.sent(),e.label=6;case 6:return[2]}})})}(),function(){n=!0}},t)}},85265:function(e,t,n){"use strict";n.d(t,{Z:function(){return q}});var r=n(67294),a=n(93967),i=n.n(a),o=n(1413),s=n(97685),l=n(2788),c=n(8410),u=r.createContext(null),d=r.createContext({}),p=n(4942),f=n(87462),h=n(29372),g=n(15105),m=n(64217),b=n(45987),y=n(42550),E=["prefixCls","className","containerRef"],v=function(e){var t=e.prefixCls,n=e.className,a=e.containerRef,o=(0,b.Z)(e,E),s=r.useContext(d).panel,l=(0,y.x1)(s,a);return r.createElement("div",(0,f.Z)({className:i()("".concat(t,"-content"),n),role:"dialog",ref:l},(0,m.Z)(e,{aria:!0}),{"aria-modal":"true"},o))},T=n(80334);function S(e){return"string"==typeof e&&String(Number(e))===e?((0,T.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var A={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"},O=r.forwardRef(function(e,t){var n,a,l,c=e.prefixCls,d=e.open,b=e.placement,y=e.inline,E=e.push,T=e.forceRender,O=e.autoFocus,_=e.keyboard,k=e.classNames,x=e.rootClassName,C=e.rootStyle,w=e.zIndex,I=e.className,R=e.id,N=e.style,L=e.motion,D=e.width,P=e.height,M=e.children,F=e.mask,B=e.maskClosable,j=e.maskMotion,U=e.maskClassName,G=e.maskStyle,H=e.afterOpenChange,$=e.onClose,z=e.onMouseEnter,Z=e.onMouseOver,W=e.onMouseLeave,V=e.onClick,Y=e.onKeyDown,q=e.onKeyUp,K=e.styles,X=e.drawerRender,Q=r.useRef(),J=r.useRef(),ee=r.useRef();r.useImperativeHandle(t,function(){return Q.current}),r.useEffect(function(){if(d&&O){var e;null===(e=Q.current)||void 0===e||e.focus({preventScroll:!0})}},[d]);var et=r.useState(!1),en=(0,s.Z)(et,2),er=en[0],ea=en[1],ei=r.useContext(u),eo=null!==(n=null!==(a=null===(l="boolean"==typeof E?E?{}:{distance:0}:E||{})||void 0===l?void 0:l.distance)&&void 0!==a?a:null==ei?void 0:ei.pushDistance)&&void 0!==n?n:180,es=r.useMemo(function(){return{pushDistance:eo,push:function(){ea(!0)},pull:function(){ea(!1)}}},[eo]);r.useEffect(function(){var e,t;d?null==ei||null===(e=ei.push)||void 0===e||e.call(ei):null==ei||null===(t=ei.pull)||void 0===t||t.call(ei)},[d]),r.useEffect(function(){return function(){var e;null==ei||null===(e=ei.pull)||void 0===e||e.call(ei)}},[]);var el=F&&r.createElement(h.ZP,(0,f.Z)({key:"mask"},j,{visible:d}),function(e,t){var n=e.className,a=e.style;return r.createElement("div",{className:i()("".concat(c,"-mask"),n,null==k?void 0:k.mask,U),style:(0,o.Z)((0,o.Z)((0,o.Z)({},a),G),null==K?void 0:K.mask),onClick:B&&d?$:void 0,ref:t})}),ec="function"==typeof L?L(b):L,eu={};if(er&&eo)switch(b){case"top":eu.transform="translateY(".concat(eo,"px)");break;case"bottom":eu.transform="translateY(".concat(-eo,"px)");break;case"left":eu.transform="translateX(".concat(eo,"px)");break;default:eu.transform="translateX(".concat(-eo,"px)")}"left"===b||"right"===b?eu.width=S(D):eu.height=S(P);var ed={onMouseEnter:z,onMouseOver:Z,onMouseLeave:W,onClick:V,onKeyDown:Y,onKeyUp:q},ep=r.createElement(h.ZP,(0,f.Z)({key:"panel"},ec,{visible:d,forceRender:T,onVisibleChanged:function(e){null==H||H(e)},removeOnLeave:!1,leavedClassName:"".concat(c,"-content-wrapper-hidden")}),function(t,n){var a=t.className,s=t.style,l=r.createElement(v,(0,f.Z)({id:R,containerRef:n,prefixCls:c,className:i()(I,null==k?void 0:k.content),style:(0,o.Z)((0,o.Z)({},N),null==K?void 0:K.content)},(0,m.Z)(e,{aria:!0}),ed),M);return r.createElement("div",(0,f.Z)({className:i()("".concat(c,"-content-wrapper"),null==k?void 0:k.wrapper,a),style:(0,o.Z)((0,o.Z)((0,o.Z)({},eu),s),null==K?void 0:K.wrapper)},(0,m.Z)(e,{data:!0})),X?X(l):l)}),ef=(0,o.Z)({},C);return w&&(ef.zIndex=w),r.createElement(u.Provider,{value:es},r.createElement("div",{className:i()(c,"".concat(c,"-").concat(b),x,(0,p.Z)((0,p.Z)({},"".concat(c,"-open"),d),"".concat(c,"-inline"),y)),style:ef,tabIndex:-1,ref:Q,onKeyDown:function(e){var t,n,r=e.keyCode,a=e.shiftKey;switch(r){case g.Z.TAB:r===g.Z.TAB&&(a||document.activeElement!==ee.current?a&&document.activeElement===J.current&&(null===(n=ee.current)||void 0===n||n.focus({preventScroll:!0})):null===(t=J.current)||void 0===t||t.focus({preventScroll:!0}));break;case g.Z.ESC:$&&_&&(e.stopPropagation(),$(e))}}},el,r.createElement("div",{tabIndex:0,ref:J,style:A,"aria-hidden":"true","data-sentinel":"start"}),ep,r.createElement("div",{tabIndex:0,ref:ee,style:A,"aria-hidden":"true","data-sentinel":"end"})))}),_=function(e){var t=e.open,n=e.prefixCls,a=e.placement,i=e.autoFocus,u=e.keyboard,p=e.width,f=e.mask,h=void 0===f||f,g=e.maskClosable,m=e.getContainer,b=e.forceRender,y=e.afterOpenChange,E=e.destroyOnClose,v=e.onMouseEnter,T=e.onMouseOver,S=e.onMouseLeave,A=e.onClick,_=e.onKeyDown,k=e.onKeyUp,x=e.panelRef,C=r.useState(!1),w=(0,s.Z)(C,2),I=w[0],R=w[1],N=r.useState(!1),L=(0,s.Z)(N,2),D=L[0],P=L[1];(0,c.Z)(function(){P(!0)},[]);var M=!!D&&void 0!==t&&t,F=r.useRef(),B=r.useRef();(0,c.Z)(function(){M&&(B.current=document.activeElement)},[M]);var j=r.useMemo(function(){return{panel:x}},[x]);if(!b&&!I&&!M&&E)return null;var U=(0,o.Z)((0,o.Z)({},e),{},{open:M,prefixCls:void 0===n?"rc-drawer":n,placement:void 0===a?"right":a,autoFocus:void 0===i||i,keyboard:void 0===u||u,width:void 0===p?378:p,mask:h,maskClosable:void 0===g||g,inline:!1===m,afterOpenChange:function(e){var t,n;R(e),null==y||y(e),e||!B.current||null!==(t=F.current)&&void 0!==t&&t.contains(B.current)||null===(n=B.current)||void 0===n||n.focus({preventScroll:!0})},ref:F},{onMouseEnter:v,onMouseOver:T,onMouseLeave:S,onClick:A,onKeyDown:_,onKeyUp:k});return r.createElement(d.Provider,{value:j},r.createElement(l.Z,{open:M||b||I,autoDestroy:!1,getContainer:m,autoLock:h&&(M||I)},r.createElement(O,U)))},k=n(89942),x=n(87263),C=n(33603),w=n(43945),I=n(53124),R=n(16569),N=n(69760),L=n(48054),D=e=>{var t,n;let{prefixCls:a,title:o,footer:s,extra:l,loading:c,onClose:u,headerStyle:d,bodyStyle:p,footerStyle:f,children:h,classNames:g,styles:m}=e,{drawer:b}=r.useContext(I.E_),y=r.useCallback(e=>r.createElement("button",{type:"button",onClick:u,"aria-label":"Close",className:`${a}-close`},e),[u]),[E,v]=(0,N.Z)((0,N.w)(e),(0,N.w)(b),{closable:!0,closeIconRender:y}),T=r.useMemo(()=>{var e,t;return o||E?r.createElement("div",{style:Object.assign(Object.assign(Object.assign({},null===(e=null==b?void 0:b.styles)||void 0===e?void 0:e.header),d),null==m?void 0:m.header),className:i()(`${a}-header`,{[`${a}-header-close-only`]:E&&!o&&!l},null===(t=null==b?void 0:b.classNames)||void 0===t?void 0:t.header,null==g?void 0:g.header)},r.createElement("div",{className:`${a}-header-title`},v,o&&r.createElement("div",{className:`${a}-title`},o)),l&&r.createElement("div",{className:`${a}-extra`},l)):null},[E,v,l,d,a,o]),S=r.useMemo(()=>{var e,t;if(!s)return null;let n=`${a}-footer`;return r.createElement("div",{className:i()(n,null===(e=null==b?void 0:b.classNames)||void 0===e?void 0:e.footer,null==g?void 0:g.footer),style:Object.assign(Object.assign(Object.assign({},null===(t=null==b?void 0:b.styles)||void 0===t?void 0:t.footer),f),null==m?void 0:m.footer)},s)},[s,f,a]);return r.createElement(r.Fragment,null,T,r.createElement("div",{className:i()(`${a}-body`,null==g?void 0:g.body,null===(t=null==b?void 0:b.classNames)||void 0===t?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},null===(n=null==b?void 0:b.styles)||void 0===n?void 0:n.body),p),null==m?void 0:m.body)},c?r.createElement(L.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${a}-body-skeleton`}):h),S)},P=n(25446),M=n(14747),F=n(83559),B=n(83262);let j=e=>{let t="100%";return({left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`})[e]},U=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),G=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}}},U({opacity:e},{opacity:1})),H=(e,t)=>[G(.7,t),U({transform:j(e)},{transform:"none"})];var $=e=>{let{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:G(0,n),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce((e,t)=>Object.assign(Object.assign({},e),{[`&-${t}`]:H(t,n)}),{})}}};let z=e=>{let{borderRadiusSM:t,componentCls:n,zIndexPopup:r,colorBgMask:a,colorBgElevated:i,motionDurationSlow:o,motionDurationMid:s,paddingXS:l,padding:c,paddingLG:u,fontSizeLG:d,lineHeightLG:p,lineWidth:f,lineType:h,colorSplit:g,marginXS:m,colorIcon:b,colorIconHover:y,colorBgTextHover:E,colorBgTextActive:v,colorText:T,fontWeightStrong:S,footerPaddingBlock:A,footerPaddingInline:O,calc:_}=e,k=`${n}-content-wrapper`;return{[n]:{position:"fixed",inset:0,zIndex:r,pointerEvents:"none",color:T,"&-pure":{position:"relative",background:i,display:"flex",flexDirection:"column",[`&${n}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${n}-mask`]:{position:"absolute",inset:0,zIndex:r,background:a,pointerEvents:"auto"},[k]:{position:"absolute",zIndex:r,maxWidth:"100vw",transition:`all ${o}`,"&-hidden":{display:"none"}},[`&-left > ${k}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${k}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${k}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${k}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${n}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:i,pointerEvents:"auto"},[`${n}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,P.bf)(c)} ${(0,P.bf)(u)}`,fontSize:d,lineHeight:p,borderBottom:`${(0,P.bf)(f)} ${h} ${g}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:"none"},[`${n}-close`]:Object.assign({display:"inline-flex",width:_(d).add(l).equal(),height:_(d).add(l).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",marginInlineEnd:m,color:b,fontWeight:S,fontSize:d,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${s}`,textRendering:"auto","&:hover":{color:y,backgroundColor:E,textDecoration:"none"},"&:active":{backgroundColor:v}},(0,M.Qy)(e)),[`${n}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:d,lineHeight:p},[`${n}-body`]:{flex:1,minWidth:0,minHeight:0,padding:u,overflow:"auto",[`${n}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${n}-footer`]:{flexShrink:0,padding:`${(0,P.bf)(A)} ${(0,P.bf)(O)}`,borderTop:`${(0,P.bf)(f)} ${h} ${g}`},"&-rtl":{direction:"rtl"}}}};var Z=(0,F.I$)("Drawer",e=>{let t=(0,B.IX)(e,{});return[z(t),$(t)]},e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding})),W=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let V={distance:180},Y=e=>{let{rootClassName:t,width:n,height:a,size:o="default",mask:s=!0,push:l=V,open:c,afterOpenChange:u,onClose:d,prefixCls:p,getContainer:f,style:h,className:g,visible:m,afterVisibleChange:b,maskStyle:y,drawerStyle:E,contentWrapperStyle:v}=e,T=W(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:S,getPrefixCls:A,direction:O,drawer:N}=r.useContext(I.E_),L=A("drawer",p),[P,M,F]=Z(L),B=void 0===f&&S?()=>S(document.body):f,j=i()({"no-mask":!s,[`${L}-rtl`]:"rtl"===O},t,M,F),U=r.useMemo(()=>null!=n?n:"large"===o?736:378,[n,o]),G=r.useMemo(()=>null!=a?a:"large"===o?736:378,[a,o]),H={motionName:(0,C.m)(L,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},$=(0,R.H)(),[z,Y]=(0,x.Cn)("Drawer",T.zIndex),{classNames:q={},styles:K={}}=T,{classNames:X={},styles:Q={}}=N||{};return P(r.createElement(k.Z,{form:!0,space:!0},r.createElement(w.Z.Provider,{value:Y},r.createElement(_,Object.assign({prefixCls:L,onClose:d,maskMotion:H,motion:e=>({motionName:(0,C.m)(L,`panel-motion-${e}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500})},T,{classNames:{mask:i()(q.mask,X.mask),content:i()(q.content,X.content),wrapper:i()(q.wrapper,X.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},K.mask),y),Q.mask),content:Object.assign(Object.assign(Object.assign({},K.content),E),Q.content),wrapper:Object.assign(Object.assign(Object.assign({},K.wrapper),v),Q.wrapper)},open:null!=c?c:m,mask:s,push:l,width:U,height:G,style:Object.assign(Object.assign({},null==N?void 0:N.style),h),className:i()(null==N?void 0:N.className,g),rootClassName:j,getContainer:B,afterOpenChange:null!=u?u:b,panelRef:$,zIndex:z}),r.createElement(D,Object.assign({prefixCls:L},T,{onClose:d}))))))};Y._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,style:n,className:a,placement:o="right"}=e,s=W(e,["prefixCls","style","className","placement"]),{getPrefixCls:l}=r.useContext(I.E_),c=l("drawer",t),[u,d,p]=Z(c),f=i()(c,`${c}-pure`,`${c}-${o}`,d,p,a);return u(r.createElement("div",{className:f,style:n},r.createElement(D,Object.assign({prefixCls:c},s))))};var q=Y},86250:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r=n(67294),a=n(93967),i=n.n(a),o=n(98423),s=n(98065),l=n(53124),c=n(83559),u=n(83262);let d=["wrap","nowrap","wrap-reverse"],p=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],f=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],h=(e,t)=>{let n=!0===t.wrap?"wrap":t.wrap;return{[`${e}-wrap-${n}`]:n&&d.includes(n)}},g=(e,t)=>{let n={};return f.forEach(r=>{n[`${e}-align-${r}`]=t.align===r}),n[`${e}-align-stretch`]=!t.align&&!!t.vertical,n},m=(e,t)=>{let n={};return p.forEach(r=>{n[`${e}-justify-${r}`]=t.justify===r}),n},b=e=>{let{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},y=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},E=e=>{let{componentCls:t}=e,n={};return d.forEach(e=>{n[`${t}-wrap-${e}`]={flexWrap:e}}),n},v=e=>{let{componentCls:t}=e,n={};return f.forEach(e=>{n[`${t}-align-${e}`]={alignItems:e}}),n},T=e=>{let{componentCls:t}=e,n={};return p.forEach(e=>{n[`${t}-justify-${e}`]={justifyContent:e}}),n};var S=(0,c.I$)("Flex",e=>{let{paddingXS:t,padding:n,paddingLG:r}=e,a=(0,u.IX)(e,{flexGapSM:t,flexGap:n,flexGapLG:r});return[b(a),y(a),E(a),v(a),T(a)]},()=>({}),{resetStyle:!1}),A=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let O=r.forwardRef((e,t)=>{let{prefixCls:n,rootClassName:a,className:c,style:u,flex:d,gap:p,children:f,vertical:b=!1,component:y="div"}=e,E=A(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:v,direction:T,getPrefixCls:O}=r.useContext(l.E_),_=O("flex",n),[k,x,C]=S(_),w=null!=b?b:null==v?void 0:v.vertical,I=i()(c,a,null==v?void 0:v.className,_,x,C,i()(Object.assign(Object.assign(Object.assign({},h(_,e)),g(_,e)),m(_,e))),{[`${_}-rtl`]:"rtl"===T,[`${_}-gap-${p}`]:(0,s.n)(p),[`${_}-vertical`]:w}),R=Object.assign(Object.assign({},null==v?void 0:v.style),u);return d&&(R.flex=d),p&&!(0,s.n)(p)&&(R.gap=p),k(r.createElement(y,Object.assign({ref:t,className:I,style:R},(0,o.Z)(E,["justify","wrap","align"])),f))});var _=O},57020:function(e,t,n){"use strict";n.d(t,{Z:function(){return eT}});var r=n(67294),a=n(99611),i=n(93967),o=n.n(i),s=n(87462),l=n(1413),c=n(4942),u=n(97685),d=n(71002),p=n(45987),f=n(27678),h=n(21770),g=n(40974),m=n(64019),b=n(15105),y=n(2788),E=n(29372),v=r.createContext(null),T=function(e){var t=e.visible,n=e.maskTransitionName,a=e.getContainer,i=e.prefixCls,s=e.rootClassName,u=e.icons,d=e.countRender,p=e.showSwitch,f=e.showProgress,h=e.current,g=e.transform,m=e.count,T=e.scale,S=e.minScale,A=e.maxScale,O=e.closeIcon,_=e.onSwitchLeft,k=e.onSwitchRight,x=e.onClose,C=e.onZoomIn,w=e.onZoomOut,I=e.onRotateRight,R=e.onRotateLeft,N=e.onFlipX,L=e.onFlipY,D=e.onReset,P=e.toolbarRender,M=e.zIndex,F=e.image,B=(0,r.useContext)(v),j=u.rotateLeft,U=u.rotateRight,G=u.zoomIn,H=u.zoomOut,$=u.close,z=u.left,Z=u.right,W=u.flipX,V=u.flipY,Y="".concat(i,"-operations-operation");r.useEffect(function(){var e=function(e){e.keyCode===b.Z.ESC&&x()};return t&&window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}},[t]);var q=[{icon:V,onClick:L,type:"flipY"},{icon:W,onClick:N,type:"flipX"},{icon:j,onClick:R,type:"rotateLeft"},{icon:U,onClick:I,type:"rotateRight"},{icon:H,onClick:w,type:"zoomOut",disabled:T<=S},{icon:G,onClick:C,type:"zoomIn",disabled:T===A}].map(function(e){var t,n=e.icon,a=e.onClick,s=e.type,l=e.disabled;return r.createElement("div",{className:o()(Y,(t={},(0,c.Z)(t,"".concat(i,"-operations-operation-").concat(s),!0),(0,c.Z)(t,"".concat(i,"-operations-operation-disabled"),!!l),t)),onClick:a,key:s},n)}),K=r.createElement("div",{className:"".concat(i,"-operations")},q);return r.createElement(E.ZP,{visible:t,motionName:n},function(e){var t=e.className,n=e.style;return r.createElement(y.Z,{open:!0,getContainer:null!=a?a:document.body},r.createElement("div",{className:o()("".concat(i,"-operations-wrapper"),t,s),style:(0,l.Z)((0,l.Z)({},n),{},{zIndex:M})},null===O?null:r.createElement("button",{className:"".concat(i,"-close"),onClick:x},O||$),p&&r.createElement(r.Fragment,null,r.createElement("div",{className:o()("".concat(i,"-switch-left"),(0,c.Z)({},"".concat(i,"-switch-left-disabled"),0===h)),onClick:_},z),r.createElement("div",{className:o()("".concat(i,"-switch-right"),(0,c.Z)({},"".concat(i,"-switch-right-disabled"),h===m-1)),onClick:k},Z)),r.createElement("div",{className:"".concat(i,"-footer")},f&&r.createElement("div",{className:"".concat(i,"-progress")},d?d(h+1,m):"".concat(h+1," / ").concat(m)),P?P(K,(0,l.Z)((0,l.Z)({icons:{flipYIcon:q[0],flipXIcon:q[1],rotateLeftIcon:q[2],rotateRightIcon:q[3],zoomOutIcon:q[4],zoomInIcon:q[5]},actions:{onFlipY:L,onFlipX:N,onRotateLeft:R,onRotateRight:I,onZoomOut:w,onZoomIn:C,onReset:D,onClose:x},transform:g},B?{current:h,total:m}:{}),{},{image:F})):K)))})},S=n(91881),A=n(75164),O={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1},_=n(80334);function k(e,t,n,r){var a=t+n,i=(n-r)/2;if(n>r){if(t>0)return(0,c.Z)({},e,i);if(t<0&&ar)return(0,c.Z)({},e,t<0?i:-i);return{}}function x(e,t,n,r){var a=(0,f.g1)(),i=a.width,o=a.height,s=null;return e<=i&&t<=o?s={x:0,y:0}:(e>i||t>o)&&(s=(0,l.Z)((0,l.Z)({},k("x",n,e,i)),k("y",r,t,o))),s}function C(e){var t=e.src,n=e.isCustomPlaceholder,a=e.fallback,i=(0,r.useState)(n?"loading":"normal"),o=(0,u.Z)(i,2),s=o[0],l=o[1],c=(0,r.useRef)(!1),d="error"===s;(0,r.useEffect)(function(){var e=!0;return new Promise(function(e){var n=document.createElement("img");n.onerror=function(){return e(!1)},n.onload=function(){return e(!0)},n.src=t}).then(function(t){!t&&e&&l("error")}),function(){e=!1}},[t]),(0,r.useEffect)(function(){n&&!c.current?l("loading"):d&&l("normal")},[t]);var p=function(){l("normal")};return[function(e){c.current=!1,"loading"===s&&null!=e&&e.complete&&(e.naturalWidth||e.naturalHeight)&&(c.current=!0,p())},d&&a?{src:a}:{onLoad:p,src:t},s]}function w(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}var I=["fallback","src","imgRef"],R=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],N=function(e){var t=e.fallback,n=e.src,a=e.imgRef,i=(0,p.Z)(e,I),o=C({src:n,fallback:t}),l=(0,u.Z)(o,2),c=l[0],d=l[1];return r.createElement("img",(0,s.Z)({ref:function(e){a.current=e,c(e)}},i,d))},L=function(e){var t,n,a,i,d,h,y,E,k,C,I,L,D,P,M,F,B,j,U,G,H,$,z,Z,W,V,Y,q,K=e.prefixCls,X=e.src,Q=e.alt,J=e.imageInfo,ee=e.fallback,et=e.movable,en=void 0===et||et,er=e.onClose,ea=e.visible,ei=e.icons,eo=e.rootClassName,es=e.closeIcon,el=e.getContainer,ec=e.current,eu=void 0===ec?0:ec,ed=e.count,ep=void 0===ed?1:ed,ef=e.countRender,eh=e.scaleStep,eg=void 0===eh?.5:eh,em=e.minScale,eb=void 0===em?1:em,ey=e.maxScale,eE=void 0===ey?50:ey,ev=e.transitionName,eT=e.maskTransitionName,eS=void 0===eT?"fade":eT,eA=e.imageRender,eO=e.imgCommonProps,e_=e.toolbarRender,ek=e.onTransform,ex=e.onChange,eC=(0,p.Z)(e,R),ew=(0,r.useRef)(),eI=(0,r.useContext)(v),eR=eI&&ep>1,eN=eI&&ep>=1,eL=(0,r.useState)(!0),eD=(0,u.Z)(eL,2),eP=eD[0],eM=eD[1],eF=(t=(0,r.useRef)(null),n=(0,r.useRef)([]),a=(0,r.useState)(O),d=(i=(0,u.Z)(a,2))[0],h=i[1],y=function(e,r){null===t.current&&(n.current=[],t.current=(0,A.Z)(function(){h(function(e){var a=e;return n.current.forEach(function(e){a=(0,l.Z)((0,l.Z)({},a),e)}),t.current=null,null==ek||ek({transform:a,action:r}),a})})),n.current.push((0,l.Z)((0,l.Z)({},d),e))},{transform:d,resetTransform:function(e){h(O),(0,S.Z)(O,d)||null==ek||ek({transform:O,action:e})},updateTransform:y,dispatchZoomChange:function(e,t,n,r,a){var i=ew.current,o=i.width,s=i.height,l=i.offsetWidth,c=i.offsetHeight,u=i.offsetLeft,p=i.offsetTop,h=e,g=d.scale*e;g>eE?(g=eE,h=eE/d.scale):g0&&(t=1/t),eG(t,"wheel",e.clientX,e.clientY)}}}),e$=eH.isMoving,ez=eH.onMouseDown,eZ=eH.onWheel,eW=(U=eB.rotate,G=eB.scale,H=eB.x,$=eB.y,z=(0,r.useState)(!1),W=(Z=(0,u.Z)(z,2))[0],V=Z[1],Y=(0,r.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),q=function(e){Y.current=(0,l.Z)((0,l.Z)({},Y.current),e)},(0,r.useEffect)(function(){var e;return ea&&en&&(e=(0,m.Z)(window,"touchmove",function(e){return e.preventDefault()},{passive:!1})),function(){var t;null===(t=e)||void 0===t||t.remove()}},[ea,en]),{isTouching:W,onTouchStart:function(e){if(en){e.stopPropagation(),V(!0);var t=e.touches,n=void 0===t?[]:t;n.length>1?q({point1:{x:n[0].clientX,y:n[0].clientY},point2:{x:n[1].clientX,y:n[1].clientY},eventType:"touchZoom"}):q({point1:{x:n[0].clientX-H,y:n[0].clientY-$},eventType:"move"})}},onTouchMove:function(e){var t=e.touches,n=void 0===t?[]:t,r=Y.current,a=r.point1,i=r.point2,o=r.eventType;if(n.length>1&&"touchZoom"===o){var s={x:n[0].clientX,y:n[0].clientY},l={x:n[1].clientX,y:n[1].clientY},c=function(e,t,n,r){var a=w(e,n),i=w(t,r);if(0===a&&0===i)return[e.x,e.y];var o=a/(a+i);return[e.x+o*(t.x-e.x),e.y+o*(t.y-e.y)]}(a,i,s,l),d=(0,u.Z)(c,2),p=d[0],f=d[1];eG(w(s,l)/w(a,i),"touchZoom",p,f,!0),q({point1:s,point2:l,eventType:"touchZoom"})}else"move"===o&&(eU({x:n[0].clientX-a.x,y:n[0].clientY-a.y},"move"),q({eventType:"move"}))},onTouchEnd:function(){if(ea){if(W&&V(!1),q({eventType:"none"}),eb>G)return eU({x:0,y:0,scale:eb},"touchZoom");var e=ew.current.offsetWidth*G,t=ew.current.offsetHeight*G,n=ew.current.getBoundingClientRect(),r=n.left,a=n.top,i=U%180!=0,o=x(i?t:e,i?e:t,r,a);o&&eU((0,l.Z)({},o),"dragRebound")}}}),eV=eW.isTouching,eY=eW.onTouchStart,eq=eW.onTouchMove,eK=eW.onTouchEnd,eX=eB.rotate,eQ=eB.scale,eJ=o()((0,c.Z)({},"".concat(K,"-moving"),e$));(0,r.useEffect)(function(){eP||eM(!0)},[eP]);var e0=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu>0&&(eM(!1),ej("prev"),null==ex||ex(eu-1,eu))},e1=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu({position:e||"absolute",inset:0}),eu=e=>{let{iconCls:t,motionDurationSlow:n,paddingXXS:r,marginXXS:a,prefixCls:i,colorTextLightSolid:o}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:o,background:new en.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${i}-mask-info`]:Object.assign(Object.assign({},ea.vS),{padding:`0 ${(0,et.bf)(r)}`,[t]:{marginInlineEnd:a,svg:{verticalAlign:"baseline"}}})}},ed=e=>{let{previewCls:t,modalMaskBg:n,paddingSM:r,marginXL:a,margin:i,paddingLG:o,previewOperationColorDisabled:s,previewOperationHoverColor:l,motionDurationSlow:c,iconCls:u,colorTextLightSolid:d}=e,p=new en.C(n).setAlpha(.1),f=p.clone().setAlpha(.2);return{[`${t}-footer`]:{position:"fixed",bottom:a,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor,transform:"translateX(-50%)"},[`${t}-progress`]:{marginBottom:i},[`${t}-close`]:{position:"fixed",top:a,right:{_skip_check_:!0,value:a},display:"flex",color:d,backgroundColor:p.toRgbString(),borderRadius:"50%",padding:r,outline:0,border:0,cursor:"pointer",transition:`all ${c}`,"&:hover":{backgroundColor:f.toRgbString()},[`& > ${u}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,et.bf)(o)}`,backgroundColor:p.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:r,padding:r,cursor:"pointer",transition:`all ${c}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${u}`]:{color:l},"&-disabled":{color:s,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${u}`]:{fontSize:e.previewOperationSize}}}}},ep=e=>{let{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:r,previewCls:a,zIndexPopup:i,motionDurationSlow:o}=e,s=new en.C(t).setAlpha(.1),l=s.clone().setAlpha(.2);return{[`${a}-switch-left, ${a}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(i).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:s.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${o}`,userSelect:"none","&:hover":{background:l.toRgbString()},"&-disabled":{"&, &:hover":{color:r,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${a}-switch-left`]:{insetInlineStart:e.marginSM},[`${a}-switch-right`]:{insetInlineEnd:e.marginSM}}},ef=e=>{let{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:a}=e;return[{[`${a}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:Object.assign(Object.assign({},ec()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${r} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},ec()),{transition:`transform ${r} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${a}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${a}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal()},"&":[ed(e),ep(e)]}]},eh=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},eu(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},ec())}}},eg=e=>{let{previewCls:t}=e;return{[`${t}-root`]:(0,ei._y)(e,"zoom"),"&":(0,eo.J$)(e,!0)}};var em=(0,es.I$)("Image",e=>{let t=`${e.componentCls}-preview`,n=(0,el.IX)(e,{previewCls:t,modalMaskBg:new en.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[eh(n),ef(n),(0,er.QA)((0,el.IX)(n,{componentCls:t})),eg(n)]},e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new en.C(e.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new en.C(e.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new en.C(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:1.5*e.fontSizeIcon})),eb=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ey={rotateLeft:r.createElement(K.Z,null),rotateRight:r.createElement(X.Z,null),zoomIn:r.createElement(J.Z,null),zoomOut:r.createElement(ee.Z,null),close:r.createElement(V.Z,null),left:r.createElement(Y.Z,null),right:r.createElement(q.Z,null),flipX:r.createElement(Q.Z,null),flipY:r.createElement(Q.Z,{rotate:90})};var eE=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ev=e=>{var t;let{prefixCls:n,preview:i,className:s,rootClassName:l,style:c}=e,u=eE(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:d,locale:p=W.Z,getPopupContainer:f,image:h}=r.useContext(z.E_),g=d("image",n),m=d(),b=p.Image||W.Z.Image,y=(0,Z.Z)(g),[E,v,T]=em(g,y),S=o()(l,v,T,y),A=o()(s,v,null==h?void 0:h.className),[O]=(0,H.Cn)("ImagePreview","object"==typeof i?i.zIndex:void 0),_=r.useMemo(()=>{var e;if(!1===i)return i;let t="object"==typeof i?i:{},{getContainer:n,closeIcon:o}=t,s=eE(t,["getContainer","closeIcon"]);return Object.assign(Object.assign({mask:r.createElement("div",{className:`${g}-mask-info`},r.createElement(a.Z,null),null==b?void 0:b.preview),icons:ey},s),{getContainer:null!=n?n:f,transitionName:(0,$.m)(m,"zoom",t.transitionName),maskTransitionName:(0,$.m)(m,"fade",t.maskTransitionName),zIndex:O,closeIcon:null!=o?o:null===(e=null==h?void 0:h.preview)||void 0===e?void 0:e.closeIcon})},[i,b,null===(t=null==h?void 0:h.preview)||void 0===t?void 0:t.closeIcon]),k=Object.assign(Object.assign({},null==h?void 0:h.style),c);return E(r.createElement(G,Object.assign({prefixCls:g,preview:_,rootClassName:S,className:A,style:k},u)))};ev.PreviewGroup=e=>{var{previewPrefixCls:t,preview:n}=e,a=eb(e,["previewPrefixCls","preview"]);let{getPrefixCls:i}=r.useContext(z.E_),s=i("image",t),l=`${s}-preview`,c=i(),u=(0,Z.Z)(s),[d,p,f]=em(s,u),[h]=(0,H.Cn)("ImagePreview","object"==typeof n?n.zIndex:void 0),g=r.useMemo(()=>{var e;if(!1===n)return n;let t="object"==typeof n?n:{},r=o()(p,f,u,null!==(e=t.rootClassName)&&void 0!==e?e:"");return Object.assign(Object.assign({},t),{transitionName:(0,$.m)(c,"zoom",t.transitionName),maskTransitionName:(0,$.m)(c,"fade",t.maskTransitionName),rootClassName:r,zIndex:h})},[n]);return d(r.createElement(G.PreviewGroup,Object.assign({preview:g,previewPrefixCls:l,icons:ey},a)))};var eT=ev},66309:function(e,t,n){"use strict";n.d(t,{Z:function(){return I}});var r=n(67294),a=n(93967),i=n.n(a),o=n(98423),s=n(98787),l=n(69760),c=n(96159),u=n(45353),d=n(53124),p=n(25446),f=n(10274),h=n(14747),g=n(83262),m=n(83559);let b=e=>{let{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:a,calc:i}=e,o=i(r).sub(n).equal(),s=i(t).sub(n).equal();return{[a]:Object.assign(Object.assign({},(0,h.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:o,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,p.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${a}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${a}-close-icon`]:{marginInlineStart:s,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${a}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${a}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:o}}),[`${a}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},y=e=>{let{lineWidth:t,fontSizeIcon:n,calc:r}=e,a=e.fontSizeSM,i=(0,g.IX)(e,{tagFontSize:a,tagLineHeight:(0,p.bf)(r(e.lineHeightSM).mul(a).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return i},E=e=>({defaultBg:new f.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var v=(0,m.I$)("Tag",e=>{let t=y(e);return b(t)},E),T=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let S=r.forwardRef((e,t)=>{let{prefixCls:n,style:a,className:o,checked:s,onChange:l,onClick:c}=e,u=T(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:p,tag:f}=r.useContext(d.E_),h=p("tag",n),[g,m,b]=v(h),y=i()(h,`${h}-checkable`,{[`${h}-checkable-checked`]:s},null==f?void 0:f.className,o,m,b);return g(r.createElement("span",Object.assign({},u,{ref:t,style:Object.assign(Object.assign({},a),null==f?void 0:f.style),className:y,onClick:e=>{null==l||l(!s),null==c||c(e)}})))});var A=n(98719);let O=e=>(0,A.Z)(e,(t,n)=>{let{textColor:r,lightBorderColor:a,lightColor:i,darkColor:o}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:i,borderColor:a,"&-inverse":{color:e.colorTextLightSolid,background:o,borderColor:o},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var _=(0,m.bk)(["Tag","preset"],e=>{let t=y(e);return O(t)},E);let k=(e,t,n)=>{let r=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var x=(0,m.bk)(["Tag","status"],e=>{let t=y(e);return[k(t,"success","Success"),k(t,"processing","Info"),k(t,"error","Error"),k(t,"warning","Warning")]},E),C=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let w=r.forwardRef((e,t)=>{let{prefixCls:n,className:a,rootClassName:p,style:f,children:h,icon:g,color:m,onClose:b,bordered:y=!0,visible:E}=e,T=C(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:S,direction:A,tag:O}=r.useContext(d.E_),[k,w]=r.useState(!0),I=(0,o.Z)(T,["closeIcon","closable"]);r.useEffect(()=>{void 0!==E&&w(E)},[E]);let R=(0,s.o2)(m),N=(0,s.yT)(m),L=R||N,D=Object.assign(Object.assign({backgroundColor:m&&!L?m:void 0},null==O?void 0:O.style),f),P=S("tag",n),[M,F,B]=v(P),j=i()(P,null==O?void 0:O.className,{[`${P}-${m}`]:L,[`${P}-has-color`]:m&&!L,[`${P}-hidden`]:!k,[`${P}-rtl`]:"rtl"===A,[`${P}-borderless`]:!y},a,p,F,B),U=e=>{e.stopPropagation(),null==b||b(e),e.defaultPrevented||w(!1)},[,G]=(0,l.Z)((0,l.w)(e),(0,l.w)(O),{closable:!1,closeIconRender:e=>{let t=r.createElement("span",{className:`${P}-close-icon`,onClick:U},e);return(0,c.wm)(e,t,e=>({onClick:t=>{var n;null===(n=null==e?void 0:e.onClick)||void 0===n||n.call(e,t),U(t)},className:i()(null==e?void 0:e.className,`${P}-close-icon`)}))}}),H="function"==typeof T.onClick||h&&"a"===h.type,$=g||null,z=$?r.createElement(r.Fragment,null,$,h&&r.createElement("span",null,h)):h,Z=r.createElement("span",Object.assign({},I,{ref:t,className:j,style:D}),z,G,R&&r.createElement(_,{key:"preset",prefixCls:P}),N&&r.createElement(x,{key:"status",prefixCls:P}));return M(H?r.createElement(u.Z,{component:"Tag"},Z):Z)});w.CheckableTag=S;var I=w},62502:function(e,t,n){"use strict";var r=n(15575),a=n(64977),i=n(72869),o=n(32473).Q,s=n(24395).Q;e.exports=function(e,t,n){var a=n?function(e){for(var t,n=e.length,r=-1,a={};++r4&&h.slice(0,4)===o&&s.test(t)&&("-"===t.charAt(4)?g=o+(n=t.slice(5).replace(l,d)).charAt(0).toUpperCase()+n.slice(1):(f=(p=t).slice(4),t=l.test(f)?p:("-"!==(f=f.replace(c,u)).charAt(0)&&(f="-"+f),o+f)),m=a),new m(g,t))};var s=/^data[-\w.:]+$/i,l=/-[a-z]/g,c=/[A-Z]/g;function u(e){return"-"+e.toLowerCase()}function d(e){return e.charAt(1).toUpperCase()}},48055:function(e,t,n){"use strict";var r=n(26230),a=n(13970),i=n(10629),o=n(647),s=n(91305),l=n(22537);e.exports=r([i,a,o,s,l])},91305:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=r.booleanish,o=r.number,s=r.spaceSeparated;e.exports=a({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:i,ariaAutoComplete:null,ariaBusy:i,ariaChecked:i,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:s,ariaCurrent:null,ariaDescribedBy:s,ariaDetails:null,ariaDisabled:i,ariaDropEffect:s,ariaErrorMessage:null,ariaExpanded:i,ariaFlowTo:s,ariaGrabbed:i,ariaHasPopup:null,ariaHidden:i,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s,ariaLevel:o,ariaLive:null,ariaModal:i,ariaMultiLine:i,ariaMultiSelectable:i,ariaOrientation:null,ariaOwns:s,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:i,ariaReadOnly:i,ariaRelevant:null,ariaRequired:i,ariaRoleDescription:s,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:i,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}})},22537:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=n(19348),o=r.boolean,s=r.overloadedBoolean,l=r.booleanish,c=r.number,u=r.spaceSeparated,d=r.commaSeparated;e.exports=a({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:i,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:d,acceptCharset:u,accessKey:u,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:u,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:u,cols:c,colSpan:null,content:null,contentEditable:l,controls:o,controlsList:u,coords:c|d,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:s,draggable:l,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:u,height:c,hidden:o,high:c,href:null,hrefLang:null,htmlFor:u,httpEquiv:u,id:null,imageSizes:null,imageSrcSet:d,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:u,itemRef:u,itemScope:o,itemType:u,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:u,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:u,required:o,reversed:o,rows:c,rowSpan:c,sandbox:u,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:c,sizes:null,slot:null,span:c,spellCheck:l,src:null,srcDoc:null,srcLang:null,srcSet:d,start:c,step:null,style:null,tabIndex:c,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:l,width:c,wrap:null,align:null,aLink:null,archive:u,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:l,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}})},19348:function(e,t,n){"use strict";var r=n(21098);e.exports=function(e,t){return r(e,t.toLowerCase())}},21098:function(e){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},47589:function(e,t,n){"use strict";var r=n(64977),a=n(16038),i=n(78444);e.exports=function(e){var t,n,o=e.space,s=e.mustUseProperty||[],l=e.attributes||{},c=e.properties,u=e.transform,d={},p={};for(t in c)n=new i(t,u(l,t),c[t],o),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),d[t]=n,p[r(t)]=t,p[r(n.attribute)]=t;return new a(d,p,o)}},78444:function(e,t,n){"use strict";var r=n(40313),a=n(61422);e.exports=s,s.prototype=new r,s.prototype.defined=!0;var i=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=i.length;function s(e,t,n,s){var l,c,u,d=-1;for(s&&(this.space=s),r.call(this,e,t);++d=97&&t<=122||t>=65&&t<=90}},7961:function(e,t,n){"use strict";var r=n(46260),a=n(46195);e.exports=function(e){return r(e)||a(e)}},46195:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},79480:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}},32682:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/ChatDialog",function(){return n(7332)}])},85813:function(e,t,n){"use strict";n.d(t,{r:function(){return _6}});var r,a,i,o,s,l,c,u,d,p,f,h,g,m,b,y,E,v,T,S,A,O,_,k,x,C,w,I,R,N,L,D,P,M,F,B,j,U,G,H,$,z,Z,W,V,Y,q,K,X,Q,J,ee,et,en,er,ea={};n.r(ea),n.d(ea,{area:function(){return cf},bottom:function(){return cT},bottomLeft:function(){return cT},bottomRight:function(){return cT},inside:function(){return cT},left:function(){return cT},outside:function(){return c_},right:function(){return cT},spider:function(){return cR},surround:function(){return cL},top:function(){return cT},topLeft:function(){return cT},topRight:function(){return cT}});var ei={};n.r(ei),n.d(ei,{interpolateBlues:function(){return uD.interpolateBlues},interpolateBrBG:function(){return uD.interpolateBrBG},interpolateBuGn:function(){return uD.interpolateBuGn},interpolateBuPu:function(){return uD.interpolateBuPu},interpolateCividis:function(){return uD.interpolateCividis},interpolateCool:function(){return uD.interpolateCool},interpolateCubehelixDefault:function(){return uD.interpolateCubehelixDefault},interpolateGnBu:function(){return uD.interpolateGnBu},interpolateGreens:function(){return uD.interpolateGreens},interpolateGreys:function(){return uD.interpolateGreys},interpolateInferno:function(){return uD.interpolateInferno},interpolateMagma:function(){return uD.interpolateMagma},interpolateOrRd:function(){return uD.interpolateOrRd},interpolateOranges:function(){return uD.interpolateOranges},interpolatePRGn:function(){return uD.interpolatePRGn},interpolatePiYG:function(){return uD.interpolatePiYG},interpolatePlasma:function(){return uD.interpolatePlasma},interpolatePuBu:function(){return uD.interpolatePuBu},interpolatePuBuGn:function(){return uD.interpolatePuBuGn},interpolatePuOr:function(){return uD.interpolatePuOr},interpolatePuRd:function(){return uD.interpolatePuRd},interpolatePurples:function(){return uD.interpolatePurples},interpolateRainbow:function(){return uD.interpolateRainbow},interpolateRdBu:function(){return uD.interpolateRdBu},interpolateRdGy:function(){return uD.interpolateRdGy},interpolateRdPu:function(){return uD.interpolateRdPu},interpolateRdYlBu:function(){return uD.interpolateRdYlBu},interpolateRdYlGn:function(){return uD.interpolateRdYlGn},interpolateReds:function(){return uD.interpolateReds},interpolateSinebow:function(){return uD.interpolateSinebow},interpolateSpectral:function(){return uD.interpolateSpectral},interpolateTurbo:function(){return uD.interpolateTurbo},interpolateViridis:function(){return uD.interpolateViridis},interpolateWarm:function(){return uD.interpolateWarm},interpolateYlGn:function(){return uD.interpolateYlGn},interpolateYlGnBu:function(){return uD.interpolateYlGnBu},interpolateYlOrBr:function(){return uD.interpolateYlOrBr},interpolateYlOrRd:function(){return uD.interpolateYlOrRd},schemeAccent:function(){return uD.schemeAccent},schemeBlues:function(){return uD.schemeBlues},schemeBrBG:function(){return uD.schemeBrBG},schemeBuGn:function(){return uD.schemeBuGn},schemeBuPu:function(){return uD.schemeBuPu},schemeCategory10:function(){return uD.schemeCategory10},schemeDark2:function(){return uD.schemeDark2},schemeGnBu:function(){return uD.schemeGnBu},schemeGreens:function(){return uD.schemeGreens},schemeGreys:function(){return uD.schemeGreys},schemeOrRd:function(){return uD.schemeOrRd},schemeOranges:function(){return uD.schemeOranges},schemePRGn:function(){return uD.schemePRGn},schemePaired:function(){return uD.schemePaired},schemePastel1:function(){return uD.schemePastel1},schemePastel2:function(){return uD.schemePastel2},schemePiYG:function(){return uD.schemePiYG},schemePuBu:function(){return uD.schemePuBu},schemePuBuGn:function(){return uD.schemePuBuGn},schemePuOr:function(){return uD.schemePuOr},schemePuRd:function(){return uD.schemePuRd},schemePurples:function(){return uD.schemePurples},schemeRdBu:function(){return uD.schemeRdBu},schemeRdGy:function(){return uD.schemeRdGy},schemeRdPu:function(){return uD.schemeRdPu},schemeRdYlBu:function(){return uD.schemeRdYlBu},schemeRdYlGn:function(){return uD.schemeRdYlGn},schemeReds:function(){return uD.schemeReds},schemeSet1:function(){return uD.schemeSet1},schemeSet2:function(){return uD.schemeSet2},schemeSet3:function(){return uD.schemeSet3},schemeSpectral:function(){return uD.schemeSpectral},schemeTableau10:function(){return uD.schemeTableau10},schemeYlGn:function(){return uD.schemeYlGn},schemeYlGnBu:function(){return uD.schemeYlGnBu},schemeYlOrBr:function(){return uD.schemeYlOrBr},schemeYlOrRd:function(){return uD.schemeYlOrRd}});var eo={};n.r(eo);var es={};n.r(es),n.d(es,{geoAlbers:function(){return Ta.Z},geoAlbersUsa:function(){return Tr.Z},geoAzimuthalEqualArea:function(){return Ti.Z},geoAzimuthalEqualAreaRaw:function(){return Ti.l},geoAzimuthalEquidistant:function(){return To.Z},geoAzimuthalEquidistantRaw:function(){return To.N},geoConicConformal:function(){return Ts.Z},geoConicConformalRaw:function(){return Ts.l},geoConicEqualArea:function(){return Tl.Z},geoConicEqualAreaRaw:function(){return Tl.v},geoConicEquidistant:function(){return Tc.Z},geoConicEquidistantRaw:function(){return Tc.o},geoEqualEarth:function(){return Tu.Z},geoEqualEarthRaw:function(){return Tu.i},geoEquirectangular:function(){return Td.Z},geoEquirectangularRaw:function(){return Td.k},geoGnomonic:function(){return Tp.Z},geoGnomonicRaw:function(){return Tp.M},geoIdentity:function(){return Tf.Z},geoMercator:function(){return Tg.ZP},geoMercatorRaw:function(){return Tg.hk},geoNaturalEarth1:function(){return Tm.Z},geoNaturalEarth1Raw:function(){return Tm.K},geoOrthographic:function(){return Tb.Z},geoOrthographicRaw:function(){return Tb.I},geoProjection:function(){return Th.Z},geoProjectionMutator:function(){return Th.r},geoStereographic:function(){return Ty.Z},geoStereographicRaw:function(){return Ty.T},geoTransverseMercator:function(){return TE.Z},geoTransverseMercatorRaw:function(){return TE.F}});var el={};n.r(el),n.d(el,{frequency:function(){return Sh},id:function(){return Sg},name:function(){return Sm},weight:function(){return Sf}});var ec=n(74902),eu=n(1413),ed=n(87462),ep=n(97685),ef=n(45987),eh=n(50888),eg=n(96486),em=n(67294),eb=function(){return(eb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n-1&&!e.return)switch(e.type){case ek:e.return=function e(t,n,r){var a;switch(a=n,45^eD(t,0)?(((a<<2^eD(t,0))<<2^eD(t,1))<<2^eD(t,2))<<2^eD(t,3):0){case 5103:return eA+"print-"+t+t;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 eA+t+t;case 4789:return eS+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return eA+t+eS+t+eT+t+t;case 5936:switch(eD(t,n+11)){case 114:return eA+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return eA+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return eA+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return eA+t+eT+t+t;case 6165:return eA+t+eT+"flex-"+t+t;case 5187:return eA+t+eN(t,/(\w+).+(:[^]+)/,eA+"box-$1$2"+eT+"flex-$1$2")+t;case 5443:return eA+t+eT+"flex-item-"+eN(t,/flex-|-self/g,"")+(eR(t,/flex-|baseline/)?"":eT+"grid-row-"+eN(t,/flex-|-self/g,""))+t;case 4675:return eA+t+eT+"flex-line-pack"+eN(t,/align-content|flex-|-self/g,"")+t;case 5548:return eA+t+eT+eN(t,"shrink","negative")+t;case 5292:return eA+t+eT+eN(t,"basis","preferred-size")+t;case 6060:return eA+"box-"+eN(t,"-grow","")+eA+t+eT+eN(t,"grow","positive")+t;case 4554:return eA+eN(t,/([^-])(transform)/g,"$1"+eA+"$2")+t;case 6187:return eN(eN(eN(t,/(zoom-|grab)/,eA+"$1"),/(image-set)/,eA+"$1"),t,"")+t;case 5495:case 3959:return eN(t,/(image-set\([^]*)/,eA+"$1$`$1");case 4968:return eN(eN(t,/(.+:)(flex-)?(.*)/,eA+"box-pack:$3"+eT+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+eA+t+t;case 4200:if(!eR(t,/flex-|baseline/))return eT+"grid-column-align"+eP(t,n)+t;break;case 2592:case 3360:return eT+eN(t,"template-","")+t;case 4384:case 3616:if(r&&r.some(function(e,t){return n=t,eR(e.props,/grid-\w+-end/)}))return~eL(t+(r=r[n].value),"span",0)?t:eT+eN(t,"-start","")+t+eT+"grid-row-span:"+(~eL(r,"span",0)?eR(r,/\d+/):+eR(r,/\d+/)-+eR(t,/\d+/))+";";return eT+eN(t,"-start","")+t;case 4896:case 4128:return r&&r.some(function(e){return eR(e.props,/grid-\w+-start/)})?t:eT+eN(eN(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return eN(t,/(.+)-inline(.+)/,eA+"$1$2")+t;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(eM(t)-1-n>6)switch(eD(t,n+1)){case 109:if(45!==eD(t,n+4))break;case 102:return eN(t,/(.+:)(.+)-([^]+)/,"$1"+eA+"$2-$3$1"+eS+(108==eD(t,n+3)?"$3":"$2-$3"))+t;case 115:return~eL(t,"stretch",0)?e(eN(t,"stretch","fill-available"),n,r)+t:t}break;case 5152:case 5920:return eN(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(e,n,r,a,i,o,s){return eT+n+":"+r+s+(a?eT+n+"-span:"+(i?o:+o-+r)+s:"")+t});case 4949:if(121===eD(t,n+6))return eN(t,":",":"+eA)+t;break;case 6444:switch(eD(t,45===eD(t,14)?18:11)){case 120:return eN(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+eA+(45===eD(t,14)?"inline-":"")+"box$3$1"+eA+"$2$3$1"+eT+"$2box$3")+t;case 100:return eN(t,":",":"+eT)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return eN(t,"scroll-","scroll-snap-")+t}return t}(e.value,e.length,n);return;case ex:return eQ([eW(e,{value:eN(e.value,"@","@"+eA)})],r);case e_:if(e.length)return(n=e.props).map(function(t){switch(eR(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":eV(eW(e,{props:[eN(t,/:(read-\w+)/,":"+eS+"$1")]})),eV(eW(e,{props:[t]})),eI(e,{props:eB(n,r)});break;case"::placeholder":eV(eW(e,{props:[eN(t,/:(plac\w+)/,":"+eA+"input-$1")]})),eV(eW(e,{props:[eN(t,/:(plac\w+)/,":"+eS+"$1")]})),eV(eW(e,{props:[eN(t,/:(plac\w+)/,eT+"input-$1")]})),eV(eW(e,{props:[t]})),eI(e,{props:eB(n,r)})}return""}).join("")}}function e1(e,t,n,r,a,i,o,s,l,c,u,d){for(var p=a-1,f=0===a?i:[""],h=f.length,g=0,m=0,b=0;g0?f[y]+" "+E:eN(E,/&\f/g,f[y])).trim())&&(l[b++]=v);return eZ(e,t,n,0===a?e_:s,l,c,u,d)}function e2(e,t,n,r,a){return eZ(e,t,n,ek,eP(e,0,r),eP(e,r+1,-1),r,a)}var e3=n(94371),e5=n(83454),e4=void 0!==e5&&void 0!==e5.env&&(e5.env.REACT_APP_SC_ATTR||e5.env.SC_ATTR)||"data-styled",e6="active",e9="data-styled-version",e8="6.1.15",e7="/*!sc*/\n",te="undefined"!=typeof window&&"HTMLElement"in window,tt=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==e5&&void 0!==e5.env&&void 0!==e5.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==e5.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==e5.env.REACT_APP_SC_DISABLE_SPEEDY&&e5.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==e5&&void 0!==e5.env&&void 0!==e5.env.SC_DISABLE_SPEEDY&&""!==e5.env.SC_DISABLE_SPEEDY&&"false"!==e5.env.SC_DISABLE_SPEEDY&&e5.env.SC_DISABLE_SPEEDY),tn=Object.freeze([]),tr=Object.freeze({}),ta=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),ti=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,to=/(^-|-$)/g;function ts(e){return e.replace(ti,"-").replace(to,"")}var tl=/(a)(d)/gi,tc=function(e){return String.fromCharCode(e+(e>25?39:97))};function tu(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=tc(t%52)+n;return(tc(t%52)+n).replace(tl,"$1-$2")}var td,tp=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},tf=function(e){return tp(5381,e)};function th(e){return"string"==typeof e}var tg="function"==typeof Symbol&&Symbol.for,tm=tg?Symbol.for("react.memo"):60115,tb=tg?Symbol.for("react.forward_ref"):60112,ty={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},tE={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},tv={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},tT=((td={})[tb]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},td[tm]=tv,td);function tS(e){return("type"in e&&e.type.$$typeof)===tm?tv:"$$typeof"in e?tT[e.$$typeof]:ty}var tA=Object.defineProperty,tO=Object.getOwnPropertyNames,t_=Object.getOwnPropertySymbols,tk=Object.getOwnPropertyDescriptor,tx=Object.getPrototypeOf,tC=Object.prototype;function tw(e){return"function"==typeof e}function tI(e){return"object"==typeof e&&"styledComponentId"in e}function tR(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function tN(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r0?" Args: ".concat(t.join(", ")):""))}var tM=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,a=r;e>=a;)if((a<<=1)<0)throw tP(16,"".concat(e));this.groupSizes=new Uint32Array(a),this.groupSizes.set(n),this.length=a;for(var i=r;i=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),a=r+n,i=r;i=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(l+="".concat(e,","))}),r+="".concat(o).concat(s,'{content:"').concat(l,'"}').concat(e7)}}})(a);return r}(r)})}return e.registerId=function(e){return tU(e)},e.prototype.rehydrate=function(){!this.server&&te&&tW(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(eb(eb({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){var e,t,n,r;return this.tag||(this.tag=(n=(t=this.options).useCSSOMInjection,r=t.target,e=t.isServer?new tK(r):n?new tY(r):new tq(r),new tM(e)))},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(tU(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(tU(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(tU(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),t0=/&/g,t1=/^\s*\/\/.*$/gm;function t2(e){var t,n,r,a=void 0===e?tr:e,i=a.options,o=void 0===i?tr:i,s=a.plugins,l=void 0===s?tn:s,c=function(e,r,a){return a.startsWith(n)&&a.endsWith(n)&&a.replaceAll(n,"").length>0?".".concat(t):e},u=l.slice();u.push(function(e){e.type===e_&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(t0,n).replace(r,c))}),o.prefix&&u.push(e0),u.push(eJ);var d=function(e,a,i,s){void 0===a&&(a=""),void 0===i&&(i=""),void 0===s&&(s="&"),t=s,n=a,r=RegExp("\\".concat(n,"\\b"),"g");var l,c,d,p,f,h=e.replace(t1,""),g=(f=function e(t,n,r,a,i,o,s,l,c){for(var u,d=0,p=0,f=s,h=0,g=0,m=0,b=1,y=1,E=1,v=0,T="",S=i,A=o,O=a,_=T;y;)switch(m=v,v=eY()){case 40:if(108!=m&&58==eD(_,f-1)){-1!=eL(_+=eN(eX(v),"&","&\f"),"&\f",eC(d?l[d-1]:0))&&(E=-1);break}case 34:case 39:case 91:_+=eX(v);break;case 9:case 10:case 13:case 32:_+=function(e){for(;e$=eq();)if(e$<33)eY();else break;return eK(e)>2||eK(e$)>3?"":" "}(m);break;case 92:_+=function(e,t){for(var n;--t&&eY()&&!(e$<48)&&!(e$>102)&&(!(e$>57)||!(e$<65))&&(!(e$>70)||!(e$<97)););return n=eH+(t<6&&32==eq()&&32==eY()),eP(ez,e,n)}(eH-1,7);continue;case 47:switch(eq()){case 42:case 47:eF(eZ(u=function(e,t){for(;eY();)if(e+e$===57)break;else if(e+e$===84&&47===eq())break;return"/*"+eP(ez,t,eH-1)+"*"+ew(47===e?e:eY())}(eY(),eH),n,r,eO,ew(e$),eP(u,2,-2),0,c),c);break;default:_+="/"}break;case 123*b:l[d++]=eM(_)*E;case 125*b:case 59:case 0:switch(v){case 0:case 125:y=0;case 59+p:-1==E&&(_=eN(_,/\f/g,"")),g>0&&eM(_)-f&&eF(g>32?e2(_+";",a,r,f-1,c):e2(eN(_," ","")+";",a,r,f-2,c),c);break;case 59:_+=";";default:if(eF(O=e1(_,n,r,d,p,i,l,T,S=[],A=[],f,o),o),123===v){if(0===p)e(_,n,O,O,S,o,f,l,A);else switch(99===h&&110===eD(_,3)?100:h){case 100:case 108:case 109:case 115:e(t,O,O,a&&eF(e1(t,O,O,0,0,i,l,T,i,S=[],f,A),A),i,A,f,l,a?S:A);break;default:e(_,O,O,O,[""],A,0,l,A)}}}d=p=g=0,b=E=1,T=_="",f=s;break;case 58:f=1+eM(_),g=m;default:if(b<1){if(123==v)--b;else if(125==v&&0==b++&&125==(e$=eH>0?eD(ez,--eH):0,eU--,10===e$&&(eU=1,ej--),e$))continue}switch(_+=ew(v),v*b){case 38:E=p>0?1:(_+="\f",-1);break;case 44:l[d++]=(eM(_)-1)*E,E=1;break;case 64:45===eq()&&(_+=eX(eY())),h=eq(),p=f=eM(T=_+=function(e){for(;!eK(eq());)eY();return eP(ez,e,eH)}(eH)),v++;break;case 45:45===m&&2==eM(_)&&(b=0)}}return o}("",null,null,null,[""],(p=d=i||a?"".concat(i," ").concat(a," { ").concat(h," }"):h,ej=eU=1,eG=eM(ez=p),eH=0,d=[]),0,[0],d),ez="",f);o.namespace&&(g=function e(t,n){return t.map(function(t){return"rule"===t.type&&(t.value="".concat(n," ").concat(t.value),t.value=t.value.replaceAll(",",",".concat(n," ")),t.props=t.props.map(function(e){return"".concat(n," ").concat(e)})),Array.isArray(t.children)&&"@keyframes"!==t.type&&(t.children=e(t.children,n)),t})}(g,o.namespace));var m=[];return eQ(g,(c=(l=u.concat(function(e){var t;!e.root&&(e=e.return)&&(t=e,m.push(t))})).length,function(e,t,n,r){for(var a="",i=0;i="A"&&r<="Z"?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var nt=function(e){return null==e||!1===e||""===e},nn=function(e){var t=[];for(var n in e){var r=e[n];e.hasOwnProperty(n)&&!nt(r)&&(Array.isArray(r)&&r.isCss||tw(r)?t.push("".concat(ne(n),":"),r,";"):tL(r)?t.push.apply(t,ey(ey(["".concat(n," {")],nn(r),!1),["}"],!1)):t.push("".concat(ne(n),": ").concat(null==r||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||n in e3.Z||n.startsWith("--")?String(r).trim():"".concat(r,"px"),";")))}return t};function nr(e,t,n,r){return nt(e)?[]:tI(e)?[".".concat(e.styledComponentId)]:tw(e)?!tw(e)||e.prototype&&e.prototype.isReactComponent||!t?[e]:nr(e(t),t,n,r):e instanceof t7?n?(e.inject(n,r),[e.getName(r)]):[e]:tL(e)?nn(e):Array.isArray(e)?Array.prototype.concat.apply(tn,e.map(function(e){return nr(e,t,n,r)})):[e.toString()]}function na(e){for(var t=0;t>>0);if(!t.hasNameForId(this.componentId,i)){var o=n(a,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,o)}r=tR(r,i),this.staticRulesId=i}}else{for(var s=tp(this.baseHash,n.hash),l="",c=0;c>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(l,".".concat(p),void 0,this.componentId)),r=tR(r,p)}}return r},e}(),ns=em.createContext(void 0);ns.Consumer;var nl={};function nc(e,t,n){var r,a,i,o,s=tI(e),l=!th(e),c=t.attrs,u=void 0===c?tn:c,d=t.componentId,p=void 0===d?(r=t.displayName,a=t.parentComponentId,nl[i="string"!=typeof r?"sc":ts(r)]=(nl[i]||0)+1,o="".concat(i,"-").concat(tu(tf(e8+i+nl[i])>>>0)),a?"".concat(a,"-").concat(o):o):d,f=t.displayName,h=void 0===f?th(e)?"styled.".concat(e):"Styled(".concat(e.displayName||e.name||"Component",")"):f,g=t.displayName&&t.componentId?"".concat(ts(t.displayName),"-").concat(t.componentId):t.componentId||p,m=s&&e.attrs?e.attrs.concat(u).filter(Boolean):u,b=t.shouldForwardProp;if(s&&e.shouldForwardProp){var y=e.shouldForwardProp;if(t.shouldForwardProp){var E=t.shouldForwardProp;b=function(e,t){return y(e,t)&&E(e,t)}}else b=y}var v=new no(n,g,s?e.componentStyle:void 0);function T(e,t){return function(e,t,n){var r,a,i=e.attrs,o=e.componentStyle,s=e.defaultProps,l=e.foldedComponentIds,c=e.styledComponentId,u=e.target,d=em.useContext(ns),p=t9(),f=e.shouldForwardProp||p.shouldForwardProp,h=(void 0===(r=s)&&(r=tr),t.theme!==r.theme&&t.theme||d||r.theme||tr),g=function(e,t,n){for(var r,a=eb(eb({},t),{className:void 0,theme:n}),i=0;i2&&tJ.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=n.nc,a=tN([r&&'nonce="'.concat(r,'"'),"".concat(e4,'="true"'),"".concat(e9,'="').concat(e8,'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(e.sealed)throw tP(2);return e._emitSheetCSS()},this.getStyleElement=function(){if(e.sealed)throw tP(2);var t,r=e.instance.toString();if(!r)return[];var a=((t={})[e4]="",t[e9]=e8,t.dangerouslySetInnerHTML={__html:r},t),i=n.nc;return i&&(a.nonce=i),[em.createElement("style",eb({},a,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new tJ({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw tP(2);return em.createElement(t8,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw tP(3)}}();var nh=n(4942),ng=n(73935),nm=n.t(ng,2),nb=function(){return(nb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=18&&(J=ny.createRoot)}catch(e){}function nT(e){var t=ny.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"==typeof t&&(t.usingClientEntryPoint=e)}var nS="__rc_react_root__",nA=new Map;"undefined"!=typeof document&&nA.set("tooltip",document.createElement("div"));var nO=function(e,t){void 0===t&&(t=!1);var n=null;if(t)n=nA.get("tooltip");else if(n=document.createElement("div"),null==e?void 0:e.key){var r=nA.get(e.key);r?n=r:nA.set(e.key,n)}return!function(e,t){if(J){var n;nT(!0),n=t[nS]||J(t),nT(!1),n.render(e),t[nS]=n;return}nv(e,t)}(e,n),n},n_=function(e){if("undefined"==typeof document)return"loading";var t=e.attachShadow({mode:"open"}),n=document.createElement("div"),r=document.createElement("style");r.innerHTML=".loading {\n display: inline-block;\n position: relative;\n width: 80px;\n height: 80px;\n }\n .loading div {\n position: absolute;\n top: 33px;\n width: 13px;\n height: 13px;\n border-radius: 50%;\n background: #ccc;\n animation-timing-function: cubic-bezier(0, 1, 1, 0);\n }\n .loading div:nth-child(1) {\n left: 8px;\n animation: loading1 0.6s infinite;\n }\n .loading div:nth-child(2) {\n left: 8px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(3) {\n left: 32px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(4) {\n left: 56px;\n animation: loading3 0.6s infinite;\n }\n @keyframes loading1 {\n 0% {\n transform: scale(0);\n }\n 100% {\n transform: scale(1);\n }\n }\n @keyframes loading3 {\n 0% {\n transform: scale(1);\n }\n 100% {\n transform: scale(0);\n }\n }\n @keyframes loading2 {\n 0% {\n transform: translate(0, 0);\n }\n 100% {\n transform: translate(24px, 0);\n }\n }\n ",n.classList.add("loading"),n.innerHTML="
",t.appendChild(r),t.appendChild(n)},nk=function(e){var t=e.loadingTemplate,n=e.theme,r=em.useRef(null);return em.useEffect(function(){!t&&r.current&&n_(r.current)},[]),em.createElement("div",{className:"charts-loading-container",style:{position:"absolute",width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",left:0,top:0,zIndex:99,backgroundColor:"dark"===(void 0===n?"light":n)?"rgb(20, 20, 20)":"rgb(255, 255, 255)"}},t||em.createElement("div",{ref:r}))},nx=(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),nC=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={hasError:!1},t.renderError=function(e){var n=t.props.errorTemplate;return"function"==typeof n?n(e):n||em.createElement("h5",null,"组件出错了,请核查后重试: ",e.message)},t}return nx(t,e),t.getDerivedStateFromError=function(e){return{hasError:!0,error:e}},t.getDerivedStateFromProps=function(e,t){return t.children!==e.children?{children:e.children,hasError:!1,error:void 0}:null},t.prototype.render=function(){return this.state.hasError?this.renderError(this.state.error):em.createElement(em.Fragment,null,this.props.children)},t}(em.Component),nw=function(e,t,n){if(n||2==arguments.length)for(var r,a=0,i=t.length;a90)return this;this.computeMatrix()}return this._getAxes(),this.type===nN.iM.ORBITING||this.type===nN.iM.EXPLORING?this._getPosition():this.type===nN.iM.TRACKING&&this._getFocalPoint(),this._update(),this}},{key:"pan",value:function(e,t){var n=(0,nN.O4)(e,t,0),r=nG.d9(this.position);return nG.IH(r,r,nG.bA(nG.Ue(),this.right,n[0])),nG.IH(r,r,nG.bA(nG.Ue(),this.up,n[1])),this._setPosition(r),this.triggerUpdate(),this}},{key:"dolly",value:function(e){var t=this.forward,n=nG.d9(this.position),r=e*this.dollyingStep;return r=Math.max(Math.min(this.distance+e*this.dollyingStep,this.maxDistance),this.minDistance)-this.distance,n[0]+=r*t[0],n[1]+=r*t[1],n[2]+=r*t[2],this._setPosition(n),this.type===nN.iM.ORBITING||this.type===nN.iM.EXPLORING?this._getDistance():this.type===nN.iM.TRACKING&&nG.IH(this.focalPoint,n,this.distanceVector),this.triggerUpdate(),this}},{key:"cancelLandmarkAnimation",value:function(){void 0!==this.landmarkAnimationID&&this.canvas.cancelAnimationFrame(this.landmarkAnimationID)}},{key:"createLandmark",value:function(e){var t,n,r,a,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=i.position,s=void 0===o?this.position:o,l=i.focalPoint,c=void 0===l?this.focalPoint:l,u=i.roll,d=i.zoom,p=new nN.GZ.CameraContribution;p.setType(this.type,void 0),p.setPosition(s[0],null!==(t=s[1])&&void 0!==t?t:this.position[1],null!==(n=s[2])&&void 0!==n?n:this.position[2]),p.setFocalPoint(c[0],null!==(r=c[1])&&void 0!==r?r:this.focalPoint[1],null!==(a=c[2])&&void 0!==a?a:this.focalPoint[2]),p.setRoll(null!=u?u:this.roll),p.setZoom(null!=d?d:this.zoom);var f={name:e,matrix:nU.clone(p.getWorldTransform()),right:nG.d9(p.right),up:nG.d9(p.up),forward:nG.d9(p.forward),position:nG.d9(p.getPosition()),focalPoint:nG.d9(p.getFocalPoint()),distanceVector:nG.d9(p.getDistanceVector()),distance:p.getDistance(),dollyingStep:p.getDollyingStep(),azimuth:p.getAzimuth(),elevation:p.getElevation(),roll:p.getRoll(),relAzimuth:p.relAzimuth,relElevation:p.relElevation,relRoll:p.relRoll,zoom:p.getZoom()};return this.landmarks.push(f),f}},{key:"gotoLandmark",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=nB(e,"String")?this.landmarks.find(function(t){return t.name===e}):e;if(r){var a,i=nB(n,"Number")?{duration:n}:n,o=i.easing,s=void 0===o?"linear":o,l=i.duration,c=void 0===l?100:l,u=i.easingFunction,d=i.onfinish,p=void 0===d?void 0:d,f=i.onframe,h=void 0===f?void 0:f;this.cancelLandmarkAnimation();var g=r.position,m=r.focalPoint,b=r.zoom,y=r.roll,E=(void 0===u?void 0:u)||nN.GZ.EasingFunction(s),v=function(){t.setFocalPoint(m),t.setPosition(g),t.setRoll(y),t.setZoom(b),t.computeMatrix(),t.triggerUpdate(),null==p||p()};if(0===c)return v();var T=function(e){void 0===a&&(a=e);var n=e-a;if(n>=c){v();return}var r=E(n/c),i=nG.Ue(),o=nG.Ue(),s=1,l=0;if(nG.t7(i,t.focalPoint,m,r),nG.t7(o,t.position,g,r),l=t.roll*(1-r)+y*r,s=t.zoom*(1-r)+b*r,t.setFocalPoint(i),t.setPosition(o),t.setRoll(l),t.setZoom(s),nG.TK(i,m)+nG.TK(o,g)<=.01&&void 0===b&&void 0===y)return v();t.computeMatrix(),t.triggerUpdate(),nn?n:e},nW={}.toString,nV=function(e){return null==e},nY=function(e){function t(e,n,r,a){var i;return(0,nL.Z)(this,t),(i=(0,nP.Z)(this,t,[e])).currentTime=r,i.timelineTime=a,i.target=n,i.type="finish",i.bubbles=!1,i.currentTarget=n,i.defaultPrevented=!1,i.eventPhase=i.AT_TARGET,i.timeStamp=Date.now(),i.currentTime=r,i.timelineTime=a,i}return(0,nM.Z)(t,e),(0,nD.Z)(t)}(nN.xA),nq=0,nK=(0,nD.Z)(function e(t,n){var r;(0,nL.Z)(this,e),this.currentTimePending=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._playbackRate=1,this._inTimeline=!0,this.effect=t,t.animation=this,this.timeline=n,this.id="".concat(nq++),this._inEffect=!!this.effect.update(0),this._totalDuration=Number(null===(r=this.effect)||void 0===r?void 0:r.getComputedTiming().endTime),this._holdTime=0,this._paused=!1,this.oldPlayState="idle",this.updatePromises()},[{key:"pending",get:function(){return null===this._startTime&&!this._paused&&0!==this.playbackRate||this.currentTimePending}},{key:"playState",get:function(){return this._idle?"idle":this._isFinished?"finished":this._paused?"paused":"running"}},{key:"ready",get:function(){var e=this;return this.readyPromise||(-1===this.timeline.animationsWithPromises.indexOf(this)&&this.timeline.animationsWithPromises.push(this),this.readyPromise=new Promise(function(t,n){e.resolveReadyPromise=function(){t(e)},e.rejectReadyPromise=function(){n(Error())}}),this.pending||this.resolveReadyPromise()),this.readyPromise}},{key:"finished",get:function(){var e=this;return this.finishedPromise||(-1===this.timeline.animationsWithPromises.indexOf(this)&&this.timeline.animationsWithPromises.push(this),this.finishedPromise=new Promise(function(t,n){e.resolveFinishedPromise=function(){t(e)},e.rejectFinishedPromise=function(){n(Error())}}),"finished"===this.playState&&this.resolveFinishedPromise()),this.finishedPromise}},{key:"currentTime",get:function(){return this.updatePromises(),this._idle||this.currentTimePending?null:this._currentTime},set:function(e){if(!isNaN(e=Number(e))){if(this.timeline.restart(),!this._paused&&null!==this._startTime){var t;this._startTime=Number(null===(t=this.timeline)||void 0===t?void 0:t.currentTime)-e/this.playbackRate}this.currentTimePending=!1,this._currentTime!==e&&(this._idle&&(this._idle=!1,this._paused=!0),this.tickCurrentTime(e,!0),this.timeline.applyDirtiedAnimation(this))}}},{key:"startTime",get:function(){return this._startTime},set:function(e){null!==e&&(this.updatePromises(),!isNaN(e=Number(e))&&(this._paused||this._idle||(this._startTime=e,this.tickCurrentTime((Number(this.timeline.currentTime)-this._startTime)*this.playbackRate),this.timeline.applyDirtiedAnimation(this),this.updatePromises())))}},{key:"playbackRate",get:function(){return this._playbackRate},set:function(e){if(e!==this._playbackRate){this.updatePromises();var t=this.currentTime;this._playbackRate=e,this.startTime=null,"paused"!==this.playState&&"idle"!==this.playState&&(this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this)),null!==t&&(this.currentTime=t),this.updatePromises()}}},{key:"_isFinished",get:function(){return!this._idle&&(this._playbackRate>0&&Number(this._currentTime)>=this._totalDuration||this._playbackRate<0&&0>=Number(this._currentTime))}},{key:"totalDuration",get:function(){return this._totalDuration}},{key:"_needsTick",get:function(){return this.pending||"running"===this.playState||!this._finishedFlag}},{key:"updatePromises",value:function(){var e=this.oldPlayState,t=this.pending?"pending":this.playState;return this.readyPromise&&t!==e&&("idle"===t?(this.rejectReadyPromise(),this.readyPromise=void 0):"pending"===e?this.resolveReadyPromise():"pending"===t&&(this.readyPromise=void 0)),this.finishedPromise&&t!==e&&("idle"===t?(this.rejectFinishedPromise(),this.finishedPromise=void 0):"finished"===t?this.resolveFinishedPromise():"finished"===e&&(this.finishedPromise=void 0)),this.oldPlayState=t,this.readyPromise||this.finishedPromise}},{key:"play",value:function(){this.updatePromises(),this._paused=!1,(this._isFinished||this._idle)&&(this.rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this),-1===this.timeline.animations.indexOf(this)&&this.timeline.animations.push(this),this.updatePromises()}},{key:"pause",value:function(){this.updatePromises(),this.currentTime&&(this._holdTime=this.currentTime),this._isFinished||this._paused||this._idle?this._idle&&(this.rewind(),this._idle=!1):this.currentTimePending=!0,this._startTime=null,this._paused=!0,this.updatePromises()}},{key:"finish",value:function(){this.updatePromises(),this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this.currentTimePending=!1,this.timeline.applyDirtiedAnimation(this),this.updatePromises())}},{key:"cancel",value:function(){var e=this;if(this.updatePromises(),this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this.effect.update(null),this.timeline.applyDirtiedAnimation(this),this.updatePromises(),this.oncancel)){var t=new nY(null,this,this.currentTime,null);setTimeout(function(){e.oncancel(t)})}}},{key:"reverse",value:function(){this.updatePromises();var e=this.currentTime;this.playbackRate*=-1,this.play(),null!==e&&(this.currentTime=e),this.updatePromises()}},{key:"updatePlaybackRate",value:function(e){this.playbackRate=e}},{key:"targetAnimations",value:function(){var e;return(null===(e=this.effect)||void 0===e?void 0:e.target).getAnimations()}},{key:"markTarget",value:function(){var e=this.targetAnimations();-1===e.indexOf(this)&&e.push(this)}},{key:"unmarkTarget",value:function(){var e=this.targetAnimations(),t=e.indexOf(this);-1!==t&&e.splice(t,1)}},{key:"tick",value:function(e,t){this._idle||this._paused||(null===this._startTime?t&&(this.startTime=e-this._currentTime/this.playbackRate):this._isFinished||this.tickCurrentTime((e-this._startTime)*this.playbackRate)),t&&(this.currentTimePending=!1,this.fireEvents(e))}},{key:"rewind",value:function(){if(this.playbackRate>=0)this.currentTime=0;else if(this._totalDuration<1/0)this.currentTime=this._totalDuration;else throw Error("Unable to rewind negative playback rate animation with infinite duration")}},{key:"persist",value:function(){throw Error(nN.jf)}},{key:"addEventListener",value:function(e,t,n){throw Error(nN.jf)}},{key:"removeEventListener",value:function(e,t,n){throw Error(nN.jf)}},{key:"dispatchEvent",value:function(e){throw Error(nN.jf)}},{key:"commitStyles",value:function(){throw Error(nN.jf)}},{key:"ensureAlive",value:function(){var e,t;this.playbackRate<0&&0===this.currentTime?this._inEffect=!!(null!==(e=this.effect)&&void 0!==e&&e.update(-1)):this._inEffect=!!(null!==(t=this.effect)&&void 0!==t&&t.update(this.currentTime)),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,this.timeline.animations.push(this))}},{key:"tickCurrentTime",value:function(e,t){e!==this._currentTime&&(this._currentTime=e,this._isFinished&&!t&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this.ensureAlive())}},{key:"fireEvents",value:function(e){var t=this;if(this._isFinished){if(!this._finishedFlag){if(this.onfinish){var n=new nY(null,this,this.currentTime,e);setTimeout(function(){t.onfinish&&t.onfinish(n)})}this._finishedFlag=!0}}else{if(this.onframe&&"running"===this.playState){var r=new nY(null,this,this.currentTime,e);this.onframe(r)}this._finishedFlag=!1}}}]),nX="function"==typeof Float32Array,nQ=function(e,t){return 1-3*t+3*e},nJ=function(e,t){return 3*t-6*e},n0=function(e){return 3*e},n1=function(e,t,n){return((nQ(t,n)*e+nJ(t,n))*e+n0(t))*e},n2=function(e,t,n){return 3*nQ(t,n)*e*e+2*nJ(t,n)*e+n0(t)},n3=function(e,t,n,r,a){var i,o,s=0;do(i=n1(o=t+(n-t)/2,r,a)-e)>0?n=o:t=o;while(Math.abs(i)>1e-7&&++s<10);return o},n5=function(e,t,n,r){for(var a=0;a<4;++a){var i=n2(t,n,r);if(0===i)break;var o=n1(t,n,r)-e;t-=o/i}return t},n4=function(e,t,n,r){if(!(e>=0&&e<=1&&n>=0&&n<=1))throw Error("bezier x values must be in [0, 1] range");if(e===t&&n===r)return function(e){return e};for(var a=nX?new Float32Array(11):Array(11),i=0;i<11;++i)a[i]=n1(.1*i,e,n);var o=function(t){for(var r=0,i=1;10!==i&&a[i]<=t;++i)r+=.1;var o=r+(t-a[--i])/(a[i+1]-a[i])*.1,s=n2(o,e,n);return s>=.001?n5(t,o,e,n):0===s?o:n3(t,r,r+.1,e,n)};return function(e){return 0===e||1===e?e:n1(o(e),t,r)}},n6=function(e){return Math.pow(e,2)},n9=function(e){return Math.pow(e,3)},n8=function(e){return Math.pow(e,4)},n7=function(e){return Math.pow(e,5)},re=function(e){return Math.pow(e,6)},rt=function(e){return 1-Math.cos(e*Math.PI/2)},rn=function(e){return 1-Math.sqrt(1-e*e)},rr=function(e){return e*e*(3*e-2)},ra=function(e){for(var t,n=4;e<((t=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*t-2)/22-e,2)},ri=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,2),r=n[0],a=n[1],i=nZ(Number(void 0===r?1:r),1,10),o=nZ(Number(void 0===a?.5:a),.1,2);return 0===e||1===e?e:-i*Math.pow(2,10*(e-1))*Math.sin((e-1-o/(2*Math.PI)*Math.asin(1/i))*(2*Math.PI)/o)},ro=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,r=(0,nz.Z)(t,4),a=r[0],i=void 0===a?1:a,o=r[1],s=void 0===o?100:o,l=r[2],c=void 0===l?10:l,u=r[3],d=void 0===u?0:u;i=nZ(i,.1,1e3),s=nZ(s,.1,1e3),c=nZ(c,.1,1e3),d=nZ(d,.1,1e3);var p=Math.sqrt(s/i),f=c/(2*Math.sqrt(s*i)),h=f<1?p*Math.sqrt(1-f*f):0,g=f<1?(f*p+-d)/h:-d+p,m=n?n*e/1e3:e;return(m=f<1?Math.exp(-m*f*p)*(1*Math.cos(h*m)+g*Math.sin(h*m)):(1+g*m)*Math.exp(-m*p),0===e||1===e)?e:1-m},rs=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,2),r=n[0],a=void 0===r?10:r;return("start"===n[1]?Math.ceil:Math.floor)(nZ(e,0,1)*a)/a},rl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,4);return n4(n[0],n[1],n[2],n[3])(e)},rc=n4(.42,0,1,1),ru=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return 1-e(1-t,n,r)}},rd=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return t<.5?e(2*t,n,r)/2:1-e(-2*t+2,n,r)/2}},rp=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return t<.5?(1-e(1-2*t,n,r))/2:(e(2*t-1,n,r)+1)/2}},rf={steps:rs,"step-start":function(e){return rs(e,[1,"start"])},"step-end":function(e){return rs(e,[1,"end"])},linear:function(e){return e},"cubic-bezier":rl,ease:function(e){return rl(e,[.25,.1,.25,1])},in:rc,out:ru(rc),"in-out":rd(rc),"out-in":rp(rc),"in-quad":n6,"out-quad":ru(n6),"in-out-quad":rd(n6),"out-in-quad":rp(n6),"in-cubic":n9,"out-cubic":ru(n9),"in-out-cubic":rd(n9),"out-in-cubic":rp(n9),"in-quart":n8,"out-quart":ru(n8),"in-out-quart":rd(n8),"out-in-quart":rp(n8),"in-quint":n7,"out-quint":ru(n7),"in-out-quint":rd(n7),"out-in-quint":rp(n7),"in-expo":re,"out-expo":ru(re),"in-out-expo":rd(re),"out-in-expo":rp(re),"in-sine":rt,"out-sine":ru(rt),"in-out-sine":rd(rt),"out-in-sine":rp(rt),"in-circ":rn,"out-circ":ru(rn),"in-out-circ":rd(rn),"out-in-circ":rp(rn),"in-back":rr,"out-back":ru(rr),"in-out-back":rd(rr),"out-in-back":rp(rr),"in-bounce":ra,"out-bounce":ru(ra),"in-out-bounce":rd(ra),"out-in-bounce":rp(ra),"in-elastic":ri,"out-elastic":ru(ri),"in-out-elastic":rd(ri),"out-in-elastic":rp(ri),spring:ro,"spring-in":ro,"spring-out":ru(ro),"spring-in-out":rd(ro),"spring-out-in":rp(ro)},rh=function(e){var t;return("-"===(t=(t=e).replace(/([A-Z])/g,function(e){return"-".concat(e.toLowerCase())})).charAt(0)?t.substring(1):t).replace(/^ease-/,"").replace(/(\(|\s).+/,"").toLowerCase().trim()},rg=function(e){return e};function rm(e,t){return function(n){if(n>=1)return 1;var r=1/e;return(n+=t*r)-n%r}}var rb="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",ry=new RegExp("cubic-bezier\\(".concat(rb,",").concat(rb,",").concat(rb,",").concat(rb,"\\)")),rE=/steps\(\s*(\d+)\s*\)/,rv=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/;function rT(e){var t=ry.exec(e);if(t)return n4.apply(void 0,(0,n$.Z)(t.slice(1).map(Number)));var n=rE.exec(e);if(n)return rm(Number(n[1]),0);var r=rv.exec(e);return r?rm(Number(r[1]),{start:1,middle:.5,end:0}[r[2]]):rf[rh(e)]||rf.linear}function rS(e){return"offset"!==e&&"easing"!==e&&"composite"!==e&&"computedOffset"!==e}var rA=function(e,t,n){return function(r){var a,i=function e(t,n,r){if("number"==typeof t&&"number"==typeof n)return t*(1-r)+n*r;if("boolean"==typeof t&&"boolean"==typeof n||"string"==typeof t&&"string"==typeof n)return r<.5?t:n;if(Array.isArray(t)&&Array.isArray(n)){for(var a=t.length,i=n.length,o=Math.max(a,i),s=[],l=0;l1)throw Error("Keyframe offsets must be between 0 and 1.");n.computedOffset=a}}else if("composite"===r&&-1===["replace","add","accumulate","auto"].indexOf(a))throw Error("".concat(a," compositing is not supported"));n[r]=a}return void 0===n.offset&&(n.offset=null),void 0===n.easing&&(n.easing=(null==t?void 0:t.easing)||"linear"),void 0===n.composite&&(n.composite="auto"),n}),r=!0,a=-1/0,i=0;i=0&&1>=Number(e.offset)}),r||function(){var e,t,r=n.length;n[r-1].computedOffset=Number(null!==(e=n[r-1].offset)&&void 0!==e?e:1),r>1&&(n[0].computedOffset=Number(null!==(t=n[0].offset)&&void 0!==t?t:0));for(var a=0,i=Number(n[0].computedOffset),o=1;o=e.applyFrom&&t=Math.min(n.delay+e+n.endDelay,r)?2:3}(e,t,n),u=function(e,t,n,r,a){switch(r){case 1:if("backwards"===t||"both"===t)return 0;return null;case 3:return n-a;case 2:if("forwards"===t||"both"===t)return e;return null;case 0:return null}}(e,n.fill,t,c,n.delay);if(null===u)return null;var d="auto"===n.duration?0:n.duration,p=(r=n.iterations,a=n.iterationStart,0===d?1!==c&&(a+=r):a+=u/d,a),f=(i=n.iterationStart,o=n.iterations,0==(s=p===1/0?i%1:p%1)&&2===c&&0!==o&&(0!==u||0===d)&&(s=1),s),h=(l=n.iterations,2===c&&l===1/0?1/0:1===f?Math.floor(p)-1:Math.floor(p)),g=function(e,t,n){var r=e;if("normal"!==e&&"reverse"!==e){var a=t;"alternate-reverse"===e&&(a+=1),r="normal",a!==1/0&&a%2!=0&&(r="reverse")}return"normal"===r?n:1-n}(n.direction,h,f);return n.currentIteration=h,n.progress=g,n.easingFunction(g)}(this.timing.activeDuration,e,this.timing),null!==this.timeFraction)}},{key:"getKeyframes",value:function(){return this.normalizedKeyframes}},{key:"setKeyframes",value:function(e){this.normalizedKeyframes=r_(e)}},{key:"getComputedTiming",value:function(){return this.computedTiming}},{key:"getTiming",value:function(){return this.timing}},{key:"updateTiming",value:function(e){var t=this;Object.keys(e||{}).forEach(function(n){t.timing[n]=e[n]})}}]);function rw(e,t){return Number(e.id)-Number(t.id)}var rI=(0,nD.Z)(function e(t){var n=this;(0,nL.Z)(this,e),this.animations=[],this.ticking=!1,this.timelineTicking=!1,this.hasRestartedThisFrame=!1,this.animationsWithPromises=[],this.inTick=!1,this.pendingEffects=[],this.currentTime=null,this.rafId=0,this.rafCallbacks=[],this.webAnimationsNextTick=function(e){n.currentTime=e,n.discardAnimations(),0===n.animations.length?n.timelineTicking=!1:n.requestAnimationFrame(n.webAnimationsNextTick)},this.processRafCallbacks=function(e){var t=n.rafCallbacks;n.rafCallbacks=[],et.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let rN=(e,t,n)=>[["M",e-n,t],["A",n,n,0,1,0,e+n,t],["A",n,n,0,1,0,e-n,t],["Z"]];rN.style=["fill"];let rL=rN.bind(void 0);rL.style=["stroke","lineWidth"];let rD=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t-n],["L",e+n,t+n],["L",e-n,t+n],["Z"]];rD.style=["fill"];let rP=rD.bind(void 0);rP.style=["fill"];let rM=rD.bind(void 0);rM.style=["stroke","lineWidth"];let rF=(e,t,n)=>{let r=.618*n;return[["M",e-r,t],["L",e,t-n],["L",e+r,t],["L",e,t+n],["Z"]]};rF.style=["fill"];let rB=rF.bind(void 0);rB.style=["stroke","lineWidth"];let rj=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t+r],["L",e,t-r],["L",e+n,t+r],["Z"]]};rj.style=["fill"];let rU=rj.bind(void 0);rU.style=["stroke","lineWidth"];let rG=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t-r],["L",e+n,t-r],["L",e,t+r],["Z"]]};rG.style=["fill"];let rH=rG.bind(void 0);rH.style=["stroke","lineWidth"];let r$=(e,t,n)=>{let r=n/2*Math.sqrt(3);return[["M",e,t-n],["L",e+r,t-n/2],["L",e+r,t+n/2],["L",e,t+n],["L",e-r,t+n/2],["L",e-r,t-n/2],["Z"]]};r$.style=["fill"];let rz=r$.bind(void 0);rz.style=["stroke","lineWidth"];let rZ=(e,t,n)=>{let r=n-1.5;return[["M",e-n,t-r],["L",e+n,t+r],["L",e+n,t-r],["L",e-n,t+r],["Z"]]};rZ.style=["fill"];let rW=rZ.bind(void 0);rW.style=["stroke","lineWidth"];let rV=(e,t,n)=>[["M",e,t+n],["L",e,t-n]];rV.style=["stroke","lineWidth"];let rY=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t+n],["M",e+n,t-n],["L",e-n,t+n]];rY.style=["stroke","lineWidth"];let rq=(e,t,n)=>[["M",e-n/2,t-n],["L",e+n/2,t-n],["M",e,t-n],["L",e,t+n],["M",e-n/2,t+n],["L",e+n/2,t+n]];rq.style=["stroke","lineWidth"];let rK=(e,t,n)=>[["M",e-n,t],["L",e+n,t],["M",e,t-n],["L",e,t+n]];rK.style=["stroke","lineWidth"];let rX=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rX.style=["stroke","lineWidth"];let rQ=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rQ.style=["stroke","lineWidth"];let rJ=rQ.bind(void 0);rJ.style=["stroke","lineWidth"];let r0=(e,t,n)=>[["M",e-n,t],["A",n/2,n/2,0,1,1,e,t],["A",n/2,n/2,0,1,0,e+n,t]];r0.style=["stroke","lineWidth"];let r1=(e,t,n)=>[["M",e-n-1,t-2.5],["L",e,t-2.5],["L",e,t+2.5],["L",e+n+1,t+2.5]];r1.style=["stroke","lineWidth"];let r2=(e,t,n)=>[["M",e-n-1,t+2.5],["L",e,t+2.5],["L",e,t-2.5],["L",e+n+1,t-2.5]];r2.style=["stroke","lineWidth"];let r3=(e,t,n)=>[["M",e-(n+1),t+2.5],["L",e-n/2,t+2.5],["L",e-n/2,t-2.5],["L",e+n/2,t-2.5],["L",e+n/2,t+2.5],["L",e+n+1,t+2.5]];r3.style=["stroke","lineWidth"];let r5=(e,t,n)=>[["M",e-5,t+2.5],["L",e-5,t],["L",e,t],["L",e,t-3],["L",e,t+3],["L",e+6.5,t+3]];r5.style=["stroke","lineWidth"];let r4=new Map([["bowtie",rZ],["cross",rY],["dash",rJ],["diamond",rF],["dot",rQ],["hexagon",r$],["hollowBowtie",rW],["hollowDiamond",rB],["hollowHexagon",rz],["hollowPoint",rL],["hollowSquare",rM],["hollowTriangle",rU],["hollowTriangleDown",rH],["hv",r1],["hvh",r3],["hyphen",rX],["line",rV],["plus",rK],["point",rN],["rect",rP],["smooth",r0],["square",rD],["tick",rq],["triangleDown",rG],["triangle",rj],["vh",r2],["vhv",r5]]),r6={};function r9(e,t){if(e.startsWith("symbol.")){var n;n=e.split(".").pop(),r4.set(n,t)}else Object.assign(r6,{[e]:t})}var r8=n(88998);/*! +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8258,9618,6231,8424,5265,2640,3913],{15381:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h129.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM184 456V172h81v284h-81zm627.2 160.4H496.8l9.6 198.4c.6 11.9-4.7 23.1-14.6 30.5-6.1 4.5-13.6 6.8-21.1 6.7a44.28 44.28 0 01-42.2-32.3L329 459.2V172h415.4a56.85 56.85 0 0133.6 51.8c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-14 25.5 21.9 19a56.76 56.76 0 0119.6 43c0 19.1-11 37.5-28.8 48.4z"}}]},name:"dislike",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},65429:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},27496:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},94668:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},34971:function(e,t){"use strict";t.Z=function(e,t,n){return en?n:e}},24960:function(e,t,n){"use strict";var r=n(44002);t.Z=function(e){return Array.isArray?Array.isArray(e):(0,r.Z)(e,"Array")}},52176:function(e,t,n){"use strict";var r=n(44002);t.Z=function(e){return(0,r.Z)(e,"Boolean")}},55265:function(e,t){"use strict";t.Z=function(e){return"function"==typeof e}},82993:function(e,t){"use strict";t.Z=function(e){return null==e}},23198:function(e,t,n){"use strict";function r(e,t,n){return void 0===n&&(n=1e-5),Math.abs(e-t)1&&(E*=C=Math.sqrt(C),v*=C);var w=E*E,I=v*v,R=(o===l?-1:1)*Math.sqrt(Math.abs((w*I-w*x*x-I*k*k)/(w*x*x+I*k*k)));g=R*E*x/v+(b+T)/2,m=-(R*v)*k/E+(y+S)/2,f=Math.asin(((y-m)/v*1e9>>0)/1e9),h=Math.asin(((S-m)/v*1e9>>0)/1e9),f=bh&&(f-=2*Math.PI),!l&&h>f&&(h-=2*Math.PI)}var N=h-f;if(Math.abs(N)>A){var L=h,D=T,P=S;_=e(T=g+E*Math.cos(h=f+A*(l&&h>f?1:-1)),S=m+v*Math.sin(h),E,v,i,0,l,D,P,[h,L,g,m])}N=h-f;var M=Math.cos(f),F=Math.cos(h),B=Math.tan(N/4),j=4/3*E*B,U=4/3*v*B,G=[b,y],H=[b+j*Math.sin(f),y-U*M],$=[T+j*Math.sin(h),S-U*F],z=[T,S];if(H[0]=2*G[0]-H[0],H[1]=2*G[1]-H[1],d)return H.concat($,z,_);_=H.concat($,z,_);for(var Z=[],W=0,V=_.length;W7){e[n].shift();for(var r=e[n],a=n;r.length;)t[n]="A",e.splice(a+=1,0,["C"].concat(r.splice(0,6)));e.splice(n,1)}}(d,f,b),g=d.length,"Z"===h&&m.push(b),l=(n=d[b]).length,p.x1=+n[l-2],p.y1=+n[l-1],p.x2=+n[l-4]||p.x1,p.y2=+n[l-3]||p.y1}return t?[d,m]:d}},19586:function(e,t,n){"use strict";n.d(t,{R:function(){return r}});var r={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0}},33554:function(e,t,n){"use strict";n.d(t,{z:function(){return r}});var r={x1:0,y1:0,x2:0,y2:0,x:0,y:0,qx:null,qy:null}},54947:function(e,t,n){"use strict";function r(e){return e.map(function(e){return Array.isArray(e)?[].concat(e):e})}n.d(t,{U:function(){return r}})},94918:function(e,t,n){"use strict";n.d(t,{A:function(){return f}});var r=n(97582),a=n(65336),i=n(33554),o=n(60310),s=n(97153),l=n(19586);function c(e){for(var t=e.pathValue[e.segmentStart],n=t.toLowerCase(),r=e.data;r.length>=l.R[n]&&("m"===n&&r.length>2?(e.segments.push([t].concat(r.splice(0,2))),n="l",t="m"===t?"l":"L"):e.segments.push([t].concat(r.splice(0,l.R[n]))),l.R[n]););}function u(e){return e>=48&&e<=57}function d(e){for(var t,n=e.pathValue,r=e.max;e.index=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].includes(t));)e.index+=1}var p=function(e){this.pathValue=e,this.segments=[],this.max=e.length,this.index=0,this.param=0,this.segmentStart=0,this.data=[],this.err=""};function f(e){if((0,a.y)(e))return[].concat(e);for(var t=function(e){if((0,o.b)(e))return[].concat(e);var t=function(e){if((0,s.n)(e))return[].concat(e);var t=new p(e);for(d(t);t.index0;s-=1){if((32|a)==97&&(3===s||4===s)?function(e){var t=e.index,n=e.pathValue,r=n.charCodeAt(t);if(48===r){e.param=0,e.index+=1;return}if(49===r){e.param=1,e.index+=1;return}e.err='[path-util]: invalid Arc flag "'+n[t]+'", expecting 0 or 1 at index '+t}(e):function(e){var t,n=e.max,r=e.pathValue,a=e.index,i=a,o=!1,s=!1,l=!1,c=!1;if(i>=n){e.err="[path-util]: Invalid path value at index "+i+', "pathValue" is missing param';return}if((43===(t=r.charCodeAt(i))||45===t)&&(i+=1,t=r.charCodeAt(i)),!u(t)&&46!==t){e.err="[path-util]: Invalid path value at index "+i+', "'+r[i]+'" is not a number';return}if(46!==t){if(o=48===t,i+=1,t=r.charCodeAt(i),o&&i=e.max||!((o=n.charCodeAt(e.index))>=48&&o<=57||43===o||45===o||46===o))break}c(e)}(t);return t.err?t.err:t.segments}(e),n=0,r=0,a=0,i=0;return t.map(function(e){var t,o=e.slice(1).map(Number),s=e[0],l=s.toUpperCase();if("M"===s)return n=o[0],r=o[1],a=n,i=r,["M",n,r];if(s!==l)switch(l){case"A":t=[l,o[0],o[1],o[2],o[3],o[4],o[5]+n,o[6]+r];break;case"V":t=[l,o[0]+r];break;case"H":t=[l,o[0]+n];break;default:t=[l].concat(o.map(function(e,t){return e+(t%2?r:n)}))}else t=[l].concat(o);var c=t.length;switch(l){case"Z":n=a,r=i;break;case"H":n=t[1];break;case"V":r=t[1];break;default:n=t[c-2],r=t[c-1],"M"===l&&(a=n,i=r)}return t})}(e),n=(0,r.pi)({},i.z),f=0;f=h[t],g[t]-=m?1:0,m?e.ss:[e.s]}).flat()});return b[0].length===b[1].length?b:e(b[0],b[1],f)}}});var r=n(50944),a=n(51777);function i(e){return e.map(function(e,t,n){var i,o,s,l,c,u,d,p,f,h,g,m,b=t&&n[t-1].slice(-2).concat(e.slice(1)),y=t?(0,a.S)(b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7],b[8],{bbox:!1}).length:0;return m=t?y?(void 0===i&&(i=.5),o=b.slice(0,2),s=b.slice(2,4),l=b.slice(4,6),c=b.slice(6,8),u=(0,r.k)(o,s,i),d=(0,r.k)(s,l,i),p=(0,r.k)(l,c,i),f=(0,r.k)(u,d,i),h=(0,r.k)(d,p,i),g=(0,r.k)(f,h,i),[["C"].concat(u,f,g),["C"].concat(h,p,c)]):[e,e]:[e],{s:e,ss:m,l:y}})}},46516:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var r=n(27872);function a(e){var t,n,a;return t=0,n=0,a=0,(0,r.Y)(e).map(function(e){if("M"===e[0])return t=e[1],n=e[2],0;var r,i,o,s=e.slice(1),l=s[0],c=s[1],u=s[2],d=s[3],p=s[4],f=s[5];return i=t,a=3*((f-(o=n))*(l+u)-(p-i)*(c+d)+c*(i-u)-l*(o-d)+f*(u+i/3)-p*(d+o/3))/20,t=(r=e.slice(-2))[0],n=r[1],a}).reduce(function(e,t){return e+t},0)>=0}},90046:function(e,t,n){"use strict";n.d(t,{r:function(){return i}});var r=n(97582),a=n(10992);function i(e,t,n){return(0,a.s)(e,t,(0,r.pi)((0,r.pi)({},n),{bbox:!1,length:!0})).point}},91952:function(e,t,n){"use strict";n.d(t,{g:function(){return a}});var r=n(58076);function a(e,t){var n,a,i=e.length-1,o=[],s=0,l=(a=(n=e.length)-1,e.map(function(t,r){return e.map(function(t,i){var o=r+i;return 0===i||e[o]&&"M"===e[o][0]?["M"].concat(e[o].slice(-2)):(o>=n&&(o-=a),e[o])})}));return l.forEach(function(n,a){e.slice(1).forEach(function(n,o){s+=(0,r.y)(e[(a+o)%i].slice(-2),t[o%i].slice(-2))}),o[a]=s,s=0}),l[o.indexOf(Math.min.apply(null,o))]}},62436:function(e,t,n){"use strict";n.d(t,{D:function(){return i}});var r=n(97582),a=n(10992);function i(e,t){return(0,a.s)(e,void 0,(0,r.pi)((0,r.pi)({},t),{bbox:!1,length:!0})).length}},60310:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var r=n(97153);function a(e){return(0,r.n)(e)&&e.every(function(e){var t=e[0];return t===t.toUpperCase()})}},65336:function(e,t,n){"use strict";n.d(t,{y:function(){return a}});var r=n(60310);function a(e){return(0,r.b)(e)&&e.every(function(e){var t=e[0];return"ACLMQZ".includes(t)})}},97153:function(e,t,n){"use strict";n.d(t,{n:function(){return a}});var r=n(19586);function a(e){return Array.isArray(e)&&e.every(function(e){var t=e[0].toLowerCase();return r.R[t]===e.length-1&&"achlmqstvz".includes(t)})}},50944:function(e,t,n){"use strict";function r(e,t,n){var r=e[0],a=e[1];return[r+(t[0]-r)*n,a+(t[1]-a)*n]}n.d(t,{k:function(){return r}})},10992:function(e,t,n){"use strict";n.d(t,{s:function(){return c}});var r=n(94918),a=n(50944),i=n(58076);function o(e,t,n,r,o){var s=(0,i.y)([e,t],[n,r]),l={x:0,y:0};if("number"==typeof o){if(o<=0)l={x:e,y:t};else if(o>=s)l={x:n,y:r};else{var c=(0,a.k)([e,t],[n,r],o/s);l={x:c[0],y:c[1]}}}return{length:s,point:l,min:{x:Math.min(e,n),y:Math.min(t,r)},max:{x:Math.max(e,n),y:Math.max(t,r)}}}function s(e,t){var n=e.x,r=e.y,a=t.x,i=t.y,o=Math.sqrt((Math.pow(n,2)+Math.pow(r,2))*(Math.pow(a,2)+Math.pow(i,2)));return(n*i-r*a<0?-1:1)*Math.acos((n*a+r*i)/o)}var l=n(51777);function c(e,t,n){for(var a,c,u,d,p,f,h,g,m,b=(0,r.A)(e),y="number"==typeof t,E=[],v=0,T=0,S=0,A=0,O=[],_=[],k=0,x={x:0,y:0},C=x,w=x,I=x,R=0,N=0,L=b.length;N1&&(b*=g(A),y*=g(A));var O=(Math.pow(b,2)*Math.pow(y,2)-Math.pow(b,2)*Math.pow(S.y,2)-Math.pow(y,2)*Math.pow(S.x,2))/(Math.pow(b,2)*Math.pow(S.y,2)+Math.pow(y,2)*Math.pow(S.x,2)),_=(i!==l?1:-1)*g(O=O<0?0:O),k={x:_*(b*S.y/y),y:_*(-(y*S.x)/b)},x={x:h(E)*k.x-f(E)*k.y+(e+c)/2,y:f(E)*k.x+h(E)*k.y+(t+u)/2},C={x:(S.x-k.x)/b,y:(S.y-k.y)/y},w=s({x:1,y:0},C),I=s(C,{x:(-S.x-k.x)/b,y:(-S.y-k.y)/y});!l&&I>0?I-=2*m:l&&I<0&&(I+=2*m);var R=w+(I%=2*m)*d,N=b*h(R),L=y*f(R);return{x:h(E)*N-f(E)*L+x.x,y:f(E)*N+h(E)*L+x.y}}(e,t,n,r,a,l,c,u,d,w/v)).x,A=h.y,m&&C.push({x:S,y:A}),y&&(O+=(0,i.y)(k,[S,A])),k=[S,A],T&&O>=p&&p>_[2]){var I=(O-p)/(O-_[2]);x={x:k[0]*(1-I)+_[0]*I,y:k[1]*(1-I)+_[1]*I}}_=[S,A,O]}return T&&p>=O&&(x={x:u,y:d}),{length:O,point:x,min:{x:Math.min.apply(null,C.map(function(e){return e.x})),y:Math.min.apply(null,C.map(function(e){return e.y}))},max:{x:Math.max.apply(null,C.map(function(e){return e.x})),y:Math.max.apply(null,C.map(function(e){return e.y}))}}}(E[0],E[1],E[2],E[3],E[4],E[5],E[6],E[7],E[8],(t||0)-R,n||{})).length,x=c.min,C=c.max,w=c.point):"C"===g?(k=(u=(0,l.S)(E[0],E[1],E[2],E[3],E[4],E[5],E[6],E[7],(t||0)-R,n||{})).length,x=u.min,C=u.max,w=u.point):"Q"===g?(k=(d=function(e,t,n,r,a,o,s,l){var c,u=l.bbox,d=void 0===u||u,p=l.length,f=void 0===p||p,h=l.sampleSize,g=void 0===h?10:h,m="number"==typeof s,b=e,y=t,E=0,v=[b,y,0],T=[b,y],S={x:0,y:0},A=[{x:b,y:y}];m&&s<=0&&(S={x:b,y:y});for(var O=0;O<=g;O+=1){if(b=(c=function(e,t,n,r,a,i,o){var s=1-o;return{x:Math.pow(s,2)*e+2*s*o*n+Math.pow(o,2)*a,y:Math.pow(s,2)*t+2*s*o*r+Math.pow(o,2)*i}}(e,t,n,r,a,o,O/g)).x,y=c.y,d&&A.push({x:b,y:y}),f&&(E+=(0,i.y)(T,[b,y])),T=[b,y],m&&E>=s&&s>v[2]){var _=(E-s)/(E-v[2]);S={x:T[0]*(1-_)+v[0]*_,y:T[1]*(1-_)+v[1]*_}}v=[b,y,E]}return m&&s>=E&&(S={x:a,y:o}),{length:E,point:S,min:{x:Math.min.apply(null,A.map(function(e){return e.x})),y:Math.min.apply(null,A.map(function(e){return e.y}))},max:{x:Math.max.apply(null,A.map(function(e){return e.x})),y:Math.max.apply(null,A.map(function(e){return e.y}))}}}(E[0],E[1],E[2],E[3],E[4],E[5],(t||0)-R,n||{})).length,x=d.min,C=d.max,w=d.point):"Z"===g&&(k=(p=o((E=[v,T,S,A])[0],E[1],E[2],E[3],(t||0)-R)).length,x=p.min,C=p.max,w=p.point),y&&R=t&&(I=w),_.push(C),O.push(x),R+=k,v=(f="Z"!==g?m.slice(-2):[S,A])[0],T=f[1];return y&&t>=R&&(I={x:v,y:T}),{length:R,point:I,min:{x:Math.min.apply(null,O.map(function(e){return e.x})),y:Math.min.apply(null,O.map(function(e){return e.y}))},max:{x:Math.max.apply(null,_.map(function(e){return e.x})),y:Math.max.apply(null,_.map(function(e){return e.y}))}}}},51777:function(e,t,n){"use strict";n.d(t,{S:function(){return a}});var r=n(58076);function a(e,t,n,a,i,o,s,l,c,u){var d,p=u.bbox,f=void 0===p||p,h=u.length,g=void 0===h||h,m=u.sampleSize,b=void 0===m?10:m,y="number"==typeof c,E=e,v=t,T=0,S=[E,v,0],A=[E,v],O={x:0,y:0},_=[{x:E,y:v}];y&&c<=0&&(O={x:E,y:v});for(var k=0;k<=b;k+=1){if(E=(d=function(e,t,n,r,a,i,o,s,l){var c=1-l;return{x:Math.pow(c,3)*e+3*Math.pow(c,2)*l*n+3*c*Math.pow(l,2)*a+Math.pow(l,3)*o,y:Math.pow(c,3)*t+3*Math.pow(c,2)*l*r+3*c*Math.pow(l,2)*i+Math.pow(l,3)*s}}(e,t,n,a,i,o,s,l,k/b)).x,v=d.y,f&&_.push({x:E,y:v}),g&&(T+=(0,r.y)(A,[E,v])),A=[E,v],y&&T>=c&&c>S[2]){var x=(T-c)/(T-S[2]);O={x:A[0]*(1-x)+S[0]*x,y:A[1]*(1-x)+S[1]*x}}S=[E,v,T]}return y&&c>=T&&(O={x:s,y:l}),{length:T,point:O,min:{x:Math.min.apply(null,_.map(function(e){return e.x})),y:Math.min.apply(null,_.map(function(e){return e.y}))},max:{x:Math.max.apply(null,_.map(function(e){return e.x})),y:Math.max.apply(null,_.map(function(e){return e.y}))}}}},4503:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function i(e,t,r,i,o){if("function"!=typeof r)throw TypeError("The listener must be a function");var s=new a(r,i||e,o),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function o(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,a=[];if(0===this._eventsCount)return a;for(r in e=this._events)t.call(e,r)&&a.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?a.concat(Object.getOwnPropertySymbols(e)):a},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var a=0,i=r.length,o=Array(i);at.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let o="text/event-stream",s="last-event-id";function l(e,t){var{signal:n,headers:l,onopen:u,onmessage:d,onclose:p,onerror:f,openWhenHidden:h,fetch:g}=t,m=i(t,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((t,i)=>{let b;let y=Object.assign({},l);function E(){b.abort(),document.hidden||_()}y.accept||(y.accept=o),h||document.addEventListener("visibilitychange",E);let v=1e3,T=0;function S(){document.removeEventListener("visibilitychange",E),window.clearTimeout(T),b.abort()}null==n||n.addEventListener("abort",()=>{S(),t()});let A=null!=g?g:window.fetch,O=null!=u?u:c;async function _(){var n,o;b=new AbortController;try{let n,i,l,c;let u=await A(e,Object.assign(Object.assign({},m),{headers:y,signal:b.signal}));await O(u),await r(u.body,(o=function(e,t,n){let r=a(),i=new TextDecoder;return function(o,s){if(0===o.length)null==n||n(r),r=a();else if(s>0){let n=i.decode(o.subarray(0,s)),a=s+(32===o[s+1]?2:1),l=i.decode(o.subarray(a));switch(n){case"data":r.data=r.data?r.data+"\n"+l:l;break;case"event":r.event=l;break;case"id":e(r.id=l);break;case"retry":let c=parseInt(l,10);isNaN(c)||t(r.retry=c)}}}}(e=>{e?y[s]=e:delete y[s]},e=>{v=e},d),c=!1,function(e){void 0===n?(n=e,i=0,l=-1):n=function(e,t){let n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}(n,e);let t=n.length,r=0;for(;i=n?k.text.primary:_.text.primary;return t}let w=({color:e,name:t,mainShade:n=500,lightShade:i=300,darkShade:o=700})=>{if(!(e=(0,r.Z)({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw Error((0,u.Z)(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw Error((0,u.Z)(12,t?` (${t})`:"",JSON.stringify(e.main)));return x(e,"light",i,a),x(e,"dark",o,a),e.contrastText||(e.contrastText=C(e.main)),e},I=(0,d.Z)((0,r.Z)({common:(0,r.Z)({},m),mode:t,primary:w({color:s,name:"primary"}),secondary:w({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:w({color:c,name:"error"}),warning:w({color:h,name:"warning"}),info:w({color:p,name:"info"}),success:w({color:f,name:"success"}),grey:b,contrastThreshold:n,getContrastText:C,augmentColor:w,tonalOffset:a},{dark:k,light:_}[t]),o);return I}(a),R=(0,h.Z)(e),U=(0,d.Z)(R,{mixins:(t=R.breakpoints,(0,r.Z)({toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}}},n)),palette:c,shadows:N.slice(),typography:function(e,t){let n="function"==typeof t?t(e):t,{fontFamily:a=I,fontSize:o=14,fontWeightLight:s=300,fontWeightRegular:l=400,fontWeightMedium:c=500,fontWeightBold:u=700,htmlFontSize:p=16,allVariants:f,pxToRem:h}=n,g=(0,i.Z)(n,C),m=o/14,b=h||(e=>`${e/p*m}rem`),y=(e,t,n,i,o)=>(0,r.Z)({fontFamily:a,fontWeight:e,fontSize:b(t),lineHeight:n},a===I?{letterSpacing:`${Math.round(1e5*(i/t))/1e5}em`}:{},o,f),E={h1:y(s,96,1.167,-1.5),h2:y(s,60,1.2,-.5),h3:y(l,48,1.167,0),h4:y(l,34,1.235,.25),h5:y(l,24,1.334,0),h6:y(c,20,1.6,.15),subtitle1:y(l,16,1.75,.15),subtitle2:y(c,14,1.57,.1),body1:y(l,16,1.5,.15),body2:y(l,14,1.43,.15),button:y(c,14,1.75,.4,w),caption:y(l,12,1.66,.4),overline:y(l,12,2.66,1,w),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,d.Z)((0,r.Z)({htmlFontSize:p,pxToRem:b,fontFamily:a,fontSize:o,fontWeightLight:s,fontWeightRegular:l,fontWeightMedium:c,fontWeightBold:u},E),g,{clone:!1})}(c,s),transitions:function(e){let t=(0,r.Z)({},D,e.easing),n=(0,r.Z)({},P,e.duration);return(0,r.Z)({getAutoHeightDuration:F,create:(e=["all"],r={})=>{let{duration:a=n.standard,easing:o=t.easeInOut,delay:s=0}=r;return(0,i.Z)(r,L),(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof a?a:M(a)} ${o} ${"string"==typeof s?s:M(s)}`).join(",")}},e,{easing:t,duration:n})}(o),zIndex:(0,r.Z)({},B)});return(U=[].reduce((e,t)=>(0,d.Z)(e,t),U=(0,d.Z)(U,l))).unstable_sxConfig=(0,r.Z)({},p.Z,null==l?void 0:l.unstable_sxConfig),U.unstable_sx=function(e){return(0,f.Z)({sx:e,theme:this})},U}();var G="$$material",H=n(58128);let $=(0,H.ZP)({themeId:G,defaultTheme:U,rootShouldForwardProp:e=>"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e&&"classes"!==e});var z=n(1977),Z=n(8027);function W(e){return(0,Z.ZP)("MuiSvgIcon",e)}(0,z.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var V=n(85893);let Y=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],q=e=>{let{color:t,fontSize:n,classes:r}=e,a={root:["root","inherit"!==t&&`color${l(t)}`,`fontSize${l(n)}`]};return(0,s.Z)(a,W,r)},K=$("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${l(n.color)}`],t[`fontSize${l(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,a,i,o,s,l,c,u,d,p,f,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(a=e.transitions)||null==(a=a.duration)?void 0:a.shorter}),fontSize:({inherit:"inherit",small:(null==(i=e.typography)||null==(o=i.pxToRem)?void 0:o.call(i,20))||"1.25rem",medium:(null==(s=e.typography)||null==(l=s.pxToRem)?void 0:l.call(s,24))||"1.5rem",large:(null==(c=e.typography)||null==(u=c.pxToRem)?void 0:u.call(c,35))||"2.1875rem"})[t.fontSize],color:null!=(d=null==(p=(e.vars||e).palette)||null==(p=p[t.color])?void 0:p.main)?d:({action:null==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.active,disabled:null==(h=(e.vars||e).palette)||null==(h=h.action)?void 0:h.disabled,inherit:void 0})[t.color]}}),X=a.forwardRef(function(e,t){let n=function({props:e,name:t}){return(0,c.Z)({props:e,name:t,defaultTheme:U,themeId:G})}({props:e,name:"MuiSvgIcon"}),{children:s,className:l,color:u="inherit",component:d="svg",fontSize:p="medium",htmlColor:f,inheritViewBox:h=!1,titleAccess:g,viewBox:m="0 0 24 24"}=n,b=(0,i.Z)(n,Y),y=a.isValidElement(s)&&"svg"===s.type,E=(0,r.Z)({},n,{color:u,component:d,fontSize:p,instanceFontSize:e.fontSize,inheritViewBox:h,viewBox:m,hasSvgAsChild:y}),v={};h||(v.viewBox=m);let T=q(E);return(0,V.jsxs)(K,(0,r.Z)({as:d,className:(0,o.Z)(T.root,l),focusable:"false",color:f,"aria-hidden":!g||void 0,role:g?"img":void 0,ref:t},v,b,y&&s.props,{ownerState:E,children:[y?s.props.children:s,g?(0,V.jsx)("title",{children:g}):null]}))});function Q(e,t){function n(n,a){return(0,V.jsx)(X,(0,r.Z)({"data-testid":`${t}Icon`,ref:a},n,{children:e}))}return n.muiName=X.muiName,a.memo(a.forwardRef(n))}X.muiName="SvgIcon"},2101:function(e,t,n){"use strict";var r=n(64836);t._j=function(e,t){if(e=s(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return l(e)},t.mi=function(e,t){let n=c(e),r=c(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)},t.$n=function(e,t){if(e=s(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return l(e)};var a=r(n(743)),i=r(n(49425));function o(e,t=0,n=1){return(0,i.default)(e,t,n)}function s(e){let t;if(e.type)return e;if("#"===e.charAt(0))return s(function(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map(e=>e+e)),n?`rgb${4===n.length?"a":""}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));let n=e.indexOf("("),r=e.substring(0,n);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw Error((0,a.default)(9,e));let i=e.substring(n+1,e.length-1);if("color"===r){if(t=(i=i.split(" ")).shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(t))throw Error((0,a.default)(10,t))}else i=i.split(",");return{type:r,values:i=i.map(e=>parseFloat(e)),colorSpace:t}}function l(e){let{type:t,colorSpace:n}=e,{values:r}=e;return -1!==t.indexOf("rgb")?r=r.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),`${t}(${r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`})`}function c(e){let t="hsl"===(e=s(e)).type||"hsla"===e.type?s(function(e){e=s(e);let{values:t}=e,n=t[0],r=t[1]/100,a=t[2]/100,i=r*Math.min(a,1-a),o=(e,t=(e+n/30)%12)=>a-i*Math.max(Math.min(t-3,9-t,1),-1),c="rgb",u=[Math.round(255*o(0)),Math.round(255*o(8)),Math.round(255*o(4))];return"hsla"===e.type&&(c+="a",u.push(t[3])),l({type:c,values:u})}(e)).values:e.values;return Number((.2126*(t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)))[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}},58128:function(e,t,n){"use strict";var r=n(64836);t.ZP=function(e={}){let{themeId:t,defaultTheme:n=g,rootShouldForwardProp:r=h,slotShouldForwardProp:l=h}=e,u=e=>(0,c.default)((0,a.default)({},e,{theme:b((0,a.default)({},e,{defaultTheme:n,themeId:t}))}));return u.__mui_systemSx=!0,(e,c={})=>{var d;let f;(0,o.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));let{name:g,slot:E,skipVariantsResolver:v,skipSx:T,overridesResolver:S=(d=m(E))?(e,t)=>t[d]:null}=c,A=(0,i.default)(c,p),O=void 0!==v?v:E&&"Root"!==E&&"root"!==E||!1,_=T||!1,k=h;"Root"===E||"root"===E?k=r:E?k=l:"string"==typeof e&&e.charCodeAt(0)>96&&(k=void 0);let x=(0,o.default)(e,(0,a.default)({shouldForwardProp:k,label:f},A)),C=e=>"function"==typeof e&&e.__emotion_real!==e||(0,s.isPlainObject)(e)?r=>y(e,(0,a.default)({},r,{theme:b({theme:r.theme,defaultTheme:n,themeId:t})})):e,w=(r,...i)=>{let o=C(r),s=i?i.map(C):[];g&&S&&s.push(e=>{let r=b((0,a.default)({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[g]||!r.components[g].styleOverrides)return null;let i=r.components[g].styleOverrides,o={};return Object.entries(i).forEach(([t,n])=>{o[t]=y(n,(0,a.default)({},e,{theme:r}))}),S(e,o)}),g&&!O&&s.push(e=>{var r;let i=b((0,a.default)({},e,{defaultTheme:n,themeId:t})),o=null==i||null==(r=i.components)||null==(r=r[g])?void 0:r.variants;return y({variants:o},(0,a.default)({},e,{theme:i}))}),_||s.push(u);let l=s.length-i.length;if(Array.isArray(r)&&l>0){let e=Array(l).fill("");(o=[...r,...e]).raw=[...r.raw,...e]}let c=x(o,...s);return e.muiName&&(c.muiName=e.muiName),c};return x.withConfig&&(w.withConfig=x.withConfig),w}};var a=r(n(10434)),i=r(n(7071)),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(23534)),s=n(211);r(n(99698)),r(n(37889));var l=r(n(19926)),c=r(n(386));let u=["ownerState"],d=["variants"],p=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function h(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}let g=(0,l.default)(),m=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function b({defaultTheme:e,theme:t,themeId:n}){return 0===Object.keys(t).length?e:t[n]||t}function y(e,t){let{ownerState:n}=t,r=(0,i.default)(t,u),o="function"==typeof e?e((0,a.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(e=>y(e,(0,a.default)({ownerState:n},r)));if(o&&"object"==typeof o&&Array.isArray(o.variants)){let{variants:e=[]}=o,t=(0,i.default)(o,d),s=t;return e.forEach(e=>{let t=!0;"function"==typeof e.props?t=e.props((0,a.default)({ownerState:n},r,n)):Object.keys(e.props).forEach(a=>{(null==n?void 0:n[a])!==e.props[a]&&r[a]!==e.props[a]&&(t=!1)}),t&&(Array.isArray(s)||(s=[s]),s.push("function"==typeof e.style?e.style((0,a.default)({ownerState:n},r,n)):e.style))}),s}return o}},19926:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},private_createBreakpoints:function(){return a.Z},unstable_applyStyles:function(){return i.Z}});var r=n(88647),a=n(41512),i=n(57064)},386:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},extendSxProp:function(){return a.Z},unstable_createStyleFunctionSx:function(){return r.n},unstable_defaultSxConfig:function(){return i.Z}});var r=n(86523),a=n(39707),i=n(44920)},99698:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(62908)},49425:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r}});var r=function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}},211:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},isPlainObject:function(){return r.P}});var r=n(68027)},743:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(78758)},37889:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return l},getFunctionName:function(){return i}});var r=n(59864);let a=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function i(e){let t=`${e}`.match(a),n=t&&t[1];return n||""}function o(e,t=""){return e.displayName||e.name||i(e)||t}function s(e,t,n){let r=o(t);return e.displayName||(""!==r?`${n}(${r})`:n)}function l(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return o(e,"Component");if("object"==typeof e)switch(e.$$typeof){case r.ForwardRef:return s(e,e.render,"ForwardRef");case r.Memo:return s(e,e.type,"memo")}}}},2093:function(e,t,n){"use strict";var r=n(97582),a=n(67294),i=n(92770);t.Z=function(e,t){(0,a.useEffect)(function(){var t=e(),n=!1;return!function(){(0,r.mG)(this,void 0,void 0,function(){return(0,r.Jh)(this,function(e){switch(e.label){case 0:if(!(0,i.mf)(t[Symbol.asyncIterator]))return[3,4];e.label=1;case 1:return[4,t.next()];case 2:if(e.sent().done||n)return[3,3];return[3,1];case 3:return[3,6];case 4:return[4,t];case 5:e.sent(),e.label=6;case 6:return[2]}})})}(),function(){n=!0}},t)}},85265:function(e,t,n){"use strict";n.d(t,{Z:function(){return q}});var r=n(67294),a=n(93967),i=n.n(a),o=n(1413),s=n(97685),l=n(2788),c=n(8410),u=r.createContext(null),d=r.createContext({}),p=n(4942),f=n(87462),h=n(29372),g=n(15105),m=n(64217),b=n(45987),y=n(42550),E=["prefixCls","className","containerRef"],v=function(e){var t=e.prefixCls,n=e.className,a=e.containerRef,o=(0,b.Z)(e,E),s=r.useContext(d).panel,l=(0,y.x1)(s,a);return r.createElement("div",(0,f.Z)({className:i()("".concat(t,"-content"),n),role:"dialog",ref:l},(0,m.Z)(e,{aria:!0}),{"aria-modal":"true"},o))},T=n(80334);function S(e){return"string"==typeof e&&String(Number(e))===e?((0,T.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var A={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"},O=r.forwardRef(function(e,t){var n,a,l,c=e.prefixCls,d=e.open,b=e.placement,y=e.inline,E=e.push,T=e.forceRender,O=e.autoFocus,_=e.keyboard,k=e.classNames,x=e.rootClassName,C=e.rootStyle,w=e.zIndex,I=e.className,R=e.id,N=e.style,L=e.motion,D=e.width,P=e.height,M=e.children,F=e.mask,B=e.maskClosable,j=e.maskMotion,U=e.maskClassName,G=e.maskStyle,H=e.afterOpenChange,$=e.onClose,z=e.onMouseEnter,Z=e.onMouseOver,W=e.onMouseLeave,V=e.onClick,Y=e.onKeyDown,q=e.onKeyUp,K=e.styles,X=e.drawerRender,Q=r.useRef(),J=r.useRef(),ee=r.useRef();r.useImperativeHandle(t,function(){return Q.current}),r.useEffect(function(){if(d&&O){var e;null===(e=Q.current)||void 0===e||e.focus({preventScroll:!0})}},[d]);var et=r.useState(!1),en=(0,s.Z)(et,2),er=en[0],ea=en[1],ei=r.useContext(u),eo=null!==(n=null!==(a=null===(l="boolean"==typeof E?E?{}:{distance:0}:E||{})||void 0===l?void 0:l.distance)&&void 0!==a?a:null==ei?void 0:ei.pushDistance)&&void 0!==n?n:180,es=r.useMemo(function(){return{pushDistance:eo,push:function(){ea(!0)},pull:function(){ea(!1)}}},[eo]);r.useEffect(function(){var e,t;d?null==ei||null===(e=ei.push)||void 0===e||e.call(ei):null==ei||null===(t=ei.pull)||void 0===t||t.call(ei)},[d]),r.useEffect(function(){return function(){var e;null==ei||null===(e=ei.pull)||void 0===e||e.call(ei)}},[]);var el=F&&r.createElement(h.ZP,(0,f.Z)({key:"mask"},j,{visible:d}),function(e,t){var n=e.className,a=e.style;return r.createElement("div",{className:i()("".concat(c,"-mask"),n,null==k?void 0:k.mask,U),style:(0,o.Z)((0,o.Z)((0,o.Z)({},a),G),null==K?void 0:K.mask),onClick:B&&d?$:void 0,ref:t})}),ec="function"==typeof L?L(b):L,eu={};if(er&&eo)switch(b){case"top":eu.transform="translateY(".concat(eo,"px)");break;case"bottom":eu.transform="translateY(".concat(-eo,"px)");break;case"left":eu.transform="translateX(".concat(eo,"px)");break;default:eu.transform="translateX(".concat(-eo,"px)")}"left"===b||"right"===b?eu.width=S(D):eu.height=S(P);var ed={onMouseEnter:z,onMouseOver:Z,onMouseLeave:W,onClick:V,onKeyDown:Y,onKeyUp:q},ep=r.createElement(h.ZP,(0,f.Z)({key:"panel"},ec,{visible:d,forceRender:T,onVisibleChanged:function(e){null==H||H(e)},removeOnLeave:!1,leavedClassName:"".concat(c,"-content-wrapper-hidden")}),function(t,n){var a=t.className,s=t.style,l=r.createElement(v,(0,f.Z)({id:R,containerRef:n,prefixCls:c,className:i()(I,null==k?void 0:k.content),style:(0,o.Z)((0,o.Z)({},N),null==K?void 0:K.content)},(0,m.Z)(e,{aria:!0}),ed),M);return r.createElement("div",(0,f.Z)({className:i()("".concat(c,"-content-wrapper"),null==k?void 0:k.wrapper,a),style:(0,o.Z)((0,o.Z)((0,o.Z)({},eu),s),null==K?void 0:K.wrapper)},(0,m.Z)(e,{data:!0})),X?X(l):l)}),ef=(0,o.Z)({},C);return w&&(ef.zIndex=w),r.createElement(u.Provider,{value:es},r.createElement("div",{className:i()(c,"".concat(c,"-").concat(b),x,(0,p.Z)((0,p.Z)({},"".concat(c,"-open"),d),"".concat(c,"-inline"),y)),style:ef,tabIndex:-1,ref:Q,onKeyDown:function(e){var t,n,r=e.keyCode,a=e.shiftKey;switch(r){case g.Z.TAB:r===g.Z.TAB&&(a||document.activeElement!==ee.current?a&&document.activeElement===J.current&&(null===(n=ee.current)||void 0===n||n.focus({preventScroll:!0})):null===(t=J.current)||void 0===t||t.focus({preventScroll:!0}));break;case g.Z.ESC:$&&_&&(e.stopPropagation(),$(e))}}},el,r.createElement("div",{tabIndex:0,ref:J,style:A,"aria-hidden":"true","data-sentinel":"start"}),ep,r.createElement("div",{tabIndex:0,ref:ee,style:A,"aria-hidden":"true","data-sentinel":"end"})))}),_=function(e){var t=e.open,n=e.prefixCls,a=e.placement,i=e.autoFocus,u=e.keyboard,p=e.width,f=e.mask,h=void 0===f||f,g=e.maskClosable,m=e.getContainer,b=e.forceRender,y=e.afterOpenChange,E=e.destroyOnClose,v=e.onMouseEnter,T=e.onMouseOver,S=e.onMouseLeave,A=e.onClick,_=e.onKeyDown,k=e.onKeyUp,x=e.panelRef,C=r.useState(!1),w=(0,s.Z)(C,2),I=w[0],R=w[1],N=r.useState(!1),L=(0,s.Z)(N,2),D=L[0],P=L[1];(0,c.Z)(function(){P(!0)},[]);var M=!!D&&void 0!==t&&t,F=r.useRef(),B=r.useRef();(0,c.Z)(function(){M&&(B.current=document.activeElement)},[M]);var j=r.useMemo(function(){return{panel:x}},[x]);if(!b&&!I&&!M&&E)return null;var U=(0,o.Z)((0,o.Z)({},e),{},{open:M,prefixCls:void 0===n?"rc-drawer":n,placement:void 0===a?"right":a,autoFocus:void 0===i||i,keyboard:void 0===u||u,width:void 0===p?378:p,mask:h,maskClosable:void 0===g||g,inline:!1===m,afterOpenChange:function(e){var t,n;R(e),null==y||y(e),e||!B.current||null!==(t=F.current)&&void 0!==t&&t.contains(B.current)||null===(n=B.current)||void 0===n||n.focus({preventScroll:!0})},ref:F},{onMouseEnter:v,onMouseOver:T,onMouseLeave:S,onClick:A,onKeyDown:_,onKeyUp:k});return r.createElement(d.Provider,{value:j},r.createElement(l.Z,{open:M||b||I,autoDestroy:!1,getContainer:m,autoLock:h&&(M||I)},r.createElement(O,U)))},k=n(89942),x=n(87263),C=n(33603),w=n(43945),I=n(53124),R=n(16569),N=n(69760),L=n(48054),D=e=>{var t,n;let{prefixCls:a,title:o,footer:s,extra:l,loading:c,onClose:u,headerStyle:d,bodyStyle:p,footerStyle:f,children:h,classNames:g,styles:m}=e,{drawer:b}=r.useContext(I.E_),y=r.useCallback(e=>r.createElement("button",{type:"button",onClick:u,"aria-label":"Close",className:`${a}-close`},e),[u]),[E,v]=(0,N.Z)((0,N.w)(e),(0,N.w)(b),{closable:!0,closeIconRender:y}),T=r.useMemo(()=>{var e,t;return o||E?r.createElement("div",{style:Object.assign(Object.assign(Object.assign({},null===(e=null==b?void 0:b.styles)||void 0===e?void 0:e.header),d),null==m?void 0:m.header),className:i()(`${a}-header`,{[`${a}-header-close-only`]:E&&!o&&!l},null===(t=null==b?void 0:b.classNames)||void 0===t?void 0:t.header,null==g?void 0:g.header)},r.createElement("div",{className:`${a}-header-title`},v,o&&r.createElement("div",{className:`${a}-title`},o)),l&&r.createElement("div",{className:`${a}-extra`},l)):null},[E,v,l,d,a,o]),S=r.useMemo(()=>{var e,t;if(!s)return null;let n=`${a}-footer`;return r.createElement("div",{className:i()(n,null===(e=null==b?void 0:b.classNames)||void 0===e?void 0:e.footer,null==g?void 0:g.footer),style:Object.assign(Object.assign(Object.assign({},null===(t=null==b?void 0:b.styles)||void 0===t?void 0:t.footer),f),null==m?void 0:m.footer)},s)},[s,f,a]);return r.createElement(r.Fragment,null,T,r.createElement("div",{className:i()(`${a}-body`,null==g?void 0:g.body,null===(t=null==b?void 0:b.classNames)||void 0===t?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},null===(n=null==b?void 0:b.styles)||void 0===n?void 0:n.body),p),null==m?void 0:m.body)},c?r.createElement(L.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${a}-body-skeleton`}):h),S)},P=n(25446),M=n(14747),F=n(83559),B=n(83262);let j=e=>{let t="100%";return({left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`})[e]},U=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),G=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}}},U({opacity:e},{opacity:1})),H=(e,t)=>[G(.7,t),U({transform:j(e)},{transform:"none"})];var $=e=>{let{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:G(0,n),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce((e,t)=>Object.assign(Object.assign({},e),{[`&-${t}`]:H(t,n)}),{})}}};let z=e=>{let{borderRadiusSM:t,componentCls:n,zIndexPopup:r,colorBgMask:a,colorBgElevated:i,motionDurationSlow:o,motionDurationMid:s,paddingXS:l,padding:c,paddingLG:u,fontSizeLG:d,lineHeightLG:p,lineWidth:f,lineType:h,colorSplit:g,marginXS:m,colorIcon:b,colorIconHover:y,colorBgTextHover:E,colorBgTextActive:v,colorText:T,fontWeightStrong:S,footerPaddingBlock:A,footerPaddingInline:O,calc:_}=e,k=`${n}-content-wrapper`;return{[n]:{position:"fixed",inset:0,zIndex:r,pointerEvents:"none",color:T,"&-pure":{position:"relative",background:i,display:"flex",flexDirection:"column",[`&${n}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${n}-mask`]:{position:"absolute",inset:0,zIndex:r,background:a,pointerEvents:"auto"},[k]:{position:"absolute",zIndex:r,maxWidth:"100vw",transition:`all ${o}`,"&-hidden":{display:"none"}},[`&-left > ${k}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${k}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${k}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${k}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${n}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:i,pointerEvents:"auto"},[`${n}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,P.bf)(c)} ${(0,P.bf)(u)}`,fontSize:d,lineHeight:p,borderBottom:`${(0,P.bf)(f)} ${h} ${g}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:"none"},[`${n}-close`]:Object.assign({display:"inline-flex",width:_(d).add(l).equal(),height:_(d).add(l).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",marginInlineEnd:m,color:b,fontWeight:S,fontSize:d,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${s}`,textRendering:"auto","&:hover":{color:y,backgroundColor:E,textDecoration:"none"},"&:active":{backgroundColor:v}},(0,M.Qy)(e)),[`${n}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:d,lineHeight:p},[`${n}-body`]:{flex:1,minWidth:0,minHeight:0,padding:u,overflow:"auto",[`${n}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${n}-footer`]:{flexShrink:0,padding:`${(0,P.bf)(A)} ${(0,P.bf)(O)}`,borderTop:`${(0,P.bf)(f)} ${h} ${g}`},"&-rtl":{direction:"rtl"}}}};var Z=(0,F.I$)("Drawer",e=>{let t=(0,B.IX)(e,{});return[z(t),$(t)]},e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding})),W=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let V={distance:180},Y=e=>{let{rootClassName:t,width:n,height:a,size:o="default",mask:s=!0,push:l=V,open:c,afterOpenChange:u,onClose:d,prefixCls:p,getContainer:f,style:h,className:g,visible:m,afterVisibleChange:b,maskStyle:y,drawerStyle:E,contentWrapperStyle:v}=e,T=W(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:S,getPrefixCls:A,direction:O,drawer:N}=r.useContext(I.E_),L=A("drawer",p),[P,M,F]=Z(L),B=void 0===f&&S?()=>S(document.body):f,j=i()({"no-mask":!s,[`${L}-rtl`]:"rtl"===O},t,M,F),U=r.useMemo(()=>null!=n?n:"large"===o?736:378,[n,o]),G=r.useMemo(()=>null!=a?a:"large"===o?736:378,[a,o]),H={motionName:(0,C.m)(L,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},$=(0,R.H)(),[z,Y]=(0,x.Cn)("Drawer",T.zIndex),{classNames:q={},styles:K={}}=T,{classNames:X={},styles:Q={}}=N||{};return P(r.createElement(k.Z,{form:!0,space:!0},r.createElement(w.Z.Provider,{value:Y},r.createElement(_,Object.assign({prefixCls:L,onClose:d,maskMotion:H,motion:e=>({motionName:(0,C.m)(L,`panel-motion-${e}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500})},T,{classNames:{mask:i()(q.mask,X.mask),content:i()(q.content,X.content),wrapper:i()(q.wrapper,X.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},K.mask),y),Q.mask),content:Object.assign(Object.assign(Object.assign({},K.content),E),Q.content),wrapper:Object.assign(Object.assign(Object.assign({},K.wrapper),v),Q.wrapper)},open:null!=c?c:m,mask:s,push:l,width:U,height:G,style:Object.assign(Object.assign({},null==N?void 0:N.style),h),className:i()(null==N?void 0:N.className,g),rootClassName:j,getContainer:B,afterOpenChange:null!=u?u:b,panelRef:$,zIndex:z}),r.createElement(D,Object.assign({prefixCls:L},T,{onClose:d}))))))};Y._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,style:n,className:a,placement:o="right"}=e,s=W(e,["prefixCls","style","className","placement"]),{getPrefixCls:l}=r.useContext(I.E_),c=l("drawer",t),[u,d,p]=Z(c),f=i()(c,`${c}-pure`,`${c}-${o}`,d,p,a);return u(r.createElement("div",{className:f,style:n},r.createElement(D,Object.assign({prefixCls:c},s))))};var q=Y},86250:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r=n(67294),a=n(93967),i=n.n(a),o=n(98423),s=n(98065),l=n(53124),c=n(83559),u=n(83262);let d=["wrap","nowrap","wrap-reverse"],p=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],f=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],h=(e,t)=>{let n=!0===t.wrap?"wrap":t.wrap;return{[`${e}-wrap-${n}`]:n&&d.includes(n)}},g=(e,t)=>{let n={};return f.forEach(r=>{n[`${e}-align-${r}`]=t.align===r}),n[`${e}-align-stretch`]=!t.align&&!!t.vertical,n},m=(e,t)=>{let n={};return p.forEach(r=>{n[`${e}-justify-${r}`]=t.justify===r}),n},b=e=>{let{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},y=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},E=e=>{let{componentCls:t}=e,n={};return d.forEach(e=>{n[`${t}-wrap-${e}`]={flexWrap:e}}),n},v=e=>{let{componentCls:t}=e,n={};return f.forEach(e=>{n[`${t}-align-${e}`]={alignItems:e}}),n},T=e=>{let{componentCls:t}=e,n={};return p.forEach(e=>{n[`${t}-justify-${e}`]={justifyContent:e}}),n};var S=(0,c.I$)("Flex",e=>{let{paddingXS:t,padding:n,paddingLG:r}=e,a=(0,u.IX)(e,{flexGapSM:t,flexGap:n,flexGapLG:r});return[b(a),y(a),E(a),v(a),T(a)]},()=>({}),{resetStyle:!1}),A=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let O=r.forwardRef((e,t)=>{let{prefixCls:n,rootClassName:a,className:c,style:u,flex:d,gap:p,children:f,vertical:b=!1,component:y="div"}=e,E=A(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:v,direction:T,getPrefixCls:O}=r.useContext(l.E_),_=O("flex",n),[k,x,C]=S(_),w=null!=b?b:null==v?void 0:v.vertical,I=i()(c,a,null==v?void 0:v.className,_,x,C,i()(Object.assign(Object.assign(Object.assign({},h(_,e)),g(_,e)),m(_,e))),{[`${_}-rtl`]:"rtl"===T,[`${_}-gap-${p}`]:(0,s.n)(p),[`${_}-vertical`]:w}),R=Object.assign(Object.assign({},null==v?void 0:v.style),u);return d&&(R.flex=d),p&&!(0,s.n)(p)&&(R.gap=p),k(r.createElement(y,Object.assign({ref:t,className:I,style:R},(0,o.Z)(E,["justify","wrap","align"])),f))});var _=O},57020:function(e,t,n){"use strict";n.d(t,{Z:function(){return eT}});var r=n(67294),a=n(99611),i=n(93967),o=n.n(i),s=n(87462),l=n(1413),c=n(4942),u=n(97685),d=n(71002),p=n(45987),f=n(27678),h=n(21770),g=n(40974),m=n(64019),b=n(15105),y=n(2788),E=n(29372),v=r.createContext(null),T=function(e){var t=e.visible,n=e.maskTransitionName,a=e.getContainer,i=e.prefixCls,s=e.rootClassName,u=e.icons,d=e.countRender,p=e.showSwitch,f=e.showProgress,h=e.current,g=e.transform,m=e.count,T=e.scale,S=e.minScale,A=e.maxScale,O=e.closeIcon,_=e.onSwitchLeft,k=e.onSwitchRight,x=e.onClose,C=e.onZoomIn,w=e.onZoomOut,I=e.onRotateRight,R=e.onRotateLeft,N=e.onFlipX,L=e.onFlipY,D=e.onReset,P=e.toolbarRender,M=e.zIndex,F=e.image,B=(0,r.useContext)(v),j=u.rotateLeft,U=u.rotateRight,G=u.zoomIn,H=u.zoomOut,$=u.close,z=u.left,Z=u.right,W=u.flipX,V=u.flipY,Y="".concat(i,"-operations-operation");r.useEffect(function(){var e=function(e){e.keyCode===b.Z.ESC&&x()};return t&&window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}},[t]);var q=[{icon:V,onClick:L,type:"flipY"},{icon:W,onClick:N,type:"flipX"},{icon:j,onClick:R,type:"rotateLeft"},{icon:U,onClick:I,type:"rotateRight"},{icon:H,onClick:w,type:"zoomOut",disabled:T<=S},{icon:G,onClick:C,type:"zoomIn",disabled:T===A}].map(function(e){var t,n=e.icon,a=e.onClick,s=e.type,l=e.disabled;return r.createElement("div",{className:o()(Y,(t={},(0,c.Z)(t,"".concat(i,"-operations-operation-").concat(s),!0),(0,c.Z)(t,"".concat(i,"-operations-operation-disabled"),!!l),t)),onClick:a,key:s},n)}),K=r.createElement("div",{className:"".concat(i,"-operations")},q);return r.createElement(E.ZP,{visible:t,motionName:n},function(e){var t=e.className,n=e.style;return r.createElement(y.Z,{open:!0,getContainer:null!=a?a:document.body},r.createElement("div",{className:o()("".concat(i,"-operations-wrapper"),t,s),style:(0,l.Z)((0,l.Z)({},n),{},{zIndex:M})},null===O?null:r.createElement("button",{className:"".concat(i,"-close"),onClick:x},O||$),p&&r.createElement(r.Fragment,null,r.createElement("div",{className:o()("".concat(i,"-switch-left"),(0,c.Z)({},"".concat(i,"-switch-left-disabled"),0===h)),onClick:_},z),r.createElement("div",{className:o()("".concat(i,"-switch-right"),(0,c.Z)({},"".concat(i,"-switch-right-disabled"),h===m-1)),onClick:k},Z)),r.createElement("div",{className:"".concat(i,"-footer")},f&&r.createElement("div",{className:"".concat(i,"-progress")},d?d(h+1,m):"".concat(h+1," / ").concat(m)),P?P(K,(0,l.Z)((0,l.Z)({icons:{flipYIcon:q[0],flipXIcon:q[1],rotateLeftIcon:q[2],rotateRightIcon:q[3],zoomOutIcon:q[4],zoomInIcon:q[5]},actions:{onFlipY:L,onFlipX:N,onRotateLeft:R,onRotateRight:I,onZoomOut:w,onZoomIn:C,onReset:D,onClose:x},transform:g},B?{current:h,total:m}:{}),{},{image:F})):K)))})},S=n(91881),A=n(75164),O={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1},_=n(80334);function k(e,t,n,r){var a=t+n,i=(n-r)/2;if(n>r){if(t>0)return(0,c.Z)({},e,i);if(t<0&&ar)return(0,c.Z)({},e,t<0?i:-i);return{}}function x(e,t,n,r){var a=(0,f.g1)(),i=a.width,o=a.height,s=null;return e<=i&&t<=o?s={x:0,y:0}:(e>i||t>o)&&(s=(0,l.Z)((0,l.Z)({},k("x",n,e,i)),k("y",r,t,o))),s}function C(e){var t=e.src,n=e.isCustomPlaceholder,a=e.fallback,i=(0,r.useState)(n?"loading":"normal"),o=(0,u.Z)(i,2),s=o[0],l=o[1],c=(0,r.useRef)(!1),d="error"===s;(0,r.useEffect)(function(){var e=!0;return new Promise(function(e){var n=document.createElement("img");n.onerror=function(){return e(!1)},n.onload=function(){return e(!0)},n.src=t}).then(function(t){!t&&e&&l("error")}),function(){e=!1}},[t]),(0,r.useEffect)(function(){n&&!c.current?l("loading"):d&&l("normal")},[t]);var p=function(){l("normal")};return[function(e){c.current=!1,"loading"===s&&null!=e&&e.complete&&(e.naturalWidth||e.naturalHeight)&&(c.current=!0,p())},d&&a?{src:a}:{onLoad:p,src:t},s]}function w(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}var I=["fallback","src","imgRef"],R=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],N=function(e){var t=e.fallback,n=e.src,a=e.imgRef,i=(0,p.Z)(e,I),o=C({src:n,fallback:t}),l=(0,u.Z)(o,2),c=l[0],d=l[1];return r.createElement("img",(0,s.Z)({ref:function(e){a.current=e,c(e)}},i,d))},L=function(e){var t,n,a,i,d,h,y,E,k,C,I,L,D,P,M,F,B,j,U,G,H,$,z,Z,W,V,Y,q,K=e.prefixCls,X=e.src,Q=e.alt,J=e.imageInfo,ee=e.fallback,et=e.movable,en=void 0===et||et,er=e.onClose,ea=e.visible,ei=e.icons,eo=e.rootClassName,es=e.closeIcon,el=e.getContainer,ec=e.current,eu=void 0===ec?0:ec,ed=e.count,ep=void 0===ed?1:ed,ef=e.countRender,eh=e.scaleStep,eg=void 0===eh?.5:eh,em=e.minScale,eb=void 0===em?1:em,ey=e.maxScale,eE=void 0===ey?50:ey,ev=e.transitionName,eT=e.maskTransitionName,eS=void 0===eT?"fade":eT,eA=e.imageRender,eO=e.imgCommonProps,e_=e.toolbarRender,ek=e.onTransform,ex=e.onChange,eC=(0,p.Z)(e,R),ew=(0,r.useRef)(),eI=(0,r.useContext)(v),eR=eI&&ep>1,eN=eI&&ep>=1,eL=(0,r.useState)(!0),eD=(0,u.Z)(eL,2),eP=eD[0],eM=eD[1],eF=(t=(0,r.useRef)(null),n=(0,r.useRef)([]),a=(0,r.useState)(O),d=(i=(0,u.Z)(a,2))[0],h=i[1],y=function(e,r){null===t.current&&(n.current=[],t.current=(0,A.Z)(function(){h(function(e){var a=e;return n.current.forEach(function(e){a=(0,l.Z)((0,l.Z)({},a),e)}),t.current=null,null==ek||ek({transform:a,action:r}),a})})),n.current.push((0,l.Z)((0,l.Z)({},d),e))},{transform:d,resetTransform:function(e){h(O),(0,S.Z)(O,d)||null==ek||ek({transform:O,action:e})},updateTransform:y,dispatchZoomChange:function(e,t,n,r,a){var i=ew.current,o=i.width,s=i.height,l=i.offsetWidth,c=i.offsetHeight,u=i.offsetLeft,p=i.offsetTop,h=e,g=d.scale*e;g>eE?(g=eE,h=eE/d.scale):g0&&(t=1/t),eG(t,"wheel",e.clientX,e.clientY)}}}),e$=eH.isMoving,ez=eH.onMouseDown,eZ=eH.onWheel,eW=(U=eB.rotate,G=eB.scale,H=eB.x,$=eB.y,z=(0,r.useState)(!1),W=(Z=(0,u.Z)(z,2))[0],V=Z[1],Y=(0,r.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),q=function(e){Y.current=(0,l.Z)((0,l.Z)({},Y.current),e)},(0,r.useEffect)(function(){var e;return ea&&en&&(e=(0,m.Z)(window,"touchmove",function(e){return e.preventDefault()},{passive:!1})),function(){var t;null===(t=e)||void 0===t||t.remove()}},[ea,en]),{isTouching:W,onTouchStart:function(e){if(en){e.stopPropagation(),V(!0);var t=e.touches,n=void 0===t?[]:t;n.length>1?q({point1:{x:n[0].clientX,y:n[0].clientY},point2:{x:n[1].clientX,y:n[1].clientY},eventType:"touchZoom"}):q({point1:{x:n[0].clientX-H,y:n[0].clientY-$},eventType:"move"})}},onTouchMove:function(e){var t=e.touches,n=void 0===t?[]:t,r=Y.current,a=r.point1,i=r.point2,o=r.eventType;if(n.length>1&&"touchZoom"===o){var s={x:n[0].clientX,y:n[0].clientY},l={x:n[1].clientX,y:n[1].clientY},c=function(e,t,n,r){var a=w(e,n),i=w(t,r);if(0===a&&0===i)return[e.x,e.y];var o=a/(a+i);return[e.x+o*(t.x-e.x),e.y+o*(t.y-e.y)]}(a,i,s,l),d=(0,u.Z)(c,2),p=d[0],f=d[1];eG(w(s,l)/w(a,i),"touchZoom",p,f,!0),q({point1:s,point2:l,eventType:"touchZoom"})}else"move"===o&&(eU({x:n[0].clientX-a.x,y:n[0].clientY-a.y},"move"),q({eventType:"move"}))},onTouchEnd:function(){if(ea){if(W&&V(!1),q({eventType:"none"}),eb>G)return eU({x:0,y:0,scale:eb},"touchZoom");var e=ew.current.offsetWidth*G,t=ew.current.offsetHeight*G,n=ew.current.getBoundingClientRect(),r=n.left,a=n.top,i=U%180!=0,o=x(i?t:e,i?e:t,r,a);o&&eU((0,l.Z)({},o),"dragRebound")}}}),eV=eW.isTouching,eY=eW.onTouchStart,eq=eW.onTouchMove,eK=eW.onTouchEnd,eX=eB.rotate,eQ=eB.scale,eJ=o()((0,c.Z)({},"".concat(K,"-moving"),e$));(0,r.useEffect)(function(){eP||eM(!0)},[eP]);var e0=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu>0&&(eM(!1),ej("prev"),null==ex||ex(eu-1,eu))},e1=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu({position:e||"absolute",inset:0}),eu=e=>{let{iconCls:t,motionDurationSlow:n,paddingXXS:r,marginXXS:a,prefixCls:i,colorTextLightSolid:o}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:o,background:new en.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${i}-mask-info`]:Object.assign(Object.assign({},ea.vS),{padding:`0 ${(0,et.bf)(r)}`,[t]:{marginInlineEnd:a,svg:{verticalAlign:"baseline"}}})}},ed=e=>{let{previewCls:t,modalMaskBg:n,paddingSM:r,marginXL:a,margin:i,paddingLG:o,previewOperationColorDisabled:s,previewOperationHoverColor:l,motionDurationSlow:c,iconCls:u,colorTextLightSolid:d}=e,p=new en.C(n).setAlpha(.1),f=p.clone().setAlpha(.2);return{[`${t}-footer`]:{position:"fixed",bottom:a,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor,transform:"translateX(-50%)"},[`${t}-progress`]:{marginBottom:i},[`${t}-close`]:{position:"fixed",top:a,right:{_skip_check_:!0,value:a},display:"flex",color:d,backgroundColor:p.toRgbString(),borderRadius:"50%",padding:r,outline:0,border:0,cursor:"pointer",transition:`all ${c}`,"&:hover":{backgroundColor:f.toRgbString()},[`& > ${u}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,et.bf)(o)}`,backgroundColor:p.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:r,padding:r,cursor:"pointer",transition:`all ${c}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${u}`]:{color:l},"&-disabled":{color:s,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${u}`]:{fontSize:e.previewOperationSize}}}}},ep=e=>{let{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:r,previewCls:a,zIndexPopup:i,motionDurationSlow:o}=e,s=new en.C(t).setAlpha(.1),l=s.clone().setAlpha(.2);return{[`${a}-switch-left, ${a}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(i).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:s.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${o}`,userSelect:"none","&:hover":{background:l.toRgbString()},"&-disabled":{"&, &:hover":{color:r,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${a}-switch-left`]:{insetInlineStart:e.marginSM},[`${a}-switch-right`]:{insetInlineEnd:e.marginSM}}},ef=e=>{let{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:a}=e;return[{[`${a}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:Object.assign(Object.assign({},ec()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${r} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},ec()),{transition:`transform ${r} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${a}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${a}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal()},"&":[ed(e),ep(e)]}]},eh=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},eu(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},ec())}}},eg=e=>{let{previewCls:t}=e;return{[`${t}-root`]:(0,ei._y)(e,"zoom"),"&":(0,eo.J$)(e,!0)}};var em=(0,es.I$)("Image",e=>{let t=`${e.componentCls}-preview`,n=(0,el.IX)(e,{previewCls:t,modalMaskBg:new en.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[eh(n),ef(n),(0,er.QA)((0,el.IX)(n,{componentCls:t})),eg(n)]},e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new en.C(e.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new en.C(e.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new en.C(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:1.5*e.fontSizeIcon})),eb=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ey={rotateLeft:r.createElement(K.Z,null),rotateRight:r.createElement(X.Z,null),zoomIn:r.createElement(J.Z,null),zoomOut:r.createElement(ee.Z,null),close:r.createElement(V.Z,null),left:r.createElement(Y.Z,null),right:r.createElement(q.Z,null),flipX:r.createElement(Q.Z,null),flipY:r.createElement(Q.Z,{rotate:90})};var eE=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ev=e=>{var t;let{prefixCls:n,preview:i,className:s,rootClassName:l,style:c}=e,u=eE(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:d,locale:p=W.Z,getPopupContainer:f,image:h}=r.useContext(z.E_),g=d("image",n),m=d(),b=p.Image||W.Z.Image,y=(0,Z.Z)(g),[E,v,T]=em(g,y),S=o()(l,v,T,y),A=o()(s,v,null==h?void 0:h.className),[O]=(0,H.Cn)("ImagePreview","object"==typeof i?i.zIndex:void 0),_=r.useMemo(()=>{var e;if(!1===i)return i;let t="object"==typeof i?i:{},{getContainer:n,closeIcon:o}=t,s=eE(t,["getContainer","closeIcon"]);return Object.assign(Object.assign({mask:r.createElement("div",{className:`${g}-mask-info`},r.createElement(a.Z,null),null==b?void 0:b.preview),icons:ey},s),{getContainer:null!=n?n:f,transitionName:(0,$.m)(m,"zoom",t.transitionName),maskTransitionName:(0,$.m)(m,"fade",t.maskTransitionName),zIndex:O,closeIcon:null!=o?o:null===(e=null==h?void 0:h.preview)||void 0===e?void 0:e.closeIcon})},[i,b,null===(t=null==h?void 0:h.preview)||void 0===t?void 0:t.closeIcon]),k=Object.assign(Object.assign({},null==h?void 0:h.style),c);return E(r.createElement(G,Object.assign({prefixCls:g,preview:_,rootClassName:S,className:A,style:k},u)))};ev.PreviewGroup=e=>{var{previewPrefixCls:t,preview:n}=e,a=eb(e,["previewPrefixCls","preview"]);let{getPrefixCls:i}=r.useContext(z.E_),s=i("image",t),l=`${s}-preview`,c=i(),u=(0,Z.Z)(s),[d,p,f]=em(s,u),[h]=(0,H.Cn)("ImagePreview","object"==typeof n?n.zIndex:void 0),g=r.useMemo(()=>{var e;if(!1===n)return n;let t="object"==typeof n?n:{},r=o()(p,f,u,null!==(e=t.rootClassName)&&void 0!==e?e:"");return Object.assign(Object.assign({},t),{transitionName:(0,$.m)(c,"zoom",t.transitionName),maskTransitionName:(0,$.m)(c,"fade",t.maskTransitionName),rootClassName:r,zIndex:h})},[n]);return d(r.createElement(G.PreviewGroup,Object.assign({preview:g,previewPrefixCls:l,icons:ey},a)))};var eT=ev},66309:function(e,t,n){"use strict";n.d(t,{Z:function(){return I}});var r=n(67294),a=n(93967),i=n.n(a),o=n(98423),s=n(98787),l=n(69760),c=n(96159),u=n(45353),d=n(53124),p=n(25446),f=n(10274),h=n(14747),g=n(83262),m=n(83559);let b=e=>{let{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:a,calc:i}=e,o=i(r).sub(n).equal(),s=i(t).sub(n).equal();return{[a]:Object.assign(Object.assign({},(0,h.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:o,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,p.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${a}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${a}-close-icon`]:{marginInlineStart:s,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${a}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${a}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:o}}),[`${a}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},y=e=>{let{lineWidth:t,fontSizeIcon:n,calc:r}=e,a=e.fontSizeSM,i=(0,g.IX)(e,{tagFontSize:a,tagLineHeight:(0,p.bf)(r(e.lineHeightSM).mul(a).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return i},E=e=>({defaultBg:new f.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var v=(0,m.I$)("Tag",e=>{let t=y(e);return b(t)},E),T=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let S=r.forwardRef((e,t)=>{let{prefixCls:n,style:a,className:o,checked:s,onChange:l,onClick:c}=e,u=T(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:p,tag:f}=r.useContext(d.E_),h=p("tag",n),[g,m,b]=v(h),y=i()(h,`${h}-checkable`,{[`${h}-checkable-checked`]:s},null==f?void 0:f.className,o,m,b);return g(r.createElement("span",Object.assign({},u,{ref:t,style:Object.assign(Object.assign({},a),null==f?void 0:f.style),className:y,onClick:e=>{null==l||l(!s),null==c||c(e)}})))});var A=n(98719);let O=e=>(0,A.Z)(e,(t,n)=>{let{textColor:r,lightBorderColor:a,lightColor:i,darkColor:o}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:i,borderColor:a,"&-inverse":{color:e.colorTextLightSolid,background:o,borderColor:o},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var _=(0,m.bk)(["Tag","preset"],e=>{let t=y(e);return O(t)},E);let k=(e,t,n)=>{let r=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var x=(0,m.bk)(["Tag","status"],e=>{let t=y(e);return[k(t,"success","Success"),k(t,"processing","Info"),k(t,"error","Error"),k(t,"warning","Warning")]},E),C=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let w=r.forwardRef((e,t)=>{let{prefixCls:n,className:a,rootClassName:p,style:f,children:h,icon:g,color:m,onClose:b,bordered:y=!0,visible:E}=e,T=C(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:S,direction:A,tag:O}=r.useContext(d.E_),[k,w]=r.useState(!0),I=(0,o.Z)(T,["closeIcon","closable"]);r.useEffect(()=>{void 0!==E&&w(E)},[E]);let R=(0,s.o2)(m),N=(0,s.yT)(m),L=R||N,D=Object.assign(Object.assign({backgroundColor:m&&!L?m:void 0},null==O?void 0:O.style),f),P=S("tag",n),[M,F,B]=v(P),j=i()(P,null==O?void 0:O.className,{[`${P}-${m}`]:L,[`${P}-has-color`]:m&&!L,[`${P}-hidden`]:!k,[`${P}-rtl`]:"rtl"===A,[`${P}-borderless`]:!y},a,p,F,B),U=e=>{e.stopPropagation(),null==b||b(e),e.defaultPrevented||w(!1)},[,G]=(0,l.Z)((0,l.w)(e),(0,l.w)(O),{closable:!1,closeIconRender:e=>{let t=r.createElement("span",{className:`${P}-close-icon`,onClick:U},e);return(0,c.wm)(e,t,e=>({onClick:t=>{var n;null===(n=null==e?void 0:e.onClick)||void 0===n||n.call(e,t),U(t)},className:i()(null==e?void 0:e.className,`${P}-close-icon`)}))}}),H="function"==typeof T.onClick||h&&"a"===h.type,$=g||null,z=$?r.createElement(r.Fragment,null,$,h&&r.createElement("span",null,h)):h,Z=r.createElement("span",Object.assign({},I,{ref:t,className:j,style:D}),z,G,R&&r.createElement(_,{key:"preset",prefixCls:P}),N&&r.createElement(x,{key:"status",prefixCls:P}));return M(H?r.createElement(u.Z,{component:"Tag"},Z):Z)});w.CheckableTag=S;var I=w},62502:function(e,t,n){"use strict";var r=n(15575),a=n(64977),i=n(72869),o=n(32473).Q,s=n(24395).Q;e.exports=function(e,t,n){var a=n?function(e){for(var t,n=e.length,r=-1,a={};++r4&&h.slice(0,4)===o&&s.test(t)&&("-"===t.charAt(4)?g=o+(n=t.slice(5).replace(l,d)).charAt(0).toUpperCase()+n.slice(1):(f=(p=t).slice(4),t=l.test(f)?p:("-"!==(f=f.replace(c,u)).charAt(0)&&(f="-"+f),o+f)),m=a),new m(g,t))};var s=/^data[-\w.:]+$/i,l=/-[a-z]/g,c=/[A-Z]/g;function u(e){return"-"+e.toLowerCase()}function d(e){return e.charAt(1).toUpperCase()}},48055:function(e,t,n){"use strict";var r=n(26230),a=n(13970),i=n(10629),o=n(647),s=n(91305),l=n(22537);e.exports=r([i,a,o,s,l])},91305:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=r.booleanish,o=r.number,s=r.spaceSeparated;e.exports=a({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:i,ariaAutoComplete:null,ariaBusy:i,ariaChecked:i,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:s,ariaCurrent:null,ariaDescribedBy:s,ariaDetails:null,ariaDisabled:i,ariaDropEffect:s,ariaErrorMessage:null,ariaExpanded:i,ariaFlowTo:s,ariaGrabbed:i,ariaHasPopup:null,ariaHidden:i,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s,ariaLevel:o,ariaLive:null,ariaModal:i,ariaMultiLine:i,ariaMultiSelectable:i,ariaOrientation:null,ariaOwns:s,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:i,ariaReadOnly:i,ariaRelevant:null,ariaRequired:i,ariaRoleDescription:s,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:i,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}})},22537:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=n(19348),o=r.boolean,s=r.overloadedBoolean,l=r.booleanish,c=r.number,u=r.spaceSeparated,d=r.commaSeparated;e.exports=a({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:i,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:d,acceptCharset:u,accessKey:u,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:u,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:u,cols:c,colSpan:null,content:null,contentEditable:l,controls:o,controlsList:u,coords:c|d,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:s,draggable:l,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:u,height:c,hidden:o,high:c,href:null,hrefLang:null,htmlFor:u,httpEquiv:u,id:null,imageSizes:null,imageSrcSet:d,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:u,itemRef:u,itemScope:o,itemType:u,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:u,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:u,required:o,reversed:o,rows:c,rowSpan:c,sandbox:u,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:c,sizes:null,slot:null,span:c,spellCheck:l,src:null,srcDoc:null,srcLang:null,srcSet:d,start:c,step:null,style:null,tabIndex:c,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:l,width:c,wrap:null,align:null,aLink:null,archive:u,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:l,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}})},19348:function(e,t,n){"use strict";var r=n(21098);e.exports=function(e,t){return r(e,t.toLowerCase())}},21098:function(e){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},47589:function(e,t,n){"use strict";var r=n(64977),a=n(16038),i=n(78444);e.exports=function(e){var t,n,o=e.space,s=e.mustUseProperty||[],l=e.attributes||{},c=e.properties,u=e.transform,d={},p={};for(t in c)n=new i(t,u(l,t),c[t],o),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),d[t]=n,p[r(t)]=t,p[r(n.attribute)]=t;return new a(d,p,o)}},78444:function(e,t,n){"use strict";var r=n(40313),a=n(61422);e.exports=s,s.prototype=new r,s.prototype.defined=!0;var i=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=i.length;function s(e,t,n,s){var l,c,u,d=-1;for(s&&(this.space=s),r.call(this,e,t);++d=97&&t<=122||t>=65&&t<=90}},7961:function(e,t,n){"use strict";var r=n(46260),a=n(46195);e.exports=function(e){return r(e)||a(e)}},46195:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},79480:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}},32682:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/ChatDialog",function(){return n(7332)}])},85813:function(e,t,n){"use strict";n.d(t,{r:function(){return _6}});var r,a,i,o,s,l,c,u,d,p,f,h,g,m,b,y,E,v,T,S,A,O,_,k,x,C,w,I,R,N,L,D,P,M,F,B,j,U,G,H,$,z,Z,W,V,Y,q,K,X,Q,J,ee,et,en,er,ea={};n.r(ea),n.d(ea,{area:function(){return cf},bottom:function(){return cT},bottomLeft:function(){return cT},bottomRight:function(){return cT},inside:function(){return cT},left:function(){return cT},outside:function(){return c_},right:function(){return cT},spider:function(){return cR},surround:function(){return cL},top:function(){return cT},topLeft:function(){return cT},topRight:function(){return cT}});var ei={};n.r(ei),n.d(ei,{interpolateBlues:function(){return uD.interpolateBlues},interpolateBrBG:function(){return uD.interpolateBrBG},interpolateBuGn:function(){return uD.interpolateBuGn},interpolateBuPu:function(){return uD.interpolateBuPu},interpolateCividis:function(){return uD.interpolateCividis},interpolateCool:function(){return uD.interpolateCool},interpolateCubehelixDefault:function(){return uD.interpolateCubehelixDefault},interpolateGnBu:function(){return uD.interpolateGnBu},interpolateGreens:function(){return uD.interpolateGreens},interpolateGreys:function(){return uD.interpolateGreys},interpolateInferno:function(){return uD.interpolateInferno},interpolateMagma:function(){return uD.interpolateMagma},interpolateOrRd:function(){return uD.interpolateOrRd},interpolateOranges:function(){return uD.interpolateOranges},interpolatePRGn:function(){return uD.interpolatePRGn},interpolatePiYG:function(){return uD.interpolatePiYG},interpolatePlasma:function(){return uD.interpolatePlasma},interpolatePuBu:function(){return uD.interpolatePuBu},interpolatePuBuGn:function(){return uD.interpolatePuBuGn},interpolatePuOr:function(){return uD.interpolatePuOr},interpolatePuRd:function(){return uD.interpolatePuRd},interpolatePurples:function(){return uD.interpolatePurples},interpolateRainbow:function(){return uD.interpolateRainbow},interpolateRdBu:function(){return uD.interpolateRdBu},interpolateRdGy:function(){return uD.interpolateRdGy},interpolateRdPu:function(){return uD.interpolateRdPu},interpolateRdYlBu:function(){return uD.interpolateRdYlBu},interpolateRdYlGn:function(){return uD.interpolateRdYlGn},interpolateReds:function(){return uD.interpolateReds},interpolateSinebow:function(){return uD.interpolateSinebow},interpolateSpectral:function(){return uD.interpolateSpectral},interpolateTurbo:function(){return uD.interpolateTurbo},interpolateViridis:function(){return uD.interpolateViridis},interpolateWarm:function(){return uD.interpolateWarm},interpolateYlGn:function(){return uD.interpolateYlGn},interpolateYlGnBu:function(){return uD.interpolateYlGnBu},interpolateYlOrBr:function(){return uD.interpolateYlOrBr},interpolateYlOrRd:function(){return uD.interpolateYlOrRd},schemeAccent:function(){return uD.schemeAccent},schemeBlues:function(){return uD.schemeBlues},schemeBrBG:function(){return uD.schemeBrBG},schemeBuGn:function(){return uD.schemeBuGn},schemeBuPu:function(){return uD.schemeBuPu},schemeCategory10:function(){return uD.schemeCategory10},schemeDark2:function(){return uD.schemeDark2},schemeGnBu:function(){return uD.schemeGnBu},schemeGreens:function(){return uD.schemeGreens},schemeGreys:function(){return uD.schemeGreys},schemeOrRd:function(){return uD.schemeOrRd},schemeOranges:function(){return uD.schemeOranges},schemePRGn:function(){return uD.schemePRGn},schemePaired:function(){return uD.schemePaired},schemePastel1:function(){return uD.schemePastel1},schemePastel2:function(){return uD.schemePastel2},schemePiYG:function(){return uD.schemePiYG},schemePuBu:function(){return uD.schemePuBu},schemePuBuGn:function(){return uD.schemePuBuGn},schemePuOr:function(){return uD.schemePuOr},schemePuRd:function(){return uD.schemePuRd},schemePurples:function(){return uD.schemePurples},schemeRdBu:function(){return uD.schemeRdBu},schemeRdGy:function(){return uD.schemeRdGy},schemeRdPu:function(){return uD.schemeRdPu},schemeRdYlBu:function(){return uD.schemeRdYlBu},schemeRdYlGn:function(){return uD.schemeRdYlGn},schemeReds:function(){return uD.schemeReds},schemeSet1:function(){return uD.schemeSet1},schemeSet2:function(){return uD.schemeSet2},schemeSet3:function(){return uD.schemeSet3},schemeSpectral:function(){return uD.schemeSpectral},schemeTableau10:function(){return uD.schemeTableau10},schemeYlGn:function(){return uD.schemeYlGn},schemeYlGnBu:function(){return uD.schemeYlGnBu},schemeYlOrBr:function(){return uD.schemeYlOrBr},schemeYlOrRd:function(){return uD.schemeYlOrRd}});var eo={};n.r(eo);var es={};n.r(es),n.d(es,{geoAlbers:function(){return Ta.Z},geoAlbersUsa:function(){return Tr.Z},geoAzimuthalEqualArea:function(){return Ti.Z},geoAzimuthalEqualAreaRaw:function(){return Ti.l},geoAzimuthalEquidistant:function(){return To.Z},geoAzimuthalEquidistantRaw:function(){return To.N},geoConicConformal:function(){return Ts.Z},geoConicConformalRaw:function(){return Ts.l},geoConicEqualArea:function(){return Tl.Z},geoConicEqualAreaRaw:function(){return Tl.v},geoConicEquidistant:function(){return Tc.Z},geoConicEquidistantRaw:function(){return Tc.o},geoEqualEarth:function(){return Tu.Z},geoEqualEarthRaw:function(){return Tu.i},geoEquirectangular:function(){return Td.Z},geoEquirectangularRaw:function(){return Td.k},geoGnomonic:function(){return Tp.Z},geoGnomonicRaw:function(){return Tp.M},geoIdentity:function(){return Tf.Z},geoMercator:function(){return Tg.ZP},geoMercatorRaw:function(){return Tg.hk},geoNaturalEarth1:function(){return Tm.Z},geoNaturalEarth1Raw:function(){return Tm.K},geoOrthographic:function(){return Tb.Z},geoOrthographicRaw:function(){return Tb.I},geoProjection:function(){return Th.Z},geoProjectionMutator:function(){return Th.r},geoStereographic:function(){return Ty.Z},geoStereographicRaw:function(){return Ty.T},geoTransverseMercator:function(){return TE.Z},geoTransverseMercatorRaw:function(){return TE.F}});var el={};n.r(el),n.d(el,{frequency:function(){return Sh},id:function(){return Sg},name:function(){return Sm},weight:function(){return Sf}});var ec=n(74902),eu=n(1413),ed=n(87462),ep=n(97685),ef=n(45987),eh=n(50888),eg=n(96486),em=n(67294),eb=function(){return(eb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n-1&&!e.return)switch(e.type){case ek:e.return=function e(t,n,r){var a;switch(a=n,45^eD(t,0)?(((a<<2^eD(t,0))<<2^eD(t,1))<<2^eD(t,2))<<2^eD(t,3):0){case 5103:return eA+"print-"+t+t;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 eA+t+t;case 4789:return eS+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return eA+t+eS+t+eT+t+t;case 5936:switch(eD(t,n+11)){case 114:return eA+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return eA+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return eA+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return eA+t+eT+t+t;case 6165:return eA+t+eT+"flex-"+t+t;case 5187:return eA+t+eN(t,/(\w+).+(:[^]+)/,eA+"box-$1$2"+eT+"flex-$1$2")+t;case 5443:return eA+t+eT+"flex-item-"+eN(t,/flex-|-self/g,"")+(eR(t,/flex-|baseline/)?"":eT+"grid-row-"+eN(t,/flex-|-self/g,""))+t;case 4675:return eA+t+eT+"flex-line-pack"+eN(t,/align-content|flex-|-self/g,"")+t;case 5548:return eA+t+eT+eN(t,"shrink","negative")+t;case 5292:return eA+t+eT+eN(t,"basis","preferred-size")+t;case 6060:return eA+"box-"+eN(t,"-grow","")+eA+t+eT+eN(t,"grow","positive")+t;case 4554:return eA+eN(t,/([^-])(transform)/g,"$1"+eA+"$2")+t;case 6187:return eN(eN(eN(t,/(zoom-|grab)/,eA+"$1"),/(image-set)/,eA+"$1"),t,"")+t;case 5495:case 3959:return eN(t,/(image-set\([^]*)/,eA+"$1$`$1");case 4968:return eN(eN(t,/(.+:)(flex-)?(.*)/,eA+"box-pack:$3"+eT+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+eA+t+t;case 4200:if(!eR(t,/flex-|baseline/))return eT+"grid-column-align"+eP(t,n)+t;break;case 2592:case 3360:return eT+eN(t,"template-","")+t;case 4384:case 3616:if(r&&r.some(function(e,t){return n=t,eR(e.props,/grid-\w+-end/)}))return~eL(t+(r=r[n].value),"span",0)?t:eT+eN(t,"-start","")+t+eT+"grid-row-span:"+(~eL(r,"span",0)?eR(r,/\d+/):+eR(r,/\d+/)-+eR(t,/\d+/))+";";return eT+eN(t,"-start","")+t;case 4896:case 4128:return r&&r.some(function(e){return eR(e.props,/grid-\w+-start/)})?t:eT+eN(eN(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return eN(t,/(.+)-inline(.+)/,eA+"$1$2")+t;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(eM(t)-1-n>6)switch(eD(t,n+1)){case 109:if(45!==eD(t,n+4))break;case 102:return eN(t,/(.+:)(.+)-([^]+)/,"$1"+eA+"$2-$3$1"+eS+(108==eD(t,n+3)?"$3":"$2-$3"))+t;case 115:return~eL(t,"stretch",0)?e(eN(t,"stretch","fill-available"),n,r)+t:t}break;case 5152:case 5920:return eN(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(e,n,r,a,i,o,s){return eT+n+":"+r+s+(a?eT+n+"-span:"+(i?o:+o-+r)+s:"")+t});case 4949:if(121===eD(t,n+6))return eN(t,":",":"+eA)+t;break;case 6444:switch(eD(t,45===eD(t,14)?18:11)){case 120:return eN(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+eA+(45===eD(t,14)?"inline-":"")+"box$3$1"+eA+"$2$3$1"+eT+"$2box$3")+t;case 100:return eN(t,":",":"+eT)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return eN(t,"scroll-","scroll-snap-")+t}return t}(e.value,e.length,n);return;case ex:return eQ([eW(e,{value:eN(e.value,"@","@"+eA)})],r);case e_:if(e.length)return(n=e.props).map(function(t){switch(eR(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":eV(eW(e,{props:[eN(t,/:(read-\w+)/,":"+eS+"$1")]})),eV(eW(e,{props:[t]})),eI(e,{props:eB(n,r)});break;case"::placeholder":eV(eW(e,{props:[eN(t,/:(plac\w+)/,":"+eA+"input-$1")]})),eV(eW(e,{props:[eN(t,/:(plac\w+)/,":"+eS+"$1")]})),eV(eW(e,{props:[eN(t,/:(plac\w+)/,eT+"input-$1")]})),eV(eW(e,{props:[t]})),eI(e,{props:eB(n,r)})}return""}).join("")}}function e1(e,t,n,r,a,i,o,s,l,c,u,d){for(var p=a-1,f=0===a?i:[""],h=f.length,g=0,m=0,b=0;g0?f[y]+" "+E:eN(E,/&\f/g,f[y])).trim())&&(l[b++]=v);return eZ(e,t,n,0===a?e_:s,l,c,u,d)}function e2(e,t,n,r,a){return eZ(e,t,n,ek,eP(e,0,r),eP(e,r+1,-1),r,a)}var e3=n(94371),e5=n(83454),e4=void 0!==e5&&void 0!==e5.env&&(e5.env.REACT_APP_SC_ATTR||e5.env.SC_ATTR)||"data-styled",e6="active",e9="data-styled-version",e8="6.1.15",e7="/*!sc*/\n",te="undefined"!=typeof window&&"HTMLElement"in window,tt=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==e5&&void 0!==e5.env&&void 0!==e5.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==e5.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==e5.env.REACT_APP_SC_DISABLE_SPEEDY&&e5.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==e5&&void 0!==e5.env&&void 0!==e5.env.SC_DISABLE_SPEEDY&&""!==e5.env.SC_DISABLE_SPEEDY&&"false"!==e5.env.SC_DISABLE_SPEEDY&&e5.env.SC_DISABLE_SPEEDY),tn=Object.freeze([]),tr=Object.freeze({}),ta=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),ti=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,to=/(^-|-$)/g;function ts(e){return e.replace(ti,"-").replace(to,"")}var tl=/(a)(d)/gi,tc=function(e){return String.fromCharCode(e+(e>25?39:97))};function tu(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=tc(t%52)+n;return(tc(t%52)+n).replace(tl,"$1-$2")}var td,tp=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},tf=function(e){return tp(5381,e)};function th(e){return"string"==typeof e}var tg="function"==typeof Symbol&&Symbol.for,tm=tg?Symbol.for("react.memo"):60115,tb=tg?Symbol.for("react.forward_ref"):60112,ty={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},tE={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},tv={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},tT=((td={})[tb]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},td[tm]=tv,td);function tS(e){return("type"in e&&e.type.$$typeof)===tm?tv:"$$typeof"in e?tT[e.$$typeof]:ty}var tA=Object.defineProperty,tO=Object.getOwnPropertyNames,t_=Object.getOwnPropertySymbols,tk=Object.getOwnPropertyDescriptor,tx=Object.getPrototypeOf,tC=Object.prototype;function tw(e){return"function"==typeof e}function tI(e){return"object"==typeof e&&"styledComponentId"in e}function tR(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function tN(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r0?" Args: ".concat(t.join(", ")):""))}var tM=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,a=r;e>=a;)if((a<<=1)<0)throw tP(16,"".concat(e));this.groupSizes=new Uint32Array(a),this.groupSizes.set(n),this.length=a;for(var i=r;i=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),a=r+n,i=r;i=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(l+="".concat(e,","))}),r+="".concat(o).concat(s,'{content:"').concat(l,'"}').concat(e7)}}})(a);return r}(r)})}return e.registerId=function(e){return tU(e)},e.prototype.rehydrate=function(){!this.server&&te&&tW(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(eb(eb({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){var e,t,n,r;return this.tag||(this.tag=(n=(t=this.options).useCSSOMInjection,r=t.target,e=t.isServer?new tK(r):n?new tY(r):new tq(r),new tM(e)))},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(tU(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(tU(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(tU(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),t0=/&/g,t1=/^\s*\/\/.*$/gm;function t2(e){var t,n,r,a=void 0===e?tr:e,i=a.options,o=void 0===i?tr:i,s=a.plugins,l=void 0===s?tn:s,c=function(e,r,a){return a.startsWith(n)&&a.endsWith(n)&&a.replaceAll(n,"").length>0?".".concat(t):e},u=l.slice();u.push(function(e){e.type===e_&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(t0,n).replace(r,c))}),o.prefix&&u.push(e0),u.push(eJ);var d=function(e,a,i,s){void 0===a&&(a=""),void 0===i&&(i=""),void 0===s&&(s="&"),t=s,n=a,r=RegExp("\\".concat(n,"\\b"),"g");var l,c,d,p,f,h=e.replace(t1,""),g=(f=function e(t,n,r,a,i,o,s,l,c){for(var u,d=0,p=0,f=s,h=0,g=0,m=0,b=1,y=1,E=1,v=0,T="",S=i,A=o,O=a,_=T;y;)switch(m=v,v=eY()){case 40:if(108!=m&&58==eD(_,f-1)){-1!=eL(_+=eN(eX(v),"&","&\f"),"&\f",eC(d?l[d-1]:0))&&(E=-1);break}case 34:case 39:case 91:_+=eX(v);break;case 9:case 10:case 13:case 32:_+=function(e){for(;e$=eq();)if(e$<33)eY();else break;return eK(e)>2||eK(e$)>3?"":" "}(m);break;case 92:_+=function(e,t){for(var n;--t&&eY()&&!(e$<48)&&!(e$>102)&&(!(e$>57)||!(e$<65))&&(!(e$>70)||!(e$<97)););return n=eH+(t<6&&32==eq()&&32==eY()),eP(ez,e,n)}(eH-1,7);continue;case 47:switch(eq()){case 42:case 47:eF(eZ(u=function(e,t){for(;eY();)if(e+e$===57)break;else if(e+e$===84&&47===eq())break;return"/*"+eP(ez,t,eH-1)+"*"+ew(47===e?e:eY())}(eY(),eH),n,r,eO,ew(e$),eP(u,2,-2),0,c),c);break;default:_+="/"}break;case 123*b:l[d++]=eM(_)*E;case 125*b:case 59:case 0:switch(v){case 0:case 125:y=0;case 59+p:-1==E&&(_=eN(_,/\f/g,"")),g>0&&eM(_)-f&&eF(g>32?e2(_+";",a,r,f-1,c):e2(eN(_," ","")+";",a,r,f-2,c),c);break;case 59:_+=";";default:if(eF(O=e1(_,n,r,d,p,i,l,T,S=[],A=[],f,o),o),123===v){if(0===p)e(_,n,O,O,S,o,f,l,A);else switch(99===h&&110===eD(_,3)?100:h){case 100:case 108:case 109:case 115:e(t,O,O,a&&eF(e1(t,O,O,0,0,i,l,T,i,S=[],f,A),A),i,A,f,l,a?S:A);break;default:e(_,O,O,O,[""],A,0,l,A)}}}d=p=g=0,b=E=1,T=_="",f=s;break;case 58:f=1+eM(_),g=m;default:if(b<1){if(123==v)--b;else if(125==v&&0==b++&&125==(e$=eH>0?eD(ez,--eH):0,eU--,10===e$&&(eU=1,ej--),e$))continue}switch(_+=ew(v),v*b){case 38:E=p>0?1:(_+="\f",-1);break;case 44:l[d++]=(eM(_)-1)*E,E=1;break;case 64:45===eq()&&(_+=eX(eY())),h=eq(),p=f=eM(T=_+=function(e){for(;!eK(eq());)eY();return eP(ez,e,eH)}(eH)),v++;break;case 45:45===m&&2==eM(_)&&(b=0)}}return o}("",null,null,null,[""],(p=d=i||a?"".concat(i," ").concat(a," { ").concat(h," }"):h,ej=eU=1,eG=eM(ez=p),eH=0,d=[]),0,[0],d),ez="",f);o.namespace&&(g=function e(t,n){return t.map(function(t){return"rule"===t.type&&(t.value="".concat(n," ").concat(t.value),t.value=t.value.replaceAll(",",",".concat(n," ")),t.props=t.props.map(function(e){return"".concat(n," ").concat(e)})),Array.isArray(t.children)&&"@keyframes"!==t.type&&(t.children=e(t.children,n)),t})}(g,o.namespace));var m=[];return eQ(g,(c=(l=u.concat(function(e){var t;!e.root&&(e=e.return)&&(t=e,m.push(t))})).length,function(e,t,n,r){for(var a="",i=0;i="A"&&r<="Z"?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var nt=function(e){return null==e||!1===e||""===e},nn=function(e){var t=[];for(var n in e){var r=e[n];e.hasOwnProperty(n)&&!nt(r)&&(Array.isArray(r)&&r.isCss||tw(r)?t.push("".concat(ne(n),":"),r,";"):tL(r)?t.push.apply(t,ey(ey(["".concat(n," {")],nn(r),!1),["}"],!1)):t.push("".concat(ne(n),": ").concat(null==r||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||n in e3.Z||n.startsWith("--")?String(r).trim():"".concat(r,"px"),";")))}return t};function nr(e,t,n,r){return nt(e)?[]:tI(e)?[".".concat(e.styledComponentId)]:tw(e)?!tw(e)||e.prototype&&e.prototype.isReactComponent||!t?[e]:nr(e(t),t,n,r):e instanceof t7?n?(e.inject(n,r),[e.getName(r)]):[e]:tL(e)?nn(e):Array.isArray(e)?Array.prototype.concat.apply(tn,e.map(function(e){return nr(e,t,n,r)})):[e.toString()]}function na(e){for(var t=0;t>>0);if(!t.hasNameForId(this.componentId,i)){var o=n(a,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,o)}r=tR(r,i),this.staticRulesId=i}}else{for(var s=tp(this.baseHash,n.hash),l="",c=0;c>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(l,".".concat(p),void 0,this.componentId)),r=tR(r,p)}}return r},e}(),ns=em.createContext(void 0);ns.Consumer;var nl={};function nc(e,t,n){var r,a,i,o,s=tI(e),l=!th(e),c=t.attrs,u=void 0===c?tn:c,d=t.componentId,p=void 0===d?(r=t.displayName,a=t.parentComponentId,nl[i="string"!=typeof r?"sc":ts(r)]=(nl[i]||0)+1,o="".concat(i,"-").concat(tu(tf(e8+i+nl[i])>>>0)),a?"".concat(a,"-").concat(o):o):d,f=t.displayName,h=void 0===f?th(e)?"styled.".concat(e):"Styled(".concat(e.displayName||e.name||"Component",")"):f,g=t.displayName&&t.componentId?"".concat(ts(t.displayName),"-").concat(t.componentId):t.componentId||p,m=s&&e.attrs?e.attrs.concat(u).filter(Boolean):u,b=t.shouldForwardProp;if(s&&e.shouldForwardProp){var y=e.shouldForwardProp;if(t.shouldForwardProp){var E=t.shouldForwardProp;b=function(e,t){return y(e,t)&&E(e,t)}}else b=y}var v=new no(n,g,s?e.componentStyle:void 0);function T(e,t){return function(e,t,n){var r,a,i=e.attrs,o=e.componentStyle,s=e.defaultProps,l=e.foldedComponentIds,c=e.styledComponentId,u=e.target,d=em.useContext(ns),p=t9(),f=e.shouldForwardProp||p.shouldForwardProp,h=(void 0===(r=s)&&(r=tr),t.theme!==r.theme&&t.theme||d||r.theme||tr),g=function(e,t,n){for(var r,a=eb(eb({},t),{className:void 0,theme:n}),i=0;i2&&tJ.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=n.nc,a=tN([r&&'nonce="'.concat(r,'"'),"".concat(e4,'="true"'),"".concat(e9,'="').concat(e8,'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(e.sealed)throw tP(2);return e._emitSheetCSS()},this.getStyleElement=function(){if(e.sealed)throw tP(2);var t,r=e.instance.toString();if(!r)return[];var a=((t={})[e4]="",t[e9]=e8,t.dangerouslySetInnerHTML={__html:r},t),i=n.nc;return i&&(a.nonce=i),[em.createElement("style",eb({},a,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new tJ({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw tP(2);return em.createElement(t8,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw tP(3)}}();var nh=n(4942),ng=n(73935),nm=n.t(ng,2),nb=function(){return(nb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=18&&(J=ny.createRoot)}catch(e){}function nT(e){var t=ny.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"==typeof t&&(t.usingClientEntryPoint=e)}var nS="__rc_react_root__",nA=new Map;"undefined"!=typeof document&&nA.set("tooltip",document.createElement("div"));var nO=function(e,t){void 0===t&&(t=!1);var n=null;if(t)n=nA.get("tooltip");else if(n=document.createElement("div"),null==e?void 0:e.key){var r=nA.get(e.key);r?n=r:nA.set(e.key,n)}return!function(e,t){if(J){var n;nT(!0),n=t[nS]||J(t),nT(!1),n.render(e),t[nS]=n;return}nv(e,t)}(e,n),n},n_=function(e){if("undefined"==typeof document)return"loading";var t=e.attachShadow({mode:"open"}),n=document.createElement("div"),r=document.createElement("style");r.innerHTML=".loading {\n display: inline-block;\n position: relative;\n width: 80px;\n height: 80px;\n }\n .loading div {\n position: absolute;\n top: 33px;\n width: 13px;\n height: 13px;\n border-radius: 50%;\n background: #ccc;\n animation-timing-function: cubic-bezier(0, 1, 1, 0);\n }\n .loading div:nth-child(1) {\n left: 8px;\n animation: loading1 0.6s infinite;\n }\n .loading div:nth-child(2) {\n left: 8px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(3) {\n left: 32px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(4) {\n left: 56px;\n animation: loading3 0.6s infinite;\n }\n @keyframes loading1 {\n 0% {\n transform: scale(0);\n }\n 100% {\n transform: scale(1);\n }\n }\n @keyframes loading3 {\n 0% {\n transform: scale(1);\n }\n 100% {\n transform: scale(0);\n }\n }\n @keyframes loading2 {\n 0% {\n transform: translate(0, 0);\n }\n 100% {\n transform: translate(24px, 0);\n }\n }\n ",n.classList.add("loading"),n.innerHTML="
",t.appendChild(r),t.appendChild(n)},nk=function(e){var t=e.loadingTemplate,n=e.theme,r=em.useRef(null);return em.useEffect(function(){!t&&r.current&&n_(r.current)},[]),em.createElement("div",{className:"charts-loading-container",style:{position:"absolute",width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",left:0,top:0,zIndex:99,backgroundColor:"dark"===(void 0===n?"light":n)?"rgb(20, 20, 20)":"rgb(255, 255, 255)"}},t||em.createElement("div",{ref:r}))},nx=(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),nC=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={hasError:!1},t.renderError=function(e){var n=t.props.errorTemplate;return"function"==typeof n?n(e):n||em.createElement("h5",null,"组件出错了,请核查后重试: ",e.message)},t}return nx(t,e),t.getDerivedStateFromError=function(e){return{hasError:!0,error:e}},t.getDerivedStateFromProps=function(e,t){return t.children!==e.children?{children:e.children,hasError:!1,error:void 0}:null},t.prototype.render=function(){return this.state.hasError?this.renderError(this.state.error):em.createElement(em.Fragment,null,this.props.children)},t}(em.Component),nw=function(e,t,n){if(n||2==arguments.length)for(var r,a=0,i=t.length;a90)return this;this.computeMatrix()}return this._getAxes(),this.type===nN.iM.ORBITING||this.type===nN.iM.EXPLORING?this._getPosition():this.type===nN.iM.TRACKING&&this._getFocalPoint(),this._update(),this}},{key:"pan",value:function(e,t){var n=(0,nN.O4)(e,t,0),r=nG.d9(this.position);return nG.IH(r,r,nG.bA(nG.Ue(),this.right,n[0])),nG.IH(r,r,nG.bA(nG.Ue(),this.up,n[1])),this._setPosition(r),this.triggerUpdate(),this}},{key:"dolly",value:function(e){var t=this.forward,n=nG.d9(this.position),r=e*this.dollyingStep;return r=Math.max(Math.min(this.distance+e*this.dollyingStep,this.maxDistance),this.minDistance)-this.distance,n[0]+=r*t[0],n[1]+=r*t[1],n[2]+=r*t[2],this._setPosition(n),this.type===nN.iM.ORBITING||this.type===nN.iM.EXPLORING?this._getDistance():this.type===nN.iM.TRACKING&&nG.IH(this.focalPoint,n,this.distanceVector),this.triggerUpdate(),this}},{key:"cancelLandmarkAnimation",value:function(){void 0!==this.landmarkAnimationID&&this.canvas.cancelAnimationFrame(this.landmarkAnimationID)}},{key:"createLandmark",value:function(e){var t,n,r,a,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=i.position,s=void 0===o?this.position:o,l=i.focalPoint,c=void 0===l?this.focalPoint:l,u=i.roll,d=i.zoom,p=new nN.GZ.CameraContribution;p.setType(this.type,void 0),p.setPosition(s[0],null!==(t=s[1])&&void 0!==t?t:this.position[1],null!==(n=s[2])&&void 0!==n?n:this.position[2]),p.setFocalPoint(c[0],null!==(r=c[1])&&void 0!==r?r:this.focalPoint[1],null!==(a=c[2])&&void 0!==a?a:this.focalPoint[2]),p.setRoll(null!=u?u:this.roll),p.setZoom(null!=d?d:this.zoom);var f={name:e,matrix:nU.clone(p.getWorldTransform()),right:nG.d9(p.right),up:nG.d9(p.up),forward:nG.d9(p.forward),position:nG.d9(p.getPosition()),focalPoint:nG.d9(p.getFocalPoint()),distanceVector:nG.d9(p.getDistanceVector()),distance:p.getDistance(),dollyingStep:p.getDollyingStep(),azimuth:p.getAzimuth(),elevation:p.getElevation(),roll:p.getRoll(),relAzimuth:p.relAzimuth,relElevation:p.relElevation,relRoll:p.relRoll,zoom:p.getZoom()};return this.landmarks.push(f),f}},{key:"gotoLandmark",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=nB(e,"String")?this.landmarks.find(function(t){return t.name===e}):e;if(r){var a,i=nB(n,"Number")?{duration:n}:n,o=i.easing,s=void 0===o?"linear":o,l=i.duration,c=void 0===l?100:l,u=i.easingFunction,d=i.onfinish,p=void 0===d?void 0:d,f=i.onframe,h=void 0===f?void 0:f;this.cancelLandmarkAnimation();var g=r.position,m=r.focalPoint,b=r.zoom,y=r.roll,E=(void 0===u?void 0:u)||nN.GZ.EasingFunction(s),v=function(){t.setFocalPoint(m),t.setPosition(g),t.setRoll(y),t.setZoom(b),t.computeMatrix(),t.triggerUpdate(),null==p||p()};if(0===c)return v();var T=function(e){void 0===a&&(a=e);var n=e-a;if(n>=c){v();return}var r=E(n/c),i=nG.Ue(),o=nG.Ue(),s=1,l=0;if(nG.t7(i,t.focalPoint,m,r),nG.t7(o,t.position,g,r),l=t.roll*(1-r)+y*r,s=t.zoom*(1-r)+b*r,t.setFocalPoint(i),t.setPosition(o),t.setRoll(l),t.setZoom(s),nG.TK(i,m)+nG.TK(o,g)<=.01&&void 0===b&&void 0===y)return v();t.computeMatrix(),t.triggerUpdate(),nn?n:e},nW={}.toString,nV=function(e){return null==e},nY=function(e){function t(e,n,r,a){var i;return(0,nL.Z)(this,t),(i=(0,nP.Z)(this,t,[e])).currentTime=r,i.timelineTime=a,i.target=n,i.type="finish",i.bubbles=!1,i.currentTarget=n,i.defaultPrevented=!1,i.eventPhase=i.AT_TARGET,i.timeStamp=Date.now(),i.currentTime=r,i.timelineTime=a,i}return(0,nM.Z)(t,e),(0,nD.Z)(t)}(nN.xA),nq=0,nK=(0,nD.Z)(function e(t,n){var r;(0,nL.Z)(this,e),this.currentTimePending=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._playbackRate=1,this._inTimeline=!0,this.effect=t,t.animation=this,this.timeline=n,this.id="".concat(nq++),this._inEffect=!!this.effect.update(0),this._totalDuration=Number(null===(r=this.effect)||void 0===r?void 0:r.getComputedTiming().endTime),this._holdTime=0,this._paused=!1,this.oldPlayState="idle",this.updatePromises()},[{key:"pending",get:function(){return null===this._startTime&&!this._paused&&0!==this.playbackRate||this.currentTimePending}},{key:"playState",get:function(){return this._idle?"idle":this._isFinished?"finished":this._paused?"paused":"running"}},{key:"ready",get:function(){var e=this;return this.readyPromise||(-1===this.timeline.animationsWithPromises.indexOf(this)&&this.timeline.animationsWithPromises.push(this),this.readyPromise=new Promise(function(t,n){e.resolveReadyPromise=function(){t(e)},e.rejectReadyPromise=function(){n(Error())}}),this.pending||this.resolveReadyPromise()),this.readyPromise}},{key:"finished",get:function(){var e=this;return this.finishedPromise||(-1===this.timeline.animationsWithPromises.indexOf(this)&&this.timeline.animationsWithPromises.push(this),this.finishedPromise=new Promise(function(t,n){e.resolveFinishedPromise=function(){t(e)},e.rejectFinishedPromise=function(){n(Error())}}),"finished"===this.playState&&this.resolveFinishedPromise()),this.finishedPromise}},{key:"currentTime",get:function(){return this.updatePromises(),this._idle||this.currentTimePending?null:this._currentTime},set:function(e){if(!isNaN(e=Number(e))){if(this.timeline.restart(),!this._paused&&null!==this._startTime){var t;this._startTime=Number(null===(t=this.timeline)||void 0===t?void 0:t.currentTime)-e/this.playbackRate}this.currentTimePending=!1,this._currentTime!==e&&(this._idle&&(this._idle=!1,this._paused=!0),this.tickCurrentTime(e,!0),this.timeline.applyDirtiedAnimation(this))}}},{key:"startTime",get:function(){return this._startTime},set:function(e){null!==e&&(this.updatePromises(),!isNaN(e=Number(e))&&(this._paused||this._idle||(this._startTime=e,this.tickCurrentTime((Number(this.timeline.currentTime)-this._startTime)*this.playbackRate),this.timeline.applyDirtiedAnimation(this),this.updatePromises())))}},{key:"playbackRate",get:function(){return this._playbackRate},set:function(e){if(e!==this._playbackRate){this.updatePromises();var t=this.currentTime;this._playbackRate=e,this.startTime=null,"paused"!==this.playState&&"idle"!==this.playState&&(this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this)),null!==t&&(this.currentTime=t),this.updatePromises()}}},{key:"_isFinished",get:function(){return!this._idle&&(this._playbackRate>0&&Number(this._currentTime)>=this._totalDuration||this._playbackRate<0&&0>=Number(this._currentTime))}},{key:"totalDuration",get:function(){return this._totalDuration}},{key:"_needsTick",get:function(){return this.pending||"running"===this.playState||!this._finishedFlag}},{key:"updatePromises",value:function(){var e=this.oldPlayState,t=this.pending?"pending":this.playState;return this.readyPromise&&t!==e&&("idle"===t?(this.rejectReadyPromise(),this.readyPromise=void 0):"pending"===e?this.resolveReadyPromise():"pending"===t&&(this.readyPromise=void 0)),this.finishedPromise&&t!==e&&("idle"===t?(this.rejectFinishedPromise(),this.finishedPromise=void 0):"finished"===t?this.resolveFinishedPromise():"finished"===e&&(this.finishedPromise=void 0)),this.oldPlayState=t,this.readyPromise||this.finishedPromise}},{key:"play",value:function(){this.updatePromises(),this._paused=!1,(this._isFinished||this._idle)&&(this.rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this),-1===this.timeline.animations.indexOf(this)&&this.timeline.animations.push(this),this.updatePromises()}},{key:"pause",value:function(){this.updatePromises(),this.currentTime&&(this._holdTime=this.currentTime),this._isFinished||this._paused||this._idle?this._idle&&(this.rewind(),this._idle=!1):this.currentTimePending=!0,this._startTime=null,this._paused=!0,this.updatePromises()}},{key:"finish",value:function(){this.updatePromises(),this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this.currentTimePending=!1,this.timeline.applyDirtiedAnimation(this),this.updatePromises())}},{key:"cancel",value:function(){var e=this;if(this.updatePromises(),this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this.effect.update(null),this.timeline.applyDirtiedAnimation(this),this.updatePromises(),this.oncancel)){var t=new nY(null,this,this.currentTime,null);setTimeout(function(){e.oncancel(t)})}}},{key:"reverse",value:function(){this.updatePromises();var e=this.currentTime;this.playbackRate*=-1,this.play(),null!==e&&(this.currentTime=e),this.updatePromises()}},{key:"updatePlaybackRate",value:function(e){this.playbackRate=e}},{key:"targetAnimations",value:function(){var e;return(null===(e=this.effect)||void 0===e?void 0:e.target).getAnimations()}},{key:"markTarget",value:function(){var e=this.targetAnimations();-1===e.indexOf(this)&&e.push(this)}},{key:"unmarkTarget",value:function(){var e=this.targetAnimations(),t=e.indexOf(this);-1!==t&&e.splice(t,1)}},{key:"tick",value:function(e,t){this._idle||this._paused||(null===this._startTime?t&&(this.startTime=e-this._currentTime/this.playbackRate):this._isFinished||this.tickCurrentTime((e-this._startTime)*this.playbackRate)),t&&(this.currentTimePending=!1,this.fireEvents(e))}},{key:"rewind",value:function(){if(this.playbackRate>=0)this.currentTime=0;else if(this._totalDuration<1/0)this.currentTime=this._totalDuration;else throw Error("Unable to rewind negative playback rate animation with infinite duration")}},{key:"persist",value:function(){throw Error(nN.jf)}},{key:"addEventListener",value:function(e,t,n){throw Error(nN.jf)}},{key:"removeEventListener",value:function(e,t,n){throw Error(nN.jf)}},{key:"dispatchEvent",value:function(e){throw Error(nN.jf)}},{key:"commitStyles",value:function(){throw Error(nN.jf)}},{key:"ensureAlive",value:function(){var e,t;this.playbackRate<0&&0===this.currentTime?this._inEffect=!!(null!==(e=this.effect)&&void 0!==e&&e.update(-1)):this._inEffect=!!(null!==(t=this.effect)&&void 0!==t&&t.update(this.currentTime)),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,this.timeline.animations.push(this))}},{key:"tickCurrentTime",value:function(e,t){e!==this._currentTime&&(this._currentTime=e,this._isFinished&&!t&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this.ensureAlive())}},{key:"fireEvents",value:function(e){var t=this;if(this._isFinished){if(!this._finishedFlag){if(this.onfinish){var n=new nY(null,this,this.currentTime,e);setTimeout(function(){t.onfinish&&t.onfinish(n)})}this._finishedFlag=!0}}else{if(this.onframe&&"running"===this.playState){var r=new nY(null,this,this.currentTime,e);this.onframe(r)}this._finishedFlag=!1}}}]),nX="function"==typeof Float32Array,nQ=function(e,t){return 1-3*t+3*e},nJ=function(e,t){return 3*t-6*e},n0=function(e){return 3*e},n1=function(e,t,n){return((nQ(t,n)*e+nJ(t,n))*e+n0(t))*e},n2=function(e,t,n){return 3*nQ(t,n)*e*e+2*nJ(t,n)*e+n0(t)},n3=function(e,t,n,r,a){var i,o,s=0;do(i=n1(o=t+(n-t)/2,r,a)-e)>0?n=o:t=o;while(Math.abs(i)>1e-7&&++s<10);return o},n5=function(e,t,n,r){for(var a=0;a<4;++a){var i=n2(t,n,r);if(0===i)break;var o=n1(t,n,r)-e;t-=o/i}return t},n4=function(e,t,n,r){if(!(e>=0&&e<=1&&n>=0&&n<=1))throw Error("bezier x values must be in [0, 1] range");if(e===t&&n===r)return function(e){return e};for(var a=nX?new Float32Array(11):Array(11),i=0;i<11;++i)a[i]=n1(.1*i,e,n);var o=function(t){for(var r=0,i=1;10!==i&&a[i]<=t;++i)r+=.1;var o=r+(t-a[--i])/(a[i+1]-a[i])*.1,s=n2(o,e,n);return s>=.001?n5(t,o,e,n):0===s?o:n3(t,r,r+.1,e,n)};return function(e){return 0===e||1===e?e:n1(o(e),t,r)}},n6=function(e){return Math.pow(e,2)},n9=function(e){return Math.pow(e,3)},n8=function(e){return Math.pow(e,4)},n7=function(e){return Math.pow(e,5)},re=function(e){return Math.pow(e,6)},rt=function(e){return 1-Math.cos(e*Math.PI/2)},rn=function(e){return 1-Math.sqrt(1-e*e)},rr=function(e){return e*e*(3*e-2)},ra=function(e){for(var t,n=4;e<((t=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*t-2)/22-e,2)},ri=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,2),r=n[0],a=n[1],i=nZ(Number(void 0===r?1:r),1,10),o=nZ(Number(void 0===a?.5:a),.1,2);return 0===e||1===e?e:-i*Math.pow(2,10*(e-1))*Math.sin((e-1-o/(2*Math.PI)*Math.asin(1/i))*(2*Math.PI)/o)},ro=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,r=(0,nz.Z)(t,4),a=r[0],i=void 0===a?1:a,o=r[1],s=void 0===o?100:o,l=r[2],c=void 0===l?10:l,u=r[3],d=void 0===u?0:u;i=nZ(i,.1,1e3),s=nZ(s,.1,1e3),c=nZ(c,.1,1e3),d=nZ(d,.1,1e3);var p=Math.sqrt(s/i),f=c/(2*Math.sqrt(s*i)),h=f<1?p*Math.sqrt(1-f*f):0,g=f<1?(f*p+-d)/h:-d+p,m=n?n*e/1e3:e;return(m=f<1?Math.exp(-m*f*p)*(1*Math.cos(h*m)+g*Math.sin(h*m)):(1+g*m)*Math.exp(-m*p),0===e||1===e)?e:1-m},rs=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,2),r=n[0],a=void 0===r?10:r;return("start"===n[1]?Math.ceil:Math.floor)(nZ(e,0,1)*a)/a},rl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,4);return n4(n[0],n[1],n[2],n[3])(e)},rc=n4(.42,0,1,1),ru=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return 1-e(1-t,n,r)}},rd=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return t<.5?e(2*t,n,r)/2:1-e(-2*t+2,n,r)/2}},rp=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return t<.5?(1-e(1-2*t,n,r))/2:(e(2*t-1,n,r)+1)/2}},rf={steps:rs,"step-start":function(e){return rs(e,[1,"start"])},"step-end":function(e){return rs(e,[1,"end"])},linear:function(e){return e},"cubic-bezier":rl,ease:function(e){return rl(e,[.25,.1,.25,1])},in:rc,out:ru(rc),"in-out":rd(rc),"out-in":rp(rc),"in-quad":n6,"out-quad":ru(n6),"in-out-quad":rd(n6),"out-in-quad":rp(n6),"in-cubic":n9,"out-cubic":ru(n9),"in-out-cubic":rd(n9),"out-in-cubic":rp(n9),"in-quart":n8,"out-quart":ru(n8),"in-out-quart":rd(n8),"out-in-quart":rp(n8),"in-quint":n7,"out-quint":ru(n7),"in-out-quint":rd(n7),"out-in-quint":rp(n7),"in-expo":re,"out-expo":ru(re),"in-out-expo":rd(re),"out-in-expo":rp(re),"in-sine":rt,"out-sine":ru(rt),"in-out-sine":rd(rt),"out-in-sine":rp(rt),"in-circ":rn,"out-circ":ru(rn),"in-out-circ":rd(rn),"out-in-circ":rp(rn),"in-back":rr,"out-back":ru(rr),"in-out-back":rd(rr),"out-in-back":rp(rr),"in-bounce":ra,"out-bounce":ru(ra),"in-out-bounce":rd(ra),"out-in-bounce":rp(ra),"in-elastic":ri,"out-elastic":ru(ri),"in-out-elastic":rd(ri),"out-in-elastic":rp(ri),spring:ro,"spring-in":ro,"spring-out":ru(ro),"spring-in-out":rd(ro),"spring-out-in":rp(ro)},rh=function(e){var t;return("-"===(t=(t=e).replace(/([A-Z])/g,function(e){return"-".concat(e.toLowerCase())})).charAt(0)?t.substring(1):t).replace(/^ease-/,"").replace(/(\(|\s).+/,"").toLowerCase().trim()},rg=function(e){return e};function rm(e,t){return function(n){if(n>=1)return 1;var r=1/e;return(n+=t*r)-n%r}}var rb="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",ry=new RegExp("cubic-bezier\\(".concat(rb,",").concat(rb,",").concat(rb,",").concat(rb,"\\)")),rE=/steps\(\s*(\d+)\s*\)/,rv=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/;function rT(e){var t=ry.exec(e);if(t)return n4.apply(void 0,(0,n$.Z)(t.slice(1).map(Number)));var n=rE.exec(e);if(n)return rm(Number(n[1]),0);var r=rv.exec(e);return r?rm(Number(r[1]),{start:1,middle:.5,end:0}[r[2]]):rf[rh(e)]||rf.linear}function rS(e){return"offset"!==e&&"easing"!==e&&"composite"!==e&&"computedOffset"!==e}var rA=function(e,t,n){return function(r){var a,i=function e(t,n,r){if("number"==typeof t&&"number"==typeof n)return t*(1-r)+n*r;if("boolean"==typeof t&&"boolean"==typeof n||"string"==typeof t&&"string"==typeof n)return r<.5?t:n;if(Array.isArray(t)&&Array.isArray(n)){for(var a=t.length,i=n.length,o=Math.max(a,i),s=[],l=0;l1)throw Error("Keyframe offsets must be between 0 and 1.");n.computedOffset=a}}else if("composite"===r&&-1===["replace","add","accumulate","auto"].indexOf(a))throw Error("".concat(a," compositing is not supported"));n[r]=a}return void 0===n.offset&&(n.offset=null),void 0===n.easing&&(n.easing=(null==t?void 0:t.easing)||"linear"),void 0===n.composite&&(n.composite="auto"),n}),r=!0,a=-1/0,i=0;i=0&&1>=Number(e.offset)}),r||function(){var e,t,r=n.length;n[r-1].computedOffset=Number(null!==(e=n[r-1].offset)&&void 0!==e?e:1),r>1&&(n[0].computedOffset=Number(null!==(t=n[0].offset)&&void 0!==t?t:0));for(var a=0,i=Number(n[0].computedOffset),o=1;o=e.applyFrom&&t=Math.min(n.delay+e+n.endDelay,r)?2:3}(e,t,n),u=function(e,t,n,r,a){switch(r){case 1:if("backwards"===t||"both"===t)return 0;return null;case 3:return n-a;case 2:if("forwards"===t||"both"===t)return e;return null;case 0:return null}}(e,n.fill,t,c,n.delay);if(null===u)return null;var d="auto"===n.duration?0:n.duration,p=(r=n.iterations,a=n.iterationStart,0===d?1!==c&&(a+=r):a+=u/d,a),f=(i=n.iterationStart,o=n.iterations,0==(s=p===1/0?i%1:p%1)&&2===c&&0!==o&&(0!==u||0===d)&&(s=1),s),h=(l=n.iterations,2===c&&l===1/0?1/0:1===f?Math.floor(p)-1:Math.floor(p)),g=function(e,t,n){var r=e;if("normal"!==e&&"reverse"!==e){var a=t;"alternate-reverse"===e&&(a+=1),r="normal",a!==1/0&&a%2!=0&&(r="reverse")}return"normal"===r?n:1-n}(n.direction,h,f);return n.currentIteration=h,n.progress=g,n.easingFunction(g)}(this.timing.activeDuration,e,this.timing),null!==this.timeFraction)}},{key:"getKeyframes",value:function(){return this.normalizedKeyframes}},{key:"setKeyframes",value:function(e){this.normalizedKeyframes=r_(e)}},{key:"getComputedTiming",value:function(){return this.computedTiming}},{key:"getTiming",value:function(){return this.timing}},{key:"updateTiming",value:function(e){var t=this;Object.keys(e||{}).forEach(function(n){t.timing[n]=e[n]})}}]);function rw(e,t){return Number(e.id)-Number(t.id)}var rI=(0,nD.Z)(function e(t){var n=this;(0,nL.Z)(this,e),this.animations=[],this.ticking=!1,this.timelineTicking=!1,this.hasRestartedThisFrame=!1,this.animationsWithPromises=[],this.inTick=!1,this.pendingEffects=[],this.currentTime=null,this.rafId=0,this.rafCallbacks=[],this.webAnimationsNextTick=function(e){n.currentTime=e,n.discardAnimations(),0===n.animations.length?n.timelineTicking=!1:n.requestAnimationFrame(n.webAnimationsNextTick)},this.processRafCallbacks=function(e){var t=n.rafCallbacks;n.rafCallbacks=[],et.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let rN=(e,t,n)=>[["M",e-n,t],["A",n,n,0,1,0,e+n,t],["A",n,n,0,1,0,e-n,t],["Z"]];rN.style=["fill"];let rL=rN.bind(void 0);rL.style=["stroke","lineWidth"];let rD=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t-n],["L",e+n,t+n],["L",e-n,t+n],["Z"]];rD.style=["fill"];let rP=rD.bind(void 0);rP.style=["fill"];let rM=rD.bind(void 0);rM.style=["stroke","lineWidth"];let rF=(e,t,n)=>{let r=.618*n;return[["M",e-r,t],["L",e,t-n],["L",e+r,t],["L",e,t+n],["Z"]]};rF.style=["fill"];let rB=rF.bind(void 0);rB.style=["stroke","lineWidth"];let rj=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t+r],["L",e,t-r],["L",e+n,t+r],["Z"]]};rj.style=["fill"];let rU=rj.bind(void 0);rU.style=["stroke","lineWidth"];let rG=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t-r],["L",e+n,t-r],["L",e,t+r],["Z"]]};rG.style=["fill"];let rH=rG.bind(void 0);rH.style=["stroke","lineWidth"];let r$=(e,t,n)=>{let r=n/2*Math.sqrt(3);return[["M",e,t-n],["L",e+r,t-n/2],["L",e+r,t+n/2],["L",e,t+n],["L",e-r,t+n/2],["L",e-r,t-n/2],["Z"]]};r$.style=["fill"];let rz=r$.bind(void 0);rz.style=["stroke","lineWidth"];let rZ=(e,t,n)=>{let r=n-1.5;return[["M",e-n,t-r],["L",e+n,t+r],["L",e+n,t-r],["L",e-n,t+r],["Z"]]};rZ.style=["fill"];let rW=rZ.bind(void 0);rW.style=["stroke","lineWidth"];let rV=(e,t,n)=>[["M",e,t+n],["L",e,t-n]];rV.style=["stroke","lineWidth"];let rY=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t+n],["M",e+n,t-n],["L",e-n,t+n]];rY.style=["stroke","lineWidth"];let rq=(e,t,n)=>[["M",e-n/2,t-n],["L",e+n/2,t-n],["M",e,t-n],["L",e,t+n],["M",e-n/2,t+n],["L",e+n/2,t+n]];rq.style=["stroke","lineWidth"];let rK=(e,t,n)=>[["M",e-n,t],["L",e+n,t],["M",e,t-n],["L",e,t+n]];rK.style=["stroke","lineWidth"];let rX=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rX.style=["stroke","lineWidth"];let rQ=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rQ.style=["stroke","lineWidth"];let rJ=rQ.bind(void 0);rJ.style=["stroke","lineWidth"];let r0=(e,t,n)=>[["M",e-n,t],["A",n/2,n/2,0,1,1,e,t],["A",n/2,n/2,0,1,0,e+n,t]];r0.style=["stroke","lineWidth"];let r1=(e,t,n)=>[["M",e-n-1,t-2.5],["L",e,t-2.5],["L",e,t+2.5],["L",e+n+1,t+2.5]];r1.style=["stroke","lineWidth"];let r2=(e,t,n)=>[["M",e-n-1,t+2.5],["L",e,t+2.5],["L",e,t-2.5],["L",e+n+1,t-2.5]];r2.style=["stroke","lineWidth"];let r3=(e,t,n)=>[["M",e-(n+1),t+2.5],["L",e-n/2,t+2.5],["L",e-n/2,t-2.5],["L",e+n/2,t-2.5],["L",e+n/2,t+2.5],["L",e+n+1,t+2.5]];r3.style=["stroke","lineWidth"];let r5=(e,t,n)=>[["M",e-5,t+2.5],["L",e-5,t],["L",e,t],["L",e,t-3],["L",e,t+3],["L",e+6.5,t+3]];r5.style=["stroke","lineWidth"];let r4=new Map([["bowtie",rZ],["cross",rY],["dash",rJ],["diamond",rF],["dot",rQ],["hexagon",r$],["hollowBowtie",rW],["hollowDiamond",rB],["hollowHexagon",rz],["hollowPoint",rL],["hollowSquare",rM],["hollowTriangle",rU],["hollowTriangleDown",rH],["hv",r1],["hvh",r3],["hyphen",rX],["line",rV],["plus",rK],["point",rN],["rect",rP],["smooth",r0],["square",rD],["tick",rq],["triangleDown",rG],["triangle",rj],["vh",r2],["vhv",r5]]),r6={};function r9(e,t){if(e.startsWith("symbol.")){var n;n=e.split(".").pop(),r4.set(n,t)}else Object.assign(r6,{[e]:t})}var r8=n(88998);/*! * @antv/g-plugin-canvas-path-generator * @description A G plugin of path generator with Canvas2D API * @version 2.1.16 @@ -42,11 +42,11 @@ L ${e+n} ${t+n} L ${e-n} ${t+n} Z - `}};var SX=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let SQ=(e="circle")=>SK[e]||SK.circle,SJ=(e,t)=>{if(!t)return;let{coordinate:n}=t,{liquidOptions:r,styleOptions:a}=e,{liquidShape:i,percent:o}=r,{background:s,outline:l={},wave:c={}}=a,u=SX(a,["background","outline","wave"]),{border:d=2,distance:p=0}=l,f=SX(l,["border","distance"]),{length:h=192,count:g=3}=c;return(e,r,a)=>{let{document:l}=t.canvas,{color:c,fillOpacity:m}=a,b=Object.assign(Object.assign({fill:c},a),u),y=l.createElement("g",{}),[E,v]=n.getCenter(),T=n.getSize(),S=Math.min(...T)/2,A=ox(i)?i:SQ(i),O=A(E,v,S,...T);if(Object.keys(s).length){let e=l.createElement("path",{style:Object.assign({d:O,fill:"#fff"},s)});y.appendChild(e)}if(o>0){let e=l.createElement("path",{style:{d:O}});y.appendChild(e),y.style.clipPath=e,function(e,t,n,r,a,i,o,s,l,c,u){let{fill:d,fillOpacity:p,opacity:f}=a;for(let a=0;a0;)c-=2*Math.PI;c=c/Math.PI/2*n;let u=i-e+c-2*e;l.push(["M",u,t]);let d=0;for(let e=0;et.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let S1={axis:{x:!1,y:!1},legend:!1,tooltip:!1,encode:{x:"type",y:"percent"},scale:{y:{domain:[0,1]}},style:{shape:SJ},animate:{enter:{type:"fadeIn"}}},S2={type:"text",style:{x:"50%",y:"50%",textAlign:"center",textBaseline:"middle",fontSize:20,fontWeight:800,fill:"#888"},animate:{enter:{type:"fadeIn"}}},S3=e=>{let{data:t={},style:n={},animate:r}=e,a=S0(e,["data","style","animate"]),i=Math.max(0,oQ(t)?t:null==t?void 0:t.percent),o=[{percent:i,type:"liquid"}],s=Object.assign(Object.assign({},iN(n,"text")),iN(n,"content")),l=iN(n,"outline"),c=iN(n,"wave"),u=iN(n,"background");return[iT({},S1,Object.assign({type:"interval",data:o,style:{liquidOptions:{percent:i,liquidShape:null==n?void 0:n.shape},styleOptions:Object.assign(Object.assign({},n),{outline:l,wave:c,background:u})},animate:r},a)),iT({},S2,{style:Object.assign({text:`${i3(100*i)} %`},s),animate:r})]};S3.props={};var S5=n(69916);function S4(e,t){let n=function(e){let t=[];for(let n=0;nt[n].radius+1e-10)return!1;return!0}(t,e)}),a=0,i=0,o,s=[];if(r.length>1){let t=function(e){let t={x:0,y:0};for(let n=0;n-1){let a=e[t.parentIndex[r]],i=Math.atan2(t.x-a.x,t.y-a.y),o=Math.atan2(n.x-a.x,n.y-a.y),s=o-i;s<0&&(s+=2*Math.PI);let u=o-s/2,d=S9(l,{x:a.x+a.radius*Math.sin(u),y:a.y+a.radius*Math.cos(u)});d>2*a.radius&&(d=2*a.radius),(null===c||c.width>d)&&(c={circle:a,width:d,p1:t,p2:n})}null!==c&&(s.push(c),a+=S6(c.circle.radius,c.width),n=t)}}else{let t=e[0];for(o=1;oMath.abs(t.radius-e[o].radius)){n=!0;break}n?a=i=0:(a=t.radius*t.radius*Math.PI,s.push({circle:t,p1:{x:t.x,y:t.y+t.radius},p2:{x:t.x-1e-10,y:t.y+t.radius},width:2*t.radius}))}return i/=2,t&&(t.area=a+i,t.arcArea=a,t.polygonArea=i,t.arcs=s,t.innerPoints=r,t.intersectionPoints=n),a+i}function S6(e,t){return e*e*Math.acos(1-t/e)-(e-t)*Math.sqrt(t*(2*e-t))}function S9(e,t){return Math.sqrt((e.x-t.x)*(e.x-t.x)+(e.y-t.y)*(e.y-t.y))}function S8(e,t,n){if(n>=e+t)return 0;if(n<=Math.abs(e-t))return Math.PI*Math.min(e,t)*Math.min(e,t);let r=e-(n*n-t*t+e*e)/(2*n),a=t-(n*n-e*e+t*t)/(2*n);return S6(e,r)+S6(t,a)}function S7(e,t){let n=S9(e,t),r=e.radius,a=t.radius;if(n>=r+a||n<=Math.abs(r-a))return[];let i=(r*r-a*a+n*n)/(2*n),o=Math.sqrt(r*r-i*i),s=e.x+i*(t.x-e.x)/n,l=e.y+i*(t.y-e.y)/n,c=-(t.y-e.y)*(o/n),u=-(t.x-e.x)*(o/n);return[{x:s+c,y:l-u},{x:s-c,y:l+u}]}function Ae(e,t,n){return Math.min(e,t)*Math.min(e,t)*Math.PI<=n+1e-10?Math.abs(e-t):(0,S5.bisect)(function(r){return S8(e,t,r)-n},0,e+t)}function At(e,t){let n=function(e,t){let n;let r=t&&t.lossFunction?t.lossFunction:An,a={},i={};for(let t=0;t=Math.min(a[o].size,a[s].size)&&(r=0),i[o].push({set:s,size:n.size,weight:r}),i[s].push({set:o,size:n.size,weight:r})}let o=[];for(n in i)if(i.hasOwnProperty(n)){let e=0;for(let t=0;t=8){let a=function(e,t){let n,r,a;t=t||{};let i=t.restarts||10,o=[],s={};for(n=0;n=Math.min(t[i].size,t[o].size)?u=1:e.size<=1e-10&&(u=-1),a[i][o]=a[o][i]=u}),{distances:r,constraints:a}}(e,o,s),c=l.distances,u=l.constraints,d=(0,S5.norm2)(c.map(S5.norm2))/c.length;c=c.map(function(e){return e.map(function(e){return e/d})});let p=function(e,t){return function(e,t,n,r){let a=0,i;for(i=0;i0&&h<=d||p<0&&h>=d||(a+=2*g*g,t[2*i]+=4*g*(o-c),t[2*i+1]+=4*g*(s-u),t[2*l]+=4*g*(c-o),t[2*l+1]+=4*g*(u-s))}}return a}(e,t,c,u)};for(n=0;n{let{sets:t="sets",size:n="size",as:r=["key","path"],padding:a=0}=e,[i,o]=r;return e=>{let r;let s=e.map(e=>Object.assign(Object.assign({},e),{sets:e[t],size:e[n],[i]:e.sets.join("&")}));s.sort((e,t)=>e.sets.length-t.sets.length);let l=function(e,t){let n;(t=t||{}).maxIterations=t.maxIterations||500;let r=t.initialLayout||At,a=t.lossFunction||An;e=function(e){let t,n,r,a;e=e.slice();let i=[],o={};for(t=0;te>t?1:-1),t=0;t{let n=e[t];return Object.assign(Object.assign({},e),{[o]:({width:e,height:t})=>{r=r||function(e,t,n,r){let a=[],i=[];for(let t in e)e.hasOwnProperty(t)&&(i.push(t),a.push(e[t]));t-=2*r,n-=2*r;let o=function(e){let t=function(t){let n=Math.max.apply(null,e.map(function(e){return e[t]+e.radius})),r=Math.min.apply(null,e.map(function(e){return e[t]-e.radius}));return{max:n,min:r}};return{xRange:t("x"),yRange:t("y")}}(a),s=o.xRange,l=o.yRange;if(s.max==s.min||l.max==l.min)return console.log("not scaling solution: zero size detected"),e;let c=t/(s.max-s.min),u=n/(l.max-l.min),d=Math.min(u,c),p=(t-(s.max-s.min)*d)/2,f=(n-(l.max-l.min)*d)/2,h={};for(let e=0;er[e]),o=function(e){let t={};S4(e,t);let n=t.arcs;if(0===n.length)return"M 0 0";if(1==n.length){let e=n[0].circle;return function(e,t,n){let r=[],a=e-n;return r.push("M",a,t),r.push("A",n,n,0,1,0,a+2*n,t),r.push("A",n,n,0,1,0,a,t),r.join(" ")}(e.x,e.y,e.radius)}{let e=["\nM",n[0].p2.x,n[0].p2.y];for(let t=0;ta;e.push("\nA",a,a,0,i?1:0,1,r.p1.x,r.p1.y)}return e.join(" ")}}(i);return/[zZ]$/.test(o)||(o+=" Z"),o}})})}};Ar.props={};var Aa=function(){return(Aa=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{this.forceFit()},300),this._renderer=r||new ip,this._plugins=a||[],this._container=function(e){if(void 0===e){let e=document.createElement("div");return e[d1]=!0,e}if("string"==typeof e){let t=document.getElementById(e);return t}return e}(t),this._emitter=new nR.Z,this._context={library:Object.assign(Object.assign({},i),r6),emitter:this._emitter,canvas:n,createCanvas:o},this._create()}render(){if(this._rendering)return this._addToTrailing();this._context.canvas||this._createCanvas(),this._bindAutoFit(),this._rendering=!0;let e=new Promise((e,t)=>(function(e,t={},n=()=>{},r=e=>{throw e}){var a;let{width:i=640,height:o=480,depth:s=0}=e,l=function e(t){let n=(function(...e){return t=>e.reduce((e,t)=>t(e),t)})(dY)(t);return n.children&&Array.isArray(n.children)&&(n.children=n.children.map(t=>e(t))),n}(e),c=function(e){let t=iT({},e),n=new Map([[t,null]]),r=new Map([[null,-1]]),a=[t];for(;a.length;){let e=a.shift();if(void 0===e.key){let t=n.get(e),a=r.get(e),i=null===t?"0":`${t.key}-${a}`;e.key=i}let{children:t=[]}=e;if(Array.isArray(t))for(let i=0;i(function e(t,n,r){var a;return dC(this,void 0,void 0,function*(){let{library:i}=r,[o]=uO("composition",i),[s]=uO("interaction",i),l=new Set(Object.keys(i).map(e=>{var t;return null===(t=/mark\.(.*)/.exec(e))||void 0===t?void 0:t[1]}).filter(iR)),c=new Set(Object.keys(i).map(e=>{var t;return null===(t=/component\.(.*)/.exec(e))||void 0===t?void 0:t[1]}).filter(iR)),u=e=>{let{type:t}=e;if("function"==typeof t){let{props:e={}}=t,{composite:n=!0}=e;if(n)return"mark"}return"string"!=typeof t?t:l.has(t)||c.has(t)?"mark":t},d=e=>"mark"===u(e),p=e=>"standardView"===u(e),f=e=>{let{type:t}=e;return"string"==typeof t&&!!c.has(t)},h=e=>{if(p(e))return[e];let t=u(e),n=o({type:t,static:f(e)});return n(e)},g=[],m=new Map,b=new Map,y=[t],E=[];for(;y.length;){let e=y.shift();if(p(e)){let t=b.get(e),[n,a]=t?dD(t,e,i):yield dR(e,r);m.set(n,e),g.push(n);let o=a.flatMap(h).map(e=>ux(e,i));if(y.push(...o),o.every(p)){let e=yield Promise.all(o.map(e=>dN(e,r)));!function(e){let t=e.flatMap(e=>Array.from(e.values())).flatMap(e=>e.channels.map(e=>e.scale));uF(t,"x"),uF(t,"y")}(e);for(let t=0;te.key).join(e=>e.append("g").attr("className",cG).attr("id",e=>e.key).call(dI).each(function(e,t,n){dP(e,iB(n),S,r),v.set(e,n)}),e=>e.call(dI).each(function(e,t,n){dP(e,iB(n),S,r),T.set(e,n)}),e=>e.each(function(e,t,n){let r=n.nameInteraction.values();for(let e of r)e.destroy()}).remove());let A=(t,n,a)=>Array.from(t.entries()).map(([i,o])=>{let s=a||new Map,l=m.get(i),c=function(t,n,r){let{library:a}=r,i=function(e){let[,t]=uO("interaction",e);return e=>{let[n,r]=e;try{return[n,t(n)]}catch(e){return[n,r.type]}}}(a),o=dG(n),s=o.map(i).filter(e=>e[1]&&e[1].props&&e[1].props.reapplyWhenUpdate).map(e=>e[0]);return(n,a,i)=>dC(this,void 0,void 0,function*(){let[o,l]=yield dR(n,r);for(let e of(dP(o,t,[],r),s.filter(e=>e!==a)))!function(e,t,n,r,a){var i;let{library:o}=a,[s]=uO("interaction",o),l=t.node(),c=l.nameInteraction,u=dG(n).find(([t])=>t===e),d=c.get(e);if(!d||(null===(i=d.destroy)||void 0===i||i.call(d),!u[1]))return;let p=dL(r,e,u[1],s),f={options:n,view:r,container:t.node(),update:e=>Promise.resolve(e)},h=p(f,[],a.emitter);c.set(e,{destroy:h})}(e,t,n,o,r);for(let n of l)e(n,t,r);return i(),{options:n,view:o}})}(iB(o),l,r);return{view:i,container:o,options:l,setState:(e,t=e=>e)=>s.set(e,t),update:(e,r)=>dC(this,void 0,void 0,function*(){let a=ix(Array.from(s.values())),i=a(l);return yield c(i,e,()=>{ib(r)&&n(t,r,s)})})}}),O=(e=T,t,n)=>{var a;let i=A(e,O,n);for(let e of i){let{options:n,container:o}=e,l=o.nameInteraction,c=dG(n);for(let n of(t&&(c=c.filter(e=>t.includes(e[0]))),c)){let[t,o]=n,c=l.get(t);if(c&&(null===(a=c.destroy)||void 0===a||a.call(c)),o){let n=dL(e.view,t,o,s),a=n(e,i,r.emitter);l.set(t,{destroy:a})}}}},_=A(v,O);for(let e of _){let{options:t}=e,n=new Map;for(let a of(e.container.nameInteraction=n,dG(t))){let[t,i]=a;if(i){let a=dL(e.view,t,i,s),o=a(e,_,r.emitter);n.set(t,{destroy:o})}}}O();let{width:k,height:x}=t,C=[];for(let t of E){let a=new Promise(a=>dC(this,void 0,void 0,function*(){for(let a of t){let t=Object.assign({width:k,height:x},a);yield e(t,n,r)}a()}));C.push(a)}r.views=g,null===(a=r.animations)||void 0===a||a.forEach(e=>null==e?void 0:e.cancel()),r.animations=S,r.emitter.emit(iU.AFTER_PAINT);let w=S.filter(iR).map(dj).map(e=>e.finished);return Promise.all([...w,...C])})})(Object.assign(Object.assign({},c),{width:i,height:o,depth:s}),g,t)).then(()=>{if(s){let[e,t]=u.document.documentElement.getPosition();u.document.documentElement.setPosition(e,t,-s/2)}u.requestAnimationFrame(()=>{u.requestAnimationFrame(()=>{d.emit(iU.AFTER_RENDER),null==n||n()})})}).catch(e=>{null==r||r(e)}),"string"==typeof(a=u.getConfig().container)?document.getElementById(a):a})(this._computedOptions(),this._context,this._createResolve(e),this._createReject(t))),[t,n,r]=function(){let e,t;let n=new Promise((n,r)=>{t=n,e=r});return[n,t,e]}();return e.then(n).catch(r).then(()=>this._renderTrailing()),t}options(e){if(0==arguments.length)return function(e){let t=function(e){if(null!==e.type)return e;let t=e.children[e.children.length-1];for(let n of d0)t.attr(n,e.attr(n));return t}(e),n=[t],r=new Map;for(r.set(t,d3(t));n.length;){let e=n.pop(),t=r.get(e),{children:a=[]}=e;for(let e of a)if(e.type===d2)t.children=e.value;else{let a=d3(e),{children:i=[]}=t;i.push(a),n.push(e),r.set(e,a),t.children=i}}return r.get(t)}(this);let{type:t}=e;return t&&(this._previousDefinedType=t),function(e,t,n,r,a){let i=function(e,t,n,r,a){let{type:i}=e,{type:o=n||i}=t;if("function"!=typeof o&&new Set(Object.keys(a)).has(o)){for(let n of d0)void 0!==e.attr(n)&&void 0===t[n]&&(t[n]=e.attr(n));return t}if("function"==typeof o||new Set(Object.keys(r)).has(o)){let e={type:"view"},n=Object.assign({},t);for(let t of d0)void 0!==n[t]&&(e[t]=n[t],delete n[t]);return Object.assign(Object.assign({},e),{children:[n]})}return t}(e,t,n,r,a),o=[[null,e,i]];for(;o.length;){let[e,t,n]=o.shift();if(t){if(n){!function(e,t){let{type:n,children:r}=t,a=dJ(t,["type","children"]);e.type===n||void 0===n?function e(t,n,r=5,a=0){if(!(a>=r)){for(let i of Object.keys(n)){let o=n[i];iv(o)&&iv(t[i])?e(t[i],o,r,a+1):t[i]=o}return t}}(e.value,a):"string"==typeof n&&(e.type=n,e.value=a)}(t,n);let{children:e}=n,{children:r}=t;if(Array.isArray(e)&&Array.isArray(r)){let n=Math.max(e.length,r.length);for(let a=0;a{this.emit(iU.AFTER_CHANGE_SIZE)}),n}changeSize(e,t){if(e===this._width&&t===this._height)return Promise.resolve(this);this.emit(iU.BEFORE_CHANGE_SIZE),this.attr("width",e),this.attr("height",t);let n=this.render();return n.then(()=>{this.emit(iU.AFTER_CHANGE_SIZE)}),n}_create(){let{library:e}=this._context,t=["mark.mark",...Object.keys(e).filter(e=>e.startsWith("mark.")||"component.axisX"===e||"component.axisY"===e||"component.legends"===e)];for(let e of(this._marks={},t)){let t=e.split(".").pop();class n extends pt{constructor(){super({},t)}}this._marks[t]=n,this[t]=function(e){let r=this.append(n);return"mark"===t&&(r.type=e),r}}let n=["composition.view",...Object.keys(e).filter(e=>e.startsWith("composition.")&&"composition.mark"!==e)];for(let e of(this._compositions=Object.fromEntries(n.map(e=>{let t=e.split(".").pop(),n=class extends pe{constructor(){super({},t)}};return n=pn([d4(d6(this._marks))],n),[t,n]})),Object.values(this._compositions)))d4(d6(this._compositions))(e);for(let e of n){let t=e.split(".").pop();this[t]=function(){let e=this._compositions[t];return this.type=null,this.append(e)}}}_reset(){let e=["theme","type","width","height","autoFit"];this.type="view",this.value=Object.fromEntries(Object.entries(this.value).filter(([t])=>t.startsWith("margin")||t.startsWith("padding")||t.startsWith("inset")||e.includes(t))),this.children=[]}_renderTrailing(){this._trailing&&(this._trailing=!1,this.render().then(()=>{let e=this._trailingResolve.bind(this);this._trailingResolve=null,e(this)}).catch(e=>{let t=this._trailingReject.bind(this);this._trailingReject=null,t(e)}))}_createResolve(e){return()=>{this._rendering=!1,e(this)}}_createReject(e){return t=>{this._rendering=!1,e(t)}}_computedOptions(){let e=this.options(),{key:t="G2_CHART_KEY"}=e,{width:n,height:r,depth:a}=d5(e,this._container);return this._width=n,this._height=r,this._key=t,Object.assign(Object.assign({key:this._key},e),{width:n,height:r,depth:a})}_createCanvas(){let{width:e,height:t}=d5(this.options(),this._container);this._plugins.push(new ig),this._plugins.forEach(e=>this._renderer.registerPlugin(e)),this._context.canvas=new nN.Xz({container:this._container,width:e,height:t,renderer:this._renderer})}_addToTrailing(){var e;null===(e=this._trailingResolve)||void 0===e||e.call(this,this),this._trailing=!0;let t=new Promise((e,t)=>{this._trailingResolve=e,this._trailingReject=t});return t}_bindAutoFit(){let e=this.options(),{autoFit:t}=e;if(this._hasBindAutoFit){t||this._unbindAutoFit();return}t&&(this._hasBindAutoFit=!0,window.addEventListener("resize",this._onResize))}_unbindAutoFit(){this._hasBindAutoFit&&(this._hasBindAutoFit=!1,window.removeEventListener("resize",this._onResize))}},d=Aa(Aa({},Object.assign(Object.assign(Object.assign(Object.assign({},{"composition.geoView":TA,"composition.geoPath":T_}),{"data.arc":Sy,"data.cluster":TG,"mark.forceGraph":TF,"mark.tree":TV,"mark.pack":T1,"mark.sankey":Sp,"mark.chord":SO,"mark.treemap":SR}),{"data.venn":Ar,"mark.boxplot":SH,"mark.gauge":Sq,"mark.wordCloud":gZ,"mark.liquid":S3}),{"data.fetch":vS,"data.inline":vA,"data.sortBy":vO,"data.sort":v_,"data.filter":vx,"data.pick":vC,"data.rename":vw,"data.fold":vI,"data.slice":vR,"data.custom":vN,"data.map":vL,"data.join":vP,"data.kde":vB,"data.log":vj,"data.wordCloud":v2,"data.ema":v3,"transform.stackY":Ex,"transform.binX":EZ,"transform.bin":Ez,"transform.dodgeX":EV,"transform.jitter":Eq,"transform.jitterX":EK,"transform.jitterY":EX,"transform.symmetryY":EJ,"transform.diffY":E0,"transform.stackEnter":E1,"transform.normalizeY":E5,"transform.select":E7,"transform.selectX":vt,"transform.selectY":vr,"transform.groupX":vo,"transform.groupY":vs,"transform.groupColor":vl,"transform.group":vi,"transform.sortX":vp,"transform.sortY":vf,"transform.sortColor":vh,"transform.flexX":vg,"transform.pack":vm,"transform.sample":vy,"transform.filter":vE,"coordinate.cartesian":pI,"coordinate.polar":iJ,"coordinate.transpose":pR,"coordinate.theta":pL,"coordinate.parallel":pD,"coordinate.fisheye":pP,"coordinate.radial":i1,"coordinate.radar":pM,"coordinate.helix":pF,"encode.constant":pB,"encode.field":pj,"encode.transform":pU,"encode.column":pG,"mark.interval":fg,"mark.rect":fb,"mark.line":fj,"mark.point":hi,"mark.text":hg,"mark.cell":hy,"mark.area":hR,"mark.link":hz,"mark.image":hY,"mark.polygon":h0,"mark.box":h6,"mark.vector":h8,"mark.lineX":gr,"mark.lineY":go,"mark.connector":gd,"mark.range":gg,"mark.rangeX":gy,"mark.rangeY":gT,"mark.path":gx,"mark.shape":gR,"mark.density":gP,"mark.heatmap":gH,"mark.wordCloud":gZ,"palette.category10":gW,"palette.category20":gV,"scale.linear":gY,"scale.ordinal":gK,"scale.band":gQ,"scale.identity":g0,"scale.point":g2,"scale.time":g5,"scale.log":g6,"scale.pow":g8,"scale.sqrt":me,"scale.threshold":mt,"scale.quantile":mn,"scale.quantize":mr,"scale.sequential":mi,"scale.constant":mo,"theme.classic":mu,"theme.classicDark":mf,"theme.academy":mg,"theme.light":mc,"theme.dark":mp,"component.axisX":mm,"component.axisY":mb,"component.legendCategory":mI,"component.legendContinuous":lz,"component.legends":mR,"component.title":mP,"component.sliderX":mQ,"component.sliderY":mJ,"component.scrollbarX":m3,"component.scrollbarY":m5,"animation.scaleInX":m4,"animation.scaleOutX":(e,t)=>{let{coordinate:n}=t;return(t,r,a)=>{let[i]=t,{transform:o="",fillOpacity:s=1,strokeOpacity:l=1,opacity:c=1}=i.style,[u,d]=i6(n)?["left bottom","scale(1, 0.0001)"]:["left top","scale(0.0001, 1)"],p=[{transform:`${o} scale(1, 1)`.trimStart(),transformOrigin:u},{transform:`${o} ${d}`.trimStart(),transformOrigin:u,fillOpacity:s,strokeOpacity:l,opacity:c,offset:.99},{transform:`${o} ${d}`.trimStart(),transformOrigin:u,fillOpacity:0,strokeOpacity:0,opacity:0}],f=i.animate(p,Object.assign(Object.assign({},a),e));return f}},"animation.scaleInY":m6,"animation.scaleOutY":(e,t)=>{let{coordinate:n}=t;return(t,r,a)=>{let[i]=t,{transform:o="",fillOpacity:s=1,strokeOpacity:l=1,opacity:c=1}=i.style,[u,d]=i6(n)?["left top","scale(0.0001, 1)"]:["left bottom","scale(1, 0.0001)"],p=[{transform:`${o} scale(1, 1)`.trimStart(),transformOrigin:u},{transform:`${o} ${d}`.trimStart(),transformOrigin:u,fillOpacity:s,strokeOpacity:l,opacity:c,offset:.99},{transform:`${o} ${d}`.trimStart(),transformOrigin:u,fillOpacity:0,strokeOpacity:0,opacity:0}],f=i.animate(p,Object.assign(Object.assign({},a),e));return f}},"animation.waveIn":m9,"animation.fadeIn":m8,"animation.fadeOut":m7,"animation.zoomIn":e=>(t,n,r)=>{let[a]=t,{transform:i="",fillOpacity:o=1,strokeOpacity:s=1,opacity:l=1}=a.style,c="center center",u=[{transform:`${i} scale(0.0001)`.trimStart(),transformOrigin:c,fillOpacity:0,strokeOpacity:0,opacity:0},{transform:`${i} scale(0.0001)`.trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:s,opacity:l,offset:.01},{transform:`${i} scale(1)`.trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:s,opacity:l}],d=a.animate(u,Object.assign(Object.assign({},r),e));return d},"animation.zoomOut":e=>(t,n,r)=>{let[a]=t,{transform:i="",fillOpacity:o=1,strokeOpacity:s=1,opacity:l=1}=a.style,c="center center",u=[{transform:`${i} scale(1)`.trimStart(),transformOrigin:c},{transform:`${i} scale(0.0001)`.trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:s,opacity:l,offset:.99},{transform:`${i} scale(0.0001)`.trimStart(),transformOrigin:c,fillOpacity:0,strokeOpacity:0,opacity:0}],d=a.animate(u,Object.assign(Object.assign({},r),e));return d},"animation.pathIn":be,"animation.morphing":bp,"animation.growInX":bf,"animation.growInY":bh,"interaction.elementHighlight":bm,"interaction.elementHighlightByX":bb,"interaction.elementHighlightByColor":by,"interaction.elementSelect":bv,"interaction.elementSelectByX":bT,"interaction.elementSelectByColor":bS,"interaction.fisheye":function({wait:e=30,leading:t,trailing:n=!1}){return r=>{let{options:a,update:i,setState:o,container:s}=r,l=ue(s),c=bA(e=>{let t=un(l,e);if(!t){o("fisheye"),i();return}o("fisheye",e=>{let n=iT({},e,{interaction:{tooltip:{preserve:!0}}});for(let e of n.marks)e.animate=!1;let[r,a]=t,i=function(e){let{coordinate:t={}}=e,{transform:n=[]}=t,r=n.find(e=>"fisheye"===e.type);if(r)return r;let a={type:"fisheye"};return n.push(a),t.transform=n,e.coordinate=t,a}(n);return i.focusX=r,i.focusY=a,i.visual=!0,n}),i()},e,{leading:t,trailing:n});return l.addEventListener("pointerenter",c),l.addEventListener("pointermove",c),l.addEventListener("pointerleave",c),()=>{l.removeEventListener("pointerenter",c),l.removeEventListener("pointermove",c),l.removeEventListener("pointerleave",c)}}},"interaction.chartIndex":bk,"interaction.tooltip":bK,"interaction.legendFilter":function(){return(e,t,n)=>{let{container:r}=e,a=t.filter(t=>t!==e),i=a.length>0,o=e=>b5(e).scales.map(e=>e.name),s=[...b2(r),...b3(r)],l=s.flatMap(o),c=i?bA(b6,50,{trailing:!0}):bA(b4,50,{trailing:!0}),u=s.map(t=>{let{name:s,domain:u}=b5(t).scales[0],d=o(t),p={legend:t,channel:s,channels:d,allChannels:l};return t.className===bQ?function(e,{legends:t,marker:n,label:r,datum:a,filter:i,emitter:o,channel:s,state:l={}}){let c=new Map,u=new Map,d=new Map,{unselected:p={markerStroke:"#aaa",markerFill:"#aaa",labelFill:"#aaa"}}=l,f={unselected:iN(p,"marker")},h={unselected:iN(p,"label")},{setState:g,removeState:m}=us(f,void 0),{setState:b,removeState:y}=us(h,void 0),E=Array.from(t(e)),v=E.map(a),T=()=>{for(let e of E){let t=a(e),i=n(e),o=r(e);v.includes(t)?(m(i,"unselected"),y(o,"unselected")):(g(i,"unselected"),b(o,"unselected"))}};for(let t of E){let n=()=>{uh(e,"pointer")},r=()=>{uh(e,e.cursor)},l=e=>bX(this,void 0,void 0,function*(){let n=a(t),r=v.indexOf(n);-1===r?v.push(n):v.splice(r,1),yield i(v),T();let{nativeEvent:l=!0}=e;l&&(v.length===E.length?o.emit("legend:reset",{nativeEvent:l}):o.emit("legend:filter",Object.assign(Object.assign({},e),{nativeEvent:l,data:{channel:s,values:v}})))});t.addEventListener("click",l),t.addEventListener("pointerenter",n),t.addEventListener("pointerout",r),c.set(t,l),u.set(t,n),d.set(t,r)}let S=e=>bX(this,void 0,void 0,function*(){let{nativeEvent:t}=e;if(t)return;let{data:n}=e,{channel:r,values:a}=n;r===s&&(v=a,yield i(v),T())}),A=e=>bX(this,void 0,void 0,function*(){let{nativeEvent:t}=e;t||(v=E.map(a),yield i(v),T())});return o.on("legend:filter",S),o.on("legend:reset",A),()=>{for(let e of E)e.removeEventListener("click",c.get(e)),e.removeEventListener("pointerenter",u.get(e)),e.removeEventListener("pointerout",d.get(e)),o.off("legend:filter",S),o.off("legend:reset",A)}}(r,{legends:b1,marker:bJ,label:b0,datum:e=>{let{__data__:t}=e,{index:n}=t;return u[n]},filter:t=>{let n=Object.assign(Object.assign({},p),{value:t,ordinal:!0});i?c(a,n):c(e,n)},state:t.attributes.state,channel:s,emitter:n}):function(e,{legend:t,filter:n,emitter:r,channel:a}){let i=({detail:{value:e}})=>{n(e),r.emit({nativeEvent:!0,data:{channel:a,values:e}})};return t.addEventListener("valuechange",i),()=>{t.removeEventListener("valuechange",i)}}(0,{legend:t,filter:t=>{let n=Object.assign(Object.assign({},p),{value:t,ordinal:!1});i?c(a,n):c(e,n)},emitter:n,channel:s})});return()=>{u.forEach(e=>e())}}},"interaction.legendHighlight":function(){return(e,t,n)=>{let{container:r,view:a,options:i}=e,o=b2(r),s=c9(r),l=e=>b5(e).scales[0].name,c=e=>{let{scale:{[e]:t}}=a;return t},u=uc(i,["active","inactive"]),d=uu(s,uo(a)),p=[];for(let e of o){let t=t=>{let{data:n}=e.attributes,{__data__:r}=t,{index:a}=r;return n[a].label},r=l(e),a=b1(e),i=c(r),o=(0,iS.ZP)(s,e=>i.invert(e.__data__[r])),{state:f={}}=e.attributes,{inactive:h={}}=f,{setState:g,removeState:m}=us(u,d),b={inactive:iN(h,"marker")},y={inactive:iN(h,"label")},{setState:E,removeState:v}=us(b),{setState:T,removeState:S}=us(y),A=e=>{for(let t of a){let n=bJ(t),r=b0(t);t===e||null===e?(v(n,"inactive"),S(r,"inactive")):(E(n,"inactive"),T(r,"inactive"))}},O=(e,a)=>{let i=t(a),l=new Set(o.get(i));for(let e of s)l.has(e)?g(e,"active"):g(e,"inactive");A(a);let{nativeEvent:c=!0}=e;c&&n.emit("legend:highlight",Object.assign(Object.assign({},e),{nativeEvent:c,data:{channel:r,value:i}}))},_=new Map;for(let e of a){let t=t=>{O(t,e)};e.addEventListener("pointerover",t),_.set(e,t)}let k=e=>{for(let e of s)m(e,"inactive","active");A(null);let{nativeEvent:t=!0}=e;t&&n.emit("legend:unhighlight",{nativeEvent:t})},x=e=>{let{nativeEvent:n,data:i}=e;if(n)return;let{channel:o,value:s}=i;if(o!==r)return;let l=a.find(e=>t(e)===s);l&&O({nativeEvent:!1},l)},C=e=>{let{nativeEvent:t}=e;t||k({nativeEvent:!1})};e.addEventListener("pointerleave",k),n.on("legend:highlight",x),n.on("legend:unhighlight",C);let w=()=>{for(let[t,r]of(e.removeEventListener(k),n.off("legend:highlight",x),n.off("legend:unhighlight",C),_))t.removeEventListener(r)};p.push(w)}return()=>p.forEach(e=>e())}},"interaction.brushHighlight":yr,"interaction.brushXHighlight":function(e){return yr(Object.assign(Object.assign({},e),{brushRegion:ya,selectedHandles:["handle-e","handle-w"]}))},"interaction.brushYHighlight":function(e){return yr(Object.assign(Object.assign({},e),{brushRegion:yi,selectedHandles:["handle-n","handle-s"]}))},"interaction.brushAxisHighlight":function(e){return(t,n,r)=>{let{container:a,view:i,options:o}=t,s=ue(a),{x:l,y:c}=s.getBBox(),{coordinate:u}=i;return function(e,t){var{axes:n,elements:r,points:a,horizontal:i,datum:o,offsetY:s,offsetX:l,reverse:c=!1,state:u={},emitter:d,coordinate:p}=t,f=yo(t,["axes","elements","points","horizontal","datum","offsetY","offsetX","reverse","state","emitter","coordinate"]);let h=r(e),g=n(e),m=uu(h,o),{setState:b,removeState:y}=us(u,m),E=new Map,v=iN(f,"mask"),T=e=>Array.from(E.values()).every(([t,n,r,a])=>e.some(([e,i])=>e>=t&&e<=r&&i>=n&&i<=a)),S=g.map(e=>e.attributes.scale),A=e=>e.length>2?[e[0],e[e.length-1]]:e,O=new Map,_=()=>{O.clear();for(let e=0;e{let n=[];for(let e of h){let t=a(e);T(t)?(b(e,"active"),n.push(e)):b(e,"inactive")}O.set(e,C(n,e)),t&&d.emit("brushAxis:highlight",{nativeEvent:!0,data:{selection:(()=>{if(!w)return Array.from(O.values());let e=[];for(let[t,n]of O){let r=S[t],{name:a}=r.getOptions();"x"===a?e[0]=n:e[1]=n}return e})()}})},x=e=>{for(let e of h)y(e,"active","inactive");_(),e&&d.emit("brushAxis:remove",{nativeEvent:!0})},C=(e,t)=>{let n=S[t],{name:r}=n.getOptions(),a=e.map(e=>{let t=e.__data__;return n.invert(t[r])});return A(cq(n,a))},w=g.some(i)&&g.some(e=>!i(e)),I=[];for(let e=0;e{let{nativeEvent:t}=e;t||I.forEach(e=>e.remove(!1))},N=(e,t,n)=>{let[r,a]=e,o=L(r,t,n),s=L(a,t,n)+(t.getStep?t.getStep():0);return i(n)?[o,-1/0,s,1/0]:[-1/0,o,1/0,s]},L=(e,t,n)=>{let{height:r,width:a}=p.getOptions(),o=t.clone();return i(n)?o.update({range:[0,a]}):o.update({range:[r,0]}),o.map(e)},D=e=>{let{nativeEvent:t}=e;if(t)return;let{selection:n}=e.data;for(let e=0;e{I.forEach(e=>e.destroy()),d.off("brushAxis:remove",R),d.off("brushAxis:highlight",D)}}(a,Object.assign({elements:c9,axes:yl,offsetY:c,offsetX:l,points:e=>e.__data__.points,horizontal:e=>{let{startPos:[t,n],endPos:[r,a]}=e.attributes;return t!==r&&n===a},datum:uo(i),state:uc(o,["active",["inactive",{opacity:.5}]]),coordinate:u,emitter:r},e))}},"interaction.brushFilter":yh,"interaction.brushXFilter":function(e){return yh(Object.assign(Object.assign({hideX:!0},e),{brushRegion:ya}))},"interaction.brushYFilter":function(e){return yh(Object.assign(Object.assign({hideY:!0},e),{brushRegion:yi}))},"interaction.sliderFilter":yb,"interaction.scrollbarFilter":function(e={}){return(t,n,r)=>{let{view:a,container:i}=t,o=i.getElementsByClassName(yy);if(!o.length)return()=>{};let{scale:s}=a,{x:l,y:c}=s,u={x:[...l.getOptions().domain],y:[...c.getOptions().domain]};l.update({domain:l.getOptions().expectedDomain}),c.update({domain:c.getOptions().expectedDomain});let d=yb(Object.assign(Object.assign({},e),{initDomain:u,className:yy,prefix:"scrollbar",hasState:!0,setValue:(e,t)=>e.setValue(t[0]),getInitValues:e=>{let t=e.slider.attributes.values;if(0!==t[0])return t}}));return d(t,n,r)}},"interaction.poptip":yS,"interaction.treemapDrillDown":function(e={}){let{originData:t=[],layout:n}=e,r=yF(e,["originData","layout"]),a=iT({},yB,r),i=iN(a,"breadCrumb"),o=iN(a,"active");return e=>{let{update:r,setState:a,container:s,options:l}=e,c=iB(s).select(`.${cH}`).node(),u=l.marks[0],{state:d}=u,p=new nN.ZA;c.appendChild(p);let f=(e,l)=>{var u,d,h,g;return u=this,d=void 0,h=void 0,g=function*(){if(p.removeChildren(),l){let t="",n=i.y,r=0,a=[],s=c.getBBox().width,l=e.map((o,l)=>{t=`${t}${o}/`,a.push(o);let c=new nN.xv({name:t.replace(/\/$/,""),style:Object.assign(Object.assign({text:o,x:r,path:[...a],depth:l},i),{y:n})});p.appendChild(c),r+=c.getBBox().width;let u=new nN.xv({style:Object.assign(Object.assign({x:r,text:" / "},i),{y:n})});return p.appendChild(u),(r+=u.getBBox().width)>s&&(n=p.getBBox().height+i.y,r=0,c.attr({x:r,y:n}),r+=c.getBBox().width,u.attr({x:r,y:n}),r+=u.getBBox().width),l===yA(e)-1&&u.remove(),c});l.forEach((e,t)=>{if(t===yA(l)-1)return;let n=Object.assign({},e.attributes);e.attr("cursor","pointer"),e.addEventListener("mouseenter",()=>{e.attr(o)}),e.addEventListener("mouseleave",()=>{e.attr(n)}),e.addEventListener("click",()=>{f(oX(e,["style","path"]),oX(e,["style","depth"]))})})}(function(e,t){let n=[...b2(e),...b3(e)];n.forEach(e=>{t(e,e=>e)})})(s,a),a("treemapDrillDown",r=>{let{marks:a}=r,i=e.join("/"),o=a.map(e=>{if("rect"!==e.type)return e;let r=t;if(l){let e=t.filter(e=>{let t=oX(e,["id"]);return t&&(t.match(`${i}/`)||i.match(t))}).map(e=>({value:0===e.height?oX(e,["value"]):void 0,name:oX(e,["id"])})),{paddingLeft:a,paddingBottom:o,paddingRight:s}=n,c=Object.assign(Object.assign({},n),{paddingTop:(n.paddingTop||p.getBBox().height+10)/(l+1),paddingLeft:a/(l+1),paddingBottom:o/(l+1),paddingRight:s/(l+1),path:e=>e.name,layer:e=>e.depth===l+1});r=yM(e,c,{value:"value"})[0]}else r=t.filter(e=>1===e.depth);let a=[];return r.forEach(({path:e})=>{a.push(mC(e))}),iT({},e,{data:r,scale:{color:{domain:a}}})});return Object.assign(Object.assign({},r),{marks:o})}),yield r(void 0,["legendFilter"])},new(h||(h=Promise))(function(e,t){function n(e){try{a(g.next(e))}catch(e){t(e)}}function r(e){try{a(g.throw(e))}catch(e){t(e)}}function a(t){var a;t.done?e(t.value):((a=t.value)instanceof h?a:new h(function(e){e(a)})).then(n,r)}a((g=g.apply(u,d||[])).next())})},h=e=>{let n=e.target;if("rect"!==oX(n,["markType"]))return;let r=oX(n,["__data__","key"]),a=yk(t,e=>e.id===r);oX(a,"height")&&f(oX(a,"path"),oX(a,"depth"))};c.addEventListener("click",h);let g=yO(Object.assign(Object.assign({},d.active),d.inactive)),m=()=>{let e=uy(c);e.forEach(e=>{let n=oX(e,["style","cursor"]),r=yk(t,t=>t.id===oX(e,["__data__","key"]));if("pointer"!==n&&(null==r?void 0:r.height)){e.style.cursor="pointer";let t=yC(e.attributes,g);e.addEventListener("mouseenter",()=>{e.attr(d.active)}),e.addEventListener("mouseleave",()=>{e.attr(iT(t,d.inactive))})}})};return m(),c.addEventListener("mousemove",m),()=>{p.remove(),c.removeEventListener("click",h),c.removeEventListener("mousemove",m)}}},"interaction.elementPointMove":function(e={}){let{selection:t=[],precision:n=2}=e,r=yU(e,["selection","precision"]),a=Object.assign(Object.assign({},yG),r||{}),i=iN(a,"path"),o=iN(a,"label"),s=iN(a,"point");return(e,r,a)=>{let l;let{update:c,setState:u,container:d,view:p,options:{marks:f,coordinate:h}}=e,g=ue(d),m=uy(g),b=t,{transform:y=[],type:E}=h,v=!!yk(y,({type:e})=>"transpose"===e),T="polar"===E,S="theta"===E,A=!!yk(m,({markType:e})=>"area"===e);A&&(m=m.filter(({markType:e})=>"area"===e));let O=new nN.ZA({style:{zIndex:2}});g.appendChild(O);let _=()=>{a.emit("element-point:select",{nativeEvent:!0,data:{selection:b}})},k=(e,t)=>{a.emit("element-point:moved",{nativeEvent:!0,data:{changeData:e,data:t}})},x=e=>{let t=e.target;b=[t.parentNode.childNodes.indexOf(t)],_(),w(t)},C=e=>{let{data:{selection:t},nativeEvent:n}=e;if(n)return;b=t;let r=oX(m,[null==b?void 0:b[0]]);r&&w(r)},w=e=>{let t;let{attributes:r,markType:a,__data__:h}=e,{stroke:g}=r,{points:m,seriesTitle:y,color:E,title:x,seriesX:C,y1:I}=h;if(v&&"interval"!==a)return;let{scale:R,coordinate:N}=(null==l?void 0:l.view)||p,{color:L,y:D,x:P}=R,M=N.getCenter();O.removeChildren();let F=(e,t,n,r)=>yj(this,void 0,void 0,function*(){return u("elementPointMove",a=>{var i;let o=((null===(i=null==l?void 0:l.options)||void 0===i?void 0:i.marks)||f).map(a=>{if(!r.includes(a.type))return a;let{data:i,encode:o}=a,s=Object.keys(o),l=s.reduce((r,a)=>{let i=o[a];return"x"===a&&(r[i]=e),"y"===a&&(r[i]=t),"color"===a&&(r[i]=n),r},{}),c=yZ(l,i,o);return k(l,c),iT({},a,{data:c,animate:!1})});return Object.assign(Object.assign({},a),{marks:o})}),yield c("elementPointMove")});if(["line","area"].includes(a))m.forEach((r,a)=>{let c=P.invert(C[a]);if(!c)return;let u=new nN.Cd({name:yH,style:Object.assign({cx:r[0],cy:r[1],fill:g},s)}),p=yV(e,a);u.addEventListener("mousedown",f=>{let h=N.output([C[a],0]),g=null==y?void 0:y.length;d.attr("cursor","move"),b[1]!==a&&(b[1]=a,_()),yY(O.childNodes,b,s);let[v,S]=yq(O,u,i,o),k=e=>{let i=r[1]+e.clientY-t[1];if(A){if(T){let o=r[0]+e.clientX-t[0],[s,l]=yX(M,h,[o,i]),[,c]=N.output([1,D.output(0)]),[,d]=N.invert([s,c-(m[a+g][1]-l)]),f=(a+1)%g,b=(a-1+g)%g,E=ub([m[b],[s,l],y[f]&&m[f]]);S.attr("text",p(D.invert(d)).toFixed(n)),v.attr("d",E),u.attr("cx",s),u.attr("cy",l)}else{let[,e]=N.output([1,D.output(0)]),[,t]=N.invert([r[0],e-(m[a+g][1]-i)]),o=ub([m[a-1],[r[0],i],y[a+1]&&m[a+1]]);S.attr("text",p(D.invert(t)).toFixed(n)),v.attr("d",o),u.attr("cy",i)}}else{let[,e]=N.invert([r[0],i]),t=ub([m[a-1],[r[0],i],m[a+1]]);S.attr("text",D.invert(e).toFixed(n)),v.attr("d",t),u.attr("cy",i)}};t=[f.clientX,f.clientY],window.addEventListener("mousemove",k);let x=()=>yj(this,void 0,void 0,function*(){if(d.attr("cursor","default"),window.removeEventListener("mousemove",k),d.removeEventListener("mouseup",x),ls(S.attr("text")))return;let t=Number(S.attr("text")),n=yK(L,E);l=yield F(c,t,n,["line","area"]),S.remove(),v.remove(),w(e)});d.addEventListener("mouseup",x)}),O.appendChild(u)}),yY(O.childNodes,b,s);else if("interval"===a){let r=[(m[0][0]+m[1][0])/2,m[0][1]];v?r=[m[0][0],(m[0][1]+m[1][1])/2]:S&&(r=m[0]);let c=yW(e),u=new nN.Cd({name:yH,style:Object.assign(Object.assign({cx:r[0],cy:r[1],fill:g},s),{stroke:s.activeStroke})});u.addEventListener("mousedown",s=>{d.attr("cursor","move");let p=yK(L,E),[f,h]=yq(O,u,i,o),g=e=>{if(v){let a=r[0]+e.clientX-t[0],[i]=N.output([D.output(0),D.output(0)]),[,o]=N.invert([i+(a-m[2][0]),r[1]]),s=ub([[a,m[0][1]],[a,m[1][1]],m[2],m[3]],!0);h.attr("text",c(D.invert(o)).toFixed(n)),f.attr("d",s),u.attr("cx",a)}else if(S){let a=r[1]+e.clientY-t[1],i=r[0]+e.clientX-t[0],[o,s]=yX(M,[i,a],r),[l,d]=yX(M,[i,a],m[1]),p=N.invert([o,s])[1],g=I-p;if(g<0)return;let b=function(e,t,n=0){let r=[["M",...t[1]]],a=um(e,t[1]),i=um(e,t[0]);return 0===a?r.push(["L",...t[3]],["A",i,i,0,n,1,...t[0]],["Z"]):r.push(["A",a,a,0,n,0,...t[2]],["L",...t[3]],["A",i,i,0,n,1,...t[0]],["Z"]),r}(M,[[o,s],[l,d],m[2],m[3]],g>.5?1:0);h.attr("text",c(g,!0).toFixed(n)),f.attr("d",b),u.attr("cx",o),u.attr("cy",s)}else{let a=r[1]+e.clientY-t[1],[,i]=N.output([1,D.output(0)]),[,o]=N.invert([r[0],i-(m[2][1]-a)]),s=ub([[m[0][0],a],[m[1][0],a],m[2],m[3]],!0);h.attr("text",c(D.invert(o)).toFixed(n)),f.attr("d",s),u.attr("cy",a)}};t=[s.clientX,s.clientY],window.addEventListener("mousemove",g);let b=()=>yj(this,void 0,void 0,function*(){if(d.attr("cursor","default"),d.removeEventListener("mouseup",b),window.removeEventListener("mousemove",g),ls(h.attr("text")))return;let t=Number(h.attr("text"));l=yield F(x,t,p,[a]),h.remove(),f.remove(),w(e)});d.addEventListener("mouseup",b)}),O.appendChild(u)}};m.forEach((e,t)=>{b[0]===t&&w(e),e.addEventListener("click",x),e.addEventListener("mouseenter",y$),e.addEventListener("mouseleave",yz)});let I=e=>{let t=null==e?void 0:e.target;t&&(t.name===yH||m.includes(t))||(b=[],_(),O.removeChildren())};return a.on("element-point:select",C),a.on("element-point:unselect",I),d.addEventListener("mousedown",I),()=>{O.remove(),a.off("element-point:select",C),a.off("element-point:unselect",I),d.removeEventListener("mousedown",I),m.forEach(e=>{e.removeEventListener("click",x),e.removeEventListener("mouseenter",y$),e.removeEventListener("mouseleave",yz)})}}},"composition.spaceLayer":yJ,"composition.spaceFlex":y1,"composition.facetRect":Eo,"composition.repeatMatrix":()=>e=>{let t=y2.of(e).call(y8).call(y4).call(Ec).call(Eu).call(y6).call(y9).call(El).value();return[t]},"composition.facetCircle":()=>e=>{let t=y2.of(e).call(y8).call(Eh).call(y4).call(Ef).call(y7).call(Ee,Em,Eg,Eg,{frame:!1}).call(y6).call(y9).call(Ep).value();return[t]},"composition.timingKeyframe":Eb,"labelTransform.overlapHide":e=>{let{priority:t}=e;return e=>{let n=[];return t&&e.sort(t),e.forEach(e=>{c4(e);let t=e.getLocalBounds(),r=n.some(e=>(function(e,t){let[n,r]=e,[a,i]=t;return n[0]a[0]&&n[1]a[1]})(v5(t),v5(e.getLocalBounds())));r?c5(e):n.push(e)}),e}},"labelTransform.overlapDodgeY":e=>{let{maxIterations:t=10,maxError:n=.1,padding:r=1}=e;return e=>{let a=e.length;if(a<=1)return e;let[i,o]=v6(),[s,l]=v6(),[c,u]=v6(),[d,p]=v6();for(let t of e){let{min:e,max:n}=function(e){let t=e.cloneNode(!0),n=t.getElementById("connector");n&&t.removeChild(n);let{min:r,max:a}=t.getRenderBounds();return t.destroy(),{min:r,max:a}}(t),[r,a]=e,[i,s]=n;o(t,a),l(t,a),u(t,s-a),p(t,[r,i])}for(let i=0;i(0,ds.Z)(s(e),s(t)));let t=0;for(let n=0;ne&&t>n}(d(i),d(a));)o+=1;if(a){let e=s(i),n=c(i),o=s(a),u=o-(e+n);if(ue=>(e.forEach(e=>{c4(e);let t=e.attr("bounds"),n=e.getLocalBounds(),r=function(e,t,n=.01){let[r,a]=e;return!(v4(r,t,n)&&v4(a,t,n))}(v5(n),t);r&&c5(e)}),e),"labelTransform.contrastReverse":e=>{let{threshold:t=4.5,palette:n=["#000","#fff"]}=e;return e=>(e.forEach(e=>{let r=e.attr("dependentElement").parsedStyle.fill,a=e.parsedStyle.fill,i=v7(a,r);iv7(e,"object"==typeof t?t:(0,nN.lu)(t)));return t[n]}(r,n))}),e)},"labelTransform.exceedAdjust":()=>(e,{canvas:t,layout:n})=>(e.forEach(e=>{c4(e);let{max:t,min:r}=e.getRenderBounds(),[a,i]=t,[o,s]=r,l=Te([[o,s],[a,i]],[[n.x,n.y],[n.x+n.width,n.y+n.height]]);e.style.connector&&e.style.connectorPoints&&(e.style.connectorPoints[0][0]-=l[0],e.style.connectorPoints[0][1]-=l[1]),e.style.x+=l[0],e.style.y+=l[1]}),e)})),{"interaction.drillDown":function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{breadCrumb:t={},isFixedColor:n=!1}=e,r=(0,po.Z)({},pw,t);return e=>{let{update:t,setState:a,container:i,view:o,options:s}=e,l=i.ownerDocument,c=(0,px.Ys)(i).select(".".concat(px.V$)).node(),u=s.marks.find(e=>{let{id:t}=e;return t===pv}),{state:d}=u,p=l.createElement("g");c.appendChild(p);let f=(e,i)=>{var s,u,d,h;return s=this,u=void 0,d=void 0,h=function*(){if(p.removeChildren(),e){let t=l.createElement("text",{style:Object.assign({x:0,text:r.rootText,depth:0},r.style)});p.appendChild(t);let n="",a=null==e?void 0:e.split(" / "),i=r.style.y,o=p.getBBox().width,s=c.getBBox().width,u=a.map((e,t)=>{let a=l.createElement("text",{style:Object.assign(Object.assign({x:o,text:" / "},r.style),{y:i})});p.appendChild(a),o+=a.getBBox().width,n="".concat(n).concat(e," / ");let c=l.createElement("text",{name:n.replace(/\s\/\s$/,""),style:Object.assign(Object.assign({text:e,x:o,depth:t+1},r.style),{y:i})});return p.appendChild(c),(o+=c.getBBox().width)>s&&(i=p.getBBox().height,o=0,a.attr({x:o,y:i}),o+=a.getBBox().width,c.attr({x:o,y:i}),o+=c.getBBox().width),c});[t,...u].forEach((e,t)=>{if(t===u.length)return;let n=Object.assign({},e.attributes);e.attr("cursor","pointer"),e.addEventListener("mouseenter",()=>{e.attr(r.active)}),e.addEventListener("mouseleave",()=>{e.attr(n)}),e.addEventListener("click",()=>{f(e.name,(0,pi.Z)(e,["style","depth"]))})})}a("drillDown",t=>{let{marks:r}=t,a=r.map(t=>{if(t.id!==pv&&"rect"!==t.type)return t;let{data:r}=t,a=Object.fromEntries(["color"].map(e=>[e,{domain:o.scale[e].getOptions().domain}])),s=r.filter(t=>{let r=t.path;if(n||(t[pA]=r.split(" / ")[i]),!e)return!0;let a=new RegExp("^".concat(e,".+"));return a.test(r)});return(0,po.Z)({},t,n?{data:s,scale:a}:{data:s})});return Object.assign(Object.assign({},t),{marks:a})}),yield t()},new(d||(d=Promise))(function(e,t){function n(e){try{a(h.next(e))}catch(e){t(e)}}function r(e){try{a(h.throw(e))}catch(e){t(e)}}function a(t){var a;t.done?e(t.value):((a=t.value)instanceof d?a:new d(function(e){e(a)})).then(n,r)}a((h=h.apply(s,u||[])).next())})},h=e=>{let t=e.target;if((0,pi.Z)(t,["style",pT])!==pv||"rect"!==(0,pi.Z)(t,["markType"])||!(0,pi.Z)(t,["style",pb]))return;let n=(0,pi.Z)(t,["__data__","key"]),r=(0,pi.Z)(t,["style","depth"]);t.style.cursor="pointer",f(n,r)};c.addEventListener("click",h);let g=(0,pk.Z)(Object.assign(Object.assign({},d.active),d.inactive)),m=()=>{let e=pC(c);e.forEach(e=>{let t=(0,pi.Z)(e,["style",pb]),n=(0,pi.Z)(e,["style","cursor"]);if("pointer"!==n&&t){e.style.cursor="pointer";let t=(0,pa.Z)(e.attributes,g);e.addEventListener("mouseenter",()=>{e.attr(d.active)}),e.addEventListener("mouseleave",()=>{e.attr((0,po.Z)(t,d.inactive))})}})};return c.addEventListener("mousemove",m),()=>{p.remove(),c.removeEventListener("click",h),c.removeEventListener("mousemove",m)}}},"mark.sunburst":p_}),class extends u{constructor(e){super(Object.assign(Object.assign({},e),{lib:d}))}}),Ao=function(){return(Ao=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},Al=["renderer"],Ac=["width","height","autoFit","theme","inset","insetLeft","insetRight","insetTop","insetBottom","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","margin","marginTop","marginRight","marginBottom","marginLeft","depth","title","clip","children","type","data","direction"],Au="__transform__",Ad=function(e,t){return(0,eg.isBoolean)(t)?{type:e,available:t}:Ao({type:e},t)},Ap={xField:"encode.x",yField:"encode.y",colorField:"encode.color",angleField:"encode.y",keyField:"encode.key",sizeField:"encode.size",shapeField:"encode.shape",seriesField:"encode.series",positionField:"encode.position",textField:"encode.text",valueField:"encode.value",binField:"encode.x",srcField:"encode.src",linkColorField:"encode.linkColor",fontSizeField:"encode.fontSize",radius:"coordinate.outerRadius",innerRadius:"coordinate.innerRadius",startAngle:"coordinate.startAngle",endAngle:"coordinate.endAngle",focusX:"coordinate.focusX",focusY:"coordinate.focusY",distortionX:"coordinate.distortionX",distortionY:"coordinate.distortionY",visual:"coordinate.visual",stack:{target:"transform",value:function(e){return Ad("stackY",e)}},normalize:{target:"transform",value:function(e){return Ad("normalizeY",e)}},percent:{target:"transform",value:function(e){return Ad("normalizeY",e)}},group:{target:"transform",value:function(e){return Ad("dodgeX",e)}},sort:{target:"transform",value:function(e){return Ad("sortX",e)}},symmetry:{target:"transform",value:function(e){return Ad("symmetryY",e)}},diff:{target:"transform",value:function(e){return Ad("diffY",e)}},meta:{target:"scale",value:function(e){return e}},label:{target:"labels",value:function(e){return e}},shape:"style.shape",connectNulls:{target:"style",value:function(e){return(0,eg.isBoolean)(e)?{connect:e}:e}}},Af=["xField","yField","seriesField","colorField","keyField","positionField","meta","tooltip","animate","stack","normalize","percent","group","sort","symmetry","diff"],Ah=[{key:"annotations",extend_keys:[]},{key:"line",type:"line",extend_keys:Af},{key:"point",type:"point",extend_keys:Af},{key:"area",type:"area",extend_keys:Af}],Ag=[{key:"transform",callback:function(e,t,n){e[t]=e[t]||[];var r,a=n.available,i=As(n,["available"]);if(void 0===a||a)e[t].push(Ao(((r={})[Au]=!0,r),i));else{var o=e[t].indexOf(function(e){return e.type===n.type});-1!==o&&e[t].splice(o,1)}}},{key:"labels",callback:function(e,t,n){var r;if(!n||(0,eg.isArray)(n)){e[t]=n||[];return}n.text||(n.text=e.yField),e[t]=e[t]||[],e[t].push(Ao(((r={})[Au]=!0,r),n))}}],Am=[{key:"conversionTag",shape:"ConversionTag"},{key:"axisText",shape:"BidirectionalBarAxisText"}],Ab=(p=function(e,t){return(p=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}p(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Ay=function(){return(Ay=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},Av=function(e){function t(t){void 0===t&&(t={});var n=t.style,r=AE(t,["style"]);return e.call(this,Ay({style:Ay({fill:"#eee"},n)},r))||this}return Ab(t,e),t}(nN.mg),AT=(f=function(e,t){return(f=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}f(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),AS=function(){return(AS=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},AO=function(e){function t(t){void 0===t&&(t={});var n=t.style,r=AA(t,["style"]);return e.call(this,AS({style:AS({text:"",fontSize:12,textBaseline:"middle",textAlign:"center",fill:"#000",fontStyle:"normal",fontVariant:"normal",fontWeight:"normal",lineWidth:1},n)},r))||this}return AT(t,e),t}(nN.xv),A_=function(e,t,n){if(n||2==arguments.length)for(var r,a=0,i=t.length;a0){var r=t.x,a=t.y,i=t.height,o=t.width,s=t.data,p=t.key,f=(0,eg.get)(s,l),g=h/2;if(e){var b=r+o/2,E=a;d.push({points:[[b+g,E-u+y],[b+g,E-m-y],[b,E-y],[b-g,E-m-y],[b-g,E-u+y]],center:[b,E-u/2-y],width:u,value:[c,f],key:p})}else{var b=r,E=a+i/2;d.push({points:[[r-u+y,E-g],[r-m-y,E-g],[b-y,E],[r-m-y,E+g],[r-u+y,E+g]],center:[b-u/2-y,E],width:u,value:[c,f],key:p})}c=f}}),d},t.prototype.render=function(){this.setDirection(),this.drawConversionTag()},t.prototype.setDirection=function(){var e=this.chart.getCoordinate(),t=(0,eg.get)(e,"options.transformations"),n="horizontal";t.forEach(function(e){e.includes("transpose")&&(n="vertical")}),this.direction=n},t.prototype.drawConversionTag=function(){var e=this,t=this.getConversionTagLayout(),n=this.attributes,r=n.style,a=n.text,i=a.style,o=a.formatter;t.forEach(function(t){var n=t.points,a=t.center,s=t.value,l=t.key,c=s[0],u=s[1],d=a[0],p=a[1],f=new Av({style:AR({points:n,fill:"#eee"},r),id:"polygon-".concat(l)}),h=new AO({style:AR({x:d,y:p,text:(0,eg.isFunction)(o)?o(c,u):(u/c*100).toFixed(2)+"%"},i),id:"text-".concat(l)});e.appendChild(f),e.appendChild(h)})},t.prototype.update=function(){var e=this;this.getConversionTagLayout().forEach(function(t){var n=t.points,r=t.center,a=t.key,i=r[0],o=r[1],s=e.getElementById("polygon-".concat(a)),l=e.getElementById("text-".concat(a));s.setAttribute("points",n),l.setAttribute("x",i),l.setAttribute("y",o)})},t.tag="ConversionTag",t}(Aw),AL=(m=function(e,t){return(m=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}m(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),AD=function(){return(AD=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},AM={ConversionTag:AN,BidirectionalBarAxisText:function(e){function t(n,r){return e.call(this,n,r,{type:t.tag})||this}return AL(t,e),t.prototype.render=function(){this.drawText()},t.prototype.getBidirectionalBarAxisTextLayout=function(){var e="vertical"===this.attributes.layout,t=this.getElementsLayout(),n=e?(0,eg.uniqBy)(t,"x"):(0,eg.uniqBy)(t,"y"),r=["title"],a=[],i=this.chart.getContext().views,o=(0,eg.get)(i,[0,"layout"]),s=o.width,l=o.height;return n.forEach(function(t){var n=t.x,i=t.y,o=t.height,c=t.width,u=t.data,d=t.key,p=(0,eg.get)(u,r);e?a.push({x:n+c/2,y:l,text:p,key:d}):a.push({x:s,y:i+o/2,text:p,key:d})}),(0,eg.uniqBy)(a,"text").length!==a.length&&(a=Object.values((0,eg.groupBy)(a,"text")).map(function(t){var n,r=t.reduce(function(t,n){return t+(e?n.x:n.y)},0);return AD(AD({},t[0]),((n={})[e?"x":"y"]=r/t.length,n))})),a},t.prototype.transformLabelStyle=function(e){var t={},n=/^label[A-Z]/;return Object.keys(e).forEach(function(r){n.test(r)&&(t[r.replace("label","").replace(/^[A-Z]/,function(e){return e.toLowerCase()})]=e[r])}),t},t.prototype.drawText=function(){var e=this,t=this.getBidirectionalBarAxisTextLayout(),n=this.attributes,r=n.layout,a=n.labelFormatter,i=AP(n,["layout","labelFormatter"]);t.forEach(function(t){var n=t.x,o=t.y,s=t.text,l=t.key,c=new AO({style:AD({x:n,y:o,text:(0,eg.isFunction)(a)?a(s):s,wordWrap:!0,wordWrapWidth:"horizontal"===r?64:120,maxLines:2,textOverflow:"ellipsis"},e.transformLabelStyle(i)),id:"text-".concat(l)});e.appendChild(c)})},t.prototype.destroy=function(){this.clear()},t.prototype.update=function(){this.destroy(),this.drawText()},t.tag="BidirectionalBarAxisText",t}(Aw)},AF=function(){function e(e,t){this.container=new Map,this.chart=e,this.config=t,this.init()}return e.prototype.init=function(){var e=this;Am.forEach(function(t){var n,r=t.key,a=t.shape,i=e.config[r];if(i){var o=new AM[a](e.chart,i);e.chart.getContext().canvas.appendChild(o),e.container.set(r,o)}else null===(n=e.container.get(r))||void 0===n||n.clear()})},e.prototype.update=function(){var e=this;this.container.size&&Am.forEach(function(t){var n=t.key,r=e.container.get(n);null==r||r.update()})},e}(),AB=(b=function(e,t){return(b=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}b(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Aj=function(){return(Aj=Object.assign||function(e){for(var t,n=1,r=arguments.length;n1&&(0,eg.set)(t,"children",[{type:"interval"}]);var n=t.scale,r=t.markBackground,a=t.data,i=t.children,o=t.yField,s=(0,eg.get)(n,"y.domain",[]);if(r&&s.length&&(0,eg.isArray)(a)){var l="domainMax",c=a.map(function(e){var t;return A0(A0({originData:A0({},e)},(0,eg.omit)(e,o)),((t={})[l]=s[s.length-1],t))});i.unshift(A0({type:"interval",data:c,yField:l,tooltip:!1,style:{fill:"#eee"},label:!1},r))}return e},AK,AV)(e)}var A2=(v=function(e,t){return(v=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}v(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});r9("shape.interval.bar25D",function(e,t){return function(n){var r=e.fill,a=void 0===r?"#2888FF":r,i=e.stroke,o=e.fillOpacity,s=void 0===o?1:o,l=e.strokeOpacity,c=void 0===l?.2:l,u=e.pitch,d=void 0===u?8:u,p=n[0],f=n[1],h=n[2],g=n[3],m=(f[1]-p[1])/2,b=t.document,y=b.createElement("g",{}),E=b.createElement("polygon",{style:{points:[p,[p[0]-d,p[1]+m],[h[0]-d,p[1]+m],g],fill:a,fillOpacity:s,stroke:i,strokeOpacity:c,inset:30}}),v=b.createElement("polygon",{style:{points:[[p[0]-d,p[1]+m],f,h,[h[0]-d,p[1]+m]],fill:a,fillOpacity:s,stroke:i,strokeOpacity:c}}),T=b.createElement("polygon",{style:{points:[p,[p[0]-d,p[1]+m],f,[p[0]+d,p[1]+m]],fill:a,fillOpacity:s-.2}});return y.appendChild(E),y.appendChild(v),y.appendChild(T),y}});var A3=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="Bar",t}return A2(t,e),t.getDefaultOptions=function(){return{type:"view",coordinate:{transform:[{type:"transpose"}]},children:[{type:"interval"}],scale:{y:{nice:!0}},axis:{y:{title:!1},x:{title:!1}},interaction:{tooltip:{shared:!0},elementHighlight:{background:!0}}}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return A1},t}(AG),A5=(T=function(e,t){return(T=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}T(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});r9("shape.interval.column25D",function(e,t){return function(n){var r=e.fill,a=void 0===r?"#2888FF":r,i=e.stroke,o=e.fillOpacity,s=void 0===o?1:o,l=e.strokeOpacity,c=void 0===l?.2:l,u=e.pitch,d=void 0===u?8:u,p=(n[1][0]-n[0][0])/2+n[0][0],f=t.document,h=f.createElement("g",{}),g=f.createElement("polygon",{style:{points:[[n[0][0],n[0][1]],[p,n[1][1]+d],[p,n[3][1]+d],[n[3][0],n[3][1]]],fill:a,fillOpacity:s,stroke:i,strokeOpacity:c,inset:30}}),m=f.createElement("polygon",{style:{points:[[p,n[1][1]+d],[n[1][0],n[1][1]],[n[2][0],n[2][1]],[p,n[2][1]+d]],fill:a,fillOpacity:s,stroke:i,strokeOpacity:c}}),b=f.createElement("polygon",{style:{points:[[n[0][0],n[0][1]],[p,n[1][1]-d],[n[1][0],n[1][1]],[p,n[1][1]+d]],fill:a,fillOpacity:s-.2}});return h.appendChild(m),h.appendChild(g),h.appendChild(b),h}});var A4=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="column",t}return A5(t,e),t.getDefaultOptions=function(){return{type:"view",scale:{y:{nice:!0}},interaction:{tooltip:{shared:!0},elementHighlight:{background:!0}},axis:{y:{title:!1},x:{title:!1}},children:[{type:"interval"}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return A1},t}(AG);function A6(e){return(0,eg.flow)(function(e){var t=e.options,n=t.children;return t.legend&&(void 0===n?[]:n).forEach(function(e){if(!(0,eg.get)(e,"colorField")){var t=(0,eg.get)(e,"yField");(0,eg.set)(e,"colorField",function(){return t})}}),e},function(e){var t=e.options,n=t.annotations,r=void 0===n?[]:n,a=t.children,i=t.scale,o=!1;return(0,eg.get)(i,"y.key")||(void 0===a?[]:a).forEach(function(e,t){if(!(0,eg.get)(e,"scale.y.key")){var n="child".concat(t,"Scale");(0,eg.set)(e,"scale.y.key",n);var a=e.annotations,i=void 0===a?[]:a;i.length>0&&((0,eg.set)(e,"scale.y.independent",!1),i.forEach(function(e){(0,eg.set)(e,"scale.y.key",n)})),!o&&r.length>0&&void 0===(0,eg.get)(e,"scale.y.independent")&&(o=!0,(0,eg.set)(e,"scale.y.independent",!1),r.forEach(function(e){(0,eg.set)(e,"scale.y.key",n)}))}}),e},AK,AV)(e)}var A9=(S=function(e,t){return(S=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}S(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),A8=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="DualAxes",t}return A9(t,e),t.getDefaultOptions=function(){return{type:"view",axis:{y:{title:!1,tick:!1},x:{title:!1}},scale:{y:{independent:!0,nice:!0}}}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return A6},t}(AG);function A7(e){return(0,eg.flow)(function(e){var t=e.options,n=t.xField;return t.colorField||(0,eg.set)(t,"colorField",n),e},function(e){var t=e.options,n=t.compareField,r=t.transform,a=t.isTransposed,i=t.coordinate;return r||(n?(0,eg.set)(t,"transform",[]):(0,eg.set)(t,"transform",[{type:"symmetryY"}])),!i&&(void 0===a||a)&&(0,eg.set)(t,"coordinate",{transform:[{type:"transpose"}]}),e},function(e){var t=e.options,n=t.compareField,r=t.seriesField,a=t.data,i=t.children,o=t.yField,s=t.isTransposed;if(n||r){var l=Object.values((0,eg.groupBy)(a,function(e){return e[n||r]}));i[0].data=l[0],i.push({type:"interval",data:l[1],yField:function(e){return-e[o]}}),delete t.compareField,delete t.data}return r&&((0,eg.set)(t,"type","spaceFlex"),(0,eg.set)(t,"ratio",[1,1]),(0,eg.set)(t,"direction",void 0===s||s?"row":"col"),delete t.seriesField),e},function(e){var t=e.options,n=t.tooltip,r=t.xField,a=t.yField;return n||(0,eg.set)(t,"tooltip",{title:!1,items:[function(e){return{name:e[r],value:e[a]}}]}),e},AK,AV)(e)}var Oe=(A=function(e,t){return(A=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}A(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Ot=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="column",t}return Oe(t,e),t.getDefaultOptions=function(){return{type:"view",scale:{x:{padding:0}},animate:{enter:{type:"fadeIn"}},axis:!1,shapeField:"funnel",label:{position:"inside",transform:[{type:"contrastReverse"}]},children:[{type:"interval"}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return A7},t}(AG);function On(e){return(0,eg.flow)(AK,AV)(e)}var Or=(O=function(e,t){return(O=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}O(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Oa=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="line",t}return Or(t,e),t.getDefaultOptions=function(){return{type:"view",scale:{y:{nice:!0}},interaction:{tooltip:{shared:!0}},axis:{y:{title:!1},x:{title:!1}},children:[{type:"line"}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return On},t}(AG);function Oi(e){switch(typeof e){case"function":return e;case"string":return function(t){return(0,eg.get)(t,[e])};default:return function(){return e}}}var Oo=function(){return(Oo=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&0===r.reduce(function(e,t){return e+t[n]},0)){var s=r.map(function(e){var t;return Oo(Oo({},e),((t={})[n]=1,t))});(0,eg.set)(t,"data",s),a&&(0,eg.set)(t,"label",Oo(Oo({},a),{formatter:function(){return 0}})),!1!==i&&((0,eg.isFunction)(i)?(0,eg.set)(t,"tooltip",function(e,t,r){var a;return i(Oo(Oo({},e),((a={})[n]=0,a)),t,r.map(function(e){var t;return Oo(Oo({},e),((t={})[n]=0,t))}))}):(0,eg.set)(t,"tooltip",Oo(Oo({},i),{items:[function(e,t,n){return{name:o(e,t,n),value:0}}]})))}return e},AV)(e)}var Ol=(_=function(e,t){return(_=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}_(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Oc=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="pie",t}return Ol(t,e),t.getDefaultOptions=function(){return{type:"view",children:[{type:"interval"}],coordinate:{type:"theta"},transform:[{type:"stackY",reverse:!0}],animate:{enter:{type:"waveIn"}}}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return Os},t}(AG);function Ou(e){return(0,eg.flow)(AK,AV)(e)}var Od=(k=function(e,t){return(k=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}k(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Op=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="scatter",t}return Od(t,e),t.getDefaultOptions=function(){return{axis:{y:{title:!1},x:{title:!1}},legend:{size:!1},children:[{type:"point"}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return Ou},t}(AG);function Of(e){return(0,eg.flow)(function(e){return(0,eg.set)(e,"options.coordinate",{type:(0,eg.get)(e,"options.coordinateType","polar")}),e},AV)(e)}var Oh=(x=function(e,t){return(x=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}x(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Og=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="radar",t}return Oh(t,e),t.getDefaultOptions=function(){return{axis:{x:{grid:!0,line:!0},y:{zIndex:1,title:!1,line:!0,nice:!0}},meta:{x:{padding:.5,align:0}},interaction:{tooltip:{style:{crosshairsLineDash:[4,4]}}},children:[{type:"line"}],coordinateType:"polar"}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return Of},t}(AG),Om=function(){return(Om=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&(t.x1=e[r],t.x2=t[r],t.y1=e[OH]),t},[]),o.shift(),a.push({type:"link",xField:["x1","x2"],yField:"y1",zIndex:-1,data:o,style:Oz({stroke:"#697474"},i),label:!1,tooltip:!1}),e},AK,AV)(e)}var OV=(P=function(e,t){return(P=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}P(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),OY=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="waterfall",t}return OV(t,e),t.getDefaultOptions=function(){return{type:"view",legend:null,tooltip:{field:O$,valueFormatter:"~s",name:"value"},axis:{y:{title:null,labelFormatter:"~s"},x:{title:null}},children:[{type:"interval",interaction:{elementHighlight:{background:!0}}}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return OW},t}(AG);function Oq(e){return(0,eg.flow)(function(e){var t=e.options,n=t.data,r=t.binNumber,a=t.binWidth,i=t.children,o=t.channel,s=void 0===o?"count":o,l=(0,eg.get)(i,"[0].transform[0]",{});return(0,eg.isNumber)(a)?((0,eg.assign)(l,{thresholds:(0,eg.ceil)((0,eg.divide)(n.length,a)),y:s}),e):((0,eg.isNumber)(r)&&(0,eg.assign)(l,{thresholds:r,y:s}),e)},AK,AV)(e)}var OK=(M=function(e,t){return(M=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}M(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),OX=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="Histogram",t}return OK(t,e),t.getDefaultOptions=function(){return{type:"view",autoFit:!0,axis:{y:{title:!1},x:{title:!1}},children:[{type:"rect",transform:[{type:"binX",y:"count"}],interaction:{elementHighlight:{background:!0}}}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return Oq},t}(AG);function OQ(e){return(0,eg.flow)(function(e){var t=e.options,n=t.tooltip,r=void 0===n?{}:n,a=t.colorField,i=t.sizeField;return r&&!r.field&&(r.field=a||i),e},function(e){var t=e.options,n=t.mark,r=t.children;return n&&(r[0].type=n),e},AK,AV)(e)}var OJ=(F=function(e,t){return(F=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}F(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),O0=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="heatmap",t}return OJ(t,e),t.getDefaultOptions=function(){return{type:"view",legend:null,tooltip:{valueFormatter:"~s"},axis:{y:{title:null,grid:!0},x:{title:null,grid:!0}},children:[{type:"point",interaction:{elementHighlight:{background:!0}}}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return OQ},t}(AG);function O1(e){return(0,eg.flow)(function(e){var t=e.options.boxType;return e.options.children[0].type=void 0===t?"box":t,e},AK,AV)(e)}var O2=(B=function(e,t){return(B=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}B(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),O3=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="box",t}return O2(t,e),t.getDefaultOptions=function(){return{type:"view",children:[{type:"box"}],axis:{y:{title:!1},x:{title:!1}},tooltip:{items:[{name:"min",channel:"y"},{name:"q1",channel:"y1"},{name:"q2",channel:"y2"},{name:"q3",channel:"y3"},{name:"max",channel:"y4"}]}}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return O1},t}(AG);function O5(e){return(0,eg.flow)(function(e){var t=e.options,n=t.data,r=[{type:"custom",callback:function(e){return{links:e}}}];if((0,eg.isArray)(n))n.length>0?(0,eg.set)(t,"data",{value:n,transform:r}):delete t.children;else if("fetch"===(0,eg.get)(n,"type")&&(0,eg.get)(n,"value")){var a=(0,eg.get)(n,"transform");(0,eg.isArray)(a)?(0,eg.set)(n,"transform",a.concat(r)):(0,eg.set)(n,"transform",r)}return e},AK,AV)(e)}var O4=(j=function(e,t){return(j=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}j(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),O6=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="sankey",t}return O4(t,e),t.getDefaultOptions=function(){return{type:"view",children:[{type:"sankey"}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return O5},t}(AG);function O9(e){t=e.options.layout,e.options.coordinate.transform="horizontal"!==(void 0===t?"horizontal":t)?void 0:[{type:"transpose"}];var t,n=e.options.layout,r=void 0===n?"horizontal":n;return e.options.children.forEach(function(e){var t;(null===(t=null==e?void 0:e.coordinate)||void 0===t?void 0:t.transform)&&(e.coordinate.transform="horizontal"!==r?void 0:[{type:"transpose"}])}),e}var O8=function(){return(O8=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},_G=(0,em.forwardRef)(function(e,t){var n,r,a,i,o,s,l,c,u,d=e.chartType,p=_U(e,["chartType"]),f=p.containerStyle,h=p.containerAttributes,g=void 0===h?{}:h,m=p.className,b=p.loading,y=p.loadingTemplate,E=p.errorTemplate,v=_U(p,["containerStyle","containerAttributes","className","loading","loadingTemplate","errorTemplate"]),T=(n=_B[void 0===d?"Base":d],r=(0,em.useRef)(),a=(0,em.useRef)(),i=(0,em.useRef)(null),o=v.onReady,s=v.onEvent,l=function(e,t){void 0===e&&(e="image/png");var n,r=null===(n=i.current)||void 0===n?void 0:n.getElementsByTagName("canvas")[0];return null==r?void 0:r.toDataURL(e,t)},c=function(e,t,n){void 0===e&&(e="download"),void 0===t&&(t="image/png");var r=e;-1===e.indexOf(".")&&(r="".concat(e,".").concat(t.split("/")[1]));var a=l(t,n),i=document.createElement("a");return i.href=a,i.download=r,document.body.appendChild(i),i.click(),document.body.removeChild(i),i=null,r},u=function(e,t){void 0===t&&(t=!1);var n=Object.keys(e),r=t;n.forEach(function(n){var a,i=e[n];("tooltip"===n&&(r=!0),(0,eg.isFunction)(i)&&(a="".concat(i),/react|\.jsx|children:\[\(|return\s+[A-Za-z0-9].createElement\((?!['"][g|circle|ellipse|image|rect|line|polyline|polygon|text|path|html|mesh]['"])([^\)])*,/i.test(a)))?e[n]=function(){for(var e=[],t=0;t1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return(function(e){if(0===e.length||1===e.length)return e;var t,n=e.join(".");return p[n]||(p[n]=0===(t=e.length)||1===t?e:2===t?[e[0],e[1],"".concat(e[0],".").concat(e[1]),"".concat(e[1],".").concat(e[0])]:3===t?[e[0],e[1],e[2],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0])]:t>=4?[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]:void 0),p[n]})(e.filter(function(e){return"token"!==e})).reduce(function(e,t){return d(d({},e),n[t])},t)}(s.className,Object.assign({},s.style,void 0===a?{}:a),r)})}else m=d(d({},s),{},{className:s.className.join(" ")});var T=b(n.children);return l.createElement(f,(0,c.Z)({key:o},m),T)}}({node:e,stylesheet:n,useInlineStyles:r,key:"code-segement".concat(t)})})}function S(e){return e&&void 0!==e.highlightAuto}var A=n(98695),O=(r=n.n(A)(),a={'code[class*="language-"]':{color:"black",background:"none",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"black",background:"#f5f2f0",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},':not(pre) > code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},function(e){var t=e.language,n=e.children,s=e.style,c=void 0===s?a:s,u=e.customStyle,d=void 0===u?{}:u,p=e.codeTagProps,h=void 0===p?{className:t?"language-".concat(t):void 0,style:g(g({},c['code[class*="language-"]']),c['code[class*="language-'.concat(t,'"]')])}:p,A=e.useInlineStyles,O=void 0===A||A,_=e.showLineNumbers,k=void 0!==_&&_,x=e.showInlineLineNumbers,C=void 0===x||x,w=e.startingLineNumber,I=void 0===w?1:w,R=e.lineNumberContainerStyle,N=e.lineNumberStyle,L=void 0===N?{}:N,D=e.wrapLines,P=e.wrapLongLines,M=void 0!==P&&P,F=e.lineProps,B=void 0===F?{}:F,j=e.renderer,U=e.PreTag,G=void 0===U?"pre":U,H=e.CodeTag,$=void 0===H?"code":H,z=e.code,Z=void 0===z?(Array.isArray(n)?n[0]:n)||"":z,W=e.astGenerator,V=(0,i.Z)(e,f);W=W||r;var Y=k?l.createElement(b,{containerStyle:R,codeStyle:h.style||{},numberStyle:L,startingLineNumber:I,codeString:Z}):null,q=c.hljs||c['pre[class*="language-"]']||{backgroundColor:"#fff"},K=S(W)?"hljs":"prismjs",X=O?Object.assign({},V,{style:Object.assign({},q,d)}):Object.assign({},V,{className:V.className?"".concat(K," ").concat(V.className):K,style:Object.assign({},d)});if(M?h.style=g(g({},h.style),{},{whiteSpace:"pre-wrap"}):h.style=g(g({},h.style),{},{whiteSpace:"pre"}),!W)return l.createElement(G,X,Y,l.createElement($,h,Z));(void 0===D&&j||M)&&(D=!0),j=j||T;var Q=[{type:"text",value:Z}],J=function(e){var t=e.astGenerator,n=e.language,r=e.code,a=e.defaultCodeValue;if(S(t)){var i=-1!==t.listLanguages().indexOf(n);return"text"===n?{value:a,language:"text"}:i?t.highlight(n,r):t.highlightAuto(r)}try{return n&&"text"!==n?{value:t.highlight(r,n)}:{value:a}}catch(e){return{value:a}}}({astGenerator:W,language:t,code:Z,defaultCodeValue:Q});null===J.language&&(J.value=Q);var ee=J.value.length+I,et=function(e,t,n,r,a,i,s,l,c){var u,d=function e(t){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=0;a2&&void 0!==arguments[2]?arguments[2]:[];return t||o.length>0?function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return v({children:e,lineNumber:t,lineNumberStyle:l,largestLineNumber:s,showInlineLineNumbers:a,lineProps:n,className:i,showLineNumbers:r,wrapLongLines:c})}(e,i,o):function(e,t){if(r&&t&&a){var n=E(l,t,s);e.unshift(y(t,n))}return e}(e,i)}for(;h code[class*="language-"]':{background:"#111b27",padding:"0.1em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"#8da1b9"},prolog:{color:"#8da1b9"},doctype:{color:"#8da1b9"},cdata:{color:"#8da1b9"},punctuation:{color:"#e3eaf2"},"delimiter.important":{color:"#66cccc",fontWeight:"inherit"},"selector.parent":{color:"#66cccc"},tag:{color:"#66cccc"},"tag.punctuation":{color:"#66cccc"},"attr-name":{color:"#e6d37a"},boolean:{color:"#e6d37a"},"boolean.important":{color:"#e6d37a"},number:{color:"#e6d37a"},constant:{color:"#e6d37a"},"selector.attribute":{color:"#e6d37a"},"class-name":{color:"#6cb8e6"},key:{color:"#6cb8e6"},parameter:{color:"#6cb8e6"},property:{color:"#6cb8e6"},"property-access":{color:"#6cb8e6"},variable:{color:"#6cb8e6"},"attr-value":{color:"#91d076"},inserted:{color:"#91d076"},color:{color:"#91d076"},"selector.value":{color:"#91d076"},string:{color:"#91d076"},"string.url-link":{color:"#91d076"},builtin:{color:"#f4adf4"},"keyword-array":{color:"#f4adf4"},package:{color:"#f4adf4"},regex:{color:"#f4adf4"},function:{color:"#c699e3"},"selector.class":{color:"#c699e3"},"selector.id":{color:"#c699e3"},"atrule.rule":{color:"#e9ae7e"},combinator:{color:"#e9ae7e"},keyword:{color:"#e9ae7e"},operator:{color:"#e9ae7e"},"pseudo-class":{color:"#e9ae7e"},"pseudo-element":{color:"#e9ae7e"},selector:{color:"#e9ae7e"},unit:{color:"#e9ae7e"},deleted:{color:"#cd6660"},important:{color:"#cd6660",fontWeight:"bold"},"keyword-this":{color:"#6cb8e6",fontWeight:"bold"},this:{color:"#6cb8e6",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},entity:{cursor:"help"},".language-markdown .token.title":{color:"#6cb8e6",fontWeight:"bold"},".language-markdown .token.title .token.punctuation":{color:"#6cb8e6",fontWeight:"bold"},".language-markdown .token.blockquote.punctuation":{color:"#f4adf4"},".language-markdown .token.code":{color:"#66cccc"},".language-markdown .token.hr.punctuation":{color:"#6cb8e6"},".language-markdown .token.url .token.content":{color:"#91d076"},".language-markdown .token.url-link":{color:"#e6d37a"},".language-markdown .token.list.punctuation":{color:"#f4adf4"},".language-markdown .token.table-header":{color:"#e3eaf2"},".language-json .token.operator":{color:"#e3eaf2"},".language-scss .token.variable":{color:"#66cccc"},"token.tab:not(:empty):before":{color:"#8da1b9"},"token.cr:before":{color:"#8da1b9"},"token.lf:before":{color:"#8da1b9"},"token.space:before":{color:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{color:"#111b27",background:"#6cb8e6"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{color:"#111b27",background:"#6cb8e6"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{color:"#111b27",background:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{color:"#111b27",background:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{color:"#111b27",background:"#8da1b9"},".line-highlight.line-highlight":{background:"linear-gradient(to right, #3c526d5f 70%, #3c526d55)"},".line-highlight.line-highlight:before":{backgroundColor:"#8da1b9",color:"#111b27",boxShadow:"0 1px #3c526d"},".line-highlight.line-highlight[data-end]:after":{backgroundColor:"#8da1b9",color:"#111b27",boxShadow:"0 1px #3c526d"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"#8da1b918"},".line-numbers.line-numbers .line-numbers-rows":{borderRight:"1px solid #0b121b",background:"#0b121b7a"},".line-numbers .line-numbers-rows > span:before":{color:"#8da1b9da"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"#c699e3"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"#c699e3"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"#c699e3"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"#cd66601f"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"#cd66601f"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"#91d0761f"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"#91d0761f"},".command-line .command-line-prompt":{borderRight:"1px solid #0b121b"},".command-line .command-line-prompt > span:before":{color:"#8da1b9da"}}},12187:function(e,t){"use strict";t.Z={'code[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"]::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},prolog:{color:"hsl(220, 10%, 40%)"},cdata:{color:"hsl(220, 10%, 40%)"},doctype:{color:"hsl(220, 14%, 71%)"},punctuation:{color:"hsl(220, 14%, 71%)"},entity:{color:"hsl(220, 14%, 71%)",cursor:"help"},"attr-name":{color:"hsl(29, 54%, 61%)"},"class-name":{color:"hsl(29, 54%, 61%)"},boolean:{color:"hsl(29, 54%, 61%)"},constant:{color:"hsl(29, 54%, 61%)"},number:{color:"hsl(29, 54%, 61%)"},atrule:{color:"hsl(29, 54%, 61%)"},keyword:{color:"hsl(286, 60%, 67%)"},property:{color:"hsl(355, 65%, 65%)"},tag:{color:"hsl(355, 65%, 65%)"},symbol:{color:"hsl(355, 65%, 65%)"},deleted:{color:"hsl(355, 65%, 65%)"},important:{color:"hsl(355, 65%, 65%)"},selector:{color:"hsl(95, 38%, 62%)"},string:{color:"hsl(95, 38%, 62%)"},char:{color:"hsl(95, 38%, 62%)"},builtin:{color:"hsl(95, 38%, 62%)"},inserted:{color:"hsl(95, 38%, 62%)"},regex:{color:"hsl(95, 38%, 62%)"},"attr-value":{color:"hsl(95, 38%, 62%)"},"attr-value > .token.punctuation":{color:"hsl(95, 38%, 62%)"},variable:{color:"hsl(207, 82%, 66%)"},operator:{color:"hsl(207, 82%, 66%)"},function:{color:"hsl(207, 82%, 66%)"},url:{color:"hsl(187, 47%, 55%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(220, 14%, 71%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(220, 14%, 71%)"},".language-css .token.selector":{color:"hsl(355, 65%, 65%)"},".language-css .token.property":{color:"hsl(220, 14%, 71%)"},".language-css .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.string.url":{color:"hsl(95, 38%, 62%)"},".language-css .token.important":{color:"hsl(286, 60%, 67%)"},".language-css .token.atrule .token.rule":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.operator":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(5, 48%, 51%)"},".language-json .token.operator":{color:"hsl(220, 14%, 71%)"},".language-json .token.null.keyword":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.url":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.operator":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.content":{color:"hsl(207, 82%, 66%)"},".language-markdown .token.url > .token.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.url-reference.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(95, 38%, 62%)"},".language-markdown .token.bold .token.content":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.italic .token.content":{color:"hsl(286, 60%, 67%)"},".language-markdown .token.strike .token.content":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.list.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(355, 65%, 65%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.cr:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.lf:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.space:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},".line-highlight.line-highlight":{background:"hsla(220, 100%, 80%, 0.04)"},".line-highlight.line-highlight:before":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(220, 100%, 80%, 0.04)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".command-line .command-line-prompt":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(220, 14%, 45%)"},".command-line .command-line-prompt > span:before":{color:"hsl(220, 14%, 45%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(286, 60%, 67%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(224, 13%, 17%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(224, 13%, 17%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(224, 13%, 17%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(224, 13%, 17%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(219, 13%, 22%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(220, 14%, 71%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(220, 14%, 71%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(220, 14%, 71%)"}}},89144:function(e,t){"use strict";t.Z={'code[class*="language-"]':{background:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"] *::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"]::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"] *::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'pre[class*="language-"] *::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},prolog:{color:"hsl(230, 4%, 64%)"},cdata:{color:"hsl(230, 4%, 64%)"},doctype:{color:"hsl(230, 8%, 24%)"},punctuation:{color:"hsl(230, 8%, 24%)"},entity:{color:"hsl(230, 8%, 24%)",cursor:"help"},"attr-name":{color:"hsl(35, 99%, 36%)"},"class-name":{color:"hsl(35, 99%, 36%)"},boolean:{color:"hsl(35, 99%, 36%)"},constant:{color:"hsl(35, 99%, 36%)"},number:{color:"hsl(35, 99%, 36%)"},atrule:{color:"hsl(35, 99%, 36%)"},keyword:{color:"hsl(301, 63%, 40%)"},property:{color:"hsl(5, 74%, 59%)"},tag:{color:"hsl(5, 74%, 59%)"},symbol:{color:"hsl(5, 74%, 59%)"},deleted:{color:"hsl(5, 74%, 59%)"},important:{color:"hsl(5, 74%, 59%)"},selector:{color:"hsl(119, 34%, 47%)"},string:{color:"hsl(119, 34%, 47%)"},char:{color:"hsl(119, 34%, 47%)"},builtin:{color:"hsl(119, 34%, 47%)"},inserted:{color:"hsl(119, 34%, 47%)"},regex:{color:"hsl(119, 34%, 47%)"},"attr-value":{color:"hsl(119, 34%, 47%)"},"attr-value > .token.punctuation":{color:"hsl(119, 34%, 47%)"},variable:{color:"hsl(221, 87%, 60%)"},operator:{color:"hsl(221, 87%, 60%)"},function:{color:"hsl(221, 87%, 60%)"},url:{color:"hsl(198, 99%, 37%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(230, 8%, 24%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(230, 8%, 24%)"},".language-css .token.selector":{color:"hsl(5, 74%, 59%)"},".language-css .token.property":{color:"hsl(230, 8%, 24%)"},".language-css .token.function":{color:"hsl(198, 99%, 37%)"},".language-css .token.url > .token.function":{color:"hsl(198, 99%, 37%)"},".language-css .token.url > .token.string.url":{color:"hsl(119, 34%, 47%)"},".language-css .token.important":{color:"hsl(301, 63%, 40%)"},".language-css .token.atrule .token.rule":{color:"hsl(301, 63%, 40%)"},".language-javascript .token.operator":{color:"hsl(301, 63%, 40%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(344, 84%, 43%)"},".language-json .token.operator":{color:"hsl(230, 8%, 24%)"},".language-json .token.null.keyword":{color:"hsl(35, 99%, 36%)"},".language-markdown .token.url":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url > .token.operator":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url > .token.content":{color:"hsl(221, 87%, 60%)"},".language-markdown .token.url > .token.url":{color:"hsl(198, 99%, 37%)"},".language-markdown .token.url-reference.url":{color:"hsl(198, 99%, 37%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(119, 34%, 47%)"},".language-markdown .token.bold .token.content":{color:"hsl(35, 99%, 36%)"},".language-markdown .token.italic .token.content":{color:"hsl(301, 63%, 40%)"},".language-markdown .token.strike .token.content":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.list.punctuation":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(5, 74%, 59%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.cr:before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.lf:before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.space:before":{color:"hsla(230, 8%, 24%, 0.2)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},".line-highlight.line-highlight":{background:"hsla(230, 8%, 24%, 0.05)"},".line-highlight.line-highlight:before":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 8%, 24%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 8%, 24%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(230, 8%, 24%, 0.05)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(230, 8%, 24%, 0.2)"},".command-line .command-line-prompt":{borderRightColor:"hsla(230, 8%, 24%, 0.2)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(230, 1%, 62%)"},".command-line .command-line-prompt > span:before":{color:"hsl(230, 1%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(301, 63%, 40%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(301, 63%, 40%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(301, 63%, 40%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(0, 0, 95%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(0, 0, 95%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(0, 0, 95%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(0, 0, 95%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(0, 0%, 100%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(0, 0%, 100%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(0, 0%, 100%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(230, 8%, 24%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(230, 8%, 24%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(230, 8%, 24%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(230, 8%, 24%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(230, 8%, 24%)"}}},2440:function(e,t,n){"use strict";var r=n(25519);t.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(r.C9))&&void 0!==e?e:"")}},39718:function(e,t,n){"use strict";var r=n(85893),a=n(19284),i=n(25675),o=n.n(i),s=n(67294);t.Z=(0,s.memo)(e=>{let{width:t,height:n,model:i}=e,l=(0,s.useMemo)(()=>(0,a.ab)(i||"huggingface"),[i]);return i?(0,r.jsx)(o(),{className:"rounded-full border border-gray-200 object-contain bg-white inline-block",width:t||24,height:n||24,src:l,alt:"llm",priority:!0}):null})},50948:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{noSSR:function(){return o},default:function(){return s}});let r=n(38754),a=(n(67294),r._(n(23900)));function i(e){return{default:(null==e?void 0:e.default)||e}}function o(e,t){return delete t.webpack,delete t.modules,e(t)}function s(e,t){let n=a.default,r={loading:e=>{let{error:t,isLoading:n,pastDelay:r}=e;return null}};e instanceof Promise?r.loader=()=>e:"function"==typeof e?r.loader=e:"object"==typeof e&&(r={...r,...e}),r={...r,...t};let s=r.loader;return(r.loadableGenerated&&(r={...r,...r.loadableGenerated},delete r.loadableGenerated),"boolean"!=typeof r.ssr||r.ssr)?n({...r,loader:()=>null!=s?s().then(i):Promise.resolve(i(()=>null))}):(delete r.webpack,delete r.modules,o(n,r))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2804:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return i}});let r=n(38754),a=r._(n(67294)),i=a.default.createContext(null)},23900:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});let r=n(38754),a=r._(n(67294)),i=n(2804),o=[],s=[],l=!1;function c(e){let t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then(e=>(n.loading=!1,n.loaded=e,e)).catch(e=>{throw n.loading=!1,n.error=e,e}),n}class u{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function d(e){return function(e,t){let n=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),r=null;function o(){if(!r){let t=new u(e,n);r={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return r.promise()}if(!l){let e=n.webpack?n.webpack():n.modules;e&&s.push(t=>{for(let n of e)if(t.includes(n))return o()})}function c(e,t){!function(){o();let e=a.default.useContext(i.LoadableContext);e&&Array.isArray(n.modules)&&n.modules.forEach(t=>{e(t)})}();let s=a.default.useSyncExternalStore(r.subscribe,r.getCurrentValue,r.getCurrentValue);return a.default.useImperativeHandle(t,()=>({retry:r.retry}),[]),a.default.useMemo(()=>{var t;return s.loading||s.error?a.default.createElement(n.loading,{isLoading:s.loading,pastDelay:s.pastDelay,timedOut:s.timedOut,error:s.error,retry:r.retry}):s.loaded?a.default.createElement((t=s.loaded)&&t.default?t.default:t,e):null},[e,s])}return c.preload=()=>o(),c.displayName="LoadableComponent",a.default.forwardRef(c)}(c,e)}function p(e,t){let n=[];for(;e.length;){let r=e.pop();n.push(r(t))}return Promise.all(n).then(()=>{if(e.length)return p(e,t)})}d.preloadAll=()=>new Promise((e,t)=>{p(o).then(e,t)}),d.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let n=()=>(l=!0,t());p(s,e).then(n,n)})),window.__NEXT_PRELOADREADY=d.preloadReady;let f=d},7332:function(e,t,n){"use strict";n.r(t);var r=n(85893),a=n(39718),i=n(18102),o=n(96074),s=n(93967),l=n.n(s),c=n(67294),u=n(73913),d=n(32966);t.default=(0,c.memo)(e=>{let{message:t,index:n}=e,{scene:s}=(0,c.useContext)(u.MobileChatContext),{context:p,model_name:f,role:h,thinking:g}=t,m=(0,c.useMemo)(()=>"view"===h,[h]),b=(0,c.useRef)(null),{value:y}=(0,c.useMemo)(()=>{if("string"!=typeof p)return{relations:[],value:"",cachePluginContext:[]};let[e,t]=p.split(" relations:"),n=t?t.split(","):[],r=[],a=0,i=e.replace(/]*>[^<]*<\/dbgpt-view>/gi,e=>{try{var t;let n=e.replaceAll("\n","\\n").replace(/<[^>]*>|<\/[^>]*>/gm,""),i=JSON.parse(n),o="".concat(a,"");return r.push({...i,result:E(null!==(t=i.result)&&void 0!==t?t:"")}),a++,o}catch(t){return console.log(t.message,t),e}});return{relations:n,cachePluginContext:r,value:i}},[p]),E=e=>e.replaceAll("\\n","\n").replace(/]+)>/gi,"
").replace(/]+)>/gi,"");return(0,r.jsxs)("div",{className:l()("flex w-full",{"justify-end":!m}),ref:b,children:[!m&&(0,r.jsx)("div",{className:"flex bg-[#0C75FC] text-white p-3 rounded-xl rounded-br-none",children:p}),m&&(0,r.jsxs)("div",{className:"flex max-w-full flex-col flex-wrap bg-white dark:bg-[rgba(255,255,255,0.16)] p-3 rounded-xl rounded-bl-none",children:["string"==typeof p&&"chat_agent"===s&&(0,r.jsx)(i.default,{children:null==y?void 0:y.replace(/]+)>/gi,"
").replace(/]+)>/gi,"")}),"string"==typeof p&&"chat_agent"!==s&&(0,r.jsx)(i.default,{children:E(y)}),g&&!p&&(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("span",{className:"flex text-sm text-[#1c2533] dark:text-white",children:"思考中"}),(0,r.jsxs)("div",{className:"flex",children:[(0,r.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse1"}),(0,r.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse2"}),(0,r.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse3"})]})]}),!g&&(0,r.jsx)(o.Z,{className:"my-2"}),(0,r.jsxs)("div",{className:l()("opacity-0 h-0 w-0",{"opacity-100 flex items-center justify-between gap-6 w-auto h-auto":!g}),children:[(0,r.jsx)(d.default,{content:t,index:n,chatDialogRef:b}),"chat_agent"!==s&&(0,r.jsxs)("div",{className:"flex gap-1 items-center",children:[(0,r.jsx)(a.Z,{width:14,height:14,model:f}),(0,r.jsx)("span",{className:"text-xs text-gray-500",children:f})]})]})]})]})})},5583:function(e,t,n){"use strict";n.r(t);var r=n(85893),a=n(85265),i=n(66309),o=n(25278),s=n(14726),l=n(67294);t.default=e=>{let{open:t,setFeedbackOpen:n,list:c,feedback:u,loading:d}=e,[p,f]=(0,l.useState)([]),[h,g]=(0,l.useState)("");return(0,r.jsx)(a.Z,{title:"你的反馈助我进步",placement:"bottom",open:t,onClose:()=>n(!1),destroyOnClose:!0,height:"auto",children:(0,r.jsxs)("div",{className:"flex flex-col w-full gap-4",children:[(0,r.jsx)("div",{className:"flex w-full flex-wrap gap-2",children:null==c?void 0:c.map(e=>{let t=p.findIndex(t=>t.reason_type===e.reason_type)>-1;return(0,r.jsx)(i.Z,{className:"text-sm text-[#525964] p-1 px-2 rounded-md cursor-pointer ".concat(t?"border-[#0c75fc] text-[#0c75fc]":""),onClick:()=>{f(t=>{let n=t.findIndex(t=>t.reason_type===e.reason_type);return n>-1?[...t.slice(0,n),...t.slice(n+1)]:[...t,e]})},children:e.reason},e.reason_type)})}),(0,r.jsx)(o.default.TextArea,{placeholder:"描述一下具体问题或更优的答案",className:"h-24 resize-none mb-2",value:h,onChange:e=>g(e.target.value.trim())}),(0,r.jsxs)("div",{className:"flex gap-2 justify-end",children:[(0,r.jsx)(s.ZP,{className:"w-16 h-8",onClick:()=>{n(!1)},children:"取消"}),(0,r.jsx)(s.ZP,{type:"primary",className:"min-w-16 h-8",onClick:async()=>{let e=p.map(e=>e.reason_type);await (null==u?void 0:u({feedback_type:"unlike",reason_types:e,remark:h}))},loading:d,children:"确认"})]})]})})}},32966:function(e,t,n){"use strict";n.r(t);var r=n(85893),a=n(76212),i=n(65429),o=n(15381),s=n(57132),l=n(65654),c=n(31418),u=n(96074),d=n(14726),p=n(93967),f=n.n(p),h=n(20640),g=n.n(h),m=n(67294),b=n(73913),y=n(5583);t.default=e=>{var t;let{content:n,index:p,chatDialogRef:h}=e,{conv_uid:E,history:v,scene:T}=(0,m.useContext)(b.MobileChatContext),{message:S}=c.Z.useApp(),[A,O]=(0,m.useState)(!1),[_,k]=(0,m.useState)(null==n?void 0:null===(t=n.feedback)||void 0===t?void 0:t.feedback_type),[x,C]=(0,m.useState)([]),w=async e=>{var t;let n=null==e?void 0:e.replace(/\trelations:.*/g,""),r=g()((null===(t=h.current)||void 0===t?void 0:t.textContent)||n);r?n?S.success("复制成功"):S.warning("内容复制为空"):S.error("复制失败")},{run:I,loading:R}=(0,l.Z)(async e=>await (0,a.Vx)((0,a.zx)({conv_uid:E,message_id:n.order+"",feedback_type:e.feedback_type,reason_types:e.reason_types,remark:e.remark})),{manual:!0,onSuccess:e=>{let[,t]=e;k(null==t?void 0:t.feedback_type),S.success("反馈成功"),O(!1)}}),{run:N}=(0,l.Z)(async()=>await (0,a.Vx)((0,a.Ir)({conv_uid:E,message_id:(null==n?void 0:n.order)+""})),{manual:!0,onSuccess:e=>{let[,t]=e;t&&(k("none"),S.success("操作成功"))}}),{run:L}=(0,l.Z)(async()=>await (0,a.Vx)((0,a.Jr)()),{manual:!0,onSuccess:e=>{let[,t]=e;C(t||[]),t&&O(!0)}}),{run:D,loading:P}=(0,l.Z)(async()=>await (0,a.Vx)((0,a.Ty)({conv_id:E,round_index:0})),{manual:!0,onSuccess:()=>{S.success("操作成功")}});return(0,r.jsxs)("div",{className:"flex items-center text-sm",children:[(0,r.jsxs)("div",{className:"flex gap-3",children:[(0,r.jsx)(i.Z,{className:f()("cursor-pointer",{"text-[#0C75FC]":"like"===_}),onClick:async()=>{if("like"===_){await N();return}await I({feedback_type:"like"})}}),(0,r.jsx)(o.Z,{className:f()("cursor-pointer",{"text-[#0C75FC]":"unlike"===_}),onClick:async()=>{if("unlike"===_){await N();return}await L()}}),(0,r.jsx)(y.default,{open:A,setFeedbackOpen:O,list:x,feedback:I,loading:R})]}),(0,r.jsx)(u.Z,{type:"vertical"}),(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)(s.Z,{className:"cursor-pointer",onClick:()=>w(n.context)}),v.length-1===p&&"chat_agent"===T&&(0,r.jsx)(d.ZP,{loading:P,size:"small",onClick:async()=>{await D()},className:"text-xs",children:"终止话题"})]})]})}},56397:function(e,t,n){"use strict";n.r(t);var r=n(85893),a=n(48218),i=n(58638),o=n(31418),s=n(45030),l=n(20640),c=n.n(l),u=n(67294),d=n(73913);t.default=(0,u.memo)(()=>{var e;let{appInfo:t}=(0,u.useContext)(d.MobileChatContext),{message:n}=o.Z.useApp(),[l,p]=(0,u.useState)(0);if(!(null==t?void 0:t.app_code))return null;let f=async()=>{let e=c()("dingtalk://dingtalkclient/page/link?url=".concat(encodeURIComponent(location.href),"&pc_slide=true"));n[e?"success":"error"](e?"复制成功":"复制失败")};return l>6&&n.info(JSON.stringify(window.navigator.userAgent),2,()=>{p(0)}),(0,r.jsxs)("header",{className:"flex w-full items-center justify-between bg-[rgba(255,255,255,0.9)] border dark:bg-black dark:border-[rgba(255,255,255,0.6)] rounded-xl mx-auto px-4 py-2 mb-4 sticky top-4 z-50 mt-4 shadow-md",children:[(0,r.jsxs)("div",{className:"flex gap-2 items-center",onClick:()=>p(l+1),children:[(0,r.jsx)(a.Z,{scene:(null==t?void 0:null===(e=t.team_context)||void 0===e?void 0:e.chat_scene)||"chat_agent",width:8,height:8}),(0,r.jsxs)("div",{className:"flex flex-col ml-2",children:[(0,r.jsx)(s.Z.Text,{className:"text-md font-bold line-clamp-2",children:null==t?void 0:t.app_name}),(0,r.jsx)(s.Z.Text,{className:"text-sm line-clamp-2",children:null==t?void 0:t.app_describe})]})]}),(0,r.jsx)("div",{onClick:f,className:"flex items-center justify-center w-10 h-10 bg-[#ffffff99] dark:bg-[rgba(255,255,255,0.2)] border border-white dark:border-[rgba(255,255,255,0.2)] rounded-[50%] cursor-pointer",children:(0,r.jsx)(i.Z,{className:"text-lg"})})]})})},74638:function(e,t,n){"use strict";n.r(t);var r=n(85893),a=n(76212),i=n(62418),o=n(25519),s=n(30159),l=n(87740),c=n(50888),u=n(52645),d=n(27496),p=n(1375),f=n(65654),h=n(66309),g=n(55241),m=n(74330),b=n(25278),y=n(14726),E=n(93967),v=n.n(E),T=n(39332),S=n(67294),A=n(73913),O=n(7001),_=n(73749),k=n(97109),x=n(83454);let C=["magenta","orange","geekblue","purple","cyan","green"];t.default=()=>{var e,t;let n=(0,T.useSearchParams)(),E=null!==(t=null==n?void 0:n.get("ques"))&&void 0!==t?t:"",{history:w,model:I,scene:R,temperature:N,resource:L,conv_uid:D,appInfo:P,scrollViewRef:M,order:F,userInput:B,ctrl:j,canAbort:U,canNewChat:G,setHistory:H,setCanNewChat:$,setCarAbort:z,setUserInput:Z}=(0,S.useContext)(A.MobileChatContext),[W,V]=(0,S.useState)(!1),[Y,q]=(0,S.useState)(!1),K=async e=>{var t,n,r;Z(""),j.current=new AbortController;let a={chat_mode:R,model_name:I,user_input:e||B,conv_uid:D,temperature:N,app_code:null==P?void 0:P.app_code,...L&&{select_param:JSON.stringify(L)}};if(w&&w.length>0){let e=null==w?void 0:w.filter(e=>"view"===e.role);F.current=e[e.length-1].order+1}let s=[{role:"human",context:e||B,model_name:I,order:F.current,time_stamp:0},{role:"view",context:"",model_name:I,order:F.current,time_stamp:0,thinking:!0}],l=s.length-1;H([...w,...s]),$(!1);try{await (0,p.L)("".concat(null!==(t=x.env.API_BASE_URL)&&void 0!==t?t:"","/api/v1/chat/completions"),{method:"POST",headers:{"Content-Type":"application/json",[o.gp]:null!==(n=(0,i.n5)())&&void 0!==n?n:""},signal:j.current.signal,body:JSON.stringify(a),openWhenHidden:!0,async onopen(e){if(e.ok&&e.headers.get("content-type")===p.a)return},onclose(){var e;null===(e=j.current)||void 0===e||e.abort(),$(!0),z(!1)},onerror(e){throw Error(e)},onmessage:e=>{let t=e.data;try{t=JSON.parse(t).vis}catch(e){t.replaceAll("\\n","\n")}"[DONE]"===t?($(!0),z(!1)):(null==t?void 0:t.startsWith("[ERROR]"))?(s[l].context=null==t?void 0:t.replace("[ERROR]",""),s[l].thinking=!1,H([...w,...s]),$(!0),z(!1)):(z(!0),s[l].context=t,s[l].thinking=!1,H([...w,...s]))}})}catch(e){null===(r=j.current)||void 0===r||r.abort(),s[l].context="Sorry, we meet some error, please try again later.",s[l].thinking=!1,H([...s]),$(!0),z(!1)}},X=async()=>{B.trim()&&G&&await K()};(0,S.useEffect)(()=>{var e,t;null===(e=M.current)||void 0===e||e.scrollTo({top:null===(t=M.current)||void 0===t?void 0:t.scrollHeight,behavior:"auto"})},[w,M]);let Q=(0,S.useMemo)(()=>{if(!P)return[];let{param_need:e=[]}=P;return null==e?void 0:e.map(e=>e.type)},[P]),J=(0,S.useMemo)(()=>{var e;return 0===w.length&&P&&!!(null==P?void 0:null===(e=P.recommend_questions)||void 0===e?void 0:e.length)},[w,P]),{run:ee,loading:et}=(0,f.Z)(async()=>await (0,a.Vx)((0,a.zR)(D)),{manual:!0,onSuccess:()=>{H([])}});return(0,S.useEffect)(()=>{E&&I&&D&&P&&K(E)},[P,D,I,E]),(0,r.jsxs)("div",{className:"flex flex-col",children:[J&&(0,r.jsx)("ul",{children:null==P?void 0:null===(e=P.recommend_questions)||void 0===e?void 0:e.map((e,t)=>(0,r.jsx)("li",{className:"mb-3",children:(0,r.jsx)(h.Z,{color:C[t],className:"p-2 rounded-xl",onClick:async()=>{K(e.question)},children:e.question})},e.id))}),(0,r.jsxs)("div",{className:"flex items-center justify-between gap-1",children:[(0,r.jsxs)("div",{className:"flex gap-2 mb-1 w-full overflow-x-auto",children:[(null==Q?void 0:Q.includes("model"))&&(0,r.jsx)(O.default,{}),(null==Q?void 0:Q.includes("resource"))&&(0,r.jsx)(_.default,{}),(null==Q?void 0:Q.includes("temperature"))&&(0,r.jsx)(k.default,{})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between text-lg font-bold",children:[(0,r.jsx)(g.Z,{content:"暂停回复",trigger:["hover"],children:(0,r.jsx)(s.Z,{className:v()("p-2 cursor-pointer",{"text-[#0c75fc]":U,"text-gray-400":!U}),onClick:()=>{var e;U&&(null===(e=j.current)||void 0===e||e.abort(),setTimeout(()=>{z(!1),$(!0)},100))}})}),(0,r.jsx)(g.Z,{content:"再来一次",trigger:["hover"],children:(0,r.jsx)(l.Z,{className:v()("p-2 cursor-pointer",{"text-gray-400":!w.length||!G}),onClick:()=>{var e,t;if(!G||0===w.length)return;let n=null===(e=null===(t=w.filter(e=>"human"===e.role))||void 0===t?void 0:t.slice(-1))||void 0===e?void 0:e[0];K((null==n?void 0:n.context)||"")}})}),et?(0,r.jsx)(m.Z,{spinning:et,indicator:(0,r.jsx)(c.Z,{style:{fontSize:18},spin:!0}),className:"p-2"}):(0,r.jsx)(g.Z,{content:"清除历史",trigger:["hover"],children:(0,r.jsx)(u.Z,{className:v()("p-2 cursor-pointer",{"text-gray-400":!w.length||!G}),onClick:()=>{G&&ee()}})})]})]}),(0,r.jsxs)("div",{className:v()("flex py-2 px-3 items-center justify-between bg-white dark:bg-[#242733] dark:border-[#6f7f95] rounded-xl border",{"border-[#0c75fc] dark:border-[rgba(12,117,252,0.8)]":W}),children:[(0,r.jsx)(b.default.TextArea,{placeholder:"可以问我任何问题",className:"w-full resize-none border-0 p-0 focus:shadow-none",value:B,autoSize:{minRows:1},onKeyDown:e=>{if("Enter"===e.key&&!e.shiftKey){if(Y){e.preventDefault();return}B.trim()&&(e.preventDefault(),X())}},onChange:e=>{Z(e.target.value)},onFocus:()=>{V(!0)},onBlur:()=>V(!1),onCompositionStartCapture:()=>{q(!0)},onCompositionEndCapture:()=>{setTimeout(()=>{q(!1)},0)}}),(0,r.jsx)(y.ZP,{type:"primary",className:v()("flex items-center justify-center rounded-lg bg-button-gradient border-0 ml-2",{"opacity-40 cursor-not-allowed":!B.trim()||!G}),onClick:X,children:G?(0,r.jsx)(d.Z,{}):(0,r.jsx)(m.Z,{indicator:(0,r.jsx)(c.Z,{className:"text-white"})})})]})]})}},7001:function(e,t,n){"use strict";n.r(t);var r=n(85893),a=n(41468),i=n(39718),o=n(94668),s=n(85418),l=n(55241),c=n(67294),u=n(73913);t.default=()=>{let{modelList:e}=(0,c.useContext)(a.p),{model:t,setModel:n}=(0,c.useContext)(u.MobileChatContext),d=(0,c.useMemo)(()=>e.length>0?e.map(e=>({label:(0,r.jsxs)("div",{className:"flex items-center gap-2",onClick:()=>{n(e)},children:[(0,r.jsx)(i.Z,{width:14,height:14,model:e}),(0,r.jsx)("span",{className:"text-xs",children:e})]}),key:e})):[],[e,n]);return(0,r.jsx)(s.Z,{menu:{items:d},placement:"top",trigger:["click"],children:(0,r.jsx)(l.Z,{content:t,children:(0,r.jsxs)("div",{className:"flex items-center gap-1 border rounded-xl bg-white dark:bg-black p-2 flex-shrink-0",children:[(0,r.jsx)(i.Z,{width:16,height:16,model:t}),(0,r.jsx)("span",{className:"text-xs font-medium line-clamp-1",style:{maxWidth:96},children:t}),(0,r.jsx)(o.Z,{rotate:90})]})})})}},46568:function(e,t,n){"use strict";n.r(t);var r=n(85893),a=n(25675),i=n.n(a),o=n(67294);t.default=(0,o.memo)(e=>{let{width:t,height:n,src:a,label:o}=e;return(0,r.jsx)(i(),{width:t||14,height:n||14,src:a,alt:o||"db-icon",priority:!0})})},73749:function(e,t,n){"use strict";n.r(t);var r=n(85893),a=n(76212),i=n(57249),o=n(62418),s=n(50888),l=n(94668),c=n(83266),u=n(65654),d=n(74330),p=n(23799),f=n(85418),h=n(67294),g=n(73913),m=n(46568);t.default=()=>{let{appInfo:e,resourceList:t,scene:n,model:b,conv_uid:y,getChatHistoryRun:E,setResource:v,resource:T}=(0,h.useContext)(g.MobileChatContext),{temperatureValue:S,maxNewTokensValue:A}=(0,h.useContext)(i.ChatContentContext),[O,_]=(0,h.useState)(null),k=(0,h.useMemo)(()=>{var t,n,r;return null===(t=null==e?void 0:null===(n=e.param_need)||void 0===n?void 0:n.filter(e=>"resource"===e.type))||void 0===t?void 0:null===(r=t[0])||void 0===r?void 0:r.value},[e]),x=(0,h.useMemo)(()=>t&&t.length>0?t.map(e=>({label:(0,r.jsxs)("div",{className:"flex items-center gap-2",onClick:()=>{_(e),v(e.space_id||e.param)},children:[(0,r.jsx)(m.default,{width:14,height:14,src:o.S$[e.type].icon,label:o.S$[e.type].label}),(0,r.jsx)("span",{className:"text-xs",children:e.param})]}),key:e.space_id||e.param})):[],[t,v]),{run:C,loading:w}=(0,u.Z)(async e=>{let[,t]=await (0,a.Vx)((0,a.qn)({convUid:y,chatMode:n,data:e,model:b,temperatureValue:S,maxNewTokensValue:A,config:{timeout:36e5}}));return v(t),t},{manual:!0,onSuccess:async()=>{await E()}}),I=async e=>{let t=new FormData;t.append("doc_file",null==e?void 0:e.file),await C(t)},R=(0,h.useMemo)(()=>w?(0,r.jsxs)("div",{className:"flex items-center gap-1",children:[(0,r.jsx)(d.Z,{size:"small",indicator:(0,r.jsx)(s.Z,{spin:!0})}),(0,r.jsx)("span",{className:"text-xs",children:"上传中"})]}):T?(0,r.jsxs)("div",{className:"flex gap-1",children:[(0,r.jsx)("span",{className:"text-xs",children:T.file_name}),(0,r.jsx)(l.Z,{rotate:90})]}):(0,r.jsxs)("div",{className:"flex items-center gap-1",children:[(0,r.jsx)(c.Z,{className:"text-base"}),(0,r.jsx)("span",{className:"text-xs",children:"上传文件"})]}),[w,T]);return(0,r.jsx)(r.Fragment,{children:(()=>{switch(k){case"excel_file":case"text_file":case"image_file":return(0,r.jsx)("div",{className:"flex items-center justify-center gap-1 border rounded-xl bg-white dark:bg-black px-2 flex-shrink-0",children:(0,r.jsx)(p.default,{name:"file",accept:".xlsx,.xls",maxCount:1,showUploadList:!1,beforeUpload:()=>!1,onChange:I,className:"flex h-full w-full items-center justify-center",children:R})});case"database":case"knowledge":case"plugin":case"awel_flow":var e,n,a,i,s;if(!(null==t?void 0:t.length))return null;return(0,r.jsx)(f.Z,{menu:{items:x},placement:"top",trigger:["click"],children:(0,r.jsxs)("div",{className:"flex items-center gap-1 border rounded-xl bg-white dark:bg-black p-2 flex-shrink-0",children:[(0,r.jsx)(m.default,{width:14,height:14,src:null===(e=o.S$[(null==O?void 0:O.type)||(null==t?void 0:null===(n=t[0])||void 0===n?void 0:n.type)])||void 0===e?void 0:e.icon,label:null===(a=o.S$[(null==O?void 0:O.type)||(null==t?void 0:null===(i=t[0])||void 0===i?void 0:i.type)])||void 0===a?void 0:a.label}),(0,r.jsx)("span",{className:"text-xs font-medium",children:(null==O?void 0:O.param)||(null==t?void 0:null===(s=t[0])||void 0===s?void 0:s.param)}),(0,r.jsx)(l.Z,{rotate:90})]})})}})()})}},97109:function(e,t,n){"use strict";n.r(t);var r=n(85893),a=n(70065),i=n(85418),o=n(30568),s=n(67294),l=n(73913);t.default=()=>{let{temperature:e,setTemperature:t}=(0,s.useContext)(l.MobileChatContext),n=e=>{isNaN(e)||t(e)};return(0,r.jsx)(i.Z,{trigger:["click"],dropdownRender:()=>(0,r.jsx)("div",{className:"flex h-28 bg-white dark:bg-[rgba(255,255,255,0.5)] items-center justify-center rounded-xl py-3",children:(0,r.jsx)(o.Z,{defaultValue:.5,max:1,min:0,step:.1,vertical:!0,onChange:n,value:e})}),placement:"top",children:(0,r.jsxs)("div",{className:"flex items-center justify-between border rounded-xl bg-white dark:bg-black w-14 p-2 flex-shrink-0",children:[(0,r.jsx)(a.Z,{type:"icon-icons-temperature",className:"text-sm"}),(0,r.jsx)("span",{className:"text-xs font-medium",children:e})]})})}},73913:function(e,t,n){"use strict";n.r(t),n.d(t,{MobileChatContext:function(){return v}});var r=n(85893),a=n(41468),i=n(76212),o=n(2440),s=n(62418),l=n(25519),c=n(1375),u=n(65654),d=n(74330),p=n(5152),f=n.n(p),h=n(39332),g=n(67294),m=n(56397),b=n(74638),y=n(83454);let E=f()(()=>Promise.all([n.e(7034),n.e(6106),n.e(8674),n.e(3166),n.e(2837),n.e(2168),n.e(8163),n.e(1265),n.e(7728),n.e(4567),n.e(2398),n.e(9773),n.e(4035),n.e(1154),n.e(2510),n.e(3345),n.e(9202),n.e(5265),n.e(2640),n.e(3768),n.e(5789),n.e(6818)]).then(n.bind(n,36818)),{loadableGenerated:{webpack:()=>[36818]},ssr:!1}),v=(0,g.createContext)({model:"",temperature:.5,resource:null,setModel:()=>{},setTemperature:()=>{},setResource:()=>{},scene:"",history:[],setHistory:()=>{},scrollViewRef:{current:null},appInfo:{},conv_uid:"",resourceList:[],order:{current:1},handleChat:()=>Promise.resolve(),canAbort:!1,setCarAbort:()=>{},canNewChat:!1,setCanNewChat:()=>{},ctrl:{current:void 0},userInput:"",setUserInput:()=>{},getChatHistoryRun:()=>{}});t.default=()=>{var e,t;let n=(0,h.useSearchParams)(),p=null!==(e=null==n?void 0:n.get("chat_scene"))&&void 0!==e?e:"",f=null!==(t=null==n?void 0:n.get("app_code"))&&void 0!==t?t:"",{modelList:T}=(0,g.useContext)(a.p),[S,A]=(0,g.useState)([]),[O,_]=(0,g.useState)(""),[k,x]=(0,g.useState)(.5),[C,w]=(0,g.useState)(null),I=(0,g.useRef)(null),[R,N]=(0,g.useState)(""),[L,D]=(0,g.useState)(!1),[P,M]=(0,g.useState)(!0),F=(0,g.useRef)(),B=(0,g.useRef)(1),j=(0,o.Z)(),U=(0,g.useMemo)(()=>"".concat(null==j?void 0:j.user_no,"_").concat(f),[f,j]),{run:G,loading:H}=(0,u.Z)(async()=>await (0,i.Vx)((0,i.$i)("".concat(null==j?void 0:j.user_no,"_").concat(f))),{manual:!0,onSuccess:e=>{let[,t]=e,n=null==t?void 0:t.filter(e=>"view"===e.role);n&&n.length>0&&(B.current=n[n.length-1].order+1),A(t||[])}}),{data:$,run:z,loading:Z}=(0,u.Z)(async e=>{let[,t]=await (0,i.Vx)((0,i.BN)(e));return null!=t?t:{}},{manual:!0}),{run:W,data:V,loading:Y}=(0,u.Z)(async()=>{var e,t;let[,n]=await (0,i.Vx)((0,i.vD)(p));return w((null==n?void 0:null===(e=n[0])||void 0===e?void 0:e.space_id)||(null==n?void 0:null===(t=n[0])||void 0===t?void 0:t.param)),null!=n?n:[]},{manual:!0}),{run:q,loading:K}=(0,u.Z)(async()=>{let[,e]=await (0,i.Vx)((0,i.iP)());return null!=e?e:[]},{manual:!0,onSuccess:e=>{var t;let n=null===(t=null==e?void 0:e.filter(e=>e.conv_uid===U))||void 0===t?void 0:t[0];(null==n?void 0:n.select_param)&&w(JSON.parse(null==n?void 0:n.select_param))}});(0,g.useEffect)(()=>{p&&f&&T.length&&z({chat_scene:p,app_code:f})},[f,p,z,T]),(0,g.useEffect)(()=>{f&&G()},[f]),(0,g.useEffect)(()=>{if(T.length>0){var e,t,n;let r=null===(e=null==$?void 0:null===(t=$.param_need)||void 0===t?void 0:t.filter(e=>"model"===e.type))||void 0===e?void 0:null===(n=e[0])||void 0===n?void 0:n.value;_(r||T[0])}},[T,$]),(0,g.useEffect)(()=>{var e,t,n;let r=null===(e=null==$?void 0:null===(t=$.param_need)||void 0===t?void 0:t.filter(e=>"temperature"===e.type))||void 0===e?void 0:null===(n=e[0])||void 0===n?void 0:n.value;x(r||.5)},[$]),(0,g.useEffect)(()=>{if(p&&(null==$?void 0:$.app_code)){var e,t,n,r,a,i;let o=null===(e=null==$?void 0:null===(t=$.param_need)||void 0===t?void 0:t.filter(e=>"resource"===e.type))||void 0===e?void 0:null===(n=e[0])||void 0===n?void 0:n.value,s=null===(r=null==$?void 0:null===(a=$.param_need)||void 0===a?void 0:a.filter(e=>"resource"===e.type))||void 0===r?void 0:null===(i=r[0])||void 0===i?void 0:i.bind_value;s&&w(s),["database","knowledge","plugin","awel_flow"].includes(o)&&!s&&W()}},[$,p,W]);let X=async e=>{var t,n,r;N(""),F.current=new AbortController;let a={chat_mode:p,model_name:O,user_input:e||R,conv_uid:U,temperature:k,app_code:null==$?void 0:$.app_code,...C&&{select_param:C}};if(S&&S.length>0){let e=null==S?void 0:S.filter(e=>"view"===e.role);B.current=e[e.length-1].order+1}let i=[{role:"human",context:e||R,model_name:O,order:B.current,time_stamp:0},{role:"view",context:"",model_name:O,order:B.current,time_stamp:0,thinking:!0}],o=i.length-1;A([...S,...i]),M(!1);try{await (0,c.L)("".concat(null!==(t=y.env.API_BASE_URL)&&void 0!==t?t:"","/api/v1/chat/completions"),{method:"POST",headers:{"Content-Type":"application/json",[l.gp]:null!==(n=(0,s.n5)())&&void 0!==n?n:""},signal:F.current.signal,body:JSON.stringify(a),openWhenHidden:!0,async onopen(e){if(e.ok&&e.headers.get("content-type")===c.a)return},onclose(){var e;null===(e=F.current)||void 0===e||e.abort(),M(!0),D(!1)},onerror(e){throw Error(e)},onmessage:e=>{let t=e.data;try{t=JSON.parse(t).vis}catch(e){t.replaceAll("\\n","\n")}"[DONE]"===t?(M(!0),D(!1)):(null==t?void 0:t.startsWith("[ERROR]"))?(i[o].context=null==t?void 0:t.replace("[ERROR]",""),i[o].thinking=!1,A([...S,...i]),M(!0),D(!1)):(D(!0),i[o].context=t,i[o].thinking=!1,A([...S,...i]))}})}catch(e){null===(r=F.current)||void 0===r||r.abort(),i[o].context="Sorry, we meet some error, please try again later.",i[o].thinking=!1,A([...i]),M(!0),D(!1)}};return(0,g.useEffect)(()=>{p&&"chat_agent"!==p&&q()},[p,q]),(0,r.jsx)(v.Provider,{value:{model:O,resource:C,setModel:_,setTemperature:x,setResource:w,temperature:k,appInfo:$,conv_uid:U,scene:p,history:S,scrollViewRef:I,setHistory:A,resourceList:V,order:B,handleChat:X,setCanNewChat:M,ctrl:F,canAbort:L,setCarAbort:D,canNewChat:P,userInput:R,setUserInput:N,getChatHistoryRun:G},children:(0,r.jsx)(d.Z,{size:"large",className:"flex h-screen w-screen justify-center items-center max-h-screen",spinning:H||Z||Y||K,children:(0,r.jsxs)("div",{className:"flex flex-col h-screen bg-gradient-light dark:bg-gradient-dark p-4 pt-0",children:[(0,r.jsxs)("div",{ref:I,className:"flex flex-col flex-1 overflow-y-auto mb-3",children:[(0,r.jsx)(m.default,{}),(0,r.jsx)(E,{})]}),(null==$?void 0:$.app_code)&&(0,r.jsx)(b.default,{})]})})})}},59178:function(){},5152:function(e,t,n){e.exports=n(50948)},89435:function(e){"use strict";var t;e.exports=function(e){var n,r="&"+e+";";return(t=t||document.createElement("i")).innerHTML=r,(59!==(n=t.textContent).charCodeAt(n.length-1)||"semi"===e)&&n!==r&&n}},57574:function(e,t,n){"use strict";var r=n(21922),a=n(93580),i=n(46195),o=n(79480),s=n(7961),l=n(89435);e.exports=function(e,t){var n,i,o={};for(i in t||(t={}),p)n=t[i],o[i]=null==n?p[i]:n;return(o.position.indent||o.position.start)&&(o.indent=o.position.indent||[],o.position=o.position.start),function(e,t){var n,i,o,p,E,v,T,S,A,O,_,k,x,C,w,I,R,N,L,D,P,M=t.additional,F=t.nonTerminated,B=t.text,j=t.reference,U=t.warning,G=t.textContext,H=t.referenceContext,$=t.warningContext,z=t.position,Z=t.indent||[],W=e.length,V=0,Y=-1,q=z.column||1,K=z.line||1,X="",Q=[];for("string"==typeof M&&(M=M.charCodeAt(0)),N=J(),O=U?function(e,t){var n=J();n.column+=t,n.offset+=t,U.call($,y[e],n,e)}:d,V--,W++;++V=55296&&n<=57343||n>1114111?(O(7,D),S=u(65533)):S in a?(O(6,D),S=a[S]):(k="",((i=S)>=1&&i<=8||11===i||i>=13&&i<=31||i>=127&&i<=159||i>=64976&&i<=65007||(65535&i)==65535||(65535&i)==65534)&&O(6,D),S>65535&&(S-=65536,k+=u(S>>>10|55296),S=56320|1023&S),S=k+u(S))):I!==f&&O(4,D)),S?(ee(),N=J(),V=P-1,q+=P-w+1,Q.push(S),L=J(),L.offset++,j&&j.call(H,S,{start:N,end:L},e.slice(w-1,P)),N=L):(X+=v=e.slice(w-1,P),q+=v.length,V=P-1)}else 10===T&&(K++,Y++,q=0),T==T?(X+=u(T),q++):ee();return Q.join("");function J(){return{line:K,column:q,offset:V+(z.offset||0)}}function ee(){X&&(Q.push(X),B&&B.call(G,X,{start:N,end:J()}),X="")}}(e,o)};var c={}.hasOwnProperty,u=String.fromCharCode,d=Function.prototype,p={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},f="named",h="hexadecimal",g="decimal",m={};m[h]=16,m[g]=10;var b={};b[f]=s,b[g]=i,b[h]=o;var y={};y[1]="Named character references must be terminated by a semicolon",y[2]="Numeric character references must be terminated by a semicolon",y[3]="Named character references cannot be empty",y[4]="Numeric character references cannot be empty",y[5]="Named character references must be known",y[6]="Numeric character references cannot be disallowed",y[7]="Numeric character references cannot be outside the permissible Unicode range"},11215:function(e,t,n){"use strict";var r,a,i="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof n.g?n.g:{},o=(a=(r="Prism"in i)?i.Prism:void 0,function(){r?i.Prism=a:delete i.Prism,r=void 0,a=void 0});i.Prism={manual:!0,disableWorkerMessageHandler:!0};var s=n(31742),l=n(57574),c=n(59216),u=n(2717),d=n(12049),p=n(29726),f=n(36155);o();var h={}.hasOwnProperty;function g(){}g.prototype=c;var m=new g;function b(e){if("function"!=typeof e||!e.displayName)throw Error("Expected `function` for `grammar`, got `"+e+"`");void 0===m.languages[e.displayName]&&e(m)}e.exports=m,m.highlight=function(e,t){var n,r=c.highlight;if("string"!=typeof e)throw Error("Expected `string` for `value`, got `"+e+"`");if("Object"===m.util.type(t))n=t,t=null;else{if("string"!=typeof t)throw Error("Expected `string` for `name`, got `"+t+"`");if(h.call(m.languages,t))n=m.languages[t];else throw Error("Unknown language: `"+t+"` is not registered")}return r.call(this,e,n,t)},m.register=b,m.alias=function(e,t){var n,r,a,i,o=m.languages,s=e;for(n in t&&((s={})[e]=t),s)for(a=(r="string"==typeof(r=s[n])?[r]:r).length,i=-1;++i]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}e.exports=t,t.displayName="abap",t.aliases=[]},68313:function(e){"use strict";function t(e){var t;t="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)",e.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+t+"|<"+t+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}}e.exports=t,t.displayName="abnf",t.aliases=[]},21207:function(e){"use strict";function t(e){e.languages.actionscript=e.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),e.languages.actionscript["class-name"].alias="function",delete e.languages.actionscript.parameter,delete e.languages.actionscript["literal-property"],e.languages.markup&&e.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:e.languages.markup}})}e.exports=t,t.displayName="actionscript",t.aliases=[]},89693:function(e){"use strict";function t(e){e.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}e.exports=t,t.displayName="ada",t.aliases=[]},24001:function(e){"use strict";function t(e){e.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}}e.exports=t,t.displayName="agda",t.aliases=[]},18018:function(e){"use strict";function t(e){e.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}e.exports=t,t.displayName="al",t.aliases=[]},36363:function(e){"use strict";function t(e){e.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},e.languages.g4=e.languages.antlr4}e.exports=t,t.displayName="antlr4",t.aliases=["g4"]},35281:function(e){"use strict";function t(e){e.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}e.exports=t,t.displayName="apacheconf",t.aliases=[]},10433:function(e,t,n){"use strict";var r=n(11114);function a(e){e.register(r),function(e){var t=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,n=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(//g,function(){return t.source});function r(e){return RegExp(e.replace(//g,function(){return n}),"i")}var a={keyword:t,punctuation:/[()\[\]{};,:.<>]/};e.languages.apex={comment:e.languages.clike.comment,string:e.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:e.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:r(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:a},{pattern:r(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:a},{pattern:r(/(?=\s*\w+\s*[;=,(){:])/.source),inside:a}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:t,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(e)}e.exports=a,a.displayName="apex",a.aliases=[]},84039:function(e){"use strict";function t(e){e.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}e.exports=t,t.displayName="apl",t.aliases=[]},71336:function(e){"use strict";function t(e){e.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}e.exports=t,t.displayName="applescript",t.aliases=[]},4481:function(e){"use strict";function t(e){e.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}e.exports=t,t.displayName="aql",t.aliases=[]},2159:function(e,t,n){"use strict";var r=n(80096);function a(e){e.register(r),e.languages.arduino=e.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),e.languages.ino=e.languages.arduino}e.exports=a,a.displayName="arduino",a.aliases=["ino"]},60274:function(e){"use strict";function t(e){e.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}e.exports=t,t.displayName="arff",t.aliases=[]},18738:function(e){"use strict";function t(e){!function(e){var t={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},n=e.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:t,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:t.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:t,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function r(e){e=e.split(" ");for(var t={},r=0,a=e.length;r>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}e.exports=t,t.displayName="asmatmel",t.aliases=[]},78734:function(e,t,n){"use strict";var r=n(61958);function a(e){e.register(r),e.languages.aspnet=e.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:e.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:e.languages.csharp}}}),e.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,e.languages.insertBefore("inside","punctuation",{directive:e.languages.aspnet.directive},e.languages.aspnet.tag.inside["attr-value"]),e.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),e.languages.insertBefore("aspnet",e.languages.javascript?"script":"tag",{"asp-script":{pattern:/(]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:e.languages.csharp||{}}})}e.exports=a,a.displayName="aspnet",a.aliases=[]},6681:function(e){"use strict";function t(e){e.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}e.exports=t,t.displayName="autohotkey",t.aliases=[]},53358:function(e){"use strict";function t(e){e.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}e.exports=t,t.displayName="autoit",t.aliases=[]},81700:function(e){"use strict";function t(e){!function(e){function t(e,t,n){return RegExp(e.replace(/<<(\d+)>>/g,function(e,n){return t[+n]}),n||"")}var n=/bool|clip|float|int|string|val/.source,r=[[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|")].join("|");e.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:t(/\b(?:<<0>>)\s+("?)\w+\1/.source,[n],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:t(/\b(?:<<0>>)\b/.source,[r],"i"),alias:"function"},"type-cast":{pattern:t(/\b(?:<<0>>)(?=\s*\()/.source,[n],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},e.languages.avs=e.languages.avisynth}(e)}e.exports=t,t.displayName="avisynth",t.aliases=["avs"]},37219:function(e){"use strict";function t(e){e.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},e.languages.avdl=e.languages["avro-idl"]}e.exports=t,t.displayName="avroIdl",t.aliases=[]},6979:function(e){"use strict";function t(e){!function(e){var t="\\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",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),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("(\\{)"+t),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})/};e.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;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.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}},n.inside=e.languages.bash;for(var a=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],i=r.variable[1].inside,o=0;o?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}e.exports=t,t.displayName="basic",t.aliases=[]},94781:function(e){"use strict";function t(e){var t,n,r,a;t=/%%?[~:\w]+%?|!\S+!/,n={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},r=/"(?:[\\"]"|[^"])*"(?!")/,a=/(?:\b|-)\d+\b/,e.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:r,parameter:n,variable:t,number:a,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:r,parameter:n,variable:t,number:a,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:r,parameter:n,variable:[t,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:a,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:r,parameter:n,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:t,number:a,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}}e.exports=t,t.displayName="batch",t.aliases=[]},62260:function(e){"use strict";function t(e){e.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},e.languages.shortcode=e.languages.bbcode}e.exports=t,t.displayName="bbcode",t.aliases=["shortcode"]},36153:function(e){"use strict";function t(e){e.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},e.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=e.languages.bicep}e.exports=t,t.displayName="bicep",t.aliases=[]},59258:function(e){"use strict";function t(e){e.languages.birb=e.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),e.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}e.exports=t,t.displayName="birb",t.aliases=[]},62890:function(e,t,n){"use strict";var r=n(65806);function a(e){e.register(r),e.languages.bison=e.languages.extend("c",{}),e.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:e.languages.c}},comment:e.languages.c.comment,string:e.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}e.exports=a,a.displayName="bison",a.aliases=[]},15958:function(e){"use strict";function t(e){e.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},e.languages.rbnf=e.languages.bnf}e.exports=t,t.displayName="bnf",t.aliases=["rbnf"]},61321:function(e){"use strict";function t(e){e.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}e.exports=t,t.displayName="brainfuck",t.aliases=[]},77856:function(e){"use strict";function t(e){e.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},e.languages.brightscript["directive-statement"].inside.expression.inside=e.languages.brightscript}e.exports=t,t.displayName="brightscript",t.aliases=[]},90741:function(e){"use strict";function t(e){e.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="bro",t.aliases=[]},83410:function(e){"use strict";function t(e){e.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},e.languages.oscript=e.languages.bsl}e.exports=t,t.displayName="bsl",t.aliases=[]},65806:function(e){"use strict";function t(e){e.languages.c=e.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),e.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),e.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},e.languages.c.string],char:e.languages.c.char,comment:e.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:e.languages.c}}}}),e.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete e.languages.c.boolean}e.exports=t,t.displayName="c",t.aliases=[]},33039:function(e){"use strict";function t(e){e.languages.cfscript=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),e.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete e.languages.cfscript["class-name"],e.languages.cfc=e.languages.cfscript}e.exports=t,t.displayName="cfscript",t.aliases=[]},85082:function(e,t,n){"use strict";var r=n(80096);function a(e){e.register(r),e.languages.chaiscript=e.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[e.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),e.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),e.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}e.exports=a,a.displayName="chaiscript",a.aliases=[]},79415:function(e){"use strict";function t(e){e.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}e.exports=t,t.displayName="cil",t.aliases=[]},29726:function(e){"use strict";function t(e){e.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="clike",t.aliases=[]},62849:function(e){"use strict";function t(e){e.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}e.exports=t,t.displayName="clojure",t.aliases=[]},55773:function(e){"use strict";function t(e){e.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}e.exports=t,t.displayName="cmake",t.aliases=[]},32762:function(e){"use strict";function t(e){e.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}e.exports=t,t.displayName="cobol",t.aliases=[]},43576:function(e){"use strict";function t(e){var t,n;t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"},e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}e.exports=t,t.displayName="coffeescript",t.aliases=["coffee"]},71794:function(e){"use strict";function t(e){e.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},e.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:e.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:e.languages.concurnas},string:/[\s\S]+/}}}),e.languages.conc=e.languages.concurnas}e.exports=t,t.displayName="concurnas",t.aliases=["conc"]},1315:function(e){"use strict";function t(e){!function(e){for(var t=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|)*\*\)/.source,n=0;n<2;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,"[]"),e.languages.coq={comment:RegExp(t),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|)*\]/.source.replace(//g,function(){return t})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(t),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}}(e)}e.exports=t,t.displayName="coq",t.aliases=[]},80096:function(e,t,n){"use strict";var r=n(65806);function a(e){var t,n;e.register(r),t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return t.source}),e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return t.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return n})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}e.exports=a,a.displayName="cpp",a.aliases=[]},99176:function(e,t,n){"use strict";var r=n(56939);function a(e){e.register(r),e.languages.crystal=e.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,e.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),e.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:e.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:e.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}e.exports=a,a.displayName="crystal",a.aliases=[]},61958:function(e){"use strict";function t(e){!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,function(e,n){return"(?:"+t[+n]+")"})}function n(e,n,r){return RegExp(t(e,n),r||"")}function r(e,t){for(var n=0;n>/g,function(){return"(?:"+e+")"});return e.replace(/<>/g,"[^\\s\\S]")}var a={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function i(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var o=i(a.typeDeclaration),s=RegExp(i(a.type+" "+a.typeDeclaration+" "+a.contextual+" "+a.other)),l=i(a.typeDeclaration+" "+a.contextual+" "+a.other),c=i(a.type+" "+a.typeDeclaration+" "+a.other),u=r(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),d=r(/\((?:[^()]|<>)*\)/.source,2),p=/@?\b[A-Za-z_]\w*\b/.source,f=t(/<<0>>(?:\s*<<1>>)?/.source,[p,u]),h=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[l,f]),g=/\[\s*(?:,\s*)*\]/.source,m=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[h,g]),b=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[u,d,g]),y=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[b]),E=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[y,h,g]),v={keyword:s,punctuation:/[<>()?,.:[\]]/},T=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,S=/"(?:\\.|[^\\"\r\n])*"/.source,A=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[A]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[S]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[h]),lookbehind:!0,inside:v},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[p,E]),lookbehind:!0,inside:v},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[p]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[o,f]),lookbehind:!0,inside:v},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[h]),lookbehind:!0,inside:v},{pattern:n(/(\bwhere\s+)<<0>>/.source,[p]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[m]),lookbehind:!0,inside:v},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[E,c,p]),inside:v}],keyword:s,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[p]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[p]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[d]),lookbehind:!0,alias:"class-name",inside:v},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[E,h]),inside:v,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[E]),lookbehind:!0,inside:v,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[p,u]),inside:{function:n(/^<<0>>/.source,[p]),generic:{pattern:RegExp(u),alias:"class-name",inside:v}}},"type-list":{pattern:n(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[o,f,p,E,s.source,d,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[f,d]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:s,"class-name":{pattern:RegExp(E),greedy:!0,inside:v},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var O=S+"|"+T,_=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[O]),k=r(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[_]),2),x=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,C=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[h,k]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[x,C]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[x]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[k]),inside:e.languages.csharp},"class-name":{pattern:RegExp(h),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var w=/:[^}\r\n]+/.source,I=r(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[_]),2),R=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[I,w]),N=r(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[O]),2),L=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[N,w]);function D(t,r){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[r,w]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[R]),lookbehind:!0,greedy:!0,inside:D(R,I)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[L]),lookbehind:!0,greedy:!0,inside:D(L,N)}],char:{pattern:RegExp(T),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.languages.csharp}(e)}e.exports=t,t.displayName="csharp",t.aliases=["dotnet","cs"]},90312:function(e,t,n){"use strict";var r=n(61958);function a(e){e.register(r),function(e){var t=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,n=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function r(e,r){for(var a=0;a/g,function(){return"(?:"+e+")"});return e.replace(//g,"[^\\s\\S]").replace(//g,"(?:"+n+")").replace(//g,"(?:"+t+")")}var a=r(/\((?:[^()'"@/]|||)*\)/.source,2),i=r(/\[(?:[^\[\]'"@/]|||)*\]/.source,2),o=r(/\{(?:[^{}'"@/]|||)*\}/.source,2),s=r(/<(?:[^<>'"@/]|||)*>/.source,2),l=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,c=/(?!\d)[^\s>\/=$<%]+/.source+l+/\s*\/?>/.source,u=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+l+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source)+c+"|"+r(/<\1/.source+l+/\s*>/.source+"(?:"+(/[^<]/.source+"|")+/<\/?(?!\1\b)/.source+c+"|)*"+/<\/\1\s*>/.source,2)+")*"+/<\/\1\s*>/.source+"|"+/|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var r={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},a={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:a,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,number:a})}(e)}e.exports=t,t.displayName="cssExtras",t.aliases=[]},12049:function(e){"use strict";function t(e){var t,n;t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,e.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\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,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:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css,(n=e.languages.markup)&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}e.exports=t,t.displayName="css",t.aliases=[]},78090:function(e){"use strict";function t(e){e.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}e.exports=t,t.displayName="csv",t.aliases=[]},40315:function(e){"use strict";function t(e){e.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}e.exports=t,t.displayName="cypher",t.aliases=[]},7902:function(e){"use strict";function t(e){e.languages.d=e.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),e.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),e.languages.insertBefore("d","keyword",{property:/\B@\w*/}),e.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}e.exports=t,t.displayName="d",t.aliases=[]},28651:function(e){"use strict";function t(e){var t,n,r;t=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],r={pattern:RegExp((n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source)+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}},e.languages.dart=e.languages.extend("clike",{"class-name":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.inside}],keyword:t,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),e.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.dart}}},string:/[\s\S]+/}},string:void 0}),e.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),e.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})}e.exports=t,t.displayName="dart",t.aliases=[]},55579:function(e){"use strict";function t(e){e.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}}e.exports=t,t.displayName="dataweave",t.aliases=[]},93685:function(e){"use strict";function t(e){e.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}e.exports=t,t.displayName="dax",t.aliases=[]},13934:function(e){"use strict";function t(e){e.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},e.languages.dhall.string.inside.interpolation.inside.expression.inside=e.languages.dhall}e.exports=t,t.displayName="dhall",t.aliases=[]},93336:function(e){"use strict";function t(e){var t;e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]},Object.keys(t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"}).forEach(function(n){var r=t[n],a=[];/^\w+$/.test(n)||a.push(/\w+/.exec(n)[0]),"diff"===n&&a.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:a,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}}),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}e.exports=t,t.displayName="diff",t.aliases=[]},13294:function(e,t,n){"use strict";var r=n(93205);function a(e){var t,n;e.register(r),e.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/},t=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,n=e.languages["markup-templating"],e.hooks.add("before-tokenize",function(e){n.buildPlaceholders(e,"django",t)}),e.hooks.add("after-tokenize",function(e){n.tokenizePlaceholders(e,"django")}),e.languages.jinja2=e.languages.django,e.hooks.add("before-tokenize",function(e){n.buildPlaceholders(e,"jinja2",t)}),e.hooks.add("after-tokenize",function(e){n.tokenizePlaceholders(e,"jinja2")})}e.exports=a,a.displayName="django",a.aliases=["jinja2"]},38223:function(e){"use strict";function t(e){e.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},e.languages["dns-zone"]=e.languages["dns-zone-file"]}e.exports=t,t.displayName="dnsZoneFile",t.aliases=[]},97266:function(e){"use strict";function t(e){!function(e){var t=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,n=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,function(){return t}),r=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,a=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,function(){return r}),i={pattern:RegExp(r),greedy:!0},o={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function s(e,t){return RegExp(e=e.replace(//g,function(){return a}).replace(//g,function(){return n}),t)}e.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:s(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[i,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:s(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:o,string:i,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:o},e.languages.dockerfile=e.languages.docker}(e)}e.exports=t,t.displayName="docker",t.aliases=["dockerfile"]},77125:function(e){"use strict";function t(e){!function(e){var t="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!)*>/.source].join("|")+")",n={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:e.languages.markup}};function r(e,n){return RegExp(e.replace(//g,function(){return t}),n)}e.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:r(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:n},"attr-value":{pattern:r(/(=[ \t\r\n]*)/.source),lookbehind:!0,greedy:!0,inside:n},"attr-name":{pattern:r(/([\[;, \t\r\n])(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:n},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:r(/(^|[^-.\w\x80-\uFFFF\\])/.source),lookbehind:!0,greedy:!0,inside:n},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},e.languages.gv=e.languages.dot}(e)}e.exports=t,t.displayName="dot",t.aliases=["gv"]},36500:function(e){"use strict";function t(e){e.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}e.exports=t,t.displayName="ebnf",t.aliases=[]},30296:function(e){"use strict";function t(e){e.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}e.exports=t,t.displayName="editorconfig",t.aliases=[]},50115:function(e){"use strict";function t(e){e.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}e.exports=t,t.displayName="eiffel",t.aliases=[]},20791:function(e,t,n){"use strict";var r=n(93205);function a(e){e.register(r),e.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:e.languages.javascript}},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"ejs",/<%(?!%)[\s\S]+?%>/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"ejs")}),e.languages.eta=e.languages.ejs}e.exports=a,a.displayName="ejs",a.aliases=["eta"]},11974:function(e){"use strict";function t(e){e.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},e.languages.elixir.string.forEach(function(t){t.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:e.languages.elixir}}}})}e.exports=t,t.displayName="elixir",t.aliases=[]},8645:function(e){"use strict";function t(e){e.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}e.exports=t,t.displayName="elm",t.aliases=[]},84790:function(e,t,n){"use strict";var r=n(56939),a=n(93205);function i(e){e.register(r),e.register(a),e.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:e.languages.ruby}},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"erb",/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"erb")})}e.exports=i,i.displayName="erb",i.aliases=[]},4502:function(e){"use strict";function t(e){e.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}e.exports=t,t.displayName="erlang",t.aliases=[]},66055:function(e,t,n){"use strict";var r=n(59803),a=n(93205);function i(e){e.register(r),e.register(a),e.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:e.languages.lua}},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"etlua",/<%[\s\S]+?%>/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"etlua")})}e.exports=i,i.displayName="etlua",i.aliases=[]},34668:function(e){"use strict";function t(e){e.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"keyword"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"property",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"property"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},e.languages.xlsx=e.languages.xls=e.languages["excel-formula"]}e.exports=t,t.displayName="excelFormula",t.aliases=[]},95126:function(e){"use strict";function t(e){var t,n,r,a,i,o;r={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:t={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/}},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:t},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:t}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:(n={number:/\\[^\s']|%\w/}).number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:n},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:n}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:n}},a=function(e){return(e+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},i=function(e){return RegExp("(^|\\s)(?:"+e.map(a).join("|")+")(?=\\s|$)")},Object.keys(o={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated",">>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]}).forEach(function(e){r[e].pattern=i(o[e])}),r.combinators.pattern=i(["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","inputsequence"]),e.languages.factor=r}e.exports=t,t.displayName="factor",t.aliases=[]},90618:function(e){"use strict";function t(e){e.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete e.languages["firestore-security-rules"]["class-name"],e.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}e.exports=t,t.displayName="firestoreSecurityRules",t.aliases=[]},37225:function(e){"use strict";function t(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),e.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}e.exports=t,t.displayName="flow",t.aliases=[]},16725:function(e){"use strict";function t(e){e.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}e.exports=t,t.displayName="fortran",t.aliases=[]},95559:function(e){"use strict";function t(e){e.languages.fsharp=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),e.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),e.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),e.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:e.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}e.exports=t,t.displayName="fsharp",t.aliases=[]},82114:function(e,t,n){"use strict";var r=n(93205);function a(e){e.register(r),function(e){for(var t=/[^<()"']|\((?:)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,n=0;n<2;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,/[^\s\S]/.source);var r={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:))*\})*\1/.source.replace(//g,function(){return t})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:))*\}/.source.replace(//g,function(){return t})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};r.string[1].inside.interpolation.inside.rest=r,e.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:r}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:r}}}},e.hooks.add("before-tokenize",function(n){var r=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:)*?>|\$\{(?:)*?\}/.source.replace(//g,function(){return t}),"gi");e.languages["markup-templating"].buildPlaceholders(n,"ftl",r)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"ftl")})}(e)}e.exports=a,a.displayName="ftl",a.aliases=[]},6806:function(e){"use strict";function t(e){e.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},e.languages.gap.shell.inside.gap.inside=e.languages.gap}e.exports=t,t.displayName="gap",t.aliases=[]},12208:function(e){"use strict";function t(e){e.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}e.exports=t,t.displayName="gcode",t.aliases=[]},62728:function(e){"use strict";function t(e){e.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}e.exports=t,t.displayName="gdscript",t.aliases=[]},81549:function(e){"use strict";function t(e){e.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}e.exports=t,t.displayName="gedcom",t.aliases=[]},6024:function(e){"use strict";function t(e){var t;t=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source,e.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+t+")(?:"+t+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(t),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}}e.exports=t,t.displayName="gherkin",t.aliases=[]},13600:function(e){"use strict";function t(e){e.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}e.exports=t,t.displayName="git",t.aliases=[]},3322:function(e,t,n){"use strict";var r=n(65806);function a(e){e.register(r),e.languages.glsl=e.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}e.exports=a,a.displayName="glsl",a.aliases=[]},53877:function(e){"use strict";function t(e){e.languages.gamemakerlanguage=e.languages.gml=e.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}e.exports=t,t.displayName="gml",t.aliases=[]},60794:function(e){"use strict";function t(e){e.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},e.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=e.languages.gn,e.languages.gni=e.languages.gn}e.exports=t,t.displayName="gn",t.aliases=["gni"]},20222:function(e){"use strict";function t(e){e.languages["go-mod"]=e.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}e.exports=t,t.displayName="goModule",t.aliases=[]},51519:function(e){"use strict";function t(e){e.languages.go=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),e.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete e.languages.go["class-name"]}e.exports=t,t.displayName="go",t.aliases=[]},94055:function(e){"use strict";function t(e){e.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:e.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+/},e.hooks.add("after-tokenize",function(e){if("graphql"===e.language)for(var t=e.tokens.filter(function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type}),n=0;n0)){var s=d(/^\{$/,/^\}$/);if(-1===s)continue;for(var l=n;l=0&&p(c,"variable-input")}}}}function u(e,r){r=r||0;for(var a=0;a]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),e.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),e.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),e.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),e.hooks.add("wrap",function(t){if("groovy"===t.language&&"string"===t.type){var n=t.content.value[0];if("'"!=n){var r=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;"$"===n&&(r=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),t.content.value=t.content.value.replace(/</g,"<").replace(/&/g,"&"),t.content=e.highlight(t.content.value,{expression:{pattern:r,lookbehind:!0,inside:e.languages.groovy}}),t.classes.push("/"===n?"regex":"gstring")}}})}e.exports=t,t.displayName="groovy",t.aliases=[]},29536:function(e,t,n){"use strict";var r=n(56939);function a(e){e.register(r),function(e){e.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:e.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:e.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:e.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:e.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:e.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:e.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:e.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var t=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],n={},r=0,a=t.length;r@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"handlebars",/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")}),e.languages.hbs=e.languages.handlebars}e.exports=a,a.displayName="handlebars",a.aliases=["hbs"]},58090:function(e){"use strict";function t(e){e.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},e.languages.hs=e.languages.haskell}e.exports=t,t.displayName="haskell",t.aliases=["hs"]},95121:function(e){"use strict";function t(e){e.languages.haxe=e.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<{1,3}|[-+*/%!=&|^])=?|[?:~]/}),e.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.haxe}}},string:/[\s\S]+/}}}),e.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),e.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}e.exports=t,t.displayName="haxe",t.aliases=[]},59904:function(e){"use strict";function t(e){e.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}e.exports=t,t.displayName="hcl",t.aliases=[]},9436:function(e,t,n){"use strict";var r=n(65806);function a(e){e.register(r),e.languages.hlsl=e.languages.extend("c",{"class-name":[e.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}e.exports=a,a.displayName="hlsl",a.aliases=[]},60591:function(e){"use strict";function t(e){e.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}e.exports=t,t.displayName="hoon",t.aliases=[]},76942:function(e){"use strict";function t(e){e.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}e.exports=t,t.displayName="hpkp",t.aliases=[]},60561:function(e){"use strict";function t(e){e.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}e.exports=t,t.displayName="hsts",t.aliases=[]},49660:function(e){"use strict";function t(e){!function(e){function t(e){return RegExp("(^(?:"+e+"):[ ]*(?![ ]))[^]+","i")}e.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:e.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:t(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:e.languages.csp},{pattern:t(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:e.languages.hpkp},{pattern:t(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:e.languages.hsts},{pattern:t(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var n,r=e.languages,a={"application/javascript":r.javascript,"application/json":r.json||r.javascript,"application/xml":r.xml,"text/xml":r.xml,"text/html":r.html,"text/css":r.css,"text/plain":r.plain},i={"application/json":!0,"application/xml":!0};for(var o in a)if(a[o]){n=n||{};var s=i[o]?function(e){var t=e.replace(/^[a-z]+\//,"");return"(?:"+e+"|\\w+/(?:[\\w.-]+\\+)+"+t+"(?![+\\w.-]))"}(o):o;n[o.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+s+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:a[o]}}n&&e.languages.insertBefore("http","header",n)}(e)}e.exports=t,t.displayName="http",t.aliases=[]},30615:function(e){"use strict";function t(e){e.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}e.exports=t,t.displayName="ichigojam",t.aliases=[]},93865:function(e){"use strict";function t(e){e.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}e.exports=t,t.displayName="icon",t.aliases=[]},51078:function(e){"use strict";function t(e){!function(e){function t(e,n){return n<=0?/[]/.source:e.replace(//g,function(){return t(e,n-1)})}var n=/'[{}:=,](?:[^']|'')*'(?!')/,r={pattern:/''/,greedy:!0,alias:"operator"},a=t(/\{(?:[^{}']|'(?![{},'])|''||)*\}/.source.replace(//g,function(){return n.source}),8),i={pattern:RegExp(a),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};e.languages["icu-message-format"]={argument:{pattern:RegExp(a),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":i,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":i,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+t(/(?:[^{}']|'[^']*'|\{(?:)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:r,string:{pattern:n,greedy:!0,inside:{escape:r}}},i.inside.message.inside=e.languages["icu-message-format"],e.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=e.languages["icu-message-format"]}(e)}e.exports=t,t.displayName="icuMessageFormat",t.aliases=[]},91178:function(e,t,n){"use strict";var r=n(58090);function a(e){e.register(r),e.languages.idris=e.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),e.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.idr=e.languages.idris}e.exports=a,a.displayName="idris",a.aliases=["idr"]},40011:function(e){"use strict";function t(e){e.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}e.exports=t,t.displayName="iecst",t.aliases=[]},12017:function(e){"use strict";function t(e){e.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},e.languages.gitignore=e.languages.ignore,e.languages.hgignore=e.languages.ignore,e.languages.npmignore=e.languages.ignore}e.exports=t,t.displayName="ignore",t.aliases=["gitignore","hgignore","npmignore"]},65175:function(e){"use strict";function t(e){e.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},e.languages.inform7.string.inside.substitution.inside.rest=e.languages.inform7,e.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}e.exports=t,t.displayName="inform7",t.aliases=[]},14970:function(e){"use strict";function t(e){e.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}e.exports=t,t.displayName="ini",t.aliases=[]},13068:function(e){"use strict";function t(e){e.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}e.exports=t,t.displayName="j",t.aliases=[]},15909:function(e){"use strict";function t(e){var t,n,r;t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,r={pattern:RegExp((n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source)+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}},e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,function(){return t.source})),lookbehind:!0,inside:{punctuation:/\./}}})}e.exports=t,t.displayName="java",t.aliases=[]},36553:function(e,t,n){"use strict";var r=n(15909),a=n(9858);function i(e){var t,n,i;e.register(r),e.register(a),t=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,n=/#\s*\w+(?:\s*\([^()]*\))?/.source,i=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*)?|/.source.replace(//g,function(){return n}),e.languages.javadoc=e.languages.extend("javadoclike",{}),e.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+i+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:e.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:t,lookbehind:!0,inside:e.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:t,lookbehind:!0,inside:{tag:e.languages.markup.tag,entity:e.languages.markup.entity,code:{pattern:/.+/,inside:e.languages.java,alias:"language-java"}}}}}],tag:e.languages.markup.tag,entity:e.languages.markup.entity}),e.languages.javadoclike.addSupport("java",e.languages.javadoc)}e.exports=i,i.displayName="javadoc",i.aliases=[]},9858:function(e){"use strict";function t(e){var t;Object.defineProperty(t=e.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/},"addSupport",{value:function(t,n){"string"==typeof t&&(t=[t]),t.forEach(function(t){!function(t,n){var r="doc-comment",a=e.languages[t];if(a){var i=a[r];if(!i){var o={};o[r]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},i=(a=e.languages.insertBefore(t,"comment",o))[r]}if(i instanceof RegExp&&(i=a[r]={pattern:i}),Array.isArray(i))for(var s=0,l=i.length;s|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:e.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),e.languages.js=e.languages.javascript}e.exports=t,t.displayName="javascript",t.aliases=["js"]},11223:function(e){"use strict";function t(e){e.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:|[\w$]+)\()/,function:/(?:|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}e.exports=t,t.displayName="javastacktrace",t.aliases=[]},57957:function(e){"use strict";function t(e){e.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}e.exports=t,t.displayName="jexl",t.aliases=[]},66604:function(e){"use strict";function t(e){e.languages.jolie=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),e.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}e.exports=t,t.displayName="jolie",t.aliases=[]},77935:function(e){"use strict";function t(e){var t,n,r,a;t=/\\\((?:[^()]|\([^()]*\))*\)/.source,n=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return t})),r={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+t),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},a=e.languages.jq={comment:/#.*/,property:{pattern:RegExp(n.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:r},string:{pattern:n,lookbehind:!0,greedy:!0,inside:r},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}},r.interpolation.inside.content.inside=a}e.exports=t,t.displayName="jq",t.aliases=[]},46155:function(e){"use strict";function t(e){!function(e){function t(e,t){return RegExp(e.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r=p.length)return;var o=n[i];if("string"==typeof o||"string"==typeof o.content){var l=p[c],d="string"==typeof o?o:o.content,f=d.indexOf(l);if(-1!==f){++c;var h=d.substring(0,f),g=function(t){var n={};n["interpolation-punctuation"]=a;var i=e.tokenize(t,n);if(3===i.length){var o=[1,1];o.push.apply(o,s(i[1],e.languages.javascript,"javascript")),i.splice.apply(i,o)}return new e.Token("interpolation",i,r.alias,t)}(u[l]),m=d.substring(f+l.length),b=[];if(h&&b.push(h),b.push(g),m){var y=[m];t(y),b.push.apply(b,y)}"string"==typeof o?(n.splice.apply(n,[i,1].concat(b)),i+=b.length-1):o.content=b}}else{var E=o.content;Array.isArray(E)?t(E):t([E])}}}(d),new e.Token(o,d,"language-"+o,t)}(p,g,h)}}else t(u)}}}(t.tokens)})}(e)}e.exports=t,t.displayName="jsTemplates",t.aliases=[]},25319:function(e,t,n){"use strict";var r=n(9858),a=n(4979);function i(e){var t,n,i;e.register(r),e.register(a),t=e.languages.javascript,i="(@(?:arg|argument|param|property)\\s+(?:"+(n=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source)+"\\s+)?)",e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(i+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(i+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:t,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,function(){return n})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{string:t.string,number:t.number,boolean:t.boolean,keyword:e.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}e.exports=i,i.displayName="jsdoc",i.aliases=[]},45950:function(e){"use strict";function t(e){e.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"}},e.languages.webmanifest=e.languages.json}e.exports=t,t.displayName="json",t.aliases=["webmanifest"]},50235:function(e,t,n){"use strict";var r=n(45950);function a(e){var t;e.register(r),t=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/,e.languages.json5=e.languages.extend("json",{property:[{pattern:RegExp(t.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:t,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}e.exports=a,a.displayName="json5",a.aliases=[]},80963:function(e,t,n){"use strict";var r=n(45950);function a(e){e.register(r),e.languages.jsonp=e.languages.extend("json",{punctuation:/[{}[\]();,.]/}),e.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}e.exports=a,a.displayName="jsonp",a.aliases=[]},79358:function(e){"use strict";function t(e){e.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js||.*(?:node_modules|\(\)|\(|$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}e.exports=t,t.displayName="jsstacktrace",t.aliases=[]},96412:function(e){"use strict";function t(e){!function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,a=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function i(e,t){return RegExp(e=e.replace(//g,function(){return n}).replace(//g,function(){return r}).replace(//g,function(){return a}),t)}a=i(a).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=i(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:i(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var o=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(o).join(""):""},s=function(t){for(var n=[],r=0;r0&&n[n.length-1].tagName===o(a.content[0].content[1])&&n.pop():"/>"===a.content[a.content.length-1].content||n.push({tagName:o(a.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===a.type&&"{"===a.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===a.type&&"}"===a.content?n[n.length-1].openedBraces--:i=!0),(i||"string"==typeof a)&&n.length>0&&0===n[n.length-1].openedBraces){var l=o(a);r0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(l=o(t[r-1])+l,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",l,null,l)}a.content&&"string"!=typeof a.content&&s(a.content)}};e.hooks.add("after-tokenize",function(e){("jsx"===e.language||"tsx"===e.language)&&s(e.tokens)})}(e)}e.exports=t,t.displayName="jsx",t.aliases=[]},39259:function(e){"use strict";function t(e){e.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}e.exports=t,t.displayName="julia",t.aliases=[]},51466:function(e){"use strict";function t(e){e.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}|(?:[\da-f]{1,4}:){0,5}:|::(?:[\da-f]{1,4}:){0,5}|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|(?:\/\d{1,2})?)\b/.source.replace(//g,function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source}),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}e.exports=t,t.displayName="keepalived",t.aliases=[]},35760:function(e){"use strict";function t(e){e.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|nomatch|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}e.exports=t,t.displayName="keyman",t.aliases=[]},19715:function(e){"use strict";function t(e){var t;e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"],t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}},e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}e.exports=t,t.displayName="kotlin",t.aliases=["kt","kts"]},27614:function(e){"use strict";function t(e){!function(e){var t=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function n(e,n){return RegExp(e.replace(//g,t),n)}e.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:n(/(^|[])(?:да|нет)(?=[]|$)/.source),lookbehind:!0},"operator-word":{pattern:n(/(^|[])(?:и|или|не)(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:n(/(^|[])знач(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:n(/(^|[])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:n(/(^|[])(?:компл|сканкод|файл|цвет)(?=[]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:n(/(^|[])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[]|$)/.source),lookbehind:!0},name:{pattern:n(/(^|[])[^\d][^]*(?:\x20+[^]+)*(?=[]|$)/.source),lookbehind:!0},number:{pattern:n(/(^|[])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},e.languages.kum=e.languages.kumir}(e)}e.exports=t,t.displayName="kumir",t.aliases=["kum"]},82819:function(e){"use strict";function t(e){e.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}e.exports=t,t.displayName="kusto",t.aliases=[]},42876:function(e){"use strict";function t(e){var t,n;n={"equation-command":{pattern:t=/\\(?:[^a-z()[\]]|[a-z*]+)/i,alias:"regex"}},e.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:n,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:n,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:t,alias:"selector"},punctuation:/[[\]{}&]/},e.languages.tex=e.languages.latex,e.languages.context=e.languages.latex}e.exports=t,t.displayName="latex",t.aliases=["tex","context"]},2980:function(e,t,n){"use strict";var r=n(93205),a=n(88262);function i(e){var t;e.register(r),e.register(a),e.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:e.languages.php}},t=e.languages.extend("markup",{}),e.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:e.languages.php}}}}}},t.tag),e.hooks.add("before-tokenize",function(n){"latte"===n.language&&(e.languages["markup-templating"].buildPlaceholders(n,"latte",/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g),n.grammar=t)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"latte")})}e.exports=i,i.displayName="latte",i.aliases=[]},41701:function(e){"use strict";function t(e){e.languages.less=e.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),e.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}e.exports=t,t.displayName="less",t.aliases=[]},42491:function(e,t,n){"use strict";var r=n(9997);function a(e){e.register(r),function(e){for(var t=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|)*\)/.source,n=0;n<5;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,/[^\s\S]/.source);var r=e.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|))/.source.replace(//g,function(){return t}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:e.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};r["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=r,e.languages.ly=r}(e)}e.exports=a,a.displayName="lilypond",a.aliases=[]},34927:function(e,t,n){"use strict";var r=n(93205);function a(e){e.register(r),e.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},e.hooks.add("before-tokenize",function(t){var n=!1;e.languages["markup-templating"].buildPlaceholders(t,"liquid",/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,function(e){var t=/^\{%-?\s*(\w+)/.exec(e);if(t){var r=t[1];if("raw"===r&&!n)return n=!0,!0;if("endraw"===r)return n=!1,!0}return!n})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"liquid")})}e.exports=a,a.displayName="liquid",a.aliases=[]},3848:function(e){"use strict";function t(e){!function(e){function t(e){return RegExp(/(\()/.source+"(?:"+e+")"+/(?=[\s\)])/.source)}function n(e){return RegExp(/([\s([])/.source+"(?:"+e+")"+/(?=[\s)])/.source)}var r=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,a="&"+r,i="(\\()",o="(?=\\s)",s=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,l={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+r+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+r),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+r),alias:"property"},splice:{pattern:RegExp(",@?"+r),alias:["symbol","variable"]},keyword:[{pattern:RegExp(i+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+o),lookbehind:!0},{pattern:RegExp(i+"(?:append|by|collect|concat|do|finally|for|in|return)"+o),lookbehind:!0}],declare:{pattern:t(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:t(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:n(/nil|t/.source),lookbehind:!0},number:{pattern:n(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(i+"def(?:const|custom|group|var)\\s+"+r),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(r)}},defun:{pattern:RegExp(i+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+r+/\s+\(/.source+s+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+r),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(i+"lambda\\s+\\(\\s*(?:&?"+r+"(?:\\s+&?"+r+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(i+r),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},c={"lisp-marker":RegExp(a),varform:{pattern:RegExp(/\(/.source+r+/\s+(?=\S)/.source+s+/\)/.source),inside:l},argument:{pattern:RegExp(/(^|[\s(])/.source+r),lookbehind:!0,alias:"variable"},rest:l},u="\\S+(?:\\s+\\S+)*",d={pattern:RegExp(i+s+"(?=\\))"),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+u),inside:c},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+u),inside:c},keys:{pattern:RegExp("&key\\s+"+u+"(?:\\s+&allow-other-keys)?"),inside:c},argument:{pattern:RegExp(r),alias:"variable"},punctuation:/[()]/}};l.lambda.inside.arguments=d,l.defun.inside.arguments=e.util.clone(d),l.defun.inside.arguments.inside.sublist=d,e.languages.lisp=l,e.languages.elisp=l,e.languages.emacs=l,e.languages["emacs-lisp"]=l}(e)}e.exports=t,t.displayName="lisp",t.aliases=[]},41469:function(e){"use strict";function t(e){e.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},e.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=e.languages.livescript}e.exports=t,t.displayName="livescript",t.aliases=[]},73070:function(e){"use strict";function t(e){e.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}}e.exports=t,t.displayName="llvm",t.aliases=[]},35049:function(e){"use strict";function t(e){e.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:e.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}e.exports=t,t.displayName="log",t.aliases=[]},8789:function(e){"use strict";function t(e){e.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}e.exports=t,t.displayName="lolcode",t.aliases=[]},59803:function(e){"use strict";function t(e){e.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}e.exports=t,t.displayName="lua",t.aliases=[]},86328:function(e){"use strict";function t(e){e.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}e.exports=t,t.displayName="magma",t.aliases=[]},33055:function(e){"use strict";function t(e){e.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}e.exports=t,t.displayName="makefile",t.aliases=[]},90542:function(e){"use strict";function t(e){!function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(//g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return r}),i=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+i+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+i+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+i+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~))+\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:n(/!?\[(?:(?!\]))+\](?:\([^\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(t){["url","bold","italic","strike","code-snippet"].forEach(function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])})}),e.hooks.add("after-tokenize",function(e){("markdown"===e.language||"md"===e.language)&&function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n",quot:'"'},l=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(e)}e.exports=t,t.displayName="markdown",t.aliases=["md"]},93205:function(e){"use strict";function t(e){!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,i){if(n.language===r){var o=n.tokenStack=[];n.code=n.code.replace(a,function(e){if("function"==typeof i&&!i(e))return e;for(var a,s=o.length;-1!==n.code.indexOf(a=t(r,s));)++s;return o[s]=e,a}),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,i=Object.keys(n.tokenStack);!function o(s){for(var l=0;l=i.length);l++){var c=s[l];if("string"==typeof c||c.content&&"string"==typeof c.content){var u=i[a],d=n.tokenStack[u],p="string"==typeof c?c:c.content,f=t(r,u),h=p.indexOf(f);if(h>-1){++a;var g=p.substring(0,h),m=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),b=p.substring(h+f.length),y=[];g&&y.push.apply(y,o([g])),y.push(m),b&&y.push.apply(y,o([b])),"string"==typeof c?s.splice.apply(s,[l,1].concat(y)):c.content=y}}else c.content&&o(c.content)}return s}(n.tokens)}}}})}(e)}e.exports=t,t.displayName="markupTemplating",t.aliases=[]},2717:function(e){"use strict";function t(e){e.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"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.value.replace(/&/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(t,n){var r={};r["language-"+n]={pattern:/(^$)/i,lookbehind:!0,inside:e.languages[n]},r.cdata=/^$/i;var a={"included-cdata":{pattern://i,inside:r}};a["language-"+n]={pattern:/[\s\S]+/,inside:e.languages[n]};var i={};i[t]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:a},e.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,n){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:e.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml}e.exports=t,t.displayName="markup",t.aliases=["html","mathml","svg","xml","ssml","atom","rss"]},27992:function(e){"use strict";function t(e){e.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}e.exports=t,t.displayName="matlab",t.aliases=[]},91115:function(e){"use strict";function t(e){var t;t=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i,e.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|")+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source+")[ ]*)(?!"+t.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+t.source+")"+/[a-z_]/.source+"|")+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:t,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}}e.exports=t,t.displayName="maxscript",t.aliases=[]},606:function(e){"use strict";function t(e){e.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\b\w+(?=\()|\b(?:CBG|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|Mayatomr|about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},e.languages.mel.code.inside.rest=e.languages.mel}e.exports=t,t.displayName="mel",t.aliases=[]},68582:function(e){"use strict";function t(e){e.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}e.exports=t,t.displayName="mermaid",t.aliases=[]},23388:function(e){"use strict";function t(e){e.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}e.exports=t,t.displayName="mizar",t.aliases=[]},90596:function(e){"use strict";function t(e){var t,n;n="(?:"+["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"].map(function(e){return e.replace("$","\\$")}).join("|")+")\\b",e.languages.mongodb=e.languages.extend("javascript",{}),e.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp("^(['\"])?"+n+"(?:\\1)?$")}}}),e.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},e.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:ObjectId|Code|BinData|DBRef|Timestamp|NumberLong|NumberDecimal|MaxKey|MinKey|RegExp|ISODate|UUID)\\b"),alias:"keyword"}})}e.exports=t,t.displayName="mongodb",t.aliases=[]},95721:function(e){"use strict";function t(e){e.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}e.exports=t,t.displayName="monkey",t.aliases=[]},64262:function(e){"use strict";function t(e){e.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},e.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=e.languages.moonscript,e.languages.moon=e.languages.moonscript}e.exports=t,t.displayName="moonscript",t.aliases=["moon"]},18190:function(e){"use strict";function t(e){e.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}e.exports=t,t.displayName="n1ql",t.aliases=[]},70896:function(e){"use strict";function t(e){e.languages.n4js=e.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),e.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),e.languages.n4jsd=e.languages.n4js}e.exports=t,t.displayName="n4js",t.aliases=["n4jsd"]},42242:function(e){"use strict";function t(e){e.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}e.exports=t,t.displayName="nand2tetrisHdl",t.aliases=[]},37943:function(e){"use strict";function t(e){var t,n;n={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:t=/\{[^\r\n\[\]{}]*\}/,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]},e.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:t,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:n}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:t,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:n},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},e.languages.nani=e.languages.naniscript,e.hooks.add("after-tokenize",function(e){e.tokens.forEach(function(e){if("string"!=typeof e&&"generic-text"===e.type){var t=function e(t){return"string"==typeof t?t:Array.isArray(t)?t.map(e).join(""):e(t.content)}(e);!function(e){for(var t=[],n=0;n=&|$!]/}}e.exports=t,t.displayName="nasm",t.aliases=[]},83873:function(e){"use strict";function t(e){e.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"atrule"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}e.exports=t,t.displayName="neon",t.aliases=[]},75932:function(e){"use strict";function t(e){e.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}e.exports=t,t.displayName="nevod",t.aliases=[]},60221:function(e){"use strict";function t(e){var t;t=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i,e.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:t}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:t}},punctuation:/[{};]/}}e.exports=t,t.displayName="nginx",t.aliases=[]},44188:function(e){"use strict";function t(e){e.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}e.exports=t,t.displayName="nim",t.aliases=[]},74426:function(e){"use strict";function t(e){e.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},e.languages.nix.string.inside.interpolation.inside=e.languages.nix}e.exports=t,t.displayName="nix",t.aliases=[]},88447:function(e){"use strict";function t(e){e.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}e.exports=t,t.displayName="nsis",t.aliases=[]},16032:function(e,t,n){"use strict";var r=n(65806);function a(e){e.register(r),e.languages.objectivec=e.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete e.languages.objectivec["class-name"],e.languages.objc=e.languages.objectivec}e.exports=a,a.displayName="objectivec",a.aliases=["objc"]},33607:function(e){"use strict";function t(e){e.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}e.exports=t,t.displayName="ocaml",t.aliases=[]},22001:function(e,t,n){"use strict";var r=n(65806);function a(e){var t;e.register(r),e.languages.opencl=e.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),e.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}}),t={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}},e.languages.insertBefore("c","keyword",t),e.languages.cpp&&(t["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},e.languages.insertBefore("cpp","keyword",t))}e.exports=a,a.displayName="opencl",a.aliases=[]},22950:function(e){"use strict";function t(e){e.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},e.languages.qasm=e.languages.openqasm}e.exports=t,t.displayName="openqasm",t.aliases=["qasm"]},23254:function(e){"use strict";function t(e){e.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}e.exports=t,t.displayName="oz",t.aliases=[]},92694:function(e){"use strict";function t(e){var t;e.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:RegExp("\\b(?:"+["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"].map(function(e){return e.split("").join(" *")}).join("|")+")\\b"),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}e.exports=t,t.displayName="parigp",t.aliases=[]},43273:function(e){"use strict";function t(e){var t;t=e.languages.parser=e.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/}),t=e.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:t.keyword,variable:t.variable,function:t.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:t.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:t.punctuation}}}),e.languages.insertBefore("inside","punctuation",{expression:t.expression,keyword:t.keyword,variable:t.variable,function:t.function,escape:t.escape,"parser-punctuation":{pattern:t.punctuation,alias:"punctuation"}},t.tag.inside["attr-value"])}e.exports=t,t.displayName="parser",t.aliases=[]},60718:function(e){"use strict";function t(e){e.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},e.languages.pascal.asm.inside=e.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),e.languages.objectpascal=e.languages.pascal}e.exports=t,t.displayName="pascal",t.aliases=["objectpascal"]},39303:function(e){"use strict";function t(e){var t,n,r,a;t=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,n=/(?:\b\w+(?:)?|)/.source.replace(//g,function(){return t}),r=e.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)/.source.replace(//g,function(){return n}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/(?=\s+is\b)/.source.replace(//g,function(){return n}),"i"),inside:null},{pattern:RegExp(/(:\s*)/.source.replace(//g,function(){return n})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},a=["comment","keyword","builtin","operator","punctuation"].reduce(function(e,t){return e[t]=r[t],e},{}),r["class-name"].forEach(function(e){e.inside=a})}e.exports=t,t.displayName="pascaligo",t.aliases=[]},77393:function(e){"use strict";function t(e){e.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},e.languages.px=e.languages.pcaxis}e.exports=t,t.displayName="pcaxis",t.aliases=["px"]},19023:function(e){"use strict";function t(e){e.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},e.languages.pcode=e.languages.peoplecode}e.exports=t,t.displayName="peoplecode",t.aliases=["pcode"]},74212:function(e){"use strict";function t(e){var t;t=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source,e.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,t].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,t].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,t+/\s*/.source+t].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}}e.exports=t,t.displayName="perl",t.aliases=[]},5137:function(e,t,n){"use strict";var r=n(88262);function a(e){e.register(r),e.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}e.exports=a,a.displayName="phpExtras",a.aliases=[]},88262:function(e,t,n){"use strict";var r=n(93205);function a(e){var t,n,a,i,o,s,l;e.register(r),t=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,n=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],a=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,i=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,o=/[{}\[\](),:;]/,e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:t,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:a,operator:i,punctuation:o},l=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:s={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php}}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:s}}],e.languages.insertBefore("php","variable",{string:l,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:t,string:l,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:a,operator:i,punctuation:o}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",function(t){/<\?/.test(t.code)&&e.languages["markup-templating"].buildPlaceholders(t,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"php")})}e.exports=a,a.displayName="php",a.aliases=[]},63632:function(e,t,n){"use strict";var r=n(88262),a=n(9858);function i(e){var t;e.register(r),e.register(a),t=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source,e.languages.phpdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+t+"\\s+)?)\\$\\w+"),lookbehind:!0}}),e.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+t),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),e.languages.javadoclike.addSupport("php",e.languages.phpdoc)}e.exports=i,i.displayName="phpdoc",i.aliases=[]},59149:function(e,t,n){"use strict";var r=n(11114);function a(e){e.register(r),e.languages.plsql=e.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),e.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}e.exports=a,a.displayName="plsql",a.aliases=[]},50256:function(e){"use strict";function t(e){e.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},e.languages.pq=e.languages.powerquery,e.languages.mscript=e.languages.powerquery}e.exports=t,t.displayName="powerquery",t.aliases=[]},61777:function(e){"use strict";function t(e){var t;(t=e.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/}).string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:t},boolean:t.boolean,variable:t.variable}}e.exports=t,t.displayName="powershell",t.aliases=[]},3623:function(e){"use strict";function t(e){e.languages.processing=e.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),e.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}e.exports=t,t.displayName="processing",t.aliases=[]},82707:function(e){"use strict";function t(e){e.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}e.exports=t,t.displayName="prolog",t.aliases=[]},59338:function(e){"use strict";function t(e){var t,n;n=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"].concat(t=["on","ignoring","group_right","group_left","by","without"],["offset"]),e.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:RegExp("((?:"+t.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:RegExp("\\b(?:"+n.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}}e.exports=t,t.displayName="promql",t.aliases=[]},56267:function(e){"use strict";function t(e){e.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}e.exports=t,t.displayName="properties",t.aliases=[]},98809:function(e){"use strict";function t(e){var t;t=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/,e.languages.protobuf=e.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),e.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:t}},builtin:t,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})}e.exports=t,t.displayName="protobuf",t.aliases=[]},37548:function(e){"use strict";function t(e){e.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}e.exports=t,t.displayName="psl",t.aliases=[]},82161:function(e){"use strict";function t(e){!function(e){e.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:e.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:e.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:e.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:e.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:e.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:e.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:e.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:e.languages.javascript}],punctuation:/[.\-!=|]+/};for(var t=/(^([\t ]*)):(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,n=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],r={},a=0,i=n.length;a",function(){return o.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[o.language,"language-"+o.language],inside:e.languages[o.language]}}})}e.languages.insertBefore("pug","filter",r)}(e)}e.exports=t,t.displayName="pug",t.aliases=[]},80625:function(e){"use strict";function t(e){var t;e.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/},t=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:e.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}],e.languages.puppet.heredoc[0].inside.interpolation=t,e.languages.puppet.string.inside["double-quoted"].inside.interpolation=t}e.exports=t,t.displayName="puppet",t.aliases=[]},88393:function(e){"use strict";function t(e){var t;e.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/},t=/%< *-\*- *\d* *-\*-[\s\S]+?%>/.source,["c",{lang:"c++",alias:"cpp"},"fortran"].forEach(function(n){var r=n;if("string"!=typeof n&&(r=n.alias,n=n.lang),e.languages[r]){var a={};a["inline-lang-"+r]={pattern:RegExp(t.replace("",n.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:e.util.clone(e.languages.pure["inline-lang"].inside)},a["inline-lang-"+r].inside.rest=e.util.clone(e.languages[r]),e.languages.insertBefore("pure","inline-lang",a)}}),e.languages.c&&(e.languages.pure["inline-lang"].inside.rest=e.util.clone(e.languages.c))}e.exports=t,t.displayName="pure",t.aliases=[]},78404:function(e){"use strict";function t(e){e.languages.purebasic=e.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+|-[>-]?|\+\+?|!=?|<>?=?|==?|&&?|\|?\||[~^%?*/@]/}),e.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete e.languages.purebasic["class-name"],delete e.languages.purebasic.boolean,e.languages.pbfasm=e.languages.purebasic}e.exports=t,t.displayName="purebasic",t.aliases=[]},92923:function(e,t,n){"use strict";var r=n(58090);function a(e){e.register(r),e.languages.purescript=e.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[e.languages.haskell.operator[0],e.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),e.languages.purs=e.languages.purescript}e.exports=a,a.displayName="purescript",a.aliases=["purs"]},52992:function(e){"use strict";function t(e){e.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},e.languages.python["string-interpolation"].inside.interpolation.inside.rest=e.languages.python,e.languages.py=e.languages.python}e.exports=t,t.displayName="python",t.aliases=["py"]},55762:function(e){"use strict";function t(e){e.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}e.exports=t,t.displayName="q",t.aliases=[]},4137:function(e){"use strict";function t(e){!function(e){for(var t=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,n=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,r=/(?:[^\\()[\]{}"'/]||\/(?![*/])||\(*\)|\[*\]|\{*\}|\\[\s\S])/.source.replace(//g,function(){return t}).replace(//g,function(){return n}),a=0;a<2;a++)r=r.replace(//g,function(){return r});r=r.replace(//g,"[^\\s\\S]"),e.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(*\)\s*\{*\}/.source.replace(//g,function(){return r}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:e.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}]))+/.source.replace(//g,function(){return r}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:e.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}}(e)}e.exports=t,t.displayName="qml",t.aliases=[]},28260:function(e){"use strict";function t(e){e.languages.qore=e.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}e.exports=t,t.displayName="qore",t.aliases=[]},71360:function(e){"use strict";function t(e){!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,function(e,n){return"(?:"+t[+n]+")"})}function n(e,n,r){return RegExp(t(e,n),r||"")}var r={type:"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",other:"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"},a=RegExp("\\b(?:"+(r.type+" "+r.other).trim().replace(/ /g,"|")+")\\b"),i=/\b[A-Za-z_]\w*\b/.source,o=t(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[i]),s={keyword:a,punctuation:/[<>()?,.:[\]]/},l=/"(?:\\.|[^\\"])*"/.source;e.languages.qsharp=e.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[l]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[o]),lookbehind:!0,inside:s},{pattern:n(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[o]),lookbehind:!0,inside:s}],keyword:a,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),e.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var c=function(e,t){for(var n=0;n<2;n++)e=e.replace(/<>/g,function(){return"(?:"+e+")"});return e.replace(/<>/g,"[^\\s\\S]")}(t(/\{(?:[^"{}]|<<0>>|<>)*\}/.source,[l]),0);e.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:n(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[c]),greedy:!0,inside:{interpolation:{pattern:n(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[c]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:e.languages.qsharp}}},string:/[\s\S]+/}}})}(e),e.languages.qs=e.languages.qsharp}e.exports=t,t.displayName="qsharp",t.aliases=["qs"]},29308:function(e){"use strict";function t(e){e.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}e.exports=t,t.displayName="r",t.aliases=[]},32168:function(e,t,n){"use strict";var r=n(9997);function a(e){e.register(r),e.languages.racket=e.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),e.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),e.languages.rkt=e.languages.racket}e.exports=a,a.displayName="racket",a.aliases=["rkt"]},5755:function(e){"use strict";function t(e){e.languages.reason=e.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),e.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete e.languages.reason.function}e.exports=t,t.displayName="reason",t.aliases=[]},54105:function(e){"use strict";function t(e){var t,n,r,a,i;t={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},a=RegExp((r="(?:[^\\\\-]|"+(n=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/).source+")")+"-"+r),i={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},e.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:a,inside:{escape:n,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":t,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:n}},"special-escape":t,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":i}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:n,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}e.exports=t,t.displayName="rego",t.aliases=[]},35108:function(e){"use strict";function t(e){e.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},e.languages.rpy=e.languages.renpy}e.exports=t,t.displayName="renpy",t.aliases=["rpy"]},46678:function(e){"use strict";function t(e){e.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}e.exports=t,t.displayName="rest",t.aliases=[]},47496:function(e){"use strict";function t(e){e.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}e.exports=t,t.displayName="rip",t.aliases=[]},30527:function(e){"use strict";function t(e){e.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}e.exports=t,t.displayName="roboconf",t.aliases=[]},5261:function(e){"use strict";function t(e){!function(e){var t={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},n={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function r(e,r){var a={};for(var i in a["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"},r)a[i]=r[i];return a.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},a.variable=n,a.comment=t,{pattern:RegExp(/^ ?\*{3}[ \t]*[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(//g,function(){return e}),"im"),alias:"section",inside:a}}var a={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},i={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:n}},o={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:n}};e.languages.robotframework={settings:r("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:r("Variables"),"test-cases":r("Test Cases",{"test-name":i,documentation:a,property:o}),keywords:r("Keywords",{"keyword-name":i,documentation:a,property:o}),tasks:r("Tasks",{"task-name":i,documentation:a,property:o}),comment:t},e.languages.robot=e.languages.robotframework}(e)}e.exports=t,t.displayName="robotframework",t.aliases=[]},56939:function(e){"use strict";function t(e){var t,n,r;e.languages.ruby=e.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),e.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),t={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}},delete e.languages.ruby.function,n="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",r=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source,e.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+n+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+r),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+r+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),e.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+n),greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+n),greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete e.languages.ruby.string,e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),e.languages.rb=e.languages.ruby}e.exports=t,t.displayName="ruby",t.aliases=["rb"]},83648:function(e){"use strict";function t(e){!function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,n=0;n<2;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(e)}e.exports=t,t.displayName="rust",t.aliases=[]},16009:function(e){"use strict";function t(e){var t,n,r,a,i,o,s,l,c,u,d,p,f,h,g,m,b,y;t=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,n=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,r={pattern:RegExp(t+"[bx]"),alias:"number"},i={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},o={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},s=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],d={function:u={pattern:/%?\b\w+(?=\()/,alias:"keyword"},"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":a={pattern:/&[a-z_]\w*/i},arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:n,"numeric-constant":r,punctuation:c=/[$%@.(){}\[\];,\\]/,string:l={pattern:RegExp(t),greedy:!0}},p={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},f={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},h={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},g={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},m=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,b={pattern:RegExp(/(^|\s)(?:action\s+)?(?:)\.[a-z]+\b[^;]+/.source.replace(//g,function(){return m}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:)\.[a-z]+\b/.source.replace(//g,function(){return m}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:s,function:u,"arg-value":d["arg-value"],operator:d.operator,argument:d.arg,number:n,"numeric-constant":r,punctuation:c,string:l}},y={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0},e.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:|[^;"'])+;/.source.replace(//g,function(){return t}),"im"),alias:"language-sql",inside:e.languages.sql},"global-statements":h,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:n,"numeric-constant":r,punctuation:c,string:l}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return t}),"im"),lookbehind:!0,alias:"language-groovy",inside:e.languages.groovy},keyword:y,"submit-statement":g,"global-statements":h,number:n,"numeric-constant":r,punctuation:c,string:l}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return t}),"im"),lookbehind:!0,alias:"language-lua",inside:e.languages.lua},keyword:y,"submit-statement":g,"global-statements":h,number:n,"numeric-constant":r,punctuation:c,string:l}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:d}},"cas-actions":b,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:d},step:o,keyword:y,function:u,format:p,altformat:f,"global-statements":h,number:n,"numeric-constant":r,punctuation:c,string:l}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|)+;/.source.replace(//g,function(){return t}),"im"),lookbehind:!0,inside:d},"macro-keyword":i,"macro-variable":a,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":i,"macro-variable":a,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:c}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:s,number:n,"numeric-constant":r}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:d},"cas-actions":b,comment:s,function:u,format:p,altformat:f,"numeric-constant":r,datetime:{pattern:RegExp(t+"(?:dt?|t)"),alias:"number"},string:l,step:o,keyword:y,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:n,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:c}}e.exports=t,t.displayName="sas",t.aliases=[]},41720:function(e){"use strict";function t(e){var t,n;e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule,t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}e.exports=t,t.displayName="sass",t.aliases=[]},6054:function(e,t,n){"use strict";var r=n(15909);function a(e){e.register(r),e.languages.scala=e.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),e.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.scala}}},string:/[\s\S]+/}}}),delete e.languages.scala["class-name"],delete e.languages.scala.function}e.exports=a,a.displayName="scala",a.aliases=[]},9997:function(e){"use strict";function t(e){e.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(function(e){for(var t in e)e[t]=e[t].replace(/<[\w\s]+>/g,function(t){return"(?:"+e[t].trim()+")"});return e[t]}({"":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?/.source,"":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/#[box](?:#[ei])?|(?:#[ei])?#[box]/.source,"":/(^|[()\[\]\s])(?:|)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/}}e.exports=t,t.displayName="scheme",t.aliases=[]},24296:function(e){"use strict";function t(e){e.languages.scss=e.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),e.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),e.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),e.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),e.languages.scss.atrule.inside.rest=e.languages.scss}e.exports=t,t.displayName="scss",t.aliases=[]},49246:function(e,t,n){"use strict";var r=n(6979);function a(e){var t;e.register(r),t=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|"),e.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,function(){return t}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:e.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},e.languages["sh-session"]=e.languages.shellsession=e.languages["shell-session"]}e.exports=a,a.displayName="shellSession",a.aliases=[]},18890:function(e){"use strict";function t(e){e.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}e.exports=t,t.displayName="smali",t.aliases=[]},11037:function(e){"use strict";function t(e){e.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}e.exports=t,t.displayName="smalltalk",t.aliases=[]},64020:function(e,t,n){"use strict";var r=n(93205);function a(e){var t,n;e.register(r),e.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:e.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},e.languages.smarty["embedded-php"].inside.smarty.inside=e.languages.smarty,e.languages.smarty.string[0].inside.interpolation.inside.expression.inside=e.languages.smarty,t=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,n=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']||\{(?:[^{}"']||\{(?:[^{}"']|)*\})*\})*\}/.source.replace(//g,function(){return t.source}),"g"),e.hooks.add("before-tokenize",function(t){var r=!1;e.languages["markup-templating"].buildPlaceholders(t,"smarty",n,function(e){return"{/literal}"===e&&(r=!1),!r&&("{literal}"===e&&(r=!0),!0)})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"smarty")})}e.exports=a,a.displayName="smarty",a.aliases=[]},49760:function(e){"use strict";function t(e){var t;t=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i,e.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)(?:\s*(?:(?:\*|->)\s*|,\s*(?:(?=)|(?!)\s+)))*/.source.replace(//g,function(){return/\s*(?:[*,]|->)/.source}).replace(//g,function(){return/(?:'[\w']*||\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+)*/.source}).replace(//g,function(){return/(?!)[a-z\d_][\w'.]*/.source}).replace(//g,function(){return t.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:t,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},e.languages.sml["class-name"][0].inside=e.languages.sml,e.languages.smlnj=e.languages.sml}e.exports=t,t.displayName="sml",t.aliases=["smlnj"]},33351:function(e){"use strict";function t(e){e.languages.solidity=e.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),e.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),e.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),e.languages.sol=e.languages.solidity}e.exports=t,t.displayName="solidity",t.aliases=["sol"]},13570:function(e){"use strict";function t(e){var t;t={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}},e.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:t}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:t}},guid:t,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},e.languages.sln=e.languages["solution-file"]}e.exports=t,t.displayName="solutionFile",t.aliases=[]},38181:function(e,t,n){"use strict";var r=n(93205);function a(e){var t,n;e.register(r),t=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,n=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/,e.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:t,greedy:!0},number:n,punctuation:/[\[\].?]/}},string:{pattern:t,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:n,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},e.hooks.add("before-tokenize",function(t){var n=!1;e.languages["markup-templating"].buildPlaceholders(t,"soy",/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,function(e){return"{/literal}"===e&&(n=!1),!n&&("{literal}"===e&&(n=!0),!0)})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"soy")})}e.exports=a,a.displayName="soy",a.aliases=[]},98774:function(e,t,n){"use strict";var r=n(24691);function a(e){e.register(r),e.languages.sparql=e.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),e.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),e.languages.rq=e.languages.sparql}e.exports=a,a.displayName="sparql",a.aliases=["rq"]},22855:function(e){"use strict";function t(e){e.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}e.exports=t,t.displayName="splunkSpl",t.aliases=[]},29611:function(e){"use strict";function t(e){e.languages.sqf=e.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),e.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:e.languages.sqf.comment}}}),delete e.languages.sqf["class-name"]}e.exports=t,t.displayName="sqf",t.aliases=[]},11114:function(e){"use strict";function t(e){e.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}e.exports=t,t.displayName="sql",t.aliases=[]},67386:function(e){"use strict";function t(e){e.languages.squirrel=e.languages.extend("clike",{comment:[e.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),e.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}e.exports=t,t.displayName="squirrel",t.aliases=[]},28067:function(e){"use strict";function t(e){var t;t=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/,e.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+t.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,t],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},e.languages.stan.constraint.inside.expression.inside=e.languages.stan}e.exports=t,t.displayName="stan",t.aliases=[]},49168:function(e){"use strict";function t(e){var t,n,r;(r={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},number:n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:n,punctuation:/[{}()\[\];:,]/}).interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:r}},r.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:r}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:r}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:r}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:r}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:r.interpolation}},rest:r}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:r.interpolation,comment:r.comment,punctuation:/[{},]/}},func:r.func,string:r.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:r.interpolation,punctuation:/[{}()\[\];:.]/}}e.exports=t,t.displayName="stylus",t.aliases=[]},23651:function(e){"use strict";function t(e){e.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},e.languages.swift["string-literal"].forEach(function(t){t.inside.interpolation.inside=e.languages.swift})}e.exports=t,t.displayName="swift",t.aliases=[]},21483:function(e){"use strict";function t(e){var t,n;t={pattern:/^[;#].*/m,greedy:!0},n=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source,e.languages.systemd={comment:t,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+n+'|(?=[^"\r\n]))(?:'+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|')+n+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:t,quoted:{pattern:RegExp(/(^|\s)/.source+n),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}}e.exports=t,t.displayName="systemd",t.aliases=[]},32268:function(e,t,n){"use strict";var r=n(2329),a=n(61958);function i(e){e.register(r),e.register(a),e.languages.t4=e.languages["t4-cs"]=e.languages["t4-templating"].createT4("csharp")}e.exports=i,i.displayName="t4Cs",i.aliases=[]},2329:function(e){"use strict";function t(e){!function(e){function t(e,t,n){return{pattern:RegExp("<#"+e+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+e+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:t,alias:n}}}}e.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:function(n){var r=e.languages[n],a="language-"+n;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:t("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:t("=",r,a),"class-feature":t("\\+",r,a),standard:t("",r,a)}}}}})}(e)}e.exports=t,t.displayName="t4Templating",t.aliases=[]},82996:function(e,t,n){"use strict";var r=n(2329),a=n(53813);function i(e){e.register(r),e.register(a),e.languages["t4-vb"]=e.languages["t4-templating"].createT4("vbnet")}e.exports=i,i.displayName="t4Vb",i.aliases=[]},17290:function(e,t,n){"use strict";var r=n(65039);function a(e){e.register(r),e.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:e.languages.yaml,alias:"language-yaml"}}}e.exports=a,a.displayName="tap",a.aliases=[]},67989:function(e){"use strict";function t(e){e.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}e.exports=t,t.displayName="tcl",t.aliases=[]},31065:function(e){"use strict";function t(e){!function(e){var t=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,n=/\)|\((?![^|()\n]+\))/.source;function r(e,r){return RegExp(e.replace(//g,function(){return"(?:"+t+")"}).replace(//g,function(){return"(?:"+n+")"}),r||"")}var a={css:{pattern:/\{[^{}]+\}/,inside:{rest:e.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},i=e.languages.textile=e.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:r(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:r(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:a},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:r(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:r(/(^[*#]+)+/.source),lookbehind:!0,inside:a},punctuation:/^[*#]+/}},table:{pattern:r(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:r(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:a},punctuation:/\||^\./}},inline:{pattern:r(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:r(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:r(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:r(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:r(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:r(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:r(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:r(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:r(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:a},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:r(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:r(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:r(/(^")+/.source),lookbehind:!0,inside:a},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:r(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:r(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:r(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:a},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),o=i.phrase.inside,s={inline:o.inline,link:o.link,image:o.image,footnote:o.footnote,acronym:o.acronym,mark:o.mark};i.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var l=o.inline.inside;l.bold.inside=s,l.italic.inside=s,l.inserted.inside=s,l.deleted.inside=s,l.span.inside=s;var c=o.table.inside;c.inline=s.inline,c.link=s.link,c.image=s.image,c.footnote=s.footnote,c.acronym=s.acronym,c.mark=s.mark}(e)}e.exports=t,t.displayName="textile",t.aliases=[]},85572:function(e){"use strict";function t(e){!function(e){var t=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function n(e){return e.replace(/__/g,function(){return t})}e.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(n(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(n(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}}(e)}e.exports=t,t.displayName="toml",t.aliases=[]},27536:function(e){"use strict";function t(e){var t;e.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/},t=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source,e.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+t+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+t+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(t),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.tremor}}},string:/[\s\S]+/}},e.languages.troy=e.languages.tremor,e.languages.trickle=e.languages.tremor}e.exports=t,t.displayName="tremor",t.aliases=[]},87041:function(e,t,n){"use strict";var r=n(96412),a=n(4979);function i(e){var t,n;e.register(r),e.register(a),t=e.util.clone(e.languages.typescript),e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"],(n=e.languages.tsx.tag).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}e.exports=i,i.displayName="tsx",i.aliases=[]},61028:function(e,t,n){"use strict";var r=n(93205);function a(e){e.register(r),e.languages.tt2=e.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),e.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),e.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),e.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete e.languages.tt2.string,e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"tt2",/\[%[\s\S]+?%\]/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"tt2")})}e.exports=a,a.displayName="tt2",a.aliases=[]},24691:function(e){"use strict";function t(e){e.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},e.languages.trig=e.languages.turtle}e.exports=t,t.displayName="turtle",t.aliases=[]},19892:function(e,t,n){"use strict";var r=n(93205);function a(e){e.register(r),e.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},e.hooks.add("before-tokenize",function(t){"twig"===t.language&&e.languages["markup-templating"].buildPlaceholders(t,"twig",/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"twig")})}e.exports=a,a.displayName="twig",a.aliases=[]},4979:function(e){"use strict";function t(e){var t;e.languages.typescript=e.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/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"],t=e.languages.extend("typescript",{}),delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}e.exports=t,t.displayName="typescript",t.aliases=["ts"]},23159:function(e){"use strict";function t(e){var t;t=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/,e.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern://,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:t}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:t,number:/^\d+$/,punctuation:/[,|:]/}},keyword:t,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},e.languages.tsconfig=e.languages.typoscript}e.exports=t,t.displayName="typoscript",t.aliases=["tsconfig"]},34966:function(e){"use strict";function t(e){e.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},e.languages.uc=e.languages.uscript=e.languages.unrealscript}e.exports=t,t.displayName="unrealscript",t.aliases=["uc","uscript"]},44623:function(e){"use strict";function t(e){e.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}e.exports=t,t.displayName="uorazor",t.aliases=[]},38521:function(e){"use strict";function t(e){e.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source)+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")"+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},e.languages.url=e.languages.uri}e.exports=t,t.displayName="uri",t.aliases=["url"]},7255:function(e){"use strict";function t(e){var t;t={pattern:/[\s\S]+/,inside:null},e.languages.v=e.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":t}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),t.inside=e.languages.v,e.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),e.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),e.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:e.languages.v.generic.inside}}}})}e.exports=t,t.displayName="v",t.aliases=[]},28173:function(e){"use strict";function t(e){e.languages.vala=e.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),e.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:e.languages.vala}},string:/[\s\S]+/}}}),e.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}e.exports=t,t.displayName="vala",t.aliases=[]},53813:function(e,t,n){"use strict";var r=n(46241);function a(e){e.register(r),e.languages.vbnet=e.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}e.exports=a,a.displayName="vbnet",a.aliases=[]},46891:function(e){"use strict";function t(e){var t;e.languages.velocity=e.languages.extend("markup",{}),(t={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/}).variable.inside={string:t.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:t.number,boolean:t.boolean,punctuation:t.punctuation},e.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:t}},variable:t.variable}),e.languages.velocity.tag.inside["attr-value"].inside.rest=e.languages.velocity}e.exports=t,t.displayName="velocity",t.aliases=[]},91824:function(e){"use strict";function t(e){e.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}e.exports=t,t.displayName="verilog",t.aliases=[]},9447:function(e){"use strict";function t(e){e.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="vhdl",t.aliases=[]},53062:function(e){"use strict";function t(e){e.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}e.exports=t,t.displayName="vim",t.aliases=[]},46215:function(e){"use strict";function t(e){e.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},e.languages.vb=e.languages["visual-basic"],e.languages.vba=e.languages["visual-basic"]}e.exports=t,t.displayName="visualBasic",t.aliases=[]},10784:function(e){"use strict";function t(e){e.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}e.exports=t,t.displayName="warpscript",t.aliases=[]},17684:function(e){"use strict";function t(e){e.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}e.exports=t,t.displayName="wasm",t.aliases=[]},64851:function(e){"use strict";function t(e){!function(e){var t=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,n="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+t+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,r={};for(var a in e.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+t),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:r},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+n),lookbehind:!0,inside:r},{pattern:RegExp("("+/\bcallback\s+/.source+t+/\s*=\s*/.source+")"+n),lookbehind:!0,inside:r},{pattern:RegExp(/(\btypedef\b\s*)/.source+n),lookbehind:!0,inside:r},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+t),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+t),lookbehind:!0},RegExp(t+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+t),lookbehind:!0},{pattern:RegExp(n+"(?="+/\s*(?:\.{3}\s*)?/.source+t+/\s*[(),;=]/.source+")"),inside:r}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/},e.languages["web-idl"])"class-name"!==a&&(r[a]=e.languages["web-idl"][a]);e.languages.webidl=e.languages["web-idl"]}(e)}e.exports=t,t.displayName="webIdl",t.aliases=[]},18191:function(e){"use strict";function t(e){e.languages.wiki=e.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:e.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),e.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:e.languages.markup.tag.inside}}}})}e.exports=t,t.displayName="wiki",t.aliases=[]},75242:function(e){"use strict";function t(e){e.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},e.languages.mathematica=e.languages.wolfram,e.languages.wl=e.languages.wolfram,e.languages.nb=e.languages.wolfram}e.exports=t,t.displayName="wolfram",t.aliases=["mathematica","wl","nb"]},93639:function(e){"use strict";function t(e){e.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},e.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:e.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}e.exports=t,t.displayName="wren",t.aliases=[]},97202:function(e){"use strict";function t(e){e.languages.xeora=e.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),e.languages.insertBefore("inside","punctuation",{variable:e.languages.xeora["function-inline"].inside.variable},e.languages.xeora["function-block"]),e.languages.xeoracube=e.languages.xeora}e.exports=t,t.displayName="xeora",t.aliases=["xeoracube"]},13808:function(e){"use strict";function t(e){!function(e){function t(t,n){e.languages[t]&&e.languages.insertBefore(t,"comment",{"doc-comment":n})}var n=e.languages.markup.tag,r={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:n}};t("csharp",r),t("fsharp",r),t("vbnet",{pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:n}})}(e)}e.exports=t,t.displayName="xmlDoc",t.aliases=[]},21301:function(e){"use strict";function t(e){e.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}e.exports=t,t.displayName="xojo",t.aliases=[]},20349:function(e){"use strict";function t(e){!function(e){e.languages.xquery=e.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),e.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,e.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,e.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,e.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:e.languages.xquery,alias:"language-xquery"};var t=function(e){return"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(t).join("")},n=function(r){for(var a=[],i=0;i0&&a[a.length-1].tagName===t(o.content[0].content[1])&&a.pop():"/>"===o.content[o.content.length-1].content||a.push({tagName:t(o.content[0].content[1]),openedBraces:0}):!(a.length>0)||"punctuation"!==o.type||"{"!==o.content||r[i+1]&&"punctuation"===r[i+1].type&&"{"===r[i+1].content||r[i-1]&&"plain-text"===r[i-1].type&&"{"===r[i-1].content?a.length>0&&a[a.length-1].openedBraces>0&&"punctuation"===o.type&&"}"===o.content?a[a.length-1].openedBraces--:"comment"!==o.type&&(s=!0):a[a.length-1].openedBraces++),(s||"string"==typeof o)&&a.length>0&&0===a[a.length-1].openedBraces){var l=t(o);i0&&("string"==typeof r[i-1]||"plain-text"===r[i-1].type)&&(l=t(r[i-1])+l,r.splice(i-1,1),i--),/^\s+$/.test(l)?r[i]=l:r[i]=new e.Token("plain-text",l,null,l)}o.content&&"string"!=typeof o.content&&n(o.content)}};e.hooks.add("after-tokenize",function(e){"xquery"===e.language&&n(e.tokens)})}(e)}e.exports=t,t.displayName="xquery",t.aliases=[]},65039:function(e){"use strict";function t(e){!function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+n.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),i=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function o(e,t){return t=(t||"").replace(/m/g,"")+"m",RegExp(/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return r}).replace(/<>/g,function(){return e}),t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return r})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return r}).replace(/<>/g,function(){return"(?:"+a+"|"+i+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:o(/\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:o(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:o(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:o(i),lookbehind:!0,greedy:!0},number:{pattern:o(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(e)}e.exports=t,t.displayName="yaml",t.aliases=["yml"]},96319:function(e){"use strict";function t(e){e.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}e.exports=t,t.displayName="yang",t.aliases=[]},31501:function(e){"use strict";function t(e){!function(e){function t(e){return function(){return e}}var n=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,r="\\b(?!"+n.source+")(?!\\d)\\w+\\b",a=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,i="(?!\\s)(?:!?\\s*(?:"+/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(//g,t(a))+"\\s*)*"+/(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace(//g,t(r))+")+";e.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)(?=\s*(?:\s*)?[=;,)])|(?=\s*(?:\s*)?\{)/.source.replace(//g,t(i)).replace(//g,t(a))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)(?=\s*(?:\s*)?;)/.source.replace(//g,t(i)).replace(//g,t(a))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:n,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},e.languages.zig["class-name"].forEach(function(t){null===t.inside&&(t.inside=e.languages.zig)})}(e)}e.exports=t,t.displayName="zig",t.aliases=[]},59216:function(e,t,n){/** + `}};var SX=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let SQ=(e="circle")=>SK[e]||SK.circle,SJ=(e,t)=>{if(!t)return;let{coordinate:n}=t,{liquidOptions:r,styleOptions:a}=e,{liquidShape:i,percent:o}=r,{background:s,outline:l={},wave:c={}}=a,u=SX(a,["background","outline","wave"]),{border:d=2,distance:p=0}=l,f=SX(l,["border","distance"]),{length:h=192,count:g=3}=c;return(e,r,a)=>{let{document:l}=t.canvas,{color:c,fillOpacity:m}=a,b=Object.assign(Object.assign({fill:c},a),u),y=l.createElement("g",{}),[E,v]=n.getCenter(),T=n.getSize(),S=Math.min(...T)/2,A=ox(i)?i:SQ(i),O=A(E,v,S,...T);if(Object.keys(s).length){let e=l.createElement("path",{style:Object.assign({d:O,fill:"#fff"},s)});y.appendChild(e)}if(o>0){let e=l.createElement("path",{style:{d:O}});y.appendChild(e),y.style.clipPath=e,function(e,t,n,r,a,i,o,s,l,c,u){let{fill:d,fillOpacity:p,opacity:f}=a;for(let a=0;a0;)c-=2*Math.PI;c=c/Math.PI/2*n;let u=i-e+c-2*e;l.push(["M",u,t]);let d=0;for(let e=0;et.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let S1={axis:{x:!1,y:!1},legend:!1,tooltip:!1,encode:{x:"type",y:"percent"},scale:{y:{domain:[0,1]}},style:{shape:SJ},animate:{enter:{type:"fadeIn"}}},S2={type:"text",style:{x:"50%",y:"50%",textAlign:"center",textBaseline:"middle",fontSize:20,fontWeight:800,fill:"#888"},animate:{enter:{type:"fadeIn"}}},S3=e=>{let{data:t={},style:n={},animate:r}=e,a=S0(e,["data","style","animate"]),i=Math.max(0,oQ(t)?t:null==t?void 0:t.percent),o=[{percent:i,type:"liquid"}],s=Object.assign(Object.assign({},iN(n,"text")),iN(n,"content")),l=iN(n,"outline"),c=iN(n,"wave"),u=iN(n,"background");return[iT({},S1,Object.assign({type:"interval",data:o,style:{liquidOptions:{percent:i,liquidShape:null==n?void 0:n.shape},styleOptions:Object.assign(Object.assign({},n),{outline:l,wave:c,background:u})},animate:r},a)),iT({},S2,{style:Object.assign({text:`${i3(100*i)} %`},s),animate:r})]};S3.props={};var S5=n(69916);function S4(e,t){let n=function(e){let t=[];for(let n=0;nt[n].radius+1e-10)return!1;return!0}(t,e)}),a=0,i=0,o,s=[];if(r.length>1){let t=function(e){let t={x:0,y:0};for(let n=0;n-1){let a=e[t.parentIndex[r]],i=Math.atan2(t.x-a.x,t.y-a.y),o=Math.atan2(n.x-a.x,n.y-a.y),s=o-i;s<0&&(s+=2*Math.PI);let u=o-s/2,d=S9(l,{x:a.x+a.radius*Math.sin(u),y:a.y+a.radius*Math.cos(u)});d>2*a.radius&&(d=2*a.radius),(null===c||c.width>d)&&(c={circle:a,width:d,p1:t,p2:n})}null!==c&&(s.push(c),a+=S6(c.circle.radius,c.width),n=t)}}else{let t=e[0];for(o=1;oMath.abs(t.radius-e[o].radius)){n=!0;break}n?a=i=0:(a=t.radius*t.radius*Math.PI,s.push({circle:t,p1:{x:t.x,y:t.y+t.radius},p2:{x:t.x-1e-10,y:t.y+t.radius},width:2*t.radius}))}return i/=2,t&&(t.area=a+i,t.arcArea=a,t.polygonArea=i,t.arcs=s,t.innerPoints=r,t.intersectionPoints=n),a+i}function S6(e,t){return e*e*Math.acos(1-t/e)-(e-t)*Math.sqrt(t*(2*e-t))}function S9(e,t){return Math.sqrt((e.x-t.x)*(e.x-t.x)+(e.y-t.y)*(e.y-t.y))}function S8(e,t,n){if(n>=e+t)return 0;if(n<=Math.abs(e-t))return Math.PI*Math.min(e,t)*Math.min(e,t);let r=e-(n*n-t*t+e*e)/(2*n),a=t-(n*n-e*e+t*t)/(2*n);return S6(e,r)+S6(t,a)}function S7(e,t){let n=S9(e,t),r=e.radius,a=t.radius;if(n>=r+a||n<=Math.abs(r-a))return[];let i=(r*r-a*a+n*n)/(2*n),o=Math.sqrt(r*r-i*i),s=e.x+i*(t.x-e.x)/n,l=e.y+i*(t.y-e.y)/n,c=-(t.y-e.y)*(o/n),u=-(t.x-e.x)*(o/n);return[{x:s+c,y:l-u},{x:s-c,y:l+u}]}function Ae(e,t,n){return Math.min(e,t)*Math.min(e,t)*Math.PI<=n+1e-10?Math.abs(e-t):(0,S5.bisect)(function(r){return S8(e,t,r)-n},0,e+t)}function At(e,t){let n=function(e,t){let n;let r=t&&t.lossFunction?t.lossFunction:An,a={},i={};for(let t=0;t=Math.min(a[o].size,a[s].size)&&(r=0),i[o].push({set:s,size:n.size,weight:r}),i[s].push({set:o,size:n.size,weight:r})}let o=[];for(n in i)if(i.hasOwnProperty(n)){let e=0;for(let t=0;t=8){let a=function(e,t){let n,r,a;t=t||{};let i=t.restarts||10,o=[],s={};for(n=0;n=Math.min(t[i].size,t[o].size)?u=1:e.size<=1e-10&&(u=-1),a[i][o]=a[o][i]=u}),{distances:r,constraints:a}}(e,o,s),c=l.distances,u=l.constraints,d=(0,S5.norm2)(c.map(S5.norm2))/c.length;c=c.map(function(e){return e.map(function(e){return e/d})});let p=function(e,t){return function(e,t,n,r){let a=0,i;for(i=0;i0&&h<=d||p<0&&h>=d||(a+=2*g*g,t[2*i]+=4*g*(o-c),t[2*i+1]+=4*g*(s-u),t[2*l]+=4*g*(c-o),t[2*l+1]+=4*g*(u-s))}}return a}(e,t,c,u)};for(n=0;n{let{sets:t="sets",size:n="size",as:r=["key","path"],padding:a=0}=e,[i,o]=r;return e=>{let r;let s=e.map(e=>Object.assign(Object.assign({},e),{sets:e[t],size:e[n],[i]:e.sets.join("&")}));s.sort((e,t)=>e.sets.length-t.sets.length);let l=function(e,t){let n;(t=t||{}).maxIterations=t.maxIterations||500;let r=t.initialLayout||At,a=t.lossFunction||An;e=function(e){let t,n,r,a;e=e.slice();let i=[],o={};for(t=0;te>t?1:-1),t=0;t{let n=e[t];return Object.assign(Object.assign({},e),{[o]:({width:e,height:t})=>{r=r||function(e,t,n,r){let a=[],i=[];for(let t in e)e.hasOwnProperty(t)&&(i.push(t),a.push(e[t]));t-=2*r,n-=2*r;let o=function(e){let t=function(t){let n=Math.max.apply(null,e.map(function(e){return e[t]+e.radius})),r=Math.min.apply(null,e.map(function(e){return e[t]-e.radius}));return{max:n,min:r}};return{xRange:t("x"),yRange:t("y")}}(a),s=o.xRange,l=o.yRange;if(s.max==s.min||l.max==l.min)return console.log("not scaling solution: zero size detected"),e;let c=t/(s.max-s.min),u=n/(l.max-l.min),d=Math.min(u,c),p=(t-(s.max-s.min)*d)/2,f=(n-(l.max-l.min)*d)/2,h={};for(let e=0;er[e]),o=function(e){let t={};S4(e,t);let n=t.arcs;if(0===n.length)return"M 0 0";if(1==n.length){let e=n[0].circle;return function(e,t,n){let r=[],a=e-n;return r.push("M",a,t),r.push("A",n,n,0,1,0,a+2*n,t),r.push("A",n,n,0,1,0,a,t),r.join(" ")}(e.x,e.y,e.radius)}{let e=["\nM",n[0].p2.x,n[0].p2.y];for(let t=0;ta;e.push("\nA",a,a,0,i?1:0,1,r.p1.x,r.p1.y)}return e.join(" ")}}(i);return/[zZ]$/.test(o)||(o+=" Z"),o}})})}};Ar.props={};var Aa=function(){return(Aa=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{this.forceFit()},300),this._renderer=r||new ip,this._plugins=a||[],this._container=function(e){if(void 0===e){let e=document.createElement("div");return e[d1]=!0,e}if("string"==typeof e){let t=document.getElementById(e);return t}return e}(t),this._emitter=new nR.Z,this._context={library:Object.assign(Object.assign({},i),r6),emitter:this._emitter,canvas:n,createCanvas:o},this._create()}render(){if(this._rendering)return this._addToTrailing();this._context.canvas||this._createCanvas(),this._bindAutoFit(),this._rendering=!0;let e=new Promise((e,t)=>(function(e,t={},n=()=>{},r=e=>{throw e}){var a;let{width:i=640,height:o=480,depth:s=0}=e,l=function e(t){let n=(function(...e){return t=>e.reduce((e,t)=>t(e),t)})(dY)(t);return n.children&&Array.isArray(n.children)&&(n.children=n.children.map(t=>e(t))),n}(e),c=function(e){let t=iT({},e),n=new Map([[t,null]]),r=new Map([[null,-1]]),a=[t];for(;a.length;){let e=a.shift();if(void 0===e.key){let t=n.get(e),a=r.get(e),i=null===t?"0":`${t.key}-${a}`;e.key=i}let{children:t=[]}=e;if(Array.isArray(t))for(let i=0;i(function e(t,n,r){var a;return dC(this,void 0,void 0,function*(){let{library:i}=r,[o]=uO("composition",i),[s]=uO("interaction",i),l=new Set(Object.keys(i).map(e=>{var t;return null===(t=/mark\.(.*)/.exec(e))||void 0===t?void 0:t[1]}).filter(iR)),c=new Set(Object.keys(i).map(e=>{var t;return null===(t=/component\.(.*)/.exec(e))||void 0===t?void 0:t[1]}).filter(iR)),u=e=>{let{type:t}=e;if("function"==typeof t){let{props:e={}}=t,{composite:n=!0}=e;if(n)return"mark"}return"string"!=typeof t?t:l.has(t)||c.has(t)?"mark":t},d=e=>"mark"===u(e),p=e=>"standardView"===u(e),f=e=>{let{type:t}=e;return"string"==typeof t&&!!c.has(t)},h=e=>{if(p(e))return[e];let t=u(e),n=o({type:t,static:f(e)});return n(e)},g=[],m=new Map,b=new Map,y=[t],E=[];for(;y.length;){let e=y.shift();if(p(e)){let t=b.get(e),[n,a]=t?dD(t,e,i):yield dR(e,r);m.set(n,e),g.push(n);let o=a.flatMap(h).map(e=>ux(e,i));if(y.push(...o),o.every(p)){let e=yield Promise.all(o.map(e=>dN(e,r)));!function(e){let t=e.flatMap(e=>Array.from(e.values())).flatMap(e=>e.channels.map(e=>e.scale));uF(t,"x"),uF(t,"y")}(e);for(let t=0;te.key).join(e=>e.append("g").attr("className",cG).attr("id",e=>e.key).call(dI).each(function(e,t,n){dP(e,iB(n),S,r),v.set(e,n)}),e=>e.call(dI).each(function(e,t,n){dP(e,iB(n),S,r),T.set(e,n)}),e=>e.each(function(e,t,n){let r=n.nameInteraction.values();for(let e of r)e.destroy()}).remove());let A=(t,n,a)=>Array.from(t.entries()).map(([i,o])=>{let s=a||new Map,l=m.get(i),c=function(t,n,r){let{library:a}=r,i=function(e){let[,t]=uO("interaction",e);return e=>{let[n,r]=e;try{return[n,t(n)]}catch(e){return[n,r.type]}}}(a),o=dG(n),s=o.map(i).filter(e=>e[1]&&e[1].props&&e[1].props.reapplyWhenUpdate).map(e=>e[0]);return(n,a,i)=>dC(this,void 0,void 0,function*(){let[o,l]=yield dR(n,r);for(let e of(dP(o,t,[],r),s.filter(e=>e!==a)))!function(e,t,n,r,a){var i;let{library:o}=a,[s]=uO("interaction",o),l=t.node(),c=l.nameInteraction,u=dG(n).find(([t])=>t===e),d=c.get(e);if(!d||(null===(i=d.destroy)||void 0===i||i.call(d),!u[1]))return;let p=dL(r,e,u[1],s),f={options:n,view:r,container:t.node(),update:e=>Promise.resolve(e)},h=p(f,[],a.emitter);c.set(e,{destroy:h})}(e,t,n,o,r);for(let n of l)e(n,t,r);return i(),{options:n,view:o}})}(iB(o),l,r);return{view:i,container:o,options:l,setState:(e,t=e=>e)=>s.set(e,t),update:(e,r)=>dC(this,void 0,void 0,function*(){let a=ix(Array.from(s.values())),i=a(l);return yield c(i,e,()=>{ib(r)&&n(t,r,s)})})}}),O=(e=T,t,n)=>{var a;let i=A(e,O,n);for(let e of i){let{options:n,container:o}=e,l=o.nameInteraction,c=dG(n);for(let n of(t&&(c=c.filter(e=>t.includes(e[0]))),c)){let[t,o]=n,c=l.get(t);if(c&&(null===(a=c.destroy)||void 0===a||a.call(c)),o){let n=dL(e.view,t,o,s),a=n(e,i,r.emitter);l.set(t,{destroy:a})}}}},_=A(v,O);for(let e of _){let{options:t}=e,n=new Map;for(let a of(e.container.nameInteraction=n,dG(t))){let[t,i]=a;if(i){let a=dL(e.view,t,i,s),o=a(e,_,r.emitter);n.set(t,{destroy:o})}}}O();let{width:k,height:x}=t,C=[];for(let t of E){let a=new Promise(a=>dC(this,void 0,void 0,function*(){for(let a of t){let t=Object.assign({width:k,height:x},a);yield e(t,n,r)}a()}));C.push(a)}r.views=g,null===(a=r.animations)||void 0===a||a.forEach(e=>null==e?void 0:e.cancel()),r.animations=S,r.emitter.emit(iU.AFTER_PAINT);let w=S.filter(iR).map(dj).map(e=>e.finished);return Promise.all([...w,...C])})})(Object.assign(Object.assign({},c),{width:i,height:o,depth:s}),g,t)).then(()=>{if(s){let[e,t]=u.document.documentElement.getPosition();u.document.documentElement.setPosition(e,t,-s/2)}u.requestAnimationFrame(()=>{u.requestAnimationFrame(()=>{d.emit(iU.AFTER_RENDER),null==n||n()})})}).catch(e=>{null==r||r(e)}),"string"==typeof(a=u.getConfig().container)?document.getElementById(a):a})(this._computedOptions(),this._context,this._createResolve(e),this._createReject(t))),[t,n,r]=function(){let e,t;let n=new Promise((n,r)=>{t=n,e=r});return[n,t,e]}();return e.then(n).catch(r).then(()=>this._renderTrailing()),t}options(e){if(0==arguments.length)return function(e){let t=function(e){if(null!==e.type)return e;let t=e.children[e.children.length-1];for(let n of d0)t.attr(n,e.attr(n));return t}(e),n=[t],r=new Map;for(r.set(t,d3(t));n.length;){let e=n.pop(),t=r.get(e),{children:a=[]}=e;for(let e of a)if(e.type===d2)t.children=e.value;else{let a=d3(e),{children:i=[]}=t;i.push(a),n.push(e),r.set(e,a),t.children=i}}return r.get(t)}(this);let{type:t}=e;return t&&(this._previousDefinedType=t),function(e,t,n,r,a){let i=function(e,t,n,r,a){let{type:i}=e,{type:o=n||i}=t;if("function"!=typeof o&&new Set(Object.keys(a)).has(o)){for(let n of d0)void 0!==e.attr(n)&&void 0===t[n]&&(t[n]=e.attr(n));return t}if("function"==typeof o||new Set(Object.keys(r)).has(o)){let e={type:"view"},n=Object.assign({},t);for(let t of d0)void 0!==n[t]&&(e[t]=n[t],delete n[t]);return Object.assign(Object.assign({},e),{children:[n]})}return t}(e,t,n,r,a),o=[[null,e,i]];for(;o.length;){let[e,t,n]=o.shift();if(t){if(n){!function(e,t){let{type:n,children:r}=t,a=dJ(t,["type","children"]);e.type===n||void 0===n?function e(t,n,r=5,a=0){if(!(a>=r)){for(let i of Object.keys(n)){let o=n[i];iv(o)&&iv(t[i])?e(t[i],o,r,a+1):t[i]=o}return t}}(e.value,a):"string"==typeof n&&(e.type=n,e.value=a)}(t,n);let{children:e}=n,{children:r}=t;if(Array.isArray(e)&&Array.isArray(r)){let n=Math.max(e.length,r.length);for(let a=0;a{this.emit(iU.AFTER_CHANGE_SIZE)}),n}changeSize(e,t){if(e===this._width&&t===this._height)return Promise.resolve(this);this.emit(iU.BEFORE_CHANGE_SIZE),this.attr("width",e),this.attr("height",t);let n=this.render();return n.then(()=>{this.emit(iU.AFTER_CHANGE_SIZE)}),n}_create(){let{library:e}=this._context,t=["mark.mark",...Object.keys(e).filter(e=>e.startsWith("mark.")||"component.axisX"===e||"component.axisY"===e||"component.legends"===e)];for(let e of(this._marks={},t)){let t=e.split(".").pop();class n extends pt{constructor(){super({},t)}}this._marks[t]=n,this[t]=function(e){let r=this.append(n);return"mark"===t&&(r.type=e),r}}let n=["composition.view",...Object.keys(e).filter(e=>e.startsWith("composition.")&&"composition.mark"!==e)];for(let e of(this._compositions=Object.fromEntries(n.map(e=>{let t=e.split(".").pop(),n=class extends pe{constructor(){super({},t)}};return n=pn([d4(d6(this._marks))],n),[t,n]})),Object.values(this._compositions)))d4(d6(this._compositions))(e);for(let e of n){let t=e.split(".").pop();this[t]=function(){let e=this._compositions[t];return this.type=null,this.append(e)}}}_reset(){let e=["theme","type","width","height","autoFit"];this.type="view",this.value=Object.fromEntries(Object.entries(this.value).filter(([t])=>t.startsWith("margin")||t.startsWith("padding")||t.startsWith("inset")||e.includes(t))),this.children=[]}_renderTrailing(){this._trailing&&(this._trailing=!1,this.render().then(()=>{let e=this._trailingResolve.bind(this);this._trailingResolve=null,e(this)}).catch(e=>{let t=this._trailingReject.bind(this);this._trailingReject=null,t(e)}))}_createResolve(e){return()=>{this._rendering=!1,e(this)}}_createReject(e){return t=>{this._rendering=!1,e(t)}}_computedOptions(){let e=this.options(),{key:t="G2_CHART_KEY"}=e,{width:n,height:r,depth:a}=d5(e,this._container);return this._width=n,this._height=r,this._key=t,Object.assign(Object.assign({key:this._key},e),{width:n,height:r,depth:a})}_createCanvas(){let{width:e,height:t}=d5(this.options(),this._container);this._plugins.push(new ig),this._plugins.forEach(e=>this._renderer.registerPlugin(e)),this._context.canvas=new nN.Xz({container:this._container,width:e,height:t,renderer:this._renderer})}_addToTrailing(){var e;null===(e=this._trailingResolve)||void 0===e||e.call(this,this),this._trailing=!0;let t=new Promise((e,t)=>{this._trailingResolve=e,this._trailingReject=t});return t}_bindAutoFit(){let e=this.options(),{autoFit:t}=e;if(this._hasBindAutoFit){t||this._unbindAutoFit();return}t&&(this._hasBindAutoFit=!0,window.addEventListener("resize",this._onResize))}_unbindAutoFit(){this._hasBindAutoFit&&(this._hasBindAutoFit=!1,window.removeEventListener("resize",this._onResize))}},d=Aa(Aa({},Object.assign(Object.assign(Object.assign(Object.assign({},{"composition.geoView":TA,"composition.geoPath":T_}),{"data.arc":Sy,"data.cluster":TG,"mark.forceGraph":TF,"mark.tree":TV,"mark.pack":T1,"mark.sankey":Sp,"mark.chord":SO,"mark.treemap":SR}),{"data.venn":Ar,"mark.boxplot":SH,"mark.gauge":Sq,"mark.wordCloud":gZ,"mark.liquid":S3}),{"data.fetch":vS,"data.inline":vA,"data.sortBy":vO,"data.sort":v_,"data.filter":vx,"data.pick":vC,"data.rename":vw,"data.fold":vI,"data.slice":vR,"data.custom":vN,"data.map":vL,"data.join":vP,"data.kde":vB,"data.log":vj,"data.wordCloud":v2,"data.ema":v3,"transform.stackY":Ex,"transform.binX":EZ,"transform.bin":Ez,"transform.dodgeX":EV,"transform.jitter":Eq,"transform.jitterX":EK,"transform.jitterY":EX,"transform.symmetryY":EJ,"transform.diffY":E0,"transform.stackEnter":E1,"transform.normalizeY":E5,"transform.select":E7,"transform.selectX":vt,"transform.selectY":vr,"transform.groupX":vo,"transform.groupY":vs,"transform.groupColor":vl,"transform.group":vi,"transform.sortX":vp,"transform.sortY":vf,"transform.sortColor":vh,"transform.flexX":vg,"transform.pack":vm,"transform.sample":vy,"transform.filter":vE,"coordinate.cartesian":pI,"coordinate.polar":iJ,"coordinate.transpose":pR,"coordinate.theta":pL,"coordinate.parallel":pD,"coordinate.fisheye":pP,"coordinate.radial":i1,"coordinate.radar":pM,"coordinate.helix":pF,"encode.constant":pB,"encode.field":pj,"encode.transform":pU,"encode.column":pG,"mark.interval":fg,"mark.rect":fb,"mark.line":fj,"mark.point":hi,"mark.text":hg,"mark.cell":hy,"mark.area":hR,"mark.link":hz,"mark.image":hY,"mark.polygon":h0,"mark.box":h6,"mark.vector":h8,"mark.lineX":gr,"mark.lineY":go,"mark.connector":gd,"mark.range":gg,"mark.rangeX":gy,"mark.rangeY":gT,"mark.path":gx,"mark.shape":gR,"mark.density":gP,"mark.heatmap":gH,"mark.wordCloud":gZ,"palette.category10":gW,"palette.category20":gV,"scale.linear":gY,"scale.ordinal":gK,"scale.band":gQ,"scale.identity":g0,"scale.point":g2,"scale.time":g5,"scale.log":g6,"scale.pow":g8,"scale.sqrt":me,"scale.threshold":mt,"scale.quantile":mn,"scale.quantize":mr,"scale.sequential":mi,"scale.constant":mo,"theme.classic":mu,"theme.classicDark":mf,"theme.academy":mg,"theme.light":mc,"theme.dark":mp,"component.axisX":mm,"component.axisY":mb,"component.legendCategory":mI,"component.legendContinuous":lz,"component.legends":mR,"component.title":mP,"component.sliderX":mQ,"component.sliderY":mJ,"component.scrollbarX":m3,"component.scrollbarY":m5,"animation.scaleInX":m4,"animation.scaleOutX":(e,t)=>{let{coordinate:n}=t;return(t,r,a)=>{let[i]=t,{transform:o="",fillOpacity:s=1,strokeOpacity:l=1,opacity:c=1}=i.style,[u,d]=i6(n)?["left bottom","scale(1, 0.0001)"]:["left top","scale(0.0001, 1)"],p=[{transform:`${o} scale(1, 1)`.trimStart(),transformOrigin:u},{transform:`${o} ${d}`.trimStart(),transformOrigin:u,fillOpacity:s,strokeOpacity:l,opacity:c,offset:.99},{transform:`${o} ${d}`.trimStart(),transformOrigin:u,fillOpacity:0,strokeOpacity:0,opacity:0}],f=i.animate(p,Object.assign(Object.assign({},a),e));return f}},"animation.scaleInY":m6,"animation.scaleOutY":(e,t)=>{let{coordinate:n}=t;return(t,r,a)=>{let[i]=t,{transform:o="",fillOpacity:s=1,strokeOpacity:l=1,opacity:c=1}=i.style,[u,d]=i6(n)?["left top","scale(0.0001, 1)"]:["left bottom","scale(1, 0.0001)"],p=[{transform:`${o} scale(1, 1)`.trimStart(),transformOrigin:u},{transform:`${o} ${d}`.trimStart(),transformOrigin:u,fillOpacity:s,strokeOpacity:l,opacity:c,offset:.99},{transform:`${o} ${d}`.trimStart(),transformOrigin:u,fillOpacity:0,strokeOpacity:0,opacity:0}],f=i.animate(p,Object.assign(Object.assign({},a),e));return f}},"animation.waveIn":m9,"animation.fadeIn":m8,"animation.fadeOut":m7,"animation.zoomIn":e=>(t,n,r)=>{let[a]=t,{transform:i="",fillOpacity:o=1,strokeOpacity:s=1,opacity:l=1}=a.style,c="center center",u=[{transform:`${i} scale(0.0001)`.trimStart(),transformOrigin:c,fillOpacity:0,strokeOpacity:0,opacity:0},{transform:`${i} scale(0.0001)`.trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:s,opacity:l,offset:.01},{transform:`${i} scale(1)`.trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:s,opacity:l}],d=a.animate(u,Object.assign(Object.assign({},r),e));return d},"animation.zoomOut":e=>(t,n,r)=>{let[a]=t,{transform:i="",fillOpacity:o=1,strokeOpacity:s=1,opacity:l=1}=a.style,c="center center",u=[{transform:`${i} scale(1)`.trimStart(),transformOrigin:c},{transform:`${i} scale(0.0001)`.trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:s,opacity:l,offset:.99},{transform:`${i} scale(0.0001)`.trimStart(),transformOrigin:c,fillOpacity:0,strokeOpacity:0,opacity:0}],d=a.animate(u,Object.assign(Object.assign({},r),e));return d},"animation.pathIn":be,"animation.morphing":bp,"animation.growInX":bf,"animation.growInY":bh,"interaction.elementHighlight":bm,"interaction.elementHighlightByX":bb,"interaction.elementHighlightByColor":by,"interaction.elementSelect":bv,"interaction.elementSelectByX":bT,"interaction.elementSelectByColor":bS,"interaction.fisheye":function({wait:e=30,leading:t,trailing:n=!1}){return r=>{let{options:a,update:i,setState:o,container:s}=r,l=ue(s),c=bA(e=>{let t=un(l,e);if(!t){o("fisheye"),i();return}o("fisheye",e=>{let n=iT({},e,{interaction:{tooltip:{preserve:!0}}});for(let e of n.marks)e.animate=!1;let[r,a]=t,i=function(e){let{coordinate:t={}}=e,{transform:n=[]}=t,r=n.find(e=>"fisheye"===e.type);if(r)return r;let a={type:"fisheye"};return n.push(a),t.transform=n,e.coordinate=t,a}(n);return i.focusX=r,i.focusY=a,i.visual=!0,n}),i()},e,{leading:t,trailing:n});return l.addEventListener("pointerenter",c),l.addEventListener("pointermove",c),l.addEventListener("pointerleave",c),()=>{l.removeEventListener("pointerenter",c),l.removeEventListener("pointermove",c),l.removeEventListener("pointerleave",c)}}},"interaction.chartIndex":bk,"interaction.tooltip":bK,"interaction.legendFilter":function(){return(e,t,n)=>{let{container:r}=e,a=t.filter(t=>t!==e),i=a.length>0,o=e=>b5(e).scales.map(e=>e.name),s=[...b2(r),...b3(r)],l=s.flatMap(o),c=i?bA(b6,50,{trailing:!0}):bA(b4,50,{trailing:!0}),u=s.map(t=>{let{name:s,domain:u}=b5(t).scales[0],d=o(t),p={legend:t,channel:s,channels:d,allChannels:l};return t.className===bQ?function(e,{legends:t,marker:n,label:r,datum:a,filter:i,emitter:o,channel:s,state:l={}}){let c=new Map,u=new Map,d=new Map,{unselected:p={markerStroke:"#aaa",markerFill:"#aaa",labelFill:"#aaa"}}=l,f={unselected:iN(p,"marker")},h={unselected:iN(p,"label")},{setState:g,removeState:m}=us(f,void 0),{setState:b,removeState:y}=us(h,void 0),E=Array.from(t(e)),v=E.map(a),T=()=>{for(let e of E){let t=a(e),i=n(e),o=r(e);v.includes(t)?(m(i,"unselected"),y(o,"unselected")):(g(i,"unselected"),b(o,"unselected"))}};for(let t of E){let n=()=>{uh(e,"pointer")},r=()=>{uh(e,e.cursor)},l=e=>bX(this,void 0,void 0,function*(){let n=a(t),r=v.indexOf(n);-1===r?v.push(n):v.splice(r,1),yield i(v),T();let{nativeEvent:l=!0}=e;l&&(v.length===E.length?o.emit("legend:reset",{nativeEvent:l}):o.emit("legend:filter",Object.assign(Object.assign({},e),{nativeEvent:l,data:{channel:s,values:v}})))});t.addEventListener("click",l),t.addEventListener("pointerenter",n),t.addEventListener("pointerout",r),c.set(t,l),u.set(t,n),d.set(t,r)}let S=e=>bX(this,void 0,void 0,function*(){let{nativeEvent:t}=e;if(t)return;let{data:n}=e,{channel:r,values:a}=n;r===s&&(v=a,yield i(v),T())}),A=e=>bX(this,void 0,void 0,function*(){let{nativeEvent:t}=e;t||(v=E.map(a),yield i(v),T())});return o.on("legend:filter",S),o.on("legend:reset",A),()=>{for(let e of E)e.removeEventListener("click",c.get(e)),e.removeEventListener("pointerenter",u.get(e)),e.removeEventListener("pointerout",d.get(e)),o.off("legend:filter",S),o.off("legend:reset",A)}}(r,{legends:b1,marker:bJ,label:b0,datum:e=>{let{__data__:t}=e,{index:n}=t;return u[n]},filter:t=>{let n=Object.assign(Object.assign({},p),{value:t,ordinal:!0});i?c(a,n):c(e,n)},state:t.attributes.state,channel:s,emitter:n}):function(e,{legend:t,filter:n,emitter:r,channel:a}){let i=({detail:{value:e}})=>{n(e),r.emit({nativeEvent:!0,data:{channel:a,values:e}})};return t.addEventListener("valuechange",i),()=>{t.removeEventListener("valuechange",i)}}(0,{legend:t,filter:t=>{let n=Object.assign(Object.assign({},p),{value:t,ordinal:!1});i?c(a,n):c(e,n)},emitter:n,channel:s})});return()=>{u.forEach(e=>e())}}},"interaction.legendHighlight":function(){return(e,t,n)=>{let{container:r,view:a,options:i}=e,o=b2(r),s=c9(r),l=e=>b5(e).scales[0].name,c=e=>{let{scale:{[e]:t}}=a;return t},u=uc(i,["active","inactive"]),d=uu(s,uo(a)),p=[];for(let e of o){let t=t=>{let{data:n}=e.attributes,{__data__:r}=t,{index:a}=r;return n[a].label},r=l(e),a=b1(e),i=c(r),o=(0,iS.ZP)(s,e=>i.invert(e.__data__[r])),{state:f={}}=e.attributes,{inactive:h={}}=f,{setState:g,removeState:m}=us(u,d),b={inactive:iN(h,"marker")},y={inactive:iN(h,"label")},{setState:E,removeState:v}=us(b),{setState:T,removeState:S}=us(y),A=e=>{for(let t of a){let n=bJ(t),r=b0(t);t===e||null===e?(v(n,"inactive"),S(r,"inactive")):(E(n,"inactive"),T(r,"inactive"))}},O=(e,a)=>{let i=t(a),l=new Set(o.get(i));for(let e of s)l.has(e)?g(e,"active"):g(e,"inactive");A(a);let{nativeEvent:c=!0}=e;c&&n.emit("legend:highlight",Object.assign(Object.assign({},e),{nativeEvent:c,data:{channel:r,value:i}}))},_=new Map;for(let e of a){let t=t=>{O(t,e)};e.addEventListener("pointerover",t),_.set(e,t)}let k=e=>{for(let e of s)m(e,"inactive","active");A(null);let{nativeEvent:t=!0}=e;t&&n.emit("legend:unhighlight",{nativeEvent:t})},x=e=>{let{nativeEvent:n,data:i}=e;if(n)return;let{channel:o,value:s}=i;if(o!==r)return;let l=a.find(e=>t(e)===s);l&&O({nativeEvent:!1},l)},C=e=>{let{nativeEvent:t}=e;t||k({nativeEvent:!1})};e.addEventListener("pointerleave",k),n.on("legend:highlight",x),n.on("legend:unhighlight",C);let w=()=>{for(let[t,r]of(e.removeEventListener(k),n.off("legend:highlight",x),n.off("legend:unhighlight",C),_))t.removeEventListener(r)};p.push(w)}return()=>p.forEach(e=>e())}},"interaction.brushHighlight":yr,"interaction.brushXHighlight":function(e){return yr(Object.assign(Object.assign({},e),{brushRegion:ya,selectedHandles:["handle-e","handle-w"]}))},"interaction.brushYHighlight":function(e){return yr(Object.assign(Object.assign({},e),{brushRegion:yi,selectedHandles:["handle-n","handle-s"]}))},"interaction.brushAxisHighlight":function(e){return(t,n,r)=>{let{container:a,view:i,options:o}=t,s=ue(a),{x:l,y:c}=s.getBBox(),{coordinate:u}=i;return function(e,t){var{axes:n,elements:r,points:a,horizontal:i,datum:o,offsetY:s,offsetX:l,reverse:c=!1,state:u={},emitter:d,coordinate:p}=t,f=yo(t,["axes","elements","points","horizontal","datum","offsetY","offsetX","reverse","state","emitter","coordinate"]);let h=r(e),g=n(e),m=uu(h,o),{setState:b,removeState:y}=us(u,m),E=new Map,v=iN(f,"mask"),T=e=>Array.from(E.values()).every(([t,n,r,a])=>e.some(([e,i])=>e>=t&&e<=r&&i>=n&&i<=a)),S=g.map(e=>e.attributes.scale),A=e=>e.length>2?[e[0],e[e.length-1]]:e,O=new Map,_=()=>{O.clear();for(let e=0;e{let n=[];for(let e of h){let t=a(e);T(t)?(b(e,"active"),n.push(e)):b(e,"inactive")}O.set(e,C(n,e)),t&&d.emit("brushAxis:highlight",{nativeEvent:!0,data:{selection:(()=>{if(!w)return Array.from(O.values());let e=[];for(let[t,n]of O){let r=S[t],{name:a}=r.getOptions();"x"===a?e[0]=n:e[1]=n}return e})()}})},x=e=>{for(let e of h)y(e,"active","inactive");_(),e&&d.emit("brushAxis:remove",{nativeEvent:!0})},C=(e,t)=>{let n=S[t],{name:r}=n.getOptions(),a=e.map(e=>{let t=e.__data__;return n.invert(t[r])});return A(cq(n,a))},w=g.some(i)&&g.some(e=>!i(e)),I=[];for(let e=0;e{let{nativeEvent:t}=e;t||I.forEach(e=>e.remove(!1))},N=(e,t,n)=>{let[r,a]=e,o=L(r,t,n),s=L(a,t,n)+(t.getStep?t.getStep():0);return i(n)?[o,-1/0,s,1/0]:[-1/0,o,1/0,s]},L=(e,t,n)=>{let{height:r,width:a}=p.getOptions(),o=t.clone();return i(n)?o.update({range:[0,a]}):o.update({range:[r,0]}),o.map(e)},D=e=>{let{nativeEvent:t}=e;if(t)return;let{selection:n}=e.data;for(let e=0;e{I.forEach(e=>e.destroy()),d.off("brushAxis:remove",R),d.off("brushAxis:highlight",D)}}(a,Object.assign({elements:c9,axes:yl,offsetY:c,offsetX:l,points:e=>e.__data__.points,horizontal:e=>{let{startPos:[t,n],endPos:[r,a]}=e.attributes;return t!==r&&n===a},datum:uo(i),state:uc(o,["active",["inactive",{opacity:.5}]]),coordinate:u,emitter:r},e))}},"interaction.brushFilter":yh,"interaction.brushXFilter":function(e){return yh(Object.assign(Object.assign({hideX:!0},e),{brushRegion:ya}))},"interaction.brushYFilter":function(e){return yh(Object.assign(Object.assign({hideY:!0},e),{brushRegion:yi}))},"interaction.sliderFilter":yb,"interaction.scrollbarFilter":function(e={}){return(t,n,r)=>{let{view:a,container:i}=t,o=i.getElementsByClassName(yy);if(!o.length)return()=>{};let{scale:s}=a,{x:l,y:c}=s,u={x:[...l.getOptions().domain],y:[...c.getOptions().domain]};l.update({domain:l.getOptions().expectedDomain}),c.update({domain:c.getOptions().expectedDomain});let d=yb(Object.assign(Object.assign({},e),{initDomain:u,className:yy,prefix:"scrollbar",hasState:!0,setValue:(e,t)=>e.setValue(t[0]),getInitValues:e=>{let t=e.slider.attributes.values;if(0!==t[0])return t}}));return d(t,n,r)}},"interaction.poptip":yS,"interaction.treemapDrillDown":function(e={}){let{originData:t=[],layout:n}=e,r=yF(e,["originData","layout"]),a=iT({},yB,r),i=iN(a,"breadCrumb"),o=iN(a,"active");return e=>{let{update:r,setState:a,container:s,options:l}=e,c=iB(s).select(`.${cH}`).node(),u=l.marks[0],{state:d}=u,p=new nN.ZA;c.appendChild(p);let f=(e,l)=>{var u,d,h,g;return u=this,d=void 0,h=void 0,g=function*(){if(p.removeChildren(),l){let t="",n=i.y,r=0,a=[],s=c.getBBox().width,l=e.map((o,l)=>{t=`${t}${o}/`,a.push(o);let c=new nN.xv({name:t.replace(/\/$/,""),style:Object.assign(Object.assign({text:o,x:r,path:[...a],depth:l},i),{y:n})});p.appendChild(c),r+=c.getBBox().width;let u=new nN.xv({style:Object.assign(Object.assign({x:r,text:" / "},i),{y:n})});return p.appendChild(u),(r+=u.getBBox().width)>s&&(n=p.getBBox().height+i.y,r=0,c.attr({x:r,y:n}),r+=c.getBBox().width,u.attr({x:r,y:n}),r+=u.getBBox().width),l===yA(e)-1&&u.remove(),c});l.forEach((e,t)=>{if(t===yA(l)-1)return;let n=Object.assign({},e.attributes);e.attr("cursor","pointer"),e.addEventListener("mouseenter",()=>{e.attr(o)}),e.addEventListener("mouseleave",()=>{e.attr(n)}),e.addEventListener("click",()=>{f(oX(e,["style","path"]),oX(e,["style","depth"]))})})}(function(e,t){let n=[...b2(e),...b3(e)];n.forEach(e=>{t(e,e=>e)})})(s,a),a("treemapDrillDown",r=>{let{marks:a}=r,i=e.join("/"),o=a.map(e=>{if("rect"!==e.type)return e;let r=t;if(l){let e=t.filter(e=>{let t=oX(e,["id"]);return t&&(t.match(`${i}/`)||i.match(t))}).map(e=>({value:0===e.height?oX(e,["value"]):void 0,name:oX(e,["id"])})),{paddingLeft:a,paddingBottom:o,paddingRight:s}=n,c=Object.assign(Object.assign({},n),{paddingTop:(n.paddingTop||p.getBBox().height+10)/(l+1),paddingLeft:a/(l+1),paddingBottom:o/(l+1),paddingRight:s/(l+1),path:e=>e.name,layer:e=>e.depth===l+1});r=yM(e,c,{value:"value"})[0]}else r=t.filter(e=>1===e.depth);let a=[];return r.forEach(({path:e})=>{a.push(mC(e))}),iT({},e,{data:r,scale:{color:{domain:a}}})});return Object.assign(Object.assign({},r),{marks:o})}),yield r(void 0,["legendFilter"])},new(h||(h=Promise))(function(e,t){function n(e){try{a(g.next(e))}catch(e){t(e)}}function r(e){try{a(g.throw(e))}catch(e){t(e)}}function a(t){var a;t.done?e(t.value):((a=t.value)instanceof h?a:new h(function(e){e(a)})).then(n,r)}a((g=g.apply(u,d||[])).next())})},h=e=>{let n=e.target;if("rect"!==oX(n,["markType"]))return;let r=oX(n,["__data__","key"]),a=yk(t,e=>e.id===r);oX(a,"height")&&f(oX(a,"path"),oX(a,"depth"))};c.addEventListener("click",h);let g=yO(Object.assign(Object.assign({},d.active),d.inactive)),m=()=>{let e=uy(c);e.forEach(e=>{let n=oX(e,["style","cursor"]),r=yk(t,t=>t.id===oX(e,["__data__","key"]));if("pointer"!==n&&(null==r?void 0:r.height)){e.style.cursor="pointer";let t=yC(e.attributes,g);e.addEventListener("mouseenter",()=>{e.attr(d.active)}),e.addEventListener("mouseleave",()=>{e.attr(iT(t,d.inactive))})}})};return m(),c.addEventListener("mousemove",m),()=>{p.remove(),c.removeEventListener("click",h),c.removeEventListener("mousemove",m)}}},"interaction.elementPointMove":function(e={}){let{selection:t=[],precision:n=2}=e,r=yU(e,["selection","precision"]),a=Object.assign(Object.assign({},yG),r||{}),i=iN(a,"path"),o=iN(a,"label"),s=iN(a,"point");return(e,r,a)=>{let l;let{update:c,setState:u,container:d,view:p,options:{marks:f,coordinate:h}}=e,g=ue(d),m=uy(g),b=t,{transform:y=[],type:E}=h,v=!!yk(y,({type:e})=>"transpose"===e),T="polar"===E,S="theta"===E,A=!!yk(m,({markType:e})=>"area"===e);A&&(m=m.filter(({markType:e})=>"area"===e));let O=new nN.ZA({style:{zIndex:2}});g.appendChild(O);let _=()=>{a.emit("element-point:select",{nativeEvent:!0,data:{selection:b}})},k=(e,t)=>{a.emit("element-point:moved",{nativeEvent:!0,data:{changeData:e,data:t}})},x=e=>{let t=e.target;b=[t.parentNode.childNodes.indexOf(t)],_(),w(t)},C=e=>{let{data:{selection:t},nativeEvent:n}=e;if(n)return;b=t;let r=oX(m,[null==b?void 0:b[0]]);r&&w(r)},w=e=>{let t;let{attributes:r,markType:a,__data__:h}=e,{stroke:g}=r,{points:m,seriesTitle:y,color:E,title:x,seriesX:C,y1:I}=h;if(v&&"interval"!==a)return;let{scale:R,coordinate:N}=(null==l?void 0:l.view)||p,{color:L,y:D,x:P}=R,M=N.getCenter();O.removeChildren();let F=(e,t,n,r)=>yj(this,void 0,void 0,function*(){return u("elementPointMove",a=>{var i;let o=((null===(i=null==l?void 0:l.options)||void 0===i?void 0:i.marks)||f).map(a=>{if(!r.includes(a.type))return a;let{data:i,encode:o}=a,s=Object.keys(o),l=s.reduce((r,a)=>{let i=o[a];return"x"===a&&(r[i]=e),"y"===a&&(r[i]=t),"color"===a&&(r[i]=n),r},{}),c=yZ(l,i,o);return k(l,c),iT({},a,{data:c,animate:!1})});return Object.assign(Object.assign({},a),{marks:o})}),yield c("elementPointMove")});if(["line","area"].includes(a))m.forEach((r,a)=>{let c=P.invert(C[a]);if(!c)return;let u=new nN.Cd({name:yH,style:Object.assign({cx:r[0],cy:r[1],fill:g},s)}),p=yV(e,a);u.addEventListener("mousedown",f=>{let h=N.output([C[a],0]),g=null==y?void 0:y.length;d.attr("cursor","move"),b[1]!==a&&(b[1]=a,_()),yY(O.childNodes,b,s);let[v,S]=yq(O,u,i,o),k=e=>{let i=r[1]+e.clientY-t[1];if(A){if(T){let o=r[0]+e.clientX-t[0],[s,l]=yX(M,h,[o,i]),[,c]=N.output([1,D.output(0)]),[,d]=N.invert([s,c-(m[a+g][1]-l)]),f=(a+1)%g,b=(a-1+g)%g,E=ub([m[b],[s,l],y[f]&&m[f]]);S.attr("text",p(D.invert(d)).toFixed(n)),v.attr("d",E),u.attr("cx",s),u.attr("cy",l)}else{let[,e]=N.output([1,D.output(0)]),[,t]=N.invert([r[0],e-(m[a+g][1]-i)]),o=ub([m[a-1],[r[0],i],y[a+1]&&m[a+1]]);S.attr("text",p(D.invert(t)).toFixed(n)),v.attr("d",o),u.attr("cy",i)}}else{let[,e]=N.invert([r[0],i]),t=ub([m[a-1],[r[0],i],m[a+1]]);S.attr("text",D.invert(e).toFixed(n)),v.attr("d",t),u.attr("cy",i)}};t=[f.clientX,f.clientY],window.addEventListener("mousemove",k);let x=()=>yj(this,void 0,void 0,function*(){if(d.attr("cursor","default"),window.removeEventListener("mousemove",k),d.removeEventListener("mouseup",x),ls(S.attr("text")))return;let t=Number(S.attr("text")),n=yK(L,E);l=yield F(c,t,n,["line","area"]),S.remove(),v.remove(),w(e)});d.addEventListener("mouseup",x)}),O.appendChild(u)}),yY(O.childNodes,b,s);else if("interval"===a){let r=[(m[0][0]+m[1][0])/2,m[0][1]];v?r=[m[0][0],(m[0][1]+m[1][1])/2]:S&&(r=m[0]);let c=yW(e),u=new nN.Cd({name:yH,style:Object.assign(Object.assign({cx:r[0],cy:r[1],fill:g},s),{stroke:s.activeStroke})});u.addEventListener("mousedown",s=>{d.attr("cursor","move");let p=yK(L,E),[f,h]=yq(O,u,i,o),g=e=>{if(v){let a=r[0]+e.clientX-t[0],[i]=N.output([D.output(0),D.output(0)]),[,o]=N.invert([i+(a-m[2][0]),r[1]]),s=ub([[a,m[0][1]],[a,m[1][1]],m[2],m[3]],!0);h.attr("text",c(D.invert(o)).toFixed(n)),f.attr("d",s),u.attr("cx",a)}else if(S){let a=r[1]+e.clientY-t[1],i=r[0]+e.clientX-t[0],[o,s]=yX(M,[i,a],r),[l,d]=yX(M,[i,a],m[1]),p=N.invert([o,s])[1],g=I-p;if(g<0)return;let b=function(e,t,n=0){let r=[["M",...t[1]]],a=um(e,t[1]),i=um(e,t[0]);return 0===a?r.push(["L",...t[3]],["A",i,i,0,n,1,...t[0]],["Z"]):r.push(["A",a,a,0,n,0,...t[2]],["L",...t[3]],["A",i,i,0,n,1,...t[0]],["Z"]),r}(M,[[o,s],[l,d],m[2],m[3]],g>.5?1:0);h.attr("text",c(g,!0).toFixed(n)),f.attr("d",b),u.attr("cx",o),u.attr("cy",s)}else{let a=r[1]+e.clientY-t[1],[,i]=N.output([1,D.output(0)]),[,o]=N.invert([r[0],i-(m[2][1]-a)]),s=ub([[m[0][0],a],[m[1][0],a],m[2],m[3]],!0);h.attr("text",c(D.invert(o)).toFixed(n)),f.attr("d",s),u.attr("cy",a)}};t=[s.clientX,s.clientY],window.addEventListener("mousemove",g);let b=()=>yj(this,void 0,void 0,function*(){if(d.attr("cursor","default"),d.removeEventListener("mouseup",b),window.removeEventListener("mousemove",g),ls(h.attr("text")))return;let t=Number(h.attr("text"));l=yield F(x,t,p,[a]),h.remove(),f.remove(),w(e)});d.addEventListener("mouseup",b)}),O.appendChild(u)}};m.forEach((e,t)=>{b[0]===t&&w(e),e.addEventListener("click",x),e.addEventListener("mouseenter",y$),e.addEventListener("mouseleave",yz)});let I=e=>{let t=null==e?void 0:e.target;t&&(t.name===yH||m.includes(t))||(b=[],_(),O.removeChildren())};return a.on("element-point:select",C),a.on("element-point:unselect",I),d.addEventListener("mousedown",I),()=>{O.remove(),a.off("element-point:select",C),a.off("element-point:unselect",I),d.removeEventListener("mousedown",I),m.forEach(e=>{e.removeEventListener("click",x),e.removeEventListener("mouseenter",y$),e.removeEventListener("mouseleave",yz)})}}},"composition.spaceLayer":yJ,"composition.spaceFlex":y1,"composition.facetRect":Eo,"composition.repeatMatrix":()=>e=>{let t=y2.of(e).call(y8).call(y4).call(Ec).call(Eu).call(y6).call(y9).call(El).value();return[t]},"composition.facetCircle":()=>e=>{let t=y2.of(e).call(y8).call(Eh).call(y4).call(Ef).call(y7).call(Ee,Em,Eg,Eg,{frame:!1}).call(y6).call(y9).call(Ep).value();return[t]},"composition.timingKeyframe":Eb,"labelTransform.overlapHide":e=>{let{priority:t}=e;return e=>{let n=[];return t&&e.sort(t),e.forEach(e=>{c4(e);let t=e.getLocalBounds(),r=n.some(e=>(function(e,t){let[n,r]=e,[a,i]=t;return n[0]a[0]&&n[1]a[1]})(v5(t),v5(e.getLocalBounds())));r?c5(e):n.push(e)}),e}},"labelTransform.overlapDodgeY":e=>{let{maxIterations:t=10,maxError:n=.1,padding:r=1}=e;return e=>{let a=e.length;if(a<=1)return e;let[i,o]=v6(),[s,l]=v6(),[c,u]=v6(),[d,p]=v6();for(let t of e){let{min:e,max:n}=function(e){let t=e.cloneNode(!0),n=t.getElementById("connector");n&&t.removeChild(n);let{min:r,max:a}=t.getRenderBounds();return t.destroy(),{min:r,max:a}}(t),[r,a]=e,[i,s]=n;o(t,a),l(t,a),u(t,s-a),p(t,[r,i])}for(let i=0;i(0,ds.Z)(s(e),s(t)));let t=0;for(let n=0;ne&&t>n}(d(i),d(a));)o+=1;if(a){let e=s(i),n=c(i),o=s(a),u=o-(e+n);if(ue=>(e.forEach(e=>{c4(e);let t=e.attr("bounds"),n=e.getLocalBounds(),r=function(e,t,n=.01){let[r,a]=e;return!(v4(r,t,n)&&v4(a,t,n))}(v5(n),t);r&&c5(e)}),e),"labelTransform.contrastReverse":e=>{let{threshold:t=4.5,palette:n=["#000","#fff"]}=e;return e=>(e.forEach(e=>{let r=e.attr("dependentElement").parsedStyle.fill,a=e.parsedStyle.fill,i=v7(a,r);iv7(e,"object"==typeof t?t:(0,nN.lu)(t)));return t[n]}(r,n))}),e)},"labelTransform.exceedAdjust":()=>(e,{canvas:t,layout:n})=>(e.forEach(e=>{c4(e);let{max:t,min:r}=e.getRenderBounds(),[a,i]=t,[o,s]=r,l=Te([[o,s],[a,i]],[[n.x,n.y],[n.x+n.width,n.y+n.height]]);e.style.connector&&e.style.connectorPoints&&(e.style.connectorPoints[0][0]-=l[0],e.style.connectorPoints[0][1]-=l[1]),e.style.x+=l[0],e.style.y+=l[1]}),e)})),{"interaction.drillDown":function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{breadCrumb:t={},isFixedColor:n=!1}=e,r=(0,po.Z)({},pw,t);return e=>{let{update:t,setState:a,container:i,view:o,options:s}=e,l=i.ownerDocument,c=(0,px.Ys)(i).select(".".concat(px.V$)).node(),u=s.marks.find(e=>{let{id:t}=e;return t===pv}),{state:d}=u,p=l.createElement("g");c.appendChild(p);let f=(e,i)=>{var s,u,d,h;return s=this,u=void 0,d=void 0,h=function*(){if(p.removeChildren(),e){let t=l.createElement("text",{style:Object.assign({x:0,text:r.rootText,depth:0},r.style)});p.appendChild(t);let n="",a=null==e?void 0:e.split(" / "),i=r.style.y,o=p.getBBox().width,s=c.getBBox().width,u=a.map((e,t)=>{let a=l.createElement("text",{style:Object.assign(Object.assign({x:o,text:" / "},r.style),{y:i})});p.appendChild(a),o+=a.getBBox().width,n="".concat(n).concat(e," / ");let c=l.createElement("text",{name:n.replace(/\s\/\s$/,""),style:Object.assign(Object.assign({text:e,x:o,depth:t+1},r.style),{y:i})});return p.appendChild(c),(o+=c.getBBox().width)>s&&(i=p.getBBox().height,o=0,a.attr({x:o,y:i}),o+=a.getBBox().width,c.attr({x:o,y:i}),o+=c.getBBox().width),c});[t,...u].forEach((e,t)=>{if(t===u.length)return;let n=Object.assign({},e.attributes);e.attr("cursor","pointer"),e.addEventListener("mouseenter",()=>{e.attr(r.active)}),e.addEventListener("mouseleave",()=>{e.attr(n)}),e.addEventListener("click",()=>{f(e.name,(0,pi.Z)(e,["style","depth"]))})})}a("drillDown",t=>{let{marks:r}=t,a=r.map(t=>{if(t.id!==pv&&"rect"!==t.type)return t;let{data:r}=t,a=Object.fromEntries(["color"].map(e=>[e,{domain:o.scale[e].getOptions().domain}])),s=r.filter(t=>{let r=t.path;if(n||(t[pA]=r.split(" / ")[i]),!e)return!0;let a=new RegExp("^".concat(e,".+"));return a.test(r)});return(0,po.Z)({},t,n?{data:s,scale:a}:{data:s})});return Object.assign(Object.assign({},t),{marks:a})}),yield t()},new(d||(d=Promise))(function(e,t){function n(e){try{a(h.next(e))}catch(e){t(e)}}function r(e){try{a(h.throw(e))}catch(e){t(e)}}function a(t){var a;t.done?e(t.value):((a=t.value)instanceof d?a:new d(function(e){e(a)})).then(n,r)}a((h=h.apply(s,u||[])).next())})},h=e=>{let t=e.target;if((0,pi.Z)(t,["style",pT])!==pv||"rect"!==(0,pi.Z)(t,["markType"])||!(0,pi.Z)(t,["style",pb]))return;let n=(0,pi.Z)(t,["__data__","key"]),r=(0,pi.Z)(t,["style","depth"]);t.style.cursor="pointer",f(n,r)};c.addEventListener("click",h);let g=(0,pk.Z)(Object.assign(Object.assign({},d.active),d.inactive)),m=()=>{let e=pC(c);e.forEach(e=>{let t=(0,pi.Z)(e,["style",pb]),n=(0,pi.Z)(e,["style","cursor"]);if("pointer"!==n&&t){e.style.cursor="pointer";let t=(0,pa.Z)(e.attributes,g);e.addEventListener("mouseenter",()=>{e.attr(d.active)}),e.addEventListener("mouseleave",()=>{e.attr((0,po.Z)(t,d.inactive))})}})};return c.addEventListener("mousemove",m),()=>{p.remove(),c.removeEventListener("click",h),c.removeEventListener("mousemove",m)}}},"mark.sunburst":p_}),class extends u{constructor(e){super(Object.assign(Object.assign({},e),{lib:d}))}}),Ao=function(){return(Ao=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},Al=["renderer"],Ac=["width","height","autoFit","theme","inset","insetLeft","insetRight","insetTop","insetBottom","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","margin","marginTop","marginRight","marginBottom","marginLeft","depth","title","clip","children","type","data","direction"],Au="__transform__",Ad=function(e,t){return(0,eg.isBoolean)(t)?{type:e,available:t}:Ao({type:e},t)},Ap={xField:"encode.x",yField:"encode.y",colorField:"encode.color",angleField:"encode.y",keyField:"encode.key",sizeField:"encode.size",shapeField:"encode.shape",seriesField:"encode.series",positionField:"encode.position",textField:"encode.text",valueField:"encode.value",binField:"encode.x",srcField:"encode.src",linkColorField:"encode.linkColor",fontSizeField:"encode.fontSize",radius:"coordinate.outerRadius",innerRadius:"coordinate.innerRadius",startAngle:"coordinate.startAngle",endAngle:"coordinate.endAngle",focusX:"coordinate.focusX",focusY:"coordinate.focusY",distortionX:"coordinate.distortionX",distortionY:"coordinate.distortionY",visual:"coordinate.visual",stack:{target:"transform",value:function(e){return Ad("stackY",e)}},normalize:{target:"transform",value:function(e){return Ad("normalizeY",e)}},percent:{target:"transform",value:function(e){return Ad("normalizeY",e)}},group:{target:"transform",value:function(e){return Ad("dodgeX",e)}},sort:{target:"transform",value:function(e){return Ad("sortX",e)}},symmetry:{target:"transform",value:function(e){return Ad("symmetryY",e)}},diff:{target:"transform",value:function(e){return Ad("diffY",e)}},meta:{target:"scale",value:function(e){return e}},label:{target:"labels",value:function(e){return e}},shape:"style.shape",connectNulls:{target:"style",value:function(e){return(0,eg.isBoolean)(e)?{connect:e}:e}}},Af=["xField","yField","seriesField","colorField","keyField","positionField","meta","tooltip","animate","stack","normalize","percent","group","sort","symmetry","diff"],Ah=[{key:"annotations",extend_keys:[]},{key:"line",type:"line",extend_keys:Af},{key:"point",type:"point",extend_keys:Af},{key:"area",type:"area",extend_keys:Af}],Ag=[{key:"transform",callback:function(e,t,n){e[t]=e[t]||[];var r,a=n.available,i=As(n,["available"]);if(void 0===a||a)e[t].push(Ao(((r={})[Au]=!0,r),i));else{var o=e[t].indexOf(function(e){return e.type===n.type});-1!==o&&e[t].splice(o,1)}}},{key:"labels",callback:function(e,t,n){var r;if(!n||(0,eg.isArray)(n)){e[t]=n||[];return}n.text||(n.text=e.yField),e[t]=e[t]||[],e[t].push(Ao(((r={})[Au]=!0,r),n))}}],Am=[{key:"conversionTag",shape:"ConversionTag"},{key:"axisText",shape:"BidirectionalBarAxisText"}],Ab=(p=function(e,t){return(p=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}p(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Ay=function(){return(Ay=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},Av=function(e){function t(t){void 0===t&&(t={});var n=t.style,r=AE(t,["style"]);return e.call(this,Ay({style:Ay({fill:"#eee"},n)},r))||this}return Ab(t,e),t}(nN.mg),AT=(f=function(e,t){return(f=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}f(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),AS=function(){return(AS=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},AO=function(e){function t(t){void 0===t&&(t={});var n=t.style,r=AA(t,["style"]);return e.call(this,AS({style:AS({text:"",fontSize:12,textBaseline:"middle",textAlign:"center",fill:"#000",fontStyle:"normal",fontVariant:"normal",fontWeight:"normal",lineWidth:1},n)},r))||this}return AT(t,e),t}(nN.xv),A_=function(e,t,n){if(n||2==arguments.length)for(var r,a=0,i=t.length;a0){var r=t.x,a=t.y,i=t.height,o=t.width,s=t.data,p=t.key,f=(0,eg.get)(s,l),g=h/2;if(e){var b=r+o/2,E=a;d.push({points:[[b+g,E-u+y],[b+g,E-m-y],[b,E-y],[b-g,E-m-y],[b-g,E-u+y]],center:[b,E-u/2-y],width:u,value:[c,f],key:p})}else{var b=r,E=a+i/2;d.push({points:[[r-u+y,E-g],[r-m-y,E-g],[b-y,E],[r-m-y,E+g],[r-u+y,E+g]],center:[b-u/2-y,E],width:u,value:[c,f],key:p})}c=f}}),d},t.prototype.render=function(){this.setDirection(),this.drawConversionTag()},t.prototype.setDirection=function(){var e=this.chart.getCoordinate(),t=(0,eg.get)(e,"options.transformations"),n="horizontal";t.forEach(function(e){e.includes("transpose")&&(n="vertical")}),this.direction=n},t.prototype.drawConversionTag=function(){var e=this,t=this.getConversionTagLayout(),n=this.attributes,r=n.style,a=n.text,i=a.style,o=a.formatter;t.forEach(function(t){var n=t.points,a=t.center,s=t.value,l=t.key,c=s[0],u=s[1],d=a[0],p=a[1],f=new Av({style:AR({points:n,fill:"#eee"},r),id:"polygon-".concat(l)}),h=new AO({style:AR({x:d,y:p,text:(0,eg.isFunction)(o)?o(c,u):(u/c*100).toFixed(2)+"%"},i),id:"text-".concat(l)});e.appendChild(f),e.appendChild(h)})},t.prototype.update=function(){var e=this;this.getConversionTagLayout().forEach(function(t){var n=t.points,r=t.center,a=t.key,i=r[0],o=r[1],s=e.getElementById("polygon-".concat(a)),l=e.getElementById("text-".concat(a));s.setAttribute("points",n),l.setAttribute("x",i),l.setAttribute("y",o)})},t.tag="ConversionTag",t}(Aw),AL=(m=function(e,t){return(m=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}m(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),AD=function(){return(AD=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},AM={ConversionTag:AN,BidirectionalBarAxisText:function(e){function t(n,r){return e.call(this,n,r,{type:t.tag})||this}return AL(t,e),t.prototype.render=function(){this.drawText()},t.prototype.getBidirectionalBarAxisTextLayout=function(){var e="vertical"===this.attributes.layout,t=this.getElementsLayout(),n=e?(0,eg.uniqBy)(t,"x"):(0,eg.uniqBy)(t,"y"),r=["title"],a=[],i=this.chart.getContext().views,o=(0,eg.get)(i,[0,"layout"]),s=o.width,l=o.height;return n.forEach(function(t){var n=t.x,i=t.y,o=t.height,c=t.width,u=t.data,d=t.key,p=(0,eg.get)(u,r);e?a.push({x:n+c/2,y:l,text:p,key:d}):a.push({x:s,y:i+o/2,text:p,key:d})}),(0,eg.uniqBy)(a,"text").length!==a.length&&(a=Object.values((0,eg.groupBy)(a,"text")).map(function(t){var n,r=t.reduce(function(t,n){return t+(e?n.x:n.y)},0);return AD(AD({},t[0]),((n={})[e?"x":"y"]=r/t.length,n))})),a},t.prototype.transformLabelStyle=function(e){var t={},n=/^label[A-Z]/;return Object.keys(e).forEach(function(r){n.test(r)&&(t[r.replace("label","").replace(/^[A-Z]/,function(e){return e.toLowerCase()})]=e[r])}),t},t.prototype.drawText=function(){var e=this,t=this.getBidirectionalBarAxisTextLayout(),n=this.attributes,r=n.layout,a=n.labelFormatter,i=AP(n,["layout","labelFormatter"]);t.forEach(function(t){var n=t.x,o=t.y,s=t.text,l=t.key,c=new AO({style:AD({x:n,y:o,text:(0,eg.isFunction)(a)?a(s):s,wordWrap:!0,wordWrapWidth:"horizontal"===r?64:120,maxLines:2,textOverflow:"ellipsis"},e.transformLabelStyle(i)),id:"text-".concat(l)});e.appendChild(c)})},t.prototype.destroy=function(){this.clear()},t.prototype.update=function(){this.destroy(),this.drawText()},t.tag="BidirectionalBarAxisText",t}(Aw)},AF=function(){function e(e,t){this.container=new Map,this.chart=e,this.config=t,this.init()}return e.prototype.init=function(){var e=this;Am.forEach(function(t){var n,r=t.key,a=t.shape,i=e.config[r];if(i){var o=new AM[a](e.chart,i);e.chart.getContext().canvas.appendChild(o),e.container.set(r,o)}else null===(n=e.container.get(r))||void 0===n||n.clear()})},e.prototype.update=function(){var e=this;this.container.size&&Am.forEach(function(t){var n=t.key,r=e.container.get(n);null==r||r.update()})},e}(),AB=(b=function(e,t){return(b=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}b(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Aj=function(){return(Aj=Object.assign||function(e){for(var t,n=1,r=arguments.length;n1&&(0,eg.set)(t,"children",[{type:"interval"}]);var n=t.scale,r=t.markBackground,a=t.data,i=t.children,o=t.yField,s=(0,eg.get)(n,"y.domain",[]);if(r&&s.length&&(0,eg.isArray)(a)){var l="domainMax",c=a.map(function(e){var t;return A0(A0({originData:A0({},e)},(0,eg.omit)(e,o)),((t={})[l]=s[s.length-1],t))});i.unshift(A0({type:"interval",data:c,yField:l,tooltip:!1,style:{fill:"#eee"},label:!1},r))}return e},AK,AV)(e)}var A2=(v=function(e,t){return(v=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}v(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});r9("shape.interval.bar25D",function(e,t){return function(n){var r=e.fill,a=void 0===r?"#2888FF":r,i=e.stroke,o=e.fillOpacity,s=void 0===o?1:o,l=e.strokeOpacity,c=void 0===l?.2:l,u=e.pitch,d=void 0===u?8:u,p=n[0],f=n[1],h=n[2],g=n[3],m=(f[1]-p[1])/2,b=t.document,y=b.createElement("g",{}),E=b.createElement("polygon",{style:{points:[p,[p[0]-d,p[1]+m],[h[0]-d,p[1]+m],g],fill:a,fillOpacity:s,stroke:i,strokeOpacity:c,inset:30}}),v=b.createElement("polygon",{style:{points:[[p[0]-d,p[1]+m],f,h,[h[0]-d,p[1]+m]],fill:a,fillOpacity:s,stroke:i,strokeOpacity:c}}),T=b.createElement("polygon",{style:{points:[p,[p[0]-d,p[1]+m],f,[p[0]+d,p[1]+m]],fill:a,fillOpacity:s-.2}});return y.appendChild(E),y.appendChild(v),y.appendChild(T),y}});var A3=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="Bar",t}return A2(t,e),t.getDefaultOptions=function(){return{type:"view",coordinate:{transform:[{type:"transpose"}]},children:[{type:"interval"}],scale:{y:{nice:!0}},axis:{y:{title:!1},x:{title:!1}},interaction:{tooltip:{shared:!0},elementHighlight:{background:!0}}}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return A1},t}(AG),A5=(T=function(e,t){return(T=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}T(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});r9("shape.interval.column25D",function(e,t){return function(n){var r=e.fill,a=void 0===r?"#2888FF":r,i=e.stroke,o=e.fillOpacity,s=void 0===o?1:o,l=e.strokeOpacity,c=void 0===l?.2:l,u=e.pitch,d=void 0===u?8:u,p=(n[1][0]-n[0][0])/2+n[0][0],f=t.document,h=f.createElement("g",{}),g=f.createElement("polygon",{style:{points:[[n[0][0],n[0][1]],[p,n[1][1]+d],[p,n[3][1]+d],[n[3][0],n[3][1]]],fill:a,fillOpacity:s,stroke:i,strokeOpacity:c,inset:30}}),m=f.createElement("polygon",{style:{points:[[p,n[1][1]+d],[n[1][0],n[1][1]],[n[2][0],n[2][1]],[p,n[2][1]+d]],fill:a,fillOpacity:s,stroke:i,strokeOpacity:c}}),b=f.createElement("polygon",{style:{points:[[n[0][0],n[0][1]],[p,n[1][1]-d],[n[1][0],n[1][1]],[p,n[1][1]+d]],fill:a,fillOpacity:s-.2}});return h.appendChild(m),h.appendChild(g),h.appendChild(b),h}});var A4=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="column",t}return A5(t,e),t.getDefaultOptions=function(){return{type:"view",scale:{y:{nice:!0}},interaction:{tooltip:{shared:!0},elementHighlight:{background:!0}},axis:{y:{title:!1},x:{title:!1}},children:[{type:"interval"}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return A1},t}(AG);function A6(e){return(0,eg.flow)(function(e){var t=e.options,n=t.children;return t.legend&&(void 0===n?[]:n).forEach(function(e){if(!(0,eg.get)(e,"colorField")){var t=(0,eg.get)(e,"yField");(0,eg.set)(e,"colorField",function(){return t})}}),e},function(e){var t=e.options,n=t.annotations,r=void 0===n?[]:n,a=t.children,i=t.scale,o=!1;return(0,eg.get)(i,"y.key")||(void 0===a?[]:a).forEach(function(e,t){if(!(0,eg.get)(e,"scale.y.key")){var n="child".concat(t,"Scale");(0,eg.set)(e,"scale.y.key",n);var a=e.annotations,i=void 0===a?[]:a;i.length>0&&((0,eg.set)(e,"scale.y.independent",!1),i.forEach(function(e){(0,eg.set)(e,"scale.y.key",n)})),!o&&r.length>0&&void 0===(0,eg.get)(e,"scale.y.independent")&&(o=!0,(0,eg.set)(e,"scale.y.independent",!1),r.forEach(function(e){(0,eg.set)(e,"scale.y.key",n)}))}}),e},AK,AV)(e)}var A9=(S=function(e,t){return(S=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}S(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),A8=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="DualAxes",t}return A9(t,e),t.getDefaultOptions=function(){return{type:"view",axis:{y:{title:!1,tick:!1},x:{title:!1}},scale:{y:{independent:!0,nice:!0}}}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return A6},t}(AG);function A7(e){return(0,eg.flow)(function(e){var t=e.options,n=t.xField;return t.colorField||(0,eg.set)(t,"colorField",n),e},function(e){var t=e.options,n=t.compareField,r=t.transform,a=t.isTransposed,i=t.coordinate;return r||(n?(0,eg.set)(t,"transform",[]):(0,eg.set)(t,"transform",[{type:"symmetryY"}])),!i&&(void 0===a||a)&&(0,eg.set)(t,"coordinate",{transform:[{type:"transpose"}]}),e},function(e){var t=e.options,n=t.compareField,r=t.seriesField,a=t.data,i=t.children,o=t.yField,s=t.isTransposed;if(n||r){var l=Object.values((0,eg.groupBy)(a,function(e){return e[n||r]}));i[0].data=l[0],i.push({type:"interval",data:l[1],yField:function(e){return-e[o]}}),delete t.compareField,delete t.data}return r&&((0,eg.set)(t,"type","spaceFlex"),(0,eg.set)(t,"ratio",[1,1]),(0,eg.set)(t,"direction",void 0===s||s?"row":"col"),delete t.seriesField),e},function(e){var t=e.options,n=t.tooltip,r=t.xField,a=t.yField;return n||(0,eg.set)(t,"tooltip",{title:!1,items:[function(e){return{name:e[r],value:e[a]}}]}),e},AK,AV)(e)}var Oe=(A=function(e,t){return(A=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}A(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Ot=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="column",t}return Oe(t,e),t.getDefaultOptions=function(){return{type:"view",scale:{x:{padding:0}},animate:{enter:{type:"fadeIn"}},axis:!1,shapeField:"funnel",label:{position:"inside",transform:[{type:"contrastReverse"}]},children:[{type:"interval"}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return A7},t}(AG);function On(e){return(0,eg.flow)(AK,AV)(e)}var Or=(O=function(e,t){return(O=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}O(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Oa=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="line",t}return Or(t,e),t.getDefaultOptions=function(){return{type:"view",scale:{y:{nice:!0}},interaction:{tooltip:{shared:!0}},axis:{y:{title:!1},x:{title:!1}},children:[{type:"line"}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return On},t}(AG);function Oi(e){switch(typeof e){case"function":return e;case"string":return function(t){return(0,eg.get)(t,[e])};default:return function(){return e}}}var Oo=function(){return(Oo=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&0===r.reduce(function(e,t){return e+t[n]},0)){var s=r.map(function(e){var t;return Oo(Oo({},e),((t={})[n]=1,t))});(0,eg.set)(t,"data",s),a&&(0,eg.set)(t,"label",Oo(Oo({},a),{formatter:function(){return 0}})),!1!==i&&((0,eg.isFunction)(i)?(0,eg.set)(t,"tooltip",function(e,t,r){var a;return i(Oo(Oo({},e),((a={})[n]=0,a)),t,r.map(function(e){var t;return Oo(Oo({},e),((t={})[n]=0,t))}))}):(0,eg.set)(t,"tooltip",Oo(Oo({},i),{items:[function(e,t,n){return{name:o(e,t,n),value:0}}]})))}return e},AV)(e)}var Ol=(_=function(e,t){return(_=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}_(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Oc=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="pie",t}return Ol(t,e),t.getDefaultOptions=function(){return{type:"view",children:[{type:"interval"}],coordinate:{type:"theta"},transform:[{type:"stackY",reverse:!0}],animate:{enter:{type:"waveIn"}}}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return Os},t}(AG);function Ou(e){return(0,eg.flow)(AK,AV)(e)}var Od=(k=function(e,t){return(k=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}k(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Op=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="scatter",t}return Od(t,e),t.getDefaultOptions=function(){return{axis:{y:{title:!1},x:{title:!1}},legend:{size:!1},children:[{type:"point"}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return Ou},t}(AG);function Of(e){return(0,eg.flow)(function(e){return(0,eg.set)(e,"options.coordinate",{type:(0,eg.get)(e,"options.coordinateType","polar")}),e},AV)(e)}var Oh=(x=function(e,t){return(x=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}x(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Og=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="radar",t}return Oh(t,e),t.getDefaultOptions=function(){return{axis:{x:{grid:!0,line:!0},y:{zIndex:1,title:!1,line:!0,nice:!0}},meta:{x:{padding:.5,align:0}},interaction:{tooltip:{style:{crosshairsLineDash:[4,4]}}},children:[{type:"line"}],coordinateType:"polar"}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return Of},t}(AG),Om=function(){return(Om=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&(t.x1=e[r],t.x2=t[r],t.y1=e[OH]),t},[]),o.shift(),a.push({type:"link",xField:["x1","x2"],yField:"y1",zIndex:-1,data:o,style:Oz({stroke:"#697474"},i),label:!1,tooltip:!1}),e},AK,AV)(e)}var OV=(P=function(e,t){return(P=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}P(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),OY=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="waterfall",t}return OV(t,e),t.getDefaultOptions=function(){return{type:"view",legend:null,tooltip:{field:O$,valueFormatter:"~s",name:"value"},axis:{y:{title:null,labelFormatter:"~s"},x:{title:null}},children:[{type:"interval",interaction:{elementHighlight:{background:!0}}}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return OW},t}(AG);function Oq(e){return(0,eg.flow)(function(e){var t=e.options,n=t.data,r=t.binNumber,a=t.binWidth,i=t.children,o=t.channel,s=void 0===o?"count":o,l=(0,eg.get)(i,"[0].transform[0]",{});return(0,eg.isNumber)(a)?((0,eg.assign)(l,{thresholds:(0,eg.ceil)((0,eg.divide)(n.length,a)),y:s}),e):((0,eg.isNumber)(r)&&(0,eg.assign)(l,{thresholds:r,y:s}),e)},AK,AV)(e)}var OK=(M=function(e,t){return(M=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}M(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),OX=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="Histogram",t}return OK(t,e),t.getDefaultOptions=function(){return{type:"view",autoFit:!0,axis:{y:{title:!1},x:{title:!1}},children:[{type:"rect",transform:[{type:"binX",y:"count"}],interaction:{elementHighlight:{background:!0}}}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return Oq},t}(AG);function OQ(e){return(0,eg.flow)(function(e){var t=e.options,n=t.tooltip,r=void 0===n?{}:n,a=t.colorField,i=t.sizeField;return r&&!r.field&&(r.field=a||i),e},function(e){var t=e.options,n=t.mark,r=t.children;return n&&(r[0].type=n),e},AK,AV)(e)}var OJ=(F=function(e,t){return(F=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}F(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),O0=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="heatmap",t}return OJ(t,e),t.getDefaultOptions=function(){return{type:"view",legend:null,tooltip:{valueFormatter:"~s"},axis:{y:{title:null,grid:!0},x:{title:null,grid:!0}},children:[{type:"point",interaction:{elementHighlight:{background:!0}}}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return OQ},t}(AG);function O1(e){return(0,eg.flow)(function(e){var t=e.options.boxType;return e.options.children[0].type=void 0===t?"box":t,e},AK,AV)(e)}var O2=(B=function(e,t){return(B=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}B(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),O3=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="box",t}return O2(t,e),t.getDefaultOptions=function(){return{type:"view",children:[{type:"box"}],axis:{y:{title:!1},x:{title:!1}},tooltip:{items:[{name:"min",channel:"y"},{name:"q1",channel:"y1"},{name:"q2",channel:"y2"},{name:"q3",channel:"y3"},{name:"max",channel:"y4"}]}}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return O1},t}(AG);function O5(e){return(0,eg.flow)(function(e){var t=e.options,n=t.data,r=[{type:"custom",callback:function(e){return{links:e}}}];if((0,eg.isArray)(n))n.length>0?(0,eg.set)(t,"data",{value:n,transform:r}):delete t.children;else if("fetch"===(0,eg.get)(n,"type")&&(0,eg.get)(n,"value")){var a=(0,eg.get)(n,"transform");(0,eg.isArray)(a)?(0,eg.set)(n,"transform",a.concat(r)):(0,eg.set)(n,"transform",r)}return e},AK,AV)(e)}var O4=(j=function(e,t){return(j=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}j(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),O6=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="sankey",t}return O4(t,e),t.getDefaultOptions=function(){return{type:"view",children:[{type:"sankey"}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return O5},t}(AG);function O9(e){t=e.options.layout,e.options.coordinate.transform="horizontal"!==(void 0===t?"horizontal":t)?void 0:[{type:"transpose"}];var t,n=e.options.layout,r=void 0===n?"horizontal":n;return e.options.children.forEach(function(e){var t;(null===(t=null==e?void 0:e.coordinate)||void 0===t?void 0:t.transform)&&(e.coordinate.transform="horizontal"!==r?void 0:[{type:"transpose"}])}),e}var O8=function(){return(O8=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},_G=(0,em.forwardRef)(function(e,t){var n,r,a,i,o,s,l,c,u,d=e.chartType,p=_U(e,["chartType"]),f=p.containerStyle,h=p.containerAttributes,g=void 0===h?{}:h,m=p.className,b=p.loading,y=p.loadingTemplate,E=p.errorTemplate,v=_U(p,["containerStyle","containerAttributes","className","loading","loadingTemplate","errorTemplate"]),T=(n=_B[void 0===d?"Base":d],r=(0,em.useRef)(),a=(0,em.useRef)(),i=(0,em.useRef)(null),o=v.onReady,s=v.onEvent,l=function(e,t){void 0===e&&(e="image/png");var n,r=null===(n=i.current)||void 0===n?void 0:n.getElementsByTagName("canvas")[0];return null==r?void 0:r.toDataURL(e,t)},c=function(e,t,n){void 0===e&&(e="download"),void 0===t&&(t="image/png");var r=e;-1===e.indexOf(".")&&(r="".concat(e,".").concat(t.split("/")[1]));var a=l(t,n),i=document.createElement("a");return i.href=a,i.download=r,document.body.appendChild(i),i.click(),document.body.removeChild(i),i=null,r},u=function(e,t){void 0===t&&(t=!1);var n=Object.keys(e),r=t;n.forEach(function(n){var a,i=e[n];("tooltip"===n&&(r=!0),(0,eg.isFunction)(i)&&(a="".concat(i),/react|\.jsx|children:\[\(|return\s+[A-Za-z0-9].createElement\((?!['"][g|circle|ellipse|image|rect|line|polyline|polygon|text|path|html|mesh]['"])([^\)])*,/i.test(a)))?e[n]=function(){for(var e=[],t=0;t1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return(function(e){if(0===e.length||1===e.length)return e;var t,n=e.join(".");return p[n]||(p[n]=0===(t=e.length)||1===t?e:2===t?[e[0],e[1],"".concat(e[0],".").concat(e[1]),"".concat(e[1],".").concat(e[0])]:3===t?[e[0],e[1],e[2],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0])]:t>=4?[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]:void 0),p[n]})(e.filter(function(e){return"token"!==e})).reduce(function(e,t){return d(d({},e),n[t])},t)}(s.className,Object.assign({},s.style,void 0===a?{}:a),r)})}else m=d(d({},s),{},{className:s.className.join(" ")});var T=b(n.children);return l.createElement(f,(0,c.Z)({key:o},m),T)}}({node:e,stylesheet:n,useInlineStyles:r,key:"code-segement".concat(t)})})}function S(e){return e&&void 0!==e.highlightAuto}var A=n(98695),O=(r=n.n(A)(),a={'code[class*="language-"]':{color:"black",background:"none",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"black",background:"#f5f2f0",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},':not(pre) > code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},function(e){var t=e.language,n=e.children,s=e.style,c=void 0===s?a:s,u=e.customStyle,d=void 0===u?{}:u,p=e.codeTagProps,h=void 0===p?{className:t?"language-".concat(t):void 0,style:g(g({},c['code[class*="language-"]']),c['code[class*="language-'.concat(t,'"]')])}:p,A=e.useInlineStyles,O=void 0===A||A,_=e.showLineNumbers,k=void 0!==_&&_,x=e.showInlineLineNumbers,C=void 0===x||x,w=e.startingLineNumber,I=void 0===w?1:w,R=e.lineNumberContainerStyle,N=e.lineNumberStyle,L=void 0===N?{}:N,D=e.wrapLines,P=e.wrapLongLines,M=void 0!==P&&P,F=e.lineProps,B=void 0===F?{}:F,j=e.renderer,U=e.PreTag,G=void 0===U?"pre":U,H=e.CodeTag,$=void 0===H?"code":H,z=e.code,Z=void 0===z?(Array.isArray(n)?n[0]:n)||"":z,W=e.astGenerator,V=(0,i.Z)(e,f);W=W||r;var Y=k?l.createElement(b,{containerStyle:R,codeStyle:h.style||{},numberStyle:L,startingLineNumber:I,codeString:Z}):null,q=c.hljs||c['pre[class*="language-"]']||{backgroundColor:"#fff"},K=S(W)?"hljs":"prismjs",X=O?Object.assign({},V,{style:Object.assign({},q,d)}):Object.assign({},V,{className:V.className?"".concat(K," ").concat(V.className):K,style:Object.assign({},d)});if(M?h.style=g(g({},h.style),{},{whiteSpace:"pre-wrap"}):h.style=g(g({},h.style),{},{whiteSpace:"pre"}),!W)return l.createElement(G,X,Y,l.createElement($,h,Z));(void 0===D&&j||M)&&(D=!0),j=j||T;var Q=[{type:"text",value:Z}],J=function(e){var t=e.astGenerator,n=e.language,r=e.code,a=e.defaultCodeValue;if(S(t)){var i=-1!==t.listLanguages().indexOf(n);return"text"===n?{value:a,language:"text"}:i?t.highlight(n,r):t.highlightAuto(r)}try{return n&&"text"!==n?{value:t.highlight(r,n)}:{value:a}}catch(e){return{value:a}}}({astGenerator:W,language:t,code:Z,defaultCodeValue:Q});null===J.language&&(J.value=Q);var ee=J.value.length+I,et=function(e,t,n,r,a,i,s,l,c){var u,d=function e(t){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=0;a2&&void 0!==arguments[2]?arguments[2]:[];return t||o.length>0?function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return v({children:e,lineNumber:t,lineNumberStyle:l,largestLineNumber:s,showInlineLineNumbers:a,lineProps:n,className:i,showLineNumbers:r,wrapLongLines:c})}(e,i,o):function(e,t){if(r&&t&&a){var n=E(l,t,s);e.unshift(y(t,n))}return e}(e,i)}for(;h code[class*="language-"]':{background:"#111b27",padding:"0.1em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"#8da1b9"},prolog:{color:"#8da1b9"},doctype:{color:"#8da1b9"},cdata:{color:"#8da1b9"},punctuation:{color:"#e3eaf2"},"delimiter.important":{color:"#66cccc",fontWeight:"inherit"},"selector.parent":{color:"#66cccc"},tag:{color:"#66cccc"},"tag.punctuation":{color:"#66cccc"},"attr-name":{color:"#e6d37a"},boolean:{color:"#e6d37a"},"boolean.important":{color:"#e6d37a"},number:{color:"#e6d37a"},constant:{color:"#e6d37a"},"selector.attribute":{color:"#e6d37a"},"class-name":{color:"#6cb8e6"},key:{color:"#6cb8e6"},parameter:{color:"#6cb8e6"},property:{color:"#6cb8e6"},"property-access":{color:"#6cb8e6"},variable:{color:"#6cb8e6"},"attr-value":{color:"#91d076"},inserted:{color:"#91d076"},color:{color:"#91d076"},"selector.value":{color:"#91d076"},string:{color:"#91d076"},"string.url-link":{color:"#91d076"},builtin:{color:"#f4adf4"},"keyword-array":{color:"#f4adf4"},package:{color:"#f4adf4"},regex:{color:"#f4adf4"},function:{color:"#c699e3"},"selector.class":{color:"#c699e3"},"selector.id":{color:"#c699e3"},"atrule.rule":{color:"#e9ae7e"},combinator:{color:"#e9ae7e"},keyword:{color:"#e9ae7e"},operator:{color:"#e9ae7e"},"pseudo-class":{color:"#e9ae7e"},"pseudo-element":{color:"#e9ae7e"},selector:{color:"#e9ae7e"},unit:{color:"#e9ae7e"},deleted:{color:"#cd6660"},important:{color:"#cd6660",fontWeight:"bold"},"keyword-this":{color:"#6cb8e6",fontWeight:"bold"},this:{color:"#6cb8e6",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},entity:{cursor:"help"},".language-markdown .token.title":{color:"#6cb8e6",fontWeight:"bold"},".language-markdown .token.title .token.punctuation":{color:"#6cb8e6",fontWeight:"bold"},".language-markdown .token.blockquote.punctuation":{color:"#f4adf4"},".language-markdown .token.code":{color:"#66cccc"},".language-markdown .token.hr.punctuation":{color:"#6cb8e6"},".language-markdown .token.url .token.content":{color:"#91d076"},".language-markdown .token.url-link":{color:"#e6d37a"},".language-markdown .token.list.punctuation":{color:"#f4adf4"},".language-markdown .token.table-header":{color:"#e3eaf2"},".language-json .token.operator":{color:"#e3eaf2"},".language-scss .token.variable":{color:"#66cccc"},"token.tab:not(:empty):before":{color:"#8da1b9"},"token.cr:before":{color:"#8da1b9"},"token.lf:before":{color:"#8da1b9"},"token.space:before":{color:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{color:"#111b27",background:"#6cb8e6"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{color:"#111b27",background:"#6cb8e6"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{color:"#111b27",background:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{color:"#111b27",background:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{color:"#111b27",background:"#8da1b9"},".line-highlight.line-highlight":{background:"linear-gradient(to right, #3c526d5f 70%, #3c526d55)"},".line-highlight.line-highlight:before":{backgroundColor:"#8da1b9",color:"#111b27",boxShadow:"0 1px #3c526d"},".line-highlight.line-highlight[data-end]:after":{backgroundColor:"#8da1b9",color:"#111b27",boxShadow:"0 1px #3c526d"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"#8da1b918"},".line-numbers.line-numbers .line-numbers-rows":{borderRight:"1px solid #0b121b",background:"#0b121b7a"},".line-numbers .line-numbers-rows > span:before":{color:"#8da1b9da"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"#c699e3"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"#c699e3"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"#c699e3"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"#cd66601f"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"#cd66601f"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"#91d0761f"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"#91d0761f"},".command-line .command-line-prompt":{borderRight:"1px solid #0b121b"},".command-line .command-line-prompt > span:before":{color:"#8da1b9da"}}},12187:function(e,t){"use strict";t.Z={'code[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"]::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},prolog:{color:"hsl(220, 10%, 40%)"},cdata:{color:"hsl(220, 10%, 40%)"},doctype:{color:"hsl(220, 14%, 71%)"},punctuation:{color:"hsl(220, 14%, 71%)"},entity:{color:"hsl(220, 14%, 71%)",cursor:"help"},"attr-name":{color:"hsl(29, 54%, 61%)"},"class-name":{color:"hsl(29, 54%, 61%)"},boolean:{color:"hsl(29, 54%, 61%)"},constant:{color:"hsl(29, 54%, 61%)"},number:{color:"hsl(29, 54%, 61%)"},atrule:{color:"hsl(29, 54%, 61%)"},keyword:{color:"hsl(286, 60%, 67%)"},property:{color:"hsl(355, 65%, 65%)"},tag:{color:"hsl(355, 65%, 65%)"},symbol:{color:"hsl(355, 65%, 65%)"},deleted:{color:"hsl(355, 65%, 65%)"},important:{color:"hsl(355, 65%, 65%)"},selector:{color:"hsl(95, 38%, 62%)"},string:{color:"hsl(95, 38%, 62%)"},char:{color:"hsl(95, 38%, 62%)"},builtin:{color:"hsl(95, 38%, 62%)"},inserted:{color:"hsl(95, 38%, 62%)"},regex:{color:"hsl(95, 38%, 62%)"},"attr-value":{color:"hsl(95, 38%, 62%)"},"attr-value > .token.punctuation":{color:"hsl(95, 38%, 62%)"},variable:{color:"hsl(207, 82%, 66%)"},operator:{color:"hsl(207, 82%, 66%)"},function:{color:"hsl(207, 82%, 66%)"},url:{color:"hsl(187, 47%, 55%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(220, 14%, 71%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(220, 14%, 71%)"},".language-css .token.selector":{color:"hsl(355, 65%, 65%)"},".language-css .token.property":{color:"hsl(220, 14%, 71%)"},".language-css .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.string.url":{color:"hsl(95, 38%, 62%)"},".language-css .token.important":{color:"hsl(286, 60%, 67%)"},".language-css .token.atrule .token.rule":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.operator":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(5, 48%, 51%)"},".language-json .token.operator":{color:"hsl(220, 14%, 71%)"},".language-json .token.null.keyword":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.url":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.operator":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.content":{color:"hsl(207, 82%, 66%)"},".language-markdown .token.url > .token.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.url-reference.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(95, 38%, 62%)"},".language-markdown .token.bold .token.content":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.italic .token.content":{color:"hsl(286, 60%, 67%)"},".language-markdown .token.strike .token.content":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.list.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(355, 65%, 65%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.cr:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.lf:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.space:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},".line-highlight.line-highlight":{background:"hsla(220, 100%, 80%, 0.04)"},".line-highlight.line-highlight:before":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(220, 100%, 80%, 0.04)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".command-line .command-line-prompt":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(220, 14%, 45%)"},".command-line .command-line-prompt > span:before":{color:"hsl(220, 14%, 45%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(286, 60%, 67%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(224, 13%, 17%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(224, 13%, 17%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(224, 13%, 17%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(224, 13%, 17%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(219, 13%, 22%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(220, 14%, 71%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(220, 14%, 71%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(220, 14%, 71%)"}}},89144:function(e,t){"use strict";t.Z={'code[class*="language-"]':{background:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"] *::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"]::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"] *::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'pre[class*="language-"] *::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},prolog:{color:"hsl(230, 4%, 64%)"},cdata:{color:"hsl(230, 4%, 64%)"},doctype:{color:"hsl(230, 8%, 24%)"},punctuation:{color:"hsl(230, 8%, 24%)"},entity:{color:"hsl(230, 8%, 24%)",cursor:"help"},"attr-name":{color:"hsl(35, 99%, 36%)"},"class-name":{color:"hsl(35, 99%, 36%)"},boolean:{color:"hsl(35, 99%, 36%)"},constant:{color:"hsl(35, 99%, 36%)"},number:{color:"hsl(35, 99%, 36%)"},atrule:{color:"hsl(35, 99%, 36%)"},keyword:{color:"hsl(301, 63%, 40%)"},property:{color:"hsl(5, 74%, 59%)"},tag:{color:"hsl(5, 74%, 59%)"},symbol:{color:"hsl(5, 74%, 59%)"},deleted:{color:"hsl(5, 74%, 59%)"},important:{color:"hsl(5, 74%, 59%)"},selector:{color:"hsl(119, 34%, 47%)"},string:{color:"hsl(119, 34%, 47%)"},char:{color:"hsl(119, 34%, 47%)"},builtin:{color:"hsl(119, 34%, 47%)"},inserted:{color:"hsl(119, 34%, 47%)"},regex:{color:"hsl(119, 34%, 47%)"},"attr-value":{color:"hsl(119, 34%, 47%)"},"attr-value > .token.punctuation":{color:"hsl(119, 34%, 47%)"},variable:{color:"hsl(221, 87%, 60%)"},operator:{color:"hsl(221, 87%, 60%)"},function:{color:"hsl(221, 87%, 60%)"},url:{color:"hsl(198, 99%, 37%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(230, 8%, 24%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(230, 8%, 24%)"},".language-css .token.selector":{color:"hsl(5, 74%, 59%)"},".language-css .token.property":{color:"hsl(230, 8%, 24%)"},".language-css .token.function":{color:"hsl(198, 99%, 37%)"},".language-css .token.url > .token.function":{color:"hsl(198, 99%, 37%)"},".language-css .token.url > .token.string.url":{color:"hsl(119, 34%, 47%)"},".language-css .token.important":{color:"hsl(301, 63%, 40%)"},".language-css .token.atrule .token.rule":{color:"hsl(301, 63%, 40%)"},".language-javascript .token.operator":{color:"hsl(301, 63%, 40%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(344, 84%, 43%)"},".language-json .token.operator":{color:"hsl(230, 8%, 24%)"},".language-json .token.null.keyword":{color:"hsl(35, 99%, 36%)"},".language-markdown .token.url":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url > .token.operator":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url > .token.content":{color:"hsl(221, 87%, 60%)"},".language-markdown .token.url > .token.url":{color:"hsl(198, 99%, 37%)"},".language-markdown .token.url-reference.url":{color:"hsl(198, 99%, 37%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(119, 34%, 47%)"},".language-markdown .token.bold .token.content":{color:"hsl(35, 99%, 36%)"},".language-markdown .token.italic .token.content":{color:"hsl(301, 63%, 40%)"},".language-markdown .token.strike .token.content":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.list.punctuation":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(5, 74%, 59%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.cr:before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.lf:before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.space:before":{color:"hsla(230, 8%, 24%, 0.2)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},".line-highlight.line-highlight":{background:"hsla(230, 8%, 24%, 0.05)"},".line-highlight.line-highlight:before":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 8%, 24%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 8%, 24%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(230, 8%, 24%, 0.05)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(230, 8%, 24%, 0.2)"},".command-line .command-line-prompt":{borderRightColor:"hsla(230, 8%, 24%, 0.2)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(230, 1%, 62%)"},".command-line .command-line-prompt > span:before":{color:"hsl(230, 1%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(301, 63%, 40%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(301, 63%, 40%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(301, 63%, 40%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(0, 0, 95%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(0, 0, 95%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(0, 0, 95%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(0, 0, 95%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(0, 0%, 100%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(0, 0%, 100%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(0, 0%, 100%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(230, 8%, 24%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(230, 8%, 24%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(230, 8%, 24%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(230, 8%, 24%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(230, 8%, 24%)"}}},2440:function(e,t,n){"use strict";var r=n(25519);t.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(r.C9))&&void 0!==e?e:"")}},39718:function(e,t,n){"use strict";var r=n(85893),a=n(19284),i=n(25675),o=n.n(i),s=n(67294);t.Z=(0,s.memo)(e=>{let{width:t,height:n,model:i}=e,l=(0,s.useMemo)(()=>(0,a.ab)(i||"huggingface"),[i]);return i?(0,r.jsx)(o(),{className:"rounded-full border border-gray-200 object-contain bg-white inline-block",width:t||24,height:n||24,src:l,alt:"llm",priority:!0}):null})},50948:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{noSSR:function(){return o},default:function(){return s}});let r=n(38754),a=(n(67294),r._(n(23900)));function i(e){return{default:(null==e?void 0:e.default)||e}}function o(e,t){return delete t.webpack,delete t.modules,e(t)}function s(e,t){let n=a.default,r={loading:e=>{let{error:t,isLoading:n,pastDelay:r}=e;return null}};e instanceof Promise?r.loader=()=>e:"function"==typeof e?r.loader=e:"object"==typeof e&&(r={...r,...e}),r={...r,...t};let s=r.loader;return(r.loadableGenerated&&(r={...r,...r.loadableGenerated},delete r.loadableGenerated),"boolean"!=typeof r.ssr||r.ssr)?n({...r,loader:()=>null!=s?s().then(i):Promise.resolve(i(()=>null))}):(delete r.webpack,delete r.modules,o(n,r))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2804:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return i}});let r=n(38754),a=r._(n(67294)),i=a.default.createContext(null)},23900:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});let r=n(38754),a=r._(n(67294)),i=n(2804),o=[],s=[],l=!1;function c(e){let t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then(e=>(n.loading=!1,n.loaded=e,e)).catch(e=>{throw n.loading=!1,n.error=e,e}),n}class u{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function d(e){return function(e,t){let n=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),r=null;function o(){if(!r){let t=new u(e,n);r={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return r.promise()}if(!l){let e=n.webpack?n.webpack():n.modules;e&&s.push(t=>{for(let n of e)if(t.includes(n))return o()})}function c(e,t){!function(){o();let e=a.default.useContext(i.LoadableContext);e&&Array.isArray(n.modules)&&n.modules.forEach(t=>{e(t)})}();let s=a.default.useSyncExternalStore(r.subscribe,r.getCurrentValue,r.getCurrentValue);return a.default.useImperativeHandle(t,()=>({retry:r.retry}),[]),a.default.useMemo(()=>{var t;return s.loading||s.error?a.default.createElement(n.loading,{isLoading:s.loading,pastDelay:s.pastDelay,timedOut:s.timedOut,error:s.error,retry:r.retry}):s.loaded?a.default.createElement((t=s.loaded)&&t.default?t.default:t,e):null},[e,s])}return c.preload=()=>o(),c.displayName="LoadableComponent",a.default.forwardRef(c)}(c,e)}function p(e,t){let n=[];for(;e.length;){let r=e.pop();n.push(r(t))}return Promise.all(n).then(()=>{if(e.length)return p(e,t)})}d.preloadAll=()=>new Promise((e,t)=>{p(o).then(e,t)}),d.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let n=()=>(l=!0,t());p(s,e).then(n,n)})),window.__NEXT_PRELOADREADY=d.preloadReady;let f=d},7332:function(e,t,n){"use strict";n.r(t);var r=n(85893),a=n(39718),i=n(18102),o=n(96074),s=n(93967),l=n.n(s),c=n(67294),u=n(73913),d=n(32966);t.default=(0,c.memo)(e=>{let{message:t,index:n}=e,{scene:s}=(0,c.useContext)(u.MobileChatContext),{context:p,model_name:f,role:h,thinking:g}=t,m=(0,c.useMemo)(()=>"view"===h,[h]),b=(0,c.useRef)(null),{value:y}=(0,c.useMemo)(()=>{if("string"!=typeof p)return{relations:[],value:"",cachePluginContext:[]};let[e,t]=p.split(" relations:"),n=t?t.split(","):[],r=[],a=0,i=e.replace(/]*>[^<]*<\/dbgpt-view>/gi,e=>{try{var t;let n=e.replaceAll("\n","\\n").replace(/<[^>]*>|<\/[^>]*>/gm,""),i=JSON.parse(n),o="".concat(a,"");return r.push({...i,result:E(null!==(t=i.result)&&void 0!==t?t:"")}),a++,o}catch(t){return console.log(t.message,t),e}});return{relations:n,cachePluginContext:r,value:i}},[p]),E=e=>e.replace(/]+)>/gi,"
").replace(/]+)>/gi,"");return(0,r.jsxs)("div",{className:l()("flex w-full",{"justify-end":!m}),ref:b,children:[!m&&(0,r.jsx)("div",{className:"flex bg-[#0C75FC] text-white p-3 rounded-xl rounded-br-none",children:p}),m&&(0,r.jsxs)("div",{className:"flex max-w-full flex-col flex-wrap bg-white dark:bg-[rgba(255,255,255,0.16)] p-3 rounded-xl rounded-bl-none",children:["string"==typeof p&&"chat_agent"===s&&(0,r.jsx)(i.default,{children:null==y?void 0:y.replace(/]+)>/gi,"
").replace(/]+)>/gi,"")}),"string"==typeof p&&"chat_agent"!==s&&(0,r.jsx)(i.default,{children:E(y)}),g&&!p&&(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("span",{className:"flex text-sm text-[#1c2533] dark:text-white",children:"思考中"}),(0,r.jsxs)("div",{className:"flex",children:[(0,r.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse1"}),(0,r.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse2"}),(0,r.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse3"})]})]}),!g&&(0,r.jsx)(o.Z,{className:"my-2"}),(0,r.jsxs)("div",{className:l()("opacity-0 h-0 w-0",{"opacity-100 flex items-center justify-between gap-6 w-auto h-auto":!g}),children:[(0,r.jsx)(d.default,{content:t,index:n,chatDialogRef:b}),"chat_agent"!==s&&(0,r.jsxs)("div",{className:"flex gap-1 items-center",children:[(0,r.jsx)(a.Z,{width:14,height:14,model:f}),(0,r.jsx)("span",{className:"text-xs text-gray-500",children:f})]})]})]})]})})},5583:function(e,t,n){"use strict";n.r(t);var r=n(85893),a=n(85265),i=n(66309),o=n(25278),s=n(14726),l=n(67294);t.default=e=>{let{open:t,setFeedbackOpen:n,list:c,feedback:u,loading:d}=e,[p,f]=(0,l.useState)([]),[h,g]=(0,l.useState)("");return(0,r.jsx)(a.Z,{title:"你的反馈助我进步",placement:"bottom",open:t,onClose:()=>n(!1),destroyOnClose:!0,height:"auto",children:(0,r.jsxs)("div",{className:"flex flex-col w-full gap-4",children:[(0,r.jsx)("div",{className:"flex w-full flex-wrap gap-2",children:null==c?void 0:c.map(e=>{let t=p.findIndex(t=>t.reason_type===e.reason_type)>-1;return(0,r.jsx)(i.Z,{className:"text-sm text-[#525964] p-1 px-2 rounded-md cursor-pointer ".concat(t?"border-[#0c75fc] text-[#0c75fc]":""),onClick:()=>{f(t=>{let n=t.findIndex(t=>t.reason_type===e.reason_type);return n>-1?[...t.slice(0,n),...t.slice(n+1)]:[...t,e]})},children:e.reason},e.reason_type)})}),(0,r.jsx)(o.default.TextArea,{placeholder:"描述一下具体问题或更优的答案",className:"h-24 resize-none mb-2",value:h,onChange:e=>g(e.target.value.trim())}),(0,r.jsxs)("div",{className:"flex gap-2 justify-end",children:[(0,r.jsx)(s.ZP,{className:"w-16 h-8",onClick:()=>{n(!1)},children:"取消"}),(0,r.jsx)(s.ZP,{type:"primary",className:"min-w-16 h-8",onClick:async()=>{let e=p.map(e=>e.reason_type);await (null==u?void 0:u({feedback_type:"unlike",reason_types:e,remark:h}))},loading:d,children:"确认"})]})]})})}},32966:function(e,t,n){"use strict";n.r(t);var r=n(85893),a=n(76212),i=n(65429),o=n(15381),s=n(57132),l=n(65654),c=n(31418),u=n(96074),d=n(14726),p=n(93967),f=n.n(p),h=n(20640),g=n.n(h),m=n(67294),b=n(73913),y=n(5583);t.default=e=>{var t;let{content:n,index:p,chatDialogRef:h}=e,{conv_uid:E,history:v,scene:T}=(0,m.useContext)(b.MobileChatContext),{message:S}=c.Z.useApp(),[A,O]=(0,m.useState)(!1),[_,k]=(0,m.useState)(null==n?void 0:null===(t=n.feedback)||void 0===t?void 0:t.feedback_type),[x,C]=(0,m.useState)([]),w=async e=>{var t;let n=null==e?void 0:e.replace(/\trelations:.*/g,""),r=g()((null===(t=h.current)||void 0===t?void 0:t.textContent)||n);r?n?S.success("复制成功"):S.warning("内容复制为空"):S.error("复制失败")},{run:I,loading:R}=(0,l.Z)(async e=>await (0,a.Vx)((0,a.zx)({conv_uid:E,message_id:n.order+"",feedback_type:e.feedback_type,reason_types:e.reason_types,remark:e.remark})),{manual:!0,onSuccess:e=>{let[,t]=e;k(null==t?void 0:t.feedback_type),S.success("反馈成功"),O(!1)}}),{run:N}=(0,l.Z)(async()=>await (0,a.Vx)((0,a.Ir)({conv_uid:E,message_id:(null==n?void 0:n.order)+""})),{manual:!0,onSuccess:e=>{let[,t]=e;t&&(k("none"),S.success("操作成功"))}}),{run:L}=(0,l.Z)(async()=>await (0,a.Vx)((0,a.Jr)()),{manual:!0,onSuccess:e=>{let[,t]=e;C(t||[]),t&&O(!0)}}),{run:D,loading:P}=(0,l.Z)(async()=>await (0,a.Vx)((0,a.Ty)({conv_id:E,round_index:0})),{manual:!0,onSuccess:()=>{S.success("操作成功")}});return(0,r.jsxs)("div",{className:"flex items-center text-sm",children:[(0,r.jsxs)("div",{className:"flex gap-3",children:[(0,r.jsx)(i.Z,{className:f()("cursor-pointer",{"text-[#0C75FC]":"like"===_}),onClick:async()=>{if("like"===_){await N();return}await I({feedback_type:"like"})}}),(0,r.jsx)(o.Z,{className:f()("cursor-pointer",{"text-[#0C75FC]":"unlike"===_}),onClick:async()=>{if("unlike"===_){await N();return}await L()}}),(0,r.jsx)(y.default,{open:A,setFeedbackOpen:O,list:x,feedback:I,loading:R})]}),(0,r.jsx)(u.Z,{type:"vertical"}),(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)(s.Z,{className:"cursor-pointer",onClick:()=>w(n.context)}),v.length-1===p&&"chat_agent"===T&&(0,r.jsx)(d.ZP,{loading:P,size:"small",onClick:async()=>{await D()},className:"text-xs",children:"终止话题"})]})]})}},56397:function(e,t,n){"use strict";n.r(t);var r=n(85893),a=n(48218),i=n(58638),o=n(31418),s=n(45030),l=n(20640),c=n.n(l),u=n(67294),d=n(73913);t.default=(0,u.memo)(()=>{var e;let{appInfo:t}=(0,u.useContext)(d.MobileChatContext),{message:n}=o.Z.useApp(),[l,p]=(0,u.useState)(0);if(!(null==t?void 0:t.app_code))return null;let f=async()=>{let e=c()("dingtalk://dingtalkclient/page/link?url=".concat(encodeURIComponent(location.href),"&pc_slide=true"));n[e?"success":"error"](e?"复制成功":"复制失败")};return l>6&&n.info(JSON.stringify(window.navigator.userAgent),2,()=>{p(0)}),(0,r.jsxs)("header",{className:"flex w-full items-center justify-between bg-[rgba(255,255,255,0.9)] border dark:bg-black dark:border-[rgba(255,255,255,0.6)] rounded-xl mx-auto px-4 py-2 mb-4 sticky top-4 z-50 mt-4 shadow-md",children:[(0,r.jsxs)("div",{className:"flex gap-2 items-center",onClick:()=>p(l+1),children:[(0,r.jsx)(a.Z,{scene:(null==t?void 0:null===(e=t.team_context)||void 0===e?void 0:e.chat_scene)||"chat_agent",width:8,height:8}),(0,r.jsxs)("div",{className:"flex flex-col ml-2",children:[(0,r.jsx)(s.Z.Text,{className:"text-md font-bold line-clamp-2",children:null==t?void 0:t.app_name}),(0,r.jsx)(s.Z.Text,{className:"text-sm line-clamp-2",children:null==t?void 0:t.app_describe})]})]}),(0,r.jsx)("div",{onClick:f,className:"flex items-center justify-center w-10 h-10 bg-[#ffffff99] dark:bg-[rgba(255,255,255,0.2)] border border-white dark:border-[rgba(255,255,255,0.2)] rounded-[50%] cursor-pointer",children:(0,r.jsx)(i.Z,{className:"text-lg"})})]})})},74638:function(e,t,n){"use strict";n.r(t);var r=n(85893),a=n(76212),i=n(62418),o=n(25519),s=n(30159),l=n(87740),c=n(50888),u=n(52645),d=n(27496),p=n(1375),f=n(65654),h=n(66309),g=n(55241),m=n(74330),b=n(25278),y=n(14726),E=n(93967),v=n.n(E),T=n(39332),S=n(67294),A=n(73913),O=n(7001),_=n(73749),k=n(97109),x=n(83454);let C=["magenta","orange","geekblue","purple","cyan","green"];t.default=()=>{var e,t;let n=(0,T.useSearchParams)(),E=null!==(t=null==n?void 0:n.get("ques"))&&void 0!==t?t:"",{history:w,model:I,scene:R,temperature:N,resource:L,conv_uid:D,appInfo:P,scrollViewRef:M,order:F,userInput:B,ctrl:j,canAbort:U,canNewChat:G,setHistory:H,setCanNewChat:$,setCarAbort:z,setUserInput:Z}=(0,S.useContext)(A.MobileChatContext),[W,V]=(0,S.useState)(!1),[Y,q]=(0,S.useState)(!1),K=async e=>{var t,n,r;Z(""),j.current=new AbortController;let a={chat_mode:R,model_name:I,user_input:e||B,conv_uid:D,temperature:N,app_code:null==P?void 0:P.app_code,...L&&{select_param:JSON.stringify(L)}};if(w&&w.length>0){let e=null==w?void 0:w.filter(e=>"view"===e.role);F.current=e[e.length-1].order+1}let s=[{role:"human",context:e||B,model_name:I,order:F.current,time_stamp:0},{role:"view",context:"",model_name:I,order:F.current,time_stamp:0,thinking:!0}],l=s.length-1;H([...w,...s]),$(!1);try{await (0,p.L)("".concat(null!==(t=x.env.API_BASE_URL)&&void 0!==t?t:"","/api/v1/chat/completions"),{method:"POST",headers:{"Content-Type":"application/json",[o.gp]:null!==(n=(0,i.n5)())&&void 0!==n?n:""},signal:j.current.signal,body:JSON.stringify(a),openWhenHidden:!0,async onopen(e){if(e.ok&&e.headers.get("content-type")===p.a)return},onclose(){var e;null===(e=j.current)||void 0===e||e.abort(),$(!0),z(!1)},onerror(e){throw Error(e)},onmessage:e=>{let t=e.data;try{t=JSON.parse(t).vis}catch(e){t.replaceAll("\\n","\n")}"[DONE]"===t?($(!0),z(!1)):(null==t?void 0:t.startsWith("[ERROR]"))?(s[l].context=null==t?void 0:t.replace("[ERROR]",""),s[l].thinking=!1,H([...w,...s]),$(!0),z(!1)):(z(!0),s[l].context=t,s[l].thinking=!1,H([...w,...s]))}})}catch(e){null===(r=j.current)||void 0===r||r.abort(),s[l].context="Sorry, we meet some error, please try again later.",s[l].thinking=!1,H([...s]),$(!0),z(!1)}},X=async()=>{B.trim()&&G&&await K()};(0,S.useEffect)(()=>{var e,t;null===(e=M.current)||void 0===e||e.scrollTo({top:null===(t=M.current)||void 0===t?void 0:t.scrollHeight,behavior:"auto"})},[w,M]);let Q=(0,S.useMemo)(()=>{if(!P)return[];let{param_need:e=[]}=P;return null==e?void 0:e.map(e=>e.type)},[P]),J=(0,S.useMemo)(()=>{var e;return 0===w.length&&P&&!!(null==P?void 0:null===(e=P.recommend_questions)||void 0===e?void 0:e.length)},[w,P]),{run:ee,loading:et}=(0,f.Z)(async()=>await (0,a.Vx)((0,a.zR)(D)),{manual:!0,onSuccess:()=>{H([])}});return(0,S.useEffect)(()=>{E&&I&&D&&P&&K(E)},[P,D,I,E]),(0,r.jsxs)("div",{className:"flex flex-col",children:[J&&(0,r.jsx)("ul",{children:null==P?void 0:null===(e=P.recommend_questions)||void 0===e?void 0:e.map((e,t)=>(0,r.jsx)("li",{className:"mb-3",children:(0,r.jsx)(h.Z,{color:C[t],className:"p-2 rounded-xl",onClick:async()=>{K(e.question)},children:e.question})},e.id))}),(0,r.jsxs)("div",{className:"flex items-center justify-between gap-1",children:[(0,r.jsxs)("div",{className:"flex gap-2 mb-1 w-full overflow-x-auto",children:[(null==Q?void 0:Q.includes("model"))&&(0,r.jsx)(O.default,{}),(null==Q?void 0:Q.includes("resource"))&&(0,r.jsx)(_.default,{}),(null==Q?void 0:Q.includes("temperature"))&&(0,r.jsx)(k.default,{})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between text-lg font-bold",children:[(0,r.jsx)(g.Z,{content:"暂停回复",trigger:["hover"],children:(0,r.jsx)(s.Z,{className:v()("p-2 cursor-pointer",{"text-[#0c75fc]":U,"text-gray-400":!U}),onClick:()=>{var e;U&&(null===(e=j.current)||void 0===e||e.abort(),setTimeout(()=>{z(!1),$(!0)},100))}})}),(0,r.jsx)(g.Z,{content:"再来一次",trigger:["hover"],children:(0,r.jsx)(l.Z,{className:v()("p-2 cursor-pointer",{"text-gray-400":!w.length||!G}),onClick:()=>{var e,t;if(!G||0===w.length)return;let n=null===(e=null===(t=w.filter(e=>"human"===e.role))||void 0===t?void 0:t.slice(-1))||void 0===e?void 0:e[0];K((null==n?void 0:n.context)||"")}})}),et?(0,r.jsx)(m.Z,{spinning:et,indicator:(0,r.jsx)(c.Z,{style:{fontSize:18},spin:!0}),className:"p-2"}):(0,r.jsx)(g.Z,{content:"清除历史",trigger:["hover"],children:(0,r.jsx)(u.Z,{className:v()("p-2 cursor-pointer",{"text-gray-400":!w.length||!G}),onClick:()=>{G&&ee()}})})]})]}),(0,r.jsxs)("div",{className:v()("flex py-2 px-3 items-center justify-between bg-white dark:bg-[#242733] dark:border-[#6f7f95] rounded-xl border",{"border-[#0c75fc] dark:border-[rgba(12,117,252,0.8)]":W}),children:[(0,r.jsx)(b.default.TextArea,{placeholder:"可以问我任何问题",className:"w-full resize-none border-0 p-0 focus:shadow-none",value:B,autoSize:{minRows:1},onKeyDown:e=>{if("Enter"===e.key&&!e.shiftKey){if(Y){e.preventDefault();return}B.trim()&&(e.preventDefault(),X())}},onChange:e=>{Z(e.target.value)},onFocus:()=>{V(!0)},onBlur:()=>V(!1),onCompositionStartCapture:()=>{q(!0)},onCompositionEndCapture:()=>{setTimeout(()=>{q(!1)},0)}}),(0,r.jsx)(y.ZP,{type:"primary",className:v()("flex items-center justify-center rounded-lg bg-button-gradient border-0 ml-2",{"opacity-40 cursor-not-allowed":!B.trim()||!G}),onClick:X,children:G?(0,r.jsx)(d.Z,{}):(0,r.jsx)(m.Z,{indicator:(0,r.jsx)(c.Z,{className:"text-white"})})})]})]})}},7001:function(e,t,n){"use strict";n.r(t);var r=n(85893),a=n(41468),i=n(39718),o=n(94668),s=n(85418),l=n(55241),c=n(67294),u=n(73913);t.default=()=>{let{modelList:e}=(0,c.useContext)(a.p),{model:t,setModel:n}=(0,c.useContext)(u.MobileChatContext),d=(0,c.useMemo)(()=>e.length>0?e.map(e=>({label:(0,r.jsxs)("div",{className:"flex items-center gap-2",onClick:()=>{n(e)},children:[(0,r.jsx)(i.Z,{width:14,height:14,model:e}),(0,r.jsx)("span",{className:"text-xs",children:e})]}),key:e})):[],[e,n]);return(0,r.jsx)(s.Z,{menu:{items:d},placement:"top",trigger:["click"],children:(0,r.jsx)(l.Z,{content:t,children:(0,r.jsxs)("div",{className:"flex items-center gap-1 border rounded-xl bg-white dark:bg-black p-2 flex-shrink-0",children:[(0,r.jsx)(i.Z,{width:16,height:16,model:t}),(0,r.jsx)("span",{className:"text-xs font-medium line-clamp-1",style:{maxWidth:96},children:t}),(0,r.jsx)(o.Z,{rotate:90})]})})})}},46568:function(e,t,n){"use strict";n.r(t);var r=n(85893),a=n(25675),i=n.n(a),o=n(67294);t.default=(0,o.memo)(e=>{let{width:t,height:n,src:a,label:o}=e;return(0,r.jsx)(i(),{width:t||14,height:n||14,src:a,alt:o||"db-icon",priority:!0})})},73749:function(e,t,n){"use strict";n.r(t);var r=n(85893),a=n(76212),i=n(57249),o=n(62418),s=n(50888),l=n(94668),c=n(83266),u=n(65654),d=n(74330),p=n(23799),f=n(85418),h=n(67294),g=n(73913),m=n(46568);t.default=()=>{let{appInfo:e,resourceList:t,scene:n,model:b,conv_uid:y,getChatHistoryRun:E,setResource:v,resource:T}=(0,h.useContext)(g.MobileChatContext),{temperatureValue:S,maxNewTokensValue:A}=(0,h.useContext)(i.ChatContentContext),[O,_]=(0,h.useState)(null),k=(0,h.useMemo)(()=>{var t,n,r;return null===(t=null==e?void 0:null===(n=e.param_need)||void 0===n?void 0:n.filter(e=>"resource"===e.type))||void 0===t?void 0:null===(r=t[0])||void 0===r?void 0:r.value},[e]),x=(0,h.useMemo)(()=>t&&t.length>0?t.map(e=>({label:(0,r.jsxs)("div",{className:"flex items-center gap-2",onClick:()=>{_(e),v(e.space_id||e.param)},children:[(0,r.jsx)(m.default,{width:14,height:14,src:o.S$[e.type].icon,label:o.S$[e.type].label}),(0,r.jsx)("span",{className:"text-xs",children:e.param})]}),key:e.space_id||e.param})):[],[t,v]),{run:C,loading:w}=(0,u.Z)(async e=>{let[,t]=await (0,a.Vx)((0,a.qn)({convUid:y,chatMode:n,data:e,model:b,temperatureValue:S,maxNewTokensValue:A,config:{timeout:36e5}}));return v(t),t},{manual:!0,onSuccess:async()=>{await E()}}),I=async e=>{let t=new FormData;t.append("doc_file",null==e?void 0:e.file),await C(t)},R=(0,h.useMemo)(()=>w?(0,r.jsxs)("div",{className:"flex items-center gap-1",children:[(0,r.jsx)(d.Z,{size:"small",indicator:(0,r.jsx)(s.Z,{spin:!0})}),(0,r.jsx)("span",{className:"text-xs",children:"上传中"})]}):T?(0,r.jsxs)("div",{className:"flex gap-1",children:[(0,r.jsx)("span",{className:"text-xs",children:T.file_name}),(0,r.jsx)(l.Z,{rotate:90})]}):(0,r.jsxs)("div",{className:"flex items-center gap-1",children:[(0,r.jsx)(c.Z,{className:"text-base"}),(0,r.jsx)("span",{className:"text-xs",children:"上传文件"})]}),[w,T]);return(0,r.jsx)(r.Fragment,{children:(()=>{switch(k){case"excel_file":case"text_file":case"image_file":return(0,r.jsx)("div",{className:"flex items-center justify-center gap-1 border rounded-xl bg-white dark:bg-black px-2 flex-shrink-0",children:(0,r.jsx)(p.default,{name:"file",accept:".xlsx,.xls",maxCount:1,showUploadList:!1,beforeUpload:()=>!1,onChange:I,className:"flex h-full w-full items-center justify-center",children:R})});case"database":case"knowledge":case"plugin":case"awel_flow":var e,n,a,i,s;if(!(null==t?void 0:t.length))return null;return(0,r.jsx)(f.Z,{menu:{items:x},placement:"top",trigger:["click"],children:(0,r.jsxs)("div",{className:"flex items-center gap-1 border rounded-xl bg-white dark:bg-black p-2 flex-shrink-0",children:[(0,r.jsx)(m.default,{width:14,height:14,src:null===(e=o.S$[(null==O?void 0:O.type)||(null==t?void 0:null===(n=t[0])||void 0===n?void 0:n.type)])||void 0===e?void 0:e.icon,label:null===(a=o.S$[(null==O?void 0:O.type)||(null==t?void 0:null===(i=t[0])||void 0===i?void 0:i.type)])||void 0===a?void 0:a.label}),(0,r.jsx)("span",{className:"text-xs font-medium",children:(null==O?void 0:O.param)||(null==t?void 0:null===(s=t[0])||void 0===s?void 0:s.param)}),(0,r.jsx)(l.Z,{rotate:90})]})})}})()})}},97109:function(e,t,n){"use strict";n.r(t);var r=n(85893),a=n(70065),i=n(85418),o=n(30568),s=n(67294),l=n(73913);t.default=()=>{let{temperature:e,setTemperature:t}=(0,s.useContext)(l.MobileChatContext),n=e=>{isNaN(e)||t(e)};return(0,r.jsx)(i.Z,{trigger:["click"],dropdownRender:()=>(0,r.jsx)("div",{className:"flex h-28 bg-white dark:bg-[rgba(255,255,255,0.5)] items-center justify-center rounded-xl py-3",children:(0,r.jsx)(o.Z,{defaultValue:.5,max:1,min:0,step:.1,vertical:!0,onChange:n,value:e})}),placement:"top",children:(0,r.jsxs)("div",{className:"flex items-center justify-between border rounded-xl bg-white dark:bg-black w-14 p-2 flex-shrink-0",children:[(0,r.jsx)(a.Z,{type:"icon-icons-temperature",className:"text-sm"}),(0,r.jsx)("span",{className:"text-xs font-medium",children:e})]})})}},73913:function(e,t,n){"use strict";n.r(t),n.d(t,{MobileChatContext:function(){return v}});var r=n(85893),a=n(41468),i=n(76212),o=n(2440),s=n(62418),l=n(25519),c=n(1375),u=n(65654),d=n(74330),p=n(5152),f=n.n(p),h=n(39332),g=n(67294),m=n(56397),b=n(74638),y=n(83454);let E=f()(()=>Promise.all([n.e(7034),n.e(6106),n.e(8674),n.e(3166),n.e(2837),n.e(2168),n.e(8163),n.e(1265),n.e(7728),n.e(4567),n.e(2398),n.e(9773),n.e(4035),n.e(1154),n.e(2510),n.e(3345),n.e(9202),n.e(5265),n.e(2640),n.e(3768),n.e(5789),n.e(6818)]).then(n.bind(n,36818)),{loadableGenerated:{webpack:()=>[36818]},ssr:!1}),v=(0,g.createContext)({model:"",temperature:.5,resource:null,setModel:()=>{},setTemperature:()=>{},setResource:()=>{},scene:"",history:[],setHistory:()=>{},scrollViewRef:{current:null},appInfo:{},conv_uid:"",resourceList:[],order:{current:1},handleChat:()=>Promise.resolve(),canAbort:!1,setCarAbort:()=>{},canNewChat:!1,setCanNewChat:()=>{},ctrl:{current:void 0},userInput:"",setUserInput:()=>{},getChatHistoryRun:()=>{}});t.default=()=>{var e,t;let n=(0,h.useSearchParams)(),p=null!==(e=null==n?void 0:n.get("chat_scene"))&&void 0!==e?e:"",f=null!==(t=null==n?void 0:n.get("app_code"))&&void 0!==t?t:"",{modelList:T}=(0,g.useContext)(a.p),[S,A]=(0,g.useState)([]),[O,_]=(0,g.useState)(""),[k,x]=(0,g.useState)(.5),[C,w]=(0,g.useState)(null),I=(0,g.useRef)(null),[R,N]=(0,g.useState)(""),[L,D]=(0,g.useState)(!1),[P,M]=(0,g.useState)(!0),F=(0,g.useRef)(),B=(0,g.useRef)(1),j=(0,o.Z)(),U=(0,g.useMemo)(()=>"".concat(null==j?void 0:j.user_no,"_").concat(f),[f,j]),{run:G,loading:H}=(0,u.Z)(async()=>await (0,i.Vx)((0,i.$i)("".concat(null==j?void 0:j.user_no,"_").concat(f))),{manual:!0,onSuccess:e=>{let[,t]=e,n=null==t?void 0:t.filter(e=>"view"===e.role);n&&n.length>0&&(B.current=n[n.length-1].order+1),A(t||[])}}),{data:$,run:z,loading:Z}=(0,u.Z)(async e=>{let[,t]=await (0,i.Vx)((0,i.BN)(e));return null!=t?t:{}},{manual:!0}),{run:W,data:V,loading:Y}=(0,u.Z)(async()=>{var e,t;let[,n]=await (0,i.Vx)((0,i.vD)(p));return w((null==n?void 0:null===(e=n[0])||void 0===e?void 0:e.space_id)||(null==n?void 0:null===(t=n[0])||void 0===t?void 0:t.param)),null!=n?n:[]},{manual:!0}),{run:q,loading:K}=(0,u.Z)(async()=>{let[,e]=await (0,i.Vx)((0,i.iP)());return null!=e?e:[]},{manual:!0,onSuccess:e=>{var t;let n=null===(t=null==e?void 0:e.filter(e=>e.conv_uid===U))||void 0===t?void 0:t[0];(null==n?void 0:n.select_param)&&w(JSON.parse(null==n?void 0:n.select_param))}});(0,g.useEffect)(()=>{p&&f&&T.length&&z({chat_scene:p,app_code:f})},[f,p,z,T]),(0,g.useEffect)(()=>{f&&G()},[f]),(0,g.useEffect)(()=>{if(T.length>0){var e,t,n;let r=null===(e=null==$?void 0:null===(t=$.param_need)||void 0===t?void 0:t.filter(e=>"model"===e.type))||void 0===e?void 0:null===(n=e[0])||void 0===n?void 0:n.value;_(r||T[0])}},[T,$]),(0,g.useEffect)(()=>{var e,t,n;let r=null===(e=null==$?void 0:null===(t=$.param_need)||void 0===t?void 0:t.filter(e=>"temperature"===e.type))||void 0===e?void 0:null===(n=e[0])||void 0===n?void 0:n.value;x(r||.5)},[$]),(0,g.useEffect)(()=>{if(p&&(null==$?void 0:$.app_code)){var e,t,n,r,a,i;let o=null===(e=null==$?void 0:null===(t=$.param_need)||void 0===t?void 0:t.filter(e=>"resource"===e.type))||void 0===e?void 0:null===(n=e[0])||void 0===n?void 0:n.value,s=null===(r=null==$?void 0:null===(a=$.param_need)||void 0===a?void 0:a.filter(e=>"resource"===e.type))||void 0===r?void 0:null===(i=r[0])||void 0===i?void 0:i.bind_value;s&&w(s),["database","knowledge","plugin","awel_flow"].includes(o)&&!s&&W()}},[$,p,W]);let X=async e=>{var t,n,r;N(""),F.current=new AbortController;let a={chat_mode:p,model_name:O,user_input:e||R,conv_uid:U,temperature:k,app_code:null==$?void 0:$.app_code,...C&&{select_param:C}};if(S&&S.length>0){let e=null==S?void 0:S.filter(e=>"view"===e.role);B.current=e[e.length-1].order+1}let i=[{role:"human",context:e||R,model_name:O,order:B.current,time_stamp:0},{role:"view",context:"",model_name:O,order:B.current,time_stamp:0,thinking:!0}],o=i.length-1;A([...S,...i]),M(!1);try{await (0,c.L)("".concat(null!==(t=y.env.API_BASE_URL)&&void 0!==t?t:"","/api/v1/chat/completions"),{method:"POST",headers:{"Content-Type":"application/json",[l.gp]:null!==(n=(0,s.n5)())&&void 0!==n?n:""},signal:F.current.signal,body:JSON.stringify(a),openWhenHidden:!0,async onopen(e){if(e.ok&&e.headers.get("content-type")===c.a)return},onclose(){var e;null===(e=F.current)||void 0===e||e.abort(),M(!0),D(!1)},onerror(e){throw Error(e)},onmessage:e=>{let t=e.data;try{t=JSON.parse(t).vis}catch(e){t.replaceAll("\\n","\n")}"[DONE]"===t?(M(!0),D(!1)):(null==t?void 0:t.startsWith("[ERROR]"))?(i[o].context=null==t?void 0:t.replace("[ERROR]",""),i[o].thinking=!1,A([...S,...i]),M(!0),D(!1)):(D(!0),i[o].context=t,i[o].thinking=!1,A([...S,...i]))}})}catch(e){null===(r=F.current)||void 0===r||r.abort(),i[o].context="Sorry, we meet some error, please try again later.",i[o].thinking=!1,A([...i]),M(!0),D(!1)}};return(0,g.useEffect)(()=>{p&&"chat_agent"!==p&&q()},[p,q]),(0,r.jsx)(v.Provider,{value:{model:O,resource:C,setModel:_,setTemperature:x,setResource:w,temperature:k,appInfo:$,conv_uid:U,scene:p,history:S,scrollViewRef:I,setHistory:A,resourceList:V,order:B,handleChat:X,setCanNewChat:M,ctrl:F,canAbort:L,setCarAbort:D,canNewChat:P,userInput:R,setUserInput:N,getChatHistoryRun:G},children:(0,r.jsx)(d.Z,{size:"large",className:"flex h-screen w-screen justify-center items-center max-h-screen",spinning:H||Z||Y||K,children:(0,r.jsxs)("div",{className:"flex flex-col h-screen bg-gradient-light dark:bg-gradient-dark p-4 pt-0",children:[(0,r.jsxs)("div",{ref:I,className:"flex flex-col flex-1 overflow-y-auto mb-3",children:[(0,r.jsx)(m.default,{}),(0,r.jsx)(E,{})]}),(null==$?void 0:$.app_code)&&(0,r.jsx)(b.default,{})]})})})}},59178:function(){},5152:function(e,t,n){e.exports=n(50948)},89435:function(e){"use strict";var t;e.exports=function(e){var n,r="&"+e+";";return(t=t||document.createElement("i")).innerHTML=r,(59!==(n=t.textContent).charCodeAt(n.length-1)||"semi"===e)&&n!==r&&n}},57574:function(e,t,n){"use strict";var r=n(21922),a=n(93580),i=n(46195),o=n(79480),s=n(7961),l=n(89435);e.exports=function(e,t){var n,i,o={};for(i in t||(t={}),p)n=t[i],o[i]=null==n?p[i]:n;return(o.position.indent||o.position.start)&&(o.indent=o.position.indent||[],o.position=o.position.start),function(e,t){var n,i,o,p,E,v,T,S,A,O,_,k,x,C,w,I,R,N,L,D,P,M=t.additional,F=t.nonTerminated,B=t.text,j=t.reference,U=t.warning,G=t.textContext,H=t.referenceContext,$=t.warningContext,z=t.position,Z=t.indent||[],W=e.length,V=0,Y=-1,q=z.column||1,K=z.line||1,X="",Q=[];for("string"==typeof M&&(M=M.charCodeAt(0)),N=J(),O=U?function(e,t){var n=J();n.column+=t,n.offset+=t,U.call($,y[e],n,e)}:d,V--,W++;++V=55296&&n<=57343||n>1114111?(O(7,D),S=u(65533)):S in a?(O(6,D),S=a[S]):(k="",((i=S)>=1&&i<=8||11===i||i>=13&&i<=31||i>=127&&i<=159||i>=64976&&i<=65007||(65535&i)==65535||(65535&i)==65534)&&O(6,D),S>65535&&(S-=65536,k+=u(S>>>10|55296),S=56320|1023&S),S=k+u(S))):I!==f&&O(4,D)),S?(ee(),N=J(),V=P-1,q+=P-w+1,Q.push(S),L=J(),L.offset++,j&&j.call(H,S,{start:N,end:L},e.slice(w-1,P)),N=L):(X+=v=e.slice(w-1,P),q+=v.length,V=P-1)}else 10===T&&(K++,Y++,q=0),T==T?(X+=u(T),q++):ee();return Q.join("");function J(){return{line:K,column:q,offset:V+(z.offset||0)}}function ee(){X&&(Q.push(X),B&&B.call(G,X,{start:N,end:J()}),X="")}}(e,o)};var c={}.hasOwnProperty,u=String.fromCharCode,d=Function.prototype,p={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},f="named",h="hexadecimal",g="decimal",m={};m[h]=16,m[g]=10;var b={};b[f]=s,b[g]=i,b[h]=o;var y={};y[1]="Named character references must be terminated by a semicolon",y[2]="Numeric character references must be terminated by a semicolon",y[3]="Named character references cannot be empty",y[4]="Numeric character references cannot be empty",y[5]="Named character references must be known",y[6]="Numeric character references cannot be disallowed",y[7]="Numeric character references cannot be outside the permissible Unicode range"},11215:function(e,t,n){"use strict";var r,a,i="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof n.g?n.g:{},o=(a=(r="Prism"in i)?i.Prism:void 0,function(){r?i.Prism=a:delete i.Prism,r=void 0,a=void 0});i.Prism={manual:!0,disableWorkerMessageHandler:!0};var s=n(31742),l=n(57574),c=n(59216),u=n(2717),d=n(12049),p=n(29726),f=n(36155);o();var h={}.hasOwnProperty;function g(){}g.prototype=c;var m=new g;function b(e){if("function"!=typeof e||!e.displayName)throw Error("Expected `function` for `grammar`, got `"+e+"`");void 0===m.languages[e.displayName]&&e(m)}e.exports=m,m.highlight=function(e,t){var n,r=c.highlight;if("string"!=typeof e)throw Error("Expected `string` for `value`, got `"+e+"`");if("Object"===m.util.type(t))n=t,t=null;else{if("string"!=typeof t)throw Error("Expected `string` for `name`, got `"+t+"`");if(h.call(m.languages,t))n=m.languages[t];else throw Error("Unknown language: `"+t+"` is not registered")}return r.call(this,e,n,t)},m.register=b,m.alias=function(e,t){var n,r,a,i,o=m.languages,s=e;for(n in t&&((s={})[e]=t),s)for(a=(r="string"==typeof(r=s[n])?[r]:r).length,i=-1;++i]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}e.exports=t,t.displayName="abap",t.aliases=[]},68313:function(e){"use strict";function t(e){var t;t="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)",e.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+t+"|<"+t+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}}e.exports=t,t.displayName="abnf",t.aliases=[]},21207:function(e){"use strict";function t(e){e.languages.actionscript=e.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),e.languages.actionscript["class-name"].alias="function",delete e.languages.actionscript.parameter,delete e.languages.actionscript["literal-property"],e.languages.markup&&e.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:e.languages.markup}})}e.exports=t,t.displayName="actionscript",t.aliases=[]},89693:function(e){"use strict";function t(e){e.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}e.exports=t,t.displayName="ada",t.aliases=[]},24001:function(e){"use strict";function t(e){e.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}}e.exports=t,t.displayName="agda",t.aliases=[]},18018:function(e){"use strict";function t(e){e.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}e.exports=t,t.displayName="al",t.aliases=[]},36363:function(e){"use strict";function t(e){e.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},e.languages.g4=e.languages.antlr4}e.exports=t,t.displayName="antlr4",t.aliases=["g4"]},35281:function(e){"use strict";function t(e){e.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}e.exports=t,t.displayName="apacheconf",t.aliases=[]},10433:function(e,t,n){"use strict";var r=n(11114);function a(e){e.register(r),function(e){var t=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,n=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(//g,function(){return t.source});function r(e){return RegExp(e.replace(//g,function(){return n}),"i")}var a={keyword:t,punctuation:/[()\[\]{};,:.<>]/};e.languages.apex={comment:e.languages.clike.comment,string:e.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:e.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:r(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:a},{pattern:r(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:a},{pattern:r(/(?=\s*\w+\s*[;=,(){:])/.source),inside:a}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:t,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(e)}e.exports=a,a.displayName="apex",a.aliases=[]},84039:function(e){"use strict";function t(e){e.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}e.exports=t,t.displayName="apl",t.aliases=[]},71336:function(e){"use strict";function t(e){e.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}e.exports=t,t.displayName="applescript",t.aliases=[]},4481:function(e){"use strict";function t(e){e.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}e.exports=t,t.displayName="aql",t.aliases=[]},2159:function(e,t,n){"use strict";var r=n(80096);function a(e){e.register(r),e.languages.arduino=e.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),e.languages.ino=e.languages.arduino}e.exports=a,a.displayName="arduino",a.aliases=["ino"]},60274:function(e){"use strict";function t(e){e.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}e.exports=t,t.displayName="arff",t.aliases=[]},18738:function(e){"use strict";function t(e){!function(e){var t={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},n=e.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:t,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:t.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:t,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function r(e){e=e.split(" ");for(var t={},r=0,a=e.length;r>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}e.exports=t,t.displayName="asmatmel",t.aliases=[]},78734:function(e,t,n){"use strict";var r=n(61958);function a(e){e.register(r),e.languages.aspnet=e.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:e.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:e.languages.csharp}}}),e.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,e.languages.insertBefore("inside","punctuation",{directive:e.languages.aspnet.directive},e.languages.aspnet.tag.inside["attr-value"]),e.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),e.languages.insertBefore("aspnet",e.languages.javascript?"script":"tag",{"asp-script":{pattern:/(]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:e.languages.csharp||{}}})}e.exports=a,a.displayName="aspnet",a.aliases=[]},6681:function(e){"use strict";function t(e){e.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}e.exports=t,t.displayName="autohotkey",t.aliases=[]},53358:function(e){"use strict";function t(e){e.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}e.exports=t,t.displayName="autoit",t.aliases=[]},81700:function(e){"use strict";function t(e){!function(e){function t(e,t,n){return RegExp(e.replace(/<<(\d+)>>/g,function(e,n){return t[+n]}),n||"")}var n=/bool|clip|float|int|string|val/.source,r=[[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|")].join("|");e.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:t(/\b(?:<<0>>)\s+("?)\w+\1/.source,[n],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:t(/\b(?:<<0>>)\b/.source,[r],"i"),alias:"function"},"type-cast":{pattern:t(/\b(?:<<0>>)(?=\s*\()/.source,[n],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},e.languages.avs=e.languages.avisynth}(e)}e.exports=t,t.displayName="avisynth",t.aliases=["avs"]},37219:function(e){"use strict";function t(e){e.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},e.languages.avdl=e.languages["avro-idl"]}e.exports=t,t.displayName="avroIdl",t.aliases=[]},6979:function(e){"use strict";function t(e){!function(e){var t="\\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",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),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("(\\{)"+t),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})/};e.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;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.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}},n.inside=e.languages.bash;for(var a=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],i=r.variable[1].inside,o=0;o?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}e.exports=t,t.displayName="basic",t.aliases=[]},94781:function(e){"use strict";function t(e){var t,n,r,a;t=/%%?[~:\w]+%?|!\S+!/,n={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},r=/"(?:[\\"]"|[^"])*"(?!")/,a=/(?:\b|-)\d+\b/,e.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:r,parameter:n,variable:t,number:a,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:r,parameter:n,variable:t,number:a,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:r,parameter:n,variable:[t,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:a,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:r,parameter:n,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:t,number:a,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}}e.exports=t,t.displayName="batch",t.aliases=[]},62260:function(e){"use strict";function t(e){e.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},e.languages.shortcode=e.languages.bbcode}e.exports=t,t.displayName="bbcode",t.aliases=["shortcode"]},36153:function(e){"use strict";function t(e){e.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},e.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=e.languages.bicep}e.exports=t,t.displayName="bicep",t.aliases=[]},59258:function(e){"use strict";function t(e){e.languages.birb=e.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),e.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}e.exports=t,t.displayName="birb",t.aliases=[]},62890:function(e,t,n){"use strict";var r=n(65806);function a(e){e.register(r),e.languages.bison=e.languages.extend("c",{}),e.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:e.languages.c}},comment:e.languages.c.comment,string:e.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}e.exports=a,a.displayName="bison",a.aliases=[]},15958:function(e){"use strict";function t(e){e.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},e.languages.rbnf=e.languages.bnf}e.exports=t,t.displayName="bnf",t.aliases=["rbnf"]},61321:function(e){"use strict";function t(e){e.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}e.exports=t,t.displayName="brainfuck",t.aliases=[]},77856:function(e){"use strict";function t(e){e.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},e.languages.brightscript["directive-statement"].inside.expression.inside=e.languages.brightscript}e.exports=t,t.displayName="brightscript",t.aliases=[]},90741:function(e){"use strict";function t(e){e.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="bro",t.aliases=[]},83410:function(e){"use strict";function t(e){e.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},e.languages.oscript=e.languages.bsl}e.exports=t,t.displayName="bsl",t.aliases=[]},65806:function(e){"use strict";function t(e){e.languages.c=e.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),e.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),e.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},e.languages.c.string],char:e.languages.c.char,comment:e.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:e.languages.c}}}}),e.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete e.languages.c.boolean}e.exports=t,t.displayName="c",t.aliases=[]},33039:function(e){"use strict";function t(e){e.languages.cfscript=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),e.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete e.languages.cfscript["class-name"],e.languages.cfc=e.languages.cfscript}e.exports=t,t.displayName="cfscript",t.aliases=[]},85082:function(e,t,n){"use strict";var r=n(80096);function a(e){e.register(r),e.languages.chaiscript=e.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[e.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),e.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),e.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}e.exports=a,a.displayName="chaiscript",a.aliases=[]},79415:function(e){"use strict";function t(e){e.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}e.exports=t,t.displayName="cil",t.aliases=[]},29726:function(e){"use strict";function t(e){e.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="clike",t.aliases=[]},62849:function(e){"use strict";function t(e){e.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}e.exports=t,t.displayName="clojure",t.aliases=[]},55773:function(e){"use strict";function t(e){e.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}e.exports=t,t.displayName="cmake",t.aliases=[]},32762:function(e){"use strict";function t(e){e.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}e.exports=t,t.displayName="cobol",t.aliases=[]},43576:function(e){"use strict";function t(e){var t,n;t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"},e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}e.exports=t,t.displayName="coffeescript",t.aliases=["coffee"]},71794:function(e){"use strict";function t(e){e.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},e.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:e.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:e.languages.concurnas},string:/[\s\S]+/}}}),e.languages.conc=e.languages.concurnas}e.exports=t,t.displayName="concurnas",t.aliases=["conc"]},1315:function(e){"use strict";function t(e){!function(e){for(var t=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|)*\*\)/.source,n=0;n<2;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,"[]"),e.languages.coq={comment:RegExp(t),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|)*\]/.source.replace(//g,function(){return t})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(t),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}}(e)}e.exports=t,t.displayName="coq",t.aliases=[]},80096:function(e,t,n){"use strict";var r=n(65806);function a(e){var t,n;e.register(r),t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return t.source}),e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return t.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return n})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}e.exports=a,a.displayName="cpp",a.aliases=[]},99176:function(e,t,n){"use strict";var r=n(56939);function a(e){e.register(r),e.languages.crystal=e.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,e.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),e.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:e.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:e.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}e.exports=a,a.displayName="crystal",a.aliases=[]},61958:function(e){"use strict";function t(e){!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,function(e,n){return"(?:"+t[+n]+")"})}function n(e,n,r){return RegExp(t(e,n),r||"")}function r(e,t){for(var n=0;n>/g,function(){return"(?:"+e+")"});return e.replace(/<>/g,"[^\\s\\S]")}var a={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function i(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var o=i(a.typeDeclaration),s=RegExp(i(a.type+" "+a.typeDeclaration+" "+a.contextual+" "+a.other)),l=i(a.typeDeclaration+" "+a.contextual+" "+a.other),c=i(a.type+" "+a.typeDeclaration+" "+a.other),u=r(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),d=r(/\((?:[^()]|<>)*\)/.source,2),p=/@?\b[A-Za-z_]\w*\b/.source,f=t(/<<0>>(?:\s*<<1>>)?/.source,[p,u]),h=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[l,f]),g=/\[\s*(?:,\s*)*\]/.source,m=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[h,g]),b=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[u,d,g]),y=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[b]),E=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[y,h,g]),v={keyword:s,punctuation:/[<>()?,.:[\]]/},T=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,S=/"(?:\\.|[^\\"\r\n])*"/.source,A=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[A]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[S]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[h]),lookbehind:!0,inside:v},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[p,E]),lookbehind:!0,inside:v},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[p]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[o,f]),lookbehind:!0,inside:v},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[h]),lookbehind:!0,inside:v},{pattern:n(/(\bwhere\s+)<<0>>/.source,[p]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[m]),lookbehind:!0,inside:v},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[E,c,p]),inside:v}],keyword:s,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[p]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[p]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[d]),lookbehind:!0,alias:"class-name",inside:v},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[E,h]),inside:v,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[E]),lookbehind:!0,inside:v,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[p,u]),inside:{function:n(/^<<0>>/.source,[p]),generic:{pattern:RegExp(u),alias:"class-name",inside:v}}},"type-list":{pattern:n(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[o,f,p,E,s.source,d,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[f,d]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:s,"class-name":{pattern:RegExp(E),greedy:!0,inside:v},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var O=S+"|"+T,_=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[O]),k=r(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[_]),2),x=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,C=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[h,k]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[x,C]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[x]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[k]),inside:e.languages.csharp},"class-name":{pattern:RegExp(h),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var w=/:[^}\r\n]+/.source,I=r(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[_]),2),R=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[I,w]),N=r(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[O]),2),L=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[N,w]);function D(t,r){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[r,w]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[R]),lookbehind:!0,greedy:!0,inside:D(R,I)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[L]),lookbehind:!0,greedy:!0,inside:D(L,N)}],char:{pattern:RegExp(T),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.languages.csharp}(e)}e.exports=t,t.displayName="csharp",t.aliases=["dotnet","cs"]},90312:function(e,t,n){"use strict";var r=n(61958);function a(e){e.register(r),function(e){var t=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,n=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function r(e,r){for(var a=0;a/g,function(){return"(?:"+e+")"});return e.replace(//g,"[^\\s\\S]").replace(//g,"(?:"+n+")").replace(//g,"(?:"+t+")")}var a=r(/\((?:[^()'"@/]|||)*\)/.source,2),i=r(/\[(?:[^\[\]'"@/]|||)*\]/.source,2),o=r(/\{(?:[^{}'"@/]|||)*\}/.source,2),s=r(/<(?:[^<>'"@/]|||)*>/.source,2),l=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,c=/(?!\d)[^\s>\/=$<%]+/.source+l+/\s*\/?>/.source,u=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+l+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source)+c+"|"+r(/<\1/.source+l+/\s*>/.source+"(?:"+(/[^<]/.source+"|")+/<\/?(?!\1\b)/.source+c+"|)*"+/<\/\1\s*>/.source,2)+")*"+/<\/\1\s*>/.source+"|"+/|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var r={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},a={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:a,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,number:a})}(e)}e.exports=t,t.displayName="cssExtras",t.aliases=[]},12049:function(e){"use strict";function t(e){var t,n;t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,e.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\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,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:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css,(n=e.languages.markup)&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}e.exports=t,t.displayName="css",t.aliases=[]},78090:function(e){"use strict";function t(e){e.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}e.exports=t,t.displayName="csv",t.aliases=[]},40315:function(e){"use strict";function t(e){e.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}e.exports=t,t.displayName="cypher",t.aliases=[]},7902:function(e){"use strict";function t(e){e.languages.d=e.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),e.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),e.languages.insertBefore("d","keyword",{property:/\B@\w*/}),e.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}e.exports=t,t.displayName="d",t.aliases=[]},28651:function(e){"use strict";function t(e){var t,n,r;t=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],r={pattern:RegExp((n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source)+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}},e.languages.dart=e.languages.extend("clike",{"class-name":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.inside}],keyword:t,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),e.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.dart}}},string:/[\s\S]+/}},string:void 0}),e.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),e.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})}e.exports=t,t.displayName="dart",t.aliases=[]},55579:function(e){"use strict";function t(e){e.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}}e.exports=t,t.displayName="dataweave",t.aliases=[]},93685:function(e){"use strict";function t(e){e.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}e.exports=t,t.displayName="dax",t.aliases=[]},13934:function(e){"use strict";function t(e){e.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},e.languages.dhall.string.inside.interpolation.inside.expression.inside=e.languages.dhall}e.exports=t,t.displayName="dhall",t.aliases=[]},93336:function(e){"use strict";function t(e){var t;e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]},Object.keys(t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"}).forEach(function(n){var r=t[n],a=[];/^\w+$/.test(n)||a.push(/\w+/.exec(n)[0]),"diff"===n&&a.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:a,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}}),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}e.exports=t,t.displayName="diff",t.aliases=[]},13294:function(e,t,n){"use strict";var r=n(93205);function a(e){var t,n;e.register(r),e.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/},t=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,n=e.languages["markup-templating"],e.hooks.add("before-tokenize",function(e){n.buildPlaceholders(e,"django",t)}),e.hooks.add("after-tokenize",function(e){n.tokenizePlaceholders(e,"django")}),e.languages.jinja2=e.languages.django,e.hooks.add("before-tokenize",function(e){n.buildPlaceholders(e,"jinja2",t)}),e.hooks.add("after-tokenize",function(e){n.tokenizePlaceholders(e,"jinja2")})}e.exports=a,a.displayName="django",a.aliases=["jinja2"]},38223:function(e){"use strict";function t(e){e.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},e.languages["dns-zone"]=e.languages["dns-zone-file"]}e.exports=t,t.displayName="dnsZoneFile",t.aliases=[]},97266:function(e){"use strict";function t(e){!function(e){var t=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,n=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,function(){return t}),r=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,a=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,function(){return r}),i={pattern:RegExp(r),greedy:!0},o={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function s(e,t){return RegExp(e=e.replace(//g,function(){return a}).replace(//g,function(){return n}),t)}e.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:s(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[i,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:s(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:o,string:i,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:o},e.languages.dockerfile=e.languages.docker}(e)}e.exports=t,t.displayName="docker",t.aliases=["dockerfile"]},77125:function(e){"use strict";function t(e){!function(e){var t="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!)*>/.source].join("|")+")",n={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:e.languages.markup}};function r(e,n){return RegExp(e.replace(//g,function(){return t}),n)}e.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:r(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:n},"attr-value":{pattern:r(/(=[ \t\r\n]*)/.source),lookbehind:!0,greedy:!0,inside:n},"attr-name":{pattern:r(/([\[;, \t\r\n])(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:n},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:r(/(^|[^-.\w\x80-\uFFFF\\])/.source),lookbehind:!0,greedy:!0,inside:n},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},e.languages.gv=e.languages.dot}(e)}e.exports=t,t.displayName="dot",t.aliases=["gv"]},36500:function(e){"use strict";function t(e){e.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}e.exports=t,t.displayName="ebnf",t.aliases=[]},30296:function(e){"use strict";function t(e){e.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}e.exports=t,t.displayName="editorconfig",t.aliases=[]},50115:function(e){"use strict";function t(e){e.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}e.exports=t,t.displayName="eiffel",t.aliases=[]},20791:function(e,t,n){"use strict";var r=n(93205);function a(e){e.register(r),e.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:e.languages.javascript}},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"ejs",/<%(?!%)[\s\S]+?%>/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"ejs")}),e.languages.eta=e.languages.ejs}e.exports=a,a.displayName="ejs",a.aliases=["eta"]},11974:function(e){"use strict";function t(e){e.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},e.languages.elixir.string.forEach(function(t){t.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:e.languages.elixir}}}})}e.exports=t,t.displayName="elixir",t.aliases=[]},8645:function(e){"use strict";function t(e){e.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}e.exports=t,t.displayName="elm",t.aliases=[]},84790:function(e,t,n){"use strict";var r=n(56939),a=n(93205);function i(e){e.register(r),e.register(a),e.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:e.languages.ruby}},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"erb",/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"erb")})}e.exports=i,i.displayName="erb",i.aliases=[]},4502:function(e){"use strict";function t(e){e.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}e.exports=t,t.displayName="erlang",t.aliases=[]},66055:function(e,t,n){"use strict";var r=n(59803),a=n(93205);function i(e){e.register(r),e.register(a),e.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:e.languages.lua}},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"etlua",/<%[\s\S]+?%>/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"etlua")})}e.exports=i,i.displayName="etlua",i.aliases=[]},34668:function(e){"use strict";function t(e){e.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"keyword"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"property",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"property"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},e.languages.xlsx=e.languages.xls=e.languages["excel-formula"]}e.exports=t,t.displayName="excelFormula",t.aliases=[]},95126:function(e){"use strict";function t(e){var t,n,r,a,i,o;r={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:t={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/}},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:t},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:t}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:(n={number:/\\[^\s']|%\w/}).number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:n},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:n}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:n}},a=function(e){return(e+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},i=function(e){return RegExp("(^|\\s)(?:"+e.map(a).join("|")+")(?=\\s|$)")},Object.keys(o={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated",">>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]}).forEach(function(e){r[e].pattern=i(o[e])}),r.combinators.pattern=i(["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","inputsequence"]),e.languages.factor=r}e.exports=t,t.displayName="factor",t.aliases=[]},90618:function(e){"use strict";function t(e){e.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete e.languages["firestore-security-rules"]["class-name"],e.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}e.exports=t,t.displayName="firestoreSecurityRules",t.aliases=[]},37225:function(e){"use strict";function t(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),e.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}e.exports=t,t.displayName="flow",t.aliases=[]},16725:function(e){"use strict";function t(e){e.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}e.exports=t,t.displayName="fortran",t.aliases=[]},95559:function(e){"use strict";function t(e){e.languages.fsharp=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),e.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),e.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),e.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:e.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}e.exports=t,t.displayName="fsharp",t.aliases=[]},82114:function(e,t,n){"use strict";var r=n(93205);function a(e){e.register(r),function(e){for(var t=/[^<()"']|\((?:)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,n=0;n<2;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,/[^\s\S]/.source);var r={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:))*\})*\1/.source.replace(//g,function(){return t})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:))*\}/.source.replace(//g,function(){return t})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};r.string[1].inside.interpolation.inside.rest=r,e.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:r}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:r}}}},e.hooks.add("before-tokenize",function(n){var r=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:)*?>|\$\{(?:)*?\}/.source.replace(//g,function(){return t}),"gi");e.languages["markup-templating"].buildPlaceholders(n,"ftl",r)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"ftl")})}(e)}e.exports=a,a.displayName="ftl",a.aliases=[]},6806:function(e){"use strict";function t(e){e.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},e.languages.gap.shell.inside.gap.inside=e.languages.gap}e.exports=t,t.displayName="gap",t.aliases=[]},12208:function(e){"use strict";function t(e){e.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}e.exports=t,t.displayName="gcode",t.aliases=[]},62728:function(e){"use strict";function t(e){e.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}e.exports=t,t.displayName="gdscript",t.aliases=[]},81549:function(e){"use strict";function t(e){e.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}e.exports=t,t.displayName="gedcom",t.aliases=[]},6024:function(e){"use strict";function t(e){var t;t=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source,e.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+t+")(?:"+t+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(t),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}}e.exports=t,t.displayName="gherkin",t.aliases=[]},13600:function(e){"use strict";function t(e){e.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}e.exports=t,t.displayName="git",t.aliases=[]},3322:function(e,t,n){"use strict";var r=n(65806);function a(e){e.register(r),e.languages.glsl=e.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}e.exports=a,a.displayName="glsl",a.aliases=[]},53877:function(e){"use strict";function t(e){e.languages.gamemakerlanguage=e.languages.gml=e.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}e.exports=t,t.displayName="gml",t.aliases=[]},60794:function(e){"use strict";function t(e){e.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},e.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=e.languages.gn,e.languages.gni=e.languages.gn}e.exports=t,t.displayName="gn",t.aliases=["gni"]},20222:function(e){"use strict";function t(e){e.languages["go-mod"]=e.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}e.exports=t,t.displayName="goModule",t.aliases=[]},51519:function(e){"use strict";function t(e){e.languages.go=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),e.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete e.languages.go["class-name"]}e.exports=t,t.displayName="go",t.aliases=[]},94055:function(e){"use strict";function t(e){e.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:e.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+/},e.hooks.add("after-tokenize",function(e){if("graphql"===e.language)for(var t=e.tokens.filter(function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type}),n=0;n0)){var s=d(/^\{$/,/^\}$/);if(-1===s)continue;for(var l=n;l=0&&p(c,"variable-input")}}}}function u(e,r){r=r||0;for(var a=0;a]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),e.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),e.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),e.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),e.hooks.add("wrap",function(t){if("groovy"===t.language&&"string"===t.type){var n=t.content.value[0];if("'"!=n){var r=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;"$"===n&&(r=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),t.content.value=t.content.value.replace(/</g,"<").replace(/&/g,"&"),t.content=e.highlight(t.content.value,{expression:{pattern:r,lookbehind:!0,inside:e.languages.groovy}}),t.classes.push("/"===n?"regex":"gstring")}}})}e.exports=t,t.displayName="groovy",t.aliases=[]},29536:function(e,t,n){"use strict";var r=n(56939);function a(e){e.register(r),function(e){e.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:e.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:e.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:e.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:e.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:e.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:e.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:e.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var t=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],n={},r=0,a=t.length;r@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"handlebars",/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")}),e.languages.hbs=e.languages.handlebars}e.exports=a,a.displayName="handlebars",a.aliases=["hbs"]},58090:function(e){"use strict";function t(e){e.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},e.languages.hs=e.languages.haskell}e.exports=t,t.displayName="haskell",t.aliases=["hs"]},95121:function(e){"use strict";function t(e){e.languages.haxe=e.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<{1,3}|[-+*/%!=&|^])=?|[?:~]/}),e.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.haxe}}},string:/[\s\S]+/}}}),e.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),e.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}e.exports=t,t.displayName="haxe",t.aliases=[]},59904:function(e){"use strict";function t(e){e.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}e.exports=t,t.displayName="hcl",t.aliases=[]},9436:function(e,t,n){"use strict";var r=n(65806);function a(e){e.register(r),e.languages.hlsl=e.languages.extend("c",{"class-name":[e.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}e.exports=a,a.displayName="hlsl",a.aliases=[]},60591:function(e){"use strict";function t(e){e.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}e.exports=t,t.displayName="hoon",t.aliases=[]},76942:function(e){"use strict";function t(e){e.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}e.exports=t,t.displayName="hpkp",t.aliases=[]},60561:function(e){"use strict";function t(e){e.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}e.exports=t,t.displayName="hsts",t.aliases=[]},49660:function(e){"use strict";function t(e){!function(e){function t(e){return RegExp("(^(?:"+e+"):[ ]*(?![ ]))[^]+","i")}e.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:e.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:t(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:e.languages.csp},{pattern:t(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:e.languages.hpkp},{pattern:t(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:e.languages.hsts},{pattern:t(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var n,r=e.languages,a={"application/javascript":r.javascript,"application/json":r.json||r.javascript,"application/xml":r.xml,"text/xml":r.xml,"text/html":r.html,"text/css":r.css,"text/plain":r.plain},i={"application/json":!0,"application/xml":!0};for(var o in a)if(a[o]){n=n||{};var s=i[o]?function(e){var t=e.replace(/^[a-z]+\//,"");return"(?:"+e+"|\\w+/(?:[\\w.-]+\\+)+"+t+"(?![+\\w.-]))"}(o):o;n[o.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+s+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:a[o]}}n&&e.languages.insertBefore("http","header",n)}(e)}e.exports=t,t.displayName="http",t.aliases=[]},30615:function(e){"use strict";function t(e){e.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}e.exports=t,t.displayName="ichigojam",t.aliases=[]},93865:function(e){"use strict";function t(e){e.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}e.exports=t,t.displayName="icon",t.aliases=[]},51078:function(e){"use strict";function t(e){!function(e){function t(e,n){return n<=0?/[]/.source:e.replace(//g,function(){return t(e,n-1)})}var n=/'[{}:=,](?:[^']|'')*'(?!')/,r={pattern:/''/,greedy:!0,alias:"operator"},a=t(/\{(?:[^{}']|'(?![{},'])|''||)*\}/.source.replace(//g,function(){return n.source}),8),i={pattern:RegExp(a),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};e.languages["icu-message-format"]={argument:{pattern:RegExp(a),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":i,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":i,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+t(/(?:[^{}']|'[^']*'|\{(?:)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:r,string:{pattern:n,greedy:!0,inside:{escape:r}}},i.inside.message.inside=e.languages["icu-message-format"],e.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=e.languages["icu-message-format"]}(e)}e.exports=t,t.displayName="icuMessageFormat",t.aliases=[]},91178:function(e,t,n){"use strict";var r=n(58090);function a(e){e.register(r),e.languages.idris=e.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),e.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.idr=e.languages.idris}e.exports=a,a.displayName="idris",a.aliases=["idr"]},40011:function(e){"use strict";function t(e){e.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}e.exports=t,t.displayName="iecst",t.aliases=[]},12017:function(e){"use strict";function t(e){e.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},e.languages.gitignore=e.languages.ignore,e.languages.hgignore=e.languages.ignore,e.languages.npmignore=e.languages.ignore}e.exports=t,t.displayName="ignore",t.aliases=["gitignore","hgignore","npmignore"]},65175:function(e){"use strict";function t(e){e.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},e.languages.inform7.string.inside.substitution.inside.rest=e.languages.inform7,e.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}e.exports=t,t.displayName="inform7",t.aliases=[]},14970:function(e){"use strict";function t(e){e.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}e.exports=t,t.displayName="ini",t.aliases=[]},13068:function(e){"use strict";function t(e){e.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}e.exports=t,t.displayName="j",t.aliases=[]},15909:function(e){"use strict";function t(e){var t,n,r;t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,r={pattern:RegExp((n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source)+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}},e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,function(){return t.source})),lookbehind:!0,inside:{punctuation:/\./}}})}e.exports=t,t.displayName="java",t.aliases=[]},36553:function(e,t,n){"use strict";var r=n(15909),a=n(9858);function i(e){var t,n,i;e.register(r),e.register(a),t=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,n=/#\s*\w+(?:\s*\([^()]*\))?/.source,i=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*)?|/.source.replace(//g,function(){return n}),e.languages.javadoc=e.languages.extend("javadoclike",{}),e.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+i+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:e.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:t,lookbehind:!0,inside:e.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:t,lookbehind:!0,inside:{tag:e.languages.markup.tag,entity:e.languages.markup.entity,code:{pattern:/.+/,inside:e.languages.java,alias:"language-java"}}}}}],tag:e.languages.markup.tag,entity:e.languages.markup.entity}),e.languages.javadoclike.addSupport("java",e.languages.javadoc)}e.exports=i,i.displayName="javadoc",i.aliases=[]},9858:function(e){"use strict";function t(e){var t;Object.defineProperty(t=e.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/},"addSupport",{value:function(t,n){"string"==typeof t&&(t=[t]),t.forEach(function(t){!function(t,n){var r="doc-comment",a=e.languages[t];if(a){var i=a[r];if(!i){var o={};o[r]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},i=(a=e.languages.insertBefore(t,"comment",o))[r]}if(i instanceof RegExp&&(i=a[r]={pattern:i}),Array.isArray(i))for(var s=0,l=i.length;s|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:e.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),e.languages.js=e.languages.javascript}e.exports=t,t.displayName="javascript",t.aliases=["js"]},11223:function(e){"use strict";function t(e){e.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:|[\w$]+)\()/,function:/(?:|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}e.exports=t,t.displayName="javastacktrace",t.aliases=[]},57957:function(e){"use strict";function t(e){e.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}e.exports=t,t.displayName="jexl",t.aliases=[]},66604:function(e){"use strict";function t(e){e.languages.jolie=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),e.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}e.exports=t,t.displayName="jolie",t.aliases=[]},77935:function(e){"use strict";function t(e){var t,n,r,a;t=/\\\((?:[^()]|\([^()]*\))*\)/.source,n=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return t})),r={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+t),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},a=e.languages.jq={comment:/#.*/,property:{pattern:RegExp(n.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:r},string:{pattern:n,lookbehind:!0,greedy:!0,inside:r},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}},r.interpolation.inside.content.inside=a}e.exports=t,t.displayName="jq",t.aliases=[]},46155:function(e){"use strict";function t(e){!function(e){function t(e,t){return RegExp(e.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r=p.length)return;var o=n[i];if("string"==typeof o||"string"==typeof o.content){var l=p[c],d="string"==typeof o?o:o.content,f=d.indexOf(l);if(-1!==f){++c;var h=d.substring(0,f),g=function(t){var n={};n["interpolation-punctuation"]=a;var i=e.tokenize(t,n);if(3===i.length){var o=[1,1];o.push.apply(o,s(i[1],e.languages.javascript,"javascript")),i.splice.apply(i,o)}return new e.Token("interpolation",i,r.alias,t)}(u[l]),m=d.substring(f+l.length),b=[];if(h&&b.push(h),b.push(g),m){var y=[m];t(y),b.push.apply(b,y)}"string"==typeof o?(n.splice.apply(n,[i,1].concat(b)),i+=b.length-1):o.content=b}}else{var E=o.content;Array.isArray(E)?t(E):t([E])}}}(d),new e.Token(o,d,"language-"+o,t)}(p,g,h)}}else t(u)}}}(t.tokens)})}(e)}e.exports=t,t.displayName="jsTemplates",t.aliases=[]},25319:function(e,t,n){"use strict";var r=n(9858),a=n(4979);function i(e){var t,n,i;e.register(r),e.register(a),t=e.languages.javascript,i="(@(?:arg|argument|param|property)\\s+(?:"+(n=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source)+"\\s+)?)",e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(i+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(i+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:t,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,function(){return n})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{string:t.string,number:t.number,boolean:t.boolean,keyword:e.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}e.exports=i,i.displayName="jsdoc",i.aliases=[]},45950:function(e){"use strict";function t(e){e.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"}},e.languages.webmanifest=e.languages.json}e.exports=t,t.displayName="json",t.aliases=["webmanifest"]},50235:function(e,t,n){"use strict";var r=n(45950);function a(e){var t;e.register(r),t=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/,e.languages.json5=e.languages.extend("json",{property:[{pattern:RegExp(t.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:t,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}e.exports=a,a.displayName="json5",a.aliases=[]},80963:function(e,t,n){"use strict";var r=n(45950);function a(e){e.register(r),e.languages.jsonp=e.languages.extend("json",{punctuation:/[{}[\]();,.]/}),e.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}e.exports=a,a.displayName="jsonp",a.aliases=[]},79358:function(e){"use strict";function t(e){e.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js||.*(?:node_modules|\(\)|\(|$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}e.exports=t,t.displayName="jsstacktrace",t.aliases=[]},96412:function(e){"use strict";function t(e){!function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,a=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function i(e,t){return RegExp(e=e.replace(//g,function(){return n}).replace(//g,function(){return r}).replace(//g,function(){return a}),t)}a=i(a).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=i(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:i(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var o=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(o).join(""):""},s=function(t){for(var n=[],r=0;r0&&n[n.length-1].tagName===o(a.content[0].content[1])&&n.pop():"/>"===a.content[a.content.length-1].content||n.push({tagName:o(a.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===a.type&&"{"===a.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===a.type&&"}"===a.content?n[n.length-1].openedBraces--:i=!0),(i||"string"==typeof a)&&n.length>0&&0===n[n.length-1].openedBraces){var l=o(a);r0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(l=o(t[r-1])+l,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",l,null,l)}a.content&&"string"!=typeof a.content&&s(a.content)}};e.hooks.add("after-tokenize",function(e){("jsx"===e.language||"tsx"===e.language)&&s(e.tokens)})}(e)}e.exports=t,t.displayName="jsx",t.aliases=[]},39259:function(e){"use strict";function t(e){e.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}e.exports=t,t.displayName="julia",t.aliases=[]},51466:function(e){"use strict";function t(e){e.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}|(?:[\da-f]{1,4}:){0,5}:|::(?:[\da-f]{1,4}:){0,5}|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|(?:\/\d{1,2})?)\b/.source.replace(//g,function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source}),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}e.exports=t,t.displayName="keepalived",t.aliases=[]},35760:function(e){"use strict";function t(e){e.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|nomatch|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}e.exports=t,t.displayName="keyman",t.aliases=[]},19715:function(e){"use strict";function t(e){var t;e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"],t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}},e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}e.exports=t,t.displayName="kotlin",t.aliases=["kt","kts"]},27614:function(e){"use strict";function t(e){!function(e){var t=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function n(e,n){return RegExp(e.replace(//g,t),n)}e.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:n(/(^|[])(?:да|нет)(?=[]|$)/.source),lookbehind:!0},"operator-word":{pattern:n(/(^|[])(?:и|или|не)(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:n(/(^|[])знач(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:n(/(^|[])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:n(/(^|[])(?:компл|сканкод|файл|цвет)(?=[]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:n(/(^|[])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[]|$)/.source),lookbehind:!0},name:{pattern:n(/(^|[])[^\d][^]*(?:\x20+[^]+)*(?=[]|$)/.source),lookbehind:!0},number:{pattern:n(/(^|[])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},e.languages.kum=e.languages.kumir}(e)}e.exports=t,t.displayName="kumir",t.aliases=["kum"]},82819:function(e){"use strict";function t(e){e.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}e.exports=t,t.displayName="kusto",t.aliases=[]},42876:function(e){"use strict";function t(e){var t,n;n={"equation-command":{pattern:t=/\\(?:[^a-z()[\]]|[a-z*]+)/i,alias:"regex"}},e.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:n,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:n,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:t,alias:"selector"},punctuation:/[[\]{}&]/},e.languages.tex=e.languages.latex,e.languages.context=e.languages.latex}e.exports=t,t.displayName="latex",t.aliases=["tex","context"]},2980:function(e,t,n){"use strict";var r=n(93205),a=n(88262);function i(e){var t;e.register(r),e.register(a),e.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:e.languages.php}},t=e.languages.extend("markup",{}),e.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:e.languages.php}}}}}},t.tag),e.hooks.add("before-tokenize",function(n){"latte"===n.language&&(e.languages["markup-templating"].buildPlaceholders(n,"latte",/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g),n.grammar=t)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"latte")})}e.exports=i,i.displayName="latte",i.aliases=[]},41701:function(e){"use strict";function t(e){e.languages.less=e.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),e.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}e.exports=t,t.displayName="less",t.aliases=[]},42491:function(e,t,n){"use strict";var r=n(9997);function a(e){e.register(r),function(e){for(var t=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|)*\)/.source,n=0;n<5;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,/[^\s\S]/.source);var r=e.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|))/.source.replace(//g,function(){return t}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:e.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};r["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=r,e.languages.ly=r}(e)}e.exports=a,a.displayName="lilypond",a.aliases=[]},34927:function(e,t,n){"use strict";var r=n(93205);function a(e){e.register(r),e.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},e.hooks.add("before-tokenize",function(t){var n=!1;e.languages["markup-templating"].buildPlaceholders(t,"liquid",/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,function(e){var t=/^\{%-?\s*(\w+)/.exec(e);if(t){var r=t[1];if("raw"===r&&!n)return n=!0,!0;if("endraw"===r)return n=!1,!0}return!n})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"liquid")})}e.exports=a,a.displayName="liquid",a.aliases=[]},3848:function(e){"use strict";function t(e){!function(e){function t(e){return RegExp(/(\()/.source+"(?:"+e+")"+/(?=[\s\)])/.source)}function n(e){return RegExp(/([\s([])/.source+"(?:"+e+")"+/(?=[\s)])/.source)}var r=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,a="&"+r,i="(\\()",o="(?=\\s)",s=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,l={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+r+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+r),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+r),alias:"property"},splice:{pattern:RegExp(",@?"+r),alias:["symbol","variable"]},keyword:[{pattern:RegExp(i+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+o),lookbehind:!0},{pattern:RegExp(i+"(?:append|by|collect|concat|do|finally|for|in|return)"+o),lookbehind:!0}],declare:{pattern:t(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:t(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:n(/nil|t/.source),lookbehind:!0},number:{pattern:n(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(i+"def(?:const|custom|group|var)\\s+"+r),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(r)}},defun:{pattern:RegExp(i+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+r+/\s+\(/.source+s+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+r),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(i+"lambda\\s+\\(\\s*(?:&?"+r+"(?:\\s+&?"+r+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(i+r),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},c={"lisp-marker":RegExp(a),varform:{pattern:RegExp(/\(/.source+r+/\s+(?=\S)/.source+s+/\)/.source),inside:l},argument:{pattern:RegExp(/(^|[\s(])/.source+r),lookbehind:!0,alias:"variable"},rest:l},u="\\S+(?:\\s+\\S+)*",d={pattern:RegExp(i+s+"(?=\\))"),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+u),inside:c},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+u),inside:c},keys:{pattern:RegExp("&key\\s+"+u+"(?:\\s+&allow-other-keys)?"),inside:c},argument:{pattern:RegExp(r),alias:"variable"},punctuation:/[()]/}};l.lambda.inside.arguments=d,l.defun.inside.arguments=e.util.clone(d),l.defun.inside.arguments.inside.sublist=d,e.languages.lisp=l,e.languages.elisp=l,e.languages.emacs=l,e.languages["emacs-lisp"]=l}(e)}e.exports=t,t.displayName="lisp",t.aliases=[]},41469:function(e){"use strict";function t(e){e.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},e.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=e.languages.livescript}e.exports=t,t.displayName="livescript",t.aliases=[]},73070:function(e){"use strict";function t(e){e.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}}e.exports=t,t.displayName="llvm",t.aliases=[]},35049:function(e){"use strict";function t(e){e.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:e.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}e.exports=t,t.displayName="log",t.aliases=[]},8789:function(e){"use strict";function t(e){e.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}e.exports=t,t.displayName="lolcode",t.aliases=[]},59803:function(e){"use strict";function t(e){e.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}e.exports=t,t.displayName="lua",t.aliases=[]},86328:function(e){"use strict";function t(e){e.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}e.exports=t,t.displayName="magma",t.aliases=[]},33055:function(e){"use strict";function t(e){e.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}e.exports=t,t.displayName="makefile",t.aliases=[]},90542:function(e){"use strict";function t(e){!function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(//g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return r}),i=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+i+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+i+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+i+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~))+\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:n(/!?\[(?:(?!\]))+\](?:\([^\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(t){["url","bold","italic","strike","code-snippet"].forEach(function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])})}),e.hooks.add("after-tokenize",function(e){("markdown"===e.language||"md"===e.language)&&function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n",quot:'"'},l=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(e)}e.exports=t,t.displayName="markdown",t.aliases=["md"]},93205:function(e){"use strict";function t(e){!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,i){if(n.language===r){var o=n.tokenStack=[];n.code=n.code.replace(a,function(e){if("function"==typeof i&&!i(e))return e;for(var a,s=o.length;-1!==n.code.indexOf(a=t(r,s));)++s;return o[s]=e,a}),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,i=Object.keys(n.tokenStack);!function o(s){for(var l=0;l=i.length);l++){var c=s[l];if("string"==typeof c||c.content&&"string"==typeof c.content){var u=i[a],d=n.tokenStack[u],p="string"==typeof c?c:c.content,f=t(r,u),h=p.indexOf(f);if(h>-1){++a;var g=p.substring(0,h),m=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),b=p.substring(h+f.length),y=[];g&&y.push.apply(y,o([g])),y.push(m),b&&y.push.apply(y,o([b])),"string"==typeof c?s.splice.apply(s,[l,1].concat(y)):c.content=y}}else c.content&&o(c.content)}return s}(n.tokens)}}}})}(e)}e.exports=t,t.displayName="markupTemplating",t.aliases=[]},2717:function(e){"use strict";function t(e){e.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"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.value.replace(/&/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(t,n){var r={};r["language-"+n]={pattern:/(^$)/i,lookbehind:!0,inside:e.languages[n]},r.cdata=/^$/i;var a={"included-cdata":{pattern://i,inside:r}};a["language-"+n]={pattern:/[\s\S]+/,inside:e.languages[n]};var i={};i[t]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:a},e.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,n){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:e.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml}e.exports=t,t.displayName="markup",t.aliases=["html","mathml","svg","xml","ssml","atom","rss"]},27992:function(e){"use strict";function t(e){e.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}e.exports=t,t.displayName="matlab",t.aliases=[]},91115:function(e){"use strict";function t(e){var t;t=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i,e.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|")+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source+")[ ]*)(?!"+t.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+t.source+")"+/[a-z_]/.source+"|")+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:t,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}}e.exports=t,t.displayName="maxscript",t.aliases=[]},606:function(e){"use strict";function t(e){e.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\b\w+(?=\()|\b(?:CBG|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|Mayatomr|about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},e.languages.mel.code.inside.rest=e.languages.mel}e.exports=t,t.displayName="mel",t.aliases=[]},68582:function(e){"use strict";function t(e){e.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}e.exports=t,t.displayName="mermaid",t.aliases=[]},23388:function(e){"use strict";function t(e){e.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}e.exports=t,t.displayName="mizar",t.aliases=[]},90596:function(e){"use strict";function t(e){var t,n;n="(?:"+["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"].map(function(e){return e.replace("$","\\$")}).join("|")+")\\b",e.languages.mongodb=e.languages.extend("javascript",{}),e.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp("^(['\"])?"+n+"(?:\\1)?$")}}}),e.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},e.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:ObjectId|Code|BinData|DBRef|Timestamp|NumberLong|NumberDecimal|MaxKey|MinKey|RegExp|ISODate|UUID)\\b"),alias:"keyword"}})}e.exports=t,t.displayName="mongodb",t.aliases=[]},95721:function(e){"use strict";function t(e){e.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}e.exports=t,t.displayName="monkey",t.aliases=[]},64262:function(e){"use strict";function t(e){e.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},e.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=e.languages.moonscript,e.languages.moon=e.languages.moonscript}e.exports=t,t.displayName="moonscript",t.aliases=["moon"]},18190:function(e){"use strict";function t(e){e.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}e.exports=t,t.displayName="n1ql",t.aliases=[]},70896:function(e){"use strict";function t(e){e.languages.n4js=e.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),e.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),e.languages.n4jsd=e.languages.n4js}e.exports=t,t.displayName="n4js",t.aliases=["n4jsd"]},42242:function(e){"use strict";function t(e){e.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}e.exports=t,t.displayName="nand2tetrisHdl",t.aliases=[]},37943:function(e){"use strict";function t(e){var t,n;n={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:t=/\{[^\r\n\[\]{}]*\}/,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]},e.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:t,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:n}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:t,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:n},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},e.languages.nani=e.languages.naniscript,e.hooks.add("after-tokenize",function(e){e.tokens.forEach(function(e){if("string"!=typeof e&&"generic-text"===e.type){var t=function e(t){return"string"==typeof t?t:Array.isArray(t)?t.map(e).join(""):e(t.content)}(e);!function(e){for(var t=[],n=0;n=&|$!]/}}e.exports=t,t.displayName="nasm",t.aliases=[]},83873:function(e){"use strict";function t(e){e.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"atrule"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}e.exports=t,t.displayName="neon",t.aliases=[]},75932:function(e){"use strict";function t(e){e.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}e.exports=t,t.displayName="nevod",t.aliases=[]},60221:function(e){"use strict";function t(e){var t;t=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i,e.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:t}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:t}},punctuation:/[{};]/}}e.exports=t,t.displayName="nginx",t.aliases=[]},44188:function(e){"use strict";function t(e){e.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}e.exports=t,t.displayName="nim",t.aliases=[]},74426:function(e){"use strict";function t(e){e.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},e.languages.nix.string.inside.interpolation.inside=e.languages.nix}e.exports=t,t.displayName="nix",t.aliases=[]},88447:function(e){"use strict";function t(e){e.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}e.exports=t,t.displayName="nsis",t.aliases=[]},16032:function(e,t,n){"use strict";var r=n(65806);function a(e){e.register(r),e.languages.objectivec=e.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete e.languages.objectivec["class-name"],e.languages.objc=e.languages.objectivec}e.exports=a,a.displayName="objectivec",a.aliases=["objc"]},33607:function(e){"use strict";function t(e){e.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}e.exports=t,t.displayName="ocaml",t.aliases=[]},22001:function(e,t,n){"use strict";var r=n(65806);function a(e){var t;e.register(r),e.languages.opencl=e.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),e.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}}),t={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}},e.languages.insertBefore("c","keyword",t),e.languages.cpp&&(t["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},e.languages.insertBefore("cpp","keyword",t))}e.exports=a,a.displayName="opencl",a.aliases=[]},22950:function(e){"use strict";function t(e){e.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},e.languages.qasm=e.languages.openqasm}e.exports=t,t.displayName="openqasm",t.aliases=["qasm"]},23254:function(e){"use strict";function t(e){e.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}e.exports=t,t.displayName="oz",t.aliases=[]},92694:function(e){"use strict";function t(e){var t;e.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:RegExp("\\b(?:"+["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"].map(function(e){return e.split("").join(" *")}).join("|")+")\\b"),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}e.exports=t,t.displayName="parigp",t.aliases=[]},43273:function(e){"use strict";function t(e){var t;t=e.languages.parser=e.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/}),t=e.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:t.keyword,variable:t.variable,function:t.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:t.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:t.punctuation}}}),e.languages.insertBefore("inside","punctuation",{expression:t.expression,keyword:t.keyword,variable:t.variable,function:t.function,escape:t.escape,"parser-punctuation":{pattern:t.punctuation,alias:"punctuation"}},t.tag.inside["attr-value"])}e.exports=t,t.displayName="parser",t.aliases=[]},60718:function(e){"use strict";function t(e){e.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},e.languages.pascal.asm.inside=e.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),e.languages.objectpascal=e.languages.pascal}e.exports=t,t.displayName="pascal",t.aliases=["objectpascal"]},39303:function(e){"use strict";function t(e){var t,n,r,a;t=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,n=/(?:\b\w+(?:)?|)/.source.replace(//g,function(){return t}),r=e.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)/.source.replace(//g,function(){return n}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/(?=\s+is\b)/.source.replace(//g,function(){return n}),"i"),inside:null},{pattern:RegExp(/(:\s*)/.source.replace(//g,function(){return n})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},a=["comment","keyword","builtin","operator","punctuation"].reduce(function(e,t){return e[t]=r[t],e},{}),r["class-name"].forEach(function(e){e.inside=a})}e.exports=t,t.displayName="pascaligo",t.aliases=[]},77393:function(e){"use strict";function t(e){e.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},e.languages.px=e.languages.pcaxis}e.exports=t,t.displayName="pcaxis",t.aliases=["px"]},19023:function(e){"use strict";function t(e){e.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},e.languages.pcode=e.languages.peoplecode}e.exports=t,t.displayName="peoplecode",t.aliases=["pcode"]},74212:function(e){"use strict";function t(e){var t;t=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source,e.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,t].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,t].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,t+/\s*/.source+t].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}}e.exports=t,t.displayName="perl",t.aliases=[]},5137:function(e,t,n){"use strict";var r=n(88262);function a(e){e.register(r),e.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}e.exports=a,a.displayName="phpExtras",a.aliases=[]},88262:function(e,t,n){"use strict";var r=n(93205);function a(e){var t,n,a,i,o,s,l;e.register(r),t=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,n=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],a=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,i=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,o=/[{}\[\](),:;]/,e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:t,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:a,operator:i,punctuation:o},l=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:s={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php}}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:s}}],e.languages.insertBefore("php","variable",{string:l,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:t,string:l,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:a,operator:i,punctuation:o}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",function(t){/<\?/.test(t.code)&&e.languages["markup-templating"].buildPlaceholders(t,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"php")})}e.exports=a,a.displayName="php",a.aliases=[]},63632:function(e,t,n){"use strict";var r=n(88262),a=n(9858);function i(e){var t;e.register(r),e.register(a),t=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source,e.languages.phpdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+t+"\\s+)?)\\$\\w+"),lookbehind:!0}}),e.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+t),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),e.languages.javadoclike.addSupport("php",e.languages.phpdoc)}e.exports=i,i.displayName="phpdoc",i.aliases=[]},59149:function(e,t,n){"use strict";var r=n(11114);function a(e){e.register(r),e.languages.plsql=e.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),e.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}e.exports=a,a.displayName="plsql",a.aliases=[]},50256:function(e){"use strict";function t(e){e.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},e.languages.pq=e.languages.powerquery,e.languages.mscript=e.languages.powerquery}e.exports=t,t.displayName="powerquery",t.aliases=[]},61777:function(e){"use strict";function t(e){var t;(t=e.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/}).string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:t},boolean:t.boolean,variable:t.variable}}e.exports=t,t.displayName="powershell",t.aliases=[]},3623:function(e){"use strict";function t(e){e.languages.processing=e.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),e.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}e.exports=t,t.displayName="processing",t.aliases=[]},82707:function(e){"use strict";function t(e){e.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}e.exports=t,t.displayName="prolog",t.aliases=[]},59338:function(e){"use strict";function t(e){var t,n;n=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"].concat(t=["on","ignoring","group_right","group_left","by","without"],["offset"]),e.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:RegExp("((?:"+t.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:RegExp("\\b(?:"+n.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}}e.exports=t,t.displayName="promql",t.aliases=[]},56267:function(e){"use strict";function t(e){e.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}e.exports=t,t.displayName="properties",t.aliases=[]},98809:function(e){"use strict";function t(e){var t;t=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/,e.languages.protobuf=e.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),e.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:t}},builtin:t,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})}e.exports=t,t.displayName="protobuf",t.aliases=[]},37548:function(e){"use strict";function t(e){e.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}e.exports=t,t.displayName="psl",t.aliases=[]},82161:function(e){"use strict";function t(e){!function(e){e.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:e.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:e.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:e.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:e.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:e.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:e.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:e.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:e.languages.javascript}],punctuation:/[.\-!=|]+/};for(var t=/(^([\t ]*)):(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,n=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],r={},a=0,i=n.length;a",function(){return o.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[o.language,"language-"+o.language],inside:e.languages[o.language]}}})}e.languages.insertBefore("pug","filter",r)}(e)}e.exports=t,t.displayName="pug",t.aliases=[]},80625:function(e){"use strict";function t(e){var t;e.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/},t=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:e.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}],e.languages.puppet.heredoc[0].inside.interpolation=t,e.languages.puppet.string.inside["double-quoted"].inside.interpolation=t}e.exports=t,t.displayName="puppet",t.aliases=[]},88393:function(e){"use strict";function t(e){var t;e.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/},t=/%< *-\*- *\d* *-\*-[\s\S]+?%>/.source,["c",{lang:"c++",alias:"cpp"},"fortran"].forEach(function(n){var r=n;if("string"!=typeof n&&(r=n.alias,n=n.lang),e.languages[r]){var a={};a["inline-lang-"+r]={pattern:RegExp(t.replace("",n.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:e.util.clone(e.languages.pure["inline-lang"].inside)},a["inline-lang-"+r].inside.rest=e.util.clone(e.languages[r]),e.languages.insertBefore("pure","inline-lang",a)}}),e.languages.c&&(e.languages.pure["inline-lang"].inside.rest=e.util.clone(e.languages.c))}e.exports=t,t.displayName="pure",t.aliases=[]},78404:function(e){"use strict";function t(e){e.languages.purebasic=e.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+|-[>-]?|\+\+?|!=?|<>?=?|==?|&&?|\|?\||[~^%?*/@]/}),e.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete e.languages.purebasic["class-name"],delete e.languages.purebasic.boolean,e.languages.pbfasm=e.languages.purebasic}e.exports=t,t.displayName="purebasic",t.aliases=[]},92923:function(e,t,n){"use strict";var r=n(58090);function a(e){e.register(r),e.languages.purescript=e.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[e.languages.haskell.operator[0],e.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),e.languages.purs=e.languages.purescript}e.exports=a,a.displayName="purescript",a.aliases=["purs"]},52992:function(e){"use strict";function t(e){e.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},e.languages.python["string-interpolation"].inside.interpolation.inside.rest=e.languages.python,e.languages.py=e.languages.python}e.exports=t,t.displayName="python",t.aliases=["py"]},55762:function(e){"use strict";function t(e){e.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}e.exports=t,t.displayName="q",t.aliases=[]},4137:function(e){"use strict";function t(e){!function(e){for(var t=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,n=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,r=/(?:[^\\()[\]{}"'/]||\/(?![*/])||\(*\)|\[*\]|\{*\}|\\[\s\S])/.source.replace(//g,function(){return t}).replace(//g,function(){return n}),a=0;a<2;a++)r=r.replace(//g,function(){return r});r=r.replace(//g,"[^\\s\\S]"),e.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(*\)\s*\{*\}/.source.replace(//g,function(){return r}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:e.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}]))+/.source.replace(//g,function(){return r}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:e.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}}(e)}e.exports=t,t.displayName="qml",t.aliases=[]},28260:function(e){"use strict";function t(e){e.languages.qore=e.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}e.exports=t,t.displayName="qore",t.aliases=[]},71360:function(e){"use strict";function t(e){!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,function(e,n){return"(?:"+t[+n]+")"})}function n(e,n,r){return RegExp(t(e,n),r||"")}var r={type:"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",other:"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"},a=RegExp("\\b(?:"+(r.type+" "+r.other).trim().replace(/ /g,"|")+")\\b"),i=/\b[A-Za-z_]\w*\b/.source,o=t(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[i]),s={keyword:a,punctuation:/[<>()?,.:[\]]/},l=/"(?:\\.|[^\\"])*"/.source;e.languages.qsharp=e.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[l]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[o]),lookbehind:!0,inside:s},{pattern:n(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[o]),lookbehind:!0,inside:s}],keyword:a,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),e.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var c=function(e,t){for(var n=0;n<2;n++)e=e.replace(/<>/g,function(){return"(?:"+e+")"});return e.replace(/<>/g,"[^\\s\\S]")}(t(/\{(?:[^"{}]|<<0>>|<>)*\}/.source,[l]),0);e.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:n(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[c]),greedy:!0,inside:{interpolation:{pattern:n(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[c]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:e.languages.qsharp}}},string:/[\s\S]+/}}})}(e),e.languages.qs=e.languages.qsharp}e.exports=t,t.displayName="qsharp",t.aliases=["qs"]},29308:function(e){"use strict";function t(e){e.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}e.exports=t,t.displayName="r",t.aliases=[]},32168:function(e,t,n){"use strict";var r=n(9997);function a(e){e.register(r),e.languages.racket=e.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),e.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),e.languages.rkt=e.languages.racket}e.exports=a,a.displayName="racket",a.aliases=["rkt"]},5755:function(e){"use strict";function t(e){e.languages.reason=e.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),e.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete e.languages.reason.function}e.exports=t,t.displayName="reason",t.aliases=[]},54105:function(e){"use strict";function t(e){var t,n,r,a,i;t={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},a=RegExp((r="(?:[^\\\\-]|"+(n=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/).source+")")+"-"+r),i={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},e.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:a,inside:{escape:n,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":t,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:n}},"special-escape":t,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":i}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:n,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}e.exports=t,t.displayName="rego",t.aliases=[]},35108:function(e){"use strict";function t(e){e.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},e.languages.rpy=e.languages.renpy}e.exports=t,t.displayName="renpy",t.aliases=["rpy"]},46678:function(e){"use strict";function t(e){e.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}e.exports=t,t.displayName="rest",t.aliases=[]},47496:function(e){"use strict";function t(e){e.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}e.exports=t,t.displayName="rip",t.aliases=[]},30527:function(e){"use strict";function t(e){e.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}e.exports=t,t.displayName="roboconf",t.aliases=[]},5261:function(e){"use strict";function t(e){!function(e){var t={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},n={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function r(e,r){var a={};for(var i in a["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"},r)a[i]=r[i];return a.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},a.variable=n,a.comment=t,{pattern:RegExp(/^ ?\*{3}[ \t]*[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(//g,function(){return e}),"im"),alias:"section",inside:a}}var a={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},i={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:n}},o={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:n}};e.languages.robotframework={settings:r("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:r("Variables"),"test-cases":r("Test Cases",{"test-name":i,documentation:a,property:o}),keywords:r("Keywords",{"keyword-name":i,documentation:a,property:o}),tasks:r("Tasks",{"task-name":i,documentation:a,property:o}),comment:t},e.languages.robot=e.languages.robotframework}(e)}e.exports=t,t.displayName="robotframework",t.aliases=[]},56939:function(e){"use strict";function t(e){var t,n,r;e.languages.ruby=e.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),e.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),t={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}},delete e.languages.ruby.function,n="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",r=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source,e.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+n+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+r),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+r+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),e.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+n),greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+n),greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete e.languages.ruby.string,e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),e.languages.rb=e.languages.ruby}e.exports=t,t.displayName="ruby",t.aliases=["rb"]},83648:function(e){"use strict";function t(e){!function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,n=0;n<2;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(e)}e.exports=t,t.displayName="rust",t.aliases=[]},16009:function(e){"use strict";function t(e){var t,n,r,a,i,o,s,l,c,u,d,p,f,h,g,m,b,y;t=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,n=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,r={pattern:RegExp(t+"[bx]"),alias:"number"},i={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},o={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},s=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],d={function:u={pattern:/%?\b\w+(?=\()/,alias:"keyword"},"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":a={pattern:/&[a-z_]\w*/i},arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:n,"numeric-constant":r,punctuation:c=/[$%@.(){}\[\];,\\]/,string:l={pattern:RegExp(t),greedy:!0}},p={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},f={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},h={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},g={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},m=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,b={pattern:RegExp(/(^|\s)(?:action\s+)?(?:)\.[a-z]+\b[^;]+/.source.replace(//g,function(){return m}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:)\.[a-z]+\b/.source.replace(//g,function(){return m}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:s,function:u,"arg-value":d["arg-value"],operator:d.operator,argument:d.arg,number:n,"numeric-constant":r,punctuation:c,string:l}},y={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0},e.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:|[^;"'])+;/.source.replace(//g,function(){return t}),"im"),alias:"language-sql",inside:e.languages.sql},"global-statements":h,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:n,"numeric-constant":r,punctuation:c,string:l}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return t}),"im"),lookbehind:!0,alias:"language-groovy",inside:e.languages.groovy},keyword:y,"submit-statement":g,"global-statements":h,number:n,"numeric-constant":r,punctuation:c,string:l}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return t}),"im"),lookbehind:!0,alias:"language-lua",inside:e.languages.lua},keyword:y,"submit-statement":g,"global-statements":h,number:n,"numeric-constant":r,punctuation:c,string:l}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:d}},"cas-actions":b,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:d},step:o,keyword:y,function:u,format:p,altformat:f,"global-statements":h,number:n,"numeric-constant":r,punctuation:c,string:l}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|)+;/.source.replace(//g,function(){return t}),"im"),lookbehind:!0,inside:d},"macro-keyword":i,"macro-variable":a,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":i,"macro-variable":a,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:c}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:s,number:n,"numeric-constant":r}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:d},"cas-actions":b,comment:s,function:u,format:p,altformat:f,"numeric-constant":r,datetime:{pattern:RegExp(t+"(?:dt?|t)"),alias:"number"},string:l,step:o,keyword:y,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:n,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:c}}e.exports=t,t.displayName="sas",t.aliases=[]},41720:function(e){"use strict";function t(e){var t,n;e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule,t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}e.exports=t,t.displayName="sass",t.aliases=[]},6054:function(e,t,n){"use strict";var r=n(15909);function a(e){e.register(r),e.languages.scala=e.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),e.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.scala}}},string:/[\s\S]+/}}}),delete e.languages.scala["class-name"],delete e.languages.scala.function}e.exports=a,a.displayName="scala",a.aliases=[]},9997:function(e){"use strict";function t(e){e.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(function(e){for(var t in e)e[t]=e[t].replace(/<[\w\s]+>/g,function(t){return"(?:"+e[t].trim()+")"});return e[t]}({"":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?/.source,"":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/#[box](?:#[ei])?|(?:#[ei])?#[box]/.source,"":/(^|[()\[\]\s])(?:|)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/}}e.exports=t,t.displayName="scheme",t.aliases=[]},24296:function(e){"use strict";function t(e){e.languages.scss=e.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),e.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),e.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),e.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),e.languages.scss.atrule.inside.rest=e.languages.scss}e.exports=t,t.displayName="scss",t.aliases=[]},49246:function(e,t,n){"use strict";var r=n(6979);function a(e){var t;e.register(r),t=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|"),e.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,function(){return t}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:e.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},e.languages["sh-session"]=e.languages.shellsession=e.languages["shell-session"]}e.exports=a,a.displayName="shellSession",a.aliases=[]},18890:function(e){"use strict";function t(e){e.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}e.exports=t,t.displayName="smali",t.aliases=[]},11037:function(e){"use strict";function t(e){e.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}e.exports=t,t.displayName="smalltalk",t.aliases=[]},64020:function(e,t,n){"use strict";var r=n(93205);function a(e){var t,n;e.register(r),e.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:e.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},e.languages.smarty["embedded-php"].inside.smarty.inside=e.languages.smarty,e.languages.smarty.string[0].inside.interpolation.inside.expression.inside=e.languages.smarty,t=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,n=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']||\{(?:[^{}"']||\{(?:[^{}"']|)*\})*\})*\}/.source.replace(//g,function(){return t.source}),"g"),e.hooks.add("before-tokenize",function(t){var r=!1;e.languages["markup-templating"].buildPlaceholders(t,"smarty",n,function(e){return"{/literal}"===e&&(r=!1),!r&&("{literal}"===e&&(r=!0),!0)})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"smarty")})}e.exports=a,a.displayName="smarty",a.aliases=[]},49760:function(e){"use strict";function t(e){var t;t=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i,e.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)(?:\s*(?:(?:\*|->)\s*|,\s*(?:(?=)|(?!)\s+)))*/.source.replace(//g,function(){return/\s*(?:[*,]|->)/.source}).replace(//g,function(){return/(?:'[\w']*||\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+)*/.source}).replace(//g,function(){return/(?!)[a-z\d_][\w'.]*/.source}).replace(//g,function(){return t.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:t,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},e.languages.sml["class-name"][0].inside=e.languages.sml,e.languages.smlnj=e.languages.sml}e.exports=t,t.displayName="sml",t.aliases=["smlnj"]},33351:function(e){"use strict";function t(e){e.languages.solidity=e.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),e.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),e.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),e.languages.sol=e.languages.solidity}e.exports=t,t.displayName="solidity",t.aliases=["sol"]},13570:function(e){"use strict";function t(e){var t;t={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}},e.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:t}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:t}},guid:t,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},e.languages.sln=e.languages["solution-file"]}e.exports=t,t.displayName="solutionFile",t.aliases=[]},38181:function(e,t,n){"use strict";var r=n(93205);function a(e){var t,n;e.register(r),t=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,n=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/,e.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:t,greedy:!0},number:n,punctuation:/[\[\].?]/}},string:{pattern:t,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:n,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},e.hooks.add("before-tokenize",function(t){var n=!1;e.languages["markup-templating"].buildPlaceholders(t,"soy",/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,function(e){return"{/literal}"===e&&(n=!1),!n&&("{literal}"===e&&(n=!0),!0)})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"soy")})}e.exports=a,a.displayName="soy",a.aliases=[]},98774:function(e,t,n){"use strict";var r=n(24691);function a(e){e.register(r),e.languages.sparql=e.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),e.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),e.languages.rq=e.languages.sparql}e.exports=a,a.displayName="sparql",a.aliases=["rq"]},22855:function(e){"use strict";function t(e){e.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}e.exports=t,t.displayName="splunkSpl",t.aliases=[]},29611:function(e){"use strict";function t(e){e.languages.sqf=e.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),e.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:e.languages.sqf.comment}}}),delete e.languages.sqf["class-name"]}e.exports=t,t.displayName="sqf",t.aliases=[]},11114:function(e){"use strict";function t(e){e.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}e.exports=t,t.displayName="sql",t.aliases=[]},67386:function(e){"use strict";function t(e){e.languages.squirrel=e.languages.extend("clike",{comment:[e.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),e.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}e.exports=t,t.displayName="squirrel",t.aliases=[]},28067:function(e){"use strict";function t(e){var t;t=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/,e.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+t.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,t],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},e.languages.stan.constraint.inside.expression.inside=e.languages.stan}e.exports=t,t.displayName="stan",t.aliases=[]},49168:function(e){"use strict";function t(e){var t,n,r;(r={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},number:n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:n,punctuation:/[{}()\[\];:,]/}).interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:r}},r.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:r}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:r}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:r}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:r}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:r.interpolation}},rest:r}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:r.interpolation,comment:r.comment,punctuation:/[{},]/}},func:r.func,string:r.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:r.interpolation,punctuation:/[{}()\[\];:.]/}}e.exports=t,t.displayName="stylus",t.aliases=[]},23651:function(e){"use strict";function t(e){e.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},e.languages.swift["string-literal"].forEach(function(t){t.inside.interpolation.inside=e.languages.swift})}e.exports=t,t.displayName="swift",t.aliases=[]},21483:function(e){"use strict";function t(e){var t,n;t={pattern:/^[;#].*/m,greedy:!0},n=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source,e.languages.systemd={comment:t,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+n+'|(?=[^"\r\n]))(?:'+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|')+n+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:t,quoted:{pattern:RegExp(/(^|\s)/.source+n),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}}e.exports=t,t.displayName="systemd",t.aliases=[]},32268:function(e,t,n){"use strict";var r=n(2329),a=n(61958);function i(e){e.register(r),e.register(a),e.languages.t4=e.languages["t4-cs"]=e.languages["t4-templating"].createT4("csharp")}e.exports=i,i.displayName="t4Cs",i.aliases=[]},2329:function(e){"use strict";function t(e){!function(e){function t(e,t,n){return{pattern:RegExp("<#"+e+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+e+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:t,alias:n}}}}e.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:function(n){var r=e.languages[n],a="language-"+n;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:t("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:t("=",r,a),"class-feature":t("\\+",r,a),standard:t("",r,a)}}}}})}(e)}e.exports=t,t.displayName="t4Templating",t.aliases=[]},82996:function(e,t,n){"use strict";var r=n(2329),a=n(53813);function i(e){e.register(r),e.register(a),e.languages["t4-vb"]=e.languages["t4-templating"].createT4("vbnet")}e.exports=i,i.displayName="t4Vb",i.aliases=[]},17290:function(e,t,n){"use strict";var r=n(65039);function a(e){e.register(r),e.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:e.languages.yaml,alias:"language-yaml"}}}e.exports=a,a.displayName="tap",a.aliases=[]},67989:function(e){"use strict";function t(e){e.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}e.exports=t,t.displayName="tcl",t.aliases=[]},31065:function(e){"use strict";function t(e){!function(e){var t=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,n=/\)|\((?![^|()\n]+\))/.source;function r(e,r){return RegExp(e.replace(//g,function(){return"(?:"+t+")"}).replace(//g,function(){return"(?:"+n+")"}),r||"")}var a={css:{pattern:/\{[^{}]+\}/,inside:{rest:e.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},i=e.languages.textile=e.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:r(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:r(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:a},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:r(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:r(/(^[*#]+)+/.source),lookbehind:!0,inside:a},punctuation:/^[*#]+/}},table:{pattern:r(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:r(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:a},punctuation:/\||^\./}},inline:{pattern:r(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:r(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:r(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:r(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:r(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:r(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:r(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:r(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:r(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:a},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:r(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:r(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:r(/(^")+/.source),lookbehind:!0,inside:a},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:r(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:r(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:r(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:a},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),o=i.phrase.inside,s={inline:o.inline,link:o.link,image:o.image,footnote:o.footnote,acronym:o.acronym,mark:o.mark};i.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var l=o.inline.inside;l.bold.inside=s,l.italic.inside=s,l.inserted.inside=s,l.deleted.inside=s,l.span.inside=s;var c=o.table.inside;c.inline=s.inline,c.link=s.link,c.image=s.image,c.footnote=s.footnote,c.acronym=s.acronym,c.mark=s.mark}(e)}e.exports=t,t.displayName="textile",t.aliases=[]},85572:function(e){"use strict";function t(e){!function(e){var t=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function n(e){return e.replace(/__/g,function(){return t})}e.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(n(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(n(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}}(e)}e.exports=t,t.displayName="toml",t.aliases=[]},27536:function(e){"use strict";function t(e){var t;e.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/},t=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source,e.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+t+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+t+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(t),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.tremor}}},string:/[\s\S]+/}},e.languages.troy=e.languages.tremor,e.languages.trickle=e.languages.tremor}e.exports=t,t.displayName="tremor",t.aliases=[]},87041:function(e,t,n){"use strict";var r=n(96412),a=n(4979);function i(e){var t,n;e.register(r),e.register(a),t=e.util.clone(e.languages.typescript),e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"],(n=e.languages.tsx.tag).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}e.exports=i,i.displayName="tsx",i.aliases=[]},61028:function(e,t,n){"use strict";var r=n(93205);function a(e){e.register(r),e.languages.tt2=e.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),e.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),e.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),e.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete e.languages.tt2.string,e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"tt2",/\[%[\s\S]+?%\]/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"tt2")})}e.exports=a,a.displayName="tt2",a.aliases=[]},24691:function(e){"use strict";function t(e){e.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},e.languages.trig=e.languages.turtle}e.exports=t,t.displayName="turtle",t.aliases=[]},19892:function(e,t,n){"use strict";var r=n(93205);function a(e){e.register(r),e.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},e.hooks.add("before-tokenize",function(t){"twig"===t.language&&e.languages["markup-templating"].buildPlaceholders(t,"twig",/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"twig")})}e.exports=a,a.displayName="twig",a.aliases=[]},4979:function(e){"use strict";function t(e){var t;e.languages.typescript=e.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/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"],t=e.languages.extend("typescript",{}),delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}e.exports=t,t.displayName="typescript",t.aliases=["ts"]},23159:function(e){"use strict";function t(e){var t;t=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/,e.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern://,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:t}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:t,number:/^\d+$/,punctuation:/[,|:]/}},keyword:t,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},e.languages.tsconfig=e.languages.typoscript}e.exports=t,t.displayName="typoscript",t.aliases=["tsconfig"]},34966:function(e){"use strict";function t(e){e.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},e.languages.uc=e.languages.uscript=e.languages.unrealscript}e.exports=t,t.displayName="unrealscript",t.aliases=["uc","uscript"]},44623:function(e){"use strict";function t(e){e.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}e.exports=t,t.displayName="uorazor",t.aliases=[]},38521:function(e){"use strict";function t(e){e.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source)+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")"+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},e.languages.url=e.languages.uri}e.exports=t,t.displayName="uri",t.aliases=["url"]},7255:function(e){"use strict";function t(e){var t;t={pattern:/[\s\S]+/,inside:null},e.languages.v=e.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":t}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),t.inside=e.languages.v,e.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),e.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),e.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:e.languages.v.generic.inside}}}})}e.exports=t,t.displayName="v",t.aliases=[]},28173:function(e){"use strict";function t(e){e.languages.vala=e.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),e.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:e.languages.vala}},string:/[\s\S]+/}}}),e.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}e.exports=t,t.displayName="vala",t.aliases=[]},53813:function(e,t,n){"use strict";var r=n(46241);function a(e){e.register(r),e.languages.vbnet=e.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}e.exports=a,a.displayName="vbnet",a.aliases=[]},46891:function(e){"use strict";function t(e){var t;e.languages.velocity=e.languages.extend("markup",{}),(t={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/}).variable.inside={string:t.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:t.number,boolean:t.boolean,punctuation:t.punctuation},e.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:t}},variable:t.variable}),e.languages.velocity.tag.inside["attr-value"].inside.rest=e.languages.velocity}e.exports=t,t.displayName="velocity",t.aliases=[]},91824:function(e){"use strict";function t(e){e.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}e.exports=t,t.displayName="verilog",t.aliases=[]},9447:function(e){"use strict";function t(e){e.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="vhdl",t.aliases=[]},53062:function(e){"use strict";function t(e){e.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}e.exports=t,t.displayName="vim",t.aliases=[]},46215:function(e){"use strict";function t(e){e.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},e.languages.vb=e.languages["visual-basic"],e.languages.vba=e.languages["visual-basic"]}e.exports=t,t.displayName="visualBasic",t.aliases=[]},10784:function(e){"use strict";function t(e){e.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}e.exports=t,t.displayName="warpscript",t.aliases=[]},17684:function(e){"use strict";function t(e){e.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}e.exports=t,t.displayName="wasm",t.aliases=[]},64851:function(e){"use strict";function t(e){!function(e){var t=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,n="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+t+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,r={};for(var a in e.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+t),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:r},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+n),lookbehind:!0,inside:r},{pattern:RegExp("("+/\bcallback\s+/.source+t+/\s*=\s*/.source+")"+n),lookbehind:!0,inside:r},{pattern:RegExp(/(\btypedef\b\s*)/.source+n),lookbehind:!0,inside:r},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+t),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+t),lookbehind:!0},RegExp(t+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+t),lookbehind:!0},{pattern:RegExp(n+"(?="+/\s*(?:\.{3}\s*)?/.source+t+/\s*[(),;=]/.source+")"),inside:r}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/},e.languages["web-idl"])"class-name"!==a&&(r[a]=e.languages["web-idl"][a]);e.languages.webidl=e.languages["web-idl"]}(e)}e.exports=t,t.displayName="webIdl",t.aliases=[]},18191:function(e){"use strict";function t(e){e.languages.wiki=e.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:e.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),e.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:e.languages.markup.tag.inside}}}})}e.exports=t,t.displayName="wiki",t.aliases=[]},75242:function(e){"use strict";function t(e){e.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},e.languages.mathematica=e.languages.wolfram,e.languages.wl=e.languages.wolfram,e.languages.nb=e.languages.wolfram}e.exports=t,t.displayName="wolfram",t.aliases=["mathematica","wl","nb"]},93639:function(e){"use strict";function t(e){e.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},e.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:e.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}e.exports=t,t.displayName="wren",t.aliases=[]},97202:function(e){"use strict";function t(e){e.languages.xeora=e.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),e.languages.insertBefore("inside","punctuation",{variable:e.languages.xeora["function-inline"].inside.variable},e.languages.xeora["function-block"]),e.languages.xeoracube=e.languages.xeora}e.exports=t,t.displayName="xeora",t.aliases=["xeoracube"]},13808:function(e){"use strict";function t(e){!function(e){function t(t,n){e.languages[t]&&e.languages.insertBefore(t,"comment",{"doc-comment":n})}var n=e.languages.markup.tag,r={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:n}};t("csharp",r),t("fsharp",r),t("vbnet",{pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:n}})}(e)}e.exports=t,t.displayName="xmlDoc",t.aliases=[]},21301:function(e){"use strict";function t(e){e.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}e.exports=t,t.displayName="xojo",t.aliases=[]},20349:function(e){"use strict";function t(e){!function(e){e.languages.xquery=e.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),e.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,e.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,e.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,e.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:e.languages.xquery,alias:"language-xquery"};var t=function(e){return"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(t).join("")},n=function(r){for(var a=[],i=0;i0&&a[a.length-1].tagName===t(o.content[0].content[1])&&a.pop():"/>"===o.content[o.content.length-1].content||a.push({tagName:t(o.content[0].content[1]),openedBraces:0}):!(a.length>0)||"punctuation"!==o.type||"{"!==o.content||r[i+1]&&"punctuation"===r[i+1].type&&"{"===r[i+1].content||r[i-1]&&"plain-text"===r[i-1].type&&"{"===r[i-1].content?a.length>0&&a[a.length-1].openedBraces>0&&"punctuation"===o.type&&"}"===o.content?a[a.length-1].openedBraces--:"comment"!==o.type&&(s=!0):a[a.length-1].openedBraces++),(s||"string"==typeof o)&&a.length>0&&0===a[a.length-1].openedBraces){var l=t(o);i0&&("string"==typeof r[i-1]||"plain-text"===r[i-1].type)&&(l=t(r[i-1])+l,r.splice(i-1,1),i--),/^\s+$/.test(l)?r[i]=l:r[i]=new e.Token("plain-text",l,null,l)}o.content&&"string"!=typeof o.content&&n(o.content)}};e.hooks.add("after-tokenize",function(e){"xquery"===e.language&&n(e.tokens)})}(e)}e.exports=t,t.displayName="xquery",t.aliases=[]},65039:function(e){"use strict";function t(e){!function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+n.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),i=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function o(e,t){return t=(t||"").replace(/m/g,"")+"m",RegExp(/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return r}).replace(/<>/g,function(){return e}),t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return r})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return r}).replace(/<>/g,function(){return"(?:"+a+"|"+i+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:o(/\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:o(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:o(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:o(i),lookbehind:!0,greedy:!0},number:{pattern:o(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(e)}e.exports=t,t.displayName="yaml",t.aliases=["yml"]},96319:function(e){"use strict";function t(e){e.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}e.exports=t,t.displayName="yang",t.aliases=[]},31501:function(e){"use strict";function t(e){!function(e){function t(e){return function(){return e}}var n=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,r="\\b(?!"+n.source+")(?!\\d)\\w+\\b",a=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,i="(?!\\s)(?:!?\\s*(?:"+/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(//g,t(a))+"\\s*)*"+/(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace(//g,t(r))+")+";e.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)(?=\s*(?:\s*)?[=;,)])|(?=\s*(?:\s*)?\{)/.source.replace(//g,t(i)).replace(//g,t(a))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)(?=\s*(?:\s*)?;)/.source.replace(//g,t(i)).replace(//g,t(a))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:n,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},e.languages.zig["class-name"].forEach(function(t){null===t.inside&&(t.inside=e.languages.zig)})}(e)}e.exports=t,t.displayName="zig",t.aliases=[]},59216:function(e,t,n){/** * Prism: Lightweight, robust, elegant syntax highlighting * * @license MIT * @author Lea Verou * @namespace * @public - */var r=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},a={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=u.reach));S+=T.value.length,T=T.next){var A,O=T.value;if(n.length>t.length)return;if(!(O instanceof i)){var _=1;if(b){if(!(A=o(v,S,t,m))||A.index>=t.length)break;var k=A.index,x=A.index+A[0].length,C=S;for(C+=T.value.length;k>=C;)C+=(T=T.next).value.length;if(C-=T.value.length,S=C,T.value instanceof i)continue;for(var w=T;w!==n.tail&&(Cu.reach&&(u.reach=L);var D=T.prev;R&&(D=l(n,D,R),S+=R.length),function(e,t,n){for(var r=t.next,a=0;a1){var M={cause:d+","+f,reach:L};e(t,n,r,T.prev,S,M),u&&M.reach>u.reach&&(u.reach=M.reach)}}}}}}(e,c,t,c.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(c)},hooks:{all:{},add:function(e,t){var n=a.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=a.hooks.all[e];if(n&&n.length)for(var r,i=0;r=n[i++];)r(t)}},Token:i};function i(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var i=a[1].length;a.index+=i,a[0]=a[0].slice(i)}return a}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}if(e.Prism=a,i.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach(function(t){r+=e(t,n)}),r}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},o=t.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(i.classes,o):i.classes.push(o)),a.hooks.run("wrap",i);var s="";for(var l in i.attributes)s+=" "+l+'="'+(i.attributes[l]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+s+">"+i.content+""},!e.document)return e.addEventListener&&(a.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),r=n.language,i=n.code,o=n.immediateClose;e.postMessage(a.highlight(i,a.languages[r],r)),o&&e.close()},!1)),a;var c=a.util.currentScript();function u(){a.manual||a.highlightAll()}if(c&&(a.filename=c.src,c.hasAttribute("data-manual")&&(a.manual=!0)),!a.manual){var d=document.readyState;"loading"===d||"interactive"===d&&c&&c.defer?document.addEventListener("DOMContentLoaded",u):window.requestAnimationFrame?window.requestAnimationFrame(u):window.setTimeout(u,16)}return a}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=r),void 0!==n.g&&(n.g.Prism=r)},96774:function(e){e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),o=Object.keys(t);if(i.length!==o.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;le.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}},88998:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(95778);function a(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},13643:function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,{Z:function(){return r}})},98568:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)}n.d(t,{Z:function(){return a}})},99660:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(88998);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var l=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(l&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;C(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:I(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),b}},t}},16200:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59312);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw a}}return s}}(e,t)||(0,r.Z)(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},27567:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(13643);function a(){return(a="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var a=function(e,t){for(;!({}).hasOwnProperty.call(e,t)&&null!==(e=(0,r.Z)(e)););return e}(e,t);if(a){var i=Object.getOwnPropertyDescriptor(a,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}}).apply(null,arguments)}function i(e,t,n,i){var o=a((0,r.Z)(1&i?e.prototype:e),t,n);return 2&i&&"function"==typeof o?function(e){return o.apply(n,e)}:o}},25585:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(59630),a=n(59312);function i(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,a.Z)(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},95778:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(2846);function a(e){var t=function(e,t){if("object"!=(0,r.Z)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=(0,r.Z)(a))return a;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.Z)(t)?t:t+""}},2846:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{Z:function(){return r}})},59312:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59630);function a(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},21129:function(e,t,n){"use strict";var r=n(4503);t.Z=r},86676:function(e,t,n){"use strict";n.d(t,{r:function(){return a}});let r=/[#.]/g;function a(e,t){let n,a;let i=e||"",o={},s=0;for(;so&&(o=i):i=1,a=r+t.length,r=n.indexOf(t,a);return o}n.d(t,{J:function(){return r}})},24557:function(e,t,n){"use strict";n.d(t,{Z:function(){return ed}});var r={};n.r(r),n.d(r,{boolean:function(){return c},booleanish:function(){return u},commaOrSpaceSeparated:function(){return g},commaSeparated:function(){return h},number:function(){return p},overloadedBoolean:function(){return d},spaceSeparated:function(){return f}});class a{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function i(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new a(n,r,t)}function o(e){return e.toLowerCase()}a.prototype.normal={},a.prototype.property={},a.prototype.space=void 0;class s{constructor(e,t){this.attribute=t,this.property=e}}s.prototype.attribute="",s.prototype.booleanish=!1,s.prototype.boolean=!1,s.prototype.commaOrSpaceSeparated=!1,s.prototype.commaSeparated=!1,s.prototype.defined=!1,s.prototype.mustUseProperty=!1,s.prototype.number=!1,s.prototype.overloadedBoolean=!1,s.prototype.property="",s.prototype.spaceSeparated=!1,s.prototype.space=void 0;let l=0,c=m(),u=m(),d=m(),p=m(),f=m(),h=m(),g=m();function m(){return 2**++l}let b=Object.keys(r);class y extends s{constructor(e,t,n,a){var i,o;let s=-1;if(super(e,t),a&&(this.space=a),"number"==typeof n)for(;++s"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function T(e,t){return t in e?e[t]:t}function S(e,t){return T(e,t.toLowerCase())}let A=E({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:h,acceptCharset:f,accessKey:f,action:null,allow:null,allowFullScreen:c,allowPaymentRequest:c,allowUserMedia:c,alt:null,as:null,async:c,autoCapitalize:null,autoComplete:f,autoFocus:c,autoPlay:c,blocking:f,capture:null,charSet:null,checked:c,cite:null,className:f,cols:p,colSpan:null,content:null,contentEditable:u,controls:c,controlsList:f,coords:p|h,crossOrigin:null,data:null,dateTime:null,decoding:null,default:c,defer:c,dir:null,dirName:null,disabled:c,download:d,draggable:u,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:c,formTarget:null,headers:f,height:p,hidden:c,high:p,href:null,hrefLang:null,htmlFor:f,httpEquiv:f,id:null,imageSizes:null,imageSrcSet:null,inert:c,inputMode:null,integrity:null,is:null,isMap:c,itemId:null,itemProp:f,itemRef:f,itemScope:c,itemType:f,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:c,low:p,manifest:null,max:null,maxLength:p,media:null,method:null,min:null,minLength:p,multiple:c,muted:c,name:null,nonce:null,noModule:c,noValidate:c,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored: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,onScrollEnd: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:c,optimum:p,pattern:null,ping:f,placeholder:null,playsInline:c,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:c,referrerPolicy:null,rel:f,required:c,reversed:c,rows:p,rowSpan:p,sandbox:f,scope:null,scoped:c,seamless:c,selected:c,shadowRootClonable:c,shadowRootDelegatesFocus:c,shadowRootMode:null,shape:null,size:p,sizes:null,slot:null,span:p,spellCheck:u,src:null,srcDoc:null,srcLang:null,srcSet:null,start:p,step:null,style:null,tabIndex:p,target:null,title:null,translate:null,type:null,typeMustMatch:c,useMap:null,value:u,width:p,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:f,axis:null,background:null,bgColor:null,border:p,borderColor:null,bottomMargin:p,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:c,declare:c,event:null,face:null,frame:null,frameBorder:null,hSpace:p,leftMargin:p,link:null,longDesc:null,lowSrc:null,marginHeight:p,marginWidth:p,noResize:c,noHref:c,noShade:c,noWrap:c,object:null,profile:null,prompt:null,rev:null,rightMargin:p,rules:null,scheme:null,scrolling:u,standby:null,summary:null,text:null,topMargin:p,valueType:null,version:null,vAlign:null,vLink:null,vSpace:p,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:c,disableRemotePlayback:c,prefix:null,property:null,results:p,security:null,unselectable:null},space:"html",transform:S}),O=E({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:g,accentHeight:p,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:p,amplitude:p,arabicForm:null,ascent:p,attributeName:null,attributeType:null,azimuth:p,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:p,by:null,calcMode:null,capHeight:p,className:f,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:p,diffuseConstant:p,direction:null,display:null,dur:null,divisor:p,dominantBaseline:null,download:c,dx:null,dy:null,edgeMode:null,editable:null,elevation:p,enableBackground:null,end:null,event:null,exponent:p,externalResourcesRequired:null,fill:null,fillOpacity:p,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:h,g2:h,glyphName:h,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:p,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:p,horizOriginX:p,horizOriginY:p,id:null,ideographic:p,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:p,k:p,k1:p,k2:p,k3:p,k4:p,kernelMatrix:g,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:p,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:p,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose: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,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:p,overlineThickness:p,paintOrder:null,panose1:null,path:null,pathLength:p,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:f,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:p,pointsAtY:p,pointsAtZ:p,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:g,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:g,rev:g,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:g,requiredFeatures:g,requiredFonts:g,requiredFormats:g,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:p,specularExponent:p,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:p,strikethroughThickness:p,string:null,stroke:null,strokeDashArray:g,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:p,strokeOpacity:p,strokeWidth:null,style:null,surfaceScale:p,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:g,tabIndex:p,tableValues:null,target:null,targetX:p,targetY:p,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:g,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:p,underlineThickness:p,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:p,values:null,vAlphabetic:p,vMathematical:p,vectorEffect:null,vHanging:p,vIdeographic:p,version:null,vertAdvY:p,vertOriginX:p,vertOriginY:p,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:p,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:T}),_=E({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),k=E({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:S}),x=E({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),C=i([v,A,_,k,x],"html"),w=i([v,O,_,k,x],"svg");var I=n(25668),R=n(86676);let N=/[A-Z]/g,L=/-[a-z]/g,D=/^data[-\w.:]+$/i;function P(e){return"-"+e.toLowerCase()}function M(e){return e.charAt(1).toUpperCase()}var F=n(50342);function B(e,t,n){let r=n?function(e){let t=new Map;for(let n of e)t.set(n.toLowerCase(),n);return t}(n):void 0;return function(n,a,...i){let l;if(null==n)l={type:"root",children:[]},i.unshift(a);else{l=(0,R.r)(n,t);let c=l.tagName.toLowerCase(),u=r?r.get(c):void 0;if(l.tagName=u||c,function(e){if(null===e||"object"!=typeof e||Array.isArray(e))return!0;if("string"!=typeof e.type)return!1;let t=Object.keys(e);for(let n of t){let t=e[n];if(t&&"object"==typeof t){if(!Array.isArray(t))return!0;for(let e of t)if("number"!=typeof e&&"string"!=typeof e)return!0}}return!!("children"in e&&Array.isArray(e.children))}(a))i.unshift(a);else for(let[t,n]of Object.entries(a))!function(e,t,n,r){let a;let i=function(e,t){let n=o(t),r=t,a=s;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&D.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(L,M);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!L.test(e)){let n=e.replace(N,P);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}a=y}return new a(r,t)}(e,n);if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;a=r}else a="boolean"==typeof r?r:"string"==typeof r?i.spaceSeparated?(0,F.Q)(r):i.commaSeparated?(0,I.Q)(r):i.commaOrSpaceSeparated?(0,F.Q)((0,I.Q)(r).join(" ")):j(i,i.property,r):Array.isArray(r)?[...r]:"style"===i.property?function(e){let t=[];for(let[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}(r):String(r);if(Array.isArray(a)){let e=[];for(let t of a)e.push(j(i,i.property,t));a=e}"className"===i.property&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}(e,l.properties,t,n)}for(let e of i)!function e(t,n){if(null==n);else if("number"==typeof n||"string"==typeof n)t.push({type:"text",value:String(n)});else if(Array.isArray(n))for(let r of n)e(t,r);else if("object"==typeof n&&"type"in n)"root"===n.type?e(t,n.children):t.push(n);else throw Error("Expected node, nodes, or string, got `"+n+"`")}(l.children,e);return"element"===l.type&&"template"===l.tagName&&(l.content={type:"root",children:l.children},l.children=[]),l}}function j(e,t,n){if("string"==typeof n){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(""===n||o(n)===o(t)))return!0}return n}let U=B(C,"div"),G=B(w,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]);var H=n(49911);function $(e,t){let n=function(e,t){switch(e.nodeType){case 1:return function(e,t){let n=e.namespaceURI,r=n===H.t.svg?G:U,a=n===H.t.html?e.tagName.toLowerCase():e.tagName,i=n===H.t.html&&"template"===a?e.content:e,o=e.getAttributeNames(),s={},l=-1;for(;++ln&&(n=e):e&&(void 0!==n&&n>-1&&l.push("\n".repeat(n)||" "),n=-1,l.push(e))}return l.join("")}(d,{whitespace:"pre"});try{a=es.ZP.renderToString(p,{...t,displayMode:c,throwOnError:!0})}catch(o){let i=o.name.toLowerCase();n.message("Could not render math with KaTeX",{ancestors:[...r,e],cause:o,place:e.position,ruleId:i,source:"rehype-katex"});try{a=es.ZP.renderToString(p,{...t,displayMode:c,strict:"ignore",throwOnError:!1})}catch{a=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(o)},children:[{type:"text",value:p}]}]}}if("string"==typeof a){let e=function(e,t){let n=t?.fragment?function(e){let t=document.createElement("template");return t.innerHTML=e,t.content}(e):Z.parseFromString(e,"text/html");return $(n,{})||{type:"root",children:[]}}(a,{fragment:!0});a=e.children}let f=u.children.indexOf(d);return u.children.splice(f,1,...a),el.AM})}}},12384:function(e,t,n){"use strict";n.d(t,{Z:function(){return tJ}});var r,a,i,o,s,l,c,u,d,p,f,h,g,m,b,y,E,v,T,S,A,O,_=n(52835),k=n(24345),x=n(91634),C=n(25668),w=n(86676),I=n(26103),R=n(28051),N=n(50342);let L=new Set(["button","menu","reset","submit"]),D={}.hasOwnProperty;function P(e,t,n){let r=n&&function(e){let t={},n=-1;for(;++n1?n[e.line-2]:0)+e.column-1;if(r-1&&e<=t.length){let r=0;for(;;){let a=n[r];if(void 0===a){let e=j(t,n[r-1]);a=-1===e?t.length+1:e+1,n[r]=a}if(a>e)return{line:r+1,column:e-(r>0?n[r-1]:0)+1,offset:e};r++}}}}}(t),a=r.toPoint(0),i=r.toPoint(t.length);(0,k.ok)(a,"expected `start`"),(0,k.ok)(i,"expected `end`"),n.position={start:a,end:i}}return n}case"#documentType":return Z(e,t,n={type:"doctype"}),n;case"#text":return n={type:"text",value:t.value},Z(e,t,n),n;default:return function(e,t){let n=e.schema;e.schema=t.namespaceURI===U.t.svg?x.YP:x.dy;let r=-1,a={};for(;++r=55296&&e<=57343}function ei(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function eo(e){return e>=64976&&e<=65007||en.has(e)}(a=g=g||(g={})).controlCharacterInInputStream="control-character-in-input-stream",a.noncharacterInInputStream="noncharacter-in-input-stream",a.surrogateInInputStream="surrogate-in-input-stream",a.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",a.endTagWithAttributes="end-tag-with-attributes",a.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",a.unexpectedSolidusInTag="unexpected-solidus-in-tag",a.unexpectedNullCharacter="unexpected-null-character",a.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",a.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",a.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",a.missingEndTagName="missing-end-tag-name",a.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",a.unknownNamedCharacterReference="unknown-named-character-reference",a.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",a.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",a.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",a.eofBeforeTagName="eof-before-tag-name",a.eofInTag="eof-in-tag",a.missingAttributeValue="missing-attribute-value",a.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",a.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",a.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",a.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",a.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",a.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",a.missingDoctypePublicIdentifier="missing-doctype-public-identifier",a.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",a.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",a.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",a.cdataInHtmlContent="cdata-in-html-content",a.incorrectlyOpenedComment="incorrectly-opened-comment",a.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",a.eofInDoctype="eof-in-doctype",a.nestedComment="nested-comment",a.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",a.eofInComment="eof-in-comment",a.incorrectlyClosedComment="incorrectly-closed-comment",a.eofInCdata="eof-in-cdata",a.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",a.nullCharacterReference="null-character-reference",a.surrogateCharacterReference="surrogate-character-reference",a.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",a.controlCharacterReference="control-character-reference",a.noncharacterCharacterReference="noncharacter-character-reference",a.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",a.missingDoctypeName="missing-doctype-name",a.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",a.duplicateAttribute="duplicate-attribute",a.nonConformingDoctype="non-conforming-doctype",a.missingDoctype="missing-doctype",a.misplacedDoctype="misplaced-doctype",a.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",a.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",a.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",a.openElementsLeftAfterEof="open-elements-left-after-eof",a.abandonedHeadElementChild="abandoned-head-element-child",a.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",a.nestedNoscriptInHead="nested-noscript-in-head",a.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text";class es{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e){let{line:t,col:n,offset:r}=this;return{code:e,startLine:t,endLine:t,startCol:n,endCol:n,startOffset:r,endOffset:r}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let t=this.html.charCodeAt(this.pos+1);if(t>=56320&&t<=57343)return this.pos++,this._addGap(),(e-55296)*1024+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,h.EOF;return this._err(g.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,h.EOF;let n=this.html.charCodeAt(t);return n===h.CARRIAGE_RETURN?h.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,h.EOF;let e=this.html.charCodeAt(this.pos);if(e===h.CARRIAGE_RETURN)return this.isEol=!0,this.skipNextNewLine=!0,h.LINE_FEED;if(e===h.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine))return this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance();this.skipNextNewLine=!1,ea(e)&&(e=this._processSurrogate(e));let t=null===this.handler.onParseError||e>31&&e<127||e===h.LINE_FEED||e===h.CARRIAGE_RETURN||e>159&&e<64976;return t||this._checkForProblematicCharacters(e),e}_checkForProblematicCharacters(e){ei(e)?this._err(g.controlCharacterInInputStream):eo(e)&&this._err(g.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}(i=m=m||(m={}))[i.CHARACTER=0]="CHARACTER",i[i.NULL_CHARACTER=1]="NULL_CHARACTER",i[i.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",i[i.START_TAG=3]="START_TAG",i[i.END_TAG=4]="END_TAG",i[i.COMMENT=5]="COMMENT",i[i.DOCTYPE=6]="DOCTYPE",i[i.EOF=7]="EOF",i[i.HIBERNATION=8]="HIBERNATION";var ec=n(60411);(o=b=b||(b={})).HTML="http://www.w3.org/1999/xhtml",o.MATHML="http://www.w3.org/1998/Math/MathML",o.SVG="http://www.w3.org/2000/svg",o.XLINK="http://www.w3.org/1999/xlink",o.XML="http://www.w3.org/XML/1998/namespace",o.XMLNS="http://www.w3.org/2000/xmlns/",(s=y=y||(y={})).TYPE="type",s.ACTION="action",s.ENCODING="encoding",s.PROMPT="prompt",s.NAME="name",s.COLOR="color",s.FACE="face",s.SIZE="size",(l=E=E||(E={})).NO_QUIRKS="no-quirks",l.QUIRKS="quirks",l.LIMITED_QUIRKS="limited-quirks",(c=v=v||(v={})).A="a",c.ADDRESS="address",c.ANNOTATION_XML="annotation-xml",c.APPLET="applet",c.AREA="area",c.ARTICLE="article",c.ASIDE="aside",c.B="b",c.BASE="base",c.BASEFONT="basefont",c.BGSOUND="bgsound",c.BIG="big",c.BLOCKQUOTE="blockquote",c.BODY="body",c.BR="br",c.BUTTON="button",c.CAPTION="caption",c.CENTER="center",c.CODE="code",c.COL="col",c.COLGROUP="colgroup",c.DD="dd",c.DESC="desc",c.DETAILS="details",c.DIALOG="dialog",c.DIR="dir",c.DIV="div",c.DL="dl",c.DT="dt",c.EM="em",c.EMBED="embed",c.FIELDSET="fieldset",c.FIGCAPTION="figcaption",c.FIGURE="figure",c.FONT="font",c.FOOTER="footer",c.FOREIGN_OBJECT="foreignObject",c.FORM="form",c.FRAME="frame",c.FRAMESET="frameset",c.H1="h1",c.H2="h2",c.H3="h3",c.H4="h4",c.H5="h5",c.H6="h6",c.HEAD="head",c.HEADER="header",c.HGROUP="hgroup",c.HR="hr",c.HTML="html",c.I="i",c.IMG="img",c.IMAGE="image",c.INPUT="input",c.IFRAME="iframe",c.KEYGEN="keygen",c.LABEL="label",c.LI="li",c.LINK="link",c.LISTING="listing",c.MAIN="main",c.MALIGNMARK="malignmark",c.MARQUEE="marquee",c.MATH="math",c.MENU="menu",c.META="meta",c.MGLYPH="mglyph",c.MI="mi",c.MO="mo",c.MN="mn",c.MS="ms",c.MTEXT="mtext",c.NAV="nav",c.NOBR="nobr",c.NOFRAMES="noframes",c.NOEMBED="noembed",c.NOSCRIPT="noscript",c.OBJECT="object",c.OL="ol",c.OPTGROUP="optgroup",c.OPTION="option",c.P="p",c.PARAM="param",c.PLAINTEXT="plaintext",c.PRE="pre",c.RB="rb",c.RP="rp",c.RT="rt",c.RTC="rtc",c.RUBY="ruby",c.S="s",c.SCRIPT="script",c.SECTION="section",c.SELECT="select",c.SOURCE="source",c.SMALL="small",c.SPAN="span",c.STRIKE="strike",c.STRONG="strong",c.STYLE="style",c.SUB="sub",c.SUMMARY="summary",c.SUP="sup",c.TABLE="table",c.TBODY="tbody",c.TEMPLATE="template",c.TEXTAREA="textarea",c.TFOOT="tfoot",c.TD="td",c.TH="th",c.THEAD="thead",c.TITLE="title",c.TR="tr",c.TRACK="track",c.TT="tt",c.U="u",c.UL="ul",c.SVG="svg",c.VAR="var",c.WBR="wbr",c.XMP="xmp",(u=T=T||(T={}))[u.UNKNOWN=0]="UNKNOWN",u[u.A=1]="A",u[u.ADDRESS=2]="ADDRESS",u[u.ANNOTATION_XML=3]="ANNOTATION_XML",u[u.APPLET=4]="APPLET",u[u.AREA=5]="AREA",u[u.ARTICLE=6]="ARTICLE",u[u.ASIDE=7]="ASIDE",u[u.B=8]="B",u[u.BASE=9]="BASE",u[u.BASEFONT=10]="BASEFONT",u[u.BGSOUND=11]="BGSOUND",u[u.BIG=12]="BIG",u[u.BLOCKQUOTE=13]="BLOCKQUOTE",u[u.BODY=14]="BODY",u[u.BR=15]="BR",u[u.BUTTON=16]="BUTTON",u[u.CAPTION=17]="CAPTION",u[u.CENTER=18]="CENTER",u[u.CODE=19]="CODE",u[u.COL=20]="COL",u[u.COLGROUP=21]="COLGROUP",u[u.DD=22]="DD",u[u.DESC=23]="DESC",u[u.DETAILS=24]="DETAILS",u[u.DIALOG=25]="DIALOG",u[u.DIR=26]="DIR",u[u.DIV=27]="DIV",u[u.DL=28]="DL",u[u.DT=29]="DT",u[u.EM=30]="EM",u[u.EMBED=31]="EMBED",u[u.FIELDSET=32]="FIELDSET",u[u.FIGCAPTION=33]="FIGCAPTION",u[u.FIGURE=34]="FIGURE",u[u.FONT=35]="FONT",u[u.FOOTER=36]="FOOTER",u[u.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",u[u.FORM=38]="FORM",u[u.FRAME=39]="FRAME",u[u.FRAMESET=40]="FRAMESET",u[u.H1=41]="H1",u[u.H2=42]="H2",u[u.H3=43]="H3",u[u.H4=44]="H4",u[u.H5=45]="H5",u[u.H6=46]="H6",u[u.HEAD=47]="HEAD",u[u.HEADER=48]="HEADER",u[u.HGROUP=49]="HGROUP",u[u.HR=50]="HR",u[u.HTML=51]="HTML",u[u.I=52]="I",u[u.IMG=53]="IMG",u[u.IMAGE=54]="IMAGE",u[u.INPUT=55]="INPUT",u[u.IFRAME=56]="IFRAME",u[u.KEYGEN=57]="KEYGEN",u[u.LABEL=58]="LABEL",u[u.LI=59]="LI",u[u.LINK=60]="LINK",u[u.LISTING=61]="LISTING",u[u.MAIN=62]="MAIN",u[u.MALIGNMARK=63]="MALIGNMARK",u[u.MARQUEE=64]="MARQUEE",u[u.MATH=65]="MATH",u[u.MENU=66]="MENU",u[u.META=67]="META",u[u.MGLYPH=68]="MGLYPH",u[u.MI=69]="MI",u[u.MO=70]="MO",u[u.MN=71]="MN",u[u.MS=72]="MS",u[u.MTEXT=73]="MTEXT",u[u.NAV=74]="NAV",u[u.NOBR=75]="NOBR",u[u.NOFRAMES=76]="NOFRAMES",u[u.NOEMBED=77]="NOEMBED",u[u.NOSCRIPT=78]="NOSCRIPT",u[u.OBJECT=79]="OBJECT",u[u.OL=80]="OL",u[u.OPTGROUP=81]="OPTGROUP",u[u.OPTION=82]="OPTION",u[u.P=83]="P",u[u.PARAM=84]="PARAM",u[u.PLAINTEXT=85]="PLAINTEXT",u[u.PRE=86]="PRE",u[u.RB=87]="RB",u[u.RP=88]="RP",u[u.RT=89]="RT",u[u.RTC=90]="RTC",u[u.RUBY=91]="RUBY",u[u.S=92]="S",u[u.SCRIPT=93]="SCRIPT",u[u.SECTION=94]="SECTION",u[u.SELECT=95]="SELECT",u[u.SOURCE=96]="SOURCE",u[u.SMALL=97]="SMALL",u[u.SPAN=98]="SPAN",u[u.STRIKE=99]="STRIKE",u[u.STRONG=100]="STRONG",u[u.STYLE=101]="STYLE",u[u.SUB=102]="SUB",u[u.SUMMARY=103]="SUMMARY",u[u.SUP=104]="SUP",u[u.TABLE=105]="TABLE",u[u.TBODY=106]="TBODY",u[u.TEMPLATE=107]="TEMPLATE",u[u.TEXTAREA=108]="TEXTAREA",u[u.TFOOT=109]="TFOOT",u[u.TD=110]="TD",u[u.TH=111]="TH",u[u.THEAD=112]="THEAD",u[u.TITLE=113]="TITLE",u[u.TR=114]="TR",u[u.TRACK=115]="TRACK",u[u.TT=116]="TT",u[u.U=117]="U",u[u.UL=118]="UL",u[u.SVG=119]="SVG",u[u.VAR=120]="VAR",u[u.WBR=121]="WBR",u[u.XMP=122]="XMP";let eu=new Map([[v.A,T.A],[v.ADDRESS,T.ADDRESS],[v.ANNOTATION_XML,T.ANNOTATION_XML],[v.APPLET,T.APPLET],[v.AREA,T.AREA],[v.ARTICLE,T.ARTICLE],[v.ASIDE,T.ASIDE],[v.B,T.B],[v.BASE,T.BASE],[v.BASEFONT,T.BASEFONT],[v.BGSOUND,T.BGSOUND],[v.BIG,T.BIG],[v.BLOCKQUOTE,T.BLOCKQUOTE],[v.BODY,T.BODY],[v.BR,T.BR],[v.BUTTON,T.BUTTON],[v.CAPTION,T.CAPTION],[v.CENTER,T.CENTER],[v.CODE,T.CODE],[v.COL,T.COL],[v.COLGROUP,T.COLGROUP],[v.DD,T.DD],[v.DESC,T.DESC],[v.DETAILS,T.DETAILS],[v.DIALOG,T.DIALOG],[v.DIR,T.DIR],[v.DIV,T.DIV],[v.DL,T.DL],[v.DT,T.DT],[v.EM,T.EM],[v.EMBED,T.EMBED],[v.FIELDSET,T.FIELDSET],[v.FIGCAPTION,T.FIGCAPTION],[v.FIGURE,T.FIGURE],[v.FONT,T.FONT],[v.FOOTER,T.FOOTER],[v.FOREIGN_OBJECT,T.FOREIGN_OBJECT],[v.FORM,T.FORM],[v.FRAME,T.FRAME],[v.FRAMESET,T.FRAMESET],[v.H1,T.H1],[v.H2,T.H2],[v.H3,T.H3],[v.H4,T.H4],[v.H5,T.H5],[v.H6,T.H6],[v.HEAD,T.HEAD],[v.HEADER,T.HEADER],[v.HGROUP,T.HGROUP],[v.HR,T.HR],[v.HTML,T.HTML],[v.I,T.I],[v.IMG,T.IMG],[v.IMAGE,T.IMAGE],[v.INPUT,T.INPUT],[v.IFRAME,T.IFRAME],[v.KEYGEN,T.KEYGEN],[v.LABEL,T.LABEL],[v.LI,T.LI],[v.LINK,T.LINK],[v.LISTING,T.LISTING],[v.MAIN,T.MAIN],[v.MALIGNMARK,T.MALIGNMARK],[v.MARQUEE,T.MARQUEE],[v.MATH,T.MATH],[v.MENU,T.MENU],[v.META,T.META],[v.MGLYPH,T.MGLYPH],[v.MI,T.MI],[v.MO,T.MO],[v.MN,T.MN],[v.MS,T.MS],[v.MTEXT,T.MTEXT],[v.NAV,T.NAV],[v.NOBR,T.NOBR],[v.NOFRAMES,T.NOFRAMES],[v.NOEMBED,T.NOEMBED],[v.NOSCRIPT,T.NOSCRIPT],[v.OBJECT,T.OBJECT],[v.OL,T.OL],[v.OPTGROUP,T.OPTGROUP],[v.OPTION,T.OPTION],[v.P,T.P],[v.PARAM,T.PARAM],[v.PLAINTEXT,T.PLAINTEXT],[v.PRE,T.PRE],[v.RB,T.RB],[v.RP,T.RP],[v.RT,T.RT],[v.RTC,T.RTC],[v.RUBY,T.RUBY],[v.S,T.S],[v.SCRIPT,T.SCRIPT],[v.SECTION,T.SECTION],[v.SELECT,T.SELECT],[v.SOURCE,T.SOURCE],[v.SMALL,T.SMALL],[v.SPAN,T.SPAN],[v.STRIKE,T.STRIKE],[v.STRONG,T.STRONG],[v.STYLE,T.STYLE],[v.SUB,T.SUB],[v.SUMMARY,T.SUMMARY],[v.SUP,T.SUP],[v.TABLE,T.TABLE],[v.TBODY,T.TBODY],[v.TEMPLATE,T.TEMPLATE],[v.TEXTAREA,T.TEXTAREA],[v.TFOOT,T.TFOOT],[v.TD,T.TD],[v.TH,T.TH],[v.THEAD,T.THEAD],[v.TITLE,T.TITLE],[v.TR,T.TR],[v.TRACK,T.TRACK],[v.TT,T.TT],[v.U,T.U],[v.UL,T.UL],[v.SVG,T.SVG],[v.VAR,T.VAR],[v.WBR,T.WBR],[v.XMP,T.XMP]]);function ed(e){var t;return null!==(t=eu.get(e))&&void 0!==t?t:T.UNKNOWN}let ep=T,ef={[b.HTML]:new Set([ep.ADDRESS,ep.APPLET,ep.AREA,ep.ARTICLE,ep.ASIDE,ep.BASE,ep.BASEFONT,ep.BGSOUND,ep.BLOCKQUOTE,ep.BODY,ep.BR,ep.BUTTON,ep.CAPTION,ep.CENTER,ep.COL,ep.COLGROUP,ep.DD,ep.DETAILS,ep.DIR,ep.DIV,ep.DL,ep.DT,ep.EMBED,ep.FIELDSET,ep.FIGCAPTION,ep.FIGURE,ep.FOOTER,ep.FORM,ep.FRAME,ep.FRAMESET,ep.H1,ep.H2,ep.H3,ep.H4,ep.H5,ep.H6,ep.HEAD,ep.HEADER,ep.HGROUP,ep.HR,ep.HTML,ep.IFRAME,ep.IMG,ep.INPUT,ep.LI,ep.LINK,ep.LISTING,ep.MAIN,ep.MARQUEE,ep.MENU,ep.META,ep.NAV,ep.NOEMBED,ep.NOFRAMES,ep.NOSCRIPT,ep.OBJECT,ep.OL,ep.P,ep.PARAM,ep.PLAINTEXT,ep.PRE,ep.SCRIPT,ep.SECTION,ep.SELECT,ep.SOURCE,ep.STYLE,ep.SUMMARY,ep.TABLE,ep.TBODY,ep.TD,ep.TEMPLATE,ep.TEXTAREA,ep.TFOOT,ep.TH,ep.THEAD,ep.TITLE,ep.TR,ep.TRACK,ep.UL,ep.WBR,ep.XMP]),[b.MATHML]:new Set([ep.MI,ep.MO,ep.MN,ep.MS,ep.MTEXT,ep.ANNOTATION_XML]),[b.SVG]:new Set([ep.TITLE,ep.FOREIGN_OBJECT,ep.DESC]),[b.XLINK]:new Set,[b.XML]:new Set,[b.XMLNS]:new Set};function eh(e){return e===ep.H1||e===ep.H2||e===ep.H3||e===ep.H4||e===ep.H5||e===ep.H6}v.STYLE,v.SCRIPT,v.XMP,v.IFRAME,v.NOEMBED,v.NOFRAMES,v.PLAINTEXT;let eg=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);(d=S||(S={}))[d.DATA=0]="DATA",d[d.RCDATA=1]="RCDATA",d[d.RAWTEXT=2]="RAWTEXT",d[d.SCRIPT_DATA=3]="SCRIPT_DATA",d[d.PLAINTEXT=4]="PLAINTEXT",d[d.TAG_OPEN=5]="TAG_OPEN",d[d.END_TAG_OPEN=6]="END_TAG_OPEN",d[d.TAG_NAME=7]="TAG_NAME",d[d.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",d[d.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",d[d.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",d[d.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",d[d.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",d[d.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",d[d.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",d[d.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",d[d.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",d[d.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",d[d.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",d[d.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",d[d.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",d[d.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",d[d.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",d[d.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",d[d.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",d[d.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",d[d.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",d[d.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",d[d.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",d[d.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",d[d.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",d[d.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",d[d.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",d[d.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",d[d.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",d[d.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",d[d.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",d[d.BOGUS_COMMENT=40]="BOGUS_COMMENT",d[d.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",d[d.COMMENT_START=42]="COMMENT_START",d[d.COMMENT_START_DASH=43]="COMMENT_START_DASH",d[d.COMMENT=44]="COMMENT",d[d.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",d[d.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",d[d.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",d[d.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",d[d.COMMENT_END_DASH=49]="COMMENT_END_DASH",d[d.COMMENT_END=50]="COMMENT_END",d[d.COMMENT_END_BANG=51]="COMMENT_END_BANG",d[d.DOCTYPE=52]="DOCTYPE",d[d.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",d[d.DOCTYPE_NAME=54]="DOCTYPE_NAME",d[d.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",d[d.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",d[d.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",d[d.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",d[d.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",d[d.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",d[d.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",d[d.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",d[d.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",d[d.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",d[d.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",d[d.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",d[d.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",d[d.CDATA_SECTION=68]="CDATA_SECTION",d[d.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",d[d.CDATA_SECTION_END=70]="CDATA_SECTION_END",d[d.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",d[d.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",d[d.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",d[d.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",d[d.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",d[d.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",d[d.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",d[d.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END";let em={DATA:S.DATA,RCDATA:S.RCDATA,RAWTEXT:S.RAWTEXT,SCRIPT_DATA:S.SCRIPT_DATA,PLAINTEXT:S.PLAINTEXT,CDATA_SECTION:S.CDATA_SECTION};function eb(e){return e>=h.DIGIT_0&&e<=h.DIGIT_9}function ey(e){return e>=h.LATIN_CAPITAL_A&&e<=h.LATIN_CAPITAL_Z}function eE(e){return e>=h.LATIN_SMALL_A&&e<=h.LATIN_SMALL_Z||ey(e)}function ev(e){return eE(e)||eb(e)}function eT(e){return e>=h.LATIN_CAPITAL_A&&e<=h.LATIN_CAPITAL_F}function eS(e){return e>=h.LATIN_SMALL_A&&e<=h.LATIN_SMALL_F}function eA(e){return e===h.SPACE||e===h.LINE_FEED||e===h.TABULATION||e===h.FORM_FEED}function eO(e){return eA(e)||e===h.SOLIDUS||e===h.GREATER_THAN_SIGN}class e_{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=S.DATA,this.returnState=S.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new es(t),this.currentLocation=this.getCurrentLocation(-1)}_err(e){var t,n;null===(n=(t=this.handler).onParseError)||void 0===n||n.call(t,this.preprocessor.getError(e))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw Error("Parser was already resumed");this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(e){this.consumedAfterSnapshot-=e,this.preprocessor.retreat(e)}_reconsumeInState(e,t){this.state=e,this._callState(t)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t0&&this._err(g.endTagWithAttributes),e.selfClosing&&this._err(g.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case m.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case m.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case m.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:m.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type!==e)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=t;return}}this._createCharacterToken(e,t)}_emitCodePoint(e){let t=eA(e)?m.WHITESPACE_CHARACTER:e===h.NULL?m.NULL_CHARACTER:m.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(m.CHARACTER,e)}_matchNamedCharacterReference(e){let t=null,n=0,r=!1;for(let i=0,o=ec.HP[0];i>=0&&!((i=(0,ec.Go)(ec.HP,o,i+1,e))<0);e=this._consume()){n+=1,o=ec.HP[i];let s=o&ec.ge.VALUE_LENGTH;if(s){var a;let o=(s>>14)-1;if(e!==h.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((a=this.preprocessor.peek(1))===h.EQUALS_SIGN||ev(a))?(t=[h.AMPERSAND],i+=o):(t=0===o?[ec.HP[i]&~ec.ge.VALUE_LENGTH]:1===o?[ec.HP[++i]]:[ec.HP[++i],ec.HP[++i]],n=0,r=e!==h.SEMICOLON),0===o){this._consume();break}}}return this._unconsume(n),r&&!this.preprocessor.endOfChunkHit&&this._err(g.missingSemicolonAfterCharacterReference),this._unconsume(1),t}_isCharacterReferenceInAttribute(){return this.returnState===S.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case S.DATA:this._stateData(e);break;case S.RCDATA:this._stateRcdata(e);break;case S.RAWTEXT:this._stateRawtext(e);break;case S.SCRIPT_DATA:this._stateScriptData(e);break;case S.PLAINTEXT:this._statePlaintext(e);break;case S.TAG_OPEN:this._stateTagOpen(e);break;case S.END_TAG_OPEN:this._stateEndTagOpen(e);break;case S.TAG_NAME:this._stateTagName(e);break;case S.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case S.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case S.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case S.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case S.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case S.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case S.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case S.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case S.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case S.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case S.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case S.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case S.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case S.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case S.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case S.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case S.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case S.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case S.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case S.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case S.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case S.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case S.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case S.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case S.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case S.BOGUS_COMMENT:this._stateBogusComment(e);break;case S.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case S.COMMENT_START:this._stateCommentStart(e);break;case S.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case S.COMMENT:this._stateComment(e);break;case S.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case S.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case S.COMMENT_END:this._stateCommentEnd(e);break;case S.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case S.DOCTYPE:this._stateDoctype(e);break;case S.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case S.DOCTYPE_NAME:this._stateDoctypeName(e);break;case S.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case S.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case S.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case S.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case S.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case S.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case S.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case S.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case S.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case S.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case S.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case S.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case S.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case S.CDATA_SECTION:this._stateCdataSection(e);break;case S.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case S.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case S.CHARACTER_REFERENCE:this._stateCharacterReference(e);break;case S.NAMED_CHARACTER_REFERENCE:this._stateNamedCharacterReference(e);break;case S.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;case S.NUMERIC_CHARACTER_REFERENCE:this._stateNumericCharacterReference(e);break;case S.HEXADEMICAL_CHARACTER_REFERENCE_START:this._stateHexademicalCharacterReferenceStart(e);break;case S.HEXADEMICAL_CHARACTER_REFERENCE:this._stateHexademicalCharacterReference(e);break;case S.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(e);break;case S.NUMERIC_CHARACTER_REFERENCE_END:this._stateNumericCharacterReferenceEnd(e);break;default:throw Error("Unknown state")}}_stateData(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.TAG_OPEN;break;case h.AMPERSAND:this.returnState=S.DATA,this.state=S.CHARACTER_REFERENCE;break;case h.NULL:this._err(g.unexpectedNullCharacter),this._emitCodePoint(e);break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case h.AMPERSAND:this.returnState=S.RCDATA,this.state=S.CHARACTER_REFERENCE;break;case h.LESS_THAN_SIGN:this.state=S.RCDATA_LESS_THAN_SIGN;break;case h.NULL:this._err(g.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.RAWTEXT_LESS_THAN_SIGN;break;case h.NULL:this._err(g.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.SCRIPT_DATA_LESS_THAN_SIGN;break;case h.NULL:this._err(g.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case h.NULL:this._err(g.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(eE(e))this._createStartTagToken(),this.state=S.TAG_NAME,this._stateTagName(e);else switch(e){case h.EXCLAMATION_MARK:this.state=S.MARKUP_DECLARATION_OPEN;break;case h.SOLIDUS:this.state=S.END_TAG_OPEN;break;case h.QUESTION_MARK:this._err(g.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=S.BOGUS_COMMENT,this._stateBogusComment(e);break;case h.EOF:this._err(g.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(g.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=S.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(eE(e))this._createEndTagToken(),this.state=S.TAG_NAME,this._stateTagName(e);else switch(e){case h.GREATER_THAN_SIGN:this._err(g.missingEndTagName),this.state=S.DATA;break;case h.EOF:this._err(g.eofBeforeTagName),this._emitChars("");break;case h.NULL:this._err(g.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case h.EOF:this._err(g.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===h.SOLIDUS?this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:eE(e)?(this._emitChars("<"),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=S.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){eE(e)?(this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("");break;case h.NULL:this._err(g.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case h.EOF:this._err(g.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===h.SOLIDUS?(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(er.SCRIPT,!1)&&eO(this.preprocessor.peek(er.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e1114111)this._err(g.characterReferenceOutsideUnicodeRange),this.charRefCode=h.REPLACEMENT_CHARACTER;else if(ea(this.charRefCode))this._err(g.surrogateCharacterReference),this.charRefCode=h.REPLACEMENT_CHARACTER;else if(eo(this.charRefCode))this._err(g.noncharacterCharacterReference);else if(ei(this.charRefCode)||this.charRefCode===h.CARRIAGE_RETURN){this._err(g.controlCharacterReference);let e=eg.get(this.charRefCode);void 0!==e&&(this.charRefCode=e)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}}let ek=new Set([T.DD,T.DT,T.LI,T.OPTGROUP,T.OPTION,T.P,T.RB,T.RP,T.RT,T.RTC]),ex=new Set([...ek,T.CAPTION,T.COLGROUP,T.TBODY,T.TD,T.TFOOT,T.TH,T.THEAD,T.TR]),eC=new Map([[T.APPLET,b.HTML],[T.CAPTION,b.HTML],[T.HTML,b.HTML],[T.MARQUEE,b.HTML],[T.OBJECT,b.HTML],[T.TABLE,b.HTML],[T.TD,b.HTML],[T.TEMPLATE,b.HTML],[T.TH,b.HTML],[T.ANNOTATION_XML,b.MATHML],[T.MI,b.MATHML],[T.MN,b.MATHML],[T.MO,b.MATHML],[T.MS,b.MATHML],[T.MTEXT,b.MATHML],[T.DESC,b.SVG],[T.FOREIGN_OBJECT,b.SVG],[T.TITLE,b.SVG]]),ew=[T.H1,T.H2,T.H3,T.H4,T.H5,T.H6],eI=[T.TR,T.TEMPLATE,T.HTML],eR=[T.TBODY,T.TFOOT,T.THEAD,T.TEMPLATE,T.HTML],eN=[T.TABLE,T.TEMPLATE,T.HTML],eL=[T.TD,T.TH];class eD{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=T.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===T.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===b.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){let r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==b.HTML);this.shortenToLength(t<0?0:t)}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop=0;n--)if(e.includes(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return -1}clearBackTo(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(eN,b.HTML)}clearBackToTableBodyContext(){this.clearBackTo(eR,b.HTML)}clearBackToTableRowContext(){this.clearBackTo(eI,b.HTML)}remove(e){let t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===T.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===T.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(eC.get(n)===r)return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(eh(t)&&n===b.HTML)break;if(eC.get(t)===n)return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if((n===T.UL||n===T.OL)&&r===b.HTML||eC.get(n)===r)return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(n===T.BUTTON&&r===b.HTML||eC.get(n)===r)return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n===T.TABLE||n===T.TEMPLATE||n===T.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(n===b.HTML){if(t===T.TBODY||t===T.THEAD||t===T.TFOOT)break;if(t===T.TABLE||t===T.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n!==T.OPTION&&n!==T.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;ek.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;ex.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&ex.has(this.currentTagId);)this.pop()}}(p=A=A||(A={}))[p.Marker=0]="Marker",p[p.Element=1]="Element";let eP={type:A.Marker};class eM{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let n=[],r=t.length,a=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let e=0;e[e.name,e.value])),a=0;for(let e=0;er.get(e.name)===e.value)&&(a+=1)>=3&&this.entries.splice(t.idx,1)}}insertMarker(){this.entries.unshift(eP)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:A.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:A.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);t>=0&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(eP);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===A.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===A.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===A.Element&&t.element===e)}}function eF(e){return{nodeName:"#text",value:e,parentNode:null}}let eB={createDocument:()=>({nodeName:"#document",mode:E.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){let r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,n,r){let a=e.childNodes.find(e=>"#documentType"===e.nodeName);a?(a.name=t,a.publicId=n,a.systemId=r):eB.appendChild(e,{nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null})},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let n=e.childNodes[e.childNodes.length-1];if(eB.isTextNode(n)){n.value+=t;return}}eB.appendChild(e,eF(t))},insertTextBefore(e,t,n){let r=e.childNodes[e.childNodes.indexOf(n)-1];r&&eB.isTextNode(r)?r.value+=t:eB.insertBefore(e,eF(t),n)},adoptAttributes(e,t){let n=new Set(e.attrs.map(e=>e.name));for(let r=0;re.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},ej="html",eU=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],eG=[...eU,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],eH=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),e$=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],ez=[...e$,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function eZ(e,t){return t.some(t=>e.startsWith(t))}let eW={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},eV=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),eY=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:b.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:b.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:b.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:b.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:b.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:b.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:b.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:b.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:b.XML}],["xml:space",{prefix:"xml",name:"space",namespace:b.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:b.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:b.XMLNS}]]),eq=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),eK=new Set([T.B,T.BIG,T.BLOCKQUOTE,T.BODY,T.BR,T.CENTER,T.CODE,T.DD,T.DIV,T.DL,T.DT,T.EM,T.EMBED,T.H1,T.H2,T.H3,T.H4,T.H5,T.H6,T.HEAD,T.HR,T.I,T.IMG,T.LI,T.LISTING,T.MENU,T.META,T.NOBR,T.OL,T.P,T.PRE,T.RUBY,T.S,T.SMALL,T.SPAN,T.STRONG,T.STRIKE,T.SUB,T.SUP,T.TABLE,T.TT,T.U,T.UL,T.VAR]);function eX(e){for(let t=0;t0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null===(r=(n=this.treeAdapter).onItemPop)||void 0===r||r.call(n,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let n=e===this.document||this.treeAdapter.getNamespaceURI(e)===b.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,b.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=O.TEXT}switchToPlaintextParsing(){this.insertionMode=O.TEXT,this.originalInsertionMode=O.IN_BODY,this.tokenizer.state=em.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===v.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===b.HTML)switch(this.fragmentContextID){case T.TITLE:case T.TEXTAREA:this.tokenizer.state=em.RCDATA;break;case T.STYLE:case T.XMP:case T.IFRAME:case T.NOEMBED:case T.NOFRAMES:case T.NOSCRIPT:this.tokenizer.state=em.RAWTEXT;break;case T.SCRIPT:this.tokenizer.state=em.SCRIPT_DATA;break;case T.PLAINTEXT:this.tokenizer.state=em.PLAINTEXT}}_setDocumentType(e){let t=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){let t=this.treeAdapter.getChildNodes(this.document),n=t.find(e=>this.treeAdapter.isDocumentTypeNode(e));n&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){let n=this.treeAdapter.createElement(e,b.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,b.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(v.HTML,b.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,T.HTML)}_appendCommentNode(e,t){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let r=this.treeAdapter.getChildNodes(t),a=n?r.lastIndexOf(n):r.length,i=r[a-1],o=this.treeAdapter.getNodeSourceCodeLocation(i);if(o){let{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let n=t.location,r=this.treeAdapter.getTagName(e),a=t.type===m.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,a)}}shouldProcessStartTagTokenInForeignContent(e){let t,n;return!!this.currentNotInHTML&&(0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):{current:t,currentTagId:n}=this.openElements,(e.tagID!==T.SVG||this.treeAdapter.getTagName(t)!==v.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==b.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===T.MGLYPH||e.tagID===T.MALIGNMARK)&&!this._isIntegrationPoint(n,t,b.HTML)))}_processToken(e){switch(e.type){case m.CHARACTER:this.onCharacter(e);break;case m.NULL_CHARACTER:this.onNullCharacter(e);break;case m.COMMENT:this.onComment(e);break;case m.DOCTYPE:this.onDoctype(e);break;case m.START_TAG:this._processStartTag(e);break;case m.END_TAG:this.onEndTag(e);break;case m.EOF:this.onEof(e);break;case m.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){let r=this.treeAdapter.getNamespaceURI(t),a=this.treeAdapter.getAttrList(t);return(!n||n===b.HTML)&&function(e,t,n){if(t===b.MATHML&&e===T.ANNOTATION_XML){for(let e=0;ee.type===A.Marker||this.openElements.contains(e.element)),n=t<0?e-1:t-1;for(let e=n;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=O.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(T.P),this.openElements.popUntilTagNamePopped(T.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case T.TR:this.insertionMode=O.IN_ROW;return;case T.TBODY:case T.THEAD:case T.TFOOT:this.insertionMode=O.IN_TABLE_BODY;return;case T.CAPTION:this.insertionMode=O.IN_CAPTION;return;case T.COLGROUP:this.insertionMode=O.IN_COLUMN_GROUP;return;case T.TABLE:this.insertionMode=O.IN_TABLE;return;case T.BODY:this.insertionMode=O.IN_BODY;return;case T.FRAMESET:this.insertionMode=O.IN_FRAMESET;return;case T.SELECT:this._resetInsertionModeForSelect(e);return;case T.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case T.HTML:this.insertionMode=this.headElement?O.AFTER_HEAD:O.BEFORE_HEAD;return;case T.TD:case T.TH:if(e>0){this.insertionMode=O.IN_CELL;return}break;case T.HEAD:if(e>0){this.insertionMode=O.IN_HEAD;return}}this.insertionMode=O.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===T.TEMPLATE)break;if(e===T.TABLE){this.insertionMode=O.IN_SELECT_IN_TABLE;return}}this.insertionMode=O.IN_SELECT}_isElementCausesFosterParenting(e){return e1.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case T.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===b.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case T.TABLE:{let n=this.treeAdapter.getParentNode(t);if(n)return{parent:n,beforeElement:t};return{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){let n=this.treeAdapter.getNamespaceURI(e);return ef[n].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){this._insertCharacters(e),this.framesetOk=!1;return}switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.IN_BODY:case O.IN_CAPTION:case O.IN_CELL:case O.IN_TEMPLATE:ts(this,e);break;case O.TEXT:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tm(this,e);break;case O.IN_TABLE_TEXT:tT(this,e);break;case O.IN_COLUMN_GROUP:t_(this,e);break;case O.AFTER_BODY:tD(this,e);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){e.chars="�",this._insertCharacters(e);return}switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.TEXT:this._insertCharacters(e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tm(this,e);break;case O.IN_COLUMN_GROUP:t_(this,e);break;case O.AFTER_BODY:tD(this,e);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){e4(this,e);return}switch(this.insertionMode){case O.INITIAL:case O.BEFORE_HTML:case O.BEFORE_HEAD:case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:case O.IN_BODY:case O.IN_TABLE:case O.IN_CAPTION:case O.IN_COLUMN_GROUP:case O.IN_TABLE_BODY:case O.IN_ROW:case O.IN_CELL:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:case O.IN_TEMPLATE:case O.IN_FRAMESET:case O.AFTER_FRAMESET:e4(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case O.INITIAL:!function(e,t){e._setDocumentType(t);let n=t.forceQuirks?E.QUIRKS:function(e){if(e.name!==ej)return E.QUIRKS;let{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return E.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),eH.has(n))return E.QUIRKS;let e=null===t?eG:eU;if(eZ(n,e))return E.QUIRKS;if(eZ(n,e=null===t?e$:ez))return E.LIMITED_QUIRKS}return E.NO_QUIRKS}(t);t.name===ej&&null===t.publicId&&(null===t.systemId||"about:legacy-compat"===t.systemId)||e._err(t,g.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=O.BEFORE_HTML}(this,e);break;case O.BEFORE_HEAD:case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:this._err(e,g.misplacedDoctype);break;case O.IN_TABLE_TEXT:tS(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,g.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){let t=e.tagID,n=t===T.FONT&&e.attrs.some(({name:e})=>e===y.COLOR||e===y.SIZE||e===y.FACE);return n||eK.has(t)}(t))tM(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===b.MATHML?eX(t):r===b.SVG&&(function(e){let t=eq.get(e.tagName);null!=t&&(e.tagName=t,e.tagID=ed(e.tagName))}(t),eQ(t)),eJ(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e.tagID===T.HTML?(this._insertElement(e,b.HTML),this.insertionMode=O.BEFORE_HEAD):e8(this,e);break;case O.BEFORE_HEAD:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.HEAD:e._insertElement(t,b.HTML),e.headElement=e.openElements.current,e.insertionMode=O.IN_HEAD;break;default:e7(e,t)}}(this,e);break;case O.IN_HEAD:te(this,e);break;case O.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BASEFONT:case T.BGSOUND:case T.HEAD:case T.LINK:case T.META:case T.NOFRAMES:case T.STYLE:te(e,t);break;case T.NOSCRIPT:e._err(t,g.nestedNoscriptInHead);break;default:tr(e,t)}}(this,e);break;case O.AFTER_HEAD:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BODY:e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=O.IN_BODY;break;case T.FRAMESET:e._insertElement(t,b.HTML),e.insertionMode=O.IN_FRAMESET;break;case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:e._err(t,g.abandonedHeadElementChild),e.openElements.push(e.headElement,T.HEAD),te(e,t),e.openElements.remove(e.headElement);break;case T.HEAD:e._err(t,g.misplacedStartTagForHeadElement);break;default:ta(e,t)}}(this,e);break;case O.IN_BODY:tp(this,e);break;case O.IN_TABLE:tb(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_CAPTION:!function(e,t){let n=t.tagID;tA.has(n)?e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_TABLE,tb(e,t)):tp(e,t)}(this,e);break;case O.IN_COLUMN_GROUP:tO(this,e);break;case O.IN_TABLE_BODY:tk(this,e);break;case O.IN_ROW:tC(this,e);break;case O.IN_CELL:!function(e,t){let n=t.tagID;tA.has(n)?(e.openElements.hasInTableScope(T.TD)||e.openElements.hasInTableScope(T.TH))&&(e._closeTableCell(),tC(e,t)):tp(e,t)}(this,e);break;case O.IN_SELECT:tI(this,e);break;case O.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e._processStartTag(t)):tI(e,t)}(this,e);break;case O.IN_TEMPLATE:!function(e,t){switch(t.tagID){case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:te(e,t);break;case T.CAPTION:case T.COLGROUP:case T.TBODY:case T.TFOOT:case T.THEAD:e.tmplInsertionModeStack[0]=O.IN_TABLE,e.insertionMode=O.IN_TABLE,tb(e,t);break;case T.COL:e.tmplInsertionModeStack[0]=O.IN_COLUMN_GROUP,e.insertionMode=O.IN_COLUMN_GROUP,tO(e,t);break;case T.TR:e.tmplInsertionModeStack[0]=O.IN_TABLE_BODY,e.insertionMode=O.IN_TABLE_BODY,tk(e,t);break;case T.TD:case T.TH:e.tmplInsertionModeStack[0]=O.IN_ROW,e.insertionMode=O.IN_ROW,tC(e,t);break;default:e.tmplInsertionModeStack[0]=O.IN_BODY,e.insertionMode=O.IN_BODY,tp(e,t)}}(this,e);break;case O.AFTER_BODY:e.tagID===T.HTML?tp(this,e):tD(this,e);break;case O.IN_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.FRAMESET:e._insertElement(t,b.HTML);break;case T.FRAME:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.NOFRAMES:te(e,t)}}(this,e);break;case O.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.NOFRAMES:te(e,t)}}(this,e);break;case O.AFTER_AFTER_BODY:e.tagID===T.HTML?tp(this,e):tP(this,e);break;case O.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.NOFRAMES:te(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===T.P||t.tagID===T.BR){tM(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){let r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===b.HTML){e._endTagOutsideForeignContent(t);break}let a=e.treeAdapter.getTagName(r);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){var t;switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:!function(e,t){let n=t.tagID;(n===T.HTML||n===T.HEAD||n===T.BODY||n===T.BR)&&e8(e,t)}(this,e);break;case O.BEFORE_HEAD:!function(e,t){let n=t.tagID;n===T.HEAD||n===T.BODY||n===T.HTML||n===T.BR?e7(e,t):e._err(t,g.endTagWithoutMatchingOpenElement)}(this,e);break;case O.IN_HEAD:!function(e,t){switch(t.tagID){case T.HEAD:e.openElements.pop(),e.insertionMode=O.AFTER_HEAD;break;case T.BODY:case T.BR:case T.HTML:tn(e,t);break;case T.TEMPLATE:tt(e,t);break;default:e._err(t,g.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case T.NOSCRIPT:e.openElements.pop(),e.insertionMode=O.IN_HEAD;break;case T.BR:tr(e,t);break;default:e._err(t,g.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.AFTER_HEAD:!function(e,t){switch(t.tagID){case T.BODY:case T.HTML:case T.BR:ta(e,t);break;case T.TEMPLATE:tt(e,t);break;default:e._err(t,g.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.IN_BODY:th(this,e);break;case O.TEXT:e.tagID===T.SCRIPT&&(null===(t=this.scriptHandler)||void 0===t||t.call(this,this.openElements.current)),this.openElements.pop(),this.insertionMode=this.originalInsertionMode;break;case O.IN_TABLE:ty(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_CAPTION:!function(e,t){let n=t.tagID;switch(n){case T.CAPTION:case T.TABLE:e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_TABLE,n===T.TABLE&&ty(e,t));break;case T.BODY:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:th(e,t)}}(this,e);break;case O.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case T.COLGROUP:e.openElements.currentTagId===T.COLGROUP&&(e.openElements.pop(),e.insertionMode=O.IN_TABLE);break;case T.TEMPLATE:tt(e,t);break;case T.COL:break;default:t_(e,t)}}(this,e);break;case O.IN_TABLE_BODY:tx(this,e);break;case O.IN_ROW:tw(this,e);break;case O.IN_CELL:!function(e,t){let n=t.tagID;switch(n){case T.TD:case T.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_ROW);break;case T.TABLE:case T.TBODY:case T.TFOOT:case T.THEAD:case T.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),tw(e,t));break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:break;default:th(e,t)}}(this,e);break;case O.IN_SELECT:tR(this,e);break;case O.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e.onEndTag(t)):tR(e,t)}(this,e);break;case O.IN_TEMPLATE:e.tagID===T.TEMPLATE&&tt(this,e);break;case O.AFTER_BODY:tL(this,e);break;case O.IN_FRAMESET:e.tagID!==T.FRAMESET||this.openElements.isRootHtmlElementCurrent()||(this.openElements.pop(),this.fragmentContext||this.openElements.currentTagId===T.FRAMESET||(this.insertionMode=O.AFTER_FRAMESET));break;case O.AFTER_FRAMESET:e.tagID===T.HTML&&(this.insertionMode=O.AFTER_AFTER_FRAMESET);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onEof(e){switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.IN_BODY:case O.IN_TABLE:case O.IN_CAPTION:case O.IN_COLUMN_GROUP:case O.IN_TABLE_BODY:case O.IN_ROW:case O.IN_CELL:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:tg(this,e);break;case O.TEXT:this._err(e,g.eofInElementThatCanContainOnlyText),this.openElements.pop(),this.insertionMode=this.originalInsertionMode,this.onEof(e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_TEMPLATE:tN(this,e);break;case O.AFTER_BODY:case O.IN_FRAMESET:case O.AFTER_FRAMESET:case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:e6(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===h.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:case O.TEXT:case O.IN_COLUMN_GROUP:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:case O.IN_FRAMESET:case O.AFTER_FRAMESET:this._insertCharacters(e);break;case O.IN_BODY:case O.IN_CAPTION:case O.IN_CELL:case O.IN_TEMPLATE:case O.AFTER_BODY:case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:to(this,e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tm(this,e);break;case O.IN_TABLE_TEXT:tv(this,e)}}}function e5(e,t){for(let n=0;n<8;n++){let n=function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):tf(e,t),n}(e,t);if(!n)break;let r=function(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){let a=e.openElements.items[r];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[r])&&(n=a)}return n||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;let a=function(e,t,n){let r=t,a=e.openElements.getCommonAncestor(t);for(let i=0,o=a;o!==n;i++,o=a){a=e.openElements.getCommonAncestor(o);let n=e.activeFormattingElements.getElementEntry(o),s=n&&i>=3,l=!n||s;l?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(o)):(o=function(e,t){let n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}(e,r,n.element),i=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(a),i&&function(e,t,n){let r=e.treeAdapter.getTagName(t),a=ed(r);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(n);else{let r=e.treeAdapter.getNamespaceURI(t);a===T.TEMPLATE&&r===b.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}(e,i,a),function(e,t,n){let r=e.treeAdapter.getNamespaceURI(n.element),{token:a}=n,i=e.treeAdapter.createElement(a.tagName,r,a.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,a),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,a.tagID)}(e,r,n)}}function e4(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function e6(e,t){if(e.stopped=!0,t.location){let n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){let n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function e9(e,t){e._err(t,g.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,E.QUIRKS),e.insertionMode=O.BEFORE_HTML,e._processToken(t)}function e8(e,t){e._insertFakeRootElement(),e.insertionMode=O.BEFORE_HEAD,e._processToken(t)}function e7(e,t){e._insertFakeElement(v.HEAD,T.HEAD),e.headElement=e.openElements.current,e.insertionMode=O.IN_HEAD,e._processToken(t)}function te(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.TITLE:e._switchToTextParsing(t,em.RCDATA);break;case T.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,em.RAWTEXT):(e._insertElement(t,b.HTML),e.insertionMode=O.IN_HEAD_NO_SCRIPT);break;case T.NOFRAMES:case T.STYLE:e._switchToTextParsing(t,em.RAWTEXT);break;case T.SCRIPT:e._switchToTextParsing(t,em.SCRIPT_DATA);break;case T.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=O.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(O.IN_TEMPLATE);break;case T.HEAD:e._err(t,g.misplacedStartTagForHeadElement);break;default:tn(e,t)}}function tt(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==T.TEMPLATE&&e._err(t,g.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,g.endTagWithoutMatchingOpenElement)}function tn(e,t){e.openElements.pop(),e.insertionMode=O.AFTER_HEAD,e._processToken(t)}function tr(e,t){let n=t.type===m.EOF?g.openElementsLeftAfterEof:g.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=O.IN_HEAD,e._processToken(t)}function ta(e,t){e._insertFakeElement(v.BODY,T.BODY),e.insertionMode=O.IN_BODY,ti(e,t)}function ti(e,t){switch(t.type){case m.CHARACTER:ts(e,t);break;case m.WHITESPACE_CHARACTER:to(e,t);break;case m.COMMENT:e4(e,t);break;case m.START_TAG:tp(e,t);break;case m.END_TAG:th(e,t);break;case m.EOF:tg(e,t)}}function to(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function ts(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function tl(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function tc(e){let t=el(e,y.TYPE);return null!=t&&"hidden"===t.toLowerCase()}function tu(e,t){e._switchToTextParsing(t,em.RAWTEXT)}function td(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML)}function tp(e,t){switch(t.tagID){case T.I:case T.S:case T.B:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.SMALL:case T.STRIKE:case T.STRONG:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case T.A:!function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(v.A);n&&(e5(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),eh(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,b.HTML);break;case T.P:case T.DL:case T.OL:case T.UL:case T.DIV:case T.DIR:case T.NAV:case T.MAIN:case T.MENU:case T.ASIDE:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.DETAILS:case T.ADDRESS:case T.ARTICLE:case T.SECTION:case T.SUMMARY:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML);break;case T.LI:case T.DD:case T.DT:!function(e,t){e.framesetOk=!1;let n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let r=e.openElements.tagIDs[t];if(n===T.LI&&r===T.LI||(n===T.DD||n===T.DT)&&(r===T.DD||r===T.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==T.ADDRESS&&r!==T.DIV&&r!==T.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML)}(e,t);break;case T.BR:case T.IMG:case T.WBR:case T.AREA:case T.EMBED:case T.KEYGEN:tl(e,t);break;case T.HR:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0;break;case T.RB:case T.RTC:e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,b.HTML);break;case T.RT:case T.RP:e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(T.RTC),e._insertElement(t,b.HTML);break;case T.PRE:case T.LISTING:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.framesetOk=!1;break;case T.XMP:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,em.RAWTEXT);break;case T.SVG:e._reconstructActiveFormattingElements(),eQ(t),eJ(t),t.selfClosing?e._appendElement(t,b.SVG):e._insertElement(t,b.SVG),t.ackSelfClosing=!0;break;case T.HTML:0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs);break;case T.BASE:case T.LINK:case T.META:case T.STYLE:case T.TITLE:case T.SCRIPT:case T.BGSOUND:case T.BASEFONT:case T.TEMPLATE:te(e,t);break;case T.BODY:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t);break;case T.FORM:!function(e,t){let n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),n||(e.formElement=e.openElements.current))}(e,t);break;case T.NOBR:e._reconstructActiveFormattingElements(),e.openElements.hasInScope(T.NOBR)&&(e5(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case T.MATH:e._reconstructActiveFormattingElements(),eX(t),eJ(t),t.selfClosing?e._appendElement(t,b.MATHML):e._insertElement(t,b.MATHML),t.ackSelfClosing=!0;break;case T.TABLE:e.treeAdapter.getDocumentMode(e.document)!==E.QUIRKS&&e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=O.IN_TABLE;break;case T.INPUT:e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),tc(t)||(e.framesetOk=!1),t.ackSelfClosing=!0;break;case T.PARAM:case T.TRACK:case T.SOURCE:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.IMAGE:t.tagName=v.IMG,t.tagID=T.IMG,tl(e,t);break;case T.BUTTON:e.openElements.hasInScope(T.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1;break;case T.APPLET:case T.OBJECT:case T.MARQUEE:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1;break;case T.IFRAME:e.framesetOk=!1,e._switchToTextParsing(t,em.RAWTEXT);break;case T.SELECT:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===O.IN_TABLE||e.insertionMode===O.IN_CAPTION||e.insertionMode===O.IN_TABLE_BODY||e.insertionMode===O.IN_ROW||e.insertionMode===O.IN_CELL?O.IN_SELECT_IN_TABLE:O.IN_SELECT;break;case T.OPTION:case T.OPTGROUP:e.openElements.currentTagId===T.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML);break;case T.NOEMBED:tu(e,t);break;case T.FRAMESET:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_FRAMESET)}(e,t);break;case T.TEXTAREA:e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.tokenizer.state=em.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=O.TEXT;break;case T.NOSCRIPT:e.options.scriptingEnabled?tu(e,t):td(e,t);break;case T.PLAINTEXT:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.tokenizer.state=em.PLAINTEXT;break;case T.COL:case T.TH:case T.TD:case T.TR:case T.HEAD:case T.FRAME:case T.TBODY:case T.TFOOT:case T.THEAD:case T.CAPTION:case T.COLGROUP:break;default:td(e,t)}}function tf(e,t){let n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let a=e.openElements.items[t],i=e.openElements.tagIDs[t];if(r===i&&(r!==T.UNKNOWN||e.treeAdapter.getTagName(a)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(a,i))break}}function th(e,t){switch(t.tagID){case T.A:case T.B:case T.I:case T.S:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.NOBR:case T.SMALL:case T.STRIKE:case T.STRONG:e5(e,t);break;case T.P:e.openElements.hasInButtonScope(T.P)||e._insertFakeElement(v.P,T.P),e._closePElement();break;case T.DL:case T.UL:case T.OL:case T.DIR:case T.DIV:case T.NAV:case T.PRE:case T.MAIN:case T.MENU:case T.ASIDE:case T.BUTTON:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.ADDRESS:case T.ARTICLE:case T.DETAILS:case T.SECTION:case T.SUMMARY:case T.LISTING:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case T.LI:e.openElements.hasInListItemScope(T.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(T.LI),e.openElements.popUntilTagNamePopped(T.LI));break;case T.DD:case T.DT:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped());break;case T.BR:e._reconstructActiveFormattingElements(),e._insertFakeElement(v.BR,T.BR),e.openElements.pop(),e.framesetOk=!1;break;case T.BODY:!function(e,t){if(e.openElements.hasInScope(T.BODY)&&(e.insertionMode=O.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}(e,t);break;case T.HTML:e.openElements.hasInScope(T.BODY)&&(e.insertionMode=O.AFTER_BODY,tL(e,t));break;case T.FORM:!function(e){let t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(T.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(T.FORM):n&&e.openElements.remove(n))}(e);break;case T.APPLET:case T.OBJECT:case T.MARQUEE:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}(e,t);break;case T.TEMPLATE:tt(e,t);break;default:tf(e,t)}}function tg(e,t){e.tmplInsertionModeStack.length>0?tN(e,t):e6(e,t)}function tm(e,t){if(e1.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=O.IN_TABLE_TEXT,t.type){case m.CHARACTER:tT(e,t);break;case m.WHITESPACE_CHARACTER:tv(e,t)}else tE(e,t)}function tb(e,t){switch(t.tagID){case T.TD:case T.TH:case T.TR:e.openElements.clearBackToTableContext(),e._insertFakeElement(v.TBODY,T.TBODY),e.insertionMode=O.IN_TABLE_BODY,tk(e,t);break;case T.STYLE:case T.SCRIPT:case T.TEMPLATE:te(e,t);break;case T.COL:e.openElements.clearBackToTableContext(),e._insertFakeElement(v.COLGROUP,T.COLGROUP),e.insertionMode=O.IN_COLUMN_GROUP,tO(e,t);break;case T.FORM:e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,b.HTML),e.formElement=e.openElements.current,e.openElements.pop());break;case T.TABLE:e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode(),e._processStartTag(t));break;case T.TBODY:case T.TFOOT:case T.THEAD:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_TABLE_BODY;break;case T.INPUT:tc(t)?e._appendElement(t,b.HTML):tE(e,t),t.ackSelfClosing=!0;break;case T.CAPTION:e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_CAPTION;break;case T.COLGROUP:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_COLUMN_GROUP;break;default:tE(e,t)}}function ty(e,t){switch(t.tagID){case T.TABLE:e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode());break;case T.TEMPLATE:tt(e,t);break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:tE(e,t)}}function tE(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,ti(e,t),e.fosterParentingEnabled=n}function tv(e,t){e.pendingCharacterTokens.push(t)}function tT(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function tS(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0&&e.openElements.currentTagId===T.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===T.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===T.OPTGROUP&&e.openElements.pop();break;case T.OPTION:e.openElements.currentTagId===T.OPTION&&e.openElements.pop();break;case T.SELECT:e.openElements.hasInSelectScope(T.SELECT)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode());break;case T.TEMPLATE:tt(e,t)}}function tN(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):e6(e,t)}function tL(e,t){var n;if(t.tagID===T.HTML){if(e.fragmentContext||(e.insertionMode=O.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===T.HTML){e._setEndLocation(e.openElements.items[0],t);let r=e.openElements.items[1];!r||(null===(n=e.treeAdapter.getNodeSourceCodeLocation(r))||void 0===n?void 0:n.endTag)||e._setEndLocation(r,t)}}else tD(e,t)}function tD(e,t){e.insertionMode=O.IN_BODY,ti(e,t)}function tP(e,t){e.insertionMode=O.IN_BODY,ti(e,t)}function tM(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==b.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}n(43470),v.AREA,v.BASE,v.BASEFONT,v.BGSOUND,v.BR,v.COL,v.EMBED,v.FRAME,v.HR,v.IMG,v.INPUT,v.KEYGEN,v.LINK,v.META,v.PARAM,v.SOURCE,v.TRACK,v.WBR;var tF=n(3980),tB=n(21623);let tj=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),tU={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function tG(e,t){let n=function(e){let t="root"===e.type?e.children[0]:e;return!!(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName.toLowerCase()))}(e),r=q("type",{handlers:{root:t$,element:tz,text:tZ,comment:tV,doctype:tW,raw:tY},unknown:tq}),a={parser:n?new e3(tU):e3.getFragmentParser(void 0,tU),handle(e){r(e,a)},stitches:!1,options:t||{}};r(e,a),tK(a,(0,tF.Pk)());let i=n?a.parser.document:a.parser.getFragment(),o=function(e,t){let n=t||{};return $({file:n.file||void 0,location:!1,schema:"svg"===n.space?x.YP:x.dy,verbose:n.verbose||!1},e)}(i,{file:a.options.file});return(a.stitches&&(0,tB.Vn)(o,"comment",function(e,t,n){if(e.value.stitch&&n&&void 0!==t){let r=n.children;return r[t]=e.value.stitch,t}}),"root"===o.type&&1===o.children.length&&o.children[0].type===e.type)?o.children[0]:o}function tH(e,t){let n=-1;if(e)for(;++n4&&(t.parser.tokenizer.state=0);let n={type:m.CHARACTER,chars:e.value,location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tW(e,t){let n={type:m.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tV(e,t){let n=e.value,r={type:m.COMMENT,data:n,location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function tY(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,tX(t,(0,tF.Pk)(e)),t.parser.tokenizer.write(e.value,!1),t.parser.tokenizer._runParsingLoop(),72===t.parser.tokenizer.state||78===t.parser.tokenizer.state){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;let e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function tq(e,t){if(t.options.passThrough&&t.options.passThrough.includes(e.type))!function(e,t){t.stitches=!0;let n="children"in e?(0,_.ZP)({...e,children:[]}):(0,_.ZP)(e);if("children"in e&&"children"in n){let r=tG({type:"root",children:e.children},t.options);n.children=r.children}tV({type:"comment",value:{stitch:n}},t)}(e,t);else{let t="";throw tj.has(e.type)&&(t=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),Error("Cannot compile `"+e.type+"` node"+t)}}function tK(e,t){tX(e,t);let n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=em.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function tX(e,t){if(t&&void 0!==t.offset){let n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function tQ(e){let t=(0,tF.Pk)(e)||{line:void 0,column:void 0,offset:void 0},n=(0,tF.rb)(e)||{line:void 0,column:void 0,offset:void 0},r={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset};return r}function tJ(e){return function(t,n){let r=tG(t,{...e,file:n});return r}}},78600:function(e,t,n){"use strict";function r(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,a=n.indexOf(t);for(;-1!==a;)r++,a=n.indexOf(t,a+t.length);return r}n.d(t,{Z:function(){return eQ}});var a=n(24345),i=n(15459),o=n(88718),s=n(96093);let l="phrasing",c=["autolink","link","image","label"];function u(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function d(e){this.config.enter.autolinkProtocol.call(this,e)}function p(e){this.config.exit.autolinkProtocol.call(this,e)}function f(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];(0,a.ok)("link"===t.type),t.url="http://"+this.sliceSerialize(e)}function h(e){this.config.exit.autolinkEmail.call(this,e)}function g(e){this.exit(e)}function m(e){!function(e,t,n){let r=(0,s.O)((n||{}).ignore||[]),a=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r0?{type:"text",value:i}:void 0),!1===i?r.lastIndex=n+1:(s!==n&&d.push({type:"text",value:e.value.slice(s,n)}),Array.isArray(i)?d.push(...i):i&&d.push(i),s=n+p[0].length,u=!0),!r.global)break;p=r.exec(e.value)}return u?(s?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],a=n.indexOf(")"),i=r(e,"("),o=r(e,")");for(;-1!==a&&i>o;)e+=n.slice(0,a+1),a=(n=n.slice(a+1)).indexOf(")"),o++;return[e,n]}(n+a);if(!s[0])return!1;let l={type:"link",title:null,url:o+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[l,{type:"text",value:s[1]}]:l}function y(e,t,n,r){return!(!E(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function E(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||(0,i.B8)(n)||(0,i.Xh)(n))&&(!t||47!==n)}var v=n(11098);function T(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function S(){this.buffer()}function A(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteDefinition"===n.type),n.label=t,n.identifier=(0,v.d)(this.sliceSerialize(e)).toLowerCase()}function O(e){this.exit(e)}function _(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function k(){this.buffer()}function x(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteReference"===n.type),n.label=t,n.identifier=(0,v.d)(this.sliceSerialize(e)).toLowerCase()}function C(e){this.exit(e)}function w(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteReference"),s=n.enter("reference");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),o(),i+=a.move("]")}function I(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteDefinition"),s=n.enter("label");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),i+=a.move("]:"+(e.children&&e.children.length>0?" ":"")),a.shift(4),i+=a.move(n.indentLines(n.containerFlow(e,a.current()),R)),o(),i}function R(e,t,n){return 0===t?e:(n?"":" ")+e}w.peek=function(){return"["};let N=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function L(e){this.enter({type:"delete",children:[]},e)}function D(e){this.exit(e)}function P(e,t,n,r){let a=n.createTracker(r),i=n.enter("strikethrough"),o=a.move("~~");return o+=n.containerPhrasing(e,{...a.current(),before:o,after:"~"})+a.move("~~"),i(),o}function M(e){return e.length}function F(e){let t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function B(e,t,n){return">"+(n?"":" ")+e}function j(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),c+=l.move(")"),o(),c}function q(e,t,n,r){let a=e.referenceType,i=n.enter("imageReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("!["),c=n.safe(e.alt,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function K(e,t,n){let r=e.value||"",a="`",i=-1;for(;RegExp("(^|[^`])"+a+"([^`]|$)").test(r);)a+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i\u007F]/.test(e.url))}function Q(e,t,n,r){let a,i;let o=$(n),s='"'===o?"Quote":"Apostrophe",l=n.createTracker(r);if(X(e,n)){let t=n.stack;n.stack=[],a=n.enter("autolink");let r=l.move("<");return r+=l.move(n.containerPhrasing(e,{before:r,after:">",...l.current()}))+l.move(">"),a(),n.stack=t,r}a=n.enter("link"),i=n.enter("label");let c=l.move("[");return c+=l.move(n.containerPhrasing(e,{before:c,after:"](",...l.current()}))+l.move("]("),i(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(i=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(i=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),i(),e.title&&(i=n.enter(`title${s}`),c+=l.move(" "+o),c+=l.move(n.safe(e.title,{before:c,after:o,...l.current()}))+l.move(o),i()),c+=l.move(")"),a(),c}function J(e,t,n,r){let a=e.referenceType,i=n.enter("linkReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("["),c=n.containerPhrasing(e,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function ee(e){let t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function et(e){let t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}V.peek=function(){return"<"},Y.peek=function(){return"!"},q.peek=function(){return"!"},K.peek=function(){return"`"},Q.peek=function(e,t,n){return X(e,n)?"<":"["},J.peek=function(){return"["};let en=(0,s.O)(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function er(e,t,n,r){let a=function(e){let t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(n),i=n.enter("strong"),o=n.createTracker(r),s=o.move(a+a);return s+=o.move(n.containerPhrasing(e,{before:s,after:a,...o.current()}))+o.move(a+a),i(),s}er.peek=function(e,t,n){return n.options.strong||"*"};let ea={blockquote:function(e,t,n,r){let a=n.enter("blockquote"),i=n.createTracker(r);i.move("> "),i.shift(2);let o=n.indentLines(n.containerFlow(e,i.current()),B);return a(),o},break:U,code:function(e,t,n,r){let a=function(e){let t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),i=e.value||"",o="`"===a?"GraveAccent":"Tilde";if(!1===n.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value)){let e=n.enter("codeIndented"),t=n.indentLines(i,H);return e(),t}let s=n.createTracker(r),l=a.repeat(Math.max((0,G.J)(i,a)+1,3)),c=n.enter("codeFenced"),u=s.move(l);if(e.lang){let t=n.enter(`codeFencedLang${o}`);u+=s.move(n.safe(e.lang,{before:u,after:" ",encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${o}`);u+=s.move(" "),u+=s.move(n.safe(e.meta,{before:u,after:"\n",encode:["`"],...s.current()})),t()}return u+=s.move("\n"),i&&(u+=s.move(i+"\n")),u+=s.move(l),c(),u},definition:function(e,t,n,r){let a=$(n),i='"'===a?"Quote":"Apostrophe",o=n.enter("definition"),s=n.enter("label"),l=n.createTracker(r),c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()}))+l.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":"\n",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),o(),c},emphasis:z,hardBreak:U,heading:function(e,t,n,r){let a;let i=Math.max(Math.min(6,e.depth||1),1),s=n.createTracker(r);if(a=!1,(0,Z.Vn)(e,function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return a=!0,o.BK}),(!e.depth||e.depth<3)&&(0,W.B)(e)&&(n.options.setext||a)){let t=n.enter("headingSetext"),r=n.enter("phrasing"),a=n.containerPhrasing(e,{...s.current(),before:"\n",after:"\n"});return r(),t(),a+"\n"+(1===i?"=":"-").repeat(a.length-(Math.max(a.lastIndexOf("\r"),a.lastIndexOf("\n"))+1))}let l="#".repeat(i),c=n.enter("headingAtx"),u=n.enter("phrasing");s.move(l+" ");let d=n.containerPhrasing(e,{before:"# ",after:"\n",...s.current()});return/^[\t ]/.test(d)&&(d="&#x"+d.charCodeAt(0).toString(16).toUpperCase()+";"+d.slice(1)),d=d?l+" "+d:l,n.options.closeAtx&&(d+=" "+l),u(),c(),d},html:V,image:Y,imageReference:q,inlineCode:K,link:Q,linkReference:J,list:function(e,t,n,r){let a=n.enter("list"),i=n.bulletCurrent,o=e.ordered?function(e){let t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):ee(n),s=e.ordered?"."===o?")":".":function(e){let t=ee(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n),l=!!t&&!!n.bulletLastUsed&&o===n.bulletLastUsed;if(!e.ordered){let t=e.children?e.children[0]:void 0;if("*"!==o&&"-"!==o||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(l=!0),et(n)===o&&t){let t=-1;for(;++t-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+i);let o=i.length+1;("tab"===a||"mixed"===a&&(t&&"list"===t.type&&t.spread||e.spread))&&(o=4*Math.ceil(o/4));let s=n.createTracker(r);s.move(i+" ".repeat(o-i.length)),s.shift(o);let l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),function(e,t,n){return t?(n?"":" ".repeat(o))+e:(n?i:i+" ".repeat(o-i.length))+e});return l(),c},paragraph:function(e,t,n,r){let a=n.enter("paragraph"),i=n.enter("phrasing"),o=n.containerPhrasing(e,r);return i(),a(),o},root:function(e,t,n,r){let a=e.children.some(function(e){return en(e)}),i=a?n.containerPhrasing:n.containerFlow;return i.call(n,e,r)},strong:er,text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){let r=(et(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}};function ei(e){let t=e._align;(0,a.ok)(t,"expected `_align` on table"),this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function eo(e){this.exit(e),this.data.inTable=void 0}function es(e){this.enter({type:"tableRow",children:[]},e)}function el(e){this.exit(e)}function ec(e){this.enter({type:"tableCell",children:[]},e)}function eu(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,ed));let n=this.stack[this.stack.length-1];(0,a.ok)("inlineCode"===n.type),n.value=t,this.exit(e)}function ed(e,t){return"|"===t?t:e}function ep(e){let t=this.stack[this.stack.length-2];(0,a.ok)("listItem"===t.type),t.checked="taskListCheckValueChecked"===e.type}function ef(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1];(0,a.ok)("paragraph"===e.type);let n=e.children[0];if(n&&"text"===n.type){let r;let a=t.children,i=-1;for(;++i0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}eO[43]=eA,eO[45]=eA,eO[46]=eA,eO[95]=eA,eO[72]=[eA,eS],eO[104]=[eA,eS],eO[87]=[eA,eT],eO[119]=[eA,eT];var eR=n(23402),eN=n(42761);let eL={tokenize:function(e,t,n){let r=this;return(0,eN.f)(e,function(e){let a=r.events[r.events.length-1];return a&&"gfmFootnoteDefinitionIndent"===a[1].type&&4===a[2].sliceSerialize(a[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function eD(e,t,n){let r;let a=this,i=a.events.length,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);for(;i--;){let e=a.events[i][1];if("labelImage"===e.type){r=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(i){if(!r||!r._balanced)return n(i);let s=(0,v.d)(a.sliceSerialize({start:r.end,end:a.now()}));return 94===s.codePointAt(0)&&o.includes(s.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(i),e.exit("gfmFootnoteCallLabelMarker"),t(i)):n(i)}}function eP(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;let i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",a,t],["exit",a,t],["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function eM(e,t,n){let r;let a=this,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),s=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),l};function l(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(l){if(s>999||93===l&&!r||null===l||91===l||(0,i.z3)(l))return n(l);if(93===l){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return o.includes((0,v.d)(a.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(l)}return(0,i.z3)(l)||(r=!0),s++,e.consume(l),92===l?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function eF(e,t,n){let r,a;let o=this,s=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]),l=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(t)}function u(t){if(l>999||93===t&&!a||null===t||91===t||(0,i.z3)(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return r=(0,v.d)(o.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return(0,i.z3)(t)||(a=!0),l++,e.consume(t),92===t?d:u}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}function p(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s.includes(r)||s.push(r),(0,eN.f)(e,f,"gfmFootnoteDefinitionWhitespace")):n(t)}function f(e){return t(e)}}function eB(e,t,n){return e.check(eR.w,t,e.attempt(eL,t,n))}function ej(e){e.exit("gfmFootnoteDefinition")}var eU=n(21905),eG=n(62987),eH=n(63233);class e${constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let a=0;if(0!==n||0!==r.length){for(;a0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function ez(e,t,n){let r;let a=this,o=0,s=0;return function(e){let t=a.events.length-1;for(;t>-1;){let e=a.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let r=t>-1?a.events[t][1].type:null,i="tableHead"===r||"tableRow"===r?E:l;return i===E&&a.parser.lazy[a.now().line]?n(e):i(e)};function l(t){return e.enter("tableHead"),e.enter("tableRow"),124===t||(r=!0,s+=1),c(t)}function c(t){return null===t?n(t):(0,i.Ch)(t)?s>1?(s=0,a.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p):n(t):(0,i.xz)(t)?(0,eN.f)(e,c,"whitespace")(t):(s+=1,r&&(r=!1,o+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,c):(e.enter("data"),u(t))}function u(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),c(t)):(e.consume(t),92===t?d:u)}function d(t){return 92===t||124===t?(e.consume(t),u):u(t)}function p(t){return(a.interrupt=!1,a.parser.lazy[a.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,(0,i.xz)(t))?(0,eN.f)(e,f,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):f(t)}function f(t){return 45===t||58===t?g(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),h):n(t)}function h(t){return(0,i.xz)(t)?(0,eN.f)(e,g,"whitespace")(t):g(t)}function g(t){return 58===t?(s+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),m):45===t?(s+=1,m(t)):null===t||(0,i.Ch)(t)?y(t):n(t)}function m(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),b):(e.exit("tableDelimiterFiller"),b(n))}(t)):n(t)}function b(t){return(0,i.xz)(t)?(0,eN.f)(e,y,"whitespace")(t):y(t)}function y(a){return 124===a?f(a):null===a||(0,i.Ch)(a)?r&&o===s?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(a)):n(a):n(a)}function E(t){return e.enter("tableRow"),v(t)}function v(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),v):null===n||(0,i.Ch)(n)?(e.exit("tableRow"),t(n)):(0,i.xz)(n)?(0,eN.f)(e,v,"whitespace")(n):(e.enter("data"),T(n))}function T(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),v(t)):(e.consume(t),92===t?S:T)}function S(t){return 92===t||124===t?(e.consume(t),T):T(t)}}function eZ(e,t){let n,r,a,i=-1,o=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,d=0,p=new e$;for(;++in[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",o,t]])}return void 0!==a&&(i.end=Object.assign({},eY(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function eV(e,t,n,r,a){let i=[],o=eY(t.events,n);a&&(a.end=Object.assign({},o),i.push(["exit",a,t])),r.end=Object.assign({},o),i.push(["exit",r,t]),e.add(n+1,0,i)}function eY(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}let eq={name:"tasklistCheck",tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),a):n(t)};function a(t){return(0,i.z3)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(t)}function s(r){return(0,i.Ch)(r)?t(r):(0,i.xz)(r)?e.check({tokenize:eK},t,n)(r):n(r)}}};function eK(e,t,n){return(0,eN.f)(e,function(e){return null===e?n(e):t(e)},"whitespace")}let eX={};function eQ(e){let t=e||eX,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),i=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push((0,eg.W)([{text:eO},{document:{91:{name:"gfmFootnoteDefinition",tokenize:eF,continuation:{tokenize:eB},exit:ej}},text:{91:{name:"gfmFootnoteCall",tokenize:eM},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:eD,resolveTo:eP}}},function(e){let t=(e||{}).singleTilde,n={name:"strikethrough",tokenize:function(e,n,r){let a=this.previous,i=this.events,o=0;return function(s){return 126===a&&"characterEscape"!==i[i.length-1][1].type?r(s):(e.enter("strikethroughSequenceTemporary"),function i(s){let l=(0,eG.r)(a);if(126===s)return o>1?r(s):(e.consume(s),o++,i);if(o<2&&!t)return r(s);let c=e.exit("strikethroughSequenceTemporary"),u=(0,eG.r)(s);return c._open=!u||2===u&&!!l,c._close=!l||2===l&&!!u,n(s)}(s))}},resolveAll:function(e,t){let n=-1;for(;++nl&&(l=e[c].length);++ds[d])&&(s[d]=e)}n.push(i)}i[c]=n,o[c]=a}let d=-1;if("object"==typeof n&&"length"in n)for(;++ds[d]&&(s[d]=i),f[d]=i),p[d]=o}i.splice(1,0,p),o.splice(1,0,f),c=-1;let h=[];for(;++c","Iacute":"\xcd","Icirc":"\xce","Igrave":"\xcc","Iuml":"\xcf","LT":"<","Ntilde":"\xd1","Oacute":"\xd3","Ocirc":"\xd4","Ograve":"\xd2","Oslash":"\xd8","Otilde":"\xd5","Ouml":"\xd6","QUOT":"\\"","REG":"\xae","THORN":"\xde","Uacute":"\xda","Ucirc":"\xdb","Ugrave":"\xd9","Uuml":"\xdc","Yacute":"\xdd","aacute":"\xe1","acirc":"\xe2","acute":"\xb4","aelig":"\xe6","agrave":"\xe0","amp":"&","aring":"\xe5","atilde":"\xe3","auml":"\xe4","brvbar":"\xa6","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","eacute":"\xe9","ecirc":"\xea","egrave":"\xe8","eth":"\xf0","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","iacute":"\xed","icirc":"\xee","iexcl":"\xa1","igrave":"\xec","iquest":"\xbf","iuml":"\xef","laquo":"\xab","lt":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","ntilde":"\xf1","oacute":"\xf3","ocirc":"\xf4","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","oslash":"\xf8","otilde":"\xf5","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","raquo":"\xbb","reg":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","thorn":"\xfe","times":"\xd7","uacute":"\xfa","ucirc":"\xfb","ugrave":"\xf9","uml":"\xa8","uuml":"\xfc","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')}},function(e){e.O(0,[3662,7034,6106,8674,3166,2837,2168,8163,1265,7728,2913,3791,5278,9859,4330,4041,8791,5030,5418,2783,3457,1300,4567,2398,2480,7410,7124,9773,4035,1154,2510,3345,9202,7249,3768,5789,9774,2888,179],function(){return e(e.s=32682)}),_N_E=e.O()}]); \ No newline at end of file + */var r=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},a={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=u.reach));S+=T.value.length,T=T.next){var A,O=T.value;if(n.length>t.length)return;if(!(O instanceof i)){var _=1;if(b){if(!(A=o(v,S,t,m))||A.index>=t.length)break;var k=A.index,x=A.index+A[0].length,C=S;for(C+=T.value.length;k>=C;)C+=(T=T.next).value.length;if(C-=T.value.length,S=C,T.value instanceof i)continue;for(var w=T;w!==n.tail&&(Cu.reach&&(u.reach=L);var D=T.prev;R&&(D=l(n,D,R),S+=R.length),function(e,t,n){for(var r=t.next,a=0;a1){var M={cause:d+","+f,reach:L};e(t,n,r,T.prev,S,M),u&&M.reach>u.reach&&(u.reach=M.reach)}}}}}}(e,c,t,c.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(c)},hooks:{all:{},add:function(e,t){var n=a.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=a.hooks.all[e];if(n&&n.length)for(var r,i=0;r=n[i++];)r(t)}},Token:i};function i(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var i=a[1].length;a.index+=i,a[0]=a[0].slice(i)}return a}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}if(e.Prism=a,i.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach(function(t){r+=e(t,n)}),r}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},o=t.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(i.classes,o):i.classes.push(o)),a.hooks.run("wrap",i);var s="";for(var l in i.attributes)s+=" "+l+'="'+(i.attributes[l]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+s+">"+i.content+""},!e.document)return e.addEventListener&&(a.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),r=n.language,i=n.code,o=n.immediateClose;e.postMessage(a.highlight(i,a.languages[r],r)),o&&e.close()},!1)),a;var c=a.util.currentScript();function u(){a.manual||a.highlightAll()}if(c&&(a.filename=c.src,c.hasAttribute("data-manual")&&(a.manual=!0)),!a.manual){var d=document.readyState;"loading"===d||"interactive"===d&&c&&c.defer?document.addEventListener("DOMContentLoaded",u):window.requestAnimationFrame?window.requestAnimationFrame(u):window.setTimeout(u,16)}return a}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=r),void 0!==n.g&&(n.g.Prism=r)},96774:function(e){e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),o=Object.keys(t);if(i.length!==o.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;le.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}},88998:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(95778);function a(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},13643:function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,{Z:function(){return r}})},98568:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)}n.d(t,{Z:function(){return a}})},99660:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(88998);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var l=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(l&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;C(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:I(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),b}},t}},55054:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59312);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw a}}return s}}(e,t)||(0,r.Z)(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},27567:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(13643);function a(){return(a="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var a=function(e,t){for(;!({}).hasOwnProperty.call(e,t)&&null!==(e=(0,r.Z)(e)););return e}(e,t);if(a){var i=Object.getOwnPropertyDescriptor(a,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}}).apply(null,arguments)}function i(e,t,n,i){var o=a((0,r.Z)(1&i?e.prototype:e),t,n);return 2&i&&"function"==typeof o?function(e){return o.apply(n,e)}:o}},25585:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(59630),a=n(59312);function i(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,a.Z)(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},95778:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(2846);function a(e){var t=function(e,t){if("object"!=(0,r.Z)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=(0,r.Z)(a))return a;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.Z)(t)?t:t+""}},2846:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{Z:function(){return r}})},59312:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59630);function a(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},21129:function(e,t,n){"use strict";var r=n(4503);t.Z=r},86676:function(e,t,n){"use strict";n.d(t,{r:function(){return a}});let r=/[#.]/g;function a(e,t){let n,a;let i=e||"",o={},s=0;for(;so&&(o=i):i=1,a=r+t.length,r=n.indexOf(t,a);return o}n.d(t,{J:function(){return r}})},24557:function(e,t,n){"use strict";n.d(t,{Z:function(){return ed}});var r={};n.r(r),n.d(r,{boolean:function(){return c},booleanish:function(){return u},commaOrSpaceSeparated:function(){return g},commaSeparated:function(){return h},number:function(){return p},overloadedBoolean:function(){return d},spaceSeparated:function(){return f}});class a{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function i(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new a(n,r,t)}function o(e){return e.toLowerCase()}a.prototype.normal={},a.prototype.property={},a.prototype.space=void 0;class s{constructor(e,t){this.attribute=t,this.property=e}}s.prototype.attribute="",s.prototype.booleanish=!1,s.prototype.boolean=!1,s.prototype.commaOrSpaceSeparated=!1,s.prototype.commaSeparated=!1,s.prototype.defined=!1,s.prototype.mustUseProperty=!1,s.prototype.number=!1,s.prototype.overloadedBoolean=!1,s.prototype.property="",s.prototype.spaceSeparated=!1,s.prototype.space=void 0;let l=0,c=m(),u=m(),d=m(),p=m(),f=m(),h=m(),g=m();function m(){return 2**++l}let b=Object.keys(r);class y extends s{constructor(e,t,n,a){var i,o;let s=-1;if(super(e,t),a&&(this.space=a),"number"==typeof n)for(;++s"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function T(e,t){return t in e?e[t]:t}function S(e,t){return T(e,t.toLowerCase())}let A=E({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:h,acceptCharset:f,accessKey:f,action:null,allow:null,allowFullScreen:c,allowPaymentRequest:c,allowUserMedia:c,alt:null,as:null,async:c,autoCapitalize:null,autoComplete:f,autoFocus:c,autoPlay:c,blocking:f,capture:null,charSet:null,checked:c,cite:null,className:f,cols:p,colSpan:null,content:null,contentEditable:u,controls:c,controlsList:f,coords:p|h,crossOrigin:null,data:null,dateTime:null,decoding:null,default:c,defer:c,dir:null,dirName:null,disabled:c,download:d,draggable:u,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:c,formTarget:null,headers:f,height:p,hidden:c,high:p,href:null,hrefLang:null,htmlFor:f,httpEquiv:f,id:null,imageSizes:null,imageSrcSet:null,inert:c,inputMode:null,integrity:null,is:null,isMap:c,itemId:null,itemProp:f,itemRef:f,itemScope:c,itemType:f,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:c,low:p,manifest:null,max:null,maxLength:p,media:null,method:null,min:null,minLength:p,multiple:c,muted:c,name:null,nonce:null,noModule:c,noValidate:c,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored: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,onScrollEnd: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:c,optimum:p,pattern:null,ping:f,placeholder:null,playsInline:c,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:c,referrerPolicy:null,rel:f,required:c,reversed:c,rows:p,rowSpan:p,sandbox:f,scope:null,scoped:c,seamless:c,selected:c,shadowRootClonable:c,shadowRootDelegatesFocus:c,shadowRootMode:null,shape:null,size:p,sizes:null,slot:null,span:p,spellCheck:u,src:null,srcDoc:null,srcLang:null,srcSet:null,start:p,step:null,style:null,tabIndex:p,target:null,title:null,translate:null,type:null,typeMustMatch:c,useMap:null,value:u,width:p,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:f,axis:null,background:null,bgColor:null,border:p,borderColor:null,bottomMargin:p,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:c,declare:c,event:null,face:null,frame:null,frameBorder:null,hSpace:p,leftMargin:p,link:null,longDesc:null,lowSrc:null,marginHeight:p,marginWidth:p,noResize:c,noHref:c,noShade:c,noWrap:c,object:null,profile:null,prompt:null,rev:null,rightMargin:p,rules:null,scheme:null,scrolling:u,standby:null,summary:null,text:null,topMargin:p,valueType:null,version:null,vAlign:null,vLink:null,vSpace:p,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:c,disableRemotePlayback:c,prefix:null,property:null,results:p,security:null,unselectable:null},space:"html",transform:S}),O=E({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:g,accentHeight:p,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:p,amplitude:p,arabicForm:null,ascent:p,attributeName:null,attributeType:null,azimuth:p,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:p,by:null,calcMode:null,capHeight:p,className:f,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:p,diffuseConstant:p,direction:null,display:null,dur:null,divisor:p,dominantBaseline:null,download:c,dx:null,dy:null,edgeMode:null,editable:null,elevation:p,enableBackground:null,end:null,event:null,exponent:p,externalResourcesRequired:null,fill:null,fillOpacity:p,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:h,g2:h,glyphName:h,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:p,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:p,horizOriginX:p,horizOriginY:p,id:null,ideographic:p,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:p,k:p,k1:p,k2:p,k3:p,k4:p,kernelMatrix:g,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:p,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:p,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose: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,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:p,overlineThickness:p,paintOrder:null,panose1:null,path:null,pathLength:p,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:f,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:p,pointsAtY:p,pointsAtZ:p,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:g,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:g,rev:g,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:g,requiredFeatures:g,requiredFonts:g,requiredFormats:g,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:p,specularExponent:p,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:p,strikethroughThickness:p,string:null,stroke:null,strokeDashArray:g,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:p,strokeOpacity:p,strokeWidth:null,style:null,surfaceScale:p,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:g,tabIndex:p,tableValues:null,target:null,targetX:p,targetY:p,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:g,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:p,underlineThickness:p,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:p,values:null,vAlphabetic:p,vMathematical:p,vectorEffect:null,vHanging:p,vIdeographic:p,version:null,vertAdvY:p,vertOriginX:p,vertOriginY:p,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:p,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:T}),_=E({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),k=E({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:S}),x=E({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),C=i([v,A,_,k,x],"html"),w=i([v,O,_,k,x],"svg");var I=n(25668),R=n(86676);let N=/[A-Z]/g,L=/-[a-z]/g,D=/^data[-\w.:]+$/i;function P(e){return"-"+e.toLowerCase()}function M(e){return e.charAt(1).toUpperCase()}var F=n(50342);function B(e,t,n){let r=n?function(e){let t=new Map;for(let n of e)t.set(n.toLowerCase(),n);return t}(n):void 0;return function(n,a,...i){let l;if(null==n)l={type:"root",children:[]},i.unshift(a);else{l=(0,R.r)(n,t);let c=l.tagName.toLowerCase(),u=r?r.get(c):void 0;if(l.tagName=u||c,function(e){if(null===e||"object"!=typeof e||Array.isArray(e))return!0;if("string"!=typeof e.type)return!1;let t=Object.keys(e);for(let n of t){let t=e[n];if(t&&"object"==typeof t){if(!Array.isArray(t))return!0;for(let e of t)if("number"!=typeof e&&"string"!=typeof e)return!0}}return!!("children"in e&&Array.isArray(e.children))}(a))i.unshift(a);else for(let[t,n]of Object.entries(a))!function(e,t,n,r){let a;let i=function(e,t){let n=o(t),r=t,a=s;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&D.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(L,M);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!L.test(e)){let n=e.replace(N,P);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}a=y}return new a(r,t)}(e,n);if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;a=r}else a="boolean"==typeof r?r:"string"==typeof r?i.spaceSeparated?(0,F.Q)(r):i.commaSeparated?(0,I.Q)(r):i.commaOrSpaceSeparated?(0,F.Q)((0,I.Q)(r).join(" ")):j(i,i.property,r):Array.isArray(r)?[...r]:"style"===i.property?function(e){let t=[];for(let[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}(r):String(r);if(Array.isArray(a)){let e=[];for(let t of a)e.push(j(i,i.property,t));a=e}"className"===i.property&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}(e,l.properties,t,n)}for(let e of i)!function e(t,n){if(null==n);else if("number"==typeof n||"string"==typeof n)t.push({type:"text",value:String(n)});else if(Array.isArray(n))for(let r of n)e(t,r);else if("object"==typeof n&&"type"in n)"root"===n.type?e(t,n.children):t.push(n);else throw Error("Expected node, nodes, or string, got `"+n+"`")}(l.children,e);return"element"===l.type&&"template"===l.tagName&&(l.content={type:"root",children:l.children},l.children=[]),l}}function j(e,t,n){if("string"==typeof n){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(""===n||o(n)===o(t)))return!0}return n}let U=B(C,"div"),G=B(w,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]);var H=n(49911);function $(e,t){let n=function(e,t){switch(e.nodeType){case 1:return function(e,t){let n=e.namespaceURI,r=n===H.t.svg?G:U,a=n===H.t.html?e.tagName.toLowerCase():e.tagName,i=n===H.t.html&&"template"===a?e.content:e,o=e.getAttributeNames(),s={},l=-1;for(;++ln&&(n=e):e&&(void 0!==n&&n>-1&&l.push("\n".repeat(n)||" "),n=-1,l.push(e))}return l.join("")}(d,{whitespace:"pre"});try{a=es.ZP.renderToString(p,{...t,displayMode:c,throwOnError:!0})}catch(o){let i=o.name.toLowerCase();n.message("Could not render math with KaTeX",{ancestors:[...r,e],cause:o,place:e.position,ruleId:i,source:"rehype-katex"});try{a=es.ZP.renderToString(p,{...t,displayMode:c,strict:"ignore",throwOnError:!1})}catch{a=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(o)},children:[{type:"text",value:p}]}]}}if("string"==typeof a){let e=function(e,t){let n=t?.fragment?function(e){let t=document.createElement("template");return t.innerHTML=e,t.content}(e):Z.parseFromString(e,"text/html");return $(n,{})||{type:"root",children:[]}}(a,{fragment:!0});a=e.children}let f=u.children.indexOf(d);return u.children.splice(f,1,...a),el.AM})}}},12384:function(e,t,n){"use strict";n.d(t,{Z:function(){return tJ}});var r,a,i,o,s,l,c,u,d,p,f,h,g,m,b,y,E,v,T,S,A,O,_=n(52835),k=n(24345),x=n(91634),C=n(25668),w=n(86676),I=n(26103),R=n(28051),N=n(50342);let L=new Set(["button","menu","reset","submit"]),D={}.hasOwnProperty;function P(e,t,n){let r=n&&function(e){let t={},n=-1;for(;++n1?n[e.line-2]:0)+e.column-1;if(r-1&&e<=t.length){let r=0;for(;;){let a=n[r];if(void 0===a){let e=j(t,n[r-1]);a=-1===e?t.length+1:e+1,n[r]=a}if(a>e)return{line:r+1,column:e-(r>0?n[r-1]:0)+1,offset:e};r++}}}}}(t),a=r.toPoint(0),i=r.toPoint(t.length);(0,k.ok)(a,"expected `start`"),(0,k.ok)(i,"expected `end`"),n.position={start:a,end:i}}return n}case"#documentType":return Z(e,t,n={type:"doctype"}),n;case"#text":return n={type:"text",value:t.value},Z(e,t,n),n;default:return function(e,t){let n=e.schema;e.schema=t.namespaceURI===U.t.svg?x.YP:x.dy;let r=-1,a={};for(;++r=55296&&e<=57343}function ei(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function eo(e){return e>=64976&&e<=65007||en.has(e)}(a=g=g||(g={})).controlCharacterInInputStream="control-character-in-input-stream",a.noncharacterInInputStream="noncharacter-in-input-stream",a.surrogateInInputStream="surrogate-in-input-stream",a.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",a.endTagWithAttributes="end-tag-with-attributes",a.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",a.unexpectedSolidusInTag="unexpected-solidus-in-tag",a.unexpectedNullCharacter="unexpected-null-character",a.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",a.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",a.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",a.missingEndTagName="missing-end-tag-name",a.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",a.unknownNamedCharacterReference="unknown-named-character-reference",a.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",a.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",a.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",a.eofBeforeTagName="eof-before-tag-name",a.eofInTag="eof-in-tag",a.missingAttributeValue="missing-attribute-value",a.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",a.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",a.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",a.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",a.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",a.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",a.missingDoctypePublicIdentifier="missing-doctype-public-identifier",a.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",a.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",a.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",a.cdataInHtmlContent="cdata-in-html-content",a.incorrectlyOpenedComment="incorrectly-opened-comment",a.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",a.eofInDoctype="eof-in-doctype",a.nestedComment="nested-comment",a.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",a.eofInComment="eof-in-comment",a.incorrectlyClosedComment="incorrectly-closed-comment",a.eofInCdata="eof-in-cdata",a.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",a.nullCharacterReference="null-character-reference",a.surrogateCharacterReference="surrogate-character-reference",a.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",a.controlCharacterReference="control-character-reference",a.noncharacterCharacterReference="noncharacter-character-reference",a.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",a.missingDoctypeName="missing-doctype-name",a.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",a.duplicateAttribute="duplicate-attribute",a.nonConformingDoctype="non-conforming-doctype",a.missingDoctype="missing-doctype",a.misplacedDoctype="misplaced-doctype",a.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",a.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",a.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",a.openElementsLeftAfterEof="open-elements-left-after-eof",a.abandonedHeadElementChild="abandoned-head-element-child",a.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",a.nestedNoscriptInHead="nested-noscript-in-head",a.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text";class es{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e){let{line:t,col:n,offset:r}=this;return{code:e,startLine:t,endLine:t,startCol:n,endCol:n,startOffset:r,endOffset:r}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let t=this.html.charCodeAt(this.pos+1);if(t>=56320&&t<=57343)return this.pos++,this._addGap(),(e-55296)*1024+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,h.EOF;return this._err(g.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,h.EOF;let n=this.html.charCodeAt(t);return n===h.CARRIAGE_RETURN?h.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,h.EOF;let e=this.html.charCodeAt(this.pos);if(e===h.CARRIAGE_RETURN)return this.isEol=!0,this.skipNextNewLine=!0,h.LINE_FEED;if(e===h.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine))return this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance();this.skipNextNewLine=!1,ea(e)&&(e=this._processSurrogate(e));let t=null===this.handler.onParseError||e>31&&e<127||e===h.LINE_FEED||e===h.CARRIAGE_RETURN||e>159&&e<64976;return t||this._checkForProblematicCharacters(e),e}_checkForProblematicCharacters(e){ei(e)?this._err(g.controlCharacterInInputStream):eo(e)&&this._err(g.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}(i=m=m||(m={}))[i.CHARACTER=0]="CHARACTER",i[i.NULL_CHARACTER=1]="NULL_CHARACTER",i[i.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",i[i.START_TAG=3]="START_TAG",i[i.END_TAG=4]="END_TAG",i[i.COMMENT=5]="COMMENT",i[i.DOCTYPE=6]="DOCTYPE",i[i.EOF=7]="EOF",i[i.HIBERNATION=8]="HIBERNATION";var ec=n(60411);(o=b=b||(b={})).HTML="http://www.w3.org/1999/xhtml",o.MATHML="http://www.w3.org/1998/Math/MathML",o.SVG="http://www.w3.org/2000/svg",o.XLINK="http://www.w3.org/1999/xlink",o.XML="http://www.w3.org/XML/1998/namespace",o.XMLNS="http://www.w3.org/2000/xmlns/",(s=y=y||(y={})).TYPE="type",s.ACTION="action",s.ENCODING="encoding",s.PROMPT="prompt",s.NAME="name",s.COLOR="color",s.FACE="face",s.SIZE="size",(l=E=E||(E={})).NO_QUIRKS="no-quirks",l.QUIRKS="quirks",l.LIMITED_QUIRKS="limited-quirks",(c=v=v||(v={})).A="a",c.ADDRESS="address",c.ANNOTATION_XML="annotation-xml",c.APPLET="applet",c.AREA="area",c.ARTICLE="article",c.ASIDE="aside",c.B="b",c.BASE="base",c.BASEFONT="basefont",c.BGSOUND="bgsound",c.BIG="big",c.BLOCKQUOTE="blockquote",c.BODY="body",c.BR="br",c.BUTTON="button",c.CAPTION="caption",c.CENTER="center",c.CODE="code",c.COL="col",c.COLGROUP="colgroup",c.DD="dd",c.DESC="desc",c.DETAILS="details",c.DIALOG="dialog",c.DIR="dir",c.DIV="div",c.DL="dl",c.DT="dt",c.EM="em",c.EMBED="embed",c.FIELDSET="fieldset",c.FIGCAPTION="figcaption",c.FIGURE="figure",c.FONT="font",c.FOOTER="footer",c.FOREIGN_OBJECT="foreignObject",c.FORM="form",c.FRAME="frame",c.FRAMESET="frameset",c.H1="h1",c.H2="h2",c.H3="h3",c.H4="h4",c.H5="h5",c.H6="h6",c.HEAD="head",c.HEADER="header",c.HGROUP="hgroup",c.HR="hr",c.HTML="html",c.I="i",c.IMG="img",c.IMAGE="image",c.INPUT="input",c.IFRAME="iframe",c.KEYGEN="keygen",c.LABEL="label",c.LI="li",c.LINK="link",c.LISTING="listing",c.MAIN="main",c.MALIGNMARK="malignmark",c.MARQUEE="marquee",c.MATH="math",c.MENU="menu",c.META="meta",c.MGLYPH="mglyph",c.MI="mi",c.MO="mo",c.MN="mn",c.MS="ms",c.MTEXT="mtext",c.NAV="nav",c.NOBR="nobr",c.NOFRAMES="noframes",c.NOEMBED="noembed",c.NOSCRIPT="noscript",c.OBJECT="object",c.OL="ol",c.OPTGROUP="optgroup",c.OPTION="option",c.P="p",c.PARAM="param",c.PLAINTEXT="plaintext",c.PRE="pre",c.RB="rb",c.RP="rp",c.RT="rt",c.RTC="rtc",c.RUBY="ruby",c.S="s",c.SCRIPT="script",c.SECTION="section",c.SELECT="select",c.SOURCE="source",c.SMALL="small",c.SPAN="span",c.STRIKE="strike",c.STRONG="strong",c.STYLE="style",c.SUB="sub",c.SUMMARY="summary",c.SUP="sup",c.TABLE="table",c.TBODY="tbody",c.TEMPLATE="template",c.TEXTAREA="textarea",c.TFOOT="tfoot",c.TD="td",c.TH="th",c.THEAD="thead",c.TITLE="title",c.TR="tr",c.TRACK="track",c.TT="tt",c.U="u",c.UL="ul",c.SVG="svg",c.VAR="var",c.WBR="wbr",c.XMP="xmp",(u=T=T||(T={}))[u.UNKNOWN=0]="UNKNOWN",u[u.A=1]="A",u[u.ADDRESS=2]="ADDRESS",u[u.ANNOTATION_XML=3]="ANNOTATION_XML",u[u.APPLET=4]="APPLET",u[u.AREA=5]="AREA",u[u.ARTICLE=6]="ARTICLE",u[u.ASIDE=7]="ASIDE",u[u.B=8]="B",u[u.BASE=9]="BASE",u[u.BASEFONT=10]="BASEFONT",u[u.BGSOUND=11]="BGSOUND",u[u.BIG=12]="BIG",u[u.BLOCKQUOTE=13]="BLOCKQUOTE",u[u.BODY=14]="BODY",u[u.BR=15]="BR",u[u.BUTTON=16]="BUTTON",u[u.CAPTION=17]="CAPTION",u[u.CENTER=18]="CENTER",u[u.CODE=19]="CODE",u[u.COL=20]="COL",u[u.COLGROUP=21]="COLGROUP",u[u.DD=22]="DD",u[u.DESC=23]="DESC",u[u.DETAILS=24]="DETAILS",u[u.DIALOG=25]="DIALOG",u[u.DIR=26]="DIR",u[u.DIV=27]="DIV",u[u.DL=28]="DL",u[u.DT=29]="DT",u[u.EM=30]="EM",u[u.EMBED=31]="EMBED",u[u.FIELDSET=32]="FIELDSET",u[u.FIGCAPTION=33]="FIGCAPTION",u[u.FIGURE=34]="FIGURE",u[u.FONT=35]="FONT",u[u.FOOTER=36]="FOOTER",u[u.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",u[u.FORM=38]="FORM",u[u.FRAME=39]="FRAME",u[u.FRAMESET=40]="FRAMESET",u[u.H1=41]="H1",u[u.H2=42]="H2",u[u.H3=43]="H3",u[u.H4=44]="H4",u[u.H5=45]="H5",u[u.H6=46]="H6",u[u.HEAD=47]="HEAD",u[u.HEADER=48]="HEADER",u[u.HGROUP=49]="HGROUP",u[u.HR=50]="HR",u[u.HTML=51]="HTML",u[u.I=52]="I",u[u.IMG=53]="IMG",u[u.IMAGE=54]="IMAGE",u[u.INPUT=55]="INPUT",u[u.IFRAME=56]="IFRAME",u[u.KEYGEN=57]="KEYGEN",u[u.LABEL=58]="LABEL",u[u.LI=59]="LI",u[u.LINK=60]="LINK",u[u.LISTING=61]="LISTING",u[u.MAIN=62]="MAIN",u[u.MALIGNMARK=63]="MALIGNMARK",u[u.MARQUEE=64]="MARQUEE",u[u.MATH=65]="MATH",u[u.MENU=66]="MENU",u[u.META=67]="META",u[u.MGLYPH=68]="MGLYPH",u[u.MI=69]="MI",u[u.MO=70]="MO",u[u.MN=71]="MN",u[u.MS=72]="MS",u[u.MTEXT=73]="MTEXT",u[u.NAV=74]="NAV",u[u.NOBR=75]="NOBR",u[u.NOFRAMES=76]="NOFRAMES",u[u.NOEMBED=77]="NOEMBED",u[u.NOSCRIPT=78]="NOSCRIPT",u[u.OBJECT=79]="OBJECT",u[u.OL=80]="OL",u[u.OPTGROUP=81]="OPTGROUP",u[u.OPTION=82]="OPTION",u[u.P=83]="P",u[u.PARAM=84]="PARAM",u[u.PLAINTEXT=85]="PLAINTEXT",u[u.PRE=86]="PRE",u[u.RB=87]="RB",u[u.RP=88]="RP",u[u.RT=89]="RT",u[u.RTC=90]="RTC",u[u.RUBY=91]="RUBY",u[u.S=92]="S",u[u.SCRIPT=93]="SCRIPT",u[u.SECTION=94]="SECTION",u[u.SELECT=95]="SELECT",u[u.SOURCE=96]="SOURCE",u[u.SMALL=97]="SMALL",u[u.SPAN=98]="SPAN",u[u.STRIKE=99]="STRIKE",u[u.STRONG=100]="STRONG",u[u.STYLE=101]="STYLE",u[u.SUB=102]="SUB",u[u.SUMMARY=103]="SUMMARY",u[u.SUP=104]="SUP",u[u.TABLE=105]="TABLE",u[u.TBODY=106]="TBODY",u[u.TEMPLATE=107]="TEMPLATE",u[u.TEXTAREA=108]="TEXTAREA",u[u.TFOOT=109]="TFOOT",u[u.TD=110]="TD",u[u.TH=111]="TH",u[u.THEAD=112]="THEAD",u[u.TITLE=113]="TITLE",u[u.TR=114]="TR",u[u.TRACK=115]="TRACK",u[u.TT=116]="TT",u[u.U=117]="U",u[u.UL=118]="UL",u[u.SVG=119]="SVG",u[u.VAR=120]="VAR",u[u.WBR=121]="WBR",u[u.XMP=122]="XMP";let eu=new Map([[v.A,T.A],[v.ADDRESS,T.ADDRESS],[v.ANNOTATION_XML,T.ANNOTATION_XML],[v.APPLET,T.APPLET],[v.AREA,T.AREA],[v.ARTICLE,T.ARTICLE],[v.ASIDE,T.ASIDE],[v.B,T.B],[v.BASE,T.BASE],[v.BASEFONT,T.BASEFONT],[v.BGSOUND,T.BGSOUND],[v.BIG,T.BIG],[v.BLOCKQUOTE,T.BLOCKQUOTE],[v.BODY,T.BODY],[v.BR,T.BR],[v.BUTTON,T.BUTTON],[v.CAPTION,T.CAPTION],[v.CENTER,T.CENTER],[v.CODE,T.CODE],[v.COL,T.COL],[v.COLGROUP,T.COLGROUP],[v.DD,T.DD],[v.DESC,T.DESC],[v.DETAILS,T.DETAILS],[v.DIALOG,T.DIALOG],[v.DIR,T.DIR],[v.DIV,T.DIV],[v.DL,T.DL],[v.DT,T.DT],[v.EM,T.EM],[v.EMBED,T.EMBED],[v.FIELDSET,T.FIELDSET],[v.FIGCAPTION,T.FIGCAPTION],[v.FIGURE,T.FIGURE],[v.FONT,T.FONT],[v.FOOTER,T.FOOTER],[v.FOREIGN_OBJECT,T.FOREIGN_OBJECT],[v.FORM,T.FORM],[v.FRAME,T.FRAME],[v.FRAMESET,T.FRAMESET],[v.H1,T.H1],[v.H2,T.H2],[v.H3,T.H3],[v.H4,T.H4],[v.H5,T.H5],[v.H6,T.H6],[v.HEAD,T.HEAD],[v.HEADER,T.HEADER],[v.HGROUP,T.HGROUP],[v.HR,T.HR],[v.HTML,T.HTML],[v.I,T.I],[v.IMG,T.IMG],[v.IMAGE,T.IMAGE],[v.INPUT,T.INPUT],[v.IFRAME,T.IFRAME],[v.KEYGEN,T.KEYGEN],[v.LABEL,T.LABEL],[v.LI,T.LI],[v.LINK,T.LINK],[v.LISTING,T.LISTING],[v.MAIN,T.MAIN],[v.MALIGNMARK,T.MALIGNMARK],[v.MARQUEE,T.MARQUEE],[v.MATH,T.MATH],[v.MENU,T.MENU],[v.META,T.META],[v.MGLYPH,T.MGLYPH],[v.MI,T.MI],[v.MO,T.MO],[v.MN,T.MN],[v.MS,T.MS],[v.MTEXT,T.MTEXT],[v.NAV,T.NAV],[v.NOBR,T.NOBR],[v.NOFRAMES,T.NOFRAMES],[v.NOEMBED,T.NOEMBED],[v.NOSCRIPT,T.NOSCRIPT],[v.OBJECT,T.OBJECT],[v.OL,T.OL],[v.OPTGROUP,T.OPTGROUP],[v.OPTION,T.OPTION],[v.P,T.P],[v.PARAM,T.PARAM],[v.PLAINTEXT,T.PLAINTEXT],[v.PRE,T.PRE],[v.RB,T.RB],[v.RP,T.RP],[v.RT,T.RT],[v.RTC,T.RTC],[v.RUBY,T.RUBY],[v.S,T.S],[v.SCRIPT,T.SCRIPT],[v.SECTION,T.SECTION],[v.SELECT,T.SELECT],[v.SOURCE,T.SOURCE],[v.SMALL,T.SMALL],[v.SPAN,T.SPAN],[v.STRIKE,T.STRIKE],[v.STRONG,T.STRONG],[v.STYLE,T.STYLE],[v.SUB,T.SUB],[v.SUMMARY,T.SUMMARY],[v.SUP,T.SUP],[v.TABLE,T.TABLE],[v.TBODY,T.TBODY],[v.TEMPLATE,T.TEMPLATE],[v.TEXTAREA,T.TEXTAREA],[v.TFOOT,T.TFOOT],[v.TD,T.TD],[v.TH,T.TH],[v.THEAD,T.THEAD],[v.TITLE,T.TITLE],[v.TR,T.TR],[v.TRACK,T.TRACK],[v.TT,T.TT],[v.U,T.U],[v.UL,T.UL],[v.SVG,T.SVG],[v.VAR,T.VAR],[v.WBR,T.WBR],[v.XMP,T.XMP]]);function ed(e){var t;return null!==(t=eu.get(e))&&void 0!==t?t:T.UNKNOWN}let ep=T,ef={[b.HTML]:new Set([ep.ADDRESS,ep.APPLET,ep.AREA,ep.ARTICLE,ep.ASIDE,ep.BASE,ep.BASEFONT,ep.BGSOUND,ep.BLOCKQUOTE,ep.BODY,ep.BR,ep.BUTTON,ep.CAPTION,ep.CENTER,ep.COL,ep.COLGROUP,ep.DD,ep.DETAILS,ep.DIR,ep.DIV,ep.DL,ep.DT,ep.EMBED,ep.FIELDSET,ep.FIGCAPTION,ep.FIGURE,ep.FOOTER,ep.FORM,ep.FRAME,ep.FRAMESET,ep.H1,ep.H2,ep.H3,ep.H4,ep.H5,ep.H6,ep.HEAD,ep.HEADER,ep.HGROUP,ep.HR,ep.HTML,ep.IFRAME,ep.IMG,ep.INPUT,ep.LI,ep.LINK,ep.LISTING,ep.MAIN,ep.MARQUEE,ep.MENU,ep.META,ep.NAV,ep.NOEMBED,ep.NOFRAMES,ep.NOSCRIPT,ep.OBJECT,ep.OL,ep.P,ep.PARAM,ep.PLAINTEXT,ep.PRE,ep.SCRIPT,ep.SECTION,ep.SELECT,ep.SOURCE,ep.STYLE,ep.SUMMARY,ep.TABLE,ep.TBODY,ep.TD,ep.TEMPLATE,ep.TEXTAREA,ep.TFOOT,ep.TH,ep.THEAD,ep.TITLE,ep.TR,ep.TRACK,ep.UL,ep.WBR,ep.XMP]),[b.MATHML]:new Set([ep.MI,ep.MO,ep.MN,ep.MS,ep.MTEXT,ep.ANNOTATION_XML]),[b.SVG]:new Set([ep.TITLE,ep.FOREIGN_OBJECT,ep.DESC]),[b.XLINK]:new Set,[b.XML]:new Set,[b.XMLNS]:new Set};function eh(e){return e===ep.H1||e===ep.H2||e===ep.H3||e===ep.H4||e===ep.H5||e===ep.H6}v.STYLE,v.SCRIPT,v.XMP,v.IFRAME,v.NOEMBED,v.NOFRAMES,v.PLAINTEXT;let eg=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);(d=S||(S={}))[d.DATA=0]="DATA",d[d.RCDATA=1]="RCDATA",d[d.RAWTEXT=2]="RAWTEXT",d[d.SCRIPT_DATA=3]="SCRIPT_DATA",d[d.PLAINTEXT=4]="PLAINTEXT",d[d.TAG_OPEN=5]="TAG_OPEN",d[d.END_TAG_OPEN=6]="END_TAG_OPEN",d[d.TAG_NAME=7]="TAG_NAME",d[d.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",d[d.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",d[d.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",d[d.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",d[d.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",d[d.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",d[d.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",d[d.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",d[d.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",d[d.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",d[d.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",d[d.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",d[d.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",d[d.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",d[d.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",d[d.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",d[d.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",d[d.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",d[d.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",d[d.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",d[d.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",d[d.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",d[d.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",d[d.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",d[d.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",d[d.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",d[d.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",d[d.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",d[d.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",d[d.BOGUS_COMMENT=40]="BOGUS_COMMENT",d[d.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",d[d.COMMENT_START=42]="COMMENT_START",d[d.COMMENT_START_DASH=43]="COMMENT_START_DASH",d[d.COMMENT=44]="COMMENT",d[d.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",d[d.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",d[d.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",d[d.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",d[d.COMMENT_END_DASH=49]="COMMENT_END_DASH",d[d.COMMENT_END=50]="COMMENT_END",d[d.COMMENT_END_BANG=51]="COMMENT_END_BANG",d[d.DOCTYPE=52]="DOCTYPE",d[d.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",d[d.DOCTYPE_NAME=54]="DOCTYPE_NAME",d[d.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",d[d.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",d[d.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",d[d.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",d[d.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",d[d.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",d[d.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",d[d.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",d[d.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",d[d.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",d[d.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",d[d.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",d[d.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",d[d.CDATA_SECTION=68]="CDATA_SECTION",d[d.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",d[d.CDATA_SECTION_END=70]="CDATA_SECTION_END",d[d.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",d[d.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",d[d.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",d[d.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",d[d.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",d[d.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",d[d.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",d[d.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END";let em={DATA:S.DATA,RCDATA:S.RCDATA,RAWTEXT:S.RAWTEXT,SCRIPT_DATA:S.SCRIPT_DATA,PLAINTEXT:S.PLAINTEXT,CDATA_SECTION:S.CDATA_SECTION};function eb(e){return e>=h.DIGIT_0&&e<=h.DIGIT_9}function ey(e){return e>=h.LATIN_CAPITAL_A&&e<=h.LATIN_CAPITAL_Z}function eE(e){return e>=h.LATIN_SMALL_A&&e<=h.LATIN_SMALL_Z||ey(e)}function ev(e){return eE(e)||eb(e)}function eT(e){return e>=h.LATIN_CAPITAL_A&&e<=h.LATIN_CAPITAL_F}function eS(e){return e>=h.LATIN_SMALL_A&&e<=h.LATIN_SMALL_F}function eA(e){return e===h.SPACE||e===h.LINE_FEED||e===h.TABULATION||e===h.FORM_FEED}function eO(e){return eA(e)||e===h.SOLIDUS||e===h.GREATER_THAN_SIGN}class e_{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=S.DATA,this.returnState=S.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new es(t),this.currentLocation=this.getCurrentLocation(-1)}_err(e){var t,n;null===(n=(t=this.handler).onParseError)||void 0===n||n.call(t,this.preprocessor.getError(e))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw Error("Parser was already resumed");this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(e){this.consumedAfterSnapshot-=e,this.preprocessor.retreat(e)}_reconsumeInState(e,t){this.state=e,this._callState(t)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t0&&this._err(g.endTagWithAttributes),e.selfClosing&&this._err(g.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case m.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case m.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case m.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:m.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type!==e)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=t;return}}this._createCharacterToken(e,t)}_emitCodePoint(e){let t=eA(e)?m.WHITESPACE_CHARACTER:e===h.NULL?m.NULL_CHARACTER:m.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(m.CHARACTER,e)}_matchNamedCharacterReference(e){let t=null,n=0,r=!1;for(let i=0,o=ec.HP[0];i>=0&&!((i=(0,ec.Go)(ec.HP,o,i+1,e))<0);e=this._consume()){n+=1,o=ec.HP[i];let s=o&ec.ge.VALUE_LENGTH;if(s){var a;let o=(s>>14)-1;if(e!==h.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((a=this.preprocessor.peek(1))===h.EQUALS_SIGN||ev(a))?(t=[h.AMPERSAND],i+=o):(t=0===o?[ec.HP[i]&~ec.ge.VALUE_LENGTH]:1===o?[ec.HP[++i]]:[ec.HP[++i],ec.HP[++i]],n=0,r=e!==h.SEMICOLON),0===o){this._consume();break}}}return this._unconsume(n),r&&!this.preprocessor.endOfChunkHit&&this._err(g.missingSemicolonAfterCharacterReference),this._unconsume(1),t}_isCharacterReferenceInAttribute(){return this.returnState===S.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case S.DATA:this._stateData(e);break;case S.RCDATA:this._stateRcdata(e);break;case S.RAWTEXT:this._stateRawtext(e);break;case S.SCRIPT_DATA:this._stateScriptData(e);break;case S.PLAINTEXT:this._statePlaintext(e);break;case S.TAG_OPEN:this._stateTagOpen(e);break;case S.END_TAG_OPEN:this._stateEndTagOpen(e);break;case S.TAG_NAME:this._stateTagName(e);break;case S.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case S.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case S.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case S.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case S.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case S.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case S.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case S.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case S.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case S.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case S.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case S.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case S.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case S.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case S.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case S.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case S.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case S.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case S.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case S.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case S.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case S.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case S.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case S.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case S.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case S.BOGUS_COMMENT:this._stateBogusComment(e);break;case S.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case S.COMMENT_START:this._stateCommentStart(e);break;case S.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case S.COMMENT:this._stateComment(e);break;case S.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case S.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case S.COMMENT_END:this._stateCommentEnd(e);break;case S.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case S.DOCTYPE:this._stateDoctype(e);break;case S.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case S.DOCTYPE_NAME:this._stateDoctypeName(e);break;case S.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case S.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case S.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case S.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case S.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case S.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case S.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case S.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case S.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case S.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case S.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case S.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case S.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case S.CDATA_SECTION:this._stateCdataSection(e);break;case S.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case S.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case S.CHARACTER_REFERENCE:this._stateCharacterReference(e);break;case S.NAMED_CHARACTER_REFERENCE:this._stateNamedCharacterReference(e);break;case S.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;case S.NUMERIC_CHARACTER_REFERENCE:this._stateNumericCharacterReference(e);break;case S.HEXADEMICAL_CHARACTER_REFERENCE_START:this._stateHexademicalCharacterReferenceStart(e);break;case S.HEXADEMICAL_CHARACTER_REFERENCE:this._stateHexademicalCharacterReference(e);break;case S.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(e);break;case S.NUMERIC_CHARACTER_REFERENCE_END:this._stateNumericCharacterReferenceEnd(e);break;default:throw Error("Unknown state")}}_stateData(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.TAG_OPEN;break;case h.AMPERSAND:this.returnState=S.DATA,this.state=S.CHARACTER_REFERENCE;break;case h.NULL:this._err(g.unexpectedNullCharacter),this._emitCodePoint(e);break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case h.AMPERSAND:this.returnState=S.RCDATA,this.state=S.CHARACTER_REFERENCE;break;case h.LESS_THAN_SIGN:this.state=S.RCDATA_LESS_THAN_SIGN;break;case h.NULL:this._err(g.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.RAWTEXT_LESS_THAN_SIGN;break;case h.NULL:this._err(g.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.SCRIPT_DATA_LESS_THAN_SIGN;break;case h.NULL:this._err(g.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case h.NULL:this._err(g.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(eE(e))this._createStartTagToken(),this.state=S.TAG_NAME,this._stateTagName(e);else switch(e){case h.EXCLAMATION_MARK:this.state=S.MARKUP_DECLARATION_OPEN;break;case h.SOLIDUS:this.state=S.END_TAG_OPEN;break;case h.QUESTION_MARK:this._err(g.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=S.BOGUS_COMMENT,this._stateBogusComment(e);break;case h.EOF:this._err(g.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(g.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=S.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(eE(e))this._createEndTagToken(),this.state=S.TAG_NAME,this._stateTagName(e);else switch(e){case h.GREATER_THAN_SIGN:this._err(g.missingEndTagName),this.state=S.DATA;break;case h.EOF:this._err(g.eofBeforeTagName),this._emitChars("");break;case h.NULL:this._err(g.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case h.EOF:this._err(g.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===h.SOLIDUS?this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:eE(e)?(this._emitChars("<"),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=S.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){eE(e)?(this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("");break;case h.NULL:this._err(g.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case h.EOF:this._err(g.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===h.SOLIDUS?(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(er.SCRIPT,!1)&&eO(this.preprocessor.peek(er.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e1114111)this._err(g.characterReferenceOutsideUnicodeRange),this.charRefCode=h.REPLACEMENT_CHARACTER;else if(ea(this.charRefCode))this._err(g.surrogateCharacterReference),this.charRefCode=h.REPLACEMENT_CHARACTER;else if(eo(this.charRefCode))this._err(g.noncharacterCharacterReference);else if(ei(this.charRefCode)||this.charRefCode===h.CARRIAGE_RETURN){this._err(g.controlCharacterReference);let e=eg.get(this.charRefCode);void 0!==e&&(this.charRefCode=e)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}}let ek=new Set([T.DD,T.DT,T.LI,T.OPTGROUP,T.OPTION,T.P,T.RB,T.RP,T.RT,T.RTC]),ex=new Set([...ek,T.CAPTION,T.COLGROUP,T.TBODY,T.TD,T.TFOOT,T.TH,T.THEAD,T.TR]),eC=new Map([[T.APPLET,b.HTML],[T.CAPTION,b.HTML],[T.HTML,b.HTML],[T.MARQUEE,b.HTML],[T.OBJECT,b.HTML],[T.TABLE,b.HTML],[T.TD,b.HTML],[T.TEMPLATE,b.HTML],[T.TH,b.HTML],[T.ANNOTATION_XML,b.MATHML],[T.MI,b.MATHML],[T.MN,b.MATHML],[T.MO,b.MATHML],[T.MS,b.MATHML],[T.MTEXT,b.MATHML],[T.DESC,b.SVG],[T.FOREIGN_OBJECT,b.SVG],[T.TITLE,b.SVG]]),ew=[T.H1,T.H2,T.H3,T.H4,T.H5,T.H6],eI=[T.TR,T.TEMPLATE,T.HTML],eR=[T.TBODY,T.TFOOT,T.THEAD,T.TEMPLATE,T.HTML],eN=[T.TABLE,T.TEMPLATE,T.HTML],eL=[T.TD,T.TH];class eD{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=T.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===T.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===b.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){let r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==b.HTML);this.shortenToLength(t<0?0:t)}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop=0;n--)if(e.includes(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return -1}clearBackTo(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(eN,b.HTML)}clearBackToTableBodyContext(){this.clearBackTo(eR,b.HTML)}clearBackToTableRowContext(){this.clearBackTo(eI,b.HTML)}remove(e){let t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===T.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===T.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(eC.get(n)===r)return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(eh(t)&&n===b.HTML)break;if(eC.get(t)===n)return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if((n===T.UL||n===T.OL)&&r===b.HTML||eC.get(n)===r)return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(n===T.BUTTON&&r===b.HTML||eC.get(n)===r)return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n===T.TABLE||n===T.TEMPLATE||n===T.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(n===b.HTML){if(t===T.TBODY||t===T.THEAD||t===T.TFOOT)break;if(t===T.TABLE||t===T.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n!==T.OPTION&&n!==T.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;ek.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;ex.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&ex.has(this.currentTagId);)this.pop()}}(p=A=A||(A={}))[p.Marker=0]="Marker",p[p.Element=1]="Element";let eP={type:A.Marker};class eM{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let n=[],r=t.length,a=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let e=0;e[e.name,e.value])),a=0;for(let e=0;er.get(e.name)===e.value)&&(a+=1)>=3&&this.entries.splice(t.idx,1)}}insertMarker(){this.entries.unshift(eP)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:A.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:A.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);t>=0&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(eP);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===A.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===A.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===A.Element&&t.element===e)}}function eF(e){return{nodeName:"#text",value:e,parentNode:null}}let eB={createDocument:()=>({nodeName:"#document",mode:E.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){let r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,n,r){let a=e.childNodes.find(e=>"#documentType"===e.nodeName);a?(a.name=t,a.publicId=n,a.systemId=r):eB.appendChild(e,{nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null})},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let n=e.childNodes[e.childNodes.length-1];if(eB.isTextNode(n)){n.value+=t;return}}eB.appendChild(e,eF(t))},insertTextBefore(e,t,n){let r=e.childNodes[e.childNodes.indexOf(n)-1];r&&eB.isTextNode(r)?r.value+=t:eB.insertBefore(e,eF(t),n)},adoptAttributes(e,t){let n=new Set(e.attrs.map(e=>e.name));for(let r=0;re.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},ej="html",eU=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],eG=[...eU,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],eH=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),e$=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],ez=[...e$,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function eZ(e,t){return t.some(t=>e.startsWith(t))}let eW={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},eV=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),eY=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:b.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:b.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:b.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:b.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:b.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:b.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:b.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:b.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:b.XML}],["xml:space",{prefix:"xml",name:"space",namespace:b.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:b.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:b.XMLNS}]]),eq=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),eK=new Set([T.B,T.BIG,T.BLOCKQUOTE,T.BODY,T.BR,T.CENTER,T.CODE,T.DD,T.DIV,T.DL,T.DT,T.EM,T.EMBED,T.H1,T.H2,T.H3,T.H4,T.H5,T.H6,T.HEAD,T.HR,T.I,T.IMG,T.LI,T.LISTING,T.MENU,T.META,T.NOBR,T.OL,T.P,T.PRE,T.RUBY,T.S,T.SMALL,T.SPAN,T.STRONG,T.STRIKE,T.SUB,T.SUP,T.TABLE,T.TT,T.U,T.UL,T.VAR]);function eX(e){for(let t=0;t0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null===(r=(n=this.treeAdapter).onItemPop)||void 0===r||r.call(n,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let n=e===this.document||this.treeAdapter.getNamespaceURI(e)===b.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,b.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=O.TEXT}switchToPlaintextParsing(){this.insertionMode=O.TEXT,this.originalInsertionMode=O.IN_BODY,this.tokenizer.state=em.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===v.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===b.HTML)switch(this.fragmentContextID){case T.TITLE:case T.TEXTAREA:this.tokenizer.state=em.RCDATA;break;case T.STYLE:case T.XMP:case T.IFRAME:case T.NOEMBED:case T.NOFRAMES:case T.NOSCRIPT:this.tokenizer.state=em.RAWTEXT;break;case T.SCRIPT:this.tokenizer.state=em.SCRIPT_DATA;break;case T.PLAINTEXT:this.tokenizer.state=em.PLAINTEXT}}_setDocumentType(e){let t=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){let t=this.treeAdapter.getChildNodes(this.document),n=t.find(e=>this.treeAdapter.isDocumentTypeNode(e));n&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){let n=this.treeAdapter.createElement(e,b.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,b.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(v.HTML,b.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,T.HTML)}_appendCommentNode(e,t){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let r=this.treeAdapter.getChildNodes(t),a=n?r.lastIndexOf(n):r.length,i=r[a-1],o=this.treeAdapter.getNodeSourceCodeLocation(i);if(o){let{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let n=t.location,r=this.treeAdapter.getTagName(e),a=t.type===m.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,a)}}shouldProcessStartTagTokenInForeignContent(e){let t,n;return!!this.currentNotInHTML&&(0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):{current:t,currentTagId:n}=this.openElements,(e.tagID!==T.SVG||this.treeAdapter.getTagName(t)!==v.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==b.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===T.MGLYPH||e.tagID===T.MALIGNMARK)&&!this._isIntegrationPoint(n,t,b.HTML)))}_processToken(e){switch(e.type){case m.CHARACTER:this.onCharacter(e);break;case m.NULL_CHARACTER:this.onNullCharacter(e);break;case m.COMMENT:this.onComment(e);break;case m.DOCTYPE:this.onDoctype(e);break;case m.START_TAG:this._processStartTag(e);break;case m.END_TAG:this.onEndTag(e);break;case m.EOF:this.onEof(e);break;case m.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){let r=this.treeAdapter.getNamespaceURI(t),a=this.treeAdapter.getAttrList(t);return(!n||n===b.HTML)&&function(e,t,n){if(t===b.MATHML&&e===T.ANNOTATION_XML){for(let e=0;ee.type===A.Marker||this.openElements.contains(e.element)),n=t<0?e-1:t-1;for(let e=n;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=O.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(T.P),this.openElements.popUntilTagNamePopped(T.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case T.TR:this.insertionMode=O.IN_ROW;return;case T.TBODY:case T.THEAD:case T.TFOOT:this.insertionMode=O.IN_TABLE_BODY;return;case T.CAPTION:this.insertionMode=O.IN_CAPTION;return;case T.COLGROUP:this.insertionMode=O.IN_COLUMN_GROUP;return;case T.TABLE:this.insertionMode=O.IN_TABLE;return;case T.BODY:this.insertionMode=O.IN_BODY;return;case T.FRAMESET:this.insertionMode=O.IN_FRAMESET;return;case T.SELECT:this._resetInsertionModeForSelect(e);return;case T.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case T.HTML:this.insertionMode=this.headElement?O.AFTER_HEAD:O.BEFORE_HEAD;return;case T.TD:case T.TH:if(e>0){this.insertionMode=O.IN_CELL;return}break;case T.HEAD:if(e>0){this.insertionMode=O.IN_HEAD;return}}this.insertionMode=O.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===T.TEMPLATE)break;if(e===T.TABLE){this.insertionMode=O.IN_SELECT_IN_TABLE;return}}this.insertionMode=O.IN_SELECT}_isElementCausesFosterParenting(e){return e1.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case T.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===b.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case T.TABLE:{let n=this.treeAdapter.getParentNode(t);if(n)return{parent:n,beforeElement:t};return{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){let n=this.treeAdapter.getNamespaceURI(e);return ef[n].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){this._insertCharacters(e),this.framesetOk=!1;return}switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.IN_BODY:case O.IN_CAPTION:case O.IN_CELL:case O.IN_TEMPLATE:ts(this,e);break;case O.TEXT:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tm(this,e);break;case O.IN_TABLE_TEXT:tT(this,e);break;case O.IN_COLUMN_GROUP:t_(this,e);break;case O.AFTER_BODY:tD(this,e);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){e.chars="�",this._insertCharacters(e);return}switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.TEXT:this._insertCharacters(e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tm(this,e);break;case O.IN_COLUMN_GROUP:t_(this,e);break;case O.AFTER_BODY:tD(this,e);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){e4(this,e);return}switch(this.insertionMode){case O.INITIAL:case O.BEFORE_HTML:case O.BEFORE_HEAD:case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:case O.IN_BODY:case O.IN_TABLE:case O.IN_CAPTION:case O.IN_COLUMN_GROUP:case O.IN_TABLE_BODY:case O.IN_ROW:case O.IN_CELL:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:case O.IN_TEMPLATE:case O.IN_FRAMESET:case O.AFTER_FRAMESET:e4(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case O.INITIAL:!function(e,t){e._setDocumentType(t);let n=t.forceQuirks?E.QUIRKS:function(e){if(e.name!==ej)return E.QUIRKS;let{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return E.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),eH.has(n))return E.QUIRKS;let e=null===t?eG:eU;if(eZ(n,e))return E.QUIRKS;if(eZ(n,e=null===t?e$:ez))return E.LIMITED_QUIRKS}return E.NO_QUIRKS}(t);t.name===ej&&null===t.publicId&&(null===t.systemId||"about:legacy-compat"===t.systemId)||e._err(t,g.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=O.BEFORE_HTML}(this,e);break;case O.BEFORE_HEAD:case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:this._err(e,g.misplacedDoctype);break;case O.IN_TABLE_TEXT:tS(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,g.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){let t=e.tagID,n=t===T.FONT&&e.attrs.some(({name:e})=>e===y.COLOR||e===y.SIZE||e===y.FACE);return n||eK.has(t)}(t))tM(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===b.MATHML?eX(t):r===b.SVG&&(function(e){let t=eq.get(e.tagName);null!=t&&(e.tagName=t,e.tagID=ed(e.tagName))}(t),eQ(t)),eJ(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e.tagID===T.HTML?(this._insertElement(e,b.HTML),this.insertionMode=O.BEFORE_HEAD):e8(this,e);break;case O.BEFORE_HEAD:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.HEAD:e._insertElement(t,b.HTML),e.headElement=e.openElements.current,e.insertionMode=O.IN_HEAD;break;default:e7(e,t)}}(this,e);break;case O.IN_HEAD:te(this,e);break;case O.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BASEFONT:case T.BGSOUND:case T.HEAD:case T.LINK:case T.META:case T.NOFRAMES:case T.STYLE:te(e,t);break;case T.NOSCRIPT:e._err(t,g.nestedNoscriptInHead);break;default:tr(e,t)}}(this,e);break;case O.AFTER_HEAD:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BODY:e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=O.IN_BODY;break;case T.FRAMESET:e._insertElement(t,b.HTML),e.insertionMode=O.IN_FRAMESET;break;case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:e._err(t,g.abandonedHeadElementChild),e.openElements.push(e.headElement,T.HEAD),te(e,t),e.openElements.remove(e.headElement);break;case T.HEAD:e._err(t,g.misplacedStartTagForHeadElement);break;default:ta(e,t)}}(this,e);break;case O.IN_BODY:tp(this,e);break;case O.IN_TABLE:tb(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_CAPTION:!function(e,t){let n=t.tagID;tA.has(n)?e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_TABLE,tb(e,t)):tp(e,t)}(this,e);break;case O.IN_COLUMN_GROUP:tO(this,e);break;case O.IN_TABLE_BODY:tk(this,e);break;case O.IN_ROW:tC(this,e);break;case O.IN_CELL:!function(e,t){let n=t.tagID;tA.has(n)?(e.openElements.hasInTableScope(T.TD)||e.openElements.hasInTableScope(T.TH))&&(e._closeTableCell(),tC(e,t)):tp(e,t)}(this,e);break;case O.IN_SELECT:tI(this,e);break;case O.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e._processStartTag(t)):tI(e,t)}(this,e);break;case O.IN_TEMPLATE:!function(e,t){switch(t.tagID){case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:te(e,t);break;case T.CAPTION:case T.COLGROUP:case T.TBODY:case T.TFOOT:case T.THEAD:e.tmplInsertionModeStack[0]=O.IN_TABLE,e.insertionMode=O.IN_TABLE,tb(e,t);break;case T.COL:e.tmplInsertionModeStack[0]=O.IN_COLUMN_GROUP,e.insertionMode=O.IN_COLUMN_GROUP,tO(e,t);break;case T.TR:e.tmplInsertionModeStack[0]=O.IN_TABLE_BODY,e.insertionMode=O.IN_TABLE_BODY,tk(e,t);break;case T.TD:case T.TH:e.tmplInsertionModeStack[0]=O.IN_ROW,e.insertionMode=O.IN_ROW,tC(e,t);break;default:e.tmplInsertionModeStack[0]=O.IN_BODY,e.insertionMode=O.IN_BODY,tp(e,t)}}(this,e);break;case O.AFTER_BODY:e.tagID===T.HTML?tp(this,e):tD(this,e);break;case O.IN_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.FRAMESET:e._insertElement(t,b.HTML);break;case T.FRAME:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.NOFRAMES:te(e,t)}}(this,e);break;case O.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.NOFRAMES:te(e,t)}}(this,e);break;case O.AFTER_AFTER_BODY:e.tagID===T.HTML?tp(this,e):tP(this,e);break;case O.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.NOFRAMES:te(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===T.P||t.tagID===T.BR){tM(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){let r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===b.HTML){e._endTagOutsideForeignContent(t);break}let a=e.treeAdapter.getTagName(r);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){var t;switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:!function(e,t){let n=t.tagID;(n===T.HTML||n===T.HEAD||n===T.BODY||n===T.BR)&&e8(e,t)}(this,e);break;case O.BEFORE_HEAD:!function(e,t){let n=t.tagID;n===T.HEAD||n===T.BODY||n===T.HTML||n===T.BR?e7(e,t):e._err(t,g.endTagWithoutMatchingOpenElement)}(this,e);break;case O.IN_HEAD:!function(e,t){switch(t.tagID){case T.HEAD:e.openElements.pop(),e.insertionMode=O.AFTER_HEAD;break;case T.BODY:case T.BR:case T.HTML:tn(e,t);break;case T.TEMPLATE:tt(e,t);break;default:e._err(t,g.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case T.NOSCRIPT:e.openElements.pop(),e.insertionMode=O.IN_HEAD;break;case T.BR:tr(e,t);break;default:e._err(t,g.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.AFTER_HEAD:!function(e,t){switch(t.tagID){case T.BODY:case T.HTML:case T.BR:ta(e,t);break;case T.TEMPLATE:tt(e,t);break;default:e._err(t,g.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.IN_BODY:th(this,e);break;case O.TEXT:e.tagID===T.SCRIPT&&(null===(t=this.scriptHandler)||void 0===t||t.call(this,this.openElements.current)),this.openElements.pop(),this.insertionMode=this.originalInsertionMode;break;case O.IN_TABLE:ty(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_CAPTION:!function(e,t){let n=t.tagID;switch(n){case T.CAPTION:case T.TABLE:e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_TABLE,n===T.TABLE&&ty(e,t));break;case T.BODY:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:th(e,t)}}(this,e);break;case O.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case T.COLGROUP:e.openElements.currentTagId===T.COLGROUP&&(e.openElements.pop(),e.insertionMode=O.IN_TABLE);break;case T.TEMPLATE:tt(e,t);break;case T.COL:break;default:t_(e,t)}}(this,e);break;case O.IN_TABLE_BODY:tx(this,e);break;case O.IN_ROW:tw(this,e);break;case O.IN_CELL:!function(e,t){let n=t.tagID;switch(n){case T.TD:case T.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_ROW);break;case T.TABLE:case T.TBODY:case T.TFOOT:case T.THEAD:case T.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),tw(e,t));break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:break;default:th(e,t)}}(this,e);break;case O.IN_SELECT:tR(this,e);break;case O.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e.onEndTag(t)):tR(e,t)}(this,e);break;case O.IN_TEMPLATE:e.tagID===T.TEMPLATE&&tt(this,e);break;case O.AFTER_BODY:tL(this,e);break;case O.IN_FRAMESET:e.tagID!==T.FRAMESET||this.openElements.isRootHtmlElementCurrent()||(this.openElements.pop(),this.fragmentContext||this.openElements.currentTagId===T.FRAMESET||(this.insertionMode=O.AFTER_FRAMESET));break;case O.AFTER_FRAMESET:e.tagID===T.HTML&&(this.insertionMode=O.AFTER_AFTER_FRAMESET);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onEof(e){switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.IN_BODY:case O.IN_TABLE:case O.IN_CAPTION:case O.IN_COLUMN_GROUP:case O.IN_TABLE_BODY:case O.IN_ROW:case O.IN_CELL:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:tg(this,e);break;case O.TEXT:this._err(e,g.eofInElementThatCanContainOnlyText),this.openElements.pop(),this.insertionMode=this.originalInsertionMode,this.onEof(e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_TEMPLATE:tN(this,e);break;case O.AFTER_BODY:case O.IN_FRAMESET:case O.AFTER_FRAMESET:case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:e6(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===h.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:case O.TEXT:case O.IN_COLUMN_GROUP:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:case O.IN_FRAMESET:case O.AFTER_FRAMESET:this._insertCharacters(e);break;case O.IN_BODY:case O.IN_CAPTION:case O.IN_CELL:case O.IN_TEMPLATE:case O.AFTER_BODY:case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:to(this,e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tm(this,e);break;case O.IN_TABLE_TEXT:tv(this,e)}}}function e5(e,t){for(let n=0;n<8;n++){let n=function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):tf(e,t),n}(e,t);if(!n)break;let r=function(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){let a=e.openElements.items[r];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[r])&&(n=a)}return n||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;let a=function(e,t,n){let r=t,a=e.openElements.getCommonAncestor(t);for(let i=0,o=a;o!==n;i++,o=a){a=e.openElements.getCommonAncestor(o);let n=e.activeFormattingElements.getElementEntry(o),s=n&&i>=3,l=!n||s;l?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(o)):(o=function(e,t){let n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}(e,r,n.element),i=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(a),i&&function(e,t,n){let r=e.treeAdapter.getTagName(t),a=ed(r);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(n);else{let r=e.treeAdapter.getNamespaceURI(t);a===T.TEMPLATE&&r===b.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}(e,i,a),function(e,t,n){let r=e.treeAdapter.getNamespaceURI(n.element),{token:a}=n,i=e.treeAdapter.createElement(a.tagName,r,a.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,a),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,a.tagID)}(e,r,n)}}function e4(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function e6(e,t){if(e.stopped=!0,t.location){let n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){let n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function e9(e,t){e._err(t,g.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,E.QUIRKS),e.insertionMode=O.BEFORE_HTML,e._processToken(t)}function e8(e,t){e._insertFakeRootElement(),e.insertionMode=O.BEFORE_HEAD,e._processToken(t)}function e7(e,t){e._insertFakeElement(v.HEAD,T.HEAD),e.headElement=e.openElements.current,e.insertionMode=O.IN_HEAD,e._processToken(t)}function te(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.TITLE:e._switchToTextParsing(t,em.RCDATA);break;case T.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,em.RAWTEXT):(e._insertElement(t,b.HTML),e.insertionMode=O.IN_HEAD_NO_SCRIPT);break;case T.NOFRAMES:case T.STYLE:e._switchToTextParsing(t,em.RAWTEXT);break;case T.SCRIPT:e._switchToTextParsing(t,em.SCRIPT_DATA);break;case T.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=O.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(O.IN_TEMPLATE);break;case T.HEAD:e._err(t,g.misplacedStartTagForHeadElement);break;default:tn(e,t)}}function tt(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==T.TEMPLATE&&e._err(t,g.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,g.endTagWithoutMatchingOpenElement)}function tn(e,t){e.openElements.pop(),e.insertionMode=O.AFTER_HEAD,e._processToken(t)}function tr(e,t){let n=t.type===m.EOF?g.openElementsLeftAfterEof:g.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=O.IN_HEAD,e._processToken(t)}function ta(e,t){e._insertFakeElement(v.BODY,T.BODY),e.insertionMode=O.IN_BODY,ti(e,t)}function ti(e,t){switch(t.type){case m.CHARACTER:ts(e,t);break;case m.WHITESPACE_CHARACTER:to(e,t);break;case m.COMMENT:e4(e,t);break;case m.START_TAG:tp(e,t);break;case m.END_TAG:th(e,t);break;case m.EOF:tg(e,t)}}function to(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function ts(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function tl(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function tc(e){let t=el(e,y.TYPE);return null!=t&&"hidden"===t.toLowerCase()}function tu(e,t){e._switchToTextParsing(t,em.RAWTEXT)}function td(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML)}function tp(e,t){switch(t.tagID){case T.I:case T.S:case T.B:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.SMALL:case T.STRIKE:case T.STRONG:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case T.A:!function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(v.A);n&&(e5(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),eh(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,b.HTML);break;case T.P:case T.DL:case T.OL:case T.UL:case T.DIV:case T.DIR:case T.NAV:case T.MAIN:case T.MENU:case T.ASIDE:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.DETAILS:case T.ADDRESS:case T.ARTICLE:case T.SECTION:case T.SUMMARY:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML);break;case T.LI:case T.DD:case T.DT:!function(e,t){e.framesetOk=!1;let n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let r=e.openElements.tagIDs[t];if(n===T.LI&&r===T.LI||(n===T.DD||n===T.DT)&&(r===T.DD||r===T.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==T.ADDRESS&&r!==T.DIV&&r!==T.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML)}(e,t);break;case T.BR:case T.IMG:case T.WBR:case T.AREA:case T.EMBED:case T.KEYGEN:tl(e,t);break;case T.HR:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0;break;case T.RB:case T.RTC:e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,b.HTML);break;case T.RT:case T.RP:e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(T.RTC),e._insertElement(t,b.HTML);break;case T.PRE:case T.LISTING:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.framesetOk=!1;break;case T.XMP:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,em.RAWTEXT);break;case T.SVG:e._reconstructActiveFormattingElements(),eQ(t),eJ(t),t.selfClosing?e._appendElement(t,b.SVG):e._insertElement(t,b.SVG),t.ackSelfClosing=!0;break;case T.HTML:0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs);break;case T.BASE:case T.LINK:case T.META:case T.STYLE:case T.TITLE:case T.SCRIPT:case T.BGSOUND:case T.BASEFONT:case T.TEMPLATE:te(e,t);break;case T.BODY:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t);break;case T.FORM:!function(e,t){let n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),n||(e.formElement=e.openElements.current))}(e,t);break;case T.NOBR:e._reconstructActiveFormattingElements(),e.openElements.hasInScope(T.NOBR)&&(e5(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case T.MATH:e._reconstructActiveFormattingElements(),eX(t),eJ(t),t.selfClosing?e._appendElement(t,b.MATHML):e._insertElement(t,b.MATHML),t.ackSelfClosing=!0;break;case T.TABLE:e.treeAdapter.getDocumentMode(e.document)!==E.QUIRKS&&e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=O.IN_TABLE;break;case T.INPUT:e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),tc(t)||(e.framesetOk=!1),t.ackSelfClosing=!0;break;case T.PARAM:case T.TRACK:case T.SOURCE:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.IMAGE:t.tagName=v.IMG,t.tagID=T.IMG,tl(e,t);break;case T.BUTTON:e.openElements.hasInScope(T.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1;break;case T.APPLET:case T.OBJECT:case T.MARQUEE:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1;break;case T.IFRAME:e.framesetOk=!1,e._switchToTextParsing(t,em.RAWTEXT);break;case T.SELECT:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===O.IN_TABLE||e.insertionMode===O.IN_CAPTION||e.insertionMode===O.IN_TABLE_BODY||e.insertionMode===O.IN_ROW||e.insertionMode===O.IN_CELL?O.IN_SELECT_IN_TABLE:O.IN_SELECT;break;case T.OPTION:case T.OPTGROUP:e.openElements.currentTagId===T.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML);break;case T.NOEMBED:tu(e,t);break;case T.FRAMESET:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_FRAMESET)}(e,t);break;case T.TEXTAREA:e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.tokenizer.state=em.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=O.TEXT;break;case T.NOSCRIPT:e.options.scriptingEnabled?tu(e,t):td(e,t);break;case T.PLAINTEXT:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.tokenizer.state=em.PLAINTEXT;break;case T.COL:case T.TH:case T.TD:case T.TR:case T.HEAD:case T.FRAME:case T.TBODY:case T.TFOOT:case T.THEAD:case T.CAPTION:case T.COLGROUP:break;default:td(e,t)}}function tf(e,t){let n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let a=e.openElements.items[t],i=e.openElements.tagIDs[t];if(r===i&&(r!==T.UNKNOWN||e.treeAdapter.getTagName(a)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(a,i))break}}function th(e,t){switch(t.tagID){case T.A:case T.B:case T.I:case T.S:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.NOBR:case T.SMALL:case T.STRIKE:case T.STRONG:e5(e,t);break;case T.P:e.openElements.hasInButtonScope(T.P)||e._insertFakeElement(v.P,T.P),e._closePElement();break;case T.DL:case T.UL:case T.OL:case T.DIR:case T.DIV:case T.NAV:case T.PRE:case T.MAIN:case T.MENU:case T.ASIDE:case T.BUTTON:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.ADDRESS:case T.ARTICLE:case T.DETAILS:case T.SECTION:case T.SUMMARY:case T.LISTING:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case T.LI:e.openElements.hasInListItemScope(T.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(T.LI),e.openElements.popUntilTagNamePopped(T.LI));break;case T.DD:case T.DT:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped());break;case T.BR:e._reconstructActiveFormattingElements(),e._insertFakeElement(v.BR,T.BR),e.openElements.pop(),e.framesetOk=!1;break;case T.BODY:!function(e,t){if(e.openElements.hasInScope(T.BODY)&&(e.insertionMode=O.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}(e,t);break;case T.HTML:e.openElements.hasInScope(T.BODY)&&(e.insertionMode=O.AFTER_BODY,tL(e,t));break;case T.FORM:!function(e){let t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(T.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(T.FORM):n&&e.openElements.remove(n))}(e);break;case T.APPLET:case T.OBJECT:case T.MARQUEE:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}(e,t);break;case T.TEMPLATE:tt(e,t);break;default:tf(e,t)}}function tg(e,t){e.tmplInsertionModeStack.length>0?tN(e,t):e6(e,t)}function tm(e,t){if(e1.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=O.IN_TABLE_TEXT,t.type){case m.CHARACTER:tT(e,t);break;case m.WHITESPACE_CHARACTER:tv(e,t)}else tE(e,t)}function tb(e,t){switch(t.tagID){case T.TD:case T.TH:case T.TR:e.openElements.clearBackToTableContext(),e._insertFakeElement(v.TBODY,T.TBODY),e.insertionMode=O.IN_TABLE_BODY,tk(e,t);break;case T.STYLE:case T.SCRIPT:case T.TEMPLATE:te(e,t);break;case T.COL:e.openElements.clearBackToTableContext(),e._insertFakeElement(v.COLGROUP,T.COLGROUP),e.insertionMode=O.IN_COLUMN_GROUP,tO(e,t);break;case T.FORM:e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,b.HTML),e.formElement=e.openElements.current,e.openElements.pop());break;case T.TABLE:e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode(),e._processStartTag(t));break;case T.TBODY:case T.TFOOT:case T.THEAD:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_TABLE_BODY;break;case T.INPUT:tc(t)?e._appendElement(t,b.HTML):tE(e,t),t.ackSelfClosing=!0;break;case T.CAPTION:e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_CAPTION;break;case T.COLGROUP:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_COLUMN_GROUP;break;default:tE(e,t)}}function ty(e,t){switch(t.tagID){case T.TABLE:e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode());break;case T.TEMPLATE:tt(e,t);break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:tE(e,t)}}function tE(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,ti(e,t),e.fosterParentingEnabled=n}function tv(e,t){e.pendingCharacterTokens.push(t)}function tT(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function tS(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0&&e.openElements.currentTagId===T.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===T.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===T.OPTGROUP&&e.openElements.pop();break;case T.OPTION:e.openElements.currentTagId===T.OPTION&&e.openElements.pop();break;case T.SELECT:e.openElements.hasInSelectScope(T.SELECT)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode());break;case T.TEMPLATE:tt(e,t)}}function tN(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):e6(e,t)}function tL(e,t){var n;if(t.tagID===T.HTML){if(e.fragmentContext||(e.insertionMode=O.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===T.HTML){e._setEndLocation(e.openElements.items[0],t);let r=e.openElements.items[1];!r||(null===(n=e.treeAdapter.getNodeSourceCodeLocation(r))||void 0===n?void 0:n.endTag)||e._setEndLocation(r,t)}}else tD(e,t)}function tD(e,t){e.insertionMode=O.IN_BODY,ti(e,t)}function tP(e,t){e.insertionMode=O.IN_BODY,ti(e,t)}function tM(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==b.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}n(43470),v.AREA,v.BASE,v.BASEFONT,v.BGSOUND,v.BR,v.COL,v.EMBED,v.FRAME,v.HR,v.IMG,v.INPUT,v.KEYGEN,v.LINK,v.META,v.PARAM,v.SOURCE,v.TRACK,v.WBR;var tF=n(3980),tB=n(21623);let tj=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),tU={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function tG(e,t){let n=function(e){let t="root"===e.type?e.children[0]:e;return!!(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName.toLowerCase()))}(e),r=q("type",{handlers:{root:t$,element:tz,text:tZ,comment:tV,doctype:tW,raw:tY},unknown:tq}),a={parser:n?new e3(tU):e3.getFragmentParser(void 0,tU),handle(e){r(e,a)},stitches:!1,options:t||{}};r(e,a),tK(a,(0,tF.Pk)());let i=n?a.parser.document:a.parser.getFragment(),o=function(e,t){let n=t||{};return $({file:n.file||void 0,location:!1,schema:"svg"===n.space?x.YP:x.dy,verbose:n.verbose||!1},e)}(i,{file:a.options.file});return(a.stitches&&(0,tB.Vn)(o,"comment",function(e,t,n){if(e.value.stitch&&n&&void 0!==t){let r=n.children;return r[t]=e.value.stitch,t}}),"root"===o.type&&1===o.children.length&&o.children[0].type===e.type)?o.children[0]:o}function tH(e,t){let n=-1;if(e)for(;++n4&&(t.parser.tokenizer.state=0);let n={type:m.CHARACTER,chars:e.value,location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tW(e,t){let n={type:m.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tV(e,t){let n=e.value,r={type:m.COMMENT,data:n,location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function tY(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,tX(t,(0,tF.Pk)(e)),t.parser.tokenizer.write(e.value,!1),t.parser.tokenizer._runParsingLoop(),72===t.parser.tokenizer.state||78===t.parser.tokenizer.state){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;let e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function tq(e,t){if(t.options.passThrough&&t.options.passThrough.includes(e.type))!function(e,t){t.stitches=!0;let n="children"in e?(0,_.ZP)({...e,children:[]}):(0,_.ZP)(e);if("children"in e&&"children"in n){let r=tG({type:"root",children:e.children},t.options);n.children=r.children}tV({type:"comment",value:{stitch:n}},t)}(e,t);else{let t="";throw tj.has(e.type)&&(t=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),Error("Cannot compile `"+e.type+"` node"+t)}}function tK(e,t){tX(e,t);let n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=em.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function tX(e,t){if(t&&void 0!==t.offset){let n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function tQ(e){let t=(0,tF.Pk)(e)||{line:void 0,column:void 0,offset:void 0},n=(0,tF.rb)(e)||{line:void 0,column:void 0,offset:void 0},r={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset};return r}function tJ(e){return function(t,n){let r=tG(t,{...e,file:n});return r}}},78600:function(e,t,n){"use strict";function r(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,a=n.indexOf(t);for(;-1!==a;)r++,a=n.indexOf(t,a+t.length);return r}n.d(t,{Z:function(){return eQ}});var a=n(24345),i=n(15459),o=n(88718),s=n(96093);let l="phrasing",c=["autolink","link","image","label"];function u(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function d(e){this.config.enter.autolinkProtocol.call(this,e)}function p(e){this.config.exit.autolinkProtocol.call(this,e)}function f(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];(0,a.ok)("link"===t.type),t.url="http://"+this.sliceSerialize(e)}function h(e){this.config.exit.autolinkEmail.call(this,e)}function g(e){this.exit(e)}function m(e){!function(e,t,n){let r=(0,s.O)((n||{}).ignore||[]),a=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r0?{type:"text",value:i}:void 0),!1===i?r.lastIndex=n+1:(s!==n&&d.push({type:"text",value:e.value.slice(s,n)}),Array.isArray(i)?d.push(...i):i&&d.push(i),s=n+p[0].length,u=!0),!r.global)break;p=r.exec(e.value)}return u?(s?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],a=n.indexOf(")"),i=r(e,"("),o=r(e,")");for(;-1!==a&&i>o;)e+=n.slice(0,a+1),a=(n=n.slice(a+1)).indexOf(")"),o++;return[e,n]}(n+a);if(!s[0])return!1;let l={type:"link",title:null,url:o+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[l,{type:"text",value:s[1]}]:l}function y(e,t,n,r){return!(!E(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function E(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||(0,i.B8)(n)||(0,i.Xh)(n))&&(!t||47!==n)}var v=n(11098);function T(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function S(){this.buffer()}function A(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteDefinition"===n.type),n.label=t,n.identifier=(0,v.d)(this.sliceSerialize(e)).toLowerCase()}function O(e){this.exit(e)}function _(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function k(){this.buffer()}function x(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteReference"===n.type),n.label=t,n.identifier=(0,v.d)(this.sliceSerialize(e)).toLowerCase()}function C(e){this.exit(e)}function w(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteReference"),s=n.enter("reference");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),o(),i+=a.move("]")}function I(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteDefinition"),s=n.enter("label");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),i+=a.move("]:"+(e.children&&e.children.length>0?" ":"")),a.shift(4),i+=a.move(n.indentLines(n.containerFlow(e,a.current()),R)),o(),i}function R(e,t,n){return 0===t?e:(n?"":" ")+e}w.peek=function(){return"["};let N=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function L(e){this.enter({type:"delete",children:[]},e)}function D(e){this.exit(e)}function P(e,t,n,r){let a=n.createTracker(r),i=n.enter("strikethrough"),o=a.move("~~");return o+=n.containerPhrasing(e,{...a.current(),before:o,after:"~"})+a.move("~~"),i(),o}function M(e){return e.length}function F(e){let t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function B(e,t,n){return">"+(n?"":" ")+e}function j(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),c+=l.move(")"),o(),c}function q(e,t,n,r){let a=e.referenceType,i=n.enter("imageReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("!["),c=n.safe(e.alt,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function K(e,t,n){let r=e.value||"",a="`",i=-1;for(;RegExp("(^|[^`])"+a+"([^`]|$)").test(r);)a+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i\u007F]/.test(e.url))}function Q(e,t,n,r){let a,i;let o=$(n),s='"'===o?"Quote":"Apostrophe",l=n.createTracker(r);if(X(e,n)){let t=n.stack;n.stack=[],a=n.enter("autolink");let r=l.move("<");return r+=l.move(n.containerPhrasing(e,{before:r,after:">",...l.current()}))+l.move(">"),a(),n.stack=t,r}a=n.enter("link"),i=n.enter("label");let c=l.move("[");return c+=l.move(n.containerPhrasing(e,{before:c,after:"](",...l.current()}))+l.move("]("),i(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(i=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(i=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),i(),e.title&&(i=n.enter(`title${s}`),c+=l.move(" "+o),c+=l.move(n.safe(e.title,{before:c,after:o,...l.current()}))+l.move(o),i()),c+=l.move(")"),a(),c}function J(e,t,n,r){let a=e.referenceType,i=n.enter("linkReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("["),c=n.containerPhrasing(e,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function ee(e){let t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function et(e){let t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}V.peek=function(){return"<"},Y.peek=function(){return"!"},q.peek=function(){return"!"},K.peek=function(){return"`"},Q.peek=function(e,t,n){return X(e,n)?"<":"["},J.peek=function(){return"["};let en=(0,s.O)(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function er(e,t,n,r){let a=function(e){let t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(n),i=n.enter("strong"),o=n.createTracker(r),s=o.move(a+a);return s+=o.move(n.containerPhrasing(e,{before:s,after:a,...o.current()}))+o.move(a+a),i(),s}er.peek=function(e,t,n){return n.options.strong||"*"};let ea={blockquote:function(e,t,n,r){let a=n.enter("blockquote"),i=n.createTracker(r);i.move("> "),i.shift(2);let o=n.indentLines(n.containerFlow(e,i.current()),B);return a(),o},break:U,code:function(e,t,n,r){let a=function(e){let t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),i=e.value||"",o="`"===a?"GraveAccent":"Tilde";if(!1===n.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value)){let e=n.enter("codeIndented"),t=n.indentLines(i,H);return e(),t}let s=n.createTracker(r),l=a.repeat(Math.max((0,G.J)(i,a)+1,3)),c=n.enter("codeFenced"),u=s.move(l);if(e.lang){let t=n.enter(`codeFencedLang${o}`);u+=s.move(n.safe(e.lang,{before:u,after:" ",encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${o}`);u+=s.move(" "),u+=s.move(n.safe(e.meta,{before:u,after:"\n",encode:["`"],...s.current()})),t()}return u+=s.move("\n"),i&&(u+=s.move(i+"\n")),u+=s.move(l),c(),u},definition:function(e,t,n,r){let a=$(n),i='"'===a?"Quote":"Apostrophe",o=n.enter("definition"),s=n.enter("label"),l=n.createTracker(r),c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()}))+l.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":"\n",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),o(),c},emphasis:z,hardBreak:U,heading:function(e,t,n,r){let a;let i=Math.max(Math.min(6,e.depth||1),1),s=n.createTracker(r);if(a=!1,(0,Z.Vn)(e,function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return a=!0,o.BK}),(!e.depth||e.depth<3)&&(0,W.B)(e)&&(n.options.setext||a)){let t=n.enter("headingSetext"),r=n.enter("phrasing"),a=n.containerPhrasing(e,{...s.current(),before:"\n",after:"\n"});return r(),t(),a+"\n"+(1===i?"=":"-").repeat(a.length-(Math.max(a.lastIndexOf("\r"),a.lastIndexOf("\n"))+1))}let l="#".repeat(i),c=n.enter("headingAtx"),u=n.enter("phrasing");s.move(l+" ");let d=n.containerPhrasing(e,{before:"# ",after:"\n",...s.current()});return/^[\t ]/.test(d)&&(d="&#x"+d.charCodeAt(0).toString(16).toUpperCase()+";"+d.slice(1)),d=d?l+" "+d:l,n.options.closeAtx&&(d+=" "+l),u(),c(),d},html:V,image:Y,imageReference:q,inlineCode:K,link:Q,linkReference:J,list:function(e,t,n,r){let a=n.enter("list"),i=n.bulletCurrent,o=e.ordered?function(e){let t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):ee(n),s=e.ordered?"."===o?")":".":function(e){let t=ee(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n),l=!!t&&!!n.bulletLastUsed&&o===n.bulletLastUsed;if(!e.ordered){let t=e.children?e.children[0]:void 0;if("*"!==o&&"-"!==o||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(l=!0),et(n)===o&&t){let t=-1;for(;++t-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+i);let o=i.length+1;("tab"===a||"mixed"===a&&(t&&"list"===t.type&&t.spread||e.spread))&&(o=4*Math.ceil(o/4));let s=n.createTracker(r);s.move(i+" ".repeat(o-i.length)),s.shift(o);let l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),function(e,t,n){return t?(n?"":" ".repeat(o))+e:(n?i:i+" ".repeat(o-i.length))+e});return l(),c},paragraph:function(e,t,n,r){let a=n.enter("paragraph"),i=n.enter("phrasing"),o=n.containerPhrasing(e,r);return i(),a(),o},root:function(e,t,n,r){let a=e.children.some(function(e){return en(e)}),i=a?n.containerPhrasing:n.containerFlow;return i.call(n,e,r)},strong:er,text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){let r=(et(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}};function ei(e){let t=e._align;(0,a.ok)(t,"expected `_align` on table"),this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function eo(e){this.exit(e),this.data.inTable=void 0}function es(e){this.enter({type:"tableRow",children:[]},e)}function el(e){this.exit(e)}function ec(e){this.enter({type:"tableCell",children:[]},e)}function eu(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,ed));let n=this.stack[this.stack.length-1];(0,a.ok)("inlineCode"===n.type),n.value=t,this.exit(e)}function ed(e,t){return"|"===t?t:e}function ep(e){let t=this.stack[this.stack.length-2];(0,a.ok)("listItem"===t.type),t.checked="taskListCheckValueChecked"===e.type}function ef(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1];(0,a.ok)("paragraph"===e.type);let n=e.children[0];if(n&&"text"===n.type){let r;let a=t.children,i=-1;for(;++i0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}eO[43]=eA,eO[45]=eA,eO[46]=eA,eO[95]=eA,eO[72]=[eA,eS],eO[104]=[eA,eS],eO[87]=[eA,eT],eO[119]=[eA,eT];var eR=n(23402),eN=n(42761);let eL={tokenize:function(e,t,n){let r=this;return(0,eN.f)(e,function(e){let a=r.events[r.events.length-1];return a&&"gfmFootnoteDefinitionIndent"===a[1].type&&4===a[2].sliceSerialize(a[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function eD(e,t,n){let r;let a=this,i=a.events.length,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);for(;i--;){let e=a.events[i][1];if("labelImage"===e.type){r=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(i){if(!r||!r._balanced)return n(i);let s=(0,v.d)(a.sliceSerialize({start:r.end,end:a.now()}));return 94===s.codePointAt(0)&&o.includes(s.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(i),e.exit("gfmFootnoteCallLabelMarker"),t(i)):n(i)}}function eP(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;let i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",a,t],["exit",a,t],["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function eM(e,t,n){let r;let a=this,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),s=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),l};function l(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(l){if(s>999||93===l&&!r||null===l||91===l||(0,i.z3)(l))return n(l);if(93===l){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return o.includes((0,v.d)(a.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(l)}return(0,i.z3)(l)||(r=!0),s++,e.consume(l),92===l?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function eF(e,t,n){let r,a;let o=this,s=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]),l=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(t)}function u(t){if(l>999||93===t&&!a||null===t||91===t||(0,i.z3)(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return r=(0,v.d)(o.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return(0,i.z3)(t)||(a=!0),l++,e.consume(t),92===t?d:u}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}function p(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s.includes(r)||s.push(r),(0,eN.f)(e,f,"gfmFootnoteDefinitionWhitespace")):n(t)}function f(e){return t(e)}}function eB(e,t,n){return e.check(eR.w,t,e.attempt(eL,t,n))}function ej(e){e.exit("gfmFootnoteDefinition")}var eU=n(21905),eG=n(62987),eH=n(63233);class e${constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let a=0;if(0!==n||0!==r.length){for(;a0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function ez(e,t,n){let r;let a=this,o=0,s=0;return function(e){let t=a.events.length-1;for(;t>-1;){let e=a.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let r=t>-1?a.events[t][1].type:null,i="tableHead"===r||"tableRow"===r?E:l;return i===E&&a.parser.lazy[a.now().line]?n(e):i(e)};function l(t){return e.enter("tableHead"),e.enter("tableRow"),124===t||(r=!0,s+=1),c(t)}function c(t){return null===t?n(t):(0,i.Ch)(t)?s>1?(s=0,a.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p):n(t):(0,i.xz)(t)?(0,eN.f)(e,c,"whitespace")(t):(s+=1,r&&(r=!1,o+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,c):(e.enter("data"),u(t))}function u(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),c(t)):(e.consume(t),92===t?d:u)}function d(t){return 92===t||124===t?(e.consume(t),u):u(t)}function p(t){return(a.interrupt=!1,a.parser.lazy[a.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,(0,i.xz)(t))?(0,eN.f)(e,f,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):f(t)}function f(t){return 45===t||58===t?g(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),h):n(t)}function h(t){return(0,i.xz)(t)?(0,eN.f)(e,g,"whitespace")(t):g(t)}function g(t){return 58===t?(s+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),m):45===t?(s+=1,m(t)):null===t||(0,i.Ch)(t)?y(t):n(t)}function m(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),b):(e.exit("tableDelimiterFiller"),b(n))}(t)):n(t)}function b(t){return(0,i.xz)(t)?(0,eN.f)(e,y,"whitespace")(t):y(t)}function y(a){return 124===a?f(a):null===a||(0,i.Ch)(a)?r&&o===s?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(a)):n(a):n(a)}function E(t){return e.enter("tableRow"),v(t)}function v(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),v):null===n||(0,i.Ch)(n)?(e.exit("tableRow"),t(n)):(0,i.xz)(n)?(0,eN.f)(e,v,"whitespace")(n):(e.enter("data"),T(n))}function T(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),v(t)):(e.consume(t),92===t?S:T)}function S(t){return 92===t||124===t?(e.consume(t),T):T(t)}}function eZ(e,t){let n,r,a,i=-1,o=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,d=0,p=new e$;for(;++in[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",o,t]])}return void 0!==a&&(i.end=Object.assign({},eY(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function eV(e,t,n,r,a){let i=[],o=eY(t.events,n);a&&(a.end=Object.assign({},o),i.push(["exit",a,t])),r.end=Object.assign({},o),i.push(["exit",r,t]),e.add(n+1,0,i)}function eY(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}let eq={name:"tasklistCheck",tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),a):n(t)};function a(t){return(0,i.z3)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(t)}function s(r){return(0,i.Ch)(r)?t(r):(0,i.xz)(r)?e.check({tokenize:eK},t,n)(r):n(r)}}};function eK(e,t,n){return(0,eN.f)(e,function(e){return null===e?n(e):t(e)},"whitespace")}let eX={};function eQ(e){let t=e||eX,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),i=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push((0,eg.W)([{text:eO},{document:{91:{name:"gfmFootnoteDefinition",tokenize:eF,continuation:{tokenize:eB},exit:ej}},text:{91:{name:"gfmFootnoteCall",tokenize:eM},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:eD,resolveTo:eP}}},function(e){let t=(e||{}).singleTilde,n={name:"strikethrough",tokenize:function(e,n,r){let a=this.previous,i=this.events,o=0;return function(s){return 126===a&&"characterEscape"!==i[i.length-1][1].type?r(s):(e.enter("strikethroughSequenceTemporary"),function i(s){let l=(0,eG.r)(a);if(126===s)return o>1?r(s):(e.consume(s),o++,i);if(o<2&&!t)return r(s);let c=e.exit("strikethroughSequenceTemporary"),u=(0,eG.r)(s);return c._open=!u||2===u&&!!l,c._close=!l||2===l&&!!u,n(s)}(s))}},resolveAll:function(e,t){let n=-1;for(;++nl&&(l=e[c].length);++ds[d])&&(s[d]=e)}n.push(i)}i[c]=n,o[c]=a}let d=-1;if("object"==typeof n&&"length"in n)for(;++ds[d]&&(s[d]=i),f[d]=i),p[d]=o}i.splice(1,0,p),o.splice(1,0,f),c=-1;let h=[];for(;++c","Iacute":"\xcd","Icirc":"\xce","Igrave":"\xcc","Iuml":"\xcf","LT":"<","Ntilde":"\xd1","Oacute":"\xd3","Ocirc":"\xd4","Ograve":"\xd2","Oslash":"\xd8","Otilde":"\xd5","Ouml":"\xd6","QUOT":"\\"","REG":"\xae","THORN":"\xde","Uacute":"\xda","Ucirc":"\xdb","Ugrave":"\xd9","Uuml":"\xdc","Yacute":"\xdd","aacute":"\xe1","acirc":"\xe2","acute":"\xb4","aelig":"\xe6","agrave":"\xe0","amp":"&","aring":"\xe5","atilde":"\xe3","auml":"\xe4","brvbar":"\xa6","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","eacute":"\xe9","ecirc":"\xea","egrave":"\xe8","eth":"\xf0","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","iacute":"\xed","icirc":"\xee","iexcl":"\xa1","igrave":"\xec","iquest":"\xbf","iuml":"\xef","laquo":"\xab","lt":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","ntilde":"\xf1","oacute":"\xf3","ocirc":"\xf4","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","oslash":"\xf8","otilde":"\xf5","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","raquo":"\xbb","reg":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","thorn":"\xfe","times":"\xd7","uacute":"\xfa","ucirc":"\xfb","ugrave":"\xf9","uml":"\xa8","uuml":"\xfc","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')}},function(e){e.O(0,[3662,7034,6106,8674,3166,2837,2168,8163,1265,7728,2913,3791,5278,9859,4330,4041,8791,5030,5418,2783,3457,1300,4567,2398,2480,7410,7124,9773,4035,1154,2510,3345,9202,7249,3768,5789,9774,2888,179],function(){return e(e.s=32682)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/mobile/chat/components/Content-8ab50b10611ba714.js b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/mobile/chat/components/Content-feb3a01247fad15c.js similarity index 67% rename from packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/mobile/chat/components/Content-8ab50b10611ba714.js rename to packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/mobile/chat/components/Content-feb3a01247fad15c.js index 9dff33208..74a6a4fdd 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/mobile/chat/components/Content-8ab50b10611ba714.js +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/pages/mobile/chat/components/Content-feb3a01247fad15c.js @@ -1,4 +1,4 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6980,9618,6818,6231,8424,5265,2640,3913],{15381:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h129.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM184 456V172h81v284h-81zm627.2 160.4H496.8l9.6 198.4c.6 11.9-4.7 23.1-14.6 30.5-6.1 4.5-13.6 6.8-21.1 6.7a44.28 44.28 0 01-42.2-32.3L329 459.2V172h415.4a56.85 56.85 0 0133.6 51.8c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-14 25.5 21.9 19a56.76 56.76 0 0119.6 43c0 19.1-11 37.5-28.8 48.4z"}}]},name:"dislike",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},65429:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},27496:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},94668:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},34971:function(e,t){"use strict";t.Z=function(e,t,n){return en?n:e}},24960:function(e,t,n){"use strict";var r=n(44002);t.Z=function(e){return Array.isArray?Array.isArray(e):(0,r.Z)(e,"Array")}},52176:function(e,t,n){"use strict";var r=n(44002);t.Z=function(e){return(0,r.Z)(e,"Boolean")}},55265:function(e,t){"use strict";t.Z=function(e){return"function"==typeof e}},82993:function(e,t){"use strict";t.Z=function(e){return null==e}},23198:function(e,t,n){"use strict";function r(e,t,n){return void 0===n&&(n=1e-5),Math.abs(e-t)1&&(E*=C=Math.sqrt(C),v*=C);var w=E*E,I=v*v,R=(o===l?-1:1)*Math.sqrt(Math.abs((w*I-w*x*x-I*k*k)/(w*x*x+I*k*k)));m=R*E*x/v+(b+T)/2,g=-(R*v)*k/E+(y+S)/2,f=Math.asin(((y-g)/v*1e9>>0)/1e9),h=Math.asin(((S-g)/v*1e9>>0)/1e9),f=bh&&(f-=2*Math.PI),!l&&h>f&&(h-=2*Math.PI)}var N=h-f;if(Math.abs(N)>A){var L=h,D=T,P=S;_=e(T=m+E*Math.cos(h=f+A*(l&&h>f?1:-1)),S=g+v*Math.sin(h),E,v,i,0,l,D,P,[h,L,m,g])}N=h-f;var M=Math.cos(f),F=Math.cos(h),B=Math.tan(N/4),j=4/3*E*B,U=4/3*v*B,G=[b,y],H=[b+j*Math.sin(f),y-U*M],$=[T+j*Math.sin(h),S-U*F],z=[T,S];if(H[0]=2*G[0]-H[0],H[1]=2*G[1]-H[1],d)return H.concat($,z,_);_=H.concat($,z,_);for(var Z=[],W=0,V=_.length;W7){e[n].shift();for(var r=e[n],a=n;r.length;)t[n]="A",e.splice(a+=1,0,["C"].concat(r.splice(0,6)));e.splice(n,1)}}(d,f,b),m=d.length,"Z"===h&&g.push(b),l=(n=d[b]).length,p.x1=+n[l-2],p.y1=+n[l-1],p.x2=+n[l-4]||p.x1,p.y2=+n[l-3]||p.y1}return t?[d,g]:d}},19586:function(e,t,n){"use strict";n.d(t,{R:function(){return r}});var r={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0}},33554:function(e,t,n){"use strict";n.d(t,{z:function(){return r}});var r={x1:0,y1:0,x2:0,y2:0,x:0,y:0,qx:null,qy:null}},54947:function(e,t,n){"use strict";function r(e){return e.map(function(e){return Array.isArray(e)?[].concat(e):e})}n.d(t,{U:function(){return r}})},94918:function(e,t,n){"use strict";n.d(t,{A:function(){return f}});var r=n(97582),a=n(65336),i=n(33554),o=n(60310),s=n(97153),l=n(19586);function c(e){for(var t=e.pathValue[e.segmentStart],n=t.toLowerCase(),r=e.data;r.length>=l.R[n]&&("m"===n&&r.length>2?(e.segments.push([t].concat(r.splice(0,2))),n="l",t="m"===t?"l":"L"):e.segments.push([t].concat(r.splice(0,l.R[n]))),l.R[n]););}function u(e){return e>=48&&e<=57}function d(e){for(var t,n=e.pathValue,r=e.max;e.index=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].includes(t));)e.index+=1}var p=function(e){this.pathValue=e,this.segments=[],this.max=e.length,this.index=0,this.param=0,this.segmentStart=0,this.data=[],this.err=""};function f(e){if((0,a.y)(e))return[].concat(e);for(var t=function(e){if((0,o.b)(e))return[].concat(e);var t=function(e){if((0,s.n)(e))return[].concat(e);var t=new p(e);for(d(t);t.index0;s-=1){if((32|a)==97&&(3===s||4===s)?function(e){var t=e.index,n=e.pathValue,r=n.charCodeAt(t);if(48===r){e.param=0,e.index+=1;return}if(49===r){e.param=1,e.index+=1;return}e.err='[path-util]: invalid Arc flag "'+n[t]+'", expecting 0 or 1 at index '+t}(e):function(e){var t,n=e.max,r=e.pathValue,a=e.index,i=a,o=!1,s=!1,l=!1,c=!1;if(i>=n){e.err="[path-util]: Invalid path value at index "+i+', "pathValue" is missing param';return}if((43===(t=r.charCodeAt(i))||45===t)&&(i+=1,t=r.charCodeAt(i)),!u(t)&&46!==t){e.err="[path-util]: Invalid path value at index "+i+', "'+r[i]+'" is not a number';return}if(46!==t){if(o=48===t,i+=1,t=r.charCodeAt(i),o&&i=e.max||!((o=n.charCodeAt(e.index))>=48&&o<=57||43===o||45===o||46===o))break}c(e)}(t);return t.err?t.err:t.segments}(e),n=0,r=0,a=0,i=0;return t.map(function(e){var t,o=e.slice(1).map(Number),s=e[0],l=s.toUpperCase();if("M"===s)return n=o[0],r=o[1],a=n,i=r,["M",n,r];if(s!==l)switch(l){case"A":t=[l,o[0],o[1],o[2],o[3],o[4],o[5]+n,o[6]+r];break;case"V":t=[l,o[0]+r];break;case"H":t=[l,o[0]+n];break;default:t=[l].concat(o.map(function(e,t){return e+(t%2?r:n)}))}else t=[l].concat(o);var c=t.length;switch(l){case"Z":n=a,r=i;break;case"H":n=t[1];break;case"V":r=t[1];break;default:n=t[c-2],r=t[c-1],"M"===l&&(a=n,i=r)}return t})}(e),n=(0,r.pi)({},i.z),f=0;f=h[t],m[t]-=g?1:0,g?e.ss:[e.s]}).flat()});return b[0].length===b[1].length?b:e(b[0],b[1],f)}}});var r=n(50944),a=n(51777);function i(e){return e.map(function(e,t,n){var i,o,s,l,c,u,d,p,f,h,m,g,b=t&&n[t-1].slice(-2).concat(e.slice(1)),y=t?(0,a.S)(b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7],b[8],{bbox:!1}).length:0;return g=t?y?(void 0===i&&(i=.5),o=b.slice(0,2),s=b.slice(2,4),l=b.slice(4,6),c=b.slice(6,8),u=(0,r.k)(o,s,i),d=(0,r.k)(s,l,i),p=(0,r.k)(l,c,i),f=(0,r.k)(u,d,i),h=(0,r.k)(d,p,i),m=(0,r.k)(f,h,i),[["C"].concat(u,f,m),["C"].concat(h,p,c)]):[e,e]:[e],{s:e,ss:g,l:y}})}},46516:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var r=n(27872);function a(e){var t,n,a;return t=0,n=0,a=0,(0,r.Y)(e).map(function(e){if("M"===e[0])return t=e[1],n=e[2],0;var r,i,o,s=e.slice(1),l=s[0],c=s[1],u=s[2],d=s[3],p=s[4],f=s[5];return i=t,a=3*((f-(o=n))*(l+u)-(p-i)*(c+d)+c*(i-u)-l*(o-d)+f*(u+i/3)-p*(d+o/3))/20,t=(r=e.slice(-2))[0],n=r[1],a}).reduce(function(e,t){return e+t},0)>=0}},90046:function(e,t,n){"use strict";n.d(t,{r:function(){return i}});var r=n(97582),a=n(10992);function i(e,t,n){return(0,a.s)(e,t,(0,r.pi)((0,r.pi)({},n),{bbox:!1,length:!0})).point}},91952:function(e,t,n){"use strict";n.d(t,{g:function(){return a}});var r=n(58076);function a(e,t){var n,a,i=e.length-1,o=[],s=0,l=(a=(n=e.length)-1,e.map(function(t,r){return e.map(function(t,i){var o=r+i;return 0===i||e[o]&&"M"===e[o][0]?["M"].concat(e[o].slice(-2)):(o>=n&&(o-=a),e[o])})}));return l.forEach(function(n,a){e.slice(1).forEach(function(n,o){s+=(0,r.y)(e[(a+o)%i].slice(-2),t[o%i].slice(-2))}),o[a]=s,s=0}),l[o.indexOf(Math.min.apply(null,o))]}},62436:function(e,t,n){"use strict";n.d(t,{D:function(){return i}});var r=n(97582),a=n(10992);function i(e,t){return(0,a.s)(e,void 0,(0,r.pi)((0,r.pi)({},t),{bbox:!1,length:!0})).length}},60310:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var r=n(97153);function a(e){return(0,r.n)(e)&&e.every(function(e){var t=e[0];return t===t.toUpperCase()})}},65336:function(e,t,n){"use strict";n.d(t,{y:function(){return a}});var r=n(60310);function a(e){return(0,r.b)(e)&&e.every(function(e){var t=e[0];return"ACLMQZ".includes(t)})}},97153:function(e,t,n){"use strict";n.d(t,{n:function(){return a}});var r=n(19586);function a(e){return Array.isArray(e)&&e.every(function(e){var t=e[0].toLowerCase();return r.R[t]===e.length-1&&"achlmqstvz".includes(t)})}},50944:function(e,t,n){"use strict";function r(e,t,n){var r=e[0],a=e[1];return[r+(t[0]-r)*n,a+(t[1]-a)*n]}n.d(t,{k:function(){return r}})},10992:function(e,t,n){"use strict";n.d(t,{s:function(){return c}});var r=n(94918),a=n(50944),i=n(58076);function o(e,t,n,r,o){var s=(0,i.y)([e,t],[n,r]),l={x:0,y:0};if("number"==typeof o){if(o<=0)l={x:e,y:t};else if(o>=s)l={x:n,y:r};else{var c=(0,a.k)([e,t],[n,r],o/s);l={x:c[0],y:c[1]}}}return{length:s,point:l,min:{x:Math.min(e,n),y:Math.min(t,r)},max:{x:Math.max(e,n),y:Math.max(t,r)}}}function s(e,t){var n=e.x,r=e.y,a=t.x,i=t.y,o=Math.sqrt((Math.pow(n,2)+Math.pow(r,2))*(Math.pow(a,2)+Math.pow(i,2)));return(n*i-r*a<0?-1:1)*Math.acos((n*a+r*i)/o)}var l=n(51777);function c(e,t,n){for(var a,c,u,d,p,f,h,m,g,b=(0,r.A)(e),y="number"==typeof t,E=[],v=0,T=0,S=0,A=0,O=[],_=[],k=0,x={x:0,y:0},C=x,w=x,I=x,R=0,N=0,L=b.length;N1&&(b*=m(A),y*=m(A));var O=(Math.pow(b,2)*Math.pow(y,2)-Math.pow(b,2)*Math.pow(S.y,2)-Math.pow(y,2)*Math.pow(S.x,2))/(Math.pow(b,2)*Math.pow(S.y,2)+Math.pow(y,2)*Math.pow(S.x,2)),_=(i!==l?1:-1)*m(O=O<0?0:O),k={x:_*(b*S.y/y),y:_*(-(y*S.x)/b)},x={x:h(E)*k.x-f(E)*k.y+(e+c)/2,y:f(E)*k.x+h(E)*k.y+(t+u)/2},C={x:(S.x-k.x)/b,y:(S.y-k.y)/y},w=s({x:1,y:0},C),I=s(C,{x:(-S.x-k.x)/b,y:(-S.y-k.y)/y});!l&&I>0?I-=2*g:l&&I<0&&(I+=2*g);var R=w+(I%=2*g)*d,N=b*h(R),L=y*f(R);return{x:h(E)*N-f(E)*L+x.x,y:f(E)*N+h(E)*L+x.y}}(e,t,n,r,a,l,c,u,d,w/v)).x,A=h.y,g&&C.push({x:S,y:A}),y&&(O+=(0,i.y)(k,[S,A])),k=[S,A],T&&O>=p&&p>_[2]){var I=(O-p)/(O-_[2]);x={x:k[0]*(1-I)+_[0]*I,y:k[1]*(1-I)+_[1]*I}}_=[S,A,O]}return T&&p>=O&&(x={x:u,y:d}),{length:O,point:x,min:{x:Math.min.apply(null,C.map(function(e){return e.x})),y:Math.min.apply(null,C.map(function(e){return e.y}))},max:{x:Math.max.apply(null,C.map(function(e){return e.x})),y:Math.max.apply(null,C.map(function(e){return e.y}))}}}(E[0],E[1],E[2],E[3],E[4],E[5],E[6],E[7],E[8],(t||0)-R,n||{})).length,x=c.min,C=c.max,w=c.point):"C"===m?(k=(u=(0,l.S)(E[0],E[1],E[2],E[3],E[4],E[5],E[6],E[7],(t||0)-R,n||{})).length,x=u.min,C=u.max,w=u.point):"Q"===m?(k=(d=function(e,t,n,r,a,o,s,l){var c,u=l.bbox,d=void 0===u||u,p=l.length,f=void 0===p||p,h=l.sampleSize,m=void 0===h?10:h,g="number"==typeof s,b=e,y=t,E=0,v=[b,y,0],T=[b,y],S={x:0,y:0},A=[{x:b,y:y}];g&&s<=0&&(S={x:b,y:y});for(var O=0;O<=m;O+=1){if(b=(c=function(e,t,n,r,a,i,o){var s=1-o;return{x:Math.pow(s,2)*e+2*s*o*n+Math.pow(o,2)*a,y:Math.pow(s,2)*t+2*s*o*r+Math.pow(o,2)*i}}(e,t,n,r,a,o,O/m)).x,y=c.y,d&&A.push({x:b,y:y}),f&&(E+=(0,i.y)(T,[b,y])),T=[b,y],g&&E>=s&&s>v[2]){var _=(E-s)/(E-v[2]);S={x:T[0]*(1-_)+v[0]*_,y:T[1]*(1-_)+v[1]*_}}v=[b,y,E]}return g&&s>=E&&(S={x:a,y:o}),{length:E,point:S,min:{x:Math.min.apply(null,A.map(function(e){return e.x})),y:Math.min.apply(null,A.map(function(e){return e.y}))},max:{x:Math.max.apply(null,A.map(function(e){return e.x})),y:Math.max.apply(null,A.map(function(e){return e.y}))}}}(E[0],E[1],E[2],E[3],E[4],E[5],(t||0)-R,n||{})).length,x=d.min,C=d.max,w=d.point):"Z"===m&&(k=(p=o((E=[v,T,S,A])[0],E[1],E[2],E[3],(t||0)-R)).length,x=p.min,C=p.max,w=p.point),y&&R=t&&(I=w),_.push(C),O.push(x),R+=k,v=(f="Z"!==m?g.slice(-2):[S,A])[0],T=f[1];return y&&t>=R&&(I={x:v,y:T}),{length:R,point:I,min:{x:Math.min.apply(null,O.map(function(e){return e.x})),y:Math.min.apply(null,O.map(function(e){return e.y}))},max:{x:Math.max.apply(null,_.map(function(e){return e.x})),y:Math.max.apply(null,_.map(function(e){return e.y}))}}}},51777:function(e,t,n){"use strict";n.d(t,{S:function(){return a}});var r=n(58076);function a(e,t,n,a,i,o,s,l,c,u){var d,p=u.bbox,f=void 0===p||p,h=u.length,m=void 0===h||h,g=u.sampleSize,b=void 0===g?10:g,y="number"==typeof c,E=e,v=t,T=0,S=[E,v,0],A=[E,v],O={x:0,y:0},_=[{x:E,y:v}];y&&c<=0&&(O={x:E,y:v});for(var k=0;k<=b;k+=1){if(E=(d=function(e,t,n,r,a,i,o,s,l){var c=1-l;return{x:Math.pow(c,3)*e+3*Math.pow(c,2)*l*n+3*c*Math.pow(l,2)*a+Math.pow(l,3)*o,y:Math.pow(c,3)*t+3*Math.pow(c,2)*l*r+3*c*Math.pow(l,2)*i+Math.pow(l,3)*s}}(e,t,n,a,i,o,s,l,k/b)).x,v=d.y,f&&_.push({x:E,y:v}),m&&(T+=(0,r.y)(A,[E,v])),A=[E,v],y&&T>=c&&c>S[2]){var x=(T-c)/(T-S[2]);O={x:A[0]*(1-x)+S[0]*x,y:A[1]*(1-x)+S[1]*x}}S=[E,v,T]}return y&&c>=T&&(O={x:s,y:l}),{length:T,point:O,min:{x:Math.min.apply(null,_.map(function(e){return e.x})),y:Math.min.apply(null,_.map(function(e){return e.y}))},max:{x:Math.max.apply(null,_.map(function(e){return e.x})),y:Math.max.apply(null,_.map(function(e){return e.y}))}}}},4503:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function i(e,t,r,i,o){if("function"!=typeof r)throw TypeError("The listener must be a function");var s=new a(r,i||e,o),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function o(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,a=[];if(0===this._eventsCount)return a;for(r in e=this._events)t.call(e,r)&&a.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?a.concat(Object.getOwnPropertySymbols(e)):a},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var a=0,i=r.length,o=Array(i);at.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let o="text/event-stream",s="last-event-id";function l(e,t){var{signal:n,headers:l,onopen:u,onmessage:d,onclose:p,onerror:f,openWhenHidden:h,fetch:m}=t,g=i(t,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((t,i)=>{let b;let y=Object.assign({},l);function E(){b.abort(),document.hidden||_()}y.accept||(y.accept=o),h||document.addEventListener("visibilitychange",E);let v=1e3,T=0;function S(){document.removeEventListener("visibilitychange",E),window.clearTimeout(T),b.abort()}null==n||n.addEventListener("abort",()=>{S(),t()});let A=null!=m?m:window.fetch,O=null!=u?u:c;async function _(){var n,o;b=new AbortController;try{let n,i,l,c;let u=await A(e,Object.assign(Object.assign({},g),{headers:y,signal:b.signal}));await O(u),await r(u.body,(o=function(e,t,n){let r=a(),i=new TextDecoder;return function(o,s){if(0===o.length)null==n||n(r),r=a();else if(s>0){let n=i.decode(o.subarray(0,s)),a=s+(32===o[s+1]?2:1),l=i.decode(o.subarray(a));switch(n){case"data":r.data=r.data?r.data+"\n"+l:l;break;case"event":r.event=l;break;case"id":e(r.id=l);break;case"retry":let c=parseInt(l,10);isNaN(c)||t(r.retry=c)}}}}(e=>{e?y[s]=e:delete y[s]},e=>{v=e},d),c=!1,function(e){void 0===n?(n=e,i=0,l=-1):n=function(e,t){let n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}(n,e);let t=n.length,r=0;for(;i=n?k.text.primary:_.text.primary;return t}let w=({color:e,name:t,mainShade:n=500,lightShade:i=300,darkShade:o=700})=>{if(!(e=(0,r.Z)({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw Error((0,u.Z)(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw Error((0,u.Z)(12,t?` (${t})`:"",JSON.stringify(e.main)));return x(e,"light",i,a),x(e,"dark",o,a),e.contrastText||(e.contrastText=C(e.main)),e},I=(0,d.Z)((0,r.Z)({common:(0,r.Z)({},g),mode:t,primary:w({color:s,name:"primary"}),secondary:w({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:w({color:c,name:"error"}),warning:w({color:h,name:"warning"}),info:w({color:p,name:"info"}),success:w({color:f,name:"success"}),grey:b,contrastThreshold:n,getContrastText:C,augmentColor:w,tonalOffset:a},{dark:k,light:_}[t]),o);return I}(a),R=(0,h.Z)(e),U=(0,d.Z)(R,{mixins:(t=R.breakpoints,(0,r.Z)({toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}}},n)),palette:c,shadows:N.slice(),typography:function(e,t){let n="function"==typeof t?t(e):t,{fontFamily:a=I,fontSize:o=14,fontWeightLight:s=300,fontWeightRegular:l=400,fontWeightMedium:c=500,fontWeightBold:u=700,htmlFontSize:p=16,allVariants:f,pxToRem:h}=n,m=(0,i.Z)(n,C),g=o/14,b=h||(e=>`${e/p*g}rem`),y=(e,t,n,i,o)=>(0,r.Z)({fontFamily:a,fontWeight:e,fontSize:b(t),lineHeight:n},a===I?{letterSpacing:`${Math.round(1e5*(i/t))/1e5}em`}:{},o,f),E={h1:y(s,96,1.167,-1.5),h2:y(s,60,1.2,-.5),h3:y(l,48,1.167,0),h4:y(l,34,1.235,.25),h5:y(l,24,1.334,0),h6:y(c,20,1.6,.15),subtitle1:y(l,16,1.75,.15),subtitle2:y(c,14,1.57,.1),body1:y(l,16,1.5,.15),body2:y(l,14,1.43,.15),button:y(c,14,1.75,.4,w),caption:y(l,12,1.66,.4),overline:y(l,12,2.66,1,w),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,d.Z)((0,r.Z)({htmlFontSize:p,pxToRem:b,fontFamily:a,fontSize:o,fontWeightLight:s,fontWeightRegular:l,fontWeightMedium:c,fontWeightBold:u},E),m,{clone:!1})}(c,s),transitions:function(e){let t=(0,r.Z)({},D,e.easing),n=(0,r.Z)({},P,e.duration);return(0,r.Z)({getAutoHeightDuration:F,create:(e=["all"],r={})=>{let{duration:a=n.standard,easing:o=t.easeInOut,delay:s=0}=r;return(0,i.Z)(r,L),(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof a?a:M(a)} ${o} ${"string"==typeof s?s:M(s)}`).join(",")}},e,{easing:t,duration:n})}(o),zIndex:(0,r.Z)({},B)});return(U=[].reduce((e,t)=>(0,d.Z)(e,t),U=(0,d.Z)(U,l))).unstable_sxConfig=(0,r.Z)({},p.Z,null==l?void 0:l.unstable_sxConfig),U.unstable_sx=function(e){return(0,f.Z)({sx:e,theme:this})},U}();var G="$$material",H=n(58128);let $=(0,H.ZP)({themeId:G,defaultTheme:U,rootShouldForwardProp:e=>"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e&&"classes"!==e});var z=n(1977),Z=n(8027);function W(e){return(0,Z.ZP)("MuiSvgIcon",e)}(0,z.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var V=n(85893);let Y=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],q=e=>{let{color:t,fontSize:n,classes:r}=e,a={root:["root","inherit"!==t&&`color${l(t)}`,`fontSize${l(n)}`]};return(0,s.Z)(a,W,r)},K=$("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${l(n.color)}`],t[`fontSize${l(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,a,i,o,s,l,c,u,d,p,f,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(a=e.transitions)||null==(a=a.duration)?void 0:a.shorter}),fontSize:({inherit:"inherit",small:(null==(i=e.typography)||null==(o=i.pxToRem)?void 0:o.call(i,20))||"1.25rem",medium:(null==(s=e.typography)||null==(l=s.pxToRem)?void 0:l.call(s,24))||"1.5rem",large:(null==(c=e.typography)||null==(u=c.pxToRem)?void 0:u.call(c,35))||"2.1875rem"})[t.fontSize],color:null!=(d=null==(p=(e.vars||e).palette)||null==(p=p[t.color])?void 0:p.main)?d:({action:null==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.active,disabled:null==(h=(e.vars||e).palette)||null==(h=h.action)?void 0:h.disabled,inherit:void 0})[t.color]}}),X=a.forwardRef(function(e,t){let n=function({props:e,name:t}){return(0,c.Z)({props:e,name:t,defaultTheme:U,themeId:G})}({props:e,name:"MuiSvgIcon"}),{children:s,className:l,color:u="inherit",component:d="svg",fontSize:p="medium",htmlColor:f,inheritViewBox:h=!1,titleAccess:m,viewBox:g="0 0 24 24"}=n,b=(0,i.Z)(n,Y),y=a.isValidElement(s)&&"svg"===s.type,E=(0,r.Z)({},n,{color:u,component:d,fontSize:p,instanceFontSize:e.fontSize,inheritViewBox:h,viewBox:g,hasSvgAsChild:y}),v={};h||(v.viewBox=g);let T=q(E);return(0,V.jsxs)(K,(0,r.Z)({as:d,className:(0,o.Z)(T.root,l),focusable:"false",color:f,"aria-hidden":!m||void 0,role:m?"img":void 0,ref:t},v,b,y&&s.props,{ownerState:E,children:[y?s.props.children:s,m?(0,V.jsx)("title",{children:m}):null]}))});function Q(e,t){function n(n,a){return(0,V.jsx)(X,(0,r.Z)({"data-testid":`${t}Icon`,ref:a},n,{children:e}))}return n.muiName=X.muiName,a.memo(a.forwardRef(n))}X.muiName="SvgIcon"},2101:function(e,t,n){"use strict";var r=n(64836);t._j=function(e,t){if(e=s(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return l(e)},t.mi=function(e,t){let n=c(e),r=c(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)},t.$n=function(e,t){if(e=s(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return l(e)};var a=r(n(743)),i=r(n(49425));function o(e,t=0,n=1){return(0,i.default)(e,t,n)}function s(e){let t;if(e.type)return e;if("#"===e.charAt(0))return s(function(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map(e=>e+e)),n?`rgb${4===n.length?"a":""}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));let n=e.indexOf("("),r=e.substring(0,n);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw Error((0,a.default)(9,e));let i=e.substring(n+1,e.length-1);if("color"===r){if(t=(i=i.split(" ")).shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(t))throw Error((0,a.default)(10,t))}else i=i.split(",");return{type:r,values:i=i.map(e=>parseFloat(e)),colorSpace:t}}function l(e){let{type:t,colorSpace:n}=e,{values:r}=e;return -1!==t.indexOf("rgb")?r=r.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),`${t}(${r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`})`}function c(e){let t="hsl"===(e=s(e)).type||"hsla"===e.type?s(function(e){e=s(e);let{values:t}=e,n=t[0],r=t[1]/100,a=t[2]/100,i=r*Math.min(a,1-a),o=(e,t=(e+n/30)%12)=>a-i*Math.max(Math.min(t-3,9-t,1),-1),c="rgb",u=[Math.round(255*o(0)),Math.round(255*o(8)),Math.round(255*o(4))];return"hsla"===e.type&&(c+="a",u.push(t[3])),l({type:c,values:u})}(e)).values:e.values;return Number((.2126*(t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)))[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}},58128:function(e,t,n){"use strict";var r=n(64836);t.ZP=function(e={}){let{themeId:t,defaultTheme:n=m,rootShouldForwardProp:r=h,slotShouldForwardProp:l=h}=e,u=e=>(0,c.default)((0,a.default)({},e,{theme:b((0,a.default)({},e,{defaultTheme:n,themeId:t}))}));return u.__mui_systemSx=!0,(e,c={})=>{var d;let f;(0,o.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));let{name:m,slot:E,skipVariantsResolver:v,skipSx:T,overridesResolver:S=(d=g(E))?(e,t)=>t[d]:null}=c,A=(0,i.default)(c,p),O=void 0!==v?v:E&&"Root"!==E&&"root"!==E||!1,_=T||!1,k=h;"Root"===E||"root"===E?k=r:E?k=l:"string"==typeof e&&e.charCodeAt(0)>96&&(k=void 0);let x=(0,o.default)(e,(0,a.default)({shouldForwardProp:k,label:f},A)),C=e=>"function"==typeof e&&e.__emotion_real!==e||(0,s.isPlainObject)(e)?r=>y(e,(0,a.default)({},r,{theme:b({theme:r.theme,defaultTheme:n,themeId:t})})):e,w=(r,...i)=>{let o=C(r),s=i?i.map(C):[];m&&S&&s.push(e=>{let r=b((0,a.default)({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[m]||!r.components[m].styleOverrides)return null;let i=r.components[m].styleOverrides,o={};return Object.entries(i).forEach(([t,n])=>{o[t]=y(n,(0,a.default)({},e,{theme:r}))}),S(e,o)}),m&&!O&&s.push(e=>{var r;let i=b((0,a.default)({},e,{defaultTheme:n,themeId:t})),o=null==i||null==(r=i.components)||null==(r=r[m])?void 0:r.variants;return y({variants:o},(0,a.default)({},e,{theme:i}))}),_||s.push(u);let l=s.length-i.length;if(Array.isArray(r)&&l>0){let e=Array(l).fill("");(o=[...r,...e]).raw=[...r.raw,...e]}let c=x(o,...s);return e.muiName&&(c.muiName=e.muiName),c};return x.withConfig&&(w.withConfig=x.withConfig),w}};var a=r(n(10434)),i=r(n(7071)),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(23534)),s=n(211);r(n(99698)),r(n(37889));var l=r(n(19926)),c=r(n(386));let u=["ownerState"],d=["variants"],p=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function h(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}let m=(0,l.default)(),g=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function b({defaultTheme:e,theme:t,themeId:n}){return 0===Object.keys(t).length?e:t[n]||t}function y(e,t){let{ownerState:n}=t,r=(0,i.default)(t,u),o="function"==typeof e?e((0,a.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(e=>y(e,(0,a.default)({ownerState:n},r)));if(o&&"object"==typeof o&&Array.isArray(o.variants)){let{variants:e=[]}=o,t=(0,i.default)(o,d),s=t;return e.forEach(e=>{let t=!0;"function"==typeof e.props?t=e.props((0,a.default)({ownerState:n},r,n)):Object.keys(e.props).forEach(a=>{(null==n?void 0:n[a])!==e.props[a]&&r[a]!==e.props[a]&&(t=!1)}),t&&(Array.isArray(s)||(s=[s]),s.push("function"==typeof e.style?e.style((0,a.default)({ownerState:n},r,n)):e.style))}),s}return o}},19926:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},private_createBreakpoints:function(){return a.Z},unstable_applyStyles:function(){return i.Z}});var r=n(88647),a=n(41512),i=n(57064)},386:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},extendSxProp:function(){return a.Z},unstable_createStyleFunctionSx:function(){return r.n},unstable_defaultSxConfig:function(){return i.Z}});var r=n(86523),a=n(39707),i=n(44920)},99698:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(62908)},49425:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r}});var r=function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}},211:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},isPlainObject:function(){return r.P}});var r=n(68027)},743:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(78758)},37889:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return l},getFunctionName:function(){return i}});var r=n(59864);let a=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function i(e){let t=`${e}`.match(a),n=t&&t[1];return n||""}function o(e,t=""){return e.displayName||e.name||i(e)||t}function s(e,t,n){let r=o(t);return e.displayName||(""!==r?`${n}(${r})`:n)}function l(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return o(e,"Component");if("object"==typeof e)switch(e.$$typeof){case r.ForwardRef:return s(e,e.render,"ForwardRef");case r.Memo:return s(e,e.type,"memo")}}}},2093:function(e,t,n){"use strict";var r=n(97582),a=n(67294),i=n(92770);t.Z=function(e,t){(0,a.useEffect)(function(){var t=e(),n=!1;return!function(){(0,r.mG)(this,void 0,void 0,function(){return(0,r.Jh)(this,function(e){switch(e.label){case 0:if(!(0,i.mf)(t[Symbol.asyncIterator]))return[3,4];e.label=1;case 1:return[4,t.next()];case 2:if(e.sent().done||n)return[3,3];return[3,1];case 3:return[3,6];case 4:return[4,t];case 5:e.sent(),e.label=6;case 6:return[2]}})})}(),function(){n=!0}},t)}},85265:function(e,t,n){"use strict";n.d(t,{Z:function(){return q}});var r=n(67294),a=n(93967),i=n.n(a),o=n(1413),s=n(97685),l=n(2788),c=n(8410),u=r.createContext(null),d=r.createContext({}),p=n(4942),f=n(87462),h=n(29372),m=n(15105),g=n(64217),b=n(45987),y=n(42550),E=["prefixCls","className","containerRef"],v=function(e){var t=e.prefixCls,n=e.className,a=e.containerRef,o=(0,b.Z)(e,E),s=r.useContext(d).panel,l=(0,y.x1)(s,a);return r.createElement("div",(0,f.Z)({className:i()("".concat(t,"-content"),n),role:"dialog",ref:l},(0,g.Z)(e,{aria:!0}),{"aria-modal":"true"},o))},T=n(80334);function S(e){return"string"==typeof e&&String(Number(e))===e?((0,T.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var A={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"},O=r.forwardRef(function(e,t){var n,a,l,c=e.prefixCls,d=e.open,b=e.placement,y=e.inline,E=e.push,T=e.forceRender,O=e.autoFocus,_=e.keyboard,k=e.classNames,x=e.rootClassName,C=e.rootStyle,w=e.zIndex,I=e.className,R=e.id,N=e.style,L=e.motion,D=e.width,P=e.height,M=e.children,F=e.mask,B=e.maskClosable,j=e.maskMotion,U=e.maskClassName,G=e.maskStyle,H=e.afterOpenChange,$=e.onClose,z=e.onMouseEnter,Z=e.onMouseOver,W=e.onMouseLeave,V=e.onClick,Y=e.onKeyDown,q=e.onKeyUp,K=e.styles,X=e.drawerRender,Q=r.useRef(),J=r.useRef(),ee=r.useRef();r.useImperativeHandle(t,function(){return Q.current}),r.useEffect(function(){if(d&&O){var e;null===(e=Q.current)||void 0===e||e.focus({preventScroll:!0})}},[d]);var et=r.useState(!1),en=(0,s.Z)(et,2),er=en[0],ea=en[1],ei=r.useContext(u),eo=null!==(n=null!==(a=null===(l="boolean"==typeof E?E?{}:{distance:0}:E||{})||void 0===l?void 0:l.distance)&&void 0!==a?a:null==ei?void 0:ei.pushDistance)&&void 0!==n?n:180,es=r.useMemo(function(){return{pushDistance:eo,push:function(){ea(!0)},pull:function(){ea(!1)}}},[eo]);r.useEffect(function(){var e,t;d?null==ei||null===(e=ei.push)||void 0===e||e.call(ei):null==ei||null===(t=ei.pull)||void 0===t||t.call(ei)},[d]),r.useEffect(function(){return function(){var e;null==ei||null===(e=ei.pull)||void 0===e||e.call(ei)}},[]);var el=F&&r.createElement(h.ZP,(0,f.Z)({key:"mask"},j,{visible:d}),function(e,t){var n=e.className,a=e.style;return r.createElement("div",{className:i()("".concat(c,"-mask"),n,null==k?void 0:k.mask,U),style:(0,o.Z)((0,o.Z)((0,o.Z)({},a),G),null==K?void 0:K.mask),onClick:B&&d?$:void 0,ref:t})}),ec="function"==typeof L?L(b):L,eu={};if(er&&eo)switch(b){case"top":eu.transform="translateY(".concat(eo,"px)");break;case"bottom":eu.transform="translateY(".concat(-eo,"px)");break;case"left":eu.transform="translateX(".concat(eo,"px)");break;default:eu.transform="translateX(".concat(-eo,"px)")}"left"===b||"right"===b?eu.width=S(D):eu.height=S(P);var ed={onMouseEnter:z,onMouseOver:Z,onMouseLeave:W,onClick:V,onKeyDown:Y,onKeyUp:q},ep=r.createElement(h.ZP,(0,f.Z)({key:"panel"},ec,{visible:d,forceRender:T,onVisibleChanged:function(e){null==H||H(e)},removeOnLeave:!1,leavedClassName:"".concat(c,"-content-wrapper-hidden")}),function(t,n){var a=t.className,s=t.style,l=r.createElement(v,(0,f.Z)({id:R,containerRef:n,prefixCls:c,className:i()(I,null==k?void 0:k.content),style:(0,o.Z)((0,o.Z)({},N),null==K?void 0:K.content)},(0,g.Z)(e,{aria:!0}),ed),M);return r.createElement("div",(0,f.Z)({className:i()("".concat(c,"-content-wrapper"),null==k?void 0:k.wrapper,a),style:(0,o.Z)((0,o.Z)((0,o.Z)({},eu),s),null==K?void 0:K.wrapper)},(0,g.Z)(e,{data:!0})),X?X(l):l)}),ef=(0,o.Z)({},C);return w&&(ef.zIndex=w),r.createElement(u.Provider,{value:es},r.createElement("div",{className:i()(c,"".concat(c,"-").concat(b),x,(0,p.Z)((0,p.Z)({},"".concat(c,"-open"),d),"".concat(c,"-inline"),y)),style:ef,tabIndex:-1,ref:Q,onKeyDown:function(e){var t,n,r=e.keyCode,a=e.shiftKey;switch(r){case m.Z.TAB:r===m.Z.TAB&&(a||document.activeElement!==ee.current?a&&document.activeElement===J.current&&(null===(n=ee.current)||void 0===n||n.focus({preventScroll:!0})):null===(t=J.current)||void 0===t||t.focus({preventScroll:!0}));break;case m.Z.ESC:$&&_&&(e.stopPropagation(),$(e))}}},el,r.createElement("div",{tabIndex:0,ref:J,style:A,"aria-hidden":"true","data-sentinel":"start"}),ep,r.createElement("div",{tabIndex:0,ref:ee,style:A,"aria-hidden":"true","data-sentinel":"end"})))}),_=function(e){var t=e.open,n=e.prefixCls,a=e.placement,i=e.autoFocus,u=e.keyboard,p=e.width,f=e.mask,h=void 0===f||f,m=e.maskClosable,g=e.getContainer,b=e.forceRender,y=e.afterOpenChange,E=e.destroyOnClose,v=e.onMouseEnter,T=e.onMouseOver,S=e.onMouseLeave,A=e.onClick,_=e.onKeyDown,k=e.onKeyUp,x=e.panelRef,C=r.useState(!1),w=(0,s.Z)(C,2),I=w[0],R=w[1],N=r.useState(!1),L=(0,s.Z)(N,2),D=L[0],P=L[1];(0,c.Z)(function(){P(!0)},[]);var M=!!D&&void 0!==t&&t,F=r.useRef(),B=r.useRef();(0,c.Z)(function(){M&&(B.current=document.activeElement)},[M]);var j=r.useMemo(function(){return{panel:x}},[x]);if(!b&&!I&&!M&&E)return null;var U=(0,o.Z)((0,o.Z)({},e),{},{open:M,prefixCls:void 0===n?"rc-drawer":n,placement:void 0===a?"right":a,autoFocus:void 0===i||i,keyboard:void 0===u||u,width:void 0===p?378:p,mask:h,maskClosable:void 0===m||m,inline:!1===g,afterOpenChange:function(e){var t,n;R(e),null==y||y(e),e||!B.current||null!==(t=F.current)&&void 0!==t&&t.contains(B.current)||null===(n=B.current)||void 0===n||n.focus({preventScroll:!0})},ref:F},{onMouseEnter:v,onMouseOver:T,onMouseLeave:S,onClick:A,onKeyDown:_,onKeyUp:k});return r.createElement(d.Provider,{value:j},r.createElement(l.Z,{open:M||b||I,autoDestroy:!1,getContainer:g,autoLock:h&&(M||I)},r.createElement(O,U)))},k=n(89942),x=n(87263),C=n(33603),w=n(43945),I=n(53124),R=n(16569),N=n(69760),L=n(48054),D=e=>{var t,n;let{prefixCls:a,title:o,footer:s,extra:l,loading:c,onClose:u,headerStyle:d,bodyStyle:p,footerStyle:f,children:h,classNames:m,styles:g}=e,{drawer:b}=r.useContext(I.E_),y=r.useCallback(e=>r.createElement("button",{type:"button",onClick:u,"aria-label":"Close",className:`${a}-close`},e),[u]),[E,v]=(0,N.Z)((0,N.w)(e),(0,N.w)(b),{closable:!0,closeIconRender:y}),T=r.useMemo(()=>{var e,t;return o||E?r.createElement("div",{style:Object.assign(Object.assign(Object.assign({},null===(e=null==b?void 0:b.styles)||void 0===e?void 0:e.header),d),null==g?void 0:g.header),className:i()(`${a}-header`,{[`${a}-header-close-only`]:E&&!o&&!l},null===(t=null==b?void 0:b.classNames)||void 0===t?void 0:t.header,null==m?void 0:m.header)},r.createElement("div",{className:`${a}-header-title`},v,o&&r.createElement("div",{className:`${a}-title`},o)),l&&r.createElement("div",{className:`${a}-extra`},l)):null},[E,v,l,d,a,o]),S=r.useMemo(()=>{var e,t;if(!s)return null;let n=`${a}-footer`;return r.createElement("div",{className:i()(n,null===(e=null==b?void 0:b.classNames)||void 0===e?void 0:e.footer,null==m?void 0:m.footer),style:Object.assign(Object.assign(Object.assign({},null===(t=null==b?void 0:b.styles)||void 0===t?void 0:t.footer),f),null==g?void 0:g.footer)},s)},[s,f,a]);return r.createElement(r.Fragment,null,T,r.createElement("div",{className:i()(`${a}-body`,null==m?void 0:m.body,null===(t=null==b?void 0:b.classNames)||void 0===t?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},null===(n=null==b?void 0:b.styles)||void 0===n?void 0:n.body),p),null==g?void 0:g.body)},c?r.createElement(L.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${a}-body-skeleton`}):h),S)},P=n(25446),M=n(14747),F=n(83559),B=n(83262);let j=e=>{let t="100%";return({left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`})[e]},U=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),G=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}}},U({opacity:e},{opacity:1})),H=(e,t)=>[G(.7,t),U({transform:j(e)},{transform:"none"})];var $=e=>{let{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:G(0,n),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce((e,t)=>Object.assign(Object.assign({},e),{[`&-${t}`]:H(t,n)}),{})}}};let z=e=>{let{borderRadiusSM:t,componentCls:n,zIndexPopup:r,colorBgMask:a,colorBgElevated:i,motionDurationSlow:o,motionDurationMid:s,paddingXS:l,padding:c,paddingLG:u,fontSizeLG:d,lineHeightLG:p,lineWidth:f,lineType:h,colorSplit:m,marginXS:g,colorIcon:b,colorIconHover:y,colorBgTextHover:E,colorBgTextActive:v,colorText:T,fontWeightStrong:S,footerPaddingBlock:A,footerPaddingInline:O,calc:_}=e,k=`${n}-content-wrapper`;return{[n]:{position:"fixed",inset:0,zIndex:r,pointerEvents:"none",color:T,"&-pure":{position:"relative",background:i,display:"flex",flexDirection:"column",[`&${n}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${n}-mask`]:{position:"absolute",inset:0,zIndex:r,background:a,pointerEvents:"auto"},[k]:{position:"absolute",zIndex:r,maxWidth:"100vw",transition:`all ${o}`,"&-hidden":{display:"none"}},[`&-left > ${k}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${k}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${k}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${k}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${n}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:i,pointerEvents:"auto"},[`${n}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,P.bf)(c)} ${(0,P.bf)(u)}`,fontSize:d,lineHeight:p,borderBottom:`${(0,P.bf)(f)} ${h} ${m}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:"none"},[`${n}-close`]:Object.assign({display:"inline-flex",width:_(d).add(l).equal(),height:_(d).add(l).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",marginInlineEnd:g,color:b,fontWeight:S,fontSize:d,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${s}`,textRendering:"auto","&:hover":{color:y,backgroundColor:E,textDecoration:"none"},"&:active":{backgroundColor:v}},(0,M.Qy)(e)),[`${n}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:d,lineHeight:p},[`${n}-body`]:{flex:1,minWidth:0,minHeight:0,padding:u,overflow:"auto",[`${n}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${n}-footer`]:{flexShrink:0,padding:`${(0,P.bf)(A)} ${(0,P.bf)(O)}`,borderTop:`${(0,P.bf)(f)} ${h} ${m}`},"&-rtl":{direction:"rtl"}}}};var Z=(0,F.I$)("Drawer",e=>{let t=(0,B.IX)(e,{});return[z(t),$(t)]},e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding})),W=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let V={distance:180},Y=e=>{let{rootClassName:t,width:n,height:a,size:o="default",mask:s=!0,push:l=V,open:c,afterOpenChange:u,onClose:d,prefixCls:p,getContainer:f,style:h,className:m,visible:g,afterVisibleChange:b,maskStyle:y,drawerStyle:E,contentWrapperStyle:v}=e,T=W(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:S,getPrefixCls:A,direction:O,drawer:N}=r.useContext(I.E_),L=A("drawer",p),[P,M,F]=Z(L),B=void 0===f&&S?()=>S(document.body):f,j=i()({"no-mask":!s,[`${L}-rtl`]:"rtl"===O},t,M,F),U=r.useMemo(()=>null!=n?n:"large"===o?736:378,[n,o]),G=r.useMemo(()=>null!=a?a:"large"===o?736:378,[a,o]),H={motionName:(0,C.m)(L,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},$=(0,R.H)(),[z,Y]=(0,x.Cn)("Drawer",T.zIndex),{classNames:q={},styles:K={}}=T,{classNames:X={},styles:Q={}}=N||{};return P(r.createElement(k.Z,{form:!0,space:!0},r.createElement(w.Z.Provider,{value:Y},r.createElement(_,Object.assign({prefixCls:L,onClose:d,maskMotion:H,motion:e=>({motionName:(0,C.m)(L,`panel-motion-${e}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500})},T,{classNames:{mask:i()(q.mask,X.mask),content:i()(q.content,X.content),wrapper:i()(q.wrapper,X.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},K.mask),y),Q.mask),content:Object.assign(Object.assign(Object.assign({},K.content),E),Q.content),wrapper:Object.assign(Object.assign(Object.assign({},K.wrapper),v),Q.wrapper)},open:null!=c?c:g,mask:s,push:l,width:U,height:G,style:Object.assign(Object.assign({},null==N?void 0:N.style),h),className:i()(null==N?void 0:N.className,m),rootClassName:j,getContainer:B,afterOpenChange:null!=u?u:b,panelRef:$,zIndex:z}),r.createElement(D,Object.assign({prefixCls:L},T,{onClose:d}))))))};Y._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,style:n,className:a,placement:o="right"}=e,s=W(e,["prefixCls","style","className","placement"]),{getPrefixCls:l}=r.useContext(I.E_),c=l("drawer",t),[u,d,p]=Z(c),f=i()(c,`${c}-pure`,`${c}-${o}`,d,p,a);return u(r.createElement("div",{className:f,style:n},r.createElement(D,Object.assign({prefixCls:c},s))))};var q=Y},86250:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r=n(67294),a=n(93967),i=n.n(a),o=n(98423),s=n(98065),l=n(53124),c=n(83559),u=n(83262);let d=["wrap","nowrap","wrap-reverse"],p=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],f=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],h=(e,t)=>{let n=!0===t.wrap?"wrap":t.wrap;return{[`${e}-wrap-${n}`]:n&&d.includes(n)}},m=(e,t)=>{let n={};return f.forEach(r=>{n[`${e}-align-${r}`]=t.align===r}),n[`${e}-align-stretch`]=!t.align&&!!t.vertical,n},g=(e,t)=>{let n={};return p.forEach(r=>{n[`${e}-justify-${r}`]=t.justify===r}),n},b=e=>{let{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},y=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},E=e=>{let{componentCls:t}=e,n={};return d.forEach(e=>{n[`${t}-wrap-${e}`]={flexWrap:e}}),n},v=e=>{let{componentCls:t}=e,n={};return f.forEach(e=>{n[`${t}-align-${e}`]={alignItems:e}}),n},T=e=>{let{componentCls:t}=e,n={};return p.forEach(e=>{n[`${t}-justify-${e}`]={justifyContent:e}}),n};var S=(0,c.I$)("Flex",e=>{let{paddingXS:t,padding:n,paddingLG:r}=e,a=(0,u.IX)(e,{flexGapSM:t,flexGap:n,flexGapLG:r});return[b(a),y(a),E(a),v(a),T(a)]},()=>({}),{resetStyle:!1}),A=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let O=r.forwardRef((e,t)=>{let{prefixCls:n,rootClassName:a,className:c,style:u,flex:d,gap:p,children:f,vertical:b=!1,component:y="div"}=e,E=A(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:v,direction:T,getPrefixCls:O}=r.useContext(l.E_),_=O("flex",n),[k,x,C]=S(_),w=null!=b?b:null==v?void 0:v.vertical,I=i()(c,a,null==v?void 0:v.className,_,x,C,i()(Object.assign(Object.assign(Object.assign({},h(_,e)),m(_,e)),g(_,e))),{[`${_}-rtl`]:"rtl"===T,[`${_}-gap-${p}`]:(0,s.n)(p),[`${_}-vertical`]:w}),R=Object.assign(Object.assign({},null==v?void 0:v.style),u);return d&&(R.flex=d),p&&!(0,s.n)(p)&&(R.gap=p),k(r.createElement(y,Object.assign({ref:t,className:I,style:R},(0,o.Z)(E,["justify","wrap","align"])),f))});var _=O},57020:function(e,t,n){"use strict";n.d(t,{Z:function(){return eT}});var r=n(67294),a=n(99611),i=n(93967),o=n.n(i),s=n(87462),l=n(1413),c=n(4942),u=n(97685),d=n(71002),p=n(45987),f=n(27678),h=n(21770),m=n(40974),g=n(64019),b=n(15105),y=n(2788),E=n(29372),v=r.createContext(null),T=function(e){var t=e.visible,n=e.maskTransitionName,a=e.getContainer,i=e.prefixCls,s=e.rootClassName,u=e.icons,d=e.countRender,p=e.showSwitch,f=e.showProgress,h=e.current,m=e.transform,g=e.count,T=e.scale,S=e.minScale,A=e.maxScale,O=e.closeIcon,_=e.onSwitchLeft,k=e.onSwitchRight,x=e.onClose,C=e.onZoomIn,w=e.onZoomOut,I=e.onRotateRight,R=e.onRotateLeft,N=e.onFlipX,L=e.onFlipY,D=e.onReset,P=e.toolbarRender,M=e.zIndex,F=e.image,B=(0,r.useContext)(v),j=u.rotateLeft,U=u.rotateRight,G=u.zoomIn,H=u.zoomOut,$=u.close,z=u.left,Z=u.right,W=u.flipX,V=u.flipY,Y="".concat(i,"-operations-operation");r.useEffect(function(){var e=function(e){e.keyCode===b.Z.ESC&&x()};return t&&window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}},[t]);var q=[{icon:V,onClick:L,type:"flipY"},{icon:W,onClick:N,type:"flipX"},{icon:j,onClick:R,type:"rotateLeft"},{icon:U,onClick:I,type:"rotateRight"},{icon:H,onClick:w,type:"zoomOut",disabled:T<=S},{icon:G,onClick:C,type:"zoomIn",disabled:T===A}].map(function(e){var t,n=e.icon,a=e.onClick,s=e.type,l=e.disabled;return r.createElement("div",{className:o()(Y,(t={},(0,c.Z)(t,"".concat(i,"-operations-operation-").concat(s),!0),(0,c.Z)(t,"".concat(i,"-operations-operation-disabled"),!!l),t)),onClick:a,key:s},n)}),K=r.createElement("div",{className:"".concat(i,"-operations")},q);return r.createElement(E.ZP,{visible:t,motionName:n},function(e){var t=e.className,n=e.style;return r.createElement(y.Z,{open:!0,getContainer:null!=a?a:document.body},r.createElement("div",{className:o()("".concat(i,"-operations-wrapper"),t,s),style:(0,l.Z)((0,l.Z)({},n),{},{zIndex:M})},null===O?null:r.createElement("button",{className:"".concat(i,"-close"),onClick:x},O||$),p&&r.createElement(r.Fragment,null,r.createElement("div",{className:o()("".concat(i,"-switch-left"),(0,c.Z)({},"".concat(i,"-switch-left-disabled"),0===h)),onClick:_},z),r.createElement("div",{className:o()("".concat(i,"-switch-right"),(0,c.Z)({},"".concat(i,"-switch-right-disabled"),h===g-1)),onClick:k},Z)),r.createElement("div",{className:"".concat(i,"-footer")},f&&r.createElement("div",{className:"".concat(i,"-progress")},d?d(h+1,g):"".concat(h+1," / ").concat(g)),P?P(K,(0,l.Z)((0,l.Z)({icons:{flipYIcon:q[0],flipXIcon:q[1],rotateLeftIcon:q[2],rotateRightIcon:q[3],zoomOutIcon:q[4],zoomInIcon:q[5]},actions:{onFlipY:L,onFlipX:N,onRotateLeft:R,onRotateRight:I,onZoomOut:w,onZoomIn:C,onReset:D,onClose:x},transform:m},B?{current:h,total:g}:{}),{},{image:F})):K)))})},S=n(91881),A=n(75164),O={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1},_=n(80334);function k(e,t,n,r){var a=t+n,i=(n-r)/2;if(n>r){if(t>0)return(0,c.Z)({},e,i);if(t<0&&ar)return(0,c.Z)({},e,t<0?i:-i);return{}}function x(e,t,n,r){var a=(0,f.g1)(),i=a.width,o=a.height,s=null;return e<=i&&t<=o?s={x:0,y:0}:(e>i||t>o)&&(s=(0,l.Z)((0,l.Z)({},k("x",n,e,i)),k("y",r,t,o))),s}function C(e){var t=e.src,n=e.isCustomPlaceholder,a=e.fallback,i=(0,r.useState)(n?"loading":"normal"),o=(0,u.Z)(i,2),s=o[0],l=o[1],c=(0,r.useRef)(!1),d="error"===s;(0,r.useEffect)(function(){var e=!0;return new Promise(function(e){var n=document.createElement("img");n.onerror=function(){return e(!1)},n.onload=function(){return e(!0)},n.src=t}).then(function(t){!t&&e&&l("error")}),function(){e=!1}},[t]),(0,r.useEffect)(function(){n&&!c.current?l("loading"):d&&l("normal")},[t]);var p=function(){l("normal")};return[function(e){c.current=!1,"loading"===s&&null!=e&&e.complete&&(e.naturalWidth||e.naturalHeight)&&(c.current=!0,p())},d&&a?{src:a}:{onLoad:p,src:t},s]}function w(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}var I=["fallback","src","imgRef"],R=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],N=function(e){var t=e.fallback,n=e.src,a=e.imgRef,i=(0,p.Z)(e,I),o=C({src:n,fallback:t}),l=(0,u.Z)(o,2),c=l[0],d=l[1];return r.createElement("img",(0,s.Z)({ref:function(e){a.current=e,c(e)}},i,d))},L=function(e){var t,n,a,i,d,h,y,E,k,C,I,L,D,P,M,F,B,j,U,G,H,$,z,Z,W,V,Y,q,K=e.prefixCls,X=e.src,Q=e.alt,J=e.imageInfo,ee=e.fallback,et=e.movable,en=void 0===et||et,er=e.onClose,ea=e.visible,ei=e.icons,eo=e.rootClassName,es=e.closeIcon,el=e.getContainer,ec=e.current,eu=void 0===ec?0:ec,ed=e.count,ep=void 0===ed?1:ed,ef=e.countRender,eh=e.scaleStep,em=void 0===eh?.5:eh,eg=e.minScale,eb=void 0===eg?1:eg,ey=e.maxScale,eE=void 0===ey?50:ey,ev=e.transitionName,eT=e.maskTransitionName,eS=void 0===eT?"fade":eT,eA=e.imageRender,eO=e.imgCommonProps,e_=e.toolbarRender,ek=e.onTransform,ex=e.onChange,eC=(0,p.Z)(e,R),ew=(0,r.useRef)(),eI=(0,r.useContext)(v),eR=eI&&ep>1,eN=eI&&ep>=1,eL=(0,r.useState)(!0),eD=(0,u.Z)(eL,2),eP=eD[0],eM=eD[1],eF=(t=(0,r.useRef)(null),n=(0,r.useRef)([]),a=(0,r.useState)(O),d=(i=(0,u.Z)(a,2))[0],h=i[1],y=function(e,r){null===t.current&&(n.current=[],t.current=(0,A.Z)(function(){h(function(e){var a=e;return n.current.forEach(function(e){a=(0,l.Z)((0,l.Z)({},a),e)}),t.current=null,null==ek||ek({transform:a,action:r}),a})})),n.current.push((0,l.Z)((0,l.Z)({},d),e))},{transform:d,resetTransform:function(e){h(O),(0,S.Z)(O,d)||null==ek||ek({transform:O,action:e})},updateTransform:y,dispatchZoomChange:function(e,t,n,r,a){var i=ew.current,o=i.width,s=i.height,l=i.offsetWidth,c=i.offsetHeight,u=i.offsetLeft,p=i.offsetTop,h=e,m=d.scale*e;m>eE?(m=eE,h=eE/d.scale):m0&&(t=1/t),eG(t,"wheel",e.clientX,e.clientY)}}}),e$=eH.isMoving,ez=eH.onMouseDown,eZ=eH.onWheel,eW=(U=eB.rotate,G=eB.scale,H=eB.x,$=eB.y,z=(0,r.useState)(!1),W=(Z=(0,u.Z)(z,2))[0],V=Z[1],Y=(0,r.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),q=function(e){Y.current=(0,l.Z)((0,l.Z)({},Y.current),e)},(0,r.useEffect)(function(){var e;return ea&&en&&(e=(0,g.Z)(window,"touchmove",function(e){return e.preventDefault()},{passive:!1})),function(){var t;null===(t=e)||void 0===t||t.remove()}},[ea,en]),{isTouching:W,onTouchStart:function(e){if(en){e.stopPropagation(),V(!0);var t=e.touches,n=void 0===t?[]:t;n.length>1?q({point1:{x:n[0].clientX,y:n[0].clientY},point2:{x:n[1].clientX,y:n[1].clientY},eventType:"touchZoom"}):q({point1:{x:n[0].clientX-H,y:n[0].clientY-$},eventType:"move"})}},onTouchMove:function(e){var t=e.touches,n=void 0===t?[]:t,r=Y.current,a=r.point1,i=r.point2,o=r.eventType;if(n.length>1&&"touchZoom"===o){var s={x:n[0].clientX,y:n[0].clientY},l={x:n[1].clientX,y:n[1].clientY},c=function(e,t,n,r){var a=w(e,n),i=w(t,r);if(0===a&&0===i)return[e.x,e.y];var o=a/(a+i);return[e.x+o*(t.x-e.x),e.y+o*(t.y-e.y)]}(a,i,s,l),d=(0,u.Z)(c,2),p=d[0],f=d[1];eG(w(s,l)/w(a,i),"touchZoom",p,f,!0),q({point1:s,point2:l,eventType:"touchZoom"})}else"move"===o&&(eU({x:n[0].clientX-a.x,y:n[0].clientY-a.y},"move"),q({eventType:"move"}))},onTouchEnd:function(){if(ea){if(W&&V(!1),q({eventType:"none"}),eb>G)return eU({x:0,y:0,scale:eb},"touchZoom");var e=ew.current.offsetWidth*G,t=ew.current.offsetHeight*G,n=ew.current.getBoundingClientRect(),r=n.left,a=n.top,i=U%180!=0,o=x(i?t:e,i?e:t,r,a);o&&eU((0,l.Z)({},o),"dragRebound")}}}),eV=eW.isTouching,eY=eW.onTouchStart,eq=eW.onTouchMove,eK=eW.onTouchEnd,eX=eB.rotate,eQ=eB.scale,eJ=o()((0,c.Z)({},"".concat(K,"-moving"),e$));(0,r.useEffect)(function(){eP||eM(!0)},[eP]);var e0=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu>0&&(eM(!1),ej("prev"),null==ex||ex(eu-1,eu))},e1=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu({position:e||"absolute",inset:0}),eu=e=>{let{iconCls:t,motionDurationSlow:n,paddingXXS:r,marginXXS:a,prefixCls:i,colorTextLightSolid:o}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:o,background:new en.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${i}-mask-info`]:Object.assign(Object.assign({},ea.vS),{padding:`0 ${(0,et.bf)(r)}`,[t]:{marginInlineEnd:a,svg:{verticalAlign:"baseline"}}})}},ed=e=>{let{previewCls:t,modalMaskBg:n,paddingSM:r,marginXL:a,margin:i,paddingLG:o,previewOperationColorDisabled:s,previewOperationHoverColor:l,motionDurationSlow:c,iconCls:u,colorTextLightSolid:d}=e,p=new en.C(n).setAlpha(.1),f=p.clone().setAlpha(.2);return{[`${t}-footer`]:{position:"fixed",bottom:a,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor,transform:"translateX(-50%)"},[`${t}-progress`]:{marginBottom:i},[`${t}-close`]:{position:"fixed",top:a,right:{_skip_check_:!0,value:a},display:"flex",color:d,backgroundColor:p.toRgbString(),borderRadius:"50%",padding:r,outline:0,border:0,cursor:"pointer",transition:`all ${c}`,"&:hover":{backgroundColor:f.toRgbString()},[`& > ${u}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,et.bf)(o)}`,backgroundColor:p.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:r,padding:r,cursor:"pointer",transition:`all ${c}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${u}`]:{color:l},"&-disabled":{color:s,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${u}`]:{fontSize:e.previewOperationSize}}}}},ep=e=>{let{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:r,previewCls:a,zIndexPopup:i,motionDurationSlow:o}=e,s=new en.C(t).setAlpha(.1),l=s.clone().setAlpha(.2);return{[`${a}-switch-left, ${a}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(i).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:s.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${o}`,userSelect:"none","&:hover":{background:l.toRgbString()},"&-disabled":{"&, &:hover":{color:r,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${a}-switch-left`]:{insetInlineStart:e.marginSM},[`${a}-switch-right`]:{insetInlineEnd:e.marginSM}}},ef=e=>{let{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:a}=e;return[{[`${a}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:Object.assign(Object.assign({},ec()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${r} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},ec()),{transition:`transform ${r} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${a}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${a}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal()},"&":[ed(e),ep(e)]}]},eh=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},eu(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},ec())}}},em=e=>{let{previewCls:t}=e;return{[`${t}-root`]:(0,ei._y)(e,"zoom"),"&":(0,eo.J$)(e,!0)}};var eg=(0,es.I$)("Image",e=>{let t=`${e.componentCls}-preview`,n=(0,el.IX)(e,{previewCls:t,modalMaskBg:new en.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[eh(n),ef(n),(0,er.QA)((0,el.IX)(n,{componentCls:t})),em(n)]},e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new en.C(e.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new en.C(e.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new en.C(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:1.5*e.fontSizeIcon})),eb=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ey={rotateLeft:r.createElement(K.Z,null),rotateRight:r.createElement(X.Z,null),zoomIn:r.createElement(J.Z,null),zoomOut:r.createElement(ee.Z,null),close:r.createElement(V.Z,null),left:r.createElement(Y.Z,null),right:r.createElement(q.Z,null),flipX:r.createElement(Q.Z,null),flipY:r.createElement(Q.Z,{rotate:90})};var eE=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ev=e=>{var t;let{prefixCls:n,preview:i,className:s,rootClassName:l,style:c}=e,u=eE(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:d,locale:p=W.Z,getPopupContainer:f,image:h}=r.useContext(z.E_),m=d("image",n),g=d(),b=p.Image||W.Z.Image,y=(0,Z.Z)(m),[E,v,T]=eg(m,y),S=o()(l,v,T,y),A=o()(s,v,null==h?void 0:h.className),[O]=(0,H.Cn)("ImagePreview","object"==typeof i?i.zIndex:void 0),_=r.useMemo(()=>{var e;if(!1===i)return i;let t="object"==typeof i?i:{},{getContainer:n,closeIcon:o}=t,s=eE(t,["getContainer","closeIcon"]);return Object.assign(Object.assign({mask:r.createElement("div",{className:`${m}-mask-info`},r.createElement(a.Z,null),null==b?void 0:b.preview),icons:ey},s),{getContainer:null!=n?n:f,transitionName:(0,$.m)(g,"zoom",t.transitionName),maskTransitionName:(0,$.m)(g,"fade",t.maskTransitionName),zIndex:O,closeIcon:null!=o?o:null===(e=null==h?void 0:h.preview)||void 0===e?void 0:e.closeIcon})},[i,b,null===(t=null==h?void 0:h.preview)||void 0===t?void 0:t.closeIcon]),k=Object.assign(Object.assign({},null==h?void 0:h.style),c);return E(r.createElement(G,Object.assign({prefixCls:m,preview:_,rootClassName:S,className:A,style:k},u)))};ev.PreviewGroup=e=>{var{previewPrefixCls:t,preview:n}=e,a=eb(e,["previewPrefixCls","preview"]);let{getPrefixCls:i}=r.useContext(z.E_),s=i("image",t),l=`${s}-preview`,c=i(),u=(0,Z.Z)(s),[d,p,f]=eg(s,u),[h]=(0,H.Cn)("ImagePreview","object"==typeof n?n.zIndex:void 0),m=r.useMemo(()=>{var e;if(!1===n)return n;let t="object"==typeof n?n:{},r=o()(p,f,u,null!==(e=t.rootClassName)&&void 0!==e?e:"");return Object.assign(Object.assign({},t),{transitionName:(0,$.m)(c,"zoom",t.transitionName),maskTransitionName:(0,$.m)(c,"fade",t.maskTransitionName),rootClassName:r,zIndex:h})},[n]);return d(r.createElement(G.PreviewGroup,Object.assign({preview:m,previewPrefixCls:l,icons:ey},a)))};var eT=ev},66309:function(e,t,n){"use strict";n.d(t,{Z:function(){return I}});var r=n(67294),a=n(93967),i=n.n(a),o=n(98423),s=n(98787),l=n(69760),c=n(96159),u=n(45353),d=n(53124),p=n(25446),f=n(10274),h=n(14747),m=n(83262),g=n(83559);let b=e=>{let{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:a,calc:i}=e,o=i(r).sub(n).equal(),s=i(t).sub(n).equal();return{[a]:Object.assign(Object.assign({},(0,h.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:o,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,p.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${a}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${a}-close-icon`]:{marginInlineStart:s,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${a}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${a}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:o}}),[`${a}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},y=e=>{let{lineWidth:t,fontSizeIcon:n,calc:r}=e,a=e.fontSizeSM,i=(0,m.IX)(e,{tagFontSize:a,tagLineHeight:(0,p.bf)(r(e.lineHeightSM).mul(a).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return i},E=e=>({defaultBg:new f.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var v=(0,g.I$)("Tag",e=>{let t=y(e);return b(t)},E),T=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let S=r.forwardRef((e,t)=>{let{prefixCls:n,style:a,className:o,checked:s,onChange:l,onClick:c}=e,u=T(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:p,tag:f}=r.useContext(d.E_),h=p("tag",n),[m,g,b]=v(h),y=i()(h,`${h}-checkable`,{[`${h}-checkable-checked`]:s},null==f?void 0:f.className,o,g,b);return m(r.createElement("span",Object.assign({},u,{ref:t,style:Object.assign(Object.assign({},a),null==f?void 0:f.style),className:y,onClick:e=>{null==l||l(!s),null==c||c(e)}})))});var A=n(98719);let O=e=>(0,A.Z)(e,(t,n)=>{let{textColor:r,lightBorderColor:a,lightColor:i,darkColor:o}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:i,borderColor:a,"&-inverse":{color:e.colorTextLightSolid,background:o,borderColor:o},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var _=(0,g.bk)(["Tag","preset"],e=>{let t=y(e);return O(t)},E);let k=(e,t,n)=>{let r=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var x=(0,g.bk)(["Tag","status"],e=>{let t=y(e);return[k(t,"success","Success"),k(t,"processing","Info"),k(t,"error","Error"),k(t,"warning","Warning")]},E),C=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let w=r.forwardRef((e,t)=>{let{prefixCls:n,className:a,rootClassName:p,style:f,children:h,icon:m,color:g,onClose:b,bordered:y=!0,visible:E}=e,T=C(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:S,direction:A,tag:O}=r.useContext(d.E_),[k,w]=r.useState(!0),I=(0,o.Z)(T,["closeIcon","closable"]);r.useEffect(()=>{void 0!==E&&w(E)},[E]);let R=(0,s.o2)(g),N=(0,s.yT)(g),L=R||N,D=Object.assign(Object.assign({backgroundColor:g&&!L?g:void 0},null==O?void 0:O.style),f),P=S("tag",n),[M,F,B]=v(P),j=i()(P,null==O?void 0:O.className,{[`${P}-${g}`]:L,[`${P}-has-color`]:g&&!L,[`${P}-hidden`]:!k,[`${P}-rtl`]:"rtl"===A,[`${P}-borderless`]:!y},a,p,F,B),U=e=>{e.stopPropagation(),null==b||b(e),e.defaultPrevented||w(!1)},[,G]=(0,l.Z)((0,l.w)(e),(0,l.w)(O),{closable:!1,closeIconRender:e=>{let t=r.createElement("span",{className:`${P}-close-icon`,onClick:U},e);return(0,c.wm)(e,t,e=>({onClick:t=>{var n;null===(n=null==e?void 0:e.onClick)||void 0===n||n.call(e,t),U(t)},className:i()(null==e?void 0:e.className,`${P}-close-icon`)}))}}),H="function"==typeof T.onClick||h&&"a"===h.type,$=m||null,z=$?r.createElement(r.Fragment,null,$,h&&r.createElement("span",null,h)):h,Z=r.createElement("span",Object.assign({},I,{ref:t,className:j,style:D}),z,G,R&&r.createElement(_,{key:"preset",prefixCls:P}),N&&r.createElement(x,{key:"status",prefixCls:P}));return M(H?r.createElement(u.Z,{component:"Tag"},Z):Z)});w.CheckableTag=S;var I=w},62502:function(e,t,n){"use strict";var r=n(15575),a=n(64977),i=n(72869),o=n(32473).Q,s=n(24395).Q;e.exports=function(e,t,n){var a=n?function(e){for(var t,n=e.length,r=-1,a={};++r4&&h.slice(0,4)===o&&s.test(t)&&("-"===t.charAt(4)?m=o+(n=t.slice(5).replace(l,d)).charAt(0).toUpperCase()+n.slice(1):(f=(p=t).slice(4),t=l.test(f)?p:("-"!==(f=f.replace(c,u)).charAt(0)&&(f="-"+f),o+f)),g=a),new g(m,t))};var s=/^data[-\w.:]+$/i,l=/-[a-z]/g,c=/[A-Z]/g;function u(e){return"-"+e.toLowerCase()}function d(e){return e.charAt(1).toUpperCase()}},48055:function(e,t,n){"use strict";var r=n(26230),a=n(13970),i=n(10629),o=n(647),s=n(91305),l=n(22537);e.exports=r([i,a,o,s,l])},91305:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=r.booleanish,o=r.number,s=r.spaceSeparated;e.exports=a({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:i,ariaAutoComplete:null,ariaBusy:i,ariaChecked:i,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:s,ariaCurrent:null,ariaDescribedBy:s,ariaDetails:null,ariaDisabled:i,ariaDropEffect:s,ariaErrorMessage:null,ariaExpanded:i,ariaFlowTo:s,ariaGrabbed:i,ariaHasPopup:null,ariaHidden:i,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s,ariaLevel:o,ariaLive:null,ariaModal:i,ariaMultiLine:i,ariaMultiSelectable:i,ariaOrientation:null,ariaOwns:s,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:i,ariaReadOnly:i,ariaRelevant:null,ariaRequired:i,ariaRoleDescription:s,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:i,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}})},22537:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=n(19348),o=r.boolean,s=r.overloadedBoolean,l=r.booleanish,c=r.number,u=r.spaceSeparated,d=r.commaSeparated;e.exports=a({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:i,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:d,acceptCharset:u,accessKey:u,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:u,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:u,cols:c,colSpan:null,content:null,contentEditable:l,controls:o,controlsList:u,coords:c|d,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:s,draggable:l,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:u,height:c,hidden:o,high:c,href:null,hrefLang:null,htmlFor:u,httpEquiv:u,id:null,imageSizes:null,imageSrcSet:d,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:u,itemRef:u,itemScope:o,itemType:u,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:u,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:u,required:o,reversed:o,rows:c,rowSpan:c,sandbox:u,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:c,sizes:null,slot:null,span:c,spellCheck:l,src:null,srcDoc:null,srcLang:null,srcSet:d,start:c,step:null,style:null,tabIndex:c,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:l,width:c,wrap:null,align:null,aLink:null,archive:u,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:l,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}})},19348:function(e,t,n){"use strict";var r=n(21098);e.exports=function(e,t){return r(e,t.toLowerCase())}},21098:function(e){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},47589:function(e,t,n){"use strict";var r=n(64977),a=n(16038),i=n(78444);e.exports=function(e){var t,n,o=e.space,s=e.mustUseProperty||[],l=e.attributes||{},c=e.properties,u=e.transform,d={},p={};for(t in c)n=new i(t,u(l,t),c[t],o),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),d[t]=n,p[r(t)]=t,p[r(n.attribute)]=t;return new a(d,p,o)}},78444:function(e,t,n){"use strict";var r=n(40313),a=n(61422);e.exports=s,s.prototype=new r,s.prototype.defined=!0;var i=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=i.length;function s(e,t,n,s){var l,c,u,d=-1;for(s&&(this.space=s),r.call(this,e,t);++d=97&&t<=122||t>=65&&t<=90}},7961:function(e,t,n){"use strict";var r=n(46260),a=n(46195);e.exports=function(e){return r(e)||a(e)}},46195:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},79480:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}},79373:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/Content",function(){return n(36818)}])},85813:function(e,t,n){"use strict";n.d(t,{r:function(){return _6}});var r,a,i,o,s,l,c,u,d,p,f,h,m,g,b,y,E,v,T,S,A,O,_,k,x,C,w,I,R,N,L,D,P,M,F,B,j,U,G,H,$,z,Z,W,V,Y,q,K,X,Q,J,ee,et,en,er,ea={};n.r(ea),n.d(ea,{area:function(){return cf},bottom:function(){return cT},bottomLeft:function(){return cT},bottomRight:function(){return cT},inside:function(){return cT},left:function(){return cT},outside:function(){return c_},right:function(){return cT},spider:function(){return cR},surround:function(){return cL},top:function(){return cT},topLeft:function(){return cT},topRight:function(){return cT}});var ei={};n.r(ei),n.d(ei,{interpolateBlues:function(){return uD.interpolateBlues},interpolateBrBG:function(){return uD.interpolateBrBG},interpolateBuGn:function(){return uD.interpolateBuGn},interpolateBuPu:function(){return uD.interpolateBuPu},interpolateCividis:function(){return uD.interpolateCividis},interpolateCool:function(){return uD.interpolateCool},interpolateCubehelixDefault:function(){return uD.interpolateCubehelixDefault},interpolateGnBu:function(){return uD.interpolateGnBu},interpolateGreens:function(){return uD.interpolateGreens},interpolateGreys:function(){return uD.interpolateGreys},interpolateInferno:function(){return uD.interpolateInferno},interpolateMagma:function(){return uD.interpolateMagma},interpolateOrRd:function(){return uD.interpolateOrRd},interpolateOranges:function(){return uD.interpolateOranges},interpolatePRGn:function(){return uD.interpolatePRGn},interpolatePiYG:function(){return uD.interpolatePiYG},interpolatePlasma:function(){return uD.interpolatePlasma},interpolatePuBu:function(){return uD.interpolatePuBu},interpolatePuBuGn:function(){return uD.interpolatePuBuGn},interpolatePuOr:function(){return uD.interpolatePuOr},interpolatePuRd:function(){return uD.interpolatePuRd},interpolatePurples:function(){return uD.interpolatePurples},interpolateRainbow:function(){return uD.interpolateRainbow},interpolateRdBu:function(){return uD.interpolateRdBu},interpolateRdGy:function(){return uD.interpolateRdGy},interpolateRdPu:function(){return uD.interpolateRdPu},interpolateRdYlBu:function(){return uD.interpolateRdYlBu},interpolateRdYlGn:function(){return uD.interpolateRdYlGn},interpolateReds:function(){return uD.interpolateReds},interpolateSinebow:function(){return uD.interpolateSinebow},interpolateSpectral:function(){return uD.interpolateSpectral},interpolateTurbo:function(){return uD.interpolateTurbo},interpolateViridis:function(){return uD.interpolateViridis},interpolateWarm:function(){return uD.interpolateWarm},interpolateYlGn:function(){return uD.interpolateYlGn},interpolateYlGnBu:function(){return uD.interpolateYlGnBu},interpolateYlOrBr:function(){return uD.interpolateYlOrBr},interpolateYlOrRd:function(){return uD.interpolateYlOrRd},schemeAccent:function(){return uD.schemeAccent},schemeBlues:function(){return uD.schemeBlues},schemeBrBG:function(){return uD.schemeBrBG},schemeBuGn:function(){return uD.schemeBuGn},schemeBuPu:function(){return uD.schemeBuPu},schemeCategory10:function(){return uD.schemeCategory10},schemeDark2:function(){return uD.schemeDark2},schemeGnBu:function(){return uD.schemeGnBu},schemeGreens:function(){return uD.schemeGreens},schemeGreys:function(){return uD.schemeGreys},schemeOrRd:function(){return uD.schemeOrRd},schemeOranges:function(){return uD.schemeOranges},schemePRGn:function(){return uD.schemePRGn},schemePaired:function(){return uD.schemePaired},schemePastel1:function(){return uD.schemePastel1},schemePastel2:function(){return uD.schemePastel2},schemePiYG:function(){return uD.schemePiYG},schemePuBu:function(){return uD.schemePuBu},schemePuBuGn:function(){return uD.schemePuBuGn},schemePuOr:function(){return uD.schemePuOr},schemePuRd:function(){return uD.schemePuRd},schemePurples:function(){return uD.schemePurples},schemeRdBu:function(){return uD.schemeRdBu},schemeRdGy:function(){return uD.schemeRdGy},schemeRdPu:function(){return uD.schemeRdPu},schemeRdYlBu:function(){return uD.schemeRdYlBu},schemeRdYlGn:function(){return uD.schemeRdYlGn},schemeReds:function(){return uD.schemeReds},schemeSet1:function(){return uD.schemeSet1},schemeSet2:function(){return uD.schemeSet2},schemeSet3:function(){return uD.schemeSet3},schemeSpectral:function(){return uD.schemeSpectral},schemeTableau10:function(){return uD.schemeTableau10},schemeYlGn:function(){return uD.schemeYlGn},schemeYlGnBu:function(){return uD.schemeYlGnBu},schemeYlOrBr:function(){return uD.schemeYlOrBr},schemeYlOrRd:function(){return uD.schemeYlOrRd}});var eo={};n.r(eo);var es={};n.r(es),n.d(es,{geoAlbers:function(){return Ta.Z},geoAlbersUsa:function(){return Tr.Z},geoAzimuthalEqualArea:function(){return Ti.Z},geoAzimuthalEqualAreaRaw:function(){return Ti.l},geoAzimuthalEquidistant:function(){return To.Z},geoAzimuthalEquidistantRaw:function(){return To.N},geoConicConformal:function(){return Ts.Z},geoConicConformalRaw:function(){return Ts.l},geoConicEqualArea:function(){return Tl.Z},geoConicEqualAreaRaw:function(){return Tl.v},geoConicEquidistant:function(){return Tc.Z},geoConicEquidistantRaw:function(){return Tc.o},geoEqualEarth:function(){return Tu.Z},geoEqualEarthRaw:function(){return Tu.i},geoEquirectangular:function(){return Td.Z},geoEquirectangularRaw:function(){return Td.k},geoGnomonic:function(){return Tp.Z},geoGnomonicRaw:function(){return Tp.M},geoIdentity:function(){return Tf.Z},geoMercator:function(){return Tm.ZP},geoMercatorRaw:function(){return Tm.hk},geoNaturalEarth1:function(){return Tg.Z},geoNaturalEarth1Raw:function(){return Tg.K},geoOrthographic:function(){return Tb.Z},geoOrthographicRaw:function(){return Tb.I},geoProjection:function(){return Th.Z},geoProjectionMutator:function(){return Th.r},geoStereographic:function(){return Ty.Z},geoStereographicRaw:function(){return Ty.T},geoTransverseMercator:function(){return TE.Z},geoTransverseMercatorRaw:function(){return TE.F}});var el={};n.r(el),n.d(el,{frequency:function(){return Sh},id:function(){return Sm},name:function(){return Sg},weight:function(){return Sf}});var ec=n(74902),eu=n(1413),ed=n(87462),ep=n(97685),ef=n(45987),eh=n(50888),em=n(96486),eg=n(67294),eb=function(){return(eb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n-1&&!e.return)switch(e.type){case ek:e.return=function e(t,n,r){var a;switch(a=n,45^eD(t,0)?(((a<<2^eD(t,0))<<2^eD(t,1))<<2^eD(t,2))<<2^eD(t,3):0){case 5103:return eA+"print-"+t+t;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 eA+t+t;case 4789:return eS+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return eA+t+eS+t+eT+t+t;case 5936:switch(eD(t,n+11)){case 114:return eA+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return eA+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return eA+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return eA+t+eT+t+t;case 6165:return eA+t+eT+"flex-"+t+t;case 5187:return eA+t+eN(t,/(\w+).+(:[^]+)/,eA+"box-$1$2"+eT+"flex-$1$2")+t;case 5443:return eA+t+eT+"flex-item-"+eN(t,/flex-|-self/g,"")+(eR(t,/flex-|baseline/)?"":eT+"grid-row-"+eN(t,/flex-|-self/g,""))+t;case 4675:return eA+t+eT+"flex-line-pack"+eN(t,/align-content|flex-|-self/g,"")+t;case 5548:return eA+t+eT+eN(t,"shrink","negative")+t;case 5292:return eA+t+eT+eN(t,"basis","preferred-size")+t;case 6060:return eA+"box-"+eN(t,"-grow","")+eA+t+eT+eN(t,"grow","positive")+t;case 4554:return eA+eN(t,/([^-])(transform)/g,"$1"+eA+"$2")+t;case 6187:return eN(eN(eN(t,/(zoom-|grab)/,eA+"$1"),/(image-set)/,eA+"$1"),t,"")+t;case 5495:case 3959:return eN(t,/(image-set\([^]*)/,eA+"$1$`$1");case 4968:return eN(eN(t,/(.+:)(flex-)?(.*)/,eA+"box-pack:$3"+eT+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+eA+t+t;case 4200:if(!eR(t,/flex-|baseline/))return eT+"grid-column-align"+eP(t,n)+t;break;case 2592:case 3360:return eT+eN(t,"template-","")+t;case 4384:case 3616:if(r&&r.some(function(e,t){return n=t,eR(e.props,/grid-\w+-end/)}))return~eL(t+(r=r[n].value),"span",0)?t:eT+eN(t,"-start","")+t+eT+"grid-row-span:"+(~eL(r,"span",0)?eR(r,/\d+/):+eR(r,/\d+/)-+eR(t,/\d+/))+";";return eT+eN(t,"-start","")+t;case 4896:case 4128:return r&&r.some(function(e){return eR(e.props,/grid-\w+-start/)})?t:eT+eN(eN(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return eN(t,/(.+)-inline(.+)/,eA+"$1$2")+t;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(eM(t)-1-n>6)switch(eD(t,n+1)){case 109:if(45!==eD(t,n+4))break;case 102:return eN(t,/(.+:)(.+)-([^]+)/,"$1"+eA+"$2-$3$1"+eS+(108==eD(t,n+3)?"$3":"$2-$3"))+t;case 115:return~eL(t,"stretch",0)?e(eN(t,"stretch","fill-available"),n,r)+t:t}break;case 5152:case 5920:return eN(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(e,n,r,a,i,o,s){return eT+n+":"+r+s+(a?eT+n+"-span:"+(i?o:+o-+r)+s:"")+t});case 4949:if(121===eD(t,n+6))return eN(t,":",":"+eA)+t;break;case 6444:switch(eD(t,45===eD(t,14)?18:11)){case 120:return eN(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+eA+(45===eD(t,14)?"inline-":"")+"box$3$1"+eA+"$2$3$1"+eT+"$2box$3")+t;case 100:return eN(t,":",":"+eT)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return eN(t,"scroll-","scroll-snap-")+t}return t}(e.value,e.length,n);return;case ex:return eQ([eW(e,{value:eN(e.value,"@","@"+eA)})],r);case e_:if(e.length)return(n=e.props).map(function(t){switch(eR(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":eV(eW(e,{props:[eN(t,/:(read-\w+)/,":"+eS+"$1")]})),eV(eW(e,{props:[t]})),eI(e,{props:eB(n,r)});break;case"::placeholder":eV(eW(e,{props:[eN(t,/:(plac\w+)/,":"+eA+"input-$1")]})),eV(eW(e,{props:[eN(t,/:(plac\w+)/,":"+eS+"$1")]})),eV(eW(e,{props:[eN(t,/:(plac\w+)/,eT+"input-$1")]})),eV(eW(e,{props:[t]})),eI(e,{props:eB(n,r)})}return""}).join("")}}function e1(e,t,n,r,a,i,o,s,l,c,u,d){for(var p=a-1,f=0===a?i:[""],h=f.length,m=0,g=0,b=0;m0?f[y]+" "+E:eN(E,/&\f/g,f[y])).trim())&&(l[b++]=v);return eZ(e,t,n,0===a?e_:s,l,c,u,d)}function e2(e,t,n,r,a){return eZ(e,t,n,ek,eP(e,0,r),eP(e,r+1,-1),r,a)}var e3=n(94371),e5=n(83454),e4=void 0!==e5&&void 0!==e5.env&&(e5.env.REACT_APP_SC_ATTR||e5.env.SC_ATTR)||"data-styled",e6="active",e9="data-styled-version",e8="6.1.15",e7="/*!sc*/\n",te="undefined"!=typeof window&&"HTMLElement"in window,tt=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==e5&&void 0!==e5.env&&void 0!==e5.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==e5.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==e5.env.REACT_APP_SC_DISABLE_SPEEDY&&e5.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==e5&&void 0!==e5.env&&void 0!==e5.env.SC_DISABLE_SPEEDY&&""!==e5.env.SC_DISABLE_SPEEDY&&"false"!==e5.env.SC_DISABLE_SPEEDY&&e5.env.SC_DISABLE_SPEEDY),tn=Object.freeze([]),tr=Object.freeze({}),ta=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),ti=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,to=/(^-|-$)/g;function ts(e){return e.replace(ti,"-").replace(to,"")}var tl=/(a)(d)/gi,tc=function(e){return String.fromCharCode(e+(e>25?39:97))};function tu(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=tc(t%52)+n;return(tc(t%52)+n).replace(tl,"$1-$2")}var td,tp=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},tf=function(e){return tp(5381,e)};function th(e){return"string"==typeof e}var tm="function"==typeof Symbol&&Symbol.for,tg=tm?Symbol.for("react.memo"):60115,tb=tm?Symbol.for("react.forward_ref"):60112,ty={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},tE={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},tv={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},tT=((td={})[tb]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},td[tg]=tv,td);function tS(e){return("type"in e&&e.type.$$typeof)===tg?tv:"$$typeof"in e?tT[e.$$typeof]:ty}var tA=Object.defineProperty,tO=Object.getOwnPropertyNames,t_=Object.getOwnPropertySymbols,tk=Object.getOwnPropertyDescriptor,tx=Object.getPrototypeOf,tC=Object.prototype;function tw(e){return"function"==typeof e}function tI(e){return"object"==typeof e&&"styledComponentId"in e}function tR(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function tN(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r0?" Args: ".concat(t.join(", ")):""))}var tM=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,a=r;e>=a;)if((a<<=1)<0)throw tP(16,"".concat(e));this.groupSizes=new Uint32Array(a),this.groupSizes.set(n),this.length=a;for(var i=r;i=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),a=r+n,i=r;i=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(l+="".concat(e,","))}),r+="".concat(o).concat(s,'{content:"').concat(l,'"}').concat(e7)}}})(a);return r}(r)})}return e.registerId=function(e){return tU(e)},e.prototype.rehydrate=function(){!this.server&&te&&tW(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(eb(eb({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){var e,t,n,r;return this.tag||(this.tag=(n=(t=this.options).useCSSOMInjection,r=t.target,e=t.isServer?new tK(r):n?new tY(r):new tq(r),new tM(e)))},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(tU(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(tU(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(tU(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),t0=/&/g,t1=/^\s*\/\/.*$/gm;function t2(e){var t,n,r,a=void 0===e?tr:e,i=a.options,o=void 0===i?tr:i,s=a.plugins,l=void 0===s?tn:s,c=function(e,r,a){return a.startsWith(n)&&a.endsWith(n)&&a.replaceAll(n,"").length>0?".".concat(t):e},u=l.slice();u.push(function(e){e.type===e_&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(t0,n).replace(r,c))}),o.prefix&&u.push(e0),u.push(eJ);var d=function(e,a,i,s){void 0===a&&(a=""),void 0===i&&(i=""),void 0===s&&(s="&"),t=s,n=a,r=RegExp("\\".concat(n,"\\b"),"g");var l,c,d,p,f,h=e.replace(t1,""),m=(f=function e(t,n,r,a,i,o,s,l,c){for(var u,d=0,p=0,f=s,h=0,m=0,g=0,b=1,y=1,E=1,v=0,T="",S=i,A=o,O=a,_=T;y;)switch(g=v,v=eY()){case 40:if(108!=g&&58==eD(_,f-1)){-1!=eL(_+=eN(eX(v),"&","&\f"),"&\f",eC(d?l[d-1]:0))&&(E=-1);break}case 34:case 39:case 91:_+=eX(v);break;case 9:case 10:case 13:case 32:_+=function(e){for(;e$=eq();)if(e$<33)eY();else break;return eK(e)>2||eK(e$)>3?"":" "}(g);break;case 92:_+=function(e,t){for(var n;--t&&eY()&&!(e$<48)&&!(e$>102)&&(!(e$>57)||!(e$<65))&&(!(e$>70)||!(e$<97)););return n=eH+(t<6&&32==eq()&&32==eY()),eP(ez,e,n)}(eH-1,7);continue;case 47:switch(eq()){case 42:case 47:eF(eZ(u=function(e,t){for(;eY();)if(e+e$===57)break;else if(e+e$===84&&47===eq())break;return"/*"+eP(ez,t,eH-1)+"*"+ew(47===e?e:eY())}(eY(),eH),n,r,eO,ew(e$),eP(u,2,-2),0,c),c);break;default:_+="/"}break;case 123*b:l[d++]=eM(_)*E;case 125*b:case 59:case 0:switch(v){case 0:case 125:y=0;case 59+p:-1==E&&(_=eN(_,/\f/g,"")),m>0&&eM(_)-f&&eF(m>32?e2(_+";",a,r,f-1,c):e2(eN(_," ","")+";",a,r,f-2,c),c);break;case 59:_+=";";default:if(eF(O=e1(_,n,r,d,p,i,l,T,S=[],A=[],f,o),o),123===v){if(0===p)e(_,n,O,O,S,o,f,l,A);else switch(99===h&&110===eD(_,3)?100:h){case 100:case 108:case 109:case 115:e(t,O,O,a&&eF(e1(t,O,O,0,0,i,l,T,i,S=[],f,A),A),i,A,f,l,a?S:A);break;default:e(_,O,O,O,[""],A,0,l,A)}}}d=p=m=0,b=E=1,T=_="",f=s;break;case 58:f=1+eM(_),m=g;default:if(b<1){if(123==v)--b;else if(125==v&&0==b++&&125==(e$=eH>0?eD(ez,--eH):0,eU--,10===e$&&(eU=1,ej--),e$))continue}switch(_+=ew(v),v*b){case 38:E=p>0?1:(_+="\f",-1);break;case 44:l[d++]=(eM(_)-1)*E,E=1;break;case 64:45===eq()&&(_+=eX(eY())),h=eq(),p=f=eM(T=_+=function(e){for(;!eK(eq());)eY();return eP(ez,e,eH)}(eH)),v++;break;case 45:45===g&&2==eM(_)&&(b=0)}}return o}("",null,null,null,[""],(p=d=i||a?"".concat(i," ").concat(a," { ").concat(h," }"):h,ej=eU=1,eG=eM(ez=p),eH=0,d=[]),0,[0],d),ez="",f);o.namespace&&(m=function e(t,n){return t.map(function(t){return"rule"===t.type&&(t.value="".concat(n," ").concat(t.value),t.value=t.value.replaceAll(",",",".concat(n," ")),t.props=t.props.map(function(e){return"".concat(n," ").concat(e)})),Array.isArray(t.children)&&"@keyframes"!==t.type&&(t.children=e(t.children,n)),t})}(m,o.namespace));var g=[];return eQ(m,(c=(l=u.concat(function(e){var t;!e.root&&(e=e.return)&&(t=e,g.push(t))})).length,function(e,t,n,r){for(var a="",i=0;i="A"&&r<="Z"?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var nt=function(e){return null==e||!1===e||""===e},nn=function(e){var t=[];for(var n in e){var r=e[n];e.hasOwnProperty(n)&&!nt(r)&&(Array.isArray(r)&&r.isCss||tw(r)?t.push("".concat(ne(n),":"),r,";"):tL(r)?t.push.apply(t,ey(ey(["".concat(n," {")],nn(r),!1),["}"],!1)):t.push("".concat(ne(n),": ").concat(null==r||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||n in e3.Z||n.startsWith("--")?String(r).trim():"".concat(r,"px"),";")))}return t};function nr(e,t,n,r){return nt(e)?[]:tI(e)?[".".concat(e.styledComponentId)]:tw(e)?!tw(e)||e.prototype&&e.prototype.isReactComponent||!t?[e]:nr(e(t),t,n,r):e instanceof t7?n?(e.inject(n,r),[e.getName(r)]):[e]:tL(e)?nn(e):Array.isArray(e)?Array.prototype.concat.apply(tn,e.map(function(e){return nr(e,t,n,r)})):[e.toString()]}function na(e){for(var t=0;t>>0);if(!t.hasNameForId(this.componentId,i)){var o=n(a,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,o)}r=tR(r,i),this.staticRulesId=i}}else{for(var s=tp(this.baseHash,n.hash),l="",c=0;c>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(l,".".concat(p),void 0,this.componentId)),r=tR(r,p)}}return r},e}(),ns=eg.createContext(void 0);ns.Consumer;var nl={};function nc(e,t,n){var r,a,i,o,s=tI(e),l=!th(e),c=t.attrs,u=void 0===c?tn:c,d=t.componentId,p=void 0===d?(r=t.displayName,a=t.parentComponentId,nl[i="string"!=typeof r?"sc":ts(r)]=(nl[i]||0)+1,o="".concat(i,"-").concat(tu(tf(e8+i+nl[i])>>>0)),a?"".concat(a,"-").concat(o):o):d,f=t.displayName,h=void 0===f?th(e)?"styled.".concat(e):"Styled(".concat(e.displayName||e.name||"Component",")"):f,m=t.displayName&&t.componentId?"".concat(ts(t.displayName),"-").concat(t.componentId):t.componentId||p,g=s&&e.attrs?e.attrs.concat(u).filter(Boolean):u,b=t.shouldForwardProp;if(s&&e.shouldForwardProp){var y=e.shouldForwardProp;if(t.shouldForwardProp){var E=t.shouldForwardProp;b=function(e,t){return y(e,t)&&E(e,t)}}else b=y}var v=new no(n,m,s?e.componentStyle:void 0);function T(e,t){return function(e,t,n){var r,a,i=e.attrs,o=e.componentStyle,s=e.defaultProps,l=e.foldedComponentIds,c=e.styledComponentId,u=e.target,d=eg.useContext(ns),p=t9(),f=e.shouldForwardProp||p.shouldForwardProp,h=(void 0===(r=s)&&(r=tr),t.theme!==r.theme&&t.theme||d||r.theme||tr),m=function(e,t,n){for(var r,a=eb(eb({},t),{className:void 0,theme:n}),i=0;i2&&tJ.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=n.nc,a=tN([r&&'nonce="'.concat(r,'"'),"".concat(e4,'="true"'),"".concat(e9,'="').concat(e8,'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(e.sealed)throw tP(2);return e._emitSheetCSS()},this.getStyleElement=function(){if(e.sealed)throw tP(2);var t,r=e.instance.toString();if(!r)return[];var a=((t={})[e4]="",t[e9]=e8,t.dangerouslySetInnerHTML={__html:r},t),i=n.nc;return i&&(a.nonce=i),[eg.createElement("style",eb({},a,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new tJ({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw tP(2);return eg.createElement(t8,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw tP(3)}}();var nh=n(4942),nm=n(73935),ng=n.t(nm,2),nb=function(){return(nb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=18&&(J=ny.createRoot)}catch(e){}function nT(e){var t=ny.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"==typeof t&&(t.usingClientEntryPoint=e)}var nS="__rc_react_root__",nA=new Map;"undefined"!=typeof document&&nA.set("tooltip",document.createElement("div"));var nO=function(e,t){void 0===t&&(t=!1);var n=null;if(t)n=nA.get("tooltip");else if(n=document.createElement("div"),null==e?void 0:e.key){var r=nA.get(e.key);r?n=r:nA.set(e.key,n)}return!function(e,t){if(J){var n;nT(!0),n=t[nS]||J(t),nT(!1),n.render(e),t[nS]=n;return}nv(e,t)}(e,n),n},n_=function(e){if("undefined"==typeof document)return"loading";var t=e.attachShadow({mode:"open"}),n=document.createElement("div"),r=document.createElement("style");r.innerHTML=".loading {\n display: inline-block;\n position: relative;\n width: 80px;\n height: 80px;\n }\n .loading div {\n position: absolute;\n top: 33px;\n width: 13px;\n height: 13px;\n border-radius: 50%;\n background: #ccc;\n animation-timing-function: cubic-bezier(0, 1, 1, 0);\n }\n .loading div:nth-child(1) {\n left: 8px;\n animation: loading1 0.6s infinite;\n }\n .loading div:nth-child(2) {\n left: 8px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(3) {\n left: 32px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(4) {\n left: 56px;\n animation: loading3 0.6s infinite;\n }\n @keyframes loading1 {\n 0% {\n transform: scale(0);\n }\n 100% {\n transform: scale(1);\n }\n }\n @keyframes loading3 {\n 0% {\n transform: scale(1);\n }\n 100% {\n transform: scale(0);\n }\n }\n @keyframes loading2 {\n 0% {\n transform: translate(0, 0);\n }\n 100% {\n transform: translate(24px, 0);\n }\n }\n ",n.classList.add("loading"),n.innerHTML="
",t.appendChild(r),t.appendChild(n)},nk=function(e){var t=e.loadingTemplate,n=e.theme,r=eg.useRef(null);return eg.useEffect(function(){!t&&r.current&&n_(r.current)},[]),eg.createElement("div",{className:"charts-loading-container",style:{position:"absolute",width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",left:0,top:0,zIndex:99,backgroundColor:"dark"===(void 0===n?"light":n)?"rgb(20, 20, 20)":"rgb(255, 255, 255)"}},t||eg.createElement("div",{ref:r}))},nx=(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),nC=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={hasError:!1},t.renderError=function(e){var n=t.props.errorTemplate;return"function"==typeof n?n(e):n||eg.createElement("h5",null,"组件出错了,请核查后重试: ",e.message)},t}return nx(t,e),t.getDerivedStateFromError=function(e){return{hasError:!0,error:e}},t.getDerivedStateFromProps=function(e,t){return t.children!==e.children?{children:e.children,hasError:!1,error:void 0}:null},t.prototype.render=function(){return this.state.hasError?this.renderError(this.state.error):eg.createElement(eg.Fragment,null,this.props.children)},t}(eg.Component),nw=function(e,t,n){if(n||2==arguments.length)for(var r,a=0,i=t.length;a90)return this;this.computeMatrix()}return this._getAxes(),this.type===nN.iM.ORBITING||this.type===nN.iM.EXPLORING?this._getPosition():this.type===nN.iM.TRACKING&&this._getFocalPoint(),this._update(),this}},{key:"pan",value:function(e,t){var n=(0,nN.O4)(e,t,0),r=nG.d9(this.position);return nG.IH(r,r,nG.bA(nG.Ue(),this.right,n[0])),nG.IH(r,r,nG.bA(nG.Ue(),this.up,n[1])),this._setPosition(r),this.triggerUpdate(),this}},{key:"dolly",value:function(e){var t=this.forward,n=nG.d9(this.position),r=e*this.dollyingStep;return r=Math.max(Math.min(this.distance+e*this.dollyingStep,this.maxDistance),this.minDistance)-this.distance,n[0]+=r*t[0],n[1]+=r*t[1],n[2]+=r*t[2],this._setPosition(n),this.type===nN.iM.ORBITING||this.type===nN.iM.EXPLORING?this._getDistance():this.type===nN.iM.TRACKING&&nG.IH(this.focalPoint,n,this.distanceVector),this.triggerUpdate(),this}},{key:"cancelLandmarkAnimation",value:function(){void 0!==this.landmarkAnimationID&&this.canvas.cancelAnimationFrame(this.landmarkAnimationID)}},{key:"createLandmark",value:function(e){var t,n,r,a,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=i.position,s=void 0===o?this.position:o,l=i.focalPoint,c=void 0===l?this.focalPoint:l,u=i.roll,d=i.zoom,p=new nN.GZ.CameraContribution;p.setType(this.type,void 0),p.setPosition(s[0],null!==(t=s[1])&&void 0!==t?t:this.position[1],null!==(n=s[2])&&void 0!==n?n:this.position[2]),p.setFocalPoint(c[0],null!==(r=c[1])&&void 0!==r?r:this.focalPoint[1],null!==(a=c[2])&&void 0!==a?a:this.focalPoint[2]),p.setRoll(null!=u?u:this.roll),p.setZoom(null!=d?d:this.zoom);var f={name:e,matrix:nU.clone(p.getWorldTransform()),right:nG.d9(p.right),up:nG.d9(p.up),forward:nG.d9(p.forward),position:nG.d9(p.getPosition()),focalPoint:nG.d9(p.getFocalPoint()),distanceVector:nG.d9(p.getDistanceVector()),distance:p.getDistance(),dollyingStep:p.getDollyingStep(),azimuth:p.getAzimuth(),elevation:p.getElevation(),roll:p.getRoll(),relAzimuth:p.relAzimuth,relElevation:p.relElevation,relRoll:p.relRoll,zoom:p.getZoom()};return this.landmarks.push(f),f}},{key:"gotoLandmark",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=nB(e,"String")?this.landmarks.find(function(t){return t.name===e}):e;if(r){var a,i=nB(n,"Number")?{duration:n}:n,o=i.easing,s=void 0===o?"linear":o,l=i.duration,c=void 0===l?100:l,u=i.easingFunction,d=i.onfinish,p=void 0===d?void 0:d,f=i.onframe,h=void 0===f?void 0:f;this.cancelLandmarkAnimation();var m=r.position,g=r.focalPoint,b=r.zoom,y=r.roll,E=(void 0===u?void 0:u)||nN.GZ.EasingFunction(s),v=function(){t.setFocalPoint(g),t.setPosition(m),t.setRoll(y),t.setZoom(b),t.computeMatrix(),t.triggerUpdate(),null==p||p()};if(0===c)return v();var T=function(e){void 0===a&&(a=e);var n=e-a;if(n>=c){v();return}var r=E(n/c),i=nG.Ue(),o=nG.Ue(),s=1,l=0;if(nG.t7(i,t.focalPoint,g,r),nG.t7(o,t.position,m,r),l=t.roll*(1-r)+y*r,s=t.zoom*(1-r)+b*r,t.setFocalPoint(i),t.setPosition(o),t.setRoll(l),t.setZoom(s),nG.TK(i,g)+nG.TK(o,m)<=.01&&void 0===b&&void 0===y)return v();t.computeMatrix(),t.triggerUpdate(),nn?n:e},nW={}.toString,nV=function(e){return null==e},nY=function(e){function t(e,n,r,a){var i;return(0,nL.Z)(this,t),(i=(0,nP.Z)(this,t,[e])).currentTime=r,i.timelineTime=a,i.target=n,i.type="finish",i.bubbles=!1,i.currentTarget=n,i.defaultPrevented=!1,i.eventPhase=i.AT_TARGET,i.timeStamp=Date.now(),i.currentTime=r,i.timelineTime=a,i}return(0,nM.Z)(t,e),(0,nD.Z)(t)}(nN.xA),nq=0,nK=(0,nD.Z)(function e(t,n){var r;(0,nL.Z)(this,e),this.currentTimePending=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._playbackRate=1,this._inTimeline=!0,this.effect=t,t.animation=this,this.timeline=n,this.id="".concat(nq++),this._inEffect=!!this.effect.update(0),this._totalDuration=Number(null===(r=this.effect)||void 0===r?void 0:r.getComputedTiming().endTime),this._holdTime=0,this._paused=!1,this.oldPlayState="idle",this.updatePromises()},[{key:"pending",get:function(){return null===this._startTime&&!this._paused&&0!==this.playbackRate||this.currentTimePending}},{key:"playState",get:function(){return this._idle?"idle":this._isFinished?"finished":this._paused?"paused":"running"}},{key:"ready",get:function(){var e=this;return this.readyPromise||(-1===this.timeline.animationsWithPromises.indexOf(this)&&this.timeline.animationsWithPromises.push(this),this.readyPromise=new Promise(function(t,n){e.resolveReadyPromise=function(){t(e)},e.rejectReadyPromise=function(){n(Error())}}),this.pending||this.resolveReadyPromise()),this.readyPromise}},{key:"finished",get:function(){var e=this;return this.finishedPromise||(-1===this.timeline.animationsWithPromises.indexOf(this)&&this.timeline.animationsWithPromises.push(this),this.finishedPromise=new Promise(function(t,n){e.resolveFinishedPromise=function(){t(e)},e.rejectFinishedPromise=function(){n(Error())}}),"finished"===this.playState&&this.resolveFinishedPromise()),this.finishedPromise}},{key:"currentTime",get:function(){return this.updatePromises(),this._idle||this.currentTimePending?null:this._currentTime},set:function(e){if(!isNaN(e=Number(e))){if(this.timeline.restart(),!this._paused&&null!==this._startTime){var t;this._startTime=Number(null===(t=this.timeline)||void 0===t?void 0:t.currentTime)-e/this.playbackRate}this.currentTimePending=!1,this._currentTime!==e&&(this._idle&&(this._idle=!1,this._paused=!0),this.tickCurrentTime(e,!0),this.timeline.applyDirtiedAnimation(this))}}},{key:"startTime",get:function(){return this._startTime},set:function(e){null!==e&&(this.updatePromises(),!isNaN(e=Number(e))&&(this._paused||this._idle||(this._startTime=e,this.tickCurrentTime((Number(this.timeline.currentTime)-this._startTime)*this.playbackRate),this.timeline.applyDirtiedAnimation(this),this.updatePromises())))}},{key:"playbackRate",get:function(){return this._playbackRate},set:function(e){if(e!==this._playbackRate){this.updatePromises();var t=this.currentTime;this._playbackRate=e,this.startTime=null,"paused"!==this.playState&&"idle"!==this.playState&&(this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this)),null!==t&&(this.currentTime=t),this.updatePromises()}}},{key:"_isFinished",get:function(){return!this._idle&&(this._playbackRate>0&&Number(this._currentTime)>=this._totalDuration||this._playbackRate<0&&0>=Number(this._currentTime))}},{key:"totalDuration",get:function(){return this._totalDuration}},{key:"_needsTick",get:function(){return this.pending||"running"===this.playState||!this._finishedFlag}},{key:"updatePromises",value:function(){var e=this.oldPlayState,t=this.pending?"pending":this.playState;return this.readyPromise&&t!==e&&("idle"===t?(this.rejectReadyPromise(),this.readyPromise=void 0):"pending"===e?this.resolveReadyPromise():"pending"===t&&(this.readyPromise=void 0)),this.finishedPromise&&t!==e&&("idle"===t?(this.rejectFinishedPromise(),this.finishedPromise=void 0):"finished"===t?this.resolveFinishedPromise():"finished"===e&&(this.finishedPromise=void 0)),this.oldPlayState=t,this.readyPromise||this.finishedPromise}},{key:"play",value:function(){this.updatePromises(),this._paused=!1,(this._isFinished||this._idle)&&(this.rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this),-1===this.timeline.animations.indexOf(this)&&this.timeline.animations.push(this),this.updatePromises()}},{key:"pause",value:function(){this.updatePromises(),this.currentTime&&(this._holdTime=this.currentTime),this._isFinished||this._paused||this._idle?this._idle&&(this.rewind(),this._idle=!1):this.currentTimePending=!0,this._startTime=null,this._paused=!0,this.updatePromises()}},{key:"finish",value:function(){this.updatePromises(),this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this.currentTimePending=!1,this.timeline.applyDirtiedAnimation(this),this.updatePromises())}},{key:"cancel",value:function(){var e=this;if(this.updatePromises(),this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this.effect.update(null),this.timeline.applyDirtiedAnimation(this),this.updatePromises(),this.oncancel)){var t=new nY(null,this,this.currentTime,null);setTimeout(function(){e.oncancel(t)})}}},{key:"reverse",value:function(){this.updatePromises();var e=this.currentTime;this.playbackRate*=-1,this.play(),null!==e&&(this.currentTime=e),this.updatePromises()}},{key:"updatePlaybackRate",value:function(e){this.playbackRate=e}},{key:"targetAnimations",value:function(){var e;return(null===(e=this.effect)||void 0===e?void 0:e.target).getAnimations()}},{key:"markTarget",value:function(){var e=this.targetAnimations();-1===e.indexOf(this)&&e.push(this)}},{key:"unmarkTarget",value:function(){var e=this.targetAnimations(),t=e.indexOf(this);-1!==t&&e.splice(t,1)}},{key:"tick",value:function(e,t){this._idle||this._paused||(null===this._startTime?t&&(this.startTime=e-this._currentTime/this.playbackRate):this._isFinished||this.tickCurrentTime((e-this._startTime)*this.playbackRate)),t&&(this.currentTimePending=!1,this.fireEvents(e))}},{key:"rewind",value:function(){if(this.playbackRate>=0)this.currentTime=0;else if(this._totalDuration<1/0)this.currentTime=this._totalDuration;else throw Error("Unable to rewind negative playback rate animation with infinite duration")}},{key:"persist",value:function(){throw Error(nN.jf)}},{key:"addEventListener",value:function(e,t,n){throw Error(nN.jf)}},{key:"removeEventListener",value:function(e,t,n){throw Error(nN.jf)}},{key:"dispatchEvent",value:function(e){throw Error(nN.jf)}},{key:"commitStyles",value:function(){throw Error(nN.jf)}},{key:"ensureAlive",value:function(){var e,t;this.playbackRate<0&&0===this.currentTime?this._inEffect=!!(null!==(e=this.effect)&&void 0!==e&&e.update(-1)):this._inEffect=!!(null!==(t=this.effect)&&void 0!==t&&t.update(this.currentTime)),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,this.timeline.animations.push(this))}},{key:"tickCurrentTime",value:function(e,t){e!==this._currentTime&&(this._currentTime=e,this._isFinished&&!t&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this.ensureAlive())}},{key:"fireEvents",value:function(e){var t=this;if(this._isFinished){if(!this._finishedFlag){if(this.onfinish){var n=new nY(null,this,this.currentTime,e);setTimeout(function(){t.onfinish&&t.onfinish(n)})}this._finishedFlag=!0}}else{if(this.onframe&&"running"===this.playState){var r=new nY(null,this,this.currentTime,e);this.onframe(r)}this._finishedFlag=!1}}}]),nX="function"==typeof Float32Array,nQ=function(e,t){return 1-3*t+3*e},nJ=function(e,t){return 3*t-6*e},n0=function(e){return 3*e},n1=function(e,t,n){return((nQ(t,n)*e+nJ(t,n))*e+n0(t))*e},n2=function(e,t,n){return 3*nQ(t,n)*e*e+2*nJ(t,n)*e+n0(t)},n3=function(e,t,n,r,a){var i,o,s=0;do(i=n1(o=t+(n-t)/2,r,a)-e)>0?n=o:t=o;while(Math.abs(i)>1e-7&&++s<10);return o},n5=function(e,t,n,r){for(var a=0;a<4;++a){var i=n2(t,n,r);if(0===i)break;var o=n1(t,n,r)-e;t-=o/i}return t},n4=function(e,t,n,r){if(!(e>=0&&e<=1&&n>=0&&n<=1))throw Error("bezier x values must be in [0, 1] range");if(e===t&&n===r)return function(e){return e};for(var a=nX?new Float32Array(11):Array(11),i=0;i<11;++i)a[i]=n1(.1*i,e,n);var o=function(t){for(var r=0,i=1;10!==i&&a[i]<=t;++i)r+=.1;var o=r+(t-a[--i])/(a[i+1]-a[i])*.1,s=n2(o,e,n);return s>=.001?n5(t,o,e,n):0===s?o:n3(t,r,r+.1,e,n)};return function(e){return 0===e||1===e?e:n1(o(e),t,r)}},n6=function(e){return Math.pow(e,2)},n9=function(e){return Math.pow(e,3)},n8=function(e){return Math.pow(e,4)},n7=function(e){return Math.pow(e,5)},re=function(e){return Math.pow(e,6)},rt=function(e){return 1-Math.cos(e*Math.PI/2)},rn=function(e){return 1-Math.sqrt(1-e*e)},rr=function(e){return e*e*(3*e-2)},ra=function(e){for(var t,n=4;e<((t=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*t-2)/22-e,2)},ri=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,2),r=n[0],a=n[1],i=nZ(Number(void 0===r?1:r),1,10),o=nZ(Number(void 0===a?.5:a),.1,2);return 0===e||1===e?e:-i*Math.pow(2,10*(e-1))*Math.sin((e-1-o/(2*Math.PI)*Math.asin(1/i))*(2*Math.PI)/o)},ro=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,r=(0,nz.Z)(t,4),a=r[0],i=void 0===a?1:a,o=r[1],s=void 0===o?100:o,l=r[2],c=void 0===l?10:l,u=r[3],d=void 0===u?0:u;i=nZ(i,.1,1e3),s=nZ(s,.1,1e3),c=nZ(c,.1,1e3),d=nZ(d,.1,1e3);var p=Math.sqrt(s/i),f=c/(2*Math.sqrt(s*i)),h=f<1?p*Math.sqrt(1-f*f):0,m=f<1?(f*p+-d)/h:-d+p,g=n?n*e/1e3:e;return(g=f<1?Math.exp(-g*f*p)*(1*Math.cos(h*g)+m*Math.sin(h*g)):(1+m*g)*Math.exp(-g*p),0===e||1===e)?e:1-g},rs=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,2),r=n[0],a=void 0===r?10:r;return("start"===n[1]?Math.ceil:Math.floor)(nZ(e,0,1)*a)/a},rl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,4);return n4(n[0],n[1],n[2],n[3])(e)},rc=n4(.42,0,1,1),ru=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return 1-e(1-t,n,r)}},rd=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return t<.5?e(2*t,n,r)/2:1-e(-2*t+2,n,r)/2}},rp=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return t<.5?(1-e(1-2*t,n,r))/2:(e(2*t-1,n,r)+1)/2}},rf={steps:rs,"step-start":function(e){return rs(e,[1,"start"])},"step-end":function(e){return rs(e,[1,"end"])},linear:function(e){return e},"cubic-bezier":rl,ease:function(e){return rl(e,[.25,.1,.25,1])},in:rc,out:ru(rc),"in-out":rd(rc),"out-in":rp(rc),"in-quad":n6,"out-quad":ru(n6),"in-out-quad":rd(n6),"out-in-quad":rp(n6),"in-cubic":n9,"out-cubic":ru(n9),"in-out-cubic":rd(n9),"out-in-cubic":rp(n9),"in-quart":n8,"out-quart":ru(n8),"in-out-quart":rd(n8),"out-in-quart":rp(n8),"in-quint":n7,"out-quint":ru(n7),"in-out-quint":rd(n7),"out-in-quint":rp(n7),"in-expo":re,"out-expo":ru(re),"in-out-expo":rd(re),"out-in-expo":rp(re),"in-sine":rt,"out-sine":ru(rt),"in-out-sine":rd(rt),"out-in-sine":rp(rt),"in-circ":rn,"out-circ":ru(rn),"in-out-circ":rd(rn),"out-in-circ":rp(rn),"in-back":rr,"out-back":ru(rr),"in-out-back":rd(rr),"out-in-back":rp(rr),"in-bounce":ra,"out-bounce":ru(ra),"in-out-bounce":rd(ra),"out-in-bounce":rp(ra),"in-elastic":ri,"out-elastic":ru(ri),"in-out-elastic":rd(ri),"out-in-elastic":rp(ri),spring:ro,"spring-in":ro,"spring-out":ru(ro),"spring-in-out":rd(ro),"spring-out-in":rp(ro)},rh=function(e){var t;return("-"===(t=(t=e).replace(/([A-Z])/g,function(e){return"-".concat(e.toLowerCase())})).charAt(0)?t.substring(1):t).replace(/^ease-/,"").replace(/(\(|\s).+/,"").toLowerCase().trim()},rm=function(e){return e};function rg(e,t){return function(n){if(n>=1)return 1;var r=1/e;return(n+=t*r)-n%r}}var rb="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",ry=new RegExp("cubic-bezier\\(".concat(rb,",").concat(rb,",").concat(rb,",").concat(rb,"\\)")),rE=/steps\(\s*(\d+)\s*\)/,rv=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/;function rT(e){var t=ry.exec(e);if(t)return n4.apply(void 0,(0,n$.Z)(t.slice(1).map(Number)));var n=rE.exec(e);if(n)return rg(Number(n[1]),0);var r=rv.exec(e);return r?rg(Number(r[1]),{start:1,middle:.5,end:0}[r[2]]):rf[rh(e)]||rf.linear}function rS(e){return"offset"!==e&&"easing"!==e&&"composite"!==e&&"computedOffset"!==e}var rA=function(e,t,n){return function(r){var a,i=function e(t,n,r){if("number"==typeof t&&"number"==typeof n)return t*(1-r)+n*r;if("boolean"==typeof t&&"boolean"==typeof n||"string"==typeof t&&"string"==typeof n)return r<.5?t:n;if(Array.isArray(t)&&Array.isArray(n)){for(var a=t.length,i=n.length,o=Math.max(a,i),s=[],l=0;l1)throw Error("Keyframe offsets must be between 0 and 1.");n.computedOffset=a}}else if("composite"===r&&-1===["replace","add","accumulate","auto"].indexOf(a))throw Error("".concat(a," compositing is not supported"));n[r]=a}return void 0===n.offset&&(n.offset=null),void 0===n.easing&&(n.easing=(null==t?void 0:t.easing)||"linear"),void 0===n.composite&&(n.composite="auto"),n}),r=!0,a=-1/0,i=0;i=0&&1>=Number(e.offset)}),r||function(){var e,t,r=n.length;n[r-1].computedOffset=Number(null!==(e=n[r-1].offset)&&void 0!==e?e:1),r>1&&(n[0].computedOffset=Number(null!==(t=n[0].offset)&&void 0!==t?t:0));for(var a=0,i=Number(n[0].computedOffset),o=1;o=e.applyFrom&&t=Math.min(n.delay+e+n.endDelay,r)?2:3}(e,t,n),u=function(e,t,n,r,a){switch(r){case 1:if("backwards"===t||"both"===t)return 0;return null;case 3:return n-a;case 2:if("forwards"===t||"both"===t)return e;return null;case 0:return null}}(e,n.fill,t,c,n.delay);if(null===u)return null;var d="auto"===n.duration?0:n.duration,p=(r=n.iterations,a=n.iterationStart,0===d?1!==c&&(a+=r):a+=u/d,a),f=(i=n.iterationStart,o=n.iterations,0==(s=p===1/0?i%1:p%1)&&2===c&&0!==o&&(0!==u||0===d)&&(s=1),s),h=(l=n.iterations,2===c&&l===1/0?1/0:1===f?Math.floor(p)-1:Math.floor(p)),m=function(e,t,n){var r=e;if("normal"!==e&&"reverse"!==e){var a=t;"alternate-reverse"===e&&(a+=1),r="normal",a!==1/0&&a%2!=0&&(r="reverse")}return"normal"===r?n:1-n}(n.direction,h,f);return n.currentIteration=h,n.progress=m,n.easingFunction(m)}(this.timing.activeDuration,e,this.timing),null!==this.timeFraction)}},{key:"getKeyframes",value:function(){return this.normalizedKeyframes}},{key:"setKeyframes",value:function(e){this.normalizedKeyframes=r_(e)}},{key:"getComputedTiming",value:function(){return this.computedTiming}},{key:"getTiming",value:function(){return this.timing}},{key:"updateTiming",value:function(e){var t=this;Object.keys(e||{}).forEach(function(n){t.timing[n]=e[n]})}}]);function rw(e,t){return Number(e.id)-Number(t.id)}var rI=(0,nD.Z)(function e(t){var n=this;(0,nL.Z)(this,e),this.animations=[],this.ticking=!1,this.timelineTicking=!1,this.hasRestartedThisFrame=!1,this.animationsWithPromises=[],this.inTick=!1,this.pendingEffects=[],this.currentTime=null,this.rafId=0,this.rafCallbacks=[],this.webAnimationsNextTick=function(e){n.currentTime=e,n.discardAnimations(),0===n.animations.length?n.timelineTicking=!1:n.requestAnimationFrame(n.webAnimationsNextTick)},this.processRafCallbacks=function(e){var t=n.rafCallbacks;n.rafCallbacks=[],et.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let rN=(e,t,n)=>[["M",e-n,t],["A",n,n,0,1,0,e+n,t],["A",n,n,0,1,0,e-n,t],["Z"]];rN.style=["fill"];let rL=rN.bind(void 0);rL.style=["stroke","lineWidth"];let rD=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t-n],["L",e+n,t+n],["L",e-n,t+n],["Z"]];rD.style=["fill"];let rP=rD.bind(void 0);rP.style=["fill"];let rM=rD.bind(void 0);rM.style=["stroke","lineWidth"];let rF=(e,t,n)=>{let r=.618*n;return[["M",e-r,t],["L",e,t-n],["L",e+r,t],["L",e,t+n],["Z"]]};rF.style=["fill"];let rB=rF.bind(void 0);rB.style=["stroke","lineWidth"];let rj=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t+r],["L",e,t-r],["L",e+n,t+r],["Z"]]};rj.style=["fill"];let rU=rj.bind(void 0);rU.style=["stroke","lineWidth"];let rG=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t-r],["L",e+n,t-r],["L",e,t+r],["Z"]]};rG.style=["fill"];let rH=rG.bind(void 0);rH.style=["stroke","lineWidth"];let r$=(e,t,n)=>{let r=n/2*Math.sqrt(3);return[["M",e,t-n],["L",e+r,t-n/2],["L",e+r,t+n/2],["L",e,t+n],["L",e-r,t+n/2],["L",e-r,t-n/2],["Z"]]};r$.style=["fill"];let rz=r$.bind(void 0);rz.style=["stroke","lineWidth"];let rZ=(e,t,n)=>{let r=n-1.5;return[["M",e-n,t-r],["L",e+n,t+r],["L",e+n,t-r],["L",e-n,t+r],["Z"]]};rZ.style=["fill"];let rW=rZ.bind(void 0);rW.style=["stroke","lineWidth"];let rV=(e,t,n)=>[["M",e,t+n],["L",e,t-n]];rV.style=["stroke","lineWidth"];let rY=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t+n],["M",e+n,t-n],["L",e-n,t+n]];rY.style=["stroke","lineWidth"];let rq=(e,t,n)=>[["M",e-n/2,t-n],["L",e+n/2,t-n],["M",e,t-n],["L",e,t+n],["M",e-n/2,t+n],["L",e+n/2,t+n]];rq.style=["stroke","lineWidth"];let rK=(e,t,n)=>[["M",e-n,t],["L",e+n,t],["M",e,t-n],["L",e,t+n]];rK.style=["stroke","lineWidth"];let rX=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rX.style=["stroke","lineWidth"];let rQ=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rQ.style=["stroke","lineWidth"];let rJ=rQ.bind(void 0);rJ.style=["stroke","lineWidth"];let r0=(e,t,n)=>[["M",e-n,t],["A",n/2,n/2,0,1,1,e,t],["A",n/2,n/2,0,1,0,e+n,t]];r0.style=["stroke","lineWidth"];let r1=(e,t,n)=>[["M",e-n-1,t-2.5],["L",e,t-2.5],["L",e,t+2.5],["L",e+n+1,t+2.5]];r1.style=["stroke","lineWidth"];let r2=(e,t,n)=>[["M",e-n-1,t+2.5],["L",e,t+2.5],["L",e,t-2.5],["L",e+n+1,t-2.5]];r2.style=["stroke","lineWidth"];let r3=(e,t,n)=>[["M",e-(n+1),t+2.5],["L",e-n/2,t+2.5],["L",e-n/2,t-2.5],["L",e+n/2,t-2.5],["L",e+n/2,t+2.5],["L",e+n+1,t+2.5]];r3.style=["stroke","lineWidth"];let r5=(e,t,n)=>[["M",e-5,t+2.5],["L",e-5,t],["L",e,t],["L",e,t-3],["L",e,t+3],["L",e+6.5,t+3]];r5.style=["stroke","lineWidth"];let r4=new Map([["bowtie",rZ],["cross",rY],["dash",rJ],["diamond",rF],["dot",rQ],["hexagon",r$],["hollowBowtie",rW],["hollowDiamond",rB],["hollowHexagon",rz],["hollowPoint",rL],["hollowSquare",rM],["hollowTriangle",rU],["hollowTriangleDown",rH],["hv",r1],["hvh",r3],["hyphen",rX],["line",rV],["plus",rK],["point",rN],["rect",rP],["smooth",r0],["square",rD],["tick",rq],["triangleDown",rG],["triangle",rj],["vh",r2],["vhv",r5]]),r6={};function r9(e,t){if(e.startsWith("symbol.")){var n;n=e.split(".").pop(),r4.set(n,t)}else Object.assign(r6,{[e]:t})}var r8=n(88998);/*! +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6980,9618,6818,6231,8424,5265,2640,3913],{15381:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 490.3c3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-28.3-9.3-55.5-26.1-77.7 3.6-12 5.4-24.4 5.4-37 0-51.6-30.7-98.1-78.3-118.4a66.1 66.1 0 00-26.5-5.4H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h129.3l85.8 310.8C372.9 889 418.9 924 470.9 924c29.7 0 57.4-11.8 77.9-33.4 20.5-21.5 31-49.7 29.5-79.4l-6-122.9h239.9c12.1 0 23.9-3.2 34.3-9.3 40.4-23.5 65.5-66.1 65.5-111 0-28.3-9.3-55.5-26.1-77.7zM184 456V172h81v284h-81zm627.2 160.4H496.8l9.6 198.4c.6 11.9-4.7 23.1-14.6 30.5-6.1 4.5-13.6 6.8-21.1 6.7a44.28 44.28 0 01-42.2-32.3L329 459.2V172h415.4a56.85 56.85 0 0133.6 51.8c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-13.9 25.4 21.9 19a56.76 56.76 0 0119.6 43c0 9.7-2.3 18.9-6.9 27.3l-14 25.5 21.9 19a56.76 56.76 0 0119.6 43c0 19.1-11 37.5-28.8 48.4z"}}]},name:"dislike",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},65429:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.9 533.7c16.8-22.2 26.1-49.4 26.1-77.7 0-44.9-25.1-87.4-65.5-111.1a67.67 67.67 0 00-34.3-9.3H572.4l6-122.9c1.4-29.7-9.1-57.9-29.5-79.4A106.62 106.62 0 00471 99.9c-52 0-98 35-111.8 85.1l-85.9 311H144c-17.7 0-32 14.3-32 32v364c0 17.7 14.3 32 32 32h601.3c9.2 0 18.2-1.8 26.5-5.4 47.6-20.3 78.3-66.8 78.3-118.4 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7 0-12.6-1.8-25-5.4-37 16.8-22.2 26.1-49.4 26.1-77.7-.2-12.6-2-25.1-5.6-37.1zM184 852V568h81v284h-81zm636.4-353l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 16.5-7.2 32.2-19.6 43l-21.9 19 13.9 25.4a56.2 56.2 0 016.9 27.3c0 22.4-13.2 42.6-33.6 51.8H329V564.8l99.5-360.5a44.1 44.1 0 0142.2-32.3c7.6 0 15.1 2.2 21.1 6.7 9.9 7.4 15.2 18.6 14.6 30.5l-9.6 198.4h314.4C829 418.5 840 436.9 840 456c0 16.5-7.2 32.1-19.6 43z"}}]},name:"like",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},27496:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M931.4 498.9L94.9 79.5c-3.4-1.7-7.3-2.1-11-1.2a15.99 15.99 0 00-11.7 19.3l86.2 352.2c1.3 5.3 5.2 9.6 10.4 11.3l147.7 50.7-147.6 50.7c-5.2 1.8-9.1 6-10.3 11.3L72.2 926.5c-.9 3.7-.5 7.6 1.2 10.9 3.9 7.9 13.5 11.1 21.5 7.2l836.5-417c3.1-1.5 5.6-4.1 7.2-7.1 3.9-8 .7-17.6-7.2-21.6zM170.8 826.3l50.3-205.6 295.2-101.3c2.3-.8 4.2-2.6 5-5 1.4-4.2-.8-8.7-5-10.2L221.1 403 171 198.2l628 314.9-628.2 313.2z"}}]},name:"send",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},94668:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),a=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},o=n(13401),s=a.forwardRef(function(e,t){return a.createElement(o.Z,(0,r.Z)({},e,{ref:t,icon:i}))})},34971:function(e,t){"use strict";t.Z=function(e,t,n){return en?n:e}},24960:function(e,t,n){"use strict";var r=n(44002);t.Z=function(e){return Array.isArray?Array.isArray(e):(0,r.Z)(e,"Array")}},52176:function(e,t,n){"use strict";var r=n(44002);t.Z=function(e){return(0,r.Z)(e,"Boolean")}},55265:function(e,t){"use strict";t.Z=function(e){return"function"==typeof e}},82993:function(e,t){"use strict";t.Z=function(e){return null==e}},23198:function(e,t,n){"use strict";function r(e,t,n){return void 0===n&&(n=1e-5),Math.abs(e-t)1&&(E*=C=Math.sqrt(C),v*=C);var w=E*E,I=v*v,R=(o===l?-1:1)*Math.sqrt(Math.abs((w*I-w*x*x-I*k*k)/(w*x*x+I*k*k)));m=R*E*x/v+(b+T)/2,g=-(R*v)*k/E+(y+S)/2,f=Math.asin(((y-g)/v*1e9>>0)/1e9),h=Math.asin(((S-g)/v*1e9>>0)/1e9),f=bh&&(f-=2*Math.PI),!l&&h>f&&(h-=2*Math.PI)}var N=h-f;if(Math.abs(N)>A){var L=h,D=T,P=S;_=e(T=m+E*Math.cos(h=f+A*(l&&h>f?1:-1)),S=g+v*Math.sin(h),E,v,i,0,l,D,P,[h,L,m,g])}N=h-f;var M=Math.cos(f),F=Math.cos(h),B=Math.tan(N/4),j=4/3*E*B,U=4/3*v*B,G=[b,y],H=[b+j*Math.sin(f),y-U*M],$=[T+j*Math.sin(h),S-U*F],z=[T,S];if(H[0]=2*G[0]-H[0],H[1]=2*G[1]-H[1],d)return H.concat($,z,_);_=H.concat($,z,_);for(var Z=[],W=0,V=_.length;W7){e[n].shift();for(var r=e[n],a=n;r.length;)t[n]="A",e.splice(a+=1,0,["C"].concat(r.splice(0,6)));e.splice(n,1)}}(d,f,b),m=d.length,"Z"===h&&g.push(b),l=(n=d[b]).length,p.x1=+n[l-2],p.y1=+n[l-1],p.x2=+n[l-4]||p.x1,p.y2=+n[l-3]||p.y1}return t?[d,g]:d}},19586:function(e,t,n){"use strict";n.d(t,{R:function(){return r}});var r={a:7,c:6,h:1,l:2,m:2,r:4,q:4,s:4,t:2,v:1,z:0}},33554:function(e,t,n){"use strict";n.d(t,{z:function(){return r}});var r={x1:0,y1:0,x2:0,y2:0,x:0,y:0,qx:null,qy:null}},54947:function(e,t,n){"use strict";function r(e){return e.map(function(e){return Array.isArray(e)?[].concat(e):e})}n.d(t,{U:function(){return r}})},94918:function(e,t,n){"use strict";n.d(t,{A:function(){return f}});var r=n(97582),a=n(65336),i=n(33554),o=n(60310),s=n(97153),l=n(19586);function c(e){for(var t=e.pathValue[e.segmentStart],n=t.toLowerCase(),r=e.data;r.length>=l.R[n]&&("m"===n&&r.length>2?(e.segments.push([t].concat(r.splice(0,2))),n="l",t="m"===t?"l":"L"):e.segments.push([t].concat(r.splice(0,l.R[n]))),l.R[n]););}function u(e){return e>=48&&e<=57}function d(e){for(var t,n=e.pathValue,r=e.max;e.index=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].includes(t));)e.index+=1}var p=function(e){this.pathValue=e,this.segments=[],this.max=e.length,this.index=0,this.param=0,this.segmentStart=0,this.data=[],this.err=""};function f(e){if((0,a.y)(e))return[].concat(e);for(var t=function(e){if((0,o.b)(e))return[].concat(e);var t=function(e){if((0,s.n)(e))return[].concat(e);var t=new p(e);for(d(t);t.index0;s-=1){if((32|a)==97&&(3===s||4===s)?function(e){var t=e.index,n=e.pathValue,r=n.charCodeAt(t);if(48===r){e.param=0,e.index+=1;return}if(49===r){e.param=1,e.index+=1;return}e.err='[path-util]: invalid Arc flag "'+n[t]+'", expecting 0 or 1 at index '+t}(e):function(e){var t,n=e.max,r=e.pathValue,a=e.index,i=a,o=!1,s=!1,l=!1,c=!1;if(i>=n){e.err="[path-util]: Invalid path value at index "+i+', "pathValue" is missing param';return}if((43===(t=r.charCodeAt(i))||45===t)&&(i+=1,t=r.charCodeAt(i)),!u(t)&&46!==t){e.err="[path-util]: Invalid path value at index "+i+', "'+r[i]+'" is not a number';return}if(46!==t){if(o=48===t,i+=1,t=r.charCodeAt(i),o&&i=e.max||!((o=n.charCodeAt(e.index))>=48&&o<=57||43===o||45===o||46===o))break}c(e)}(t);return t.err?t.err:t.segments}(e),n=0,r=0,a=0,i=0;return t.map(function(e){var t,o=e.slice(1).map(Number),s=e[0],l=s.toUpperCase();if("M"===s)return n=o[0],r=o[1],a=n,i=r,["M",n,r];if(s!==l)switch(l){case"A":t=[l,o[0],o[1],o[2],o[3],o[4],o[5]+n,o[6]+r];break;case"V":t=[l,o[0]+r];break;case"H":t=[l,o[0]+n];break;default:t=[l].concat(o.map(function(e,t){return e+(t%2?r:n)}))}else t=[l].concat(o);var c=t.length;switch(l){case"Z":n=a,r=i;break;case"H":n=t[1];break;case"V":r=t[1];break;default:n=t[c-2],r=t[c-1],"M"===l&&(a=n,i=r)}return t})}(e),n=(0,r.pi)({},i.z),f=0;f=h[t],m[t]-=g?1:0,g?e.ss:[e.s]}).flat()});return b[0].length===b[1].length?b:e(b[0],b[1],f)}}});var r=n(50944),a=n(51777);function i(e){return e.map(function(e,t,n){var i,o,s,l,c,u,d,p,f,h,m,g,b=t&&n[t-1].slice(-2).concat(e.slice(1)),y=t?(0,a.S)(b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7],b[8],{bbox:!1}).length:0;return g=t?y?(void 0===i&&(i=.5),o=b.slice(0,2),s=b.slice(2,4),l=b.slice(4,6),c=b.slice(6,8),u=(0,r.k)(o,s,i),d=(0,r.k)(s,l,i),p=(0,r.k)(l,c,i),f=(0,r.k)(u,d,i),h=(0,r.k)(d,p,i),m=(0,r.k)(f,h,i),[["C"].concat(u,f,m),["C"].concat(h,p,c)]):[e,e]:[e],{s:e,ss:g,l:y}})}},46516:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var r=n(27872);function a(e){var t,n,a;return t=0,n=0,a=0,(0,r.Y)(e).map(function(e){if("M"===e[0])return t=e[1],n=e[2],0;var r,i,o,s=e.slice(1),l=s[0],c=s[1],u=s[2],d=s[3],p=s[4],f=s[5];return i=t,a=3*((f-(o=n))*(l+u)-(p-i)*(c+d)+c*(i-u)-l*(o-d)+f*(u+i/3)-p*(d+o/3))/20,t=(r=e.slice(-2))[0],n=r[1],a}).reduce(function(e,t){return e+t},0)>=0}},90046:function(e,t,n){"use strict";n.d(t,{r:function(){return i}});var r=n(97582),a=n(10992);function i(e,t,n){return(0,a.s)(e,t,(0,r.pi)((0,r.pi)({},n),{bbox:!1,length:!0})).point}},91952:function(e,t,n){"use strict";n.d(t,{g:function(){return a}});var r=n(58076);function a(e,t){var n,a,i=e.length-1,o=[],s=0,l=(a=(n=e.length)-1,e.map(function(t,r){return e.map(function(t,i){var o=r+i;return 0===i||e[o]&&"M"===e[o][0]?["M"].concat(e[o].slice(-2)):(o>=n&&(o-=a),e[o])})}));return l.forEach(function(n,a){e.slice(1).forEach(function(n,o){s+=(0,r.y)(e[(a+o)%i].slice(-2),t[o%i].slice(-2))}),o[a]=s,s=0}),l[o.indexOf(Math.min.apply(null,o))]}},62436:function(e,t,n){"use strict";n.d(t,{D:function(){return i}});var r=n(97582),a=n(10992);function i(e,t){return(0,a.s)(e,void 0,(0,r.pi)((0,r.pi)({},t),{bbox:!1,length:!0})).length}},60310:function(e,t,n){"use strict";n.d(t,{b:function(){return a}});var r=n(97153);function a(e){return(0,r.n)(e)&&e.every(function(e){var t=e[0];return t===t.toUpperCase()})}},65336:function(e,t,n){"use strict";n.d(t,{y:function(){return a}});var r=n(60310);function a(e){return(0,r.b)(e)&&e.every(function(e){var t=e[0];return"ACLMQZ".includes(t)})}},97153:function(e,t,n){"use strict";n.d(t,{n:function(){return a}});var r=n(19586);function a(e){return Array.isArray(e)&&e.every(function(e){var t=e[0].toLowerCase();return r.R[t]===e.length-1&&"achlmqstvz".includes(t)})}},50944:function(e,t,n){"use strict";function r(e,t,n){var r=e[0],a=e[1];return[r+(t[0]-r)*n,a+(t[1]-a)*n]}n.d(t,{k:function(){return r}})},10992:function(e,t,n){"use strict";n.d(t,{s:function(){return c}});var r=n(94918),a=n(50944),i=n(58076);function o(e,t,n,r,o){var s=(0,i.y)([e,t],[n,r]),l={x:0,y:0};if("number"==typeof o){if(o<=0)l={x:e,y:t};else if(o>=s)l={x:n,y:r};else{var c=(0,a.k)([e,t],[n,r],o/s);l={x:c[0],y:c[1]}}}return{length:s,point:l,min:{x:Math.min(e,n),y:Math.min(t,r)},max:{x:Math.max(e,n),y:Math.max(t,r)}}}function s(e,t){var n=e.x,r=e.y,a=t.x,i=t.y,o=Math.sqrt((Math.pow(n,2)+Math.pow(r,2))*(Math.pow(a,2)+Math.pow(i,2)));return(n*i-r*a<0?-1:1)*Math.acos((n*a+r*i)/o)}var l=n(51777);function c(e,t,n){for(var a,c,u,d,p,f,h,m,g,b=(0,r.A)(e),y="number"==typeof t,E=[],v=0,T=0,S=0,A=0,O=[],_=[],k=0,x={x:0,y:0},C=x,w=x,I=x,R=0,N=0,L=b.length;N1&&(b*=m(A),y*=m(A));var O=(Math.pow(b,2)*Math.pow(y,2)-Math.pow(b,2)*Math.pow(S.y,2)-Math.pow(y,2)*Math.pow(S.x,2))/(Math.pow(b,2)*Math.pow(S.y,2)+Math.pow(y,2)*Math.pow(S.x,2)),_=(i!==l?1:-1)*m(O=O<0?0:O),k={x:_*(b*S.y/y),y:_*(-(y*S.x)/b)},x={x:h(E)*k.x-f(E)*k.y+(e+c)/2,y:f(E)*k.x+h(E)*k.y+(t+u)/2},C={x:(S.x-k.x)/b,y:(S.y-k.y)/y},w=s({x:1,y:0},C),I=s(C,{x:(-S.x-k.x)/b,y:(-S.y-k.y)/y});!l&&I>0?I-=2*g:l&&I<0&&(I+=2*g);var R=w+(I%=2*g)*d,N=b*h(R),L=y*f(R);return{x:h(E)*N-f(E)*L+x.x,y:f(E)*N+h(E)*L+x.y}}(e,t,n,r,a,l,c,u,d,w/v)).x,A=h.y,g&&C.push({x:S,y:A}),y&&(O+=(0,i.y)(k,[S,A])),k=[S,A],T&&O>=p&&p>_[2]){var I=(O-p)/(O-_[2]);x={x:k[0]*(1-I)+_[0]*I,y:k[1]*(1-I)+_[1]*I}}_=[S,A,O]}return T&&p>=O&&(x={x:u,y:d}),{length:O,point:x,min:{x:Math.min.apply(null,C.map(function(e){return e.x})),y:Math.min.apply(null,C.map(function(e){return e.y}))},max:{x:Math.max.apply(null,C.map(function(e){return e.x})),y:Math.max.apply(null,C.map(function(e){return e.y}))}}}(E[0],E[1],E[2],E[3],E[4],E[5],E[6],E[7],E[8],(t||0)-R,n||{})).length,x=c.min,C=c.max,w=c.point):"C"===m?(k=(u=(0,l.S)(E[0],E[1],E[2],E[3],E[4],E[5],E[6],E[7],(t||0)-R,n||{})).length,x=u.min,C=u.max,w=u.point):"Q"===m?(k=(d=function(e,t,n,r,a,o,s,l){var c,u=l.bbox,d=void 0===u||u,p=l.length,f=void 0===p||p,h=l.sampleSize,m=void 0===h?10:h,g="number"==typeof s,b=e,y=t,E=0,v=[b,y,0],T=[b,y],S={x:0,y:0},A=[{x:b,y:y}];g&&s<=0&&(S={x:b,y:y});for(var O=0;O<=m;O+=1){if(b=(c=function(e,t,n,r,a,i,o){var s=1-o;return{x:Math.pow(s,2)*e+2*s*o*n+Math.pow(o,2)*a,y:Math.pow(s,2)*t+2*s*o*r+Math.pow(o,2)*i}}(e,t,n,r,a,o,O/m)).x,y=c.y,d&&A.push({x:b,y:y}),f&&(E+=(0,i.y)(T,[b,y])),T=[b,y],g&&E>=s&&s>v[2]){var _=(E-s)/(E-v[2]);S={x:T[0]*(1-_)+v[0]*_,y:T[1]*(1-_)+v[1]*_}}v=[b,y,E]}return g&&s>=E&&(S={x:a,y:o}),{length:E,point:S,min:{x:Math.min.apply(null,A.map(function(e){return e.x})),y:Math.min.apply(null,A.map(function(e){return e.y}))},max:{x:Math.max.apply(null,A.map(function(e){return e.x})),y:Math.max.apply(null,A.map(function(e){return e.y}))}}}(E[0],E[1],E[2],E[3],E[4],E[5],(t||0)-R,n||{})).length,x=d.min,C=d.max,w=d.point):"Z"===m&&(k=(p=o((E=[v,T,S,A])[0],E[1],E[2],E[3],(t||0)-R)).length,x=p.min,C=p.max,w=p.point),y&&R=t&&(I=w),_.push(C),O.push(x),R+=k,v=(f="Z"!==m?g.slice(-2):[S,A])[0],T=f[1];return y&&t>=R&&(I={x:v,y:T}),{length:R,point:I,min:{x:Math.min.apply(null,O.map(function(e){return e.x})),y:Math.min.apply(null,O.map(function(e){return e.y}))},max:{x:Math.max.apply(null,_.map(function(e){return e.x})),y:Math.max.apply(null,_.map(function(e){return e.y}))}}}},51777:function(e,t,n){"use strict";n.d(t,{S:function(){return a}});var r=n(58076);function a(e,t,n,a,i,o,s,l,c,u){var d,p=u.bbox,f=void 0===p||p,h=u.length,m=void 0===h||h,g=u.sampleSize,b=void 0===g?10:g,y="number"==typeof c,E=e,v=t,T=0,S=[E,v,0],A=[E,v],O={x:0,y:0},_=[{x:E,y:v}];y&&c<=0&&(O={x:E,y:v});for(var k=0;k<=b;k+=1){if(E=(d=function(e,t,n,r,a,i,o,s,l){var c=1-l;return{x:Math.pow(c,3)*e+3*Math.pow(c,2)*l*n+3*c*Math.pow(l,2)*a+Math.pow(l,3)*o,y:Math.pow(c,3)*t+3*Math.pow(c,2)*l*r+3*c*Math.pow(l,2)*i+Math.pow(l,3)*s}}(e,t,n,a,i,o,s,l,k/b)).x,v=d.y,f&&_.push({x:E,y:v}),m&&(T+=(0,r.y)(A,[E,v])),A=[E,v],y&&T>=c&&c>S[2]){var x=(T-c)/(T-S[2]);O={x:A[0]*(1-x)+S[0]*x,y:A[1]*(1-x)+S[1]*x}}S=[E,v,T]}return y&&c>=T&&(O={x:s,y:l}),{length:T,point:O,min:{x:Math.min.apply(null,_.map(function(e){return e.x})),y:Math.min.apply(null,_.map(function(e){return e.y}))},max:{x:Math.max.apply(null,_.map(function(e){return e.x})),y:Math.max.apply(null,_.map(function(e){return e.y}))}}}},4503:function(e){"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function i(e,t,r,i,o){if("function"!=typeof r)throw TypeError("The listener must be a function");var s=new a(r,i||e,o),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function o(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,a=[];if(0===this._eventsCount)return a;for(r in e=this._events)t.call(e,r)&&a.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?a.concat(Object.getOwnPropertySymbols(e)):a},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var a=0,i=r.length,o=Array(i);at.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let o="text/event-stream",s="last-event-id";function l(e,t){var{signal:n,headers:l,onopen:u,onmessage:d,onclose:p,onerror:f,openWhenHidden:h,fetch:m}=t,g=i(t,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((t,i)=>{let b;let y=Object.assign({},l);function E(){b.abort(),document.hidden||_()}y.accept||(y.accept=o),h||document.addEventListener("visibilitychange",E);let v=1e3,T=0;function S(){document.removeEventListener("visibilitychange",E),window.clearTimeout(T),b.abort()}null==n||n.addEventListener("abort",()=>{S(),t()});let A=null!=m?m:window.fetch,O=null!=u?u:c;async function _(){var n,o;b=new AbortController;try{let n,i,l,c;let u=await A(e,Object.assign(Object.assign({},g),{headers:y,signal:b.signal}));await O(u),await r(u.body,(o=function(e,t,n){let r=a(),i=new TextDecoder;return function(o,s){if(0===o.length)null==n||n(r),r=a();else if(s>0){let n=i.decode(o.subarray(0,s)),a=s+(32===o[s+1]?2:1),l=i.decode(o.subarray(a));switch(n){case"data":r.data=r.data?r.data+"\n"+l:l;break;case"event":r.event=l;break;case"id":e(r.id=l);break;case"retry":let c=parseInt(l,10);isNaN(c)||t(r.retry=c)}}}}(e=>{e?y[s]=e:delete y[s]},e=>{v=e},d),c=!1,function(e){void 0===n?(n=e,i=0,l=-1):n=function(e,t){let n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}(n,e);let t=n.length,r=0;for(;i=n?k.text.primary:_.text.primary;return t}let w=({color:e,name:t,mainShade:n=500,lightShade:i=300,darkShade:o=700})=>{if(!(e=(0,r.Z)({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw Error((0,u.Z)(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw Error((0,u.Z)(12,t?` (${t})`:"",JSON.stringify(e.main)));return x(e,"light",i,a),x(e,"dark",o,a),e.contrastText||(e.contrastText=C(e.main)),e},I=(0,d.Z)((0,r.Z)({common:(0,r.Z)({},g),mode:t,primary:w({color:s,name:"primary"}),secondary:w({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:w({color:c,name:"error"}),warning:w({color:h,name:"warning"}),info:w({color:p,name:"info"}),success:w({color:f,name:"success"}),grey:b,contrastThreshold:n,getContrastText:C,augmentColor:w,tonalOffset:a},{dark:k,light:_}[t]),o);return I}(a),R=(0,h.Z)(e),U=(0,d.Z)(R,{mixins:(t=R.breakpoints,(0,r.Z)({toolbar:{minHeight:56,[t.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[t.up("sm")]:{minHeight:64}}},n)),palette:c,shadows:N.slice(),typography:function(e,t){let n="function"==typeof t?t(e):t,{fontFamily:a=I,fontSize:o=14,fontWeightLight:s=300,fontWeightRegular:l=400,fontWeightMedium:c=500,fontWeightBold:u=700,htmlFontSize:p=16,allVariants:f,pxToRem:h}=n,m=(0,i.Z)(n,C),g=o/14,b=h||(e=>`${e/p*g}rem`),y=(e,t,n,i,o)=>(0,r.Z)({fontFamily:a,fontWeight:e,fontSize:b(t),lineHeight:n},a===I?{letterSpacing:`${Math.round(1e5*(i/t))/1e5}em`}:{},o,f),E={h1:y(s,96,1.167,-1.5),h2:y(s,60,1.2,-.5),h3:y(l,48,1.167,0),h4:y(l,34,1.235,.25),h5:y(l,24,1.334,0),h6:y(c,20,1.6,.15),subtitle1:y(l,16,1.75,.15),subtitle2:y(c,14,1.57,.1),body1:y(l,16,1.5,.15),body2:y(l,14,1.43,.15),button:y(c,14,1.75,.4,w),caption:y(l,12,1.66,.4),overline:y(l,12,2.66,1,w),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,d.Z)((0,r.Z)({htmlFontSize:p,pxToRem:b,fontFamily:a,fontSize:o,fontWeightLight:s,fontWeightRegular:l,fontWeightMedium:c,fontWeightBold:u},E),m,{clone:!1})}(c,s),transitions:function(e){let t=(0,r.Z)({},D,e.easing),n=(0,r.Z)({},P,e.duration);return(0,r.Z)({getAutoHeightDuration:F,create:(e=["all"],r={})=>{let{duration:a=n.standard,easing:o=t.easeInOut,delay:s=0}=r;return(0,i.Z)(r,L),(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof a?a:M(a)} ${o} ${"string"==typeof s?s:M(s)}`).join(",")}},e,{easing:t,duration:n})}(o),zIndex:(0,r.Z)({},B)});return(U=[].reduce((e,t)=>(0,d.Z)(e,t),U=(0,d.Z)(U,l))).unstable_sxConfig=(0,r.Z)({},p.Z,null==l?void 0:l.unstable_sxConfig),U.unstable_sx=function(e){return(0,f.Z)({sx:e,theme:this})},U}();var G="$$material",H=n(58128);let $=(0,H.ZP)({themeId:G,defaultTheme:U,rootShouldForwardProp:e=>"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e&&"classes"!==e});var z=n(1977),Z=n(8027);function W(e){return(0,Z.ZP)("MuiSvgIcon",e)}(0,z.Z)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);var V=n(85893);let Y=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],q=e=>{let{color:t,fontSize:n,classes:r}=e,a={root:["root","inherit"!==t&&`color${l(t)}`,`fontSize${l(n)}`]};return(0,s.Z)(a,W,r)},K=$("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${l(n.color)}`],t[`fontSize${l(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,a,i,o,s,l,c,u,d,p,f,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(a=e.transitions)||null==(a=a.duration)?void 0:a.shorter}),fontSize:({inherit:"inherit",small:(null==(i=e.typography)||null==(o=i.pxToRem)?void 0:o.call(i,20))||"1.25rem",medium:(null==(s=e.typography)||null==(l=s.pxToRem)?void 0:l.call(s,24))||"1.5rem",large:(null==(c=e.typography)||null==(u=c.pxToRem)?void 0:u.call(c,35))||"2.1875rem"})[t.fontSize],color:null!=(d=null==(p=(e.vars||e).palette)||null==(p=p[t.color])?void 0:p.main)?d:({action:null==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.active,disabled:null==(h=(e.vars||e).palette)||null==(h=h.action)?void 0:h.disabled,inherit:void 0})[t.color]}}),X=a.forwardRef(function(e,t){let n=function({props:e,name:t}){return(0,c.Z)({props:e,name:t,defaultTheme:U,themeId:G})}({props:e,name:"MuiSvgIcon"}),{children:s,className:l,color:u="inherit",component:d="svg",fontSize:p="medium",htmlColor:f,inheritViewBox:h=!1,titleAccess:m,viewBox:g="0 0 24 24"}=n,b=(0,i.Z)(n,Y),y=a.isValidElement(s)&&"svg"===s.type,E=(0,r.Z)({},n,{color:u,component:d,fontSize:p,instanceFontSize:e.fontSize,inheritViewBox:h,viewBox:g,hasSvgAsChild:y}),v={};h||(v.viewBox=g);let T=q(E);return(0,V.jsxs)(K,(0,r.Z)({as:d,className:(0,o.Z)(T.root,l),focusable:"false",color:f,"aria-hidden":!m||void 0,role:m?"img":void 0,ref:t},v,b,y&&s.props,{ownerState:E,children:[y?s.props.children:s,m?(0,V.jsx)("title",{children:m}):null]}))});function Q(e,t){function n(n,a){return(0,V.jsx)(X,(0,r.Z)({"data-testid":`${t}Icon`,ref:a},n,{children:e}))}return n.muiName=X.muiName,a.memo(a.forwardRef(n))}X.muiName="SvgIcon"},2101:function(e,t,n){"use strict";var r=n(64836);t._j=function(e,t){if(e=s(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return l(e)},t.mi=function(e,t){let n=c(e),r=c(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)},t.$n=function(e,t){if(e=s(e),t=o(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return l(e)};var a=r(n(743)),i=r(n(49425));function o(e,t=0,n=1){return(0,i.default)(e,t,n)}function s(e){let t;if(e.type)return e;if("#"===e.charAt(0))return s(function(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map(e=>e+e)),n?`rgb${4===n.length?"a":""}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));let n=e.indexOf("("),r=e.substring(0,n);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw Error((0,a.default)(9,e));let i=e.substring(n+1,e.length-1);if("color"===r){if(t=(i=i.split(" ")).shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(t))throw Error((0,a.default)(10,t))}else i=i.split(",");return{type:r,values:i=i.map(e=>parseFloat(e)),colorSpace:t}}function l(e){let{type:t,colorSpace:n}=e,{values:r}=e;return -1!==t.indexOf("rgb")?r=r.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),`${t}(${r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`})`}function c(e){let t="hsl"===(e=s(e)).type||"hsla"===e.type?s(function(e){e=s(e);let{values:t}=e,n=t[0],r=t[1]/100,a=t[2]/100,i=r*Math.min(a,1-a),o=(e,t=(e+n/30)%12)=>a-i*Math.max(Math.min(t-3,9-t,1),-1),c="rgb",u=[Math.round(255*o(0)),Math.round(255*o(8)),Math.round(255*o(4))];return"hsla"===e.type&&(c+="a",u.push(t[3])),l({type:c,values:u})}(e)).values:e.values;return Number((.2126*(t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)))[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}},58128:function(e,t,n){"use strict";var r=n(64836);t.ZP=function(e={}){let{themeId:t,defaultTheme:n=m,rootShouldForwardProp:r=h,slotShouldForwardProp:l=h}=e,u=e=>(0,c.default)((0,a.default)({},e,{theme:b((0,a.default)({},e,{defaultTheme:n,themeId:t}))}));return u.__mui_systemSx=!0,(e,c={})=>{var d;let f;(0,o.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));let{name:m,slot:E,skipVariantsResolver:v,skipSx:T,overridesResolver:S=(d=g(E))?(e,t)=>t[d]:null}=c,A=(0,i.default)(c,p),O=void 0!==v?v:E&&"Root"!==E&&"root"!==E||!1,_=T||!1,k=h;"Root"===E||"root"===E?k=r:E?k=l:"string"==typeof e&&e.charCodeAt(0)>96&&(k=void 0);let x=(0,o.default)(e,(0,a.default)({shouldForwardProp:k,label:f},A)),C=e=>"function"==typeof e&&e.__emotion_real!==e||(0,s.isPlainObject)(e)?r=>y(e,(0,a.default)({},r,{theme:b({theme:r.theme,defaultTheme:n,themeId:t})})):e,w=(r,...i)=>{let o=C(r),s=i?i.map(C):[];m&&S&&s.push(e=>{let r=b((0,a.default)({},e,{defaultTheme:n,themeId:t}));if(!r.components||!r.components[m]||!r.components[m].styleOverrides)return null;let i=r.components[m].styleOverrides,o={};return Object.entries(i).forEach(([t,n])=>{o[t]=y(n,(0,a.default)({},e,{theme:r}))}),S(e,o)}),m&&!O&&s.push(e=>{var r;let i=b((0,a.default)({},e,{defaultTheme:n,themeId:t})),o=null==i||null==(r=i.components)||null==(r=r[m])?void 0:r.variants;return y({variants:o},(0,a.default)({},e,{theme:i}))}),_||s.push(u);let l=s.length-i.length;if(Array.isArray(r)&&l>0){let e=Array(l).fill("");(o=[...r,...e]).raw=[...r.raw,...e]}let c=x(o,...s);return e.muiName&&(c.muiName=e.muiName),c};return x.withConfig&&(w.withConfig=x.withConfig),w}};var a=r(n(10434)),i=r(n(7071)),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=f(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var o=a?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(n(23534)),s=n(211);r(n(99698)),r(n(37889));var l=r(n(19926)),c=r(n(386));let u=["ownerState"],d=["variants"],p=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function f(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(f=function(e){return e?n:t})(e)}function h(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}let m=(0,l.default)(),g=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function b({defaultTheme:e,theme:t,themeId:n}){return 0===Object.keys(t).length?e:t[n]||t}function y(e,t){let{ownerState:n}=t,r=(0,i.default)(t,u),o="function"==typeof e?e((0,a.default)({ownerState:n},r)):e;if(Array.isArray(o))return o.flatMap(e=>y(e,(0,a.default)({ownerState:n},r)));if(o&&"object"==typeof o&&Array.isArray(o.variants)){let{variants:e=[]}=o,t=(0,i.default)(o,d),s=t;return e.forEach(e=>{let t=!0;"function"==typeof e.props?t=e.props((0,a.default)({ownerState:n},r,n)):Object.keys(e.props).forEach(a=>{(null==n?void 0:n[a])!==e.props[a]&&r[a]!==e.props[a]&&(t=!1)}),t&&(Array.isArray(s)||(s=[s]),s.push("function"==typeof e.style?e.style((0,a.default)({ownerState:n},r,n)):e.style))}),s}return o}},19926:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},private_createBreakpoints:function(){return a.Z},unstable_applyStyles:function(){return i.Z}});var r=n(88647),a=n(41512),i=n(57064)},386:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},extendSxProp:function(){return a.Z},unstable_createStyleFunctionSx:function(){return r.n},unstable_defaultSxConfig:function(){return i.Z}});var r=n(86523),a=n(39707),i=n(44920)},99698:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(62908)},49425:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r}});var r=function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}},211:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z},isPlainObject:function(){return r.P}});var r=n(68027)},743:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return r.Z}});var r=n(78758)},37889:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return l},getFunctionName:function(){return i}});var r=n(59864);let a=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function i(e){let t=`${e}`.match(a),n=t&&t[1];return n||""}function o(e,t=""){return e.displayName||e.name||i(e)||t}function s(e,t,n){let r=o(t);return e.displayName||(""!==r?`${n}(${r})`:n)}function l(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return o(e,"Component");if("object"==typeof e)switch(e.$$typeof){case r.ForwardRef:return s(e,e.render,"ForwardRef");case r.Memo:return s(e,e.type,"memo")}}}},2093:function(e,t,n){"use strict";var r=n(97582),a=n(67294),i=n(92770);t.Z=function(e,t){(0,a.useEffect)(function(){var t=e(),n=!1;return!function(){(0,r.mG)(this,void 0,void 0,function(){return(0,r.Jh)(this,function(e){switch(e.label){case 0:if(!(0,i.mf)(t[Symbol.asyncIterator]))return[3,4];e.label=1;case 1:return[4,t.next()];case 2:if(e.sent().done||n)return[3,3];return[3,1];case 3:return[3,6];case 4:return[4,t];case 5:e.sent(),e.label=6;case 6:return[2]}})})}(),function(){n=!0}},t)}},85265:function(e,t,n){"use strict";n.d(t,{Z:function(){return q}});var r=n(67294),a=n(93967),i=n.n(a),o=n(1413),s=n(97685),l=n(2788),c=n(8410),u=r.createContext(null),d=r.createContext({}),p=n(4942),f=n(87462),h=n(29372),m=n(15105),g=n(64217),b=n(45987),y=n(42550),E=["prefixCls","className","containerRef"],v=function(e){var t=e.prefixCls,n=e.className,a=e.containerRef,o=(0,b.Z)(e,E),s=r.useContext(d).panel,l=(0,y.x1)(s,a);return r.createElement("div",(0,f.Z)({className:i()("".concat(t,"-content"),n),role:"dialog",ref:l},(0,g.Z)(e,{aria:!0}),{"aria-modal":"true"},o))},T=n(80334);function S(e){return"string"==typeof e&&String(Number(e))===e?((0,T.ZP)(!1,"Invalid value type of `width` or `height` which should be number type instead."),Number(e)):e}var A={width:0,height:0,overflow:"hidden",outline:"none",position:"absolute"},O=r.forwardRef(function(e,t){var n,a,l,c=e.prefixCls,d=e.open,b=e.placement,y=e.inline,E=e.push,T=e.forceRender,O=e.autoFocus,_=e.keyboard,k=e.classNames,x=e.rootClassName,C=e.rootStyle,w=e.zIndex,I=e.className,R=e.id,N=e.style,L=e.motion,D=e.width,P=e.height,M=e.children,F=e.mask,B=e.maskClosable,j=e.maskMotion,U=e.maskClassName,G=e.maskStyle,H=e.afterOpenChange,$=e.onClose,z=e.onMouseEnter,Z=e.onMouseOver,W=e.onMouseLeave,V=e.onClick,Y=e.onKeyDown,q=e.onKeyUp,K=e.styles,X=e.drawerRender,Q=r.useRef(),J=r.useRef(),ee=r.useRef();r.useImperativeHandle(t,function(){return Q.current}),r.useEffect(function(){if(d&&O){var e;null===(e=Q.current)||void 0===e||e.focus({preventScroll:!0})}},[d]);var et=r.useState(!1),en=(0,s.Z)(et,2),er=en[0],ea=en[1],ei=r.useContext(u),eo=null!==(n=null!==(a=null===(l="boolean"==typeof E?E?{}:{distance:0}:E||{})||void 0===l?void 0:l.distance)&&void 0!==a?a:null==ei?void 0:ei.pushDistance)&&void 0!==n?n:180,es=r.useMemo(function(){return{pushDistance:eo,push:function(){ea(!0)},pull:function(){ea(!1)}}},[eo]);r.useEffect(function(){var e,t;d?null==ei||null===(e=ei.push)||void 0===e||e.call(ei):null==ei||null===(t=ei.pull)||void 0===t||t.call(ei)},[d]),r.useEffect(function(){return function(){var e;null==ei||null===(e=ei.pull)||void 0===e||e.call(ei)}},[]);var el=F&&r.createElement(h.ZP,(0,f.Z)({key:"mask"},j,{visible:d}),function(e,t){var n=e.className,a=e.style;return r.createElement("div",{className:i()("".concat(c,"-mask"),n,null==k?void 0:k.mask,U),style:(0,o.Z)((0,o.Z)((0,o.Z)({},a),G),null==K?void 0:K.mask),onClick:B&&d?$:void 0,ref:t})}),ec="function"==typeof L?L(b):L,eu={};if(er&&eo)switch(b){case"top":eu.transform="translateY(".concat(eo,"px)");break;case"bottom":eu.transform="translateY(".concat(-eo,"px)");break;case"left":eu.transform="translateX(".concat(eo,"px)");break;default:eu.transform="translateX(".concat(-eo,"px)")}"left"===b||"right"===b?eu.width=S(D):eu.height=S(P);var ed={onMouseEnter:z,onMouseOver:Z,onMouseLeave:W,onClick:V,onKeyDown:Y,onKeyUp:q},ep=r.createElement(h.ZP,(0,f.Z)({key:"panel"},ec,{visible:d,forceRender:T,onVisibleChanged:function(e){null==H||H(e)},removeOnLeave:!1,leavedClassName:"".concat(c,"-content-wrapper-hidden")}),function(t,n){var a=t.className,s=t.style,l=r.createElement(v,(0,f.Z)({id:R,containerRef:n,prefixCls:c,className:i()(I,null==k?void 0:k.content),style:(0,o.Z)((0,o.Z)({},N),null==K?void 0:K.content)},(0,g.Z)(e,{aria:!0}),ed),M);return r.createElement("div",(0,f.Z)({className:i()("".concat(c,"-content-wrapper"),null==k?void 0:k.wrapper,a),style:(0,o.Z)((0,o.Z)((0,o.Z)({},eu),s),null==K?void 0:K.wrapper)},(0,g.Z)(e,{data:!0})),X?X(l):l)}),ef=(0,o.Z)({},C);return w&&(ef.zIndex=w),r.createElement(u.Provider,{value:es},r.createElement("div",{className:i()(c,"".concat(c,"-").concat(b),x,(0,p.Z)((0,p.Z)({},"".concat(c,"-open"),d),"".concat(c,"-inline"),y)),style:ef,tabIndex:-1,ref:Q,onKeyDown:function(e){var t,n,r=e.keyCode,a=e.shiftKey;switch(r){case m.Z.TAB:r===m.Z.TAB&&(a||document.activeElement!==ee.current?a&&document.activeElement===J.current&&(null===(n=ee.current)||void 0===n||n.focus({preventScroll:!0})):null===(t=J.current)||void 0===t||t.focus({preventScroll:!0}));break;case m.Z.ESC:$&&_&&(e.stopPropagation(),$(e))}}},el,r.createElement("div",{tabIndex:0,ref:J,style:A,"aria-hidden":"true","data-sentinel":"start"}),ep,r.createElement("div",{tabIndex:0,ref:ee,style:A,"aria-hidden":"true","data-sentinel":"end"})))}),_=function(e){var t=e.open,n=e.prefixCls,a=e.placement,i=e.autoFocus,u=e.keyboard,p=e.width,f=e.mask,h=void 0===f||f,m=e.maskClosable,g=e.getContainer,b=e.forceRender,y=e.afterOpenChange,E=e.destroyOnClose,v=e.onMouseEnter,T=e.onMouseOver,S=e.onMouseLeave,A=e.onClick,_=e.onKeyDown,k=e.onKeyUp,x=e.panelRef,C=r.useState(!1),w=(0,s.Z)(C,2),I=w[0],R=w[1],N=r.useState(!1),L=(0,s.Z)(N,2),D=L[0],P=L[1];(0,c.Z)(function(){P(!0)},[]);var M=!!D&&void 0!==t&&t,F=r.useRef(),B=r.useRef();(0,c.Z)(function(){M&&(B.current=document.activeElement)},[M]);var j=r.useMemo(function(){return{panel:x}},[x]);if(!b&&!I&&!M&&E)return null;var U=(0,o.Z)((0,o.Z)({},e),{},{open:M,prefixCls:void 0===n?"rc-drawer":n,placement:void 0===a?"right":a,autoFocus:void 0===i||i,keyboard:void 0===u||u,width:void 0===p?378:p,mask:h,maskClosable:void 0===m||m,inline:!1===g,afterOpenChange:function(e){var t,n;R(e),null==y||y(e),e||!B.current||null!==(t=F.current)&&void 0!==t&&t.contains(B.current)||null===(n=B.current)||void 0===n||n.focus({preventScroll:!0})},ref:F},{onMouseEnter:v,onMouseOver:T,onMouseLeave:S,onClick:A,onKeyDown:_,onKeyUp:k});return r.createElement(d.Provider,{value:j},r.createElement(l.Z,{open:M||b||I,autoDestroy:!1,getContainer:g,autoLock:h&&(M||I)},r.createElement(O,U)))},k=n(89942),x=n(87263),C=n(33603),w=n(43945),I=n(53124),R=n(16569),N=n(69760),L=n(48054),D=e=>{var t,n;let{prefixCls:a,title:o,footer:s,extra:l,loading:c,onClose:u,headerStyle:d,bodyStyle:p,footerStyle:f,children:h,classNames:m,styles:g}=e,{drawer:b}=r.useContext(I.E_),y=r.useCallback(e=>r.createElement("button",{type:"button",onClick:u,"aria-label":"Close",className:`${a}-close`},e),[u]),[E,v]=(0,N.Z)((0,N.w)(e),(0,N.w)(b),{closable:!0,closeIconRender:y}),T=r.useMemo(()=>{var e,t;return o||E?r.createElement("div",{style:Object.assign(Object.assign(Object.assign({},null===(e=null==b?void 0:b.styles)||void 0===e?void 0:e.header),d),null==g?void 0:g.header),className:i()(`${a}-header`,{[`${a}-header-close-only`]:E&&!o&&!l},null===(t=null==b?void 0:b.classNames)||void 0===t?void 0:t.header,null==m?void 0:m.header)},r.createElement("div",{className:`${a}-header-title`},v,o&&r.createElement("div",{className:`${a}-title`},o)),l&&r.createElement("div",{className:`${a}-extra`},l)):null},[E,v,l,d,a,o]),S=r.useMemo(()=>{var e,t;if(!s)return null;let n=`${a}-footer`;return r.createElement("div",{className:i()(n,null===(e=null==b?void 0:b.classNames)||void 0===e?void 0:e.footer,null==m?void 0:m.footer),style:Object.assign(Object.assign(Object.assign({},null===(t=null==b?void 0:b.styles)||void 0===t?void 0:t.footer),f),null==g?void 0:g.footer)},s)},[s,f,a]);return r.createElement(r.Fragment,null,T,r.createElement("div",{className:i()(`${a}-body`,null==m?void 0:m.body,null===(t=null==b?void 0:b.classNames)||void 0===t?void 0:t.body),style:Object.assign(Object.assign(Object.assign({},null===(n=null==b?void 0:b.styles)||void 0===n?void 0:n.body),p),null==g?void 0:g.body)},c?r.createElement(L.Z,{active:!0,title:!1,paragraph:{rows:5},className:`${a}-body-skeleton`}):h),S)},P=n(25446),M=n(14747),F=n(83559),B=n(83262);let j=e=>{let t="100%";return({left:`translateX(-${t})`,right:`translateX(${t})`,top:`translateY(-${t})`,bottom:`translateY(${t})`})[e]},U=(e,t)=>({"&-enter, &-appear":Object.assign(Object.assign({},e),{"&-active":t}),"&-leave":Object.assign(Object.assign({},t),{"&-active":e})}),G=(e,t)=>Object.assign({"&-enter, &-appear, &-leave":{"&-start":{transition:"none"},"&-active":{transition:`all ${t}`}}},U({opacity:e},{opacity:1})),H=(e,t)=>[G(.7,t),U({transform:j(e)},{transform:"none"})];var $=e=>{let{componentCls:t,motionDurationSlow:n}=e;return{[t]:{[`${t}-mask-motion`]:G(0,n),[`${t}-panel-motion`]:["left","right","top","bottom"].reduce((e,t)=>Object.assign(Object.assign({},e),{[`&-${t}`]:H(t,n)}),{})}}};let z=e=>{let{borderRadiusSM:t,componentCls:n,zIndexPopup:r,colorBgMask:a,colorBgElevated:i,motionDurationSlow:o,motionDurationMid:s,paddingXS:l,padding:c,paddingLG:u,fontSizeLG:d,lineHeightLG:p,lineWidth:f,lineType:h,colorSplit:m,marginXS:g,colorIcon:b,colorIconHover:y,colorBgTextHover:E,colorBgTextActive:v,colorText:T,fontWeightStrong:S,footerPaddingBlock:A,footerPaddingInline:O,calc:_}=e,k=`${n}-content-wrapper`;return{[n]:{position:"fixed",inset:0,zIndex:r,pointerEvents:"none",color:T,"&-pure":{position:"relative",background:i,display:"flex",flexDirection:"column",[`&${n}-left`]:{boxShadow:e.boxShadowDrawerLeft},[`&${n}-right`]:{boxShadow:e.boxShadowDrawerRight},[`&${n}-top`]:{boxShadow:e.boxShadowDrawerUp},[`&${n}-bottom`]:{boxShadow:e.boxShadowDrawerDown}},"&-inline":{position:"absolute"},[`${n}-mask`]:{position:"absolute",inset:0,zIndex:r,background:a,pointerEvents:"auto"},[k]:{position:"absolute",zIndex:r,maxWidth:"100vw",transition:`all ${o}`,"&-hidden":{display:"none"}},[`&-left > ${k}`]:{top:0,bottom:0,left:{_skip_check_:!0,value:0},boxShadow:e.boxShadowDrawerLeft},[`&-right > ${k}`]:{top:0,right:{_skip_check_:!0,value:0},bottom:0,boxShadow:e.boxShadowDrawerRight},[`&-top > ${k}`]:{top:0,insetInline:0,boxShadow:e.boxShadowDrawerUp},[`&-bottom > ${k}`]:{bottom:0,insetInline:0,boxShadow:e.boxShadowDrawerDown},[`${n}-content`]:{display:"flex",flexDirection:"column",width:"100%",height:"100%",overflow:"auto",background:i,pointerEvents:"auto"},[`${n}-header`]:{display:"flex",flex:0,alignItems:"center",padding:`${(0,P.bf)(c)} ${(0,P.bf)(u)}`,fontSize:d,lineHeight:p,borderBottom:`${(0,P.bf)(f)} ${h} ${m}`,"&-title":{display:"flex",flex:1,alignItems:"center",minWidth:0,minHeight:0}},[`${n}-extra`]:{flex:"none"},[`${n}-close`]:Object.assign({display:"inline-flex",width:_(d).add(l).equal(),height:_(d).add(l).equal(),borderRadius:t,justifyContent:"center",alignItems:"center",marginInlineEnd:g,color:b,fontWeight:S,fontSize:d,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",textDecoration:"none",background:"transparent",border:0,cursor:"pointer",transition:`all ${s}`,textRendering:"auto","&:hover":{color:y,backgroundColor:E,textDecoration:"none"},"&:active":{backgroundColor:v}},(0,M.Qy)(e)),[`${n}-title`]:{flex:1,margin:0,fontWeight:e.fontWeightStrong,fontSize:d,lineHeight:p},[`${n}-body`]:{flex:1,minWidth:0,minHeight:0,padding:u,overflow:"auto",[`${n}-body-skeleton`]:{width:"100%",height:"100%",display:"flex",justifyContent:"center"}},[`${n}-footer`]:{flexShrink:0,padding:`${(0,P.bf)(A)} ${(0,P.bf)(O)}`,borderTop:`${(0,P.bf)(f)} ${h} ${m}`},"&-rtl":{direction:"rtl"}}}};var Z=(0,F.I$)("Drawer",e=>{let t=(0,B.IX)(e,{});return[z(t),$(t)]},e=>({zIndexPopup:e.zIndexPopupBase,footerPaddingBlock:e.paddingXS,footerPaddingInline:e.padding})),W=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let V={distance:180},Y=e=>{let{rootClassName:t,width:n,height:a,size:o="default",mask:s=!0,push:l=V,open:c,afterOpenChange:u,onClose:d,prefixCls:p,getContainer:f,style:h,className:m,visible:g,afterVisibleChange:b,maskStyle:y,drawerStyle:E,contentWrapperStyle:v}=e,T=W(e,["rootClassName","width","height","size","mask","push","open","afterOpenChange","onClose","prefixCls","getContainer","style","className","visible","afterVisibleChange","maskStyle","drawerStyle","contentWrapperStyle"]),{getPopupContainer:S,getPrefixCls:A,direction:O,drawer:N}=r.useContext(I.E_),L=A("drawer",p),[P,M,F]=Z(L),B=void 0===f&&S?()=>S(document.body):f,j=i()({"no-mask":!s,[`${L}-rtl`]:"rtl"===O},t,M,F),U=r.useMemo(()=>null!=n?n:"large"===o?736:378,[n,o]),G=r.useMemo(()=>null!=a?a:"large"===o?736:378,[a,o]),H={motionName:(0,C.m)(L,"mask-motion"),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500},$=(0,R.H)(),[z,Y]=(0,x.Cn)("Drawer",T.zIndex),{classNames:q={},styles:K={}}=T,{classNames:X={},styles:Q={}}=N||{};return P(r.createElement(k.Z,{form:!0,space:!0},r.createElement(w.Z.Provider,{value:Y},r.createElement(_,Object.assign({prefixCls:L,onClose:d,maskMotion:H,motion:e=>({motionName:(0,C.m)(L,`panel-motion-${e}`),motionAppear:!0,motionEnter:!0,motionLeave:!0,motionDeadline:500})},T,{classNames:{mask:i()(q.mask,X.mask),content:i()(q.content,X.content),wrapper:i()(q.wrapper,X.wrapper)},styles:{mask:Object.assign(Object.assign(Object.assign({},K.mask),y),Q.mask),content:Object.assign(Object.assign(Object.assign({},K.content),E),Q.content),wrapper:Object.assign(Object.assign(Object.assign({},K.wrapper),v),Q.wrapper)},open:null!=c?c:g,mask:s,push:l,width:U,height:G,style:Object.assign(Object.assign({},null==N?void 0:N.style),h),className:i()(null==N?void 0:N.className,m),rootClassName:j,getContainer:B,afterOpenChange:null!=u?u:b,panelRef:$,zIndex:z}),r.createElement(D,Object.assign({prefixCls:L},T,{onClose:d}))))))};Y._InternalPanelDoNotUseOrYouWillBeFired=e=>{let{prefixCls:t,style:n,className:a,placement:o="right"}=e,s=W(e,["prefixCls","style","className","placement"]),{getPrefixCls:l}=r.useContext(I.E_),c=l("drawer",t),[u,d,p]=Z(c),f=i()(c,`${c}-pure`,`${c}-${o}`,d,p,a);return u(r.createElement("div",{className:f,style:n},r.createElement(D,Object.assign({prefixCls:c},s))))};var q=Y},86250:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r=n(67294),a=n(93967),i=n.n(a),o=n(98423),s=n(98065),l=n(53124),c=n(83559),u=n(83262);let d=["wrap","nowrap","wrap-reverse"],p=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],f=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],h=(e,t)=>{let n=!0===t.wrap?"wrap":t.wrap;return{[`${e}-wrap-${n}`]:n&&d.includes(n)}},m=(e,t)=>{let n={};return f.forEach(r=>{n[`${e}-align-${r}`]=t.align===r}),n[`${e}-align-stretch`]=!t.align&&!!t.vertical,n},g=(e,t)=>{let n={};return p.forEach(r=>{n[`${e}-justify-${r}`]=t.justify===r}),n},b=e=>{let{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},y=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},E=e=>{let{componentCls:t}=e,n={};return d.forEach(e=>{n[`${t}-wrap-${e}`]={flexWrap:e}}),n},v=e=>{let{componentCls:t}=e,n={};return f.forEach(e=>{n[`${t}-align-${e}`]={alignItems:e}}),n},T=e=>{let{componentCls:t}=e,n={};return p.forEach(e=>{n[`${t}-justify-${e}`]={justifyContent:e}}),n};var S=(0,c.I$)("Flex",e=>{let{paddingXS:t,padding:n,paddingLG:r}=e,a=(0,u.IX)(e,{flexGapSM:t,flexGap:n,flexGapLG:r});return[b(a),y(a),E(a),v(a),T(a)]},()=>({}),{resetStyle:!1}),A=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let O=r.forwardRef((e,t)=>{let{prefixCls:n,rootClassName:a,className:c,style:u,flex:d,gap:p,children:f,vertical:b=!1,component:y="div"}=e,E=A(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:v,direction:T,getPrefixCls:O}=r.useContext(l.E_),_=O("flex",n),[k,x,C]=S(_),w=null!=b?b:null==v?void 0:v.vertical,I=i()(c,a,null==v?void 0:v.className,_,x,C,i()(Object.assign(Object.assign(Object.assign({},h(_,e)),m(_,e)),g(_,e))),{[`${_}-rtl`]:"rtl"===T,[`${_}-gap-${p}`]:(0,s.n)(p),[`${_}-vertical`]:w}),R=Object.assign(Object.assign({},null==v?void 0:v.style),u);return d&&(R.flex=d),p&&!(0,s.n)(p)&&(R.gap=p),k(r.createElement(y,Object.assign({ref:t,className:I,style:R},(0,o.Z)(E,["justify","wrap","align"])),f))});var _=O},57020:function(e,t,n){"use strict";n.d(t,{Z:function(){return eT}});var r=n(67294),a=n(99611),i=n(93967),o=n.n(i),s=n(87462),l=n(1413),c=n(4942),u=n(97685),d=n(71002),p=n(45987),f=n(27678),h=n(21770),m=n(40974),g=n(64019),b=n(15105),y=n(2788),E=n(29372),v=r.createContext(null),T=function(e){var t=e.visible,n=e.maskTransitionName,a=e.getContainer,i=e.prefixCls,s=e.rootClassName,u=e.icons,d=e.countRender,p=e.showSwitch,f=e.showProgress,h=e.current,m=e.transform,g=e.count,T=e.scale,S=e.minScale,A=e.maxScale,O=e.closeIcon,_=e.onSwitchLeft,k=e.onSwitchRight,x=e.onClose,C=e.onZoomIn,w=e.onZoomOut,I=e.onRotateRight,R=e.onRotateLeft,N=e.onFlipX,L=e.onFlipY,D=e.onReset,P=e.toolbarRender,M=e.zIndex,F=e.image,B=(0,r.useContext)(v),j=u.rotateLeft,U=u.rotateRight,G=u.zoomIn,H=u.zoomOut,$=u.close,z=u.left,Z=u.right,W=u.flipX,V=u.flipY,Y="".concat(i,"-operations-operation");r.useEffect(function(){var e=function(e){e.keyCode===b.Z.ESC&&x()};return t&&window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}},[t]);var q=[{icon:V,onClick:L,type:"flipY"},{icon:W,onClick:N,type:"flipX"},{icon:j,onClick:R,type:"rotateLeft"},{icon:U,onClick:I,type:"rotateRight"},{icon:H,onClick:w,type:"zoomOut",disabled:T<=S},{icon:G,onClick:C,type:"zoomIn",disabled:T===A}].map(function(e){var t,n=e.icon,a=e.onClick,s=e.type,l=e.disabled;return r.createElement("div",{className:o()(Y,(t={},(0,c.Z)(t,"".concat(i,"-operations-operation-").concat(s),!0),(0,c.Z)(t,"".concat(i,"-operations-operation-disabled"),!!l),t)),onClick:a,key:s},n)}),K=r.createElement("div",{className:"".concat(i,"-operations")},q);return r.createElement(E.ZP,{visible:t,motionName:n},function(e){var t=e.className,n=e.style;return r.createElement(y.Z,{open:!0,getContainer:null!=a?a:document.body},r.createElement("div",{className:o()("".concat(i,"-operations-wrapper"),t,s),style:(0,l.Z)((0,l.Z)({},n),{},{zIndex:M})},null===O?null:r.createElement("button",{className:"".concat(i,"-close"),onClick:x},O||$),p&&r.createElement(r.Fragment,null,r.createElement("div",{className:o()("".concat(i,"-switch-left"),(0,c.Z)({},"".concat(i,"-switch-left-disabled"),0===h)),onClick:_},z),r.createElement("div",{className:o()("".concat(i,"-switch-right"),(0,c.Z)({},"".concat(i,"-switch-right-disabled"),h===g-1)),onClick:k},Z)),r.createElement("div",{className:"".concat(i,"-footer")},f&&r.createElement("div",{className:"".concat(i,"-progress")},d?d(h+1,g):"".concat(h+1," / ").concat(g)),P?P(K,(0,l.Z)((0,l.Z)({icons:{flipYIcon:q[0],flipXIcon:q[1],rotateLeftIcon:q[2],rotateRightIcon:q[3],zoomOutIcon:q[4],zoomInIcon:q[5]},actions:{onFlipY:L,onFlipX:N,onRotateLeft:R,onRotateRight:I,onZoomOut:w,onZoomIn:C,onReset:D,onClose:x},transform:m},B?{current:h,total:g}:{}),{},{image:F})):K)))})},S=n(91881),A=n(75164),O={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1},_=n(80334);function k(e,t,n,r){var a=t+n,i=(n-r)/2;if(n>r){if(t>0)return(0,c.Z)({},e,i);if(t<0&&ar)return(0,c.Z)({},e,t<0?i:-i);return{}}function x(e,t,n,r){var a=(0,f.g1)(),i=a.width,o=a.height,s=null;return e<=i&&t<=o?s={x:0,y:0}:(e>i||t>o)&&(s=(0,l.Z)((0,l.Z)({},k("x",n,e,i)),k("y",r,t,o))),s}function C(e){var t=e.src,n=e.isCustomPlaceholder,a=e.fallback,i=(0,r.useState)(n?"loading":"normal"),o=(0,u.Z)(i,2),s=o[0],l=o[1],c=(0,r.useRef)(!1),d="error"===s;(0,r.useEffect)(function(){var e=!0;return new Promise(function(e){var n=document.createElement("img");n.onerror=function(){return e(!1)},n.onload=function(){return e(!0)},n.src=t}).then(function(t){!t&&e&&l("error")}),function(){e=!1}},[t]),(0,r.useEffect)(function(){n&&!c.current?l("loading"):d&&l("normal")},[t]);var p=function(){l("normal")};return[function(e){c.current=!1,"loading"===s&&null!=e&&e.complete&&(e.naturalWidth||e.naturalHeight)&&(c.current=!0,p())},d&&a?{src:a}:{onLoad:p,src:t},s]}function w(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}var I=["fallback","src","imgRef"],R=["prefixCls","src","alt","imageInfo","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],N=function(e){var t=e.fallback,n=e.src,a=e.imgRef,i=(0,p.Z)(e,I),o=C({src:n,fallback:t}),l=(0,u.Z)(o,2),c=l[0],d=l[1];return r.createElement("img",(0,s.Z)({ref:function(e){a.current=e,c(e)}},i,d))},L=function(e){var t,n,a,i,d,h,y,E,k,C,I,L,D,P,M,F,B,j,U,G,H,$,z,Z,W,V,Y,q,K=e.prefixCls,X=e.src,Q=e.alt,J=e.imageInfo,ee=e.fallback,et=e.movable,en=void 0===et||et,er=e.onClose,ea=e.visible,ei=e.icons,eo=e.rootClassName,es=e.closeIcon,el=e.getContainer,ec=e.current,eu=void 0===ec?0:ec,ed=e.count,ep=void 0===ed?1:ed,ef=e.countRender,eh=e.scaleStep,em=void 0===eh?.5:eh,eg=e.minScale,eb=void 0===eg?1:eg,ey=e.maxScale,eE=void 0===ey?50:ey,ev=e.transitionName,eT=e.maskTransitionName,eS=void 0===eT?"fade":eT,eA=e.imageRender,eO=e.imgCommonProps,e_=e.toolbarRender,ek=e.onTransform,ex=e.onChange,eC=(0,p.Z)(e,R),ew=(0,r.useRef)(),eI=(0,r.useContext)(v),eR=eI&&ep>1,eN=eI&&ep>=1,eL=(0,r.useState)(!0),eD=(0,u.Z)(eL,2),eP=eD[0],eM=eD[1],eF=(t=(0,r.useRef)(null),n=(0,r.useRef)([]),a=(0,r.useState)(O),d=(i=(0,u.Z)(a,2))[0],h=i[1],y=function(e,r){null===t.current&&(n.current=[],t.current=(0,A.Z)(function(){h(function(e){var a=e;return n.current.forEach(function(e){a=(0,l.Z)((0,l.Z)({},a),e)}),t.current=null,null==ek||ek({transform:a,action:r}),a})})),n.current.push((0,l.Z)((0,l.Z)({},d),e))},{transform:d,resetTransform:function(e){h(O),(0,S.Z)(O,d)||null==ek||ek({transform:O,action:e})},updateTransform:y,dispatchZoomChange:function(e,t,n,r,a){var i=ew.current,o=i.width,s=i.height,l=i.offsetWidth,c=i.offsetHeight,u=i.offsetLeft,p=i.offsetTop,h=e,m=d.scale*e;m>eE?(m=eE,h=eE/d.scale):m0&&(t=1/t),eG(t,"wheel",e.clientX,e.clientY)}}}),e$=eH.isMoving,ez=eH.onMouseDown,eZ=eH.onWheel,eW=(U=eB.rotate,G=eB.scale,H=eB.x,$=eB.y,z=(0,r.useState)(!1),W=(Z=(0,u.Z)(z,2))[0],V=Z[1],Y=(0,r.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),q=function(e){Y.current=(0,l.Z)((0,l.Z)({},Y.current),e)},(0,r.useEffect)(function(){var e;return ea&&en&&(e=(0,g.Z)(window,"touchmove",function(e){return e.preventDefault()},{passive:!1})),function(){var t;null===(t=e)||void 0===t||t.remove()}},[ea,en]),{isTouching:W,onTouchStart:function(e){if(en){e.stopPropagation(),V(!0);var t=e.touches,n=void 0===t?[]:t;n.length>1?q({point1:{x:n[0].clientX,y:n[0].clientY},point2:{x:n[1].clientX,y:n[1].clientY},eventType:"touchZoom"}):q({point1:{x:n[0].clientX-H,y:n[0].clientY-$},eventType:"move"})}},onTouchMove:function(e){var t=e.touches,n=void 0===t?[]:t,r=Y.current,a=r.point1,i=r.point2,o=r.eventType;if(n.length>1&&"touchZoom"===o){var s={x:n[0].clientX,y:n[0].clientY},l={x:n[1].clientX,y:n[1].clientY},c=function(e,t,n,r){var a=w(e,n),i=w(t,r);if(0===a&&0===i)return[e.x,e.y];var o=a/(a+i);return[e.x+o*(t.x-e.x),e.y+o*(t.y-e.y)]}(a,i,s,l),d=(0,u.Z)(c,2),p=d[0],f=d[1];eG(w(s,l)/w(a,i),"touchZoom",p,f,!0),q({point1:s,point2:l,eventType:"touchZoom"})}else"move"===o&&(eU({x:n[0].clientX-a.x,y:n[0].clientY-a.y},"move"),q({eventType:"move"}))},onTouchEnd:function(){if(ea){if(W&&V(!1),q({eventType:"none"}),eb>G)return eU({x:0,y:0,scale:eb},"touchZoom");var e=ew.current.offsetWidth*G,t=ew.current.offsetHeight*G,n=ew.current.getBoundingClientRect(),r=n.left,a=n.top,i=U%180!=0,o=x(i?t:e,i?e:t,r,a);o&&eU((0,l.Z)({},o),"dragRebound")}}}),eV=eW.isTouching,eY=eW.onTouchStart,eq=eW.onTouchMove,eK=eW.onTouchEnd,eX=eB.rotate,eQ=eB.scale,eJ=o()((0,c.Z)({},"".concat(K,"-moving"),e$));(0,r.useEffect)(function(){eP||eM(!0)},[eP]);var e0=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu>0&&(eM(!1),ej("prev"),null==ex||ex(eu-1,eu))},e1=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),eu({position:e||"absolute",inset:0}),eu=e=>{let{iconCls:t,motionDurationSlow:n,paddingXXS:r,marginXXS:a,prefixCls:i,colorTextLightSolid:o}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:o,background:new en.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${i}-mask-info`]:Object.assign(Object.assign({},ea.vS),{padding:`0 ${(0,et.bf)(r)}`,[t]:{marginInlineEnd:a,svg:{verticalAlign:"baseline"}}})}},ed=e=>{let{previewCls:t,modalMaskBg:n,paddingSM:r,marginXL:a,margin:i,paddingLG:o,previewOperationColorDisabled:s,previewOperationHoverColor:l,motionDurationSlow:c,iconCls:u,colorTextLightSolid:d}=e,p=new en.C(n).setAlpha(.1),f=p.clone().setAlpha(.2);return{[`${t}-footer`]:{position:"fixed",bottom:a,left:{_skip_check_:!0,value:"50%"},display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor,transform:"translateX(-50%)"},[`${t}-progress`]:{marginBottom:i},[`${t}-close`]:{position:"fixed",top:a,right:{_skip_check_:!0,value:a},display:"flex",color:d,backgroundColor:p.toRgbString(),borderRadius:"50%",padding:r,outline:0,border:0,cursor:"pointer",transition:`all ${c}`,"&:hover":{backgroundColor:f.toRgbString()},[`& > ${u}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,et.bf)(o)}`,backgroundColor:p.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:r,padding:r,cursor:"pointer",transition:`all ${c}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${u}`]:{color:l},"&-disabled":{color:s,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${u}`]:{fontSize:e.previewOperationSize}}}}},ep=e=>{let{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:r,previewCls:a,zIndexPopup:i,motionDurationSlow:o}=e,s=new en.C(t).setAlpha(.1),l=s.clone().setAlpha(.2);return{[`${a}-switch-left, ${a}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(i).add(1).equal(),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:s.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${o}`,userSelect:"none","&:hover":{background:l.toRgbString()},"&-disabled":{"&, &:hover":{color:r,background:"transparent",cursor:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${a}-switch-left`]:{insetInlineStart:e.marginSM},[`${a}-switch-right`]:{insetInlineEnd:e.marginSM}}},ef=e=>{let{motionEaseOut:t,previewCls:n,motionDurationSlow:r,componentCls:a}=e;return[{[`${a}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:Object.assign(Object.assign({},ec()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${r} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},ec()),{transition:`transform ${r} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${a}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${a}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal()},"&":[ed(e),ep(e)]}]},eh=e=>{let{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${t}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${t}-img-placeholder`]:{backgroundColor:e.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${t}-mask`]:Object.assign({},eu(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},ec())}}},em=e=>{let{previewCls:t}=e;return{[`${t}-root`]:(0,ei._y)(e,"zoom"),"&":(0,eo.J$)(e,!0)}};var eg=(0,es.I$)("Image",e=>{let t=`${e.componentCls}-preview`,n=(0,el.IX)(e,{previewCls:t,modalMaskBg:new en.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[eh(n),ef(n),(0,er.QA)((0,el.IX)(n,{componentCls:t})),em(n)]},e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new en.C(e.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new en.C(e.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new en.C(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:1.5*e.fontSizeIcon})),eb=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ey={rotateLeft:r.createElement(K.Z,null),rotateRight:r.createElement(X.Z,null),zoomIn:r.createElement(J.Z,null),zoomOut:r.createElement(ee.Z,null),close:r.createElement(V.Z,null),left:r.createElement(Y.Z,null),right:r.createElement(q.Z,null),flipX:r.createElement(Q.Z,null),flipY:r.createElement(Q.Z,{rotate:90})};var eE=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let ev=e=>{var t;let{prefixCls:n,preview:i,className:s,rootClassName:l,style:c}=e,u=eE(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:d,locale:p=W.Z,getPopupContainer:f,image:h}=r.useContext(z.E_),m=d("image",n),g=d(),b=p.Image||W.Z.Image,y=(0,Z.Z)(m),[E,v,T]=eg(m,y),S=o()(l,v,T,y),A=o()(s,v,null==h?void 0:h.className),[O]=(0,H.Cn)("ImagePreview","object"==typeof i?i.zIndex:void 0),_=r.useMemo(()=>{var e;if(!1===i)return i;let t="object"==typeof i?i:{},{getContainer:n,closeIcon:o}=t,s=eE(t,["getContainer","closeIcon"]);return Object.assign(Object.assign({mask:r.createElement("div",{className:`${m}-mask-info`},r.createElement(a.Z,null),null==b?void 0:b.preview),icons:ey},s),{getContainer:null!=n?n:f,transitionName:(0,$.m)(g,"zoom",t.transitionName),maskTransitionName:(0,$.m)(g,"fade",t.maskTransitionName),zIndex:O,closeIcon:null!=o?o:null===(e=null==h?void 0:h.preview)||void 0===e?void 0:e.closeIcon})},[i,b,null===(t=null==h?void 0:h.preview)||void 0===t?void 0:t.closeIcon]),k=Object.assign(Object.assign({},null==h?void 0:h.style),c);return E(r.createElement(G,Object.assign({prefixCls:m,preview:_,rootClassName:S,className:A,style:k},u)))};ev.PreviewGroup=e=>{var{previewPrefixCls:t,preview:n}=e,a=eb(e,["previewPrefixCls","preview"]);let{getPrefixCls:i}=r.useContext(z.E_),s=i("image",t),l=`${s}-preview`,c=i(),u=(0,Z.Z)(s),[d,p,f]=eg(s,u),[h]=(0,H.Cn)("ImagePreview","object"==typeof n?n.zIndex:void 0),m=r.useMemo(()=>{var e;if(!1===n)return n;let t="object"==typeof n?n:{},r=o()(p,f,u,null!==(e=t.rootClassName)&&void 0!==e?e:"");return Object.assign(Object.assign({},t),{transitionName:(0,$.m)(c,"zoom",t.transitionName),maskTransitionName:(0,$.m)(c,"fade",t.maskTransitionName),rootClassName:r,zIndex:h})},[n]);return d(r.createElement(G.PreviewGroup,Object.assign({preview:m,previewPrefixCls:l,icons:ey},a)))};var eT=ev},66309:function(e,t,n){"use strict";n.d(t,{Z:function(){return I}});var r=n(67294),a=n(93967),i=n.n(a),o=n(98423),s=n(98787),l=n(69760),c=n(96159),u=n(45353),d=n(53124),p=n(25446),f=n(10274),h=n(14747),m=n(83262),g=n(83559);let b=e=>{let{paddingXXS:t,lineWidth:n,tagPaddingHorizontal:r,componentCls:a,calc:i}=e,o=i(r).sub(n).equal(),s=i(t).sub(n).equal();return{[a]:Object.assign(Object.assign({},(0,h.Wf)(e)),{display:"inline-block",height:"auto",marginInlineEnd:e.marginXS,paddingInline:o,fontSize:e.tagFontSize,lineHeight:e.tagLineHeight,whiteSpace:"nowrap",background:e.defaultBg,border:`${(0,p.bf)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadiusSM,opacity:1,transition:`all ${e.motionDurationMid}`,textAlign:"start",position:"relative",[`&${a}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:e.defaultColor},[`${a}-close-icon`]:{marginInlineStart:s,fontSize:e.tagIconSize,color:e.colorTextDescription,cursor:"pointer",transition:`all ${e.motionDurationMid}`,"&:hover":{color:e.colorTextHeading}},[`&${a}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${e.iconCls}-close, ${e.iconCls}-close:hover`]:{color:e.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${a}-checkable-checked):hover`]:{color:e.colorPrimary,backgroundColor:e.colorFillSecondary},"&:active, &-checked":{color:e.colorTextLightSolid},"&-checked":{backgroundColor:e.colorPrimary,"&:hover":{backgroundColor:e.colorPrimaryHover}},"&:active":{backgroundColor:e.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${e.iconCls} + span, > span + ${e.iconCls}`]:{marginInlineStart:o}}),[`${a}-borderless`]:{borderColor:"transparent",background:e.tagBorderlessBg}}},y=e=>{let{lineWidth:t,fontSizeIcon:n,calc:r}=e,a=e.fontSizeSM,i=(0,m.IX)(e,{tagFontSize:a,tagLineHeight:(0,p.bf)(r(e.lineHeightSM).mul(a).equal()),tagIconSize:r(n).sub(r(t).mul(2)).equal(),tagPaddingHorizontal:8,tagBorderlessBg:e.defaultBg});return i},E=e=>({defaultBg:new f.C(e.colorFillQuaternary).onBackground(e.colorBgContainer).toHexString(),defaultColor:e.colorText});var v=(0,g.I$)("Tag",e=>{let t=y(e);return b(t)},E),T=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let S=r.forwardRef((e,t)=>{let{prefixCls:n,style:a,className:o,checked:s,onChange:l,onClick:c}=e,u=T(e,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:p,tag:f}=r.useContext(d.E_),h=p("tag",n),[m,g,b]=v(h),y=i()(h,`${h}-checkable`,{[`${h}-checkable-checked`]:s},null==f?void 0:f.className,o,g,b);return m(r.createElement("span",Object.assign({},u,{ref:t,style:Object.assign(Object.assign({},a),null==f?void 0:f.style),className:y,onClick:e=>{null==l||l(!s),null==c||c(e)}})))});var A=n(98719);let O=e=>(0,A.Z)(e,(t,n)=>{let{textColor:r,lightBorderColor:a,lightColor:i,darkColor:o}=n;return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:r,background:i,borderColor:a,"&-inverse":{color:e.colorTextLightSolid,background:o,borderColor:o},[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}});var _=(0,g.bk)(["Tag","preset"],e=>{let t=y(e);return O(t)},E);let k=(e,t,n)=>{let r=function(e){if("string"!=typeof e)return e;let t=e.charAt(0).toUpperCase()+e.slice(1);return t}(n);return{[`${e.componentCls}${e.componentCls}-${t}`]:{color:e[`color${n}`],background:e[`color${r}Bg`],borderColor:e[`color${r}Border`],[`&${e.componentCls}-borderless`]:{borderColor:"transparent"}}}};var x=(0,g.bk)(["Tag","status"],e=>{let t=y(e);return[k(t,"success","Success"),k(t,"processing","Info"),k(t,"error","Error"),k(t,"warning","Warning")]},E),C=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let w=r.forwardRef((e,t)=>{let{prefixCls:n,className:a,rootClassName:p,style:f,children:h,icon:m,color:g,onClose:b,bordered:y=!0,visible:E}=e,T=C(e,["prefixCls","className","rootClassName","style","children","icon","color","onClose","bordered","visible"]),{getPrefixCls:S,direction:A,tag:O}=r.useContext(d.E_),[k,w]=r.useState(!0),I=(0,o.Z)(T,["closeIcon","closable"]);r.useEffect(()=>{void 0!==E&&w(E)},[E]);let R=(0,s.o2)(g),N=(0,s.yT)(g),L=R||N,D=Object.assign(Object.assign({backgroundColor:g&&!L?g:void 0},null==O?void 0:O.style),f),P=S("tag",n),[M,F,B]=v(P),j=i()(P,null==O?void 0:O.className,{[`${P}-${g}`]:L,[`${P}-has-color`]:g&&!L,[`${P}-hidden`]:!k,[`${P}-rtl`]:"rtl"===A,[`${P}-borderless`]:!y},a,p,F,B),U=e=>{e.stopPropagation(),null==b||b(e),e.defaultPrevented||w(!1)},[,G]=(0,l.Z)((0,l.w)(e),(0,l.w)(O),{closable:!1,closeIconRender:e=>{let t=r.createElement("span",{className:`${P}-close-icon`,onClick:U},e);return(0,c.wm)(e,t,e=>({onClick:t=>{var n;null===(n=null==e?void 0:e.onClick)||void 0===n||n.call(e,t),U(t)},className:i()(null==e?void 0:e.className,`${P}-close-icon`)}))}}),H="function"==typeof T.onClick||h&&"a"===h.type,$=m||null,z=$?r.createElement(r.Fragment,null,$,h&&r.createElement("span",null,h)):h,Z=r.createElement("span",Object.assign({},I,{ref:t,className:j,style:D}),z,G,R&&r.createElement(_,{key:"preset",prefixCls:P}),N&&r.createElement(x,{key:"status",prefixCls:P}));return M(H?r.createElement(u.Z,{component:"Tag"},Z):Z)});w.CheckableTag=S;var I=w},62502:function(e,t,n){"use strict";var r=n(15575),a=n(64977),i=n(72869),o=n(32473).Q,s=n(24395).Q;e.exports=function(e,t,n){var a=n?function(e){for(var t,n=e.length,r=-1,a={};++r4&&h.slice(0,4)===o&&s.test(t)&&("-"===t.charAt(4)?m=o+(n=t.slice(5).replace(l,d)).charAt(0).toUpperCase()+n.slice(1):(f=(p=t).slice(4),t=l.test(f)?p:("-"!==(f=f.replace(c,u)).charAt(0)&&(f="-"+f),o+f)),g=a),new g(m,t))};var s=/^data[-\w.:]+$/i,l=/-[a-z]/g,c=/[A-Z]/g;function u(e){return"-"+e.toLowerCase()}function d(e){return e.charAt(1).toUpperCase()}},48055:function(e,t,n){"use strict";var r=n(26230),a=n(13970),i=n(10629),o=n(647),s=n(91305),l=n(22537);e.exports=r([i,a,o,s,l])},91305:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=r.booleanish,o=r.number,s=r.spaceSeparated;e.exports=a({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:i,ariaAutoComplete:null,ariaBusy:i,ariaChecked:i,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:s,ariaCurrent:null,ariaDescribedBy:s,ariaDetails:null,ariaDisabled:i,ariaDropEffect:s,ariaErrorMessage:null,ariaExpanded:i,ariaFlowTo:s,ariaGrabbed:i,ariaHasPopup:null,ariaHidden:i,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:s,ariaLevel:o,ariaLive:null,ariaModal:i,ariaMultiLine:i,ariaMultiSelectable:i,ariaOrientation:null,ariaOwns:s,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:i,ariaReadOnly:i,ariaRelevant:null,ariaRequired:i,ariaRoleDescription:s,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:i,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}})},22537:function(e,t,n){"use strict";var r=n(61422),a=n(47589),i=n(19348),o=r.boolean,s=r.overloadedBoolean,l=r.booleanish,c=r.number,u=r.spaceSeparated,d=r.commaSeparated;e.exports=a({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:i,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:d,acceptCharset:u,accessKey:u,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:u,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:u,cols:c,colSpan:null,content:null,contentEditable:l,controls:o,controlsList:u,coords:c|d,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:s,draggable:l,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:u,height:c,hidden:o,high:c,href:null,hrefLang:null,htmlFor:u,httpEquiv:u,id:null,imageSizes:null,imageSrcSet:d,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:u,itemRef:u,itemScope:o,itemType:u,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:u,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:u,required:o,reversed:o,rows:c,rowSpan:c,sandbox:u,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:c,sizes:null,slot:null,span:c,spellCheck:l,src:null,srcDoc:null,srcLang:null,srcSet:d,start:c,step:null,style:null,tabIndex:c,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:l,width:c,wrap:null,align:null,aLink:null,archive:u,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:l,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}})},19348:function(e,t,n){"use strict";var r=n(21098);e.exports=function(e,t){return r(e,t.toLowerCase())}},21098:function(e){"use strict";e.exports=function(e,t){return t in e?e[t]:t}},47589:function(e,t,n){"use strict";var r=n(64977),a=n(16038),i=n(78444);e.exports=function(e){var t,n,o=e.space,s=e.mustUseProperty||[],l=e.attributes||{},c=e.properties,u=e.transform,d={},p={};for(t in c)n=new i(t,u(l,t),c[t],o),-1!==s.indexOf(t)&&(n.mustUseProperty=!0),d[t]=n,p[r(t)]=t,p[r(n.attribute)]=t;return new a(d,p,o)}},78444:function(e,t,n){"use strict";var r=n(40313),a=n(61422);e.exports=s,s.prototype=new r,s.prototype.defined=!0;var i=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=i.length;function s(e,t,n,s){var l,c,u,d=-1;for(s&&(this.space=s),r.call(this,e,t);++d=97&&t<=122||t>=65&&t<=90}},7961:function(e,t,n){"use strict";var r=n(46260),a=n(46195);e.exports=function(e){return r(e)||a(e)}},46195:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}},79480:function(e){"use strict";e.exports=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}},79373:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/mobile/chat/components/Content",function(){return n(36818)}])},85813:function(e,t,n){"use strict";n.d(t,{r:function(){return _6}});var r,a,i,o,s,l,c,u,d,p,f,h,m,g,b,y,E,v,T,S,A,O,_,k,x,C,w,I,R,N,L,D,P,M,F,B,j,U,G,H,$,z,Z,W,V,Y,q,K,X,Q,J,ee,et,en,er,ea={};n.r(ea),n.d(ea,{area:function(){return cf},bottom:function(){return cT},bottomLeft:function(){return cT},bottomRight:function(){return cT},inside:function(){return cT},left:function(){return cT},outside:function(){return c_},right:function(){return cT},spider:function(){return cR},surround:function(){return cL},top:function(){return cT},topLeft:function(){return cT},topRight:function(){return cT}});var ei={};n.r(ei),n.d(ei,{interpolateBlues:function(){return uD.interpolateBlues},interpolateBrBG:function(){return uD.interpolateBrBG},interpolateBuGn:function(){return uD.interpolateBuGn},interpolateBuPu:function(){return uD.interpolateBuPu},interpolateCividis:function(){return uD.interpolateCividis},interpolateCool:function(){return uD.interpolateCool},interpolateCubehelixDefault:function(){return uD.interpolateCubehelixDefault},interpolateGnBu:function(){return uD.interpolateGnBu},interpolateGreens:function(){return uD.interpolateGreens},interpolateGreys:function(){return uD.interpolateGreys},interpolateInferno:function(){return uD.interpolateInferno},interpolateMagma:function(){return uD.interpolateMagma},interpolateOrRd:function(){return uD.interpolateOrRd},interpolateOranges:function(){return uD.interpolateOranges},interpolatePRGn:function(){return uD.interpolatePRGn},interpolatePiYG:function(){return uD.interpolatePiYG},interpolatePlasma:function(){return uD.interpolatePlasma},interpolatePuBu:function(){return uD.interpolatePuBu},interpolatePuBuGn:function(){return uD.interpolatePuBuGn},interpolatePuOr:function(){return uD.interpolatePuOr},interpolatePuRd:function(){return uD.interpolatePuRd},interpolatePurples:function(){return uD.interpolatePurples},interpolateRainbow:function(){return uD.interpolateRainbow},interpolateRdBu:function(){return uD.interpolateRdBu},interpolateRdGy:function(){return uD.interpolateRdGy},interpolateRdPu:function(){return uD.interpolateRdPu},interpolateRdYlBu:function(){return uD.interpolateRdYlBu},interpolateRdYlGn:function(){return uD.interpolateRdYlGn},interpolateReds:function(){return uD.interpolateReds},interpolateSinebow:function(){return uD.interpolateSinebow},interpolateSpectral:function(){return uD.interpolateSpectral},interpolateTurbo:function(){return uD.interpolateTurbo},interpolateViridis:function(){return uD.interpolateViridis},interpolateWarm:function(){return uD.interpolateWarm},interpolateYlGn:function(){return uD.interpolateYlGn},interpolateYlGnBu:function(){return uD.interpolateYlGnBu},interpolateYlOrBr:function(){return uD.interpolateYlOrBr},interpolateYlOrRd:function(){return uD.interpolateYlOrRd},schemeAccent:function(){return uD.schemeAccent},schemeBlues:function(){return uD.schemeBlues},schemeBrBG:function(){return uD.schemeBrBG},schemeBuGn:function(){return uD.schemeBuGn},schemeBuPu:function(){return uD.schemeBuPu},schemeCategory10:function(){return uD.schemeCategory10},schemeDark2:function(){return uD.schemeDark2},schemeGnBu:function(){return uD.schemeGnBu},schemeGreens:function(){return uD.schemeGreens},schemeGreys:function(){return uD.schemeGreys},schemeOrRd:function(){return uD.schemeOrRd},schemeOranges:function(){return uD.schemeOranges},schemePRGn:function(){return uD.schemePRGn},schemePaired:function(){return uD.schemePaired},schemePastel1:function(){return uD.schemePastel1},schemePastel2:function(){return uD.schemePastel2},schemePiYG:function(){return uD.schemePiYG},schemePuBu:function(){return uD.schemePuBu},schemePuBuGn:function(){return uD.schemePuBuGn},schemePuOr:function(){return uD.schemePuOr},schemePuRd:function(){return uD.schemePuRd},schemePurples:function(){return uD.schemePurples},schemeRdBu:function(){return uD.schemeRdBu},schemeRdGy:function(){return uD.schemeRdGy},schemeRdPu:function(){return uD.schemeRdPu},schemeRdYlBu:function(){return uD.schemeRdYlBu},schemeRdYlGn:function(){return uD.schemeRdYlGn},schemeReds:function(){return uD.schemeReds},schemeSet1:function(){return uD.schemeSet1},schemeSet2:function(){return uD.schemeSet2},schemeSet3:function(){return uD.schemeSet3},schemeSpectral:function(){return uD.schemeSpectral},schemeTableau10:function(){return uD.schemeTableau10},schemeYlGn:function(){return uD.schemeYlGn},schemeYlGnBu:function(){return uD.schemeYlGnBu},schemeYlOrBr:function(){return uD.schemeYlOrBr},schemeYlOrRd:function(){return uD.schemeYlOrRd}});var eo={};n.r(eo);var es={};n.r(es),n.d(es,{geoAlbers:function(){return Ta.Z},geoAlbersUsa:function(){return Tr.Z},geoAzimuthalEqualArea:function(){return Ti.Z},geoAzimuthalEqualAreaRaw:function(){return Ti.l},geoAzimuthalEquidistant:function(){return To.Z},geoAzimuthalEquidistantRaw:function(){return To.N},geoConicConformal:function(){return Ts.Z},geoConicConformalRaw:function(){return Ts.l},geoConicEqualArea:function(){return Tl.Z},geoConicEqualAreaRaw:function(){return Tl.v},geoConicEquidistant:function(){return Tc.Z},geoConicEquidistantRaw:function(){return Tc.o},geoEqualEarth:function(){return Tu.Z},geoEqualEarthRaw:function(){return Tu.i},geoEquirectangular:function(){return Td.Z},geoEquirectangularRaw:function(){return Td.k},geoGnomonic:function(){return Tp.Z},geoGnomonicRaw:function(){return Tp.M},geoIdentity:function(){return Tf.Z},geoMercator:function(){return Tm.ZP},geoMercatorRaw:function(){return Tm.hk},geoNaturalEarth1:function(){return Tg.Z},geoNaturalEarth1Raw:function(){return Tg.K},geoOrthographic:function(){return Tb.Z},geoOrthographicRaw:function(){return Tb.I},geoProjection:function(){return Th.Z},geoProjectionMutator:function(){return Th.r},geoStereographic:function(){return Ty.Z},geoStereographicRaw:function(){return Ty.T},geoTransverseMercator:function(){return TE.Z},geoTransverseMercatorRaw:function(){return TE.F}});var el={};n.r(el),n.d(el,{frequency:function(){return Sh},id:function(){return Sm},name:function(){return Sg},weight:function(){return Sf}});var ec=n(74902),eu=n(1413),ed=n(87462),ep=n(97685),ef=n(45987),eh=n(50888),em=n(96486),eg=n(67294),eb=function(){return(eb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n-1&&!e.return)switch(e.type){case ek:e.return=function e(t,n,r){var a;switch(a=n,45^eD(t,0)?(((a<<2^eD(t,0))<<2^eD(t,1))<<2^eD(t,2))<<2^eD(t,3):0){case 5103:return eA+"print-"+t+t;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 eA+t+t;case 4789:return eS+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return eA+t+eS+t+eT+t+t;case 5936:switch(eD(t,n+11)){case 114:return eA+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return eA+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return eA+t+eT+eN(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return eA+t+eT+t+t;case 6165:return eA+t+eT+"flex-"+t+t;case 5187:return eA+t+eN(t,/(\w+).+(:[^]+)/,eA+"box-$1$2"+eT+"flex-$1$2")+t;case 5443:return eA+t+eT+"flex-item-"+eN(t,/flex-|-self/g,"")+(eR(t,/flex-|baseline/)?"":eT+"grid-row-"+eN(t,/flex-|-self/g,""))+t;case 4675:return eA+t+eT+"flex-line-pack"+eN(t,/align-content|flex-|-self/g,"")+t;case 5548:return eA+t+eT+eN(t,"shrink","negative")+t;case 5292:return eA+t+eT+eN(t,"basis","preferred-size")+t;case 6060:return eA+"box-"+eN(t,"-grow","")+eA+t+eT+eN(t,"grow","positive")+t;case 4554:return eA+eN(t,/([^-])(transform)/g,"$1"+eA+"$2")+t;case 6187:return eN(eN(eN(t,/(zoom-|grab)/,eA+"$1"),/(image-set)/,eA+"$1"),t,"")+t;case 5495:case 3959:return eN(t,/(image-set\([^]*)/,eA+"$1$`$1");case 4968:return eN(eN(t,/(.+:)(flex-)?(.*)/,eA+"box-pack:$3"+eT+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+eA+t+t;case 4200:if(!eR(t,/flex-|baseline/))return eT+"grid-column-align"+eP(t,n)+t;break;case 2592:case 3360:return eT+eN(t,"template-","")+t;case 4384:case 3616:if(r&&r.some(function(e,t){return n=t,eR(e.props,/grid-\w+-end/)}))return~eL(t+(r=r[n].value),"span",0)?t:eT+eN(t,"-start","")+t+eT+"grid-row-span:"+(~eL(r,"span",0)?eR(r,/\d+/):+eR(r,/\d+/)-+eR(t,/\d+/))+";";return eT+eN(t,"-start","")+t;case 4896:case 4128:return r&&r.some(function(e){return eR(e.props,/grid-\w+-start/)})?t:eT+eN(eN(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return eN(t,/(.+)-inline(.+)/,eA+"$1$2")+t;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(eM(t)-1-n>6)switch(eD(t,n+1)){case 109:if(45!==eD(t,n+4))break;case 102:return eN(t,/(.+:)(.+)-([^]+)/,"$1"+eA+"$2-$3$1"+eS+(108==eD(t,n+3)?"$3":"$2-$3"))+t;case 115:return~eL(t,"stretch",0)?e(eN(t,"stretch","fill-available"),n,r)+t:t}break;case 5152:case 5920:return eN(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(e,n,r,a,i,o,s){return eT+n+":"+r+s+(a?eT+n+"-span:"+(i?o:+o-+r)+s:"")+t});case 4949:if(121===eD(t,n+6))return eN(t,":",":"+eA)+t;break;case 6444:switch(eD(t,45===eD(t,14)?18:11)){case 120:return eN(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+eA+(45===eD(t,14)?"inline-":"")+"box$3$1"+eA+"$2$3$1"+eT+"$2box$3")+t;case 100:return eN(t,":",":"+eT)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return eN(t,"scroll-","scroll-snap-")+t}return t}(e.value,e.length,n);return;case ex:return eQ([eW(e,{value:eN(e.value,"@","@"+eA)})],r);case e_:if(e.length)return(n=e.props).map(function(t){switch(eR(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":eV(eW(e,{props:[eN(t,/:(read-\w+)/,":"+eS+"$1")]})),eV(eW(e,{props:[t]})),eI(e,{props:eB(n,r)});break;case"::placeholder":eV(eW(e,{props:[eN(t,/:(plac\w+)/,":"+eA+"input-$1")]})),eV(eW(e,{props:[eN(t,/:(plac\w+)/,":"+eS+"$1")]})),eV(eW(e,{props:[eN(t,/:(plac\w+)/,eT+"input-$1")]})),eV(eW(e,{props:[t]})),eI(e,{props:eB(n,r)})}return""}).join("")}}function e1(e,t,n,r,a,i,o,s,l,c,u,d){for(var p=a-1,f=0===a?i:[""],h=f.length,m=0,g=0,b=0;m0?f[y]+" "+E:eN(E,/&\f/g,f[y])).trim())&&(l[b++]=v);return eZ(e,t,n,0===a?e_:s,l,c,u,d)}function e2(e,t,n,r,a){return eZ(e,t,n,ek,eP(e,0,r),eP(e,r+1,-1),r,a)}var e3=n(94371),e5=n(83454),e4=void 0!==e5&&void 0!==e5.env&&(e5.env.REACT_APP_SC_ATTR||e5.env.SC_ATTR)||"data-styled",e6="active",e9="data-styled-version",e8="6.1.15",e7="/*!sc*/\n",te="undefined"!=typeof window&&"HTMLElement"in window,tt=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==e5&&void 0!==e5.env&&void 0!==e5.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==e5.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==e5.env.REACT_APP_SC_DISABLE_SPEEDY&&e5.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==e5&&void 0!==e5.env&&void 0!==e5.env.SC_DISABLE_SPEEDY&&""!==e5.env.SC_DISABLE_SPEEDY&&"false"!==e5.env.SC_DISABLE_SPEEDY&&e5.env.SC_DISABLE_SPEEDY),tn=Object.freeze([]),tr=Object.freeze({}),ta=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),ti=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,to=/(^-|-$)/g;function ts(e){return e.replace(ti,"-").replace(to,"")}var tl=/(a)(d)/gi,tc=function(e){return String.fromCharCode(e+(e>25?39:97))};function tu(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=tc(t%52)+n;return(tc(t%52)+n).replace(tl,"$1-$2")}var td,tp=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},tf=function(e){return tp(5381,e)};function th(e){return"string"==typeof e}var tm="function"==typeof Symbol&&Symbol.for,tg=tm?Symbol.for("react.memo"):60115,tb=tm?Symbol.for("react.forward_ref"):60112,ty={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},tE={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},tv={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},tT=((td={})[tb]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},td[tg]=tv,td);function tS(e){return("type"in e&&e.type.$$typeof)===tg?tv:"$$typeof"in e?tT[e.$$typeof]:ty}var tA=Object.defineProperty,tO=Object.getOwnPropertyNames,t_=Object.getOwnPropertySymbols,tk=Object.getOwnPropertyDescriptor,tx=Object.getPrototypeOf,tC=Object.prototype;function tw(e){return"function"==typeof e}function tI(e){return"object"==typeof e&&"styledComponentId"in e}function tR(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function tN(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r0?" Args: ".concat(t.join(", ")):""))}var tM=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,a=r;e>=a;)if((a<<=1)<0)throw tP(16,"".concat(e));this.groupSizes=new Uint32Array(a),this.groupSizes.set(n),this.length=a;for(var i=r;i=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),a=r+n,i=r;i=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e0&&(l+="".concat(e,","))}),r+="".concat(o).concat(s,'{content:"').concat(l,'"}').concat(e7)}}})(a);return r}(r)})}return e.registerId=function(e){return tU(e)},e.prototype.rehydrate=function(){!this.server&&te&&tW(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(eb(eb({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){var e,t,n,r;return this.tag||(this.tag=(n=(t=this.options).useCSSOMInjection,r=t.target,e=t.isServer?new tK(r):n?new tY(r):new tq(r),new tM(e)))},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(tU(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(tU(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(tU(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),t0=/&/g,t1=/^\s*\/\/.*$/gm;function t2(e){var t,n,r,a=void 0===e?tr:e,i=a.options,o=void 0===i?tr:i,s=a.plugins,l=void 0===s?tn:s,c=function(e,r,a){return a.startsWith(n)&&a.endsWith(n)&&a.replaceAll(n,"").length>0?".".concat(t):e},u=l.slice();u.push(function(e){e.type===e_&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(t0,n).replace(r,c))}),o.prefix&&u.push(e0),u.push(eJ);var d=function(e,a,i,s){void 0===a&&(a=""),void 0===i&&(i=""),void 0===s&&(s="&"),t=s,n=a,r=RegExp("\\".concat(n,"\\b"),"g");var l,c,d,p,f,h=e.replace(t1,""),m=(f=function e(t,n,r,a,i,o,s,l,c){for(var u,d=0,p=0,f=s,h=0,m=0,g=0,b=1,y=1,E=1,v=0,T="",S=i,A=o,O=a,_=T;y;)switch(g=v,v=eY()){case 40:if(108!=g&&58==eD(_,f-1)){-1!=eL(_+=eN(eX(v),"&","&\f"),"&\f",eC(d?l[d-1]:0))&&(E=-1);break}case 34:case 39:case 91:_+=eX(v);break;case 9:case 10:case 13:case 32:_+=function(e){for(;e$=eq();)if(e$<33)eY();else break;return eK(e)>2||eK(e$)>3?"":" "}(g);break;case 92:_+=function(e,t){for(var n;--t&&eY()&&!(e$<48)&&!(e$>102)&&(!(e$>57)||!(e$<65))&&(!(e$>70)||!(e$<97)););return n=eH+(t<6&&32==eq()&&32==eY()),eP(ez,e,n)}(eH-1,7);continue;case 47:switch(eq()){case 42:case 47:eF(eZ(u=function(e,t){for(;eY();)if(e+e$===57)break;else if(e+e$===84&&47===eq())break;return"/*"+eP(ez,t,eH-1)+"*"+ew(47===e?e:eY())}(eY(),eH),n,r,eO,ew(e$),eP(u,2,-2),0,c),c);break;default:_+="/"}break;case 123*b:l[d++]=eM(_)*E;case 125*b:case 59:case 0:switch(v){case 0:case 125:y=0;case 59+p:-1==E&&(_=eN(_,/\f/g,"")),m>0&&eM(_)-f&&eF(m>32?e2(_+";",a,r,f-1,c):e2(eN(_," ","")+";",a,r,f-2,c),c);break;case 59:_+=";";default:if(eF(O=e1(_,n,r,d,p,i,l,T,S=[],A=[],f,o),o),123===v){if(0===p)e(_,n,O,O,S,o,f,l,A);else switch(99===h&&110===eD(_,3)?100:h){case 100:case 108:case 109:case 115:e(t,O,O,a&&eF(e1(t,O,O,0,0,i,l,T,i,S=[],f,A),A),i,A,f,l,a?S:A);break;default:e(_,O,O,O,[""],A,0,l,A)}}}d=p=m=0,b=E=1,T=_="",f=s;break;case 58:f=1+eM(_),m=g;default:if(b<1){if(123==v)--b;else if(125==v&&0==b++&&125==(e$=eH>0?eD(ez,--eH):0,eU--,10===e$&&(eU=1,ej--),e$))continue}switch(_+=ew(v),v*b){case 38:E=p>0?1:(_+="\f",-1);break;case 44:l[d++]=(eM(_)-1)*E,E=1;break;case 64:45===eq()&&(_+=eX(eY())),h=eq(),p=f=eM(T=_+=function(e){for(;!eK(eq());)eY();return eP(ez,e,eH)}(eH)),v++;break;case 45:45===g&&2==eM(_)&&(b=0)}}return o}("",null,null,null,[""],(p=d=i||a?"".concat(i," ").concat(a," { ").concat(h," }"):h,ej=eU=1,eG=eM(ez=p),eH=0,d=[]),0,[0],d),ez="",f);o.namespace&&(m=function e(t,n){return t.map(function(t){return"rule"===t.type&&(t.value="".concat(n," ").concat(t.value),t.value=t.value.replaceAll(",",",".concat(n," ")),t.props=t.props.map(function(e){return"".concat(n," ").concat(e)})),Array.isArray(t.children)&&"@keyframes"!==t.type&&(t.children=e(t.children,n)),t})}(m,o.namespace));var g=[];return eQ(m,(c=(l=u.concat(function(e){var t;!e.root&&(e=e.return)&&(t=e,g.push(t))})).length,function(e,t,n,r){for(var a="",i=0;i="A"&&r<="Z"?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var nt=function(e){return null==e||!1===e||""===e},nn=function(e){var t=[];for(var n in e){var r=e[n];e.hasOwnProperty(n)&&!nt(r)&&(Array.isArray(r)&&r.isCss||tw(r)?t.push("".concat(ne(n),":"),r,";"):tL(r)?t.push.apply(t,ey(ey(["".concat(n," {")],nn(r),!1),["}"],!1)):t.push("".concat(ne(n),": ").concat(null==r||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||n in e3.Z||n.startsWith("--")?String(r).trim():"".concat(r,"px"),";")))}return t};function nr(e,t,n,r){return nt(e)?[]:tI(e)?[".".concat(e.styledComponentId)]:tw(e)?!tw(e)||e.prototype&&e.prototype.isReactComponent||!t?[e]:nr(e(t),t,n,r):e instanceof t7?n?(e.inject(n,r),[e.getName(r)]):[e]:tL(e)?nn(e):Array.isArray(e)?Array.prototype.concat.apply(tn,e.map(function(e){return nr(e,t,n,r)})):[e.toString()]}function na(e){for(var t=0;t>>0);if(!t.hasNameForId(this.componentId,i)){var o=n(a,".".concat(i),void 0,this.componentId);t.insertRules(this.componentId,i,o)}r=tR(r,i),this.staticRulesId=i}}else{for(var s=tp(this.baseHash,n.hash),l="",c=0;c>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(l,".".concat(p),void 0,this.componentId)),r=tR(r,p)}}return r},e}(),ns=eg.createContext(void 0);ns.Consumer;var nl={};function nc(e,t,n){var r,a,i,o,s=tI(e),l=!th(e),c=t.attrs,u=void 0===c?tn:c,d=t.componentId,p=void 0===d?(r=t.displayName,a=t.parentComponentId,nl[i="string"!=typeof r?"sc":ts(r)]=(nl[i]||0)+1,o="".concat(i,"-").concat(tu(tf(e8+i+nl[i])>>>0)),a?"".concat(a,"-").concat(o):o):d,f=t.displayName,h=void 0===f?th(e)?"styled.".concat(e):"Styled(".concat(e.displayName||e.name||"Component",")"):f,m=t.displayName&&t.componentId?"".concat(ts(t.displayName),"-").concat(t.componentId):t.componentId||p,g=s&&e.attrs?e.attrs.concat(u).filter(Boolean):u,b=t.shouldForwardProp;if(s&&e.shouldForwardProp){var y=e.shouldForwardProp;if(t.shouldForwardProp){var E=t.shouldForwardProp;b=function(e,t){return y(e,t)&&E(e,t)}}else b=y}var v=new no(n,m,s?e.componentStyle:void 0);function T(e,t){return function(e,t,n){var r,a,i=e.attrs,o=e.componentStyle,s=e.defaultProps,l=e.foldedComponentIds,c=e.styledComponentId,u=e.target,d=eg.useContext(ns),p=t9(),f=e.shouldForwardProp||p.shouldForwardProp,h=(void 0===(r=s)&&(r=tr),t.theme!==r.theme&&t.theme||d||r.theme||tr),m=function(e,t,n){for(var r,a=eb(eb({},t),{className:void 0,theme:n}),i=0;i2&&tJ.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=n.nc,a=tN([r&&'nonce="'.concat(r,'"'),"".concat(e4,'="true"'),"".concat(e9,'="').concat(e8,'"')].filter(Boolean)," ");return"")},this.getStyleTags=function(){if(e.sealed)throw tP(2);return e._emitSheetCSS()},this.getStyleElement=function(){if(e.sealed)throw tP(2);var t,r=e.instance.toString();if(!r)return[];var a=((t={})[e4]="",t[e9]=e8,t.dangerouslySetInnerHTML={__html:r},t),i=n.nc;return i&&(a.nonce=i),[eg.createElement("style",eb({},a,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new tJ({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw tP(2);return eg.createElement(t8,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw tP(3)}}();var nh=n(4942),nm=n(73935),ng=n.t(nm,2),nb=function(){return(nb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=18&&(J=ny.createRoot)}catch(e){}function nT(e){var t=ny.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"==typeof t&&(t.usingClientEntryPoint=e)}var nS="__rc_react_root__",nA=new Map;"undefined"!=typeof document&&nA.set("tooltip",document.createElement("div"));var nO=function(e,t){void 0===t&&(t=!1);var n=null;if(t)n=nA.get("tooltip");else if(n=document.createElement("div"),null==e?void 0:e.key){var r=nA.get(e.key);r?n=r:nA.set(e.key,n)}return!function(e,t){if(J){var n;nT(!0),n=t[nS]||J(t),nT(!1),n.render(e),t[nS]=n;return}nv(e,t)}(e,n),n},n_=function(e){if("undefined"==typeof document)return"loading";var t=e.attachShadow({mode:"open"}),n=document.createElement("div"),r=document.createElement("style");r.innerHTML=".loading {\n display: inline-block;\n position: relative;\n width: 80px;\n height: 80px;\n }\n .loading div {\n position: absolute;\n top: 33px;\n width: 13px;\n height: 13px;\n border-radius: 50%;\n background: #ccc;\n animation-timing-function: cubic-bezier(0, 1, 1, 0);\n }\n .loading div:nth-child(1) {\n left: 8px;\n animation: loading1 0.6s infinite;\n }\n .loading div:nth-child(2) {\n left: 8px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(3) {\n left: 32px;\n animation: loading2 0.6s infinite;\n }\n .loading div:nth-child(4) {\n left: 56px;\n animation: loading3 0.6s infinite;\n }\n @keyframes loading1 {\n 0% {\n transform: scale(0);\n }\n 100% {\n transform: scale(1);\n }\n }\n @keyframes loading3 {\n 0% {\n transform: scale(1);\n }\n 100% {\n transform: scale(0);\n }\n }\n @keyframes loading2 {\n 0% {\n transform: translate(0, 0);\n }\n 100% {\n transform: translate(24px, 0);\n }\n }\n ",n.classList.add("loading"),n.innerHTML="
",t.appendChild(r),t.appendChild(n)},nk=function(e){var t=e.loadingTemplate,n=e.theme,r=eg.useRef(null);return eg.useEffect(function(){!t&&r.current&&n_(r.current)},[]),eg.createElement("div",{className:"charts-loading-container",style:{position:"absolute",width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",left:0,top:0,zIndex:99,backgroundColor:"dark"===(void 0===n?"light":n)?"rgb(20, 20, 20)":"rgb(255, 255, 255)"}},t||eg.createElement("div",{ref:r}))},nx=(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),nC=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={hasError:!1},t.renderError=function(e){var n=t.props.errorTemplate;return"function"==typeof n?n(e):n||eg.createElement("h5",null,"组件出错了,请核查后重试: ",e.message)},t}return nx(t,e),t.getDerivedStateFromError=function(e){return{hasError:!0,error:e}},t.getDerivedStateFromProps=function(e,t){return t.children!==e.children?{children:e.children,hasError:!1,error:void 0}:null},t.prototype.render=function(){return this.state.hasError?this.renderError(this.state.error):eg.createElement(eg.Fragment,null,this.props.children)},t}(eg.Component),nw=function(e,t,n){if(n||2==arguments.length)for(var r,a=0,i=t.length;a90)return this;this.computeMatrix()}return this._getAxes(),this.type===nN.iM.ORBITING||this.type===nN.iM.EXPLORING?this._getPosition():this.type===nN.iM.TRACKING&&this._getFocalPoint(),this._update(),this}},{key:"pan",value:function(e,t){var n=(0,nN.O4)(e,t,0),r=nG.d9(this.position);return nG.IH(r,r,nG.bA(nG.Ue(),this.right,n[0])),nG.IH(r,r,nG.bA(nG.Ue(),this.up,n[1])),this._setPosition(r),this.triggerUpdate(),this}},{key:"dolly",value:function(e){var t=this.forward,n=nG.d9(this.position),r=e*this.dollyingStep;return r=Math.max(Math.min(this.distance+e*this.dollyingStep,this.maxDistance),this.minDistance)-this.distance,n[0]+=r*t[0],n[1]+=r*t[1],n[2]+=r*t[2],this._setPosition(n),this.type===nN.iM.ORBITING||this.type===nN.iM.EXPLORING?this._getDistance():this.type===nN.iM.TRACKING&&nG.IH(this.focalPoint,n,this.distanceVector),this.triggerUpdate(),this}},{key:"cancelLandmarkAnimation",value:function(){void 0!==this.landmarkAnimationID&&this.canvas.cancelAnimationFrame(this.landmarkAnimationID)}},{key:"createLandmark",value:function(e){var t,n,r,a,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=i.position,s=void 0===o?this.position:o,l=i.focalPoint,c=void 0===l?this.focalPoint:l,u=i.roll,d=i.zoom,p=new nN.GZ.CameraContribution;p.setType(this.type,void 0),p.setPosition(s[0],null!==(t=s[1])&&void 0!==t?t:this.position[1],null!==(n=s[2])&&void 0!==n?n:this.position[2]),p.setFocalPoint(c[0],null!==(r=c[1])&&void 0!==r?r:this.focalPoint[1],null!==(a=c[2])&&void 0!==a?a:this.focalPoint[2]),p.setRoll(null!=u?u:this.roll),p.setZoom(null!=d?d:this.zoom);var f={name:e,matrix:nU.clone(p.getWorldTransform()),right:nG.d9(p.right),up:nG.d9(p.up),forward:nG.d9(p.forward),position:nG.d9(p.getPosition()),focalPoint:nG.d9(p.getFocalPoint()),distanceVector:nG.d9(p.getDistanceVector()),distance:p.getDistance(),dollyingStep:p.getDollyingStep(),azimuth:p.getAzimuth(),elevation:p.getElevation(),roll:p.getRoll(),relAzimuth:p.relAzimuth,relElevation:p.relElevation,relRoll:p.relRoll,zoom:p.getZoom()};return this.landmarks.push(f),f}},{key:"gotoLandmark",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=nB(e,"String")?this.landmarks.find(function(t){return t.name===e}):e;if(r){var a,i=nB(n,"Number")?{duration:n}:n,o=i.easing,s=void 0===o?"linear":o,l=i.duration,c=void 0===l?100:l,u=i.easingFunction,d=i.onfinish,p=void 0===d?void 0:d,f=i.onframe,h=void 0===f?void 0:f;this.cancelLandmarkAnimation();var m=r.position,g=r.focalPoint,b=r.zoom,y=r.roll,E=(void 0===u?void 0:u)||nN.GZ.EasingFunction(s),v=function(){t.setFocalPoint(g),t.setPosition(m),t.setRoll(y),t.setZoom(b),t.computeMatrix(),t.triggerUpdate(),null==p||p()};if(0===c)return v();var T=function(e){void 0===a&&(a=e);var n=e-a;if(n>=c){v();return}var r=E(n/c),i=nG.Ue(),o=nG.Ue(),s=1,l=0;if(nG.t7(i,t.focalPoint,g,r),nG.t7(o,t.position,m,r),l=t.roll*(1-r)+y*r,s=t.zoom*(1-r)+b*r,t.setFocalPoint(i),t.setPosition(o),t.setRoll(l),t.setZoom(s),nG.TK(i,g)+nG.TK(o,m)<=.01&&void 0===b&&void 0===y)return v();t.computeMatrix(),t.triggerUpdate(),nn?n:e},nW={}.toString,nV=function(e){return null==e},nY=function(e){function t(e,n,r,a){var i;return(0,nL.Z)(this,t),(i=(0,nP.Z)(this,t,[e])).currentTime=r,i.timelineTime=a,i.target=n,i.type="finish",i.bubbles=!1,i.currentTarget=n,i.defaultPrevented=!1,i.eventPhase=i.AT_TARGET,i.timeStamp=Date.now(),i.currentTime=r,i.timelineTime=a,i}return(0,nM.Z)(t,e),(0,nD.Z)(t)}(nN.xA),nq=0,nK=(0,nD.Z)(function e(t,n){var r;(0,nL.Z)(this,e),this.currentTimePending=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._playbackRate=1,this._inTimeline=!0,this.effect=t,t.animation=this,this.timeline=n,this.id="".concat(nq++),this._inEffect=!!this.effect.update(0),this._totalDuration=Number(null===(r=this.effect)||void 0===r?void 0:r.getComputedTiming().endTime),this._holdTime=0,this._paused=!1,this.oldPlayState="idle",this.updatePromises()},[{key:"pending",get:function(){return null===this._startTime&&!this._paused&&0!==this.playbackRate||this.currentTimePending}},{key:"playState",get:function(){return this._idle?"idle":this._isFinished?"finished":this._paused?"paused":"running"}},{key:"ready",get:function(){var e=this;return this.readyPromise||(-1===this.timeline.animationsWithPromises.indexOf(this)&&this.timeline.animationsWithPromises.push(this),this.readyPromise=new Promise(function(t,n){e.resolveReadyPromise=function(){t(e)},e.rejectReadyPromise=function(){n(Error())}}),this.pending||this.resolveReadyPromise()),this.readyPromise}},{key:"finished",get:function(){var e=this;return this.finishedPromise||(-1===this.timeline.animationsWithPromises.indexOf(this)&&this.timeline.animationsWithPromises.push(this),this.finishedPromise=new Promise(function(t,n){e.resolveFinishedPromise=function(){t(e)},e.rejectFinishedPromise=function(){n(Error())}}),"finished"===this.playState&&this.resolveFinishedPromise()),this.finishedPromise}},{key:"currentTime",get:function(){return this.updatePromises(),this._idle||this.currentTimePending?null:this._currentTime},set:function(e){if(!isNaN(e=Number(e))){if(this.timeline.restart(),!this._paused&&null!==this._startTime){var t;this._startTime=Number(null===(t=this.timeline)||void 0===t?void 0:t.currentTime)-e/this.playbackRate}this.currentTimePending=!1,this._currentTime!==e&&(this._idle&&(this._idle=!1,this._paused=!0),this.tickCurrentTime(e,!0),this.timeline.applyDirtiedAnimation(this))}}},{key:"startTime",get:function(){return this._startTime},set:function(e){null!==e&&(this.updatePromises(),!isNaN(e=Number(e))&&(this._paused||this._idle||(this._startTime=e,this.tickCurrentTime((Number(this.timeline.currentTime)-this._startTime)*this.playbackRate),this.timeline.applyDirtiedAnimation(this),this.updatePromises())))}},{key:"playbackRate",get:function(){return this._playbackRate},set:function(e){if(e!==this._playbackRate){this.updatePromises();var t=this.currentTime;this._playbackRate=e,this.startTime=null,"paused"!==this.playState&&"idle"!==this.playState&&(this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this)),null!==t&&(this.currentTime=t),this.updatePromises()}}},{key:"_isFinished",get:function(){return!this._idle&&(this._playbackRate>0&&Number(this._currentTime)>=this._totalDuration||this._playbackRate<0&&0>=Number(this._currentTime))}},{key:"totalDuration",get:function(){return this._totalDuration}},{key:"_needsTick",get:function(){return this.pending||"running"===this.playState||!this._finishedFlag}},{key:"updatePromises",value:function(){var e=this.oldPlayState,t=this.pending?"pending":this.playState;return this.readyPromise&&t!==e&&("idle"===t?(this.rejectReadyPromise(),this.readyPromise=void 0):"pending"===e?this.resolveReadyPromise():"pending"===t&&(this.readyPromise=void 0)),this.finishedPromise&&t!==e&&("idle"===t?(this.rejectFinishedPromise(),this.finishedPromise=void 0):"finished"===t?this.resolveFinishedPromise():"finished"===e&&(this.finishedPromise=void 0)),this.oldPlayState=t,this.readyPromise||this.finishedPromise}},{key:"play",value:function(){this.updatePromises(),this._paused=!1,(this._isFinished||this._idle)&&(this.rewind(),this._startTime=null),this._finishedFlag=!1,this._idle=!1,this.ensureAlive(),this.timeline.applyDirtiedAnimation(this),-1===this.timeline.animations.indexOf(this)&&this.timeline.animations.push(this),this.updatePromises()}},{key:"pause",value:function(){this.updatePromises(),this.currentTime&&(this._holdTime=this.currentTime),this._isFinished||this._paused||this._idle?this._idle&&(this.rewind(),this._idle=!1):this.currentTimePending=!0,this._startTime=null,this._paused=!0,this.updatePromises()}},{key:"finish",value:function(){this.updatePromises(),this._idle||(this.currentTime=this._playbackRate>0?this._totalDuration:0,this._startTime=this._totalDuration-this.currentTime,this.currentTimePending=!1,this.timeline.applyDirtiedAnimation(this),this.updatePromises())}},{key:"cancel",value:function(){var e=this;if(this.updatePromises(),this._inEffect&&(this._inEffect=!1,this._idle=!0,this._paused=!1,this._finishedFlag=!0,this._currentTime=0,this._startTime=null,this.effect.update(null),this.timeline.applyDirtiedAnimation(this),this.updatePromises(),this.oncancel)){var t=new nY(null,this,this.currentTime,null);setTimeout(function(){e.oncancel(t)})}}},{key:"reverse",value:function(){this.updatePromises();var e=this.currentTime;this.playbackRate*=-1,this.play(),null!==e&&(this.currentTime=e),this.updatePromises()}},{key:"updatePlaybackRate",value:function(e){this.playbackRate=e}},{key:"targetAnimations",value:function(){var e;return(null===(e=this.effect)||void 0===e?void 0:e.target).getAnimations()}},{key:"markTarget",value:function(){var e=this.targetAnimations();-1===e.indexOf(this)&&e.push(this)}},{key:"unmarkTarget",value:function(){var e=this.targetAnimations(),t=e.indexOf(this);-1!==t&&e.splice(t,1)}},{key:"tick",value:function(e,t){this._idle||this._paused||(null===this._startTime?t&&(this.startTime=e-this._currentTime/this.playbackRate):this._isFinished||this.tickCurrentTime((e-this._startTime)*this.playbackRate)),t&&(this.currentTimePending=!1,this.fireEvents(e))}},{key:"rewind",value:function(){if(this.playbackRate>=0)this.currentTime=0;else if(this._totalDuration<1/0)this.currentTime=this._totalDuration;else throw Error("Unable to rewind negative playback rate animation with infinite duration")}},{key:"persist",value:function(){throw Error(nN.jf)}},{key:"addEventListener",value:function(e,t,n){throw Error(nN.jf)}},{key:"removeEventListener",value:function(e,t,n){throw Error(nN.jf)}},{key:"dispatchEvent",value:function(e){throw Error(nN.jf)}},{key:"commitStyles",value:function(){throw Error(nN.jf)}},{key:"ensureAlive",value:function(){var e,t;this.playbackRate<0&&0===this.currentTime?this._inEffect=!!(null!==(e=this.effect)&&void 0!==e&&e.update(-1)):this._inEffect=!!(null!==(t=this.effect)&&void 0!==t&&t.update(this.currentTime)),this._inTimeline||!this._inEffect&&this._finishedFlag||(this._inTimeline=!0,this.timeline.animations.push(this))}},{key:"tickCurrentTime",value:function(e,t){e!==this._currentTime&&(this._currentTime=e,this._isFinished&&!t&&(this._currentTime=this._playbackRate>0?this._totalDuration:0),this.ensureAlive())}},{key:"fireEvents",value:function(e){var t=this;if(this._isFinished){if(!this._finishedFlag){if(this.onfinish){var n=new nY(null,this,this.currentTime,e);setTimeout(function(){t.onfinish&&t.onfinish(n)})}this._finishedFlag=!0}}else{if(this.onframe&&"running"===this.playState){var r=new nY(null,this,this.currentTime,e);this.onframe(r)}this._finishedFlag=!1}}}]),nX="function"==typeof Float32Array,nQ=function(e,t){return 1-3*t+3*e},nJ=function(e,t){return 3*t-6*e},n0=function(e){return 3*e},n1=function(e,t,n){return((nQ(t,n)*e+nJ(t,n))*e+n0(t))*e},n2=function(e,t,n){return 3*nQ(t,n)*e*e+2*nJ(t,n)*e+n0(t)},n3=function(e,t,n,r,a){var i,o,s=0;do(i=n1(o=t+(n-t)/2,r,a)-e)>0?n=o:t=o;while(Math.abs(i)>1e-7&&++s<10);return o},n5=function(e,t,n,r){for(var a=0;a<4;++a){var i=n2(t,n,r);if(0===i)break;var o=n1(t,n,r)-e;t-=o/i}return t},n4=function(e,t,n,r){if(!(e>=0&&e<=1&&n>=0&&n<=1))throw Error("bezier x values must be in [0, 1] range");if(e===t&&n===r)return function(e){return e};for(var a=nX?new Float32Array(11):Array(11),i=0;i<11;++i)a[i]=n1(.1*i,e,n);var o=function(t){for(var r=0,i=1;10!==i&&a[i]<=t;++i)r+=.1;var o=r+(t-a[--i])/(a[i+1]-a[i])*.1,s=n2(o,e,n);return s>=.001?n5(t,o,e,n):0===s?o:n3(t,r,r+.1,e,n)};return function(e){return 0===e||1===e?e:n1(o(e),t,r)}},n6=function(e){return Math.pow(e,2)},n9=function(e){return Math.pow(e,3)},n8=function(e){return Math.pow(e,4)},n7=function(e){return Math.pow(e,5)},re=function(e){return Math.pow(e,6)},rt=function(e){return 1-Math.cos(e*Math.PI/2)},rn=function(e){return 1-Math.sqrt(1-e*e)},rr=function(e){return e*e*(3*e-2)},ra=function(e){for(var t,n=4;e<((t=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*t-2)/22-e,2)},ri=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,2),r=n[0],a=n[1],i=nZ(Number(void 0===r?1:r),1,10),o=nZ(Number(void 0===a?.5:a),.1,2);return 0===e||1===e?e:-i*Math.pow(2,10*(e-1))*Math.sin((e-1-o/(2*Math.PI)*Math.asin(1/i))*(2*Math.PI)/o)},ro=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,r=(0,nz.Z)(t,4),a=r[0],i=void 0===a?1:a,o=r[1],s=void 0===o?100:o,l=r[2],c=void 0===l?10:l,u=r[3],d=void 0===u?0:u;i=nZ(i,.1,1e3),s=nZ(s,.1,1e3),c=nZ(c,.1,1e3),d=nZ(d,.1,1e3);var p=Math.sqrt(s/i),f=c/(2*Math.sqrt(s*i)),h=f<1?p*Math.sqrt(1-f*f):0,m=f<1?(f*p+-d)/h:-d+p,g=n?n*e/1e3:e;return(g=f<1?Math.exp(-g*f*p)*(1*Math.cos(h*g)+m*Math.sin(h*g)):(1+m*g)*Math.exp(-g*p),0===e||1===e)?e:1-g},rs=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,2),r=n[0],a=void 0===r?10:r;return("start"===n[1]?Math.ceil:Math.floor)(nZ(e,0,1)*a)/a},rl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,nz.Z)(t,4);return n4(n[0],n[1],n[2],n[3])(e)},rc=n4(.42,0,1,1),ru=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return 1-e(1-t,n,r)}},rd=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return t<.5?e(2*t,n,r)/2:1-e(-2*t+2,n,r)/2}},rp=function(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0;return t<.5?(1-e(1-2*t,n,r))/2:(e(2*t-1,n,r)+1)/2}},rf={steps:rs,"step-start":function(e){return rs(e,[1,"start"])},"step-end":function(e){return rs(e,[1,"end"])},linear:function(e){return e},"cubic-bezier":rl,ease:function(e){return rl(e,[.25,.1,.25,1])},in:rc,out:ru(rc),"in-out":rd(rc),"out-in":rp(rc),"in-quad":n6,"out-quad":ru(n6),"in-out-quad":rd(n6),"out-in-quad":rp(n6),"in-cubic":n9,"out-cubic":ru(n9),"in-out-cubic":rd(n9),"out-in-cubic":rp(n9),"in-quart":n8,"out-quart":ru(n8),"in-out-quart":rd(n8),"out-in-quart":rp(n8),"in-quint":n7,"out-quint":ru(n7),"in-out-quint":rd(n7),"out-in-quint":rp(n7),"in-expo":re,"out-expo":ru(re),"in-out-expo":rd(re),"out-in-expo":rp(re),"in-sine":rt,"out-sine":ru(rt),"in-out-sine":rd(rt),"out-in-sine":rp(rt),"in-circ":rn,"out-circ":ru(rn),"in-out-circ":rd(rn),"out-in-circ":rp(rn),"in-back":rr,"out-back":ru(rr),"in-out-back":rd(rr),"out-in-back":rp(rr),"in-bounce":ra,"out-bounce":ru(ra),"in-out-bounce":rd(ra),"out-in-bounce":rp(ra),"in-elastic":ri,"out-elastic":ru(ri),"in-out-elastic":rd(ri),"out-in-elastic":rp(ri),spring:ro,"spring-in":ro,"spring-out":ru(ro),"spring-in-out":rd(ro),"spring-out-in":rp(ro)},rh=function(e){var t;return("-"===(t=(t=e).replace(/([A-Z])/g,function(e){return"-".concat(e.toLowerCase())})).charAt(0)?t.substring(1):t).replace(/^ease-/,"").replace(/(\(|\s).+/,"").toLowerCase().trim()},rm=function(e){return e};function rg(e,t){return function(n){if(n>=1)return 1;var r=1/e;return(n+=t*r)-n%r}}var rb="\\s*(-?\\d+\\.?\\d*|-?\\.\\d+)\\s*",ry=new RegExp("cubic-bezier\\(".concat(rb,",").concat(rb,",").concat(rb,",").concat(rb,"\\)")),rE=/steps\(\s*(\d+)\s*\)/,rv=/steps\(\s*(\d+)\s*,\s*(start|middle|end)\s*\)/;function rT(e){var t=ry.exec(e);if(t)return n4.apply(void 0,(0,n$.Z)(t.slice(1).map(Number)));var n=rE.exec(e);if(n)return rg(Number(n[1]),0);var r=rv.exec(e);return r?rg(Number(r[1]),{start:1,middle:.5,end:0}[r[2]]):rf[rh(e)]||rf.linear}function rS(e){return"offset"!==e&&"easing"!==e&&"composite"!==e&&"computedOffset"!==e}var rA=function(e,t,n){return function(r){var a,i=function e(t,n,r){if("number"==typeof t&&"number"==typeof n)return t*(1-r)+n*r;if("boolean"==typeof t&&"boolean"==typeof n||"string"==typeof t&&"string"==typeof n)return r<.5?t:n;if(Array.isArray(t)&&Array.isArray(n)){for(var a=t.length,i=n.length,o=Math.max(a,i),s=[],l=0;l1)throw Error("Keyframe offsets must be between 0 and 1.");n.computedOffset=a}}else if("composite"===r&&-1===["replace","add","accumulate","auto"].indexOf(a))throw Error("".concat(a," compositing is not supported"));n[r]=a}return void 0===n.offset&&(n.offset=null),void 0===n.easing&&(n.easing=(null==t?void 0:t.easing)||"linear"),void 0===n.composite&&(n.composite="auto"),n}),r=!0,a=-1/0,i=0;i=0&&1>=Number(e.offset)}),r||function(){var e,t,r=n.length;n[r-1].computedOffset=Number(null!==(e=n[r-1].offset)&&void 0!==e?e:1),r>1&&(n[0].computedOffset=Number(null!==(t=n[0].offset)&&void 0!==t?t:0));for(var a=0,i=Number(n[0].computedOffset),o=1;o=e.applyFrom&&t=Math.min(n.delay+e+n.endDelay,r)?2:3}(e,t,n),u=function(e,t,n,r,a){switch(r){case 1:if("backwards"===t||"both"===t)return 0;return null;case 3:return n-a;case 2:if("forwards"===t||"both"===t)return e;return null;case 0:return null}}(e,n.fill,t,c,n.delay);if(null===u)return null;var d="auto"===n.duration?0:n.duration,p=(r=n.iterations,a=n.iterationStart,0===d?1!==c&&(a+=r):a+=u/d,a),f=(i=n.iterationStart,o=n.iterations,0==(s=p===1/0?i%1:p%1)&&2===c&&0!==o&&(0!==u||0===d)&&(s=1),s),h=(l=n.iterations,2===c&&l===1/0?1/0:1===f?Math.floor(p)-1:Math.floor(p)),m=function(e,t,n){var r=e;if("normal"!==e&&"reverse"!==e){var a=t;"alternate-reverse"===e&&(a+=1),r="normal",a!==1/0&&a%2!=0&&(r="reverse")}return"normal"===r?n:1-n}(n.direction,h,f);return n.currentIteration=h,n.progress=m,n.easingFunction(m)}(this.timing.activeDuration,e,this.timing),null!==this.timeFraction)}},{key:"getKeyframes",value:function(){return this.normalizedKeyframes}},{key:"setKeyframes",value:function(e){this.normalizedKeyframes=r_(e)}},{key:"getComputedTiming",value:function(){return this.computedTiming}},{key:"getTiming",value:function(){return this.timing}},{key:"updateTiming",value:function(e){var t=this;Object.keys(e||{}).forEach(function(n){t.timing[n]=e[n]})}}]);function rw(e,t){return Number(e.id)-Number(t.id)}var rI=(0,nD.Z)(function e(t){var n=this;(0,nL.Z)(this,e),this.animations=[],this.ticking=!1,this.timelineTicking=!1,this.hasRestartedThisFrame=!1,this.animationsWithPromises=[],this.inTick=!1,this.pendingEffects=[],this.currentTime=null,this.rafId=0,this.rafCallbacks=[],this.webAnimationsNextTick=function(e){n.currentTime=e,n.discardAnimations(),0===n.animations.length?n.timelineTicking=!1:n.requestAnimationFrame(n.webAnimationsNextTick)},this.processRafCallbacks=function(e){var t=n.rafCallbacks;n.rafCallbacks=[],et.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let rN=(e,t,n)=>[["M",e-n,t],["A",n,n,0,1,0,e+n,t],["A",n,n,0,1,0,e-n,t],["Z"]];rN.style=["fill"];let rL=rN.bind(void 0);rL.style=["stroke","lineWidth"];let rD=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t-n],["L",e+n,t+n],["L",e-n,t+n],["Z"]];rD.style=["fill"];let rP=rD.bind(void 0);rP.style=["fill"];let rM=rD.bind(void 0);rM.style=["stroke","lineWidth"];let rF=(e,t,n)=>{let r=.618*n;return[["M",e-r,t],["L",e,t-n],["L",e+r,t],["L",e,t+n],["Z"]]};rF.style=["fill"];let rB=rF.bind(void 0);rB.style=["stroke","lineWidth"];let rj=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t+r],["L",e,t-r],["L",e+n,t+r],["Z"]]};rj.style=["fill"];let rU=rj.bind(void 0);rU.style=["stroke","lineWidth"];let rG=(e,t,n)=>{let r=n*Math.sin(1/3*Math.PI);return[["M",e-n,t-r],["L",e+n,t-r],["L",e,t+r],["Z"]]};rG.style=["fill"];let rH=rG.bind(void 0);rH.style=["stroke","lineWidth"];let r$=(e,t,n)=>{let r=n/2*Math.sqrt(3);return[["M",e,t-n],["L",e+r,t-n/2],["L",e+r,t+n/2],["L",e,t+n],["L",e-r,t+n/2],["L",e-r,t-n/2],["Z"]]};r$.style=["fill"];let rz=r$.bind(void 0);rz.style=["stroke","lineWidth"];let rZ=(e,t,n)=>{let r=n-1.5;return[["M",e-n,t-r],["L",e+n,t+r],["L",e+n,t-r],["L",e-n,t+r],["Z"]]};rZ.style=["fill"];let rW=rZ.bind(void 0);rW.style=["stroke","lineWidth"];let rV=(e,t,n)=>[["M",e,t+n],["L",e,t-n]];rV.style=["stroke","lineWidth"];let rY=(e,t,n)=>[["M",e-n,t-n],["L",e+n,t+n],["M",e+n,t-n],["L",e-n,t+n]];rY.style=["stroke","lineWidth"];let rq=(e,t,n)=>[["M",e-n/2,t-n],["L",e+n/2,t-n],["M",e,t-n],["L",e,t+n],["M",e-n/2,t+n],["L",e+n/2,t+n]];rq.style=["stroke","lineWidth"];let rK=(e,t,n)=>[["M",e-n,t],["L",e+n,t],["M",e,t-n],["L",e,t+n]];rK.style=["stroke","lineWidth"];let rX=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rX.style=["stroke","lineWidth"];let rQ=(e,t,n)=>[["M",e-n,t],["L",e+n,t]];rQ.style=["stroke","lineWidth"];let rJ=rQ.bind(void 0);rJ.style=["stroke","lineWidth"];let r0=(e,t,n)=>[["M",e-n,t],["A",n/2,n/2,0,1,1,e,t],["A",n/2,n/2,0,1,0,e+n,t]];r0.style=["stroke","lineWidth"];let r1=(e,t,n)=>[["M",e-n-1,t-2.5],["L",e,t-2.5],["L",e,t+2.5],["L",e+n+1,t+2.5]];r1.style=["stroke","lineWidth"];let r2=(e,t,n)=>[["M",e-n-1,t+2.5],["L",e,t+2.5],["L",e,t-2.5],["L",e+n+1,t-2.5]];r2.style=["stroke","lineWidth"];let r3=(e,t,n)=>[["M",e-(n+1),t+2.5],["L",e-n/2,t+2.5],["L",e-n/2,t-2.5],["L",e+n/2,t-2.5],["L",e+n/2,t+2.5],["L",e+n+1,t+2.5]];r3.style=["stroke","lineWidth"];let r5=(e,t,n)=>[["M",e-5,t+2.5],["L",e-5,t],["L",e,t],["L",e,t-3],["L",e,t+3],["L",e+6.5,t+3]];r5.style=["stroke","lineWidth"];let r4=new Map([["bowtie",rZ],["cross",rY],["dash",rJ],["diamond",rF],["dot",rQ],["hexagon",r$],["hollowBowtie",rW],["hollowDiamond",rB],["hollowHexagon",rz],["hollowPoint",rL],["hollowSquare",rM],["hollowTriangle",rU],["hollowTriangleDown",rH],["hv",r1],["hvh",r3],["hyphen",rX],["line",rV],["plus",rK],["point",rN],["rect",rP],["smooth",r0],["square",rD],["tick",rq],["triangleDown",rG],["triangle",rj],["vh",r2],["vhv",r5]]),r6={};function r9(e,t){if(e.startsWith("symbol.")){var n;n=e.split(".").pop(),r4.set(n,t)}else Object.assign(r6,{[e]:t})}var r8=n(88998);/*! * @antv/g-plugin-canvas-path-generator * @description A G plugin of path generator with Canvas2D API * @version 2.1.16 @@ -42,11 +42,11 @@ L ${e+n} ${t+n} L ${e-n} ${t+n} Z - `}};var SX=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let SQ=(e="circle")=>SK[e]||SK.circle,SJ=(e,t)=>{if(!t)return;let{coordinate:n}=t,{liquidOptions:r,styleOptions:a}=e,{liquidShape:i,percent:o}=r,{background:s,outline:l={},wave:c={}}=a,u=SX(a,["background","outline","wave"]),{border:d=2,distance:p=0}=l,f=SX(l,["border","distance"]),{length:h=192,count:m=3}=c;return(e,r,a)=>{let{document:l}=t.canvas,{color:c,fillOpacity:g}=a,b=Object.assign(Object.assign({fill:c},a),u),y=l.createElement("g",{}),[E,v]=n.getCenter(),T=n.getSize(),S=Math.min(...T)/2,A=ox(i)?i:SQ(i),O=A(E,v,S,...T);if(Object.keys(s).length){let e=l.createElement("path",{style:Object.assign({d:O,fill:"#fff"},s)});y.appendChild(e)}if(o>0){let e=l.createElement("path",{style:{d:O}});y.appendChild(e),y.style.clipPath=e,function(e,t,n,r,a,i,o,s,l,c,u){let{fill:d,fillOpacity:p,opacity:f}=a;for(let a=0;a0;)c-=2*Math.PI;c=c/Math.PI/2*n;let u=i-e+c-2*e;l.push(["M",u,t]);let d=0;for(let e=0;et.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let S1={axis:{x:!1,y:!1},legend:!1,tooltip:!1,encode:{x:"type",y:"percent"},scale:{y:{domain:[0,1]}},style:{shape:SJ},animate:{enter:{type:"fadeIn"}}},S2={type:"text",style:{x:"50%",y:"50%",textAlign:"center",textBaseline:"middle",fontSize:20,fontWeight:800,fill:"#888"},animate:{enter:{type:"fadeIn"}}},S3=e=>{let{data:t={},style:n={},animate:r}=e,a=S0(e,["data","style","animate"]),i=Math.max(0,oQ(t)?t:null==t?void 0:t.percent),o=[{percent:i,type:"liquid"}],s=Object.assign(Object.assign({},iN(n,"text")),iN(n,"content")),l=iN(n,"outline"),c=iN(n,"wave"),u=iN(n,"background");return[iT({},S1,Object.assign({type:"interval",data:o,style:{liquidOptions:{percent:i,liquidShape:null==n?void 0:n.shape},styleOptions:Object.assign(Object.assign({},n),{outline:l,wave:c,background:u})},animate:r},a)),iT({},S2,{style:Object.assign({text:`${i3(100*i)} %`},s),animate:r})]};S3.props={};var S5=n(69916);function S4(e,t){let n=function(e){let t=[];for(let n=0;nt[n].radius+1e-10)return!1;return!0}(t,e)}),a=0,i=0,o,s=[];if(r.length>1){let t=function(e){let t={x:0,y:0};for(let n=0;n-1){let a=e[t.parentIndex[r]],i=Math.atan2(t.x-a.x,t.y-a.y),o=Math.atan2(n.x-a.x,n.y-a.y),s=o-i;s<0&&(s+=2*Math.PI);let u=o-s/2,d=S9(l,{x:a.x+a.radius*Math.sin(u),y:a.y+a.radius*Math.cos(u)});d>2*a.radius&&(d=2*a.radius),(null===c||c.width>d)&&(c={circle:a,width:d,p1:t,p2:n})}null!==c&&(s.push(c),a+=S6(c.circle.radius,c.width),n=t)}}else{let t=e[0];for(o=1;oMath.abs(t.radius-e[o].radius)){n=!0;break}n?a=i=0:(a=t.radius*t.radius*Math.PI,s.push({circle:t,p1:{x:t.x,y:t.y+t.radius},p2:{x:t.x-1e-10,y:t.y+t.radius},width:2*t.radius}))}return i/=2,t&&(t.area=a+i,t.arcArea=a,t.polygonArea=i,t.arcs=s,t.innerPoints=r,t.intersectionPoints=n),a+i}function S6(e,t){return e*e*Math.acos(1-t/e)-(e-t)*Math.sqrt(t*(2*e-t))}function S9(e,t){return Math.sqrt((e.x-t.x)*(e.x-t.x)+(e.y-t.y)*(e.y-t.y))}function S8(e,t,n){if(n>=e+t)return 0;if(n<=Math.abs(e-t))return Math.PI*Math.min(e,t)*Math.min(e,t);let r=e-(n*n-t*t+e*e)/(2*n),a=t-(n*n-e*e+t*t)/(2*n);return S6(e,r)+S6(t,a)}function S7(e,t){let n=S9(e,t),r=e.radius,a=t.radius;if(n>=r+a||n<=Math.abs(r-a))return[];let i=(r*r-a*a+n*n)/(2*n),o=Math.sqrt(r*r-i*i),s=e.x+i*(t.x-e.x)/n,l=e.y+i*(t.y-e.y)/n,c=-(t.y-e.y)*(o/n),u=-(t.x-e.x)*(o/n);return[{x:s+c,y:l-u},{x:s-c,y:l+u}]}function Ae(e,t,n){return Math.min(e,t)*Math.min(e,t)*Math.PI<=n+1e-10?Math.abs(e-t):(0,S5.bisect)(function(r){return S8(e,t,r)-n},0,e+t)}function At(e,t){let n=function(e,t){let n;let r=t&&t.lossFunction?t.lossFunction:An,a={},i={};for(let t=0;t=Math.min(a[o].size,a[s].size)&&(r=0),i[o].push({set:s,size:n.size,weight:r}),i[s].push({set:o,size:n.size,weight:r})}let o=[];for(n in i)if(i.hasOwnProperty(n)){let e=0;for(let t=0;t=8){let a=function(e,t){let n,r,a;t=t||{};let i=t.restarts||10,o=[],s={};for(n=0;n=Math.min(t[i].size,t[o].size)?u=1:e.size<=1e-10&&(u=-1),a[i][o]=a[o][i]=u}),{distances:r,constraints:a}}(e,o,s),c=l.distances,u=l.constraints,d=(0,S5.norm2)(c.map(S5.norm2))/c.length;c=c.map(function(e){return e.map(function(e){return e/d})});let p=function(e,t){return function(e,t,n,r){let a=0,i;for(i=0;i0&&h<=d||p<0&&h>=d||(a+=2*m*m,t[2*i]+=4*m*(o-c),t[2*i+1]+=4*m*(s-u),t[2*l]+=4*m*(c-o),t[2*l+1]+=4*m*(u-s))}}return a}(e,t,c,u)};for(n=0;n{let{sets:t="sets",size:n="size",as:r=["key","path"],padding:a=0}=e,[i,o]=r;return e=>{let r;let s=e.map(e=>Object.assign(Object.assign({},e),{sets:e[t],size:e[n],[i]:e.sets.join("&")}));s.sort((e,t)=>e.sets.length-t.sets.length);let l=function(e,t){let n;(t=t||{}).maxIterations=t.maxIterations||500;let r=t.initialLayout||At,a=t.lossFunction||An;e=function(e){let t,n,r,a;e=e.slice();let i=[],o={};for(t=0;te>t?1:-1),t=0;t{let n=e[t];return Object.assign(Object.assign({},e),{[o]:({width:e,height:t})=>{r=r||function(e,t,n,r){let a=[],i=[];for(let t in e)e.hasOwnProperty(t)&&(i.push(t),a.push(e[t]));t-=2*r,n-=2*r;let o=function(e){let t=function(t){let n=Math.max.apply(null,e.map(function(e){return e[t]+e.radius})),r=Math.min.apply(null,e.map(function(e){return e[t]-e.radius}));return{max:n,min:r}};return{xRange:t("x"),yRange:t("y")}}(a),s=o.xRange,l=o.yRange;if(s.max==s.min||l.max==l.min)return console.log("not scaling solution: zero size detected"),e;let c=t/(s.max-s.min),u=n/(l.max-l.min),d=Math.min(u,c),p=(t-(s.max-s.min)*d)/2,f=(n-(l.max-l.min)*d)/2,h={};for(let e=0;er[e]),o=function(e){let t={};S4(e,t);let n=t.arcs;if(0===n.length)return"M 0 0";if(1==n.length){let e=n[0].circle;return function(e,t,n){let r=[],a=e-n;return r.push("M",a,t),r.push("A",n,n,0,1,0,a+2*n,t),r.push("A",n,n,0,1,0,a,t),r.join(" ")}(e.x,e.y,e.radius)}{let e=["\nM",n[0].p2.x,n[0].p2.y];for(let t=0;ta;e.push("\nA",a,a,0,i?1:0,1,r.p1.x,r.p1.y)}return e.join(" ")}}(i);return/[zZ]$/.test(o)||(o+=" Z"),o}})})}};Ar.props={};var Aa=function(){return(Aa=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{this.forceFit()},300),this._renderer=r||new ip,this._plugins=a||[],this._container=function(e){if(void 0===e){let e=document.createElement("div");return e[d1]=!0,e}if("string"==typeof e){let t=document.getElementById(e);return t}return e}(t),this._emitter=new nR.Z,this._context={library:Object.assign(Object.assign({},i),r6),emitter:this._emitter,canvas:n,createCanvas:o},this._create()}render(){if(this._rendering)return this._addToTrailing();this._context.canvas||this._createCanvas(),this._bindAutoFit(),this._rendering=!0;let e=new Promise((e,t)=>(function(e,t={},n=()=>{},r=e=>{throw e}){var a;let{width:i=640,height:o=480,depth:s=0}=e,l=function e(t){let n=(function(...e){return t=>e.reduce((e,t)=>t(e),t)})(dY)(t);return n.children&&Array.isArray(n.children)&&(n.children=n.children.map(t=>e(t))),n}(e),c=function(e){let t=iT({},e),n=new Map([[t,null]]),r=new Map([[null,-1]]),a=[t];for(;a.length;){let e=a.shift();if(void 0===e.key){let t=n.get(e),a=r.get(e),i=null===t?"0":`${t.key}-${a}`;e.key=i}let{children:t=[]}=e;if(Array.isArray(t))for(let i=0;i(function e(t,n,r){var a;return dC(this,void 0,void 0,function*(){let{library:i}=r,[o]=uO("composition",i),[s]=uO("interaction",i),l=new Set(Object.keys(i).map(e=>{var t;return null===(t=/mark\.(.*)/.exec(e))||void 0===t?void 0:t[1]}).filter(iR)),c=new Set(Object.keys(i).map(e=>{var t;return null===(t=/component\.(.*)/.exec(e))||void 0===t?void 0:t[1]}).filter(iR)),u=e=>{let{type:t}=e;if("function"==typeof t){let{props:e={}}=t,{composite:n=!0}=e;if(n)return"mark"}return"string"!=typeof t?t:l.has(t)||c.has(t)?"mark":t},d=e=>"mark"===u(e),p=e=>"standardView"===u(e),f=e=>{let{type:t}=e;return"string"==typeof t&&!!c.has(t)},h=e=>{if(p(e))return[e];let t=u(e),n=o({type:t,static:f(e)});return n(e)},m=[],g=new Map,b=new Map,y=[t],E=[];for(;y.length;){let e=y.shift();if(p(e)){let t=b.get(e),[n,a]=t?dD(t,e,i):yield dR(e,r);g.set(n,e),m.push(n);let o=a.flatMap(h).map(e=>ux(e,i));if(y.push(...o),o.every(p)){let e=yield Promise.all(o.map(e=>dN(e,r)));!function(e){let t=e.flatMap(e=>Array.from(e.values())).flatMap(e=>e.channels.map(e=>e.scale));uF(t,"x"),uF(t,"y")}(e);for(let t=0;te.key).join(e=>e.append("g").attr("className",cG).attr("id",e=>e.key).call(dI).each(function(e,t,n){dP(e,iB(n),S,r),v.set(e,n)}),e=>e.call(dI).each(function(e,t,n){dP(e,iB(n),S,r),T.set(e,n)}),e=>e.each(function(e,t,n){let r=n.nameInteraction.values();for(let e of r)e.destroy()}).remove());let A=(t,n,a)=>Array.from(t.entries()).map(([i,o])=>{let s=a||new Map,l=g.get(i),c=function(t,n,r){let{library:a}=r,i=function(e){let[,t]=uO("interaction",e);return e=>{let[n,r]=e;try{return[n,t(n)]}catch(e){return[n,r.type]}}}(a),o=dG(n),s=o.map(i).filter(e=>e[1]&&e[1].props&&e[1].props.reapplyWhenUpdate).map(e=>e[0]);return(n,a,i)=>dC(this,void 0,void 0,function*(){let[o,l]=yield dR(n,r);for(let e of(dP(o,t,[],r),s.filter(e=>e!==a)))!function(e,t,n,r,a){var i;let{library:o}=a,[s]=uO("interaction",o),l=t.node(),c=l.nameInteraction,u=dG(n).find(([t])=>t===e),d=c.get(e);if(!d||(null===(i=d.destroy)||void 0===i||i.call(d),!u[1]))return;let p=dL(r,e,u[1],s),f={options:n,view:r,container:t.node(),update:e=>Promise.resolve(e)},h=p(f,[],a.emitter);c.set(e,{destroy:h})}(e,t,n,o,r);for(let n of l)e(n,t,r);return i(),{options:n,view:o}})}(iB(o),l,r);return{view:i,container:o,options:l,setState:(e,t=e=>e)=>s.set(e,t),update:(e,r)=>dC(this,void 0,void 0,function*(){let a=ix(Array.from(s.values())),i=a(l);return yield c(i,e,()=>{ib(r)&&n(t,r,s)})})}}),O=(e=T,t,n)=>{var a;let i=A(e,O,n);for(let e of i){let{options:n,container:o}=e,l=o.nameInteraction,c=dG(n);for(let n of(t&&(c=c.filter(e=>t.includes(e[0]))),c)){let[t,o]=n,c=l.get(t);if(c&&(null===(a=c.destroy)||void 0===a||a.call(c)),o){let n=dL(e.view,t,o,s),a=n(e,i,r.emitter);l.set(t,{destroy:a})}}}},_=A(v,O);for(let e of _){let{options:t}=e,n=new Map;for(let a of(e.container.nameInteraction=n,dG(t))){let[t,i]=a;if(i){let a=dL(e.view,t,i,s),o=a(e,_,r.emitter);n.set(t,{destroy:o})}}}O();let{width:k,height:x}=t,C=[];for(let t of E){let a=new Promise(a=>dC(this,void 0,void 0,function*(){for(let a of t){let t=Object.assign({width:k,height:x},a);yield e(t,n,r)}a()}));C.push(a)}r.views=m,null===(a=r.animations)||void 0===a||a.forEach(e=>null==e?void 0:e.cancel()),r.animations=S,r.emitter.emit(iU.AFTER_PAINT);let w=S.filter(iR).map(dj).map(e=>e.finished);return Promise.all([...w,...C])})})(Object.assign(Object.assign({},c),{width:i,height:o,depth:s}),m,t)).then(()=>{if(s){let[e,t]=u.document.documentElement.getPosition();u.document.documentElement.setPosition(e,t,-s/2)}u.requestAnimationFrame(()=>{u.requestAnimationFrame(()=>{d.emit(iU.AFTER_RENDER),null==n||n()})})}).catch(e=>{null==r||r(e)}),"string"==typeof(a=u.getConfig().container)?document.getElementById(a):a})(this._computedOptions(),this._context,this._createResolve(e),this._createReject(t))),[t,n,r]=function(){let e,t;let n=new Promise((n,r)=>{t=n,e=r});return[n,t,e]}();return e.then(n).catch(r).then(()=>this._renderTrailing()),t}options(e){if(0==arguments.length)return function(e){let t=function(e){if(null!==e.type)return e;let t=e.children[e.children.length-1];for(let n of d0)t.attr(n,e.attr(n));return t}(e),n=[t],r=new Map;for(r.set(t,d3(t));n.length;){let e=n.pop(),t=r.get(e),{children:a=[]}=e;for(let e of a)if(e.type===d2)t.children=e.value;else{let a=d3(e),{children:i=[]}=t;i.push(a),n.push(e),r.set(e,a),t.children=i}}return r.get(t)}(this);let{type:t}=e;return t&&(this._previousDefinedType=t),function(e,t,n,r,a){let i=function(e,t,n,r,a){let{type:i}=e,{type:o=n||i}=t;if("function"!=typeof o&&new Set(Object.keys(a)).has(o)){for(let n of d0)void 0!==e.attr(n)&&void 0===t[n]&&(t[n]=e.attr(n));return t}if("function"==typeof o||new Set(Object.keys(r)).has(o)){let e={type:"view"},n=Object.assign({},t);for(let t of d0)void 0!==n[t]&&(e[t]=n[t],delete n[t]);return Object.assign(Object.assign({},e),{children:[n]})}return t}(e,t,n,r,a),o=[[null,e,i]];for(;o.length;){let[e,t,n]=o.shift();if(t){if(n){!function(e,t){let{type:n,children:r}=t,a=dJ(t,["type","children"]);e.type===n||void 0===n?function e(t,n,r=5,a=0){if(!(a>=r)){for(let i of Object.keys(n)){let o=n[i];iv(o)&&iv(t[i])?e(t[i],o,r,a+1):t[i]=o}return t}}(e.value,a):"string"==typeof n&&(e.type=n,e.value=a)}(t,n);let{children:e}=n,{children:r}=t;if(Array.isArray(e)&&Array.isArray(r)){let n=Math.max(e.length,r.length);for(let a=0;a{this.emit(iU.AFTER_CHANGE_SIZE)}),n}changeSize(e,t){if(e===this._width&&t===this._height)return Promise.resolve(this);this.emit(iU.BEFORE_CHANGE_SIZE),this.attr("width",e),this.attr("height",t);let n=this.render();return n.then(()=>{this.emit(iU.AFTER_CHANGE_SIZE)}),n}_create(){let{library:e}=this._context,t=["mark.mark",...Object.keys(e).filter(e=>e.startsWith("mark.")||"component.axisX"===e||"component.axisY"===e||"component.legends"===e)];for(let e of(this._marks={},t)){let t=e.split(".").pop();class n extends pt{constructor(){super({},t)}}this._marks[t]=n,this[t]=function(e){let r=this.append(n);return"mark"===t&&(r.type=e),r}}let n=["composition.view",...Object.keys(e).filter(e=>e.startsWith("composition.")&&"composition.mark"!==e)];for(let e of(this._compositions=Object.fromEntries(n.map(e=>{let t=e.split(".").pop(),n=class extends pe{constructor(){super({},t)}};return n=pn([d4(d6(this._marks))],n),[t,n]})),Object.values(this._compositions)))d4(d6(this._compositions))(e);for(let e of n){let t=e.split(".").pop();this[t]=function(){let e=this._compositions[t];return this.type=null,this.append(e)}}}_reset(){let e=["theme","type","width","height","autoFit"];this.type="view",this.value=Object.fromEntries(Object.entries(this.value).filter(([t])=>t.startsWith("margin")||t.startsWith("padding")||t.startsWith("inset")||e.includes(t))),this.children=[]}_renderTrailing(){this._trailing&&(this._trailing=!1,this.render().then(()=>{let e=this._trailingResolve.bind(this);this._trailingResolve=null,e(this)}).catch(e=>{let t=this._trailingReject.bind(this);this._trailingReject=null,t(e)}))}_createResolve(e){return()=>{this._rendering=!1,e(this)}}_createReject(e){return t=>{this._rendering=!1,e(t)}}_computedOptions(){let e=this.options(),{key:t="G2_CHART_KEY"}=e,{width:n,height:r,depth:a}=d5(e,this._container);return this._width=n,this._height=r,this._key=t,Object.assign(Object.assign({key:this._key},e),{width:n,height:r,depth:a})}_createCanvas(){let{width:e,height:t}=d5(this.options(),this._container);this._plugins.push(new im),this._plugins.forEach(e=>this._renderer.registerPlugin(e)),this._context.canvas=new nN.Xz({container:this._container,width:e,height:t,renderer:this._renderer})}_addToTrailing(){var e;null===(e=this._trailingResolve)||void 0===e||e.call(this,this),this._trailing=!0;let t=new Promise((e,t)=>{this._trailingResolve=e,this._trailingReject=t});return t}_bindAutoFit(){let e=this.options(),{autoFit:t}=e;if(this._hasBindAutoFit){t||this._unbindAutoFit();return}t&&(this._hasBindAutoFit=!0,window.addEventListener("resize",this._onResize))}_unbindAutoFit(){this._hasBindAutoFit&&(this._hasBindAutoFit=!1,window.removeEventListener("resize",this._onResize))}},d=Aa(Aa({},Object.assign(Object.assign(Object.assign(Object.assign({},{"composition.geoView":TA,"composition.geoPath":T_}),{"data.arc":Sy,"data.cluster":TG,"mark.forceGraph":TF,"mark.tree":TV,"mark.pack":T1,"mark.sankey":Sp,"mark.chord":SO,"mark.treemap":SR}),{"data.venn":Ar,"mark.boxplot":SH,"mark.gauge":Sq,"mark.wordCloud":mZ,"mark.liquid":S3}),{"data.fetch":vS,"data.inline":vA,"data.sortBy":vO,"data.sort":v_,"data.filter":vx,"data.pick":vC,"data.rename":vw,"data.fold":vI,"data.slice":vR,"data.custom":vN,"data.map":vL,"data.join":vP,"data.kde":vB,"data.log":vj,"data.wordCloud":v2,"data.ema":v3,"transform.stackY":Ex,"transform.binX":EZ,"transform.bin":Ez,"transform.dodgeX":EV,"transform.jitter":Eq,"transform.jitterX":EK,"transform.jitterY":EX,"transform.symmetryY":EJ,"transform.diffY":E0,"transform.stackEnter":E1,"transform.normalizeY":E5,"transform.select":E7,"transform.selectX":vt,"transform.selectY":vr,"transform.groupX":vo,"transform.groupY":vs,"transform.groupColor":vl,"transform.group":vi,"transform.sortX":vp,"transform.sortY":vf,"transform.sortColor":vh,"transform.flexX":vm,"transform.pack":vg,"transform.sample":vy,"transform.filter":vE,"coordinate.cartesian":pI,"coordinate.polar":iJ,"coordinate.transpose":pR,"coordinate.theta":pL,"coordinate.parallel":pD,"coordinate.fisheye":pP,"coordinate.radial":i1,"coordinate.radar":pM,"coordinate.helix":pF,"encode.constant":pB,"encode.field":pj,"encode.transform":pU,"encode.column":pG,"mark.interval":fm,"mark.rect":fb,"mark.line":fj,"mark.point":hi,"mark.text":hm,"mark.cell":hy,"mark.area":hR,"mark.link":hz,"mark.image":hY,"mark.polygon":h0,"mark.box":h6,"mark.vector":h8,"mark.lineX":mr,"mark.lineY":mo,"mark.connector":md,"mark.range":mm,"mark.rangeX":my,"mark.rangeY":mT,"mark.path":mx,"mark.shape":mR,"mark.density":mP,"mark.heatmap":mH,"mark.wordCloud":mZ,"palette.category10":mW,"palette.category20":mV,"scale.linear":mY,"scale.ordinal":mK,"scale.band":mQ,"scale.identity":m0,"scale.point":m2,"scale.time":m5,"scale.log":m6,"scale.pow":m8,"scale.sqrt":ge,"scale.threshold":gt,"scale.quantile":gn,"scale.quantize":gr,"scale.sequential":gi,"scale.constant":go,"theme.classic":gu,"theme.classicDark":gf,"theme.academy":gm,"theme.light":gc,"theme.dark":gp,"component.axisX":gg,"component.axisY":gb,"component.legendCategory":gI,"component.legendContinuous":lz,"component.legends":gR,"component.title":gP,"component.sliderX":gQ,"component.sliderY":gJ,"component.scrollbarX":g3,"component.scrollbarY":g5,"animation.scaleInX":g4,"animation.scaleOutX":(e,t)=>{let{coordinate:n}=t;return(t,r,a)=>{let[i]=t,{transform:o="",fillOpacity:s=1,strokeOpacity:l=1,opacity:c=1}=i.style,[u,d]=i6(n)?["left bottom","scale(1, 0.0001)"]:["left top","scale(0.0001, 1)"],p=[{transform:`${o} scale(1, 1)`.trimStart(),transformOrigin:u},{transform:`${o} ${d}`.trimStart(),transformOrigin:u,fillOpacity:s,strokeOpacity:l,opacity:c,offset:.99},{transform:`${o} ${d}`.trimStart(),transformOrigin:u,fillOpacity:0,strokeOpacity:0,opacity:0}],f=i.animate(p,Object.assign(Object.assign({},a),e));return f}},"animation.scaleInY":g6,"animation.scaleOutY":(e,t)=>{let{coordinate:n}=t;return(t,r,a)=>{let[i]=t,{transform:o="",fillOpacity:s=1,strokeOpacity:l=1,opacity:c=1}=i.style,[u,d]=i6(n)?["left top","scale(0.0001, 1)"]:["left bottom","scale(1, 0.0001)"],p=[{transform:`${o} scale(1, 1)`.trimStart(),transformOrigin:u},{transform:`${o} ${d}`.trimStart(),transformOrigin:u,fillOpacity:s,strokeOpacity:l,opacity:c,offset:.99},{transform:`${o} ${d}`.trimStart(),transformOrigin:u,fillOpacity:0,strokeOpacity:0,opacity:0}],f=i.animate(p,Object.assign(Object.assign({},a),e));return f}},"animation.waveIn":g9,"animation.fadeIn":g8,"animation.fadeOut":g7,"animation.zoomIn":e=>(t,n,r)=>{let[a]=t,{transform:i="",fillOpacity:o=1,strokeOpacity:s=1,opacity:l=1}=a.style,c="center center",u=[{transform:`${i} scale(0.0001)`.trimStart(),transformOrigin:c,fillOpacity:0,strokeOpacity:0,opacity:0},{transform:`${i} scale(0.0001)`.trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:s,opacity:l,offset:.01},{transform:`${i} scale(1)`.trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:s,opacity:l}],d=a.animate(u,Object.assign(Object.assign({},r),e));return d},"animation.zoomOut":e=>(t,n,r)=>{let[a]=t,{transform:i="",fillOpacity:o=1,strokeOpacity:s=1,opacity:l=1}=a.style,c="center center",u=[{transform:`${i} scale(1)`.trimStart(),transformOrigin:c},{transform:`${i} scale(0.0001)`.trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:s,opacity:l,offset:.99},{transform:`${i} scale(0.0001)`.trimStart(),transformOrigin:c,fillOpacity:0,strokeOpacity:0,opacity:0}],d=a.animate(u,Object.assign(Object.assign({},r),e));return d},"animation.pathIn":be,"animation.morphing":bp,"animation.growInX":bf,"animation.growInY":bh,"interaction.elementHighlight":bg,"interaction.elementHighlightByX":bb,"interaction.elementHighlightByColor":by,"interaction.elementSelect":bv,"interaction.elementSelectByX":bT,"interaction.elementSelectByColor":bS,"interaction.fisheye":function({wait:e=30,leading:t,trailing:n=!1}){return r=>{let{options:a,update:i,setState:o,container:s}=r,l=ue(s),c=bA(e=>{let t=un(l,e);if(!t){o("fisheye"),i();return}o("fisheye",e=>{let n=iT({},e,{interaction:{tooltip:{preserve:!0}}});for(let e of n.marks)e.animate=!1;let[r,a]=t,i=function(e){let{coordinate:t={}}=e,{transform:n=[]}=t,r=n.find(e=>"fisheye"===e.type);if(r)return r;let a={type:"fisheye"};return n.push(a),t.transform=n,e.coordinate=t,a}(n);return i.focusX=r,i.focusY=a,i.visual=!0,n}),i()},e,{leading:t,trailing:n});return l.addEventListener("pointerenter",c),l.addEventListener("pointermove",c),l.addEventListener("pointerleave",c),()=>{l.removeEventListener("pointerenter",c),l.removeEventListener("pointermove",c),l.removeEventListener("pointerleave",c)}}},"interaction.chartIndex":bk,"interaction.tooltip":bK,"interaction.legendFilter":function(){return(e,t,n)=>{let{container:r}=e,a=t.filter(t=>t!==e),i=a.length>0,o=e=>b5(e).scales.map(e=>e.name),s=[...b2(r),...b3(r)],l=s.flatMap(o),c=i?bA(b6,50,{trailing:!0}):bA(b4,50,{trailing:!0}),u=s.map(t=>{let{name:s,domain:u}=b5(t).scales[0],d=o(t),p={legend:t,channel:s,channels:d,allChannels:l};return t.className===bQ?function(e,{legends:t,marker:n,label:r,datum:a,filter:i,emitter:o,channel:s,state:l={}}){let c=new Map,u=new Map,d=new Map,{unselected:p={markerStroke:"#aaa",markerFill:"#aaa",labelFill:"#aaa"}}=l,f={unselected:iN(p,"marker")},h={unselected:iN(p,"label")},{setState:m,removeState:g}=us(f,void 0),{setState:b,removeState:y}=us(h,void 0),E=Array.from(t(e)),v=E.map(a),T=()=>{for(let e of E){let t=a(e),i=n(e),o=r(e);v.includes(t)?(g(i,"unselected"),y(o,"unselected")):(m(i,"unselected"),b(o,"unselected"))}};for(let t of E){let n=()=>{uh(e,"pointer")},r=()=>{uh(e,e.cursor)},l=e=>bX(this,void 0,void 0,function*(){let n=a(t),r=v.indexOf(n);-1===r?v.push(n):v.splice(r,1),yield i(v),T();let{nativeEvent:l=!0}=e;l&&(v.length===E.length?o.emit("legend:reset",{nativeEvent:l}):o.emit("legend:filter",Object.assign(Object.assign({},e),{nativeEvent:l,data:{channel:s,values:v}})))});t.addEventListener("click",l),t.addEventListener("pointerenter",n),t.addEventListener("pointerout",r),c.set(t,l),u.set(t,n),d.set(t,r)}let S=e=>bX(this,void 0,void 0,function*(){let{nativeEvent:t}=e;if(t)return;let{data:n}=e,{channel:r,values:a}=n;r===s&&(v=a,yield i(v),T())}),A=e=>bX(this,void 0,void 0,function*(){let{nativeEvent:t}=e;t||(v=E.map(a),yield i(v),T())});return o.on("legend:filter",S),o.on("legend:reset",A),()=>{for(let e of E)e.removeEventListener("click",c.get(e)),e.removeEventListener("pointerenter",u.get(e)),e.removeEventListener("pointerout",d.get(e)),o.off("legend:filter",S),o.off("legend:reset",A)}}(r,{legends:b1,marker:bJ,label:b0,datum:e=>{let{__data__:t}=e,{index:n}=t;return u[n]},filter:t=>{let n=Object.assign(Object.assign({},p),{value:t,ordinal:!0});i?c(a,n):c(e,n)},state:t.attributes.state,channel:s,emitter:n}):function(e,{legend:t,filter:n,emitter:r,channel:a}){let i=({detail:{value:e}})=>{n(e),r.emit({nativeEvent:!0,data:{channel:a,values:e}})};return t.addEventListener("valuechange",i),()=>{t.removeEventListener("valuechange",i)}}(0,{legend:t,filter:t=>{let n=Object.assign(Object.assign({},p),{value:t,ordinal:!1});i?c(a,n):c(e,n)},emitter:n,channel:s})});return()=>{u.forEach(e=>e())}}},"interaction.legendHighlight":function(){return(e,t,n)=>{let{container:r,view:a,options:i}=e,o=b2(r),s=c9(r),l=e=>b5(e).scales[0].name,c=e=>{let{scale:{[e]:t}}=a;return t},u=uc(i,["active","inactive"]),d=uu(s,uo(a)),p=[];for(let e of o){let t=t=>{let{data:n}=e.attributes,{__data__:r}=t,{index:a}=r;return n[a].label},r=l(e),a=b1(e),i=c(r),o=(0,iS.ZP)(s,e=>i.invert(e.__data__[r])),{state:f={}}=e.attributes,{inactive:h={}}=f,{setState:m,removeState:g}=us(u,d),b={inactive:iN(h,"marker")},y={inactive:iN(h,"label")},{setState:E,removeState:v}=us(b),{setState:T,removeState:S}=us(y),A=e=>{for(let t of a){let n=bJ(t),r=b0(t);t===e||null===e?(v(n,"inactive"),S(r,"inactive")):(E(n,"inactive"),T(r,"inactive"))}},O=(e,a)=>{let i=t(a),l=new Set(o.get(i));for(let e of s)l.has(e)?m(e,"active"):m(e,"inactive");A(a);let{nativeEvent:c=!0}=e;c&&n.emit("legend:highlight",Object.assign(Object.assign({},e),{nativeEvent:c,data:{channel:r,value:i}}))},_=new Map;for(let e of a){let t=t=>{O(t,e)};e.addEventListener("pointerover",t),_.set(e,t)}let k=e=>{for(let e of s)g(e,"inactive","active");A(null);let{nativeEvent:t=!0}=e;t&&n.emit("legend:unhighlight",{nativeEvent:t})},x=e=>{let{nativeEvent:n,data:i}=e;if(n)return;let{channel:o,value:s}=i;if(o!==r)return;let l=a.find(e=>t(e)===s);l&&O({nativeEvent:!1},l)},C=e=>{let{nativeEvent:t}=e;t||k({nativeEvent:!1})};e.addEventListener("pointerleave",k),n.on("legend:highlight",x),n.on("legend:unhighlight",C);let w=()=>{for(let[t,r]of(e.removeEventListener(k),n.off("legend:highlight",x),n.off("legend:unhighlight",C),_))t.removeEventListener(r)};p.push(w)}return()=>p.forEach(e=>e())}},"interaction.brushHighlight":yr,"interaction.brushXHighlight":function(e){return yr(Object.assign(Object.assign({},e),{brushRegion:ya,selectedHandles:["handle-e","handle-w"]}))},"interaction.brushYHighlight":function(e){return yr(Object.assign(Object.assign({},e),{brushRegion:yi,selectedHandles:["handle-n","handle-s"]}))},"interaction.brushAxisHighlight":function(e){return(t,n,r)=>{let{container:a,view:i,options:o}=t,s=ue(a),{x:l,y:c}=s.getBBox(),{coordinate:u}=i;return function(e,t){var{axes:n,elements:r,points:a,horizontal:i,datum:o,offsetY:s,offsetX:l,reverse:c=!1,state:u={},emitter:d,coordinate:p}=t,f=yo(t,["axes","elements","points","horizontal","datum","offsetY","offsetX","reverse","state","emitter","coordinate"]);let h=r(e),m=n(e),g=uu(h,o),{setState:b,removeState:y}=us(u,g),E=new Map,v=iN(f,"mask"),T=e=>Array.from(E.values()).every(([t,n,r,a])=>e.some(([e,i])=>e>=t&&e<=r&&i>=n&&i<=a)),S=m.map(e=>e.attributes.scale),A=e=>e.length>2?[e[0],e[e.length-1]]:e,O=new Map,_=()=>{O.clear();for(let e=0;e{let n=[];for(let e of h){let t=a(e);T(t)?(b(e,"active"),n.push(e)):b(e,"inactive")}O.set(e,C(n,e)),t&&d.emit("brushAxis:highlight",{nativeEvent:!0,data:{selection:(()=>{if(!w)return Array.from(O.values());let e=[];for(let[t,n]of O){let r=S[t],{name:a}=r.getOptions();"x"===a?e[0]=n:e[1]=n}return e})()}})},x=e=>{for(let e of h)y(e,"active","inactive");_(),e&&d.emit("brushAxis:remove",{nativeEvent:!0})},C=(e,t)=>{let n=S[t],{name:r}=n.getOptions(),a=e.map(e=>{let t=e.__data__;return n.invert(t[r])});return A(cq(n,a))},w=m.some(i)&&m.some(e=>!i(e)),I=[];for(let e=0;e{let{nativeEvent:t}=e;t||I.forEach(e=>e.remove(!1))},N=(e,t,n)=>{let[r,a]=e,o=L(r,t,n),s=L(a,t,n)+(t.getStep?t.getStep():0);return i(n)?[o,-1/0,s,1/0]:[-1/0,o,1/0,s]},L=(e,t,n)=>{let{height:r,width:a}=p.getOptions(),o=t.clone();return i(n)?o.update({range:[0,a]}):o.update({range:[r,0]}),o.map(e)},D=e=>{let{nativeEvent:t}=e;if(t)return;let{selection:n}=e.data;for(let e=0;e{I.forEach(e=>e.destroy()),d.off("brushAxis:remove",R),d.off("brushAxis:highlight",D)}}(a,Object.assign({elements:c9,axes:yl,offsetY:c,offsetX:l,points:e=>e.__data__.points,horizontal:e=>{let{startPos:[t,n],endPos:[r,a]}=e.attributes;return t!==r&&n===a},datum:uo(i),state:uc(o,["active",["inactive",{opacity:.5}]]),coordinate:u,emitter:r},e))}},"interaction.brushFilter":yh,"interaction.brushXFilter":function(e){return yh(Object.assign(Object.assign({hideX:!0},e),{brushRegion:ya}))},"interaction.brushYFilter":function(e){return yh(Object.assign(Object.assign({hideY:!0},e),{brushRegion:yi}))},"interaction.sliderFilter":yb,"interaction.scrollbarFilter":function(e={}){return(t,n,r)=>{let{view:a,container:i}=t,o=i.getElementsByClassName(yy);if(!o.length)return()=>{};let{scale:s}=a,{x:l,y:c}=s,u={x:[...l.getOptions().domain],y:[...c.getOptions().domain]};l.update({domain:l.getOptions().expectedDomain}),c.update({domain:c.getOptions().expectedDomain});let d=yb(Object.assign(Object.assign({},e),{initDomain:u,className:yy,prefix:"scrollbar",hasState:!0,setValue:(e,t)=>e.setValue(t[0]),getInitValues:e=>{let t=e.slider.attributes.values;if(0!==t[0])return t}}));return d(t,n,r)}},"interaction.poptip":yS,"interaction.treemapDrillDown":function(e={}){let{originData:t=[],layout:n}=e,r=yF(e,["originData","layout"]),a=iT({},yB,r),i=iN(a,"breadCrumb"),o=iN(a,"active");return e=>{let{update:r,setState:a,container:s,options:l}=e,c=iB(s).select(`.${cH}`).node(),u=l.marks[0],{state:d}=u,p=new nN.ZA;c.appendChild(p);let f=(e,l)=>{var u,d,h,m;return u=this,d=void 0,h=void 0,m=function*(){if(p.removeChildren(),l){let t="",n=i.y,r=0,a=[],s=c.getBBox().width,l=e.map((o,l)=>{t=`${t}${o}/`,a.push(o);let c=new nN.xv({name:t.replace(/\/$/,""),style:Object.assign(Object.assign({text:o,x:r,path:[...a],depth:l},i),{y:n})});p.appendChild(c),r+=c.getBBox().width;let u=new nN.xv({style:Object.assign(Object.assign({x:r,text:" / "},i),{y:n})});return p.appendChild(u),(r+=u.getBBox().width)>s&&(n=p.getBBox().height+i.y,r=0,c.attr({x:r,y:n}),r+=c.getBBox().width,u.attr({x:r,y:n}),r+=u.getBBox().width),l===yA(e)-1&&u.remove(),c});l.forEach((e,t)=>{if(t===yA(l)-1)return;let n=Object.assign({},e.attributes);e.attr("cursor","pointer"),e.addEventListener("mouseenter",()=>{e.attr(o)}),e.addEventListener("mouseleave",()=>{e.attr(n)}),e.addEventListener("click",()=>{f(oX(e,["style","path"]),oX(e,["style","depth"]))})})}(function(e,t){let n=[...b2(e),...b3(e)];n.forEach(e=>{t(e,e=>e)})})(s,a),a("treemapDrillDown",r=>{let{marks:a}=r,i=e.join("/"),o=a.map(e=>{if("rect"!==e.type)return e;let r=t;if(l){let e=t.filter(e=>{let t=oX(e,["id"]);return t&&(t.match(`${i}/`)||i.match(t))}).map(e=>({value:0===e.height?oX(e,["value"]):void 0,name:oX(e,["id"])})),{paddingLeft:a,paddingBottom:o,paddingRight:s}=n,c=Object.assign(Object.assign({},n),{paddingTop:(n.paddingTop||p.getBBox().height+10)/(l+1),paddingLeft:a/(l+1),paddingBottom:o/(l+1),paddingRight:s/(l+1),path:e=>e.name,layer:e=>e.depth===l+1});r=yM(e,c,{value:"value"})[0]}else r=t.filter(e=>1===e.depth);let a=[];return r.forEach(({path:e})=>{a.push(gC(e))}),iT({},e,{data:r,scale:{color:{domain:a}}})});return Object.assign(Object.assign({},r),{marks:o})}),yield r(void 0,["legendFilter"])},new(h||(h=Promise))(function(e,t){function n(e){try{a(m.next(e))}catch(e){t(e)}}function r(e){try{a(m.throw(e))}catch(e){t(e)}}function a(t){var a;t.done?e(t.value):((a=t.value)instanceof h?a:new h(function(e){e(a)})).then(n,r)}a((m=m.apply(u,d||[])).next())})},h=e=>{let n=e.target;if("rect"!==oX(n,["markType"]))return;let r=oX(n,["__data__","key"]),a=yk(t,e=>e.id===r);oX(a,"height")&&f(oX(a,"path"),oX(a,"depth"))};c.addEventListener("click",h);let m=yO(Object.assign(Object.assign({},d.active),d.inactive)),g=()=>{let e=uy(c);e.forEach(e=>{let n=oX(e,["style","cursor"]),r=yk(t,t=>t.id===oX(e,["__data__","key"]));if("pointer"!==n&&(null==r?void 0:r.height)){e.style.cursor="pointer";let t=yC(e.attributes,m);e.addEventListener("mouseenter",()=>{e.attr(d.active)}),e.addEventListener("mouseleave",()=>{e.attr(iT(t,d.inactive))})}})};return g(),c.addEventListener("mousemove",g),()=>{p.remove(),c.removeEventListener("click",h),c.removeEventListener("mousemove",g)}}},"interaction.elementPointMove":function(e={}){let{selection:t=[],precision:n=2}=e,r=yU(e,["selection","precision"]),a=Object.assign(Object.assign({},yG),r||{}),i=iN(a,"path"),o=iN(a,"label"),s=iN(a,"point");return(e,r,a)=>{let l;let{update:c,setState:u,container:d,view:p,options:{marks:f,coordinate:h}}=e,m=ue(d),g=uy(m),b=t,{transform:y=[],type:E}=h,v=!!yk(y,({type:e})=>"transpose"===e),T="polar"===E,S="theta"===E,A=!!yk(g,({markType:e})=>"area"===e);A&&(g=g.filter(({markType:e})=>"area"===e));let O=new nN.ZA({style:{zIndex:2}});m.appendChild(O);let _=()=>{a.emit("element-point:select",{nativeEvent:!0,data:{selection:b}})},k=(e,t)=>{a.emit("element-point:moved",{nativeEvent:!0,data:{changeData:e,data:t}})},x=e=>{let t=e.target;b=[t.parentNode.childNodes.indexOf(t)],_(),w(t)},C=e=>{let{data:{selection:t},nativeEvent:n}=e;if(n)return;b=t;let r=oX(g,[null==b?void 0:b[0]]);r&&w(r)},w=e=>{let t;let{attributes:r,markType:a,__data__:h}=e,{stroke:m}=r,{points:g,seriesTitle:y,color:E,title:x,seriesX:C,y1:I}=h;if(v&&"interval"!==a)return;let{scale:R,coordinate:N}=(null==l?void 0:l.view)||p,{color:L,y:D,x:P}=R,M=N.getCenter();O.removeChildren();let F=(e,t,n,r)=>yj(this,void 0,void 0,function*(){return u("elementPointMove",a=>{var i;let o=((null===(i=null==l?void 0:l.options)||void 0===i?void 0:i.marks)||f).map(a=>{if(!r.includes(a.type))return a;let{data:i,encode:o}=a,s=Object.keys(o),l=s.reduce((r,a)=>{let i=o[a];return"x"===a&&(r[i]=e),"y"===a&&(r[i]=t),"color"===a&&(r[i]=n),r},{}),c=yZ(l,i,o);return k(l,c),iT({},a,{data:c,animate:!1})});return Object.assign(Object.assign({},a),{marks:o})}),yield c("elementPointMove")});if(["line","area"].includes(a))g.forEach((r,a)=>{let c=P.invert(C[a]);if(!c)return;let u=new nN.Cd({name:yH,style:Object.assign({cx:r[0],cy:r[1],fill:m},s)}),p=yV(e,a);u.addEventListener("mousedown",f=>{let h=N.output([C[a],0]),m=null==y?void 0:y.length;d.attr("cursor","move"),b[1]!==a&&(b[1]=a,_()),yY(O.childNodes,b,s);let[v,S]=yq(O,u,i,o),k=e=>{let i=r[1]+e.clientY-t[1];if(A){if(T){let o=r[0]+e.clientX-t[0],[s,l]=yX(M,h,[o,i]),[,c]=N.output([1,D.output(0)]),[,d]=N.invert([s,c-(g[a+m][1]-l)]),f=(a+1)%m,b=(a-1+m)%m,E=ub([g[b],[s,l],y[f]&&g[f]]);S.attr("text",p(D.invert(d)).toFixed(n)),v.attr("d",E),u.attr("cx",s),u.attr("cy",l)}else{let[,e]=N.output([1,D.output(0)]),[,t]=N.invert([r[0],e-(g[a+m][1]-i)]),o=ub([g[a-1],[r[0],i],y[a+1]&&g[a+1]]);S.attr("text",p(D.invert(t)).toFixed(n)),v.attr("d",o),u.attr("cy",i)}}else{let[,e]=N.invert([r[0],i]),t=ub([g[a-1],[r[0],i],g[a+1]]);S.attr("text",D.invert(e).toFixed(n)),v.attr("d",t),u.attr("cy",i)}};t=[f.clientX,f.clientY],window.addEventListener("mousemove",k);let x=()=>yj(this,void 0,void 0,function*(){if(d.attr("cursor","default"),window.removeEventListener("mousemove",k),d.removeEventListener("mouseup",x),ls(S.attr("text")))return;let t=Number(S.attr("text")),n=yK(L,E);l=yield F(c,t,n,["line","area"]),S.remove(),v.remove(),w(e)});d.addEventListener("mouseup",x)}),O.appendChild(u)}),yY(O.childNodes,b,s);else if("interval"===a){let r=[(g[0][0]+g[1][0])/2,g[0][1]];v?r=[g[0][0],(g[0][1]+g[1][1])/2]:S&&(r=g[0]);let c=yW(e),u=new nN.Cd({name:yH,style:Object.assign(Object.assign({cx:r[0],cy:r[1],fill:m},s),{stroke:s.activeStroke})});u.addEventListener("mousedown",s=>{d.attr("cursor","move");let p=yK(L,E),[f,h]=yq(O,u,i,o),m=e=>{if(v){let a=r[0]+e.clientX-t[0],[i]=N.output([D.output(0),D.output(0)]),[,o]=N.invert([i+(a-g[2][0]),r[1]]),s=ub([[a,g[0][1]],[a,g[1][1]],g[2],g[3]],!0);h.attr("text",c(D.invert(o)).toFixed(n)),f.attr("d",s),u.attr("cx",a)}else if(S){let a=r[1]+e.clientY-t[1],i=r[0]+e.clientX-t[0],[o,s]=yX(M,[i,a],r),[l,d]=yX(M,[i,a],g[1]),p=N.invert([o,s])[1],m=I-p;if(m<0)return;let b=function(e,t,n=0){let r=[["M",...t[1]]],a=ug(e,t[1]),i=ug(e,t[0]);return 0===a?r.push(["L",...t[3]],["A",i,i,0,n,1,...t[0]],["Z"]):r.push(["A",a,a,0,n,0,...t[2]],["L",...t[3]],["A",i,i,0,n,1,...t[0]],["Z"]),r}(M,[[o,s],[l,d],g[2],g[3]],m>.5?1:0);h.attr("text",c(m,!0).toFixed(n)),f.attr("d",b),u.attr("cx",o),u.attr("cy",s)}else{let a=r[1]+e.clientY-t[1],[,i]=N.output([1,D.output(0)]),[,o]=N.invert([r[0],i-(g[2][1]-a)]),s=ub([[g[0][0],a],[g[1][0],a],g[2],g[3]],!0);h.attr("text",c(D.invert(o)).toFixed(n)),f.attr("d",s),u.attr("cy",a)}};t=[s.clientX,s.clientY],window.addEventListener("mousemove",m);let b=()=>yj(this,void 0,void 0,function*(){if(d.attr("cursor","default"),d.removeEventListener("mouseup",b),window.removeEventListener("mousemove",m),ls(h.attr("text")))return;let t=Number(h.attr("text"));l=yield F(x,t,p,[a]),h.remove(),f.remove(),w(e)});d.addEventListener("mouseup",b)}),O.appendChild(u)}};g.forEach((e,t)=>{b[0]===t&&w(e),e.addEventListener("click",x),e.addEventListener("mouseenter",y$),e.addEventListener("mouseleave",yz)});let I=e=>{let t=null==e?void 0:e.target;t&&(t.name===yH||g.includes(t))||(b=[],_(),O.removeChildren())};return a.on("element-point:select",C),a.on("element-point:unselect",I),d.addEventListener("mousedown",I),()=>{O.remove(),a.off("element-point:select",C),a.off("element-point:unselect",I),d.removeEventListener("mousedown",I),g.forEach(e=>{e.removeEventListener("click",x),e.removeEventListener("mouseenter",y$),e.removeEventListener("mouseleave",yz)})}}},"composition.spaceLayer":yJ,"composition.spaceFlex":y1,"composition.facetRect":Eo,"composition.repeatMatrix":()=>e=>{let t=y2.of(e).call(y8).call(y4).call(Ec).call(Eu).call(y6).call(y9).call(El).value();return[t]},"composition.facetCircle":()=>e=>{let t=y2.of(e).call(y8).call(Eh).call(y4).call(Ef).call(y7).call(Ee,Eg,Em,Em,{frame:!1}).call(y6).call(y9).call(Ep).value();return[t]},"composition.timingKeyframe":Eb,"labelTransform.overlapHide":e=>{let{priority:t}=e;return e=>{let n=[];return t&&e.sort(t),e.forEach(e=>{c4(e);let t=e.getLocalBounds(),r=n.some(e=>(function(e,t){let[n,r]=e,[a,i]=t;return n[0]a[0]&&n[1]a[1]})(v5(t),v5(e.getLocalBounds())));r?c5(e):n.push(e)}),e}},"labelTransform.overlapDodgeY":e=>{let{maxIterations:t=10,maxError:n=.1,padding:r=1}=e;return e=>{let a=e.length;if(a<=1)return e;let[i,o]=v6(),[s,l]=v6(),[c,u]=v6(),[d,p]=v6();for(let t of e){let{min:e,max:n}=function(e){let t=e.cloneNode(!0),n=t.getElementById("connector");n&&t.removeChild(n);let{min:r,max:a}=t.getRenderBounds();return t.destroy(),{min:r,max:a}}(t),[r,a]=e,[i,s]=n;o(t,a),l(t,a),u(t,s-a),p(t,[r,i])}for(let i=0;i(0,ds.Z)(s(e),s(t)));let t=0;for(let n=0;ne&&t>n}(d(i),d(a));)o+=1;if(a){let e=s(i),n=c(i),o=s(a),u=o-(e+n);if(ue=>(e.forEach(e=>{c4(e);let t=e.attr("bounds"),n=e.getLocalBounds(),r=function(e,t,n=.01){let[r,a]=e;return!(v4(r,t,n)&&v4(a,t,n))}(v5(n),t);r&&c5(e)}),e),"labelTransform.contrastReverse":e=>{let{threshold:t=4.5,palette:n=["#000","#fff"]}=e;return e=>(e.forEach(e=>{let r=e.attr("dependentElement").parsedStyle.fill,a=e.parsedStyle.fill,i=v7(a,r);iv7(e,"object"==typeof t?t:(0,nN.lu)(t)));return t[n]}(r,n))}),e)},"labelTransform.exceedAdjust":()=>(e,{canvas:t,layout:n})=>(e.forEach(e=>{c4(e);let{max:t,min:r}=e.getRenderBounds(),[a,i]=t,[o,s]=r,l=Te([[o,s],[a,i]],[[n.x,n.y],[n.x+n.width,n.y+n.height]]);e.style.connector&&e.style.connectorPoints&&(e.style.connectorPoints[0][0]-=l[0],e.style.connectorPoints[0][1]-=l[1]),e.style.x+=l[0],e.style.y+=l[1]}),e)})),{"interaction.drillDown":function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{breadCrumb:t={},isFixedColor:n=!1}=e,r=(0,po.Z)({},pw,t);return e=>{let{update:t,setState:a,container:i,view:o,options:s}=e,l=i.ownerDocument,c=(0,px.Ys)(i).select(".".concat(px.V$)).node(),u=s.marks.find(e=>{let{id:t}=e;return t===pv}),{state:d}=u,p=l.createElement("g");c.appendChild(p);let f=(e,i)=>{var s,u,d,h;return s=this,u=void 0,d=void 0,h=function*(){if(p.removeChildren(),e){let t=l.createElement("text",{style:Object.assign({x:0,text:r.rootText,depth:0},r.style)});p.appendChild(t);let n="",a=null==e?void 0:e.split(" / "),i=r.style.y,o=p.getBBox().width,s=c.getBBox().width,u=a.map((e,t)=>{let a=l.createElement("text",{style:Object.assign(Object.assign({x:o,text:" / "},r.style),{y:i})});p.appendChild(a),o+=a.getBBox().width,n="".concat(n).concat(e," / ");let c=l.createElement("text",{name:n.replace(/\s\/\s$/,""),style:Object.assign(Object.assign({text:e,x:o,depth:t+1},r.style),{y:i})});return p.appendChild(c),(o+=c.getBBox().width)>s&&(i=p.getBBox().height,o=0,a.attr({x:o,y:i}),o+=a.getBBox().width,c.attr({x:o,y:i}),o+=c.getBBox().width),c});[t,...u].forEach((e,t)=>{if(t===u.length)return;let n=Object.assign({},e.attributes);e.attr("cursor","pointer"),e.addEventListener("mouseenter",()=>{e.attr(r.active)}),e.addEventListener("mouseleave",()=>{e.attr(n)}),e.addEventListener("click",()=>{f(e.name,(0,pi.Z)(e,["style","depth"]))})})}a("drillDown",t=>{let{marks:r}=t,a=r.map(t=>{if(t.id!==pv&&"rect"!==t.type)return t;let{data:r}=t,a=Object.fromEntries(["color"].map(e=>[e,{domain:o.scale[e].getOptions().domain}])),s=r.filter(t=>{let r=t.path;if(n||(t[pA]=r.split(" / ")[i]),!e)return!0;let a=new RegExp("^".concat(e,".+"));return a.test(r)});return(0,po.Z)({},t,n?{data:s,scale:a}:{data:s})});return Object.assign(Object.assign({},t),{marks:a})}),yield t()},new(d||(d=Promise))(function(e,t){function n(e){try{a(h.next(e))}catch(e){t(e)}}function r(e){try{a(h.throw(e))}catch(e){t(e)}}function a(t){var a;t.done?e(t.value):((a=t.value)instanceof d?a:new d(function(e){e(a)})).then(n,r)}a((h=h.apply(s,u||[])).next())})},h=e=>{let t=e.target;if((0,pi.Z)(t,["style",pT])!==pv||"rect"!==(0,pi.Z)(t,["markType"])||!(0,pi.Z)(t,["style",pb]))return;let n=(0,pi.Z)(t,["__data__","key"]),r=(0,pi.Z)(t,["style","depth"]);t.style.cursor="pointer",f(n,r)};c.addEventListener("click",h);let m=(0,pk.Z)(Object.assign(Object.assign({},d.active),d.inactive)),g=()=>{let e=pC(c);e.forEach(e=>{let t=(0,pi.Z)(e,["style",pb]),n=(0,pi.Z)(e,["style","cursor"]);if("pointer"!==n&&t){e.style.cursor="pointer";let t=(0,pa.Z)(e.attributes,m);e.addEventListener("mouseenter",()=>{e.attr(d.active)}),e.addEventListener("mouseleave",()=>{e.attr((0,po.Z)(t,d.inactive))})}})};return c.addEventListener("mousemove",g),()=>{p.remove(),c.removeEventListener("click",h),c.removeEventListener("mousemove",g)}}},"mark.sunburst":p_}),class extends u{constructor(e){super(Object.assign(Object.assign({},e),{lib:d}))}}),Ao=function(){return(Ao=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},Al=["renderer"],Ac=["width","height","autoFit","theme","inset","insetLeft","insetRight","insetTop","insetBottom","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","margin","marginTop","marginRight","marginBottom","marginLeft","depth","title","clip","children","type","data","direction"],Au="__transform__",Ad=function(e,t){return(0,em.isBoolean)(t)?{type:e,available:t}:Ao({type:e},t)},Ap={xField:"encode.x",yField:"encode.y",colorField:"encode.color",angleField:"encode.y",keyField:"encode.key",sizeField:"encode.size",shapeField:"encode.shape",seriesField:"encode.series",positionField:"encode.position",textField:"encode.text",valueField:"encode.value",binField:"encode.x",srcField:"encode.src",linkColorField:"encode.linkColor",fontSizeField:"encode.fontSize",radius:"coordinate.outerRadius",innerRadius:"coordinate.innerRadius",startAngle:"coordinate.startAngle",endAngle:"coordinate.endAngle",focusX:"coordinate.focusX",focusY:"coordinate.focusY",distortionX:"coordinate.distortionX",distortionY:"coordinate.distortionY",visual:"coordinate.visual",stack:{target:"transform",value:function(e){return Ad("stackY",e)}},normalize:{target:"transform",value:function(e){return Ad("normalizeY",e)}},percent:{target:"transform",value:function(e){return Ad("normalizeY",e)}},group:{target:"transform",value:function(e){return Ad("dodgeX",e)}},sort:{target:"transform",value:function(e){return Ad("sortX",e)}},symmetry:{target:"transform",value:function(e){return Ad("symmetryY",e)}},diff:{target:"transform",value:function(e){return Ad("diffY",e)}},meta:{target:"scale",value:function(e){return e}},label:{target:"labels",value:function(e){return e}},shape:"style.shape",connectNulls:{target:"style",value:function(e){return(0,em.isBoolean)(e)?{connect:e}:e}}},Af=["xField","yField","seriesField","colorField","keyField","positionField","meta","tooltip","animate","stack","normalize","percent","group","sort","symmetry","diff"],Ah=[{key:"annotations",extend_keys:[]},{key:"line",type:"line",extend_keys:Af},{key:"point",type:"point",extend_keys:Af},{key:"area",type:"area",extend_keys:Af}],Am=[{key:"transform",callback:function(e,t,n){e[t]=e[t]||[];var r,a=n.available,i=As(n,["available"]);if(void 0===a||a)e[t].push(Ao(((r={})[Au]=!0,r),i));else{var o=e[t].indexOf(function(e){return e.type===n.type});-1!==o&&e[t].splice(o,1)}}},{key:"labels",callback:function(e,t,n){var r;if(!n||(0,em.isArray)(n)){e[t]=n||[];return}n.text||(n.text=e.yField),e[t]=e[t]||[],e[t].push(Ao(((r={})[Au]=!0,r),n))}}],Ag=[{key:"conversionTag",shape:"ConversionTag"},{key:"axisText",shape:"BidirectionalBarAxisText"}],Ab=(p=function(e,t){return(p=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}p(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Ay=function(){return(Ay=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},Av=function(e){function t(t){void 0===t&&(t={});var n=t.style,r=AE(t,["style"]);return e.call(this,Ay({style:Ay({fill:"#eee"},n)},r))||this}return Ab(t,e),t}(nN.mg),AT=(f=function(e,t){return(f=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}f(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),AS=function(){return(AS=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},AO=function(e){function t(t){void 0===t&&(t={});var n=t.style,r=AA(t,["style"]);return e.call(this,AS({style:AS({text:"",fontSize:12,textBaseline:"middle",textAlign:"center",fill:"#000",fontStyle:"normal",fontVariant:"normal",fontWeight:"normal",lineWidth:1},n)},r))||this}return AT(t,e),t}(nN.xv),A_=function(e,t,n){if(n||2==arguments.length)for(var r,a=0,i=t.length;a0){var r=t.x,a=t.y,i=t.height,o=t.width,s=t.data,p=t.key,f=(0,em.get)(s,l),m=h/2;if(e){var b=r+o/2,E=a;d.push({points:[[b+m,E-u+y],[b+m,E-g-y],[b,E-y],[b-m,E-g-y],[b-m,E-u+y]],center:[b,E-u/2-y],width:u,value:[c,f],key:p})}else{var b=r,E=a+i/2;d.push({points:[[r-u+y,E-m],[r-g-y,E-m],[b-y,E],[r-g-y,E+m],[r-u+y,E+m]],center:[b-u/2-y,E],width:u,value:[c,f],key:p})}c=f}}),d},t.prototype.render=function(){this.setDirection(),this.drawConversionTag()},t.prototype.setDirection=function(){var e=this.chart.getCoordinate(),t=(0,em.get)(e,"options.transformations"),n="horizontal";t.forEach(function(e){e.includes("transpose")&&(n="vertical")}),this.direction=n},t.prototype.drawConversionTag=function(){var e=this,t=this.getConversionTagLayout(),n=this.attributes,r=n.style,a=n.text,i=a.style,o=a.formatter;t.forEach(function(t){var n=t.points,a=t.center,s=t.value,l=t.key,c=s[0],u=s[1],d=a[0],p=a[1],f=new Av({style:AR({points:n,fill:"#eee"},r),id:"polygon-".concat(l)}),h=new AO({style:AR({x:d,y:p,text:(0,em.isFunction)(o)?o(c,u):(u/c*100).toFixed(2)+"%"},i),id:"text-".concat(l)});e.appendChild(f),e.appendChild(h)})},t.prototype.update=function(){var e=this;this.getConversionTagLayout().forEach(function(t){var n=t.points,r=t.center,a=t.key,i=r[0],o=r[1],s=e.getElementById("polygon-".concat(a)),l=e.getElementById("text-".concat(a));s.setAttribute("points",n),l.setAttribute("x",i),l.setAttribute("y",o)})},t.tag="ConversionTag",t}(Aw),AL=(g=function(e,t){return(g=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}g(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),AD=function(){return(AD=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},AM={ConversionTag:AN,BidirectionalBarAxisText:function(e){function t(n,r){return e.call(this,n,r,{type:t.tag})||this}return AL(t,e),t.prototype.render=function(){this.drawText()},t.prototype.getBidirectionalBarAxisTextLayout=function(){var e="vertical"===this.attributes.layout,t=this.getElementsLayout(),n=e?(0,em.uniqBy)(t,"x"):(0,em.uniqBy)(t,"y"),r=["title"],a=[],i=this.chart.getContext().views,o=(0,em.get)(i,[0,"layout"]),s=o.width,l=o.height;return n.forEach(function(t){var n=t.x,i=t.y,o=t.height,c=t.width,u=t.data,d=t.key,p=(0,em.get)(u,r);e?a.push({x:n+c/2,y:l,text:p,key:d}):a.push({x:s,y:i+o/2,text:p,key:d})}),(0,em.uniqBy)(a,"text").length!==a.length&&(a=Object.values((0,em.groupBy)(a,"text")).map(function(t){var n,r=t.reduce(function(t,n){return t+(e?n.x:n.y)},0);return AD(AD({},t[0]),((n={})[e?"x":"y"]=r/t.length,n))})),a},t.prototype.transformLabelStyle=function(e){var t={},n=/^label[A-Z]/;return Object.keys(e).forEach(function(r){n.test(r)&&(t[r.replace("label","").replace(/^[A-Z]/,function(e){return e.toLowerCase()})]=e[r])}),t},t.prototype.drawText=function(){var e=this,t=this.getBidirectionalBarAxisTextLayout(),n=this.attributes,r=n.layout,a=n.labelFormatter,i=AP(n,["layout","labelFormatter"]);t.forEach(function(t){var n=t.x,o=t.y,s=t.text,l=t.key,c=new AO({style:AD({x:n,y:o,text:(0,em.isFunction)(a)?a(s):s,wordWrap:!0,wordWrapWidth:"horizontal"===r?64:120,maxLines:2,textOverflow:"ellipsis"},e.transformLabelStyle(i)),id:"text-".concat(l)});e.appendChild(c)})},t.prototype.destroy=function(){this.clear()},t.prototype.update=function(){this.destroy(),this.drawText()},t.tag="BidirectionalBarAxisText",t}(Aw)},AF=function(){function e(e,t){this.container=new Map,this.chart=e,this.config=t,this.init()}return e.prototype.init=function(){var e=this;Ag.forEach(function(t){var n,r=t.key,a=t.shape,i=e.config[r];if(i){var o=new AM[a](e.chart,i);e.chart.getContext().canvas.appendChild(o),e.container.set(r,o)}else null===(n=e.container.get(r))||void 0===n||n.clear()})},e.prototype.update=function(){var e=this;this.container.size&&Ag.forEach(function(t){var n=t.key,r=e.container.get(n);null==r||r.update()})},e}(),AB=(b=function(e,t){return(b=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}b(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Aj=function(){return(Aj=Object.assign||function(e){for(var t,n=1,r=arguments.length;n1&&(0,em.set)(t,"children",[{type:"interval"}]);var n=t.scale,r=t.markBackground,a=t.data,i=t.children,o=t.yField,s=(0,em.get)(n,"y.domain",[]);if(r&&s.length&&(0,em.isArray)(a)){var l="domainMax",c=a.map(function(e){var t;return A0(A0({originData:A0({},e)},(0,em.omit)(e,o)),((t={})[l]=s[s.length-1],t))});i.unshift(A0({type:"interval",data:c,yField:l,tooltip:!1,style:{fill:"#eee"},label:!1},r))}return e},AK,AV)(e)}var A2=(v=function(e,t){return(v=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}v(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});r9("shape.interval.bar25D",function(e,t){return function(n){var r=e.fill,a=void 0===r?"#2888FF":r,i=e.stroke,o=e.fillOpacity,s=void 0===o?1:o,l=e.strokeOpacity,c=void 0===l?.2:l,u=e.pitch,d=void 0===u?8:u,p=n[0],f=n[1],h=n[2],m=n[3],g=(f[1]-p[1])/2,b=t.document,y=b.createElement("g",{}),E=b.createElement("polygon",{style:{points:[p,[p[0]-d,p[1]+g],[h[0]-d,p[1]+g],m],fill:a,fillOpacity:s,stroke:i,strokeOpacity:c,inset:30}}),v=b.createElement("polygon",{style:{points:[[p[0]-d,p[1]+g],f,h,[h[0]-d,p[1]+g]],fill:a,fillOpacity:s,stroke:i,strokeOpacity:c}}),T=b.createElement("polygon",{style:{points:[p,[p[0]-d,p[1]+g],f,[p[0]+d,p[1]+g]],fill:a,fillOpacity:s-.2}});return y.appendChild(E),y.appendChild(v),y.appendChild(T),y}});var A3=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="Bar",t}return A2(t,e),t.getDefaultOptions=function(){return{type:"view",coordinate:{transform:[{type:"transpose"}]},children:[{type:"interval"}],scale:{y:{nice:!0}},axis:{y:{title:!1},x:{title:!1}},interaction:{tooltip:{shared:!0},elementHighlight:{background:!0}}}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return A1},t}(AG),A5=(T=function(e,t){return(T=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}T(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});r9("shape.interval.column25D",function(e,t){return function(n){var r=e.fill,a=void 0===r?"#2888FF":r,i=e.stroke,o=e.fillOpacity,s=void 0===o?1:o,l=e.strokeOpacity,c=void 0===l?.2:l,u=e.pitch,d=void 0===u?8:u,p=(n[1][0]-n[0][0])/2+n[0][0],f=t.document,h=f.createElement("g",{}),m=f.createElement("polygon",{style:{points:[[n[0][0],n[0][1]],[p,n[1][1]+d],[p,n[3][1]+d],[n[3][0],n[3][1]]],fill:a,fillOpacity:s,stroke:i,strokeOpacity:c,inset:30}}),g=f.createElement("polygon",{style:{points:[[p,n[1][1]+d],[n[1][0],n[1][1]],[n[2][0],n[2][1]],[p,n[2][1]+d]],fill:a,fillOpacity:s,stroke:i,strokeOpacity:c}}),b=f.createElement("polygon",{style:{points:[[n[0][0],n[0][1]],[p,n[1][1]-d],[n[1][0],n[1][1]],[p,n[1][1]+d]],fill:a,fillOpacity:s-.2}});return h.appendChild(g),h.appendChild(m),h.appendChild(b),h}});var A4=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="column",t}return A5(t,e),t.getDefaultOptions=function(){return{type:"view",scale:{y:{nice:!0}},interaction:{tooltip:{shared:!0},elementHighlight:{background:!0}},axis:{y:{title:!1},x:{title:!1}},children:[{type:"interval"}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return A1},t}(AG);function A6(e){return(0,em.flow)(function(e){var t=e.options,n=t.children;return t.legend&&(void 0===n?[]:n).forEach(function(e){if(!(0,em.get)(e,"colorField")){var t=(0,em.get)(e,"yField");(0,em.set)(e,"colorField",function(){return t})}}),e},function(e){var t=e.options,n=t.annotations,r=void 0===n?[]:n,a=t.children,i=t.scale,o=!1;return(0,em.get)(i,"y.key")||(void 0===a?[]:a).forEach(function(e,t){if(!(0,em.get)(e,"scale.y.key")){var n="child".concat(t,"Scale");(0,em.set)(e,"scale.y.key",n);var a=e.annotations,i=void 0===a?[]:a;i.length>0&&((0,em.set)(e,"scale.y.independent",!1),i.forEach(function(e){(0,em.set)(e,"scale.y.key",n)})),!o&&r.length>0&&void 0===(0,em.get)(e,"scale.y.independent")&&(o=!0,(0,em.set)(e,"scale.y.independent",!1),r.forEach(function(e){(0,em.set)(e,"scale.y.key",n)}))}}),e},AK,AV)(e)}var A9=(S=function(e,t){return(S=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}S(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),A8=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="DualAxes",t}return A9(t,e),t.getDefaultOptions=function(){return{type:"view",axis:{y:{title:!1,tick:!1},x:{title:!1}},scale:{y:{independent:!0,nice:!0}}}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return A6},t}(AG);function A7(e){return(0,em.flow)(function(e){var t=e.options,n=t.xField;return t.colorField||(0,em.set)(t,"colorField",n),e},function(e){var t=e.options,n=t.compareField,r=t.transform,a=t.isTransposed,i=t.coordinate;return r||(n?(0,em.set)(t,"transform",[]):(0,em.set)(t,"transform",[{type:"symmetryY"}])),!i&&(void 0===a||a)&&(0,em.set)(t,"coordinate",{transform:[{type:"transpose"}]}),e},function(e){var t=e.options,n=t.compareField,r=t.seriesField,a=t.data,i=t.children,o=t.yField,s=t.isTransposed;if(n||r){var l=Object.values((0,em.groupBy)(a,function(e){return e[n||r]}));i[0].data=l[0],i.push({type:"interval",data:l[1],yField:function(e){return-e[o]}}),delete t.compareField,delete t.data}return r&&((0,em.set)(t,"type","spaceFlex"),(0,em.set)(t,"ratio",[1,1]),(0,em.set)(t,"direction",void 0===s||s?"row":"col"),delete t.seriesField),e},function(e){var t=e.options,n=t.tooltip,r=t.xField,a=t.yField;return n||(0,em.set)(t,"tooltip",{title:!1,items:[function(e){return{name:e[r],value:e[a]}}]}),e},AK,AV)(e)}var Oe=(A=function(e,t){return(A=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}A(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Ot=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="column",t}return Oe(t,e),t.getDefaultOptions=function(){return{type:"view",scale:{x:{padding:0}},animate:{enter:{type:"fadeIn"}},axis:!1,shapeField:"funnel",label:{position:"inside",transform:[{type:"contrastReverse"}]},children:[{type:"interval"}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return A7},t}(AG);function On(e){return(0,em.flow)(AK,AV)(e)}var Or=(O=function(e,t){return(O=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}O(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Oa=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="line",t}return Or(t,e),t.getDefaultOptions=function(){return{type:"view",scale:{y:{nice:!0}},interaction:{tooltip:{shared:!0}},axis:{y:{title:!1},x:{title:!1}},children:[{type:"line"}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return On},t}(AG);function Oi(e){switch(typeof e){case"function":return e;case"string":return function(t){return(0,em.get)(t,[e])};default:return function(){return e}}}var Oo=function(){return(Oo=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&0===r.reduce(function(e,t){return e+t[n]},0)){var s=r.map(function(e){var t;return Oo(Oo({},e),((t={})[n]=1,t))});(0,em.set)(t,"data",s),a&&(0,em.set)(t,"label",Oo(Oo({},a),{formatter:function(){return 0}})),!1!==i&&((0,em.isFunction)(i)?(0,em.set)(t,"tooltip",function(e,t,r){var a;return i(Oo(Oo({},e),((a={})[n]=0,a)),t,r.map(function(e){var t;return Oo(Oo({},e),((t={})[n]=0,t))}))}):(0,em.set)(t,"tooltip",Oo(Oo({},i),{items:[function(e,t,n){return{name:o(e,t,n),value:0}}]})))}return e},AV)(e)}var Ol=(_=function(e,t){return(_=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}_(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Oc=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="pie",t}return Ol(t,e),t.getDefaultOptions=function(){return{type:"view",children:[{type:"interval"}],coordinate:{type:"theta"},transform:[{type:"stackY",reverse:!0}],animate:{enter:{type:"waveIn"}}}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return Os},t}(AG);function Ou(e){return(0,em.flow)(AK,AV)(e)}var Od=(k=function(e,t){return(k=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}k(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Op=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="scatter",t}return Od(t,e),t.getDefaultOptions=function(){return{axis:{y:{title:!1},x:{title:!1}},legend:{size:!1},children:[{type:"point"}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return Ou},t}(AG);function Of(e){return(0,em.flow)(function(e){return(0,em.set)(e,"options.coordinate",{type:(0,em.get)(e,"options.coordinateType","polar")}),e},AV)(e)}var Oh=(x=function(e,t){return(x=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}x(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Om=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="radar",t}return Oh(t,e),t.getDefaultOptions=function(){return{axis:{x:{grid:!0,line:!0},y:{zIndex:1,title:!1,line:!0,nice:!0}},meta:{x:{padding:.5,align:0}},interaction:{tooltip:{style:{crosshairsLineDash:[4,4]}}},children:[{type:"line"}],coordinateType:"polar"}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return Of},t}(AG),Og=function(){return(Og=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&(t.x1=e[r],t.x2=t[r],t.y1=e[OH]),t},[]),o.shift(),a.push({type:"link",xField:["x1","x2"],yField:"y1",zIndex:-1,data:o,style:Oz({stroke:"#697474"},i),label:!1,tooltip:!1}),e},AK,AV)(e)}var OV=(P=function(e,t){return(P=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}P(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),OY=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="waterfall",t}return OV(t,e),t.getDefaultOptions=function(){return{type:"view",legend:null,tooltip:{field:O$,valueFormatter:"~s",name:"value"},axis:{y:{title:null,labelFormatter:"~s"},x:{title:null}},children:[{type:"interval",interaction:{elementHighlight:{background:!0}}}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return OW},t}(AG);function Oq(e){return(0,em.flow)(function(e){var t=e.options,n=t.data,r=t.binNumber,a=t.binWidth,i=t.children,o=t.channel,s=void 0===o?"count":o,l=(0,em.get)(i,"[0].transform[0]",{});return(0,em.isNumber)(a)?((0,em.assign)(l,{thresholds:(0,em.ceil)((0,em.divide)(n.length,a)),y:s}),e):((0,em.isNumber)(r)&&(0,em.assign)(l,{thresholds:r,y:s}),e)},AK,AV)(e)}var OK=(M=function(e,t){return(M=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}M(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),OX=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="Histogram",t}return OK(t,e),t.getDefaultOptions=function(){return{type:"view",autoFit:!0,axis:{y:{title:!1},x:{title:!1}},children:[{type:"rect",transform:[{type:"binX",y:"count"}],interaction:{elementHighlight:{background:!0}}}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return Oq},t}(AG);function OQ(e){return(0,em.flow)(function(e){var t=e.options,n=t.tooltip,r=void 0===n?{}:n,a=t.colorField,i=t.sizeField;return r&&!r.field&&(r.field=a||i),e},function(e){var t=e.options,n=t.mark,r=t.children;return n&&(r[0].type=n),e},AK,AV)(e)}var OJ=(F=function(e,t){return(F=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}F(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),O0=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="heatmap",t}return OJ(t,e),t.getDefaultOptions=function(){return{type:"view",legend:null,tooltip:{valueFormatter:"~s"},axis:{y:{title:null,grid:!0},x:{title:null,grid:!0}},children:[{type:"point",interaction:{elementHighlight:{background:!0}}}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return OQ},t}(AG);function O1(e){return(0,em.flow)(function(e){var t=e.options.boxType;return e.options.children[0].type=void 0===t?"box":t,e},AK,AV)(e)}var O2=(B=function(e,t){return(B=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}B(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),O3=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="box",t}return O2(t,e),t.getDefaultOptions=function(){return{type:"view",children:[{type:"box"}],axis:{y:{title:!1},x:{title:!1}},tooltip:{items:[{name:"min",channel:"y"},{name:"q1",channel:"y1"},{name:"q2",channel:"y2"},{name:"q3",channel:"y3"},{name:"max",channel:"y4"}]}}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return O1},t}(AG);function O5(e){return(0,em.flow)(function(e){var t=e.options,n=t.data,r=[{type:"custom",callback:function(e){return{links:e}}}];if((0,em.isArray)(n))n.length>0?(0,em.set)(t,"data",{value:n,transform:r}):delete t.children;else if("fetch"===(0,em.get)(n,"type")&&(0,em.get)(n,"value")){var a=(0,em.get)(n,"transform");(0,em.isArray)(a)?(0,em.set)(n,"transform",a.concat(r)):(0,em.set)(n,"transform",r)}return e},AK,AV)(e)}var O4=(j=function(e,t){return(j=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}j(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),O6=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="sankey",t}return O4(t,e),t.getDefaultOptions=function(){return{type:"view",children:[{type:"sankey"}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return O5},t}(AG);function O9(e){t=e.options.layout,e.options.coordinate.transform="horizontal"!==(void 0===t?"horizontal":t)?void 0:[{type:"transpose"}];var t,n=e.options.layout,r=void 0===n?"horizontal":n;return e.options.children.forEach(function(e){var t;(null===(t=null==e?void 0:e.coordinate)||void 0===t?void 0:t.transform)&&(e.coordinate.transform="horizontal"!==r?void 0:[{type:"transpose"}])}),e}var O8=function(){return(O8=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},_G=(0,eg.forwardRef)(function(e,t){var n,r,a,i,o,s,l,c,u,d=e.chartType,p=_U(e,["chartType"]),f=p.containerStyle,h=p.containerAttributes,m=void 0===h?{}:h,g=p.className,b=p.loading,y=p.loadingTemplate,E=p.errorTemplate,v=_U(p,["containerStyle","containerAttributes","className","loading","loadingTemplate","errorTemplate"]),T=(n=_B[void 0===d?"Base":d],r=(0,eg.useRef)(),a=(0,eg.useRef)(),i=(0,eg.useRef)(null),o=v.onReady,s=v.onEvent,l=function(e,t){void 0===e&&(e="image/png");var n,r=null===(n=i.current)||void 0===n?void 0:n.getElementsByTagName("canvas")[0];return null==r?void 0:r.toDataURL(e,t)},c=function(e,t,n){void 0===e&&(e="download"),void 0===t&&(t="image/png");var r=e;-1===e.indexOf(".")&&(r="".concat(e,".").concat(t.split("/")[1]));var a=l(t,n),i=document.createElement("a");return i.href=a,i.download=r,document.body.appendChild(i),i.click(),document.body.removeChild(i),i=null,r},u=function(e,t){void 0===t&&(t=!1);var n=Object.keys(e),r=t;n.forEach(function(n){var a,i=e[n];("tooltip"===n&&(r=!0),(0,em.isFunction)(i)&&(a="".concat(i),/react|\.jsx|children:\[\(|return\s+[A-Za-z0-9].createElement\((?!['"][g|circle|ellipse|image|rect|line|polyline|polygon|text|path|html|mesh]['"])([^\)])*,/i.test(a)))?e[n]=function(){for(var e=[],t=0;t1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return(function(e){if(0===e.length||1===e.length)return e;var t,n=e.join(".");return p[n]||(p[n]=0===(t=e.length)||1===t?e:2===t?[e[0],e[1],"".concat(e[0],".").concat(e[1]),"".concat(e[1],".").concat(e[0])]:3===t?[e[0],e[1],e[2],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0])]:t>=4?[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]:void 0),p[n]})(e.filter(function(e){return"token"!==e})).reduce(function(e,t){return d(d({},e),n[t])},t)}(s.className,Object.assign({},s.style,void 0===a?{}:a),r)})}else g=d(d({},s),{},{className:s.className.join(" ")});var T=b(n.children);return l.createElement(f,(0,c.Z)({key:o},g),T)}}({node:e,stylesheet:n,useInlineStyles:r,key:"code-segement".concat(t)})})}function S(e){return e&&void 0!==e.highlightAuto}var A=n(98695),O=(r=n.n(A)(),a={'code[class*="language-"]':{color:"black",background:"none",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"black",background:"#f5f2f0",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},':not(pre) > code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},function(e){var t=e.language,n=e.children,s=e.style,c=void 0===s?a:s,u=e.customStyle,d=void 0===u?{}:u,p=e.codeTagProps,h=void 0===p?{className:t?"language-".concat(t):void 0,style:m(m({},c['code[class*="language-"]']),c['code[class*="language-'.concat(t,'"]')])}:p,A=e.useInlineStyles,O=void 0===A||A,_=e.showLineNumbers,k=void 0!==_&&_,x=e.showInlineLineNumbers,C=void 0===x||x,w=e.startingLineNumber,I=void 0===w?1:w,R=e.lineNumberContainerStyle,N=e.lineNumberStyle,L=void 0===N?{}:N,D=e.wrapLines,P=e.wrapLongLines,M=void 0!==P&&P,F=e.lineProps,B=void 0===F?{}:F,j=e.renderer,U=e.PreTag,G=void 0===U?"pre":U,H=e.CodeTag,$=void 0===H?"code":H,z=e.code,Z=void 0===z?(Array.isArray(n)?n[0]:n)||"":z,W=e.astGenerator,V=(0,i.Z)(e,f);W=W||r;var Y=k?l.createElement(b,{containerStyle:R,codeStyle:h.style||{},numberStyle:L,startingLineNumber:I,codeString:Z}):null,q=c.hljs||c['pre[class*="language-"]']||{backgroundColor:"#fff"},K=S(W)?"hljs":"prismjs",X=O?Object.assign({},V,{style:Object.assign({},q,d)}):Object.assign({},V,{className:V.className?"".concat(K," ").concat(V.className):K,style:Object.assign({},d)});if(M?h.style=m(m({},h.style),{},{whiteSpace:"pre-wrap"}):h.style=m(m({},h.style),{},{whiteSpace:"pre"}),!W)return l.createElement(G,X,Y,l.createElement($,h,Z));(void 0===D&&j||M)&&(D=!0),j=j||T;var Q=[{type:"text",value:Z}],J=function(e){var t=e.astGenerator,n=e.language,r=e.code,a=e.defaultCodeValue;if(S(t)){var i=-1!==t.listLanguages().indexOf(n);return"text"===n?{value:a,language:"text"}:i?t.highlight(n,r):t.highlightAuto(r)}try{return n&&"text"!==n?{value:t.highlight(r,n)}:{value:a}}catch(e){return{value:a}}}({astGenerator:W,language:t,code:Z,defaultCodeValue:Q});null===J.language&&(J.value=Q);var ee=J.value.length+I,et=function(e,t,n,r,a,i,s,l,c){var u,d=function e(t){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=0;a2&&void 0!==arguments[2]?arguments[2]:[];return t||o.length>0?function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return v({children:e,lineNumber:t,lineNumberStyle:l,largestLineNumber:s,showInlineLineNumbers:a,lineProps:n,className:i,showLineNumbers:r,wrapLongLines:c})}(e,i,o):function(e,t){if(r&&t&&a){var n=E(l,t,s);e.unshift(y(t,n))}return e}(e,i)}for(;h code[class*="language-"]':{background:"#111b27",padding:"0.1em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"#8da1b9"},prolog:{color:"#8da1b9"},doctype:{color:"#8da1b9"},cdata:{color:"#8da1b9"},punctuation:{color:"#e3eaf2"},"delimiter.important":{color:"#66cccc",fontWeight:"inherit"},"selector.parent":{color:"#66cccc"},tag:{color:"#66cccc"},"tag.punctuation":{color:"#66cccc"},"attr-name":{color:"#e6d37a"},boolean:{color:"#e6d37a"},"boolean.important":{color:"#e6d37a"},number:{color:"#e6d37a"},constant:{color:"#e6d37a"},"selector.attribute":{color:"#e6d37a"},"class-name":{color:"#6cb8e6"},key:{color:"#6cb8e6"},parameter:{color:"#6cb8e6"},property:{color:"#6cb8e6"},"property-access":{color:"#6cb8e6"},variable:{color:"#6cb8e6"},"attr-value":{color:"#91d076"},inserted:{color:"#91d076"},color:{color:"#91d076"},"selector.value":{color:"#91d076"},string:{color:"#91d076"},"string.url-link":{color:"#91d076"},builtin:{color:"#f4adf4"},"keyword-array":{color:"#f4adf4"},package:{color:"#f4adf4"},regex:{color:"#f4adf4"},function:{color:"#c699e3"},"selector.class":{color:"#c699e3"},"selector.id":{color:"#c699e3"},"atrule.rule":{color:"#e9ae7e"},combinator:{color:"#e9ae7e"},keyword:{color:"#e9ae7e"},operator:{color:"#e9ae7e"},"pseudo-class":{color:"#e9ae7e"},"pseudo-element":{color:"#e9ae7e"},selector:{color:"#e9ae7e"},unit:{color:"#e9ae7e"},deleted:{color:"#cd6660"},important:{color:"#cd6660",fontWeight:"bold"},"keyword-this":{color:"#6cb8e6",fontWeight:"bold"},this:{color:"#6cb8e6",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},entity:{cursor:"help"},".language-markdown .token.title":{color:"#6cb8e6",fontWeight:"bold"},".language-markdown .token.title .token.punctuation":{color:"#6cb8e6",fontWeight:"bold"},".language-markdown .token.blockquote.punctuation":{color:"#f4adf4"},".language-markdown .token.code":{color:"#66cccc"},".language-markdown .token.hr.punctuation":{color:"#6cb8e6"},".language-markdown .token.url .token.content":{color:"#91d076"},".language-markdown .token.url-link":{color:"#e6d37a"},".language-markdown .token.list.punctuation":{color:"#f4adf4"},".language-markdown .token.table-header":{color:"#e3eaf2"},".language-json .token.operator":{color:"#e3eaf2"},".language-scss .token.variable":{color:"#66cccc"},"token.tab:not(:empty):before":{color:"#8da1b9"},"token.cr:before":{color:"#8da1b9"},"token.lf:before":{color:"#8da1b9"},"token.space:before":{color:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{color:"#111b27",background:"#6cb8e6"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{color:"#111b27",background:"#6cb8e6"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{color:"#111b27",background:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{color:"#111b27",background:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{color:"#111b27",background:"#8da1b9"},".line-highlight.line-highlight":{background:"linear-gradient(to right, #3c526d5f 70%, #3c526d55)"},".line-highlight.line-highlight:before":{backgroundColor:"#8da1b9",color:"#111b27",boxShadow:"0 1px #3c526d"},".line-highlight.line-highlight[data-end]:after":{backgroundColor:"#8da1b9",color:"#111b27",boxShadow:"0 1px #3c526d"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"#8da1b918"},".line-numbers.line-numbers .line-numbers-rows":{borderRight:"1px solid #0b121b",background:"#0b121b7a"},".line-numbers .line-numbers-rows > span:before":{color:"#8da1b9da"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"#c699e3"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"#c699e3"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"#c699e3"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"#cd66601f"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"#cd66601f"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"#91d0761f"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"#91d0761f"},".command-line .command-line-prompt":{borderRight:"1px solid #0b121b"},".command-line .command-line-prompt > span:before":{color:"#8da1b9da"}}},12187:function(e,t){"use strict";t.Z={'code[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"]::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},prolog:{color:"hsl(220, 10%, 40%)"},cdata:{color:"hsl(220, 10%, 40%)"},doctype:{color:"hsl(220, 14%, 71%)"},punctuation:{color:"hsl(220, 14%, 71%)"},entity:{color:"hsl(220, 14%, 71%)",cursor:"help"},"attr-name":{color:"hsl(29, 54%, 61%)"},"class-name":{color:"hsl(29, 54%, 61%)"},boolean:{color:"hsl(29, 54%, 61%)"},constant:{color:"hsl(29, 54%, 61%)"},number:{color:"hsl(29, 54%, 61%)"},atrule:{color:"hsl(29, 54%, 61%)"},keyword:{color:"hsl(286, 60%, 67%)"},property:{color:"hsl(355, 65%, 65%)"},tag:{color:"hsl(355, 65%, 65%)"},symbol:{color:"hsl(355, 65%, 65%)"},deleted:{color:"hsl(355, 65%, 65%)"},important:{color:"hsl(355, 65%, 65%)"},selector:{color:"hsl(95, 38%, 62%)"},string:{color:"hsl(95, 38%, 62%)"},char:{color:"hsl(95, 38%, 62%)"},builtin:{color:"hsl(95, 38%, 62%)"},inserted:{color:"hsl(95, 38%, 62%)"},regex:{color:"hsl(95, 38%, 62%)"},"attr-value":{color:"hsl(95, 38%, 62%)"},"attr-value > .token.punctuation":{color:"hsl(95, 38%, 62%)"},variable:{color:"hsl(207, 82%, 66%)"},operator:{color:"hsl(207, 82%, 66%)"},function:{color:"hsl(207, 82%, 66%)"},url:{color:"hsl(187, 47%, 55%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(220, 14%, 71%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(220, 14%, 71%)"},".language-css .token.selector":{color:"hsl(355, 65%, 65%)"},".language-css .token.property":{color:"hsl(220, 14%, 71%)"},".language-css .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.string.url":{color:"hsl(95, 38%, 62%)"},".language-css .token.important":{color:"hsl(286, 60%, 67%)"},".language-css .token.atrule .token.rule":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.operator":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(5, 48%, 51%)"},".language-json .token.operator":{color:"hsl(220, 14%, 71%)"},".language-json .token.null.keyword":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.url":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.operator":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.content":{color:"hsl(207, 82%, 66%)"},".language-markdown .token.url > .token.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.url-reference.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(95, 38%, 62%)"},".language-markdown .token.bold .token.content":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.italic .token.content":{color:"hsl(286, 60%, 67%)"},".language-markdown .token.strike .token.content":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.list.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(355, 65%, 65%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.cr:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.lf:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.space:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},".line-highlight.line-highlight":{background:"hsla(220, 100%, 80%, 0.04)"},".line-highlight.line-highlight:before":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(220, 100%, 80%, 0.04)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".command-line .command-line-prompt":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(220, 14%, 45%)"},".command-line .command-line-prompt > span:before":{color:"hsl(220, 14%, 45%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(286, 60%, 67%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(224, 13%, 17%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(224, 13%, 17%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(224, 13%, 17%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(224, 13%, 17%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(219, 13%, 22%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(220, 14%, 71%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(220, 14%, 71%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(220, 14%, 71%)"}}},89144:function(e,t){"use strict";t.Z={'code[class*="language-"]':{background:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"] *::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"]::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"] *::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'pre[class*="language-"] *::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},prolog:{color:"hsl(230, 4%, 64%)"},cdata:{color:"hsl(230, 4%, 64%)"},doctype:{color:"hsl(230, 8%, 24%)"},punctuation:{color:"hsl(230, 8%, 24%)"},entity:{color:"hsl(230, 8%, 24%)",cursor:"help"},"attr-name":{color:"hsl(35, 99%, 36%)"},"class-name":{color:"hsl(35, 99%, 36%)"},boolean:{color:"hsl(35, 99%, 36%)"},constant:{color:"hsl(35, 99%, 36%)"},number:{color:"hsl(35, 99%, 36%)"},atrule:{color:"hsl(35, 99%, 36%)"},keyword:{color:"hsl(301, 63%, 40%)"},property:{color:"hsl(5, 74%, 59%)"},tag:{color:"hsl(5, 74%, 59%)"},symbol:{color:"hsl(5, 74%, 59%)"},deleted:{color:"hsl(5, 74%, 59%)"},important:{color:"hsl(5, 74%, 59%)"},selector:{color:"hsl(119, 34%, 47%)"},string:{color:"hsl(119, 34%, 47%)"},char:{color:"hsl(119, 34%, 47%)"},builtin:{color:"hsl(119, 34%, 47%)"},inserted:{color:"hsl(119, 34%, 47%)"},regex:{color:"hsl(119, 34%, 47%)"},"attr-value":{color:"hsl(119, 34%, 47%)"},"attr-value > .token.punctuation":{color:"hsl(119, 34%, 47%)"},variable:{color:"hsl(221, 87%, 60%)"},operator:{color:"hsl(221, 87%, 60%)"},function:{color:"hsl(221, 87%, 60%)"},url:{color:"hsl(198, 99%, 37%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(230, 8%, 24%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(230, 8%, 24%)"},".language-css .token.selector":{color:"hsl(5, 74%, 59%)"},".language-css .token.property":{color:"hsl(230, 8%, 24%)"},".language-css .token.function":{color:"hsl(198, 99%, 37%)"},".language-css .token.url > .token.function":{color:"hsl(198, 99%, 37%)"},".language-css .token.url > .token.string.url":{color:"hsl(119, 34%, 47%)"},".language-css .token.important":{color:"hsl(301, 63%, 40%)"},".language-css .token.atrule .token.rule":{color:"hsl(301, 63%, 40%)"},".language-javascript .token.operator":{color:"hsl(301, 63%, 40%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(344, 84%, 43%)"},".language-json .token.operator":{color:"hsl(230, 8%, 24%)"},".language-json .token.null.keyword":{color:"hsl(35, 99%, 36%)"},".language-markdown .token.url":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url > .token.operator":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url > .token.content":{color:"hsl(221, 87%, 60%)"},".language-markdown .token.url > .token.url":{color:"hsl(198, 99%, 37%)"},".language-markdown .token.url-reference.url":{color:"hsl(198, 99%, 37%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(119, 34%, 47%)"},".language-markdown .token.bold .token.content":{color:"hsl(35, 99%, 36%)"},".language-markdown .token.italic .token.content":{color:"hsl(301, 63%, 40%)"},".language-markdown .token.strike .token.content":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.list.punctuation":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(5, 74%, 59%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.cr:before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.lf:before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.space:before":{color:"hsla(230, 8%, 24%, 0.2)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},".line-highlight.line-highlight":{background:"hsla(230, 8%, 24%, 0.05)"},".line-highlight.line-highlight:before":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 8%, 24%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 8%, 24%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(230, 8%, 24%, 0.05)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(230, 8%, 24%, 0.2)"},".command-line .command-line-prompt":{borderRightColor:"hsla(230, 8%, 24%, 0.2)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(230, 1%, 62%)"},".command-line .command-line-prompt > span:before":{color:"hsl(230, 1%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(301, 63%, 40%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(301, 63%, 40%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(301, 63%, 40%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(0, 0, 95%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(0, 0, 95%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(0, 0, 95%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(0, 0, 95%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(0, 0%, 100%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(0, 0%, 100%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(0, 0%, 100%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(230, 8%, 24%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(230, 8%, 24%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(230, 8%, 24%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(230, 8%, 24%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(230, 8%, 24%)"}}},2440:function(e,t,n){"use strict";var r=n(25519);t.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(r.C9))&&void 0!==e?e:"")}},39718:function(e,t,n){"use strict";var r=n(85893),a=n(19284),i=n(25675),o=n.n(i),s=n(67294);t.Z=(0,s.memo)(e=>{let{width:t,height:n,model:i}=e,l=(0,s.useMemo)(()=>(0,a.ab)(i||"huggingface"),[i]);return i?(0,r.jsx)(o(),{className:"rounded-full border border-gray-200 object-contain bg-white inline-block",width:t||24,height:n||24,src:l,alt:"llm",priority:!0}):null})},50948:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{noSSR:function(){return o},default:function(){return s}});let r=n(38754),a=(n(67294),r._(n(23900)));function i(e){return{default:(null==e?void 0:e.default)||e}}function o(e,t){return delete t.webpack,delete t.modules,e(t)}function s(e,t){let n=a.default,r={loading:e=>{let{error:t,isLoading:n,pastDelay:r}=e;return null}};e instanceof Promise?r.loader=()=>e:"function"==typeof e?r.loader=e:"object"==typeof e&&(r={...r,...e}),r={...r,...t};let s=r.loader;return(r.loadableGenerated&&(r={...r,...r.loadableGenerated},delete r.loadableGenerated),"boolean"!=typeof r.ssr||r.ssr)?n({...r,loader:()=>null!=s?s().then(i):Promise.resolve(i(()=>null))}):(delete r.webpack,delete r.modules,o(n,r))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2804:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return i}});let r=n(38754),a=r._(n(67294)),i=a.default.createContext(null)},23900:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});let r=n(38754),a=r._(n(67294)),i=n(2804),o=[],s=[],l=!1;function c(e){let t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then(e=>(n.loading=!1,n.loaded=e,e)).catch(e=>{throw n.loading=!1,n.error=e,e}),n}class u{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function d(e){return function(e,t){let n=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),r=null;function o(){if(!r){let t=new u(e,n);r={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return r.promise()}if(!l){let e=n.webpack?n.webpack():n.modules;e&&s.push(t=>{for(let n of e)if(t.includes(n))return o()})}function c(e,t){!function(){o();let e=a.default.useContext(i.LoadableContext);e&&Array.isArray(n.modules)&&n.modules.forEach(t=>{e(t)})}();let s=a.default.useSyncExternalStore(r.subscribe,r.getCurrentValue,r.getCurrentValue);return a.default.useImperativeHandle(t,()=>({retry:r.retry}),[]),a.default.useMemo(()=>{var t;return s.loading||s.error?a.default.createElement(n.loading,{isLoading:s.loading,pastDelay:s.pastDelay,timedOut:s.timedOut,error:s.error,retry:r.retry}):s.loaded?a.default.createElement((t=s.loaded)&&t.default?t.default:t,e):null},[e,s])}return c.preload=()=>o(),c.displayName="LoadableComponent",a.default.forwardRef(c)}(c,e)}function p(e,t){let n=[];for(;e.length;){let r=e.pop();n.push(r(t))}return Promise.all(n).then(()=>{if(e.length)return p(e,t)})}d.preloadAll=()=>new Promise((e,t)=>{p(o).then(e,t)}),d.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let n=()=>(l=!0,t());p(s,e).then(n,n)})),window.__NEXT_PRELOADREADY=d.preloadReady;let f=d},7332:function(e,t,n){"use strict";n.r(t);var r=n(85893),a=n(39718),i=n(18102),o=n(96074),s=n(93967),l=n.n(s),c=n(67294),u=n(73913),d=n(32966);t.default=(0,c.memo)(e=>{let{message:t,index:n}=e,{scene:s}=(0,c.useContext)(u.MobileChatContext),{context:p,model_name:f,role:h,thinking:m}=t,g=(0,c.useMemo)(()=>"view"===h,[h]),b=(0,c.useRef)(null),{value:y}=(0,c.useMemo)(()=>{if("string"!=typeof p)return{relations:[],value:"",cachePluginContext:[]};let[e,t]=p.split(" relations:"),n=t?t.split(","):[],r=[],a=0,i=e.replace(/]*>[^<]*<\/dbgpt-view>/gi,e=>{try{var t;let n=e.replaceAll("\n","\\n").replace(/<[^>]*>|<\/[^>]*>/gm,""),i=JSON.parse(n),o="".concat(a,"");return r.push({...i,result:E(null!==(t=i.result)&&void 0!==t?t:"")}),a++,o}catch(t){return console.log(t.message,t),e}});return{relations:n,cachePluginContext:r,value:i}},[p]),E=e=>e.replaceAll("\\n","\n").replace(/]+)>/gi,"
").replace(/]+)>/gi,"");return(0,r.jsxs)("div",{className:l()("flex w-full",{"justify-end":!g}),ref:b,children:[!g&&(0,r.jsx)("div",{className:"flex bg-[#0C75FC] text-white p-3 rounded-xl rounded-br-none",children:p}),g&&(0,r.jsxs)("div",{className:"flex max-w-full flex-col flex-wrap bg-white dark:bg-[rgba(255,255,255,0.16)] p-3 rounded-xl rounded-bl-none",children:["string"==typeof p&&"chat_agent"===s&&(0,r.jsx)(i.default,{children:null==y?void 0:y.replace(/]+)>/gi,"
").replace(/]+)>/gi,"")}),"string"==typeof p&&"chat_agent"!==s&&(0,r.jsx)(i.default,{children:E(y)}),m&&!p&&(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("span",{className:"flex text-sm text-[#1c2533] dark:text-white",children:"思考中"}),(0,r.jsxs)("div",{className:"flex",children:[(0,r.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse1"}),(0,r.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse2"}),(0,r.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse3"})]})]}),!m&&(0,r.jsx)(o.Z,{className:"my-2"}),(0,r.jsxs)("div",{className:l()("opacity-0 h-0 w-0",{"opacity-100 flex items-center justify-between gap-6 w-auto h-auto":!m}),children:[(0,r.jsx)(d.default,{content:t,index:n,chatDialogRef:b}),"chat_agent"!==s&&(0,r.jsxs)("div",{className:"flex gap-1 items-center",children:[(0,r.jsx)(a.Z,{width:14,height:14,model:f}),(0,r.jsx)("span",{className:"text-xs text-gray-500",children:f})]})]})]})]})})},36818:function(e,t,n){"use strict";n.r(t);var r=n(85893),a=n(67294),i=n(73913),o=n(7332);t.default=(0,a.memo)(()=>{let{history:e}=(0,a.useContext)(i.MobileChatContext),t=(0,a.useMemo)(()=>e.filter(e=>["view","human"].includes(e.role)),[e]);return(0,r.jsx)("div",{className:"flex flex-col gap-4",children:!!t.length&&t.map((e,t)=>(0,r.jsx)(o.default,{message:e,index:t},e.context+t))})})},5583:function(e,t,n){"use strict";n.r(t);var r=n(85893),a=n(85265),i=n(66309),o=n(25278),s=n(14726),l=n(67294);t.default=e=>{let{open:t,setFeedbackOpen:n,list:c,feedback:u,loading:d}=e,[p,f]=(0,l.useState)([]),[h,m]=(0,l.useState)("");return(0,r.jsx)(a.Z,{title:"你的反馈助我进步",placement:"bottom",open:t,onClose:()=>n(!1),destroyOnClose:!0,height:"auto",children:(0,r.jsxs)("div",{className:"flex flex-col w-full gap-4",children:[(0,r.jsx)("div",{className:"flex w-full flex-wrap gap-2",children:null==c?void 0:c.map(e=>{let t=p.findIndex(t=>t.reason_type===e.reason_type)>-1;return(0,r.jsx)(i.Z,{className:"text-sm text-[#525964] p-1 px-2 rounded-md cursor-pointer ".concat(t?"border-[#0c75fc] text-[#0c75fc]":""),onClick:()=>{f(t=>{let n=t.findIndex(t=>t.reason_type===e.reason_type);return n>-1?[...t.slice(0,n),...t.slice(n+1)]:[...t,e]})},children:e.reason},e.reason_type)})}),(0,r.jsx)(o.default.TextArea,{placeholder:"描述一下具体问题或更优的答案",className:"h-24 resize-none mb-2",value:h,onChange:e=>m(e.target.value.trim())}),(0,r.jsxs)("div",{className:"flex gap-2 justify-end",children:[(0,r.jsx)(s.ZP,{className:"w-16 h-8",onClick:()=>{n(!1)},children:"取消"}),(0,r.jsx)(s.ZP,{type:"primary",className:"min-w-16 h-8",onClick:async()=>{let e=p.map(e=>e.reason_type);await (null==u?void 0:u({feedback_type:"unlike",reason_types:e,remark:h}))},loading:d,children:"确认"})]})]})})}},32966:function(e,t,n){"use strict";n.r(t);var r=n(85893),a=n(76212),i=n(65429),o=n(15381),s=n(57132),l=n(65654),c=n(31418),u=n(96074),d=n(14726),p=n(93967),f=n.n(p),h=n(20640),m=n.n(h),g=n(67294),b=n(73913),y=n(5583);t.default=e=>{var t;let{content:n,index:p,chatDialogRef:h}=e,{conv_uid:E,history:v,scene:T}=(0,g.useContext)(b.MobileChatContext),{message:S}=c.Z.useApp(),[A,O]=(0,g.useState)(!1),[_,k]=(0,g.useState)(null==n?void 0:null===(t=n.feedback)||void 0===t?void 0:t.feedback_type),[x,C]=(0,g.useState)([]),w=async e=>{var t;let n=null==e?void 0:e.replace(/\trelations:.*/g,""),r=m()((null===(t=h.current)||void 0===t?void 0:t.textContent)||n);r?n?S.success("复制成功"):S.warning("内容复制为空"):S.error("复制失败")},{run:I,loading:R}=(0,l.Z)(async e=>await (0,a.Vx)((0,a.zx)({conv_uid:E,message_id:n.order+"",feedback_type:e.feedback_type,reason_types:e.reason_types,remark:e.remark})),{manual:!0,onSuccess:e=>{let[,t]=e;k(null==t?void 0:t.feedback_type),S.success("反馈成功"),O(!1)}}),{run:N}=(0,l.Z)(async()=>await (0,a.Vx)((0,a.Ir)({conv_uid:E,message_id:(null==n?void 0:n.order)+""})),{manual:!0,onSuccess:e=>{let[,t]=e;t&&(k("none"),S.success("操作成功"))}}),{run:L}=(0,l.Z)(async()=>await (0,a.Vx)((0,a.Jr)()),{manual:!0,onSuccess:e=>{let[,t]=e;C(t||[]),t&&O(!0)}}),{run:D,loading:P}=(0,l.Z)(async()=>await (0,a.Vx)((0,a.Ty)({conv_id:E,round_index:0})),{manual:!0,onSuccess:()=>{S.success("操作成功")}});return(0,r.jsxs)("div",{className:"flex items-center text-sm",children:[(0,r.jsxs)("div",{className:"flex gap-3",children:[(0,r.jsx)(i.Z,{className:f()("cursor-pointer",{"text-[#0C75FC]":"like"===_}),onClick:async()=>{if("like"===_){await N();return}await I({feedback_type:"like"})}}),(0,r.jsx)(o.Z,{className:f()("cursor-pointer",{"text-[#0C75FC]":"unlike"===_}),onClick:async()=>{if("unlike"===_){await N();return}await L()}}),(0,r.jsx)(y.default,{open:A,setFeedbackOpen:O,list:x,feedback:I,loading:R})]}),(0,r.jsx)(u.Z,{type:"vertical"}),(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)(s.Z,{className:"cursor-pointer",onClick:()=>w(n.context)}),v.length-1===p&&"chat_agent"===T&&(0,r.jsx)(d.ZP,{loading:P,size:"small",onClick:async()=>{await D()},className:"text-xs",children:"终止话题"})]})]})}},56397:function(e,t,n){"use strict";n.r(t);var r=n(85893),a=n(48218),i=n(58638),o=n(31418),s=n(45030),l=n(20640),c=n.n(l),u=n(67294),d=n(73913);t.default=(0,u.memo)(()=>{var e;let{appInfo:t}=(0,u.useContext)(d.MobileChatContext),{message:n}=o.Z.useApp(),[l,p]=(0,u.useState)(0);if(!(null==t?void 0:t.app_code))return null;let f=async()=>{let e=c()("dingtalk://dingtalkclient/page/link?url=".concat(encodeURIComponent(location.href),"&pc_slide=true"));n[e?"success":"error"](e?"复制成功":"复制失败")};return l>6&&n.info(JSON.stringify(window.navigator.userAgent),2,()=>{p(0)}),(0,r.jsxs)("header",{className:"flex w-full items-center justify-between bg-[rgba(255,255,255,0.9)] border dark:bg-black dark:border-[rgba(255,255,255,0.6)] rounded-xl mx-auto px-4 py-2 mb-4 sticky top-4 z-50 mt-4 shadow-md",children:[(0,r.jsxs)("div",{className:"flex gap-2 items-center",onClick:()=>p(l+1),children:[(0,r.jsx)(a.Z,{scene:(null==t?void 0:null===(e=t.team_context)||void 0===e?void 0:e.chat_scene)||"chat_agent",width:8,height:8}),(0,r.jsxs)("div",{className:"flex flex-col ml-2",children:[(0,r.jsx)(s.Z.Text,{className:"text-md font-bold line-clamp-2",children:null==t?void 0:t.app_name}),(0,r.jsx)(s.Z.Text,{className:"text-sm line-clamp-2",children:null==t?void 0:t.app_describe})]})]}),(0,r.jsx)("div",{onClick:f,className:"flex items-center justify-center w-10 h-10 bg-[#ffffff99] dark:bg-[rgba(255,255,255,0.2)] border border-white dark:border-[rgba(255,255,255,0.2)] rounded-[50%] cursor-pointer",children:(0,r.jsx)(i.Z,{className:"text-lg"})})]})})},74638:function(e,t,n){"use strict";n.r(t);var r=n(85893),a=n(76212),i=n(62418),o=n(25519),s=n(30159),l=n(87740),c=n(50888),u=n(52645),d=n(27496),p=n(1375),f=n(65654),h=n(66309),m=n(55241),g=n(74330),b=n(25278),y=n(14726),E=n(93967),v=n.n(E),T=n(39332),S=n(67294),A=n(73913),O=n(7001),_=n(73749),k=n(97109),x=n(83454);let C=["magenta","orange","geekblue","purple","cyan","green"];t.default=()=>{var e,t;let n=(0,T.useSearchParams)(),E=null!==(t=null==n?void 0:n.get("ques"))&&void 0!==t?t:"",{history:w,model:I,scene:R,temperature:N,resource:L,conv_uid:D,appInfo:P,scrollViewRef:M,order:F,userInput:B,ctrl:j,canAbort:U,canNewChat:G,setHistory:H,setCanNewChat:$,setCarAbort:z,setUserInput:Z}=(0,S.useContext)(A.MobileChatContext),[W,V]=(0,S.useState)(!1),[Y,q]=(0,S.useState)(!1),K=async e=>{var t,n,r;Z(""),j.current=new AbortController;let a={chat_mode:R,model_name:I,user_input:e||B,conv_uid:D,temperature:N,app_code:null==P?void 0:P.app_code,...L&&{select_param:JSON.stringify(L)}};if(w&&w.length>0){let e=null==w?void 0:w.filter(e=>"view"===e.role);F.current=e[e.length-1].order+1}let s=[{role:"human",context:e||B,model_name:I,order:F.current,time_stamp:0},{role:"view",context:"",model_name:I,order:F.current,time_stamp:0,thinking:!0}],l=s.length-1;H([...w,...s]),$(!1);try{await (0,p.L)("".concat(null!==(t=x.env.API_BASE_URL)&&void 0!==t?t:"","/api/v1/chat/completions"),{method:"POST",headers:{"Content-Type":"application/json",[o.gp]:null!==(n=(0,i.n5)())&&void 0!==n?n:""},signal:j.current.signal,body:JSON.stringify(a),openWhenHidden:!0,async onopen(e){if(e.ok&&e.headers.get("content-type")===p.a)return},onclose(){var e;null===(e=j.current)||void 0===e||e.abort(),$(!0),z(!1)},onerror(e){throw Error(e)},onmessage:e=>{let t=e.data;try{t=JSON.parse(t).vis}catch(e){t.replaceAll("\\n","\n")}"[DONE]"===t?($(!0),z(!1)):(null==t?void 0:t.startsWith("[ERROR]"))?(s[l].context=null==t?void 0:t.replace("[ERROR]",""),s[l].thinking=!1,H([...w,...s]),$(!0),z(!1)):(z(!0),s[l].context=t,s[l].thinking=!1,H([...w,...s]))}})}catch(e){null===(r=j.current)||void 0===r||r.abort(),s[l].context="Sorry, we meet some error, please try again later.",s[l].thinking=!1,H([...s]),$(!0),z(!1)}},X=async()=>{B.trim()&&G&&await K()};(0,S.useEffect)(()=>{var e,t;null===(e=M.current)||void 0===e||e.scrollTo({top:null===(t=M.current)||void 0===t?void 0:t.scrollHeight,behavior:"auto"})},[w,M]);let Q=(0,S.useMemo)(()=>{if(!P)return[];let{param_need:e=[]}=P;return null==e?void 0:e.map(e=>e.type)},[P]),J=(0,S.useMemo)(()=>{var e;return 0===w.length&&P&&!!(null==P?void 0:null===(e=P.recommend_questions)||void 0===e?void 0:e.length)},[w,P]),{run:ee,loading:et}=(0,f.Z)(async()=>await (0,a.Vx)((0,a.zR)(D)),{manual:!0,onSuccess:()=>{H([])}});return(0,S.useEffect)(()=>{E&&I&&D&&P&&K(E)},[P,D,I,E]),(0,r.jsxs)("div",{className:"flex flex-col",children:[J&&(0,r.jsx)("ul",{children:null==P?void 0:null===(e=P.recommend_questions)||void 0===e?void 0:e.map((e,t)=>(0,r.jsx)("li",{className:"mb-3",children:(0,r.jsx)(h.Z,{color:C[t],className:"p-2 rounded-xl",onClick:async()=>{K(e.question)},children:e.question})},e.id))}),(0,r.jsxs)("div",{className:"flex items-center justify-between gap-1",children:[(0,r.jsxs)("div",{className:"flex gap-2 mb-1 w-full overflow-x-auto",children:[(null==Q?void 0:Q.includes("model"))&&(0,r.jsx)(O.default,{}),(null==Q?void 0:Q.includes("resource"))&&(0,r.jsx)(_.default,{}),(null==Q?void 0:Q.includes("temperature"))&&(0,r.jsx)(k.default,{})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between text-lg font-bold",children:[(0,r.jsx)(m.Z,{content:"暂停回复",trigger:["hover"],children:(0,r.jsx)(s.Z,{className:v()("p-2 cursor-pointer",{"text-[#0c75fc]":U,"text-gray-400":!U}),onClick:()=>{var e;U&&(null===(e=j.current)||void 0===e||e.abort(),setTimeout(()=>{z(!1),$(!0)},100))}})}),(0,r.jsx)(m.Z,{content:"再来一次",trigger:["hover"],children:(0,r.jsx)(l.Z,{className:v()("p-2 cursor-pointer",{"text-gray-400":!w.length||!G}),onClick:()=>{var e,t;if(!G||0===w.length)return;let n=null===(e=null===(t=w.filter(e=>"human"===e.role))||void 0===t?void 0:t.slice(-1))||void 0===e?void 0:e[0];K((null==n?void 0:n.context)||"")}})}),et?(0,r.jsx)(g.Z,{spinning:et,indicator:(0,r.jsx)(c.Z,{style:{fontSize:18},spin:!0}),className:"p-2"}):(0,r.jsx)(m.Z,{content:"清除历史",trigger:["hover"],children:(0,r.jsx)(u.Z,{className:v()("p-2 cursor-pointer",{"text-gray-400":!w.length||!G}),onClick:()=>{G&&ee()}})})]})]}),(0,r.jsxs)("div",{className:v()("flex py-2 px-3 items-center justify-between bg-white dark:bg-[#242733] dark:border-[#6f7f95] rounded-xl border",{"border-[#0c75fc] dark:border-[rgba(12,117,252,0.8)]":W}),children:[(0,r.jsx)(b.default.TextArea,{placeholder:"可以问我任何问题",className:"w-full resize-none border-0 p-0 focus:shadow-none",value:B,autoSize:{minRows:1},onKeyDown:e=>{if("Enter"===e.key&&!e.shiftKey){if(Y){e.preventDefault();return}B.trim()&&(e.preventDefault(),X())}},onChange:e=>{Z(e.target.value)},onFocus:()=>{V(!0)},onBlur:()=>V(!1),onCompositionStartCapture:()=>{q(!0)},onCompositionEndCapture:()=>{setTimeout(()=>{q(!1)},0)}}),(0,r.jsx)(y.ZP,{type:"primary",className:v()("flex items-center justify-center rounded-lg bg-button-gradient border-0 ml-2",{"opacity-40 cursor-not-allowed":!B.trim()||!G}),onClick:X,children:G?(0,r.jsx)(d.Z,{}):(0,r.jsx)(g.Z,{indicator:(0,r.jsx)(c.Z,{className:"text-white"})})})]})]})}},7001:function(e,t,n){"use strict";n.r(t);var r=n(85893),a=n(41468),i=n(39718),o=n(94668),s=n(85418),l=n(55241),c=n(67294),u=n(73913);t.default=()=>{let{modelList:e}=(0,c.useContext)(a.p),{model:t,setModel:n}=(0,c.useContext)(u.MobileChatContext),d=(0,c.useMemo)(()=>e.length>0?e.map(e=>({label:(0,r.jsxs)("div",{className:"flex items-center gap-2",onClick:()=>{n(e)},children:[(0,r.jsx)(i.Z,{width:14,height:14,model:e}),(0,r.jsx)("span",{className:"text-xs",children:e})]}),key:e})):[],[e,n]);return(0,r.jsx)(s.Z,{menu:{items:d},placement:"top",trigger:["click"],children:(0,r.jsx)(l.Z,{content:t,children:(0,r.jsxs)("div",{className:"flex items-center gap-1 border rounded-xl bg-white dark:bg-black p-2 flex-shrink-0",children:[(0,r.jsx)(i.Z,{width:16,height:16,model:t}),(0,r.jsx)("span",{className:"text-xs font-medium line-clamp-1",style:{maxWidth:96},children:t}),(0,r.jsx)(o.Z,{rotate:90})]})})})}},46568:function(e,t,n){"use strict";n.r(t);var r=n(85893),a=n(25675),i=n.n(a),o=n(67294);t.default=(0,o.memo)(e=>{let{width:t,height:n,src:a,label:o}=e;return(0,r.jsx)(i(),{width:t||14,height:n||14,src:a,alt:o||"db-icon",priority:!0})})},73749:function(e,t,n){"use strict";n.r(t);var r=n(85893),a=n(76212),i=n(57249),o=n(62418),s=n(50888),l=n(94668),c=n(83266),u=n(65654),d=n(74330),p=n(23799),f=n(85418),h=n(67294),m=n(73913),g=n(46568);t.default=()=>{let{appInfo:e,resourceList:t,scene:n,model:b,conv_uid:y,getChatHistoryRun:E,setResource:v,resource:T}=(0,h.useContext)(m.MobileChatContext),{temperatureValue:S,maxNewTokensValue:A}=(0,h.useContext)(i.ChatContentContext),[O,_]=(0,h.useState)(null),k=(0,h.useMemo)(()=>{var t,n,r;return null===(t=null==e?void 0:null===(n=e.param_need)||void 0===n?void 0:n.filter(e=>"resource"===e.type))||void 0===t?void 0:null===(r=t[0])||void 0===r?void 0:r.value},[e]),x=(0,h.useMemo)(()=>t&&t.length>0?t.map(e=>({label:(0,r.jsxs)("div",{className:"flex items-center gap-2",onClick:()=>{_(e),v(e.space_id||e.param)},children:[(0,r.jsx)(g.default,{width:14,height:14,src:o.S$[e.type].icon,label:o.S$[e.type].label}),(0,r.jsx)("span",{className:"text-xs",children:e.param})]}),key:e.space_id||e.param})):[],[t,v]),{run:C,loading:w}=(0,u.Z)(async e=>{let[,t]=await (0,a.Vx)((0,a.qn)({convUid:y,chatMode:n,data:e,model:b,temperatureValue:S,maxNewTokensValue:A,config:{timeout:36e5}}));return v(t),t},{manual:!0,onSuccess:async()=>{await E()}}),I=async e=>{let t=new FormData;t.append("doc_file",null==e?void 0:e.file),await C(t)},R=(0,h.useMemo)(()=>w?(0,r.jsxs)("div",{className:"flex items-center gap-1",children:[(0,r.jsx)(d.Z,{size:"small",indicator:(0,r.jsx)(s.Z,{spin:!0})}),(0,r.jsx)("span",{className:"text-xs",children:"上传中"})]}):T?(0,r.jsxs)("div",{className:"flex gap-1",children:[(0,r.jsx)("span",{className:"text-xs",children:T.file_name}),(0,r.jsx)(l.Z,{rotate:90})]}):(0,r.jsxs)("div",{className:"flex items-center gap-1",children:[(0,r.jsx)(c.Z,{className:"text-base"}),(0,r.jsx)("span",{className:"text-xs",children:"上传文件"})]}),[w,T]);return(0,r.jsx)(r.Fragment,{children:(()=>{switch(k){case"excel_file":case"text_file":case"image_file":return(0,r.jsx)("div",{className:"flex items-center justify-center gap-1 border rounded-xl bg-white dark:bg-black px-2 flex-shrink-0",children:(0,r.jsx)(p.default,{name:"file",accept:".xlsx,.xls",maxCount:1,showUploadList:!1,beforeUpload:()=>!1,onChange:I,className:"flex h-full w-full items-center justify-center",children:R})});case"database":case"knowledge":case"plugin":case"awel_flow":var e,n,a,i,s;if(!(null==t?void 0:t.length))return null;return(0,r.jsx)(f.Z,{menu:{items:x},placement:"top",trigger:["click"],children:(0,r.jsxs)("div",{className:"flex items-center gap-1 border rounded-xl bg-white dark:bg-black p-2 flex-shrink-0",children:[(0,r.jsx)(g.default,{width:14,height:14,src:null===(e=o.S$[(null==O?void 0:O.type)||(null==t?void 0:null===(n=t[0])||void 0===n?void 0:n.type)])||void 0===e?void 0:e.icon,label:null===(a=o.S$[(null==O?void 0:O.type)||(null==t?void 0:null===(i=t[0])||void 0===i?void 0:i.type)])||void 0===a?void 0:a.label}),(0,r.jsx)("span",{className:"text-xs font-medium",children:(null==O?void 0:O.param)||(null==t?void 0:null===(s=t[0])||void 0===s?void 0:s.param)}),(0,r.jsx)(l.Z,{rotate:90})]})})}})()})}},97109:function(e,t,n){"use strict";n.r(t);var r=n(85893),a=n(70065),i=n(85418),o=n(30568),s=n(67294),l=n(73913);t.default=()=>{let{temperature:e,setTemperature:t}=(0,s.useContext)(l.MobileChatContext),n=e=>{isNaN(e)||t(e)};return(0,r.jsx)(i.Z,{trigger:["click"],dropdownRender:()=>(0,r.jsx)("div",{className:"flex h-28 bg-white dark:bg-[rgba(255,255,255,0.5)] items-center justify-center rounded-xl py-3",children:(0,r.jsx)(o.Z,{defaultValue:.5,max:1,min:0,step:.1,vertical:!0,onChange:n,value:e})}),placement:"top",children:(0,r.jsxs)("div",{className:"flex items-center justify-between border rounded-xl bg-white dark:bg-black w-14 p-2 flex-shrink-0",children:[(0,r.jsx)(a.Z,{type:"icon-icons-temperature",className:"text-sm"}),(0,r.jsx)("span",{className:"text-xs font-medium",children:e})]})})}},73913:function(e,t,n){"use strict";n.r(t),n.d(t,{MobileChatContext:function(){return v}});var r=n(85893),a=n(41468),i=n(76212),o=n(2440),s=n(62418),l=n(25519),c=n(1375),u=n(65654),d=n(74330),p=n(5152),f=n.n(p),h=n(39332),m=n(67294),g=n(56397),b=n(74638),y=n(83454);let E=f()(()=>Promise.all([n.e(7034),n.e(6106),n.e(8674),n.e(3166),n.e(2837),n.e(2168),n.e(8163),n.e(1265),n.e(7728),n.e(4567),n.e(2398),n.e(9773),n.e(4035),n.e(1154),n.e(2510),n.e(3345),n.e(9202),n.e(5265),n.e(2640),n.e(3768),n.e(5789),n.e(6818)]).then(n.bind(n,36818)),{loadableGenerated:{webpack:()=>[36818]},ssr:!1}),v=(0,m.createContext)({model:"",temperature:.5,resource:null,setModel:()=>{},setTemperature:()=>{},setResource:()=>{},scene:"",history:[],setHistory:()=>{},scrollViewRef:{current:null},appInfo:{},conv_uid:"",resourceList:[],order:{current:1},handleChat:()=>Promise.resolve(),canAbort:!1,setCarAbort:()=>{},canNewChat:!1,setCanNewChat:()=>{},ctrl:{current:void 0},userInput:"",setUserInput:()=>{},getChatHistoryRun:()=>{}});t.default=()=>{var e,t;let n=(0,h.useSearchParams)(),p=null!==(e=null==n?void 0:n.get("chat_scene"))&&void 0!==e?e:"",f=null!==(t=null==n?void 0:n.get("app_code"))&&void 0!==t?t:"",{modelList:T}=(0,m.useContext)(a.p),[S,A]=(0,m.useState)([]),[O,_]=(0,m.useState)(""),[k,x]=(0,m.useState)(.5),[C,w]=(0,m.useState)(null),I=(0,m.useRef)(null),[R,N]=(0,m.useState)(""),[L,D]=(0,m.useState)(!1),[P,M]=(0,m.useState)(!0),F=(0,m.useRef)(),B=(0,m.useRef)(1),j=(0,o.Z)(),U=(0,m.useMemo)(()=>"".concat(null==j?void 0:j.user_no,"_").concat(f),[f,j]),{run:G,loading:H}=(0,u.Z)(async()=>await (0,i.Vx)((0,i.$i)("".concat(null==j?void 0:j.user_no,"_").concat(f))),{manual:!0,onSuccess:e=>{let[,t]=e,n=null==t?void 0:t.filter(e=>"view"===e.role);n&&n.length>0&&(B.current=n[n.length-1].order+1),A(t||[])}}),{data:$,run:z,loading:Z}=(0,u.Z)(async e=>{let[,t]=await (0,i.Vx)((0,i.BN)(e));return null!=t?t:{}},{manual:!0}),{run:W,data:V,loading:Y}=(0,u.Z)(async()=>{var e,t;let[,n]=await (0,i.Vx)((0,i.vD)(p));return w((null==n?void 0:null===(e=n[0])||void 0===e?void 0:e.space_id)||(null==n?void 0:null===(t=n[0])||void 0===t?void 0:t.param)),null!=n?n:[]},{manual:!0}),{run:q,loading:K}=(0,u.Z)(async()=>{let[,e]=await (0,i.Vx)((0,i.iP)());return null!=e?e:[]},{manual:!0,onSuccess:e=>{var t;let n=null===(t=null==e?void 0:e.filter(e=>e.conv_uid===U))||void 0===t?void 0:t[0];(null==n?void 0:n.select_param)&&w(JSON.parse(null==n?void 0:n.select_param))}});(0,m.useEffect)(()=>{p&&f&&T.length&&z({chat_scene:p,app_code:f})},[f,p,z,T]),(0,m.useEffect)(()=>{f&&G()},[f]),(0,m.useEffect)(()=>{if(T.length>0){var e,t,n;let r=null===(e=null==$?void 0:null===(t=$.param_need)||void 0===t?void 0:t.filter(e=>"model"===e.type))||void 0===e?void 0:null===(n=e[0])||void 0===n?void 0:n.value;_(r||T[0])}},[T,$]),(0,m.useEffect)(()=>{var e,t,n;let r=null===(e=null==$?void 0:null===(t=$.param_need)||void 0===t?void 0:t.filter(e=>"temperature"===e.type))||void 0===e?void 0:null===(n=e[0])||void 0===n?void 0:n.value;x(r||.5)},[$]),(0,m.useEffect)(()=>{if(p&&(null==$?void 0:$.app_code)){var e,t,n,r,a,i;let o=null===(e=null==$?void 0:null===(t=$.param_need)||void 0===t?void 0:t.filter(e=>"resource"===e.type))||void 0===e?void 0:null===(n=e[0])||void 0===n?void 0:n.value,s=null===(r=null==$?void 0:null===(a=$.param_need)||void 0===a?void 0:a.filter(e=>"resource"===e.type))||void 0===r?void 0:null===(i=r[0])||void 0===i?void 0:i.bind_value;s&&w(s),["database","knowledge","plugin","awel_flow"].includes(o)&&!s&&W()}},[$,p,W]);let X=async e=>{var t,n,r;N(""),F.current=new AbortController;let a={chat_mode:p,model_name:O,user_input:e||R,conv_uid:U,temperature:k,app_code:null==$?void 0:$.app_code,...C&&{select_param:C}};if(S&&S.length>0){let e=null==S?void 0:S.filter(e=>"view"===e.role);B.current=e[e.length-1].order+1}let i=[{role:"human",context:e||R,model_name:O,order:B.current,time_stamp:0},{role:"view",context:"",model_name:O,order:B.current,time_stamp:0,thinking:!0}],o=i.length-1;A([...S,...i]),M(!1);try{await (0,c.L)("".concat(null!==(t=y.env.API_BASE_URL)&&void 0!==t?t:"","/api/v1/chat/completions"),{method:"POST",headers:{"Content-Type":"application/json",[l.gp]:null!==(n=(0,s.n5)())&&void 0!==n?n:""},signal:F.current.signal,body:JSON.stringify(a),openWhenHidden:!0,async onopen(e){if(e.ok&&e.headers.get("content-type")===c.a)return},onclose(){var e;null===(e=F.current)||void 0===e||e.abort(),M(!0),D(!1)},onerror(e){throw Error(e)},onmessage:e=>{let t=e.data;try{t=JSON.parse(t).vis}catch(e){t.replaceAll("\\n","\n")}"[DONE]"===t?(M(!0),D(!1)):(null==t?void 0:t.startsWith("[ERROR]"))?(i[o].context=null==t?void 0:t.replace("[ERROR]",""),i[o].thinking=!1,A([...S,...i]),M(!0),D(!1)):(D(!0),i[o].context=t,i[o].thinking=!1,A([...S,...i]))}})}catch(e){null===(r=F.current)||void 0===r||r.abort(),i[o].context="Sorry, we meet some error, please try again later.",i[o].thinking=!1,A([...i]),M(!0),D(!1)}};return(0,m.useEffect)(()=>{p&&"chat_agent"!==p&&q()},[p,q]),(0,r.jsx)(v.Provider,{value:{model:O,resource:C,setModel:_,setTemperature:x,setResource:w,temperature:k,appInfo:$,conv_uid:U,scene:p,history:S,scrollViewRef:I,setHistory:A,resourceList:V,order:B,handleChat:X,setCanNewChat:M,ctrl:F,canAbort:L,setCarAbort:D,canNewChat:P,userInput:R,setUserInput:N,getChatHistoryRun:G},children:(0,r.jsx)(d.Z,{size:"large",className:"flex h-screen w-screen justify-center items-center max-h-screen",spinning:H||Z||Y||K,children:(0,r.jsxs)("div",{className:"flex flex-col h-screen bg-gradient-light dark:bg-gradient-dark p-4 pt-0",children:[(0,r.jsxs)("div",{ref:I,className:"flex flex-col flex-1 overflow-y-auto mb-3",children:[(0,r.jsx)(g.default,{}),(0,r.jsx)(E,{})]}),(null==$?void 0:$.app_code)&&(0,r.jsx)(b.default,{})]})})})}},59178:function(){},5152:function(e,t,n){e.exports=n(50948)},89435:function(e){"use strict";var t;e.exports=function(e){var n,r="&"+e+";";return(t=t||document.createElement("i")).innerHTML=r,(59!==(n=t.textContent).charCodeAt(n.length-1)||"semi"===e)&&n!==r&&n}},57574:function(e,t,n){"use strict";var r=n(21922),a=n(93580),i=n(46195),o=n(79480),s=n(7961),l=n(89435);e.exports=function(e,t){var n,i,o={};for(i in t||(t={}),p)n=t[i],o[i]=null==n?p[i]:n;return(o.position.indent||o.position.start)&&(o.indent=o.position.indent||[],o.position=o.position.start),function(e,t){var n,i,o,p,E,v,T,S,A,O,_,k,x,C,w,I,R,N,L,D,P,M=t.additional,F=t.nonTerminated,B=t.text,j=t.reference,U=t.warning,G=t.textContext,H=t.referenceContext,$=t.warningContext,z=t.position,Z=t.indent||[],W=e.length,V=0,Y=-1,q=z.column||1,K=z.line||1,X="",Q=[];for("string"==typeof M&&(M=M.charCodeAt(0)),N=J(),O=U?function(e,t){var n=J();n.column+=t,n.offset+=t,U.call($,y[e],n,e)}:d,V--,W++;++V=55296&&n<=57343||n>1114111?(O(7,D),S=u(65533)):S in a?(O(6,D),S=a[S]):(k="",((i=S)>=1&&i<=8||11===i||i>=13&&i<=31||i>=127&&i<=159||i>=64976&&i<=65007||(65535&i)==65535||(65535&i)==65534)&&O(6,D),S>65535&&(S-=65536,k+=u(S>>>10|55296),S=56320|1023&S),S=k+u(S))):I!==f&&O(4,D)),S?(ee(),N=J(),V=P-1,q+=P-w+1,Q.push(S),L=J(),L.offset++,j&&j.call(H,S,{start:N,end:L},e.slice(w-1,P)),N=L):(X+=v=e.slice(w-1,P),q+=v.length,V=P-1)}else 10===T&&(K++,Y++,q=0),T==T?(X+=u(T),q++):ee();return Q.join("");function J(){return{line:K,column:q,offset:V+(z.offset||0)}}function ee(){X&&(Q.push(X),B&&B.call(G,X,{start:N,end:J()}),X="")}}(e,o)};var c={}.hasOwnProperty,u=String.fromCharCode,d=Function.prototype,p={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},f="named",h="hexadecimal",m="decimal",g={};g[h]=16,g[m]=10;var b={};b[f]=s,b[m]=i,b[h]=o;var y={};y[1]="Named character references must be terminated by a semicolon",y[2]="Numeric character references must be terminated by a semicolon",y[3]="Named character references cannot be empty",y[4]="Numeric character references cannot be empty",y[5]="Named character references must be known",y[6]="Numeric character references cannot be disallowed",y[7]="Numeric character references cannot be outside the permissible Unicode range"},11215:function(e,t,n){"use strict";var r,a,i="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof n.g?n.g:{},o=(a=(r="Prism"in i)?i.Prism:void 0,function(){r?i.Prism=a:delete i.Prism,r=void 0,a=void 0});i.Prism={manual:!0,disableWorkerMessageHandler:!0};var s=n(31742),l=n(57574),c=n(59216),u=n(2717),d=n(12049),p=n(29726),f=n(36155);o();var h={}.hasOwnProperty;function m(){}m.prototype=c;var g=new m;function b(e){if("function"!=typeof e||!e.displayName)throw Error("Expected `function` for `grammar`, got `"+e+"`");void 0===g.languages[e.displayName]&&e(g)}e.exports=g,g.highlight=function(e,t){var n,r=c.highlight;if("string"!=typeof e)throw Error("Expected `string` for `value`, got `"+e+"`");if("Object"===g.util.type(t))n=t,t=null;else{if("string"!=typeof t)throw Error("Expected `string` for `name`, got `"+t+"`");if(h.call(g.languages,t))n=g.languages[t];else throw Error("Unknown language: `"+t+"` is not registered")}return r.call(this,e,n,t)},g.register=b,g.alias=function(e,t){var n,r,a,i,o=g.languages,s=e;for(n in t&&((s={})[e]=t),s)for(a=(r="string"==typeof(r=s[n])?[r]:r).length,i=-1;++i]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}e.exports=t,t.displayName="abap",t.aliases=[]},68313:function(e){"use strict";function t(e){var t;t="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)",e.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+t+"|<"+t+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}}e.exports=t,t.displayName="abnf",t.aliases=[]},21207:function(e){"use strict";function t(e){e.languages.actionscript=e.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),e.languages.actionscript["class-name"].alias="function",delete e.languages.actionscript.parameter,delete e.languages.actionscript["literal-property"],e.languages.markup&&e.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:e.languages.markup}})}e.exports=t,t.displayName="actionscript",t.aliases=[]},89693:function(e){"use strict";function t(e){e.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}e.exports=t,t.displayName="ada",t.aliases=[]},24001:function(e){"use strict";function t(e){e.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}}e.exports=t,t.displayName="agda",t.aliases=[]},18018:function(e){"use strict";function t(e){e.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}e.exports=t,t.displayName="al",t.aliases=[]},36363:function(e){"use strict";function t(e){e.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},e.languages.g4=e.languages.antlr4}e.exports=t,t.displayName="antlr4",t.aliases=["g4"]},35281:function(e){"use strict";function t(e){e.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}e.exports=t,t.displayName="apacheconf",t.aliases=[]},10433:function(e,t,n){"use strict";var r=n(11114);function a(e){e.register(r),function(e){var t=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,n=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(//g,function(){return t.source});function r(e){return RegExp(e.replace(//g,function(){return n}),"i")}var a={keyword:t,punctuation:/[()\[\]{};,:.<>]/};e.languages.apex={comment:e.languages.clike.comment,string:e.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:e.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:r(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:a},{pattern:r(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:a},{pattern:r(/(?=\s*\w+\s*[;=,(){:])/.source),inside:a}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:t,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(e)}e.exports=a,a.displayName="apex",a.aliases=[]},84039:function(e){"use strict";function t(e){e.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}e.exports=t,t.displayName="apl",t.aliases=[]},71336:function(e){"use strict";function t(e){e.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}e.exports=t,t.displayName="applescript",t.aliases=[]},4481:function(e){"use strict";function t(e){e.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}e.exports=t,t.displayName="aql",t.aliases=[]},2159:function(e,t,n){"use strict";var r=n(80096);function a(e){e.register(r),e.languages.arduino=e.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),e.languages.ino=e.languages.arduino}e.exports=a,a.displayName="arduino",a.aliases=["ino"]},60274:function(e){"use strict";function t(e){e.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}e.exports=t,t.displayName="arff",t.aliases=[]},18738:function(e){"use strict";function t(e){!function(e){var t={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},n=e.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:t,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:t.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:t,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function r(e){e=e.split(" ");for(var t={},r=0,a=e.length;r>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}e.exports=t,t.displayName="asmatmel",t.aliases=[]},78734:function(e,t,n){"use strict";var r=n(61958);function a(e){e.register(r),e.languages.aspnet=e.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:e.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:e.languages.csharp}}}),e.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,e.languages.insertBefore("inside","punctuation",{directive:e.languages.aspnet.directive},e.languages.aspnet.tag.inside["attr-value"]),e.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),e.languages.insertBefore("aspnet",e.languages.javascript?"script":"tag",{"asp-script":{pattern:/(]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:e.languages.csharp||{}}})}e.exports=a,a.displayName="aspnet",a.aliases=[]},6681:function(e){"use strict";function t(e){e.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}e.exports=t,t.displayName="autohotkey",t.aliases=[]},53358:function(e){"use strict";function t(e){e.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}e.exports=t,t.displayName="autoit",t.aliases=[]},81700:function(e){"use strict";function t(e){!function(e){function t(e,t,n){return RegExp(e.replace(/<<(\d+)>>/g,function(e,n){return t[+n]}),n||"")}var n=/bool|clip|float|int|string|val/.source,r=[[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|")].join("|");e.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:t(/\b(?:<<0>>)\s+("?)\w+\1/.source,[n],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:t(/\b(?:<<0>>)\b/.source,[r],"i"),alias:"function"},"type-cast":{pattern:t(/\b(?:<<0>>)(?=\s*\()/.source,[n],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},e.languages.avs=e.languages.avisynth}(e)}e.exports=t,t.displayName="avisynth",t.aliases=["avs"]},37219:function(e){"use strict";function t(e){e.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},e.languages.avdl=e.languages["avro-idl"]}e.exports=t,t.displayName="avroIdl",t.aliases=[]},6979:function(e){"use strict";function t(e){!function(e){var t="\\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",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),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("(\\{)"+t),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})/};e.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;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.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}},n.inside=e.languages.bash;for(var a=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],i=r.variable[1].inside,o=0;o?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}e.exports=t,t.displayName="basic",t.aliases=[]},94781:function(e){"use strict";function t(e){var t,n,r,a;t=/%%?[~:\w]+%?|!\S+!/,n={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},r=/"(?:[\\"]"|[^"])*"(?!")/,a=/(?:\b|-)\d+\b/,e.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:r,parameter:n,variable:t,number:a,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:r,parameter:n,variable:t,number:a,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:r,parameter:n,variable:[t,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:a,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:r,parameter:n,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:t,number:a,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}}e.exports=t,t.displayName="batch",t.aliases=[]},62260:function(e){"use strict";function t(e){e.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},e.languages.shortcode=e.languages.bbcode}e.exports=t,t.displayName="bbcode",t.aliases=["shortcode"]},36153:function(e){"use strict";function t(e){e.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},e.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=e.languages.bicep}e.exports=t,t.displayName="bicep",t.aliases=[]},59258:function(e){"use strict";function t(e){e.languages.birb=e.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),e.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}e.exports=t,t.displayName="birb",t.aliases=[]},62890:function(e,t,n){"use strict";var r=n(65806);function a(e){e.register(r),e.languages.bison=e.languages.extend("c",{}),e.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:e.languages.c}},comment:e.languages.c.comment,string:e.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}e.exports=a,a.displayName="bison",a.aliases=[]},15958:function(e){"use strict";function t(e){e.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},e.languages.rbnf=e.languages.bnf}e.exports=t,t.displayName="bnf",t.aliases=["rbnf"]},61321:function(e){"use strict";function t(e){e.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}e.exports=t,t.displayName="brainfuck",t.aliases=[]},77856:function(e){"use strict";function t(e){e.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},e.languages.brightscript["directive-statement"].inside.expression.inside=e.languages.brightscript}e.exports=t,t.displayName="brightscript",t.aliases=[]},90741:function(e){"use strict";function t(e){e.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="bro",t.aliases=[]},83410:function(e){"use strict";function t(e){e.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},e.languages.oscript=e.languages.bsl}e.exports=t,t.displayName="bsl",t.aliases=[]},65806:function(e){"use strict";function t(e){e.languages.c=e.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),e.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),e.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},e.languages.c.string],char:e.languages.c.char,comment:e.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:e.languages.c}}}}),e.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete e.languages.c.boolean}e.exports=t,t.displayName="c",t.aliases=[]},33039:function(e){"use strict";function t(e){e.languages.cfscript=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),e.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete e.languages.cfscript["class-name"],e.languages.cfc=e.languages.cfscript}e.exports=t,t.displayName="cfscript",t.aliases=[]},85082:function(e,t,n){"use strict";var r=n(80096);function a(e){e.register(r),e.languages.chaiscript=e.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[e.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),e.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),e.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}e.exports=a,a.displayName="chaiscript",a.aliases=[]},79415:function(e){"use strict";function t(e){e.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}e.exports=t,t.displayName="cil",t.aliases=[]},29726:function(e){"use strict";function t(e){e.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="clike",t.aliases=[]},62849:function(e){"use strict";function t(e){e.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}e.exports=t,t.displayName="clojure",t.aliases=[]},55773:function(e){"use strict";function t(e){e.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}e.exports=t,t.displayName="cmake",t.aliases=[]},32762:function(e){"use strict";function t(e){e.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}e.exports=t,t.displayName="cobol",t.aliases=[]},43576:function(e){"use strict";function t(e){var t,n;t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"},e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}e.exports=t,t.displayName="coffeescript",t.aliases=["coffee"]},71794:function(e){"use strict";function t(e){e.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},e.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:e.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:e.languages.concurnas},string:/[\s\S]+/}}}),e.languages.conc=e.languages.concurnas}e.exports=t,t.displayName="concurnas",t.aliases=["conc"]},1315:function(e){"use strict";function t(e){!function(e){for(var t=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|)*\*\)/.source,n=0;n<2;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,"[]"),e.languages.coq={comment:RegExp(t),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|)*\]/.source.replace(//g,function(){return t})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(t),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}}(e)}e.exports=t,t.displayName="coq",t.aliases=[]},80096:function(e,t,n){"use strict";var r=n(65806);function a(e){var t,n;e.register(r),t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return t.source}),e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return t.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return n})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}e.exports=a,a.displayName="cpp",a.aliases=[]},99176:function(e,t,n){"use strict";var r=n(56939);function a(e){e.register(r),e.languages.crystal=e.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,e.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),e.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:e.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:e.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}e.exports=a,a.displayName="crystal",a.aliases=[]},61958:function(e){"use strict";function t(e){!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,function(e,n){return"(?:"+t[+n]+")"})}function n(e,n,r){return RegExp(t(e,n),r||"")}function r(e,t){for(var n=0;n>/g,function(){return"(?:"+e+")"});return e.replace(/<>/g,"[^\\s\\S]")}var a={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function i(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var o=i(a.typeDeclaration),s=RegExp(i(a.type+" "+a.typeDeclaration+" "+a.contextual+" "+a.other)),l=i(a.typeDeclaration+" "+a.contextual+" "+a.other),c=i(a.type+" "+a.typeDeclaration+" "+a.other),u=r(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),d=r(/\((?:[^()]|<>)*\)/.source,2),p=/@?\b[A-Za-z_]\w*\b/.source,f=t(/<<0>>(?:\s*<<1>>)?/.source,[p,u]),h=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[l,f]),m=/\[\s*(?:,\s*)*\]/.source,g=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[h,m]),b=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[u,d,m]),y=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[b]),E=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[y,h,m]),v={keyword:s,punctuation:/[<>()?,.:[\]]/},T=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,S=/"(?:\\.|[^\\"\r\n])*"/.source,A=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[A]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[S]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[h]),lookbehind:!0,inside:v},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[p,E]),lookbehind:!0,inside:v},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[p]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[o,f]),lookbehind:!0,inside:v},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[h]),lookbehind:!0,inside:v},{pattern:n(/(\bwhere\s+)<<0>>/.source,[p]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[g]),lookbehind:!0,inside:v},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[E,c,p]),inside:v}],keyword:s,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[p]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[p]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[d]),lookbehind:!0,alias:"class-name",inside:v},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[E,h]),inside:v,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[E]),lookbehind:!0,inside:v,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[p,u]),inside:{function:n(/^<<0>>/.source,[p]),generic:{pattern:RegExp(u),alias:"class-name",inside:v}}},"type-list":{pattern:n(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[o,f,p,E,s.source,d,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[f,d]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:s,"class-name":{pattern:RegExp(E),greedy:!0,inside:v},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var O=S+"|"+T,_=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[O]),k=r(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[_]),2),x=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,C=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[h,k]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[x,C]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[x]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[k]),inside:e.languages.csharp},"class-name":{pattern:RegExp(h),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var w=/:[^}\r\n]+/.source,I=r(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[_]),2),R=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[I,w]),N=r(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[O]),2),L=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[N,w]);function D(t,r){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[r,w]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[R]),lookbehind:!0,greedy:!0,inside:D(R,I)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[L]),lookbehind:!0,greedy:!0,inside:D(L,N)}],char:{pattern:RegExp(T),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.languages.csharp}(e)}e.exports=t,t.displayName="csharp",t.aliases=["dotnet","cs"]},90312:function(e,t,n){"use strict";var r=n(61958);function a(e){e.register(r),function(e){var t=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,n=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function r(e,r){for(var a=0;a/g,function(){return"(?:"+e+")"});return e.replace(//g,"[^\\s\\S]").replace(//g,"(?:"+n+")").replace(//g,"(?:"+t+")")}var a=r(/\((?:[^()'"@/]|||)*\)/.source,2),i=r(/\[(?:[^\[\]'"@/]|||)*\]/.source,2),o=r(/\{(?:[^{}'"@/]|||)*\}/.source,2),s=r(/<(?:[^<>'"@/]|||)*>/.source,2),l=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,c=/(?!\d)[^\s>\/=$<%]+/.source+l+/\s*\/?>/.source,u=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+l+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source)+c+"|"+r(/<\1/.source+l+/\s*>/.source+"(?:"+(/[^<]/.source+"|")+/<\/?(?!\1\b)/.source+c+"|)*"+/<\/\1\s*>/.source,2)+")*"+/<\/\1\s*>/.source+"|"+/|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var r={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},a={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:a,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,number:a})}(e)}e.exports=t,t.displayName="cssExtras",t.aliases=[]},12049:function(e){"use strict";function t(e){var t,n;t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,e.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\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,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:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css,(n=e.languages.markup)&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}e.exports=t,t.displayName="css",t.aliases=[]},78090:function(e){"use strict";function t(e){e.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}e.exports=t,t.displayName="csv",t.aliases=[]},40315:function(e){"use strict";function t(e){e.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}e.exports=t,t.displayName="cypher",t.aliases=[]},7902:function(e){"use strict";function t(e){e.languages.d=e.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),e.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),e.languages.insertBefore("d","keyword",{property:/\B@\w*/}),e.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}e.exports=t,t.displayName="d",t.aliases=[]},28651:function(e){"use strict";function t(e){var t,n,r;t=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],r={pattern:RegExp((n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source)+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}},e.languages.dart=e.languages.extend("clike",{"class-name":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.inside}],keyword:t,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),e.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.dart}}},string:/[\s\S]+/}},string:void 0}),e.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),e.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})}e.exports=t,t.displayName="dart",t.aliases=[]},55579:function(e){"use strict";function t(e){e.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}}e.exports=t,t.displayName="dataweave",t.aliases=[]},93685:function(e){"use strict";function t(e){e.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}e.exports=t,t.displayName="dax",t.aliases=[]},13934:function(e){"use strict";function t(e){e.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},e.languages.dhall.string.inside.interpolation.inside.expression.inside=e.languages.dhall}e.exports=t,t.displayName="dhall",t.aliases=[]},93336:function(e){"use strict";function t(e){var t;e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]},Object.keys(t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"}).forEach(function(n){var r=t[n],a=[];/^\w+$/.test(n)||a.push(/\w+/.exec(n)[0]),"diff"===n&&a.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:a,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}}),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}e.exports=t,t.displayName="diff",t.aliases=[]},13294:function(e,t,n){"use strict";var r=n(93205);function a(e){var t,n;e.register(r),e.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/},t=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,n=e.languages["markup-templating"],e.hooks.add("before-tokenize",function(e){n.buildPlaceholders(e,"django",t)}),e.hooks.add("after-tokenize",function(e){n.tokenizePlaceholders(e,"django")}),e.languages.jinja2=e.languages.django,e.hooks.add("before-tokenize",function(e){n.buildPlaceholders(e,"jinja2",t)}),e.hooks.add("after-tokenize",function(e){n.tokenizePlaceholders(e,"jinja2")})}e.exports=a,a.displayName="django",a.aliases=["jinja2"]},38223:function(e){"use strict";function t(e){e.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},e.languages["dns-zone"]=e.languages["dns-zone-file"]}e.exports=t,t.displayName="dnsZoneFile",t.aliases=[]},97266:function(e){"use strict";function t(e){!function(e){var t=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,n=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,function(){return t}),r=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,a=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,function(){return r}),i={pattern:RegExp(r),greedy:!0},o={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function s(e,t){return RegExp(e=e.replace(//g,function(){return a}).replace(//g,function(){return n}),t)}e.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:s(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[i,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:s(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:o,string:i,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:o},e.languages.dockerfile=e.languages.docker}(e)}e.exports=t,t.displayName="docker",t.aliases=["dockerfile"]},77125:function(e){"use strict";function t(e){!function(e){var t="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!)*>/.source].join("|")+")",n={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:e.languages.markup}};function r(e,n){return RegExp(e.replace(//g,function(){return t}),n)}e.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:r(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:n},"attr-value":{pattern:r(/(=[ \t\r\n]*)/.source),lookbehind:!0,greedy:!0,inside:n},"attr-name":{pattern:r(/([\[;, \t\r\n])(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:n},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:r(/(^|[^-.\w\x80-\uFFFF\\])/.source),lookbehind:!0,greedy:!0,inside:n},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},e.languages.gv=e.languages.dot}(e)}e.exports=t,t.displayName="dot",t.aliases=["gv"]},36500:function(e){"use strict";function t(e){e.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}e.exports=t,t.displayName="ebnf",t.aliases=[]},30296:function(e){"use strict";function t(e){e.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}e.exports=t,t.displayName="editorconfig",t.aliases=[]},50115:function(e){"use strict";function t(e){e.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}e.exports=t,t.displayName="eiffel",t.aliases=[]},20791:function(e,t,n){"use strict";var r=n(93205);function a(e){e.register(r),e.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:e.languages.javascript}},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"ejs",/<%(?!%)[\s\S]+?%>/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"ejs")}),e.languages.eta=e.languages.ejs}e.exports=a,a.displayName="ejs",a.aliases=["eta"]},11974:function(e){"use strict";function t(e){e.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},e.languages.elixir.string.forEach(function(t){t.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:e.languages.elixir}}}})}e.exports=t,t.displayName="elixir",t.aliases=[]},8645:function(e){"use strict";function t(e){e.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}e.exports=t,t.displayName="elm",t.aliases=[]},84790:function(e,t,n){"use strict";var r=n(56939),a=n(93205);function i(e){e.register(r),e.register(a),e.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:e.languages.ruby}},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"erb",/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"erb")})}e.exports=i,i.displayName="erb",i.aliases=[]},4502:function(e){"use strict";function t(e){e.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}e.exports=t,t.displayName="erlang",t.aliases=[]},66055:function(e,t,n){"use strict";var r=n(59803),a=n(93205);function i(e){e.register(r),e.register(a),e.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:e.languages.lua}},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"etlua",/<%[\s\S]+?%>/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"etlua")})}e.exports=i,i.displayName="etlua",i.aliases=[]},34668:function(e){"use strict";function t(e){e.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"keyword"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"property",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"property"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},e.languages.xlsx=e.languages.xls=e.languages["excel-formula"]}e.exports=t,t.displayName="excelFormula",t.aliases=[]},95126:function(e){"use strict";function t(e){var t,n,r,a,i,o;r={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:t={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/}},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:t},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:t}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:(n={number:/\\[^\s']|%\w/}).number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:n},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:n}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:n}},a=function(e){return(e+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},i=function(e){return RegExp("(^|\\s)(?:"+e.map(a).join("|")+")(?=\\s|$)")},Object.keys(o={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated",">>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]}).forEach(function(e){r[e].pattern=i(o[e])}),r.combinators.pattern=i(["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","inputsequence"]),e.languages.factor=r}e.exports=t,t.displayName="factor",t.aliases=[]},90618:function(e){"use strict";function t(e){e.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete e.languages["firestore-security-rules"]["class-name"],e.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}e.exports=t,t.displayName="firestoreSecurityRules",t.aliases=[]},37225:function(e){"use strict";function t(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),e.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}e.exports=t,t.displayName="flow",t.aliases=[]},16725:function(e){"use strict";function t(e){e.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}e.exports=t,t.displayName="fortran",t.aliases=[]},95559:function(e){"use strict";function t(e){e.languages.fsharp=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),e.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),e.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),e.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:e.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}e.exports=t,t.displayName="fsharp",t.aliases=[]},82114:function(e,t,n){"use strict";var r=n(93205);function a(e){e.register(r),function(e){for(var t=/[^<()"']|\((?:)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,n=0;n<2;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,/[^\s\S]/.source);var r={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:))*\})*\1/.source.replace(//g,function(){return t})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:))*\}/.source.replace(//g,function(){return t})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};r.string[1].inside.interpolation.inside.rest=r,e.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:r}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:r}}}},e.hooks.add("before-tokenize",function(n){var r=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:)*?>|\$\{(?:)*?\}/.source.replace(//g,function(){return t}),"gi");e.languages["markup-templating"].buildPlaceholders(n,"ftl",r)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"ftl")})}(e)}e.exports=a,a.displayName="ftl",a.aliases=[]},6806:function(e){"use strict";function t(e){e.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},e.languages.gap.shell.inside.gap.inside=e.languages.gap}e.exports=t,t.displayName="gap",t.aliases=[]},12208:function(e){"use strict";function t(e){e.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}e.exports=t,t.displayName="gcode",t.aliases=[]},62728:function(e){"use strict";function t(e){e.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}e.exports=t,t.displayName="gdscript",t.aliases=[]},81549:function(e){"use strict";function t(e){e.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}e.exports=t,t.displayName="gedcom",t.aliases=[]},6024:function(e){"use strict";function t(e){var t;t=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source,e.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+t+")(?:"+t+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(t),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}}e.exports=t,t.displayName="gherkin",t.aliases=[]},13600:function(e){"use strict";function t(e){e.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}e.exports=t,t.displayName="git",t.aliases=[]},3322:function(e,t,n){"use strict";var r=n(65806);function a(e){e.register(r),e.languages.glsl=e.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}e.exports=a,a.displayName="glsl",a.aliases=[]},53877:function(e){"use strict";function t(e){e.languages.gamemakerlanguage=e.languages.gml=e.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}e.exports=t,t.displayName="gml",t.aliases=[]},60794:function(e){"use strict";function t(e){e.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},e.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=e.languages.gn,e.languages.gni=e.languages.gn}e.exports=t,t.displayName="gn",t.aliases=["gni"]},20222:function(e){"use strict";function t(e){e.languages["go-mod"]=e.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}e.exports=t,t.displayName="goModule",t.aliases=[]},51519:function(e){"use strict";function t(e){e.languages.go=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),e.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete e.languages.go["class-name"]}e.exports=t,t.displayName="go",t.aliases=[]},94055:function(e){"use strict";function t(e){e.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:e.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+/},e.hooks.add("after-tokenize",function(e){if("graphql"===e.language)for(var t=e.tokens.filter(function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type}),n=0;n0)){var s=d(/^\{$/,/^\}$/);if(-1===s)continue;for(var l=n;l=0&&p(c,"variable-input")}}}}function u(e,r){r=r||0;for(var a=0;a]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),e.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),e.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),e.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),e.hooks.add("wrap",function(t){if("groovy"===t.language&&"string"===t.type){var n=t.content.value[0];if("'"!=n){var r=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;"$"===n&&(r=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),t.content.value=t.content.value.replace(/</g,"<").replace(/&/g,"&"),t.content=e.highlight(t.content.value,{expression:{pattern:r,lookbehind:!0,inside:e.languages.groovy}}),t.classes.push("/"===n?"regex":"gstring")}}})}e.exports=t,t.displayName="groovy",t.aliases=[]},29536:function(e,t,n){"use strict";var r=n(56939);function a(e){e.register(r),function(e){e.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:e.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:e.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:e.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:e.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:e.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:e.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:e.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var t=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],n={},r=0,a=t.length;r@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"handlebars",/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")}),e.languages.hbs=e.languages.handlebars}e.exports=a,a.displayName="handlebars",a.aliases=["hbs"]},58090:function(e){"use strict";function t(e){e.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},e.languages.hs=e.languages.haskell}e.exports=t,t.displayName="haskell",t.aliases=["hs"]},95121:function(e){"use strict";function t(e){e.languages.haxe=e.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<{1,3}|[-+*/%!=&|^])=?|[?:~]/}),e.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.haxe}}},string:/[\s\S]+/}}}),e.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),e.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}e.exports=t,t.displayName="haxe",t.aliases=[]},59904:function(e){"use strict";function t(e){e.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}e.exports=t,t.displayName="hcl",t.aliases=[]},9436:function(e,t,n){"use strict";var r=n(65806);function a(e){e.register(r),e.languages.hlsl=e.languages.extend("c",{"class-name":[e.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}e.exports=a,a.displayName="hlsl",a.aliases=[]},60591:function(e){"use strict";function t(e){e.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}e.exports=t,t.displayName="hoon",t.aliases=[]},76942:function(e){"use strict";function t(e){e.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}e.exports=t,t.displayName="hpkp",t.aliases=[]},60561:function(e){"use strict";function t(e){e.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}e.exports=t,t.displayName="hsts",t.aliases=[]},49660:function(e){"use strict";function t(e){!function(e){function t(e){return RegExp("(^(?:"+e+"):[ ]*(?![ ]))[^]+","i")}e.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:e.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:t(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:e.languages.csp},{pattern:t(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:e.languages.hpkp},{pattern:t(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:e.languages.hsts},{pattern:t(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var n,r=e.languages,a={"application/javascript":r.javascript,"application/json":r.json||r.javascript,"application/xml":r.xml,"text/xml":r.xml,"text/html":r.html,"text/css":r.css,"text/plain":r.plain},i={"application/json":!0,"application/xml":!0};for(var o in a)if(a[o]){n=n||{};var s=i[o]?function(e){var t=e.replace(/^[a-z]+\//,"");return"(?:"+e+"|\\w+/(?:[\\w.-]+\\+)+"+t+"(?![+\\w.-]))"}(o):o;n[o.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+s+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:a[o]}}n&&e.languages.insertBefore("http","header",n)}(e)}e.exports=t,t.displayName="http",t.aliases=[]},30615:function(e){"use strict";function t(e){e.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}e.exports=t,t.displayName="ichigojam",t.aliases=[]},93865:function(e){"use strict";function t(e){e.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}e.exports=t,t.displayName="icon",t.aliases=[]},51078:function(e){"use strict";function t(e){!function(e){function t(e,n){return n<=0?/[]/.source:e.replace(//g,function(){return t(e,n-1)})}var n=/'[{}:=,](?:[^']|'')*'(?!')/,r={pattern:/''/,greedy:!0,alias:"operator"},a=t(/\{(?:[^{}']|'(?![{},'])|''||)*\}/.source.replace(//g,function(){return n.source}),8),i={pattern:RegExp(a),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};e.languages["icu-message-format"]={argument:{pattern:RegExp(a),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":i,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":i,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+t(/(?:[^{}']|'[^']*'|\{(?:)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:r,string:{pattern:n,greedy:!0,inside:{escape:r}}},i.inside.message.inside=e.languages["icu-message-format"],e.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=e.languages["icu-message-format"]}(e)}e.exports=t,t.displayName="icuMessageFormat",t.aliases=[]},91178:function(e,t,n){"use strict";var r=n(58090);function a(e){e.register(r),e.languages.idris=e.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),e.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.idr=e.languages.idris}e.exports=a,a.displayName="idris",a.aliases=["idr"]},40011:function(e){"use strict";function t(e){e.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}e.exports=t,t.displayName="iecst",t.aliases=[]},12017:function(e){"use strict";function t(e){e.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},e.languages.gitignore=e.languages.ignore,e.languages.hgignore=e.languages.ignore,e.languages.npmignore=e.languages.ignore}e.exports=t,t.displayName="ignore",t.aliases=["gitignore","hgignore","npmignore"]},65175:function(e){"use strict";function t(e){e.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},e.languages.inform7.string.inside.substitution.inside.rest=e.languages.inform7,e.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}e.exports=t,t.displayName="inform7",t.aliases=[]},14970:function(e){"use strict";function t(e){e.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}e.exports=t,t.displayName="ini",t.aliases=[]},13068:function(e){"use strict";function t(e){e.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}e.exports=t,t.displayName="j",t.aliases=[]},15909:function(e){"use strict";function t(e){var t,n,r;t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,r={pattern:RegExp((n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source)+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}},e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,function(){return t.source})),lookbehind:!0,inside:{punctuation:/\./}}})}e.exports=t,t.displayName="java",t.aliases=[]},36553:function(e,t,n){"use strict";var r=n(15909),a=n(9858);function i(e){var t,n,i;e.register(r),e.register(a),t=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,n=/#\s*\w+(?:\s*\([^()]*\))?/.source,i=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*)?|/.source.replace(//g,function(){return n}),e.languages.javadoc=e.languages.extend("javadoclike",{}),e.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+i+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:e.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:t,lookbehind:!0,inside:e.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:t,lookbehind:!0,inside:{tag:e.languages.markup.tag,entity:e.languages.markup.entity,code:{pattern:/.+/,inside:e.languages.java,alias:"language-java"}}}}}],tag:e.languages.markup.tag,entity:e.languages.markup.entity}),e.languages.javadoclike.addSupport("java",e.languages.javadoc)}e.exports=i,i.displayName="javadoc",i.aliases=[]},9858:function(e){"use strict";function t(e){var t;Object.defineProperty(t=e.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/},"addSupport",{value:function(t,n){"string"==typeof t&&(t=[t]),t.forEach(function(t){!function(t,n){var r="doc-comment",a=e.languages[t];if(a){var i=a[r];if(!i){var o={};o[r]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},i=(a=e.languages.insertBefore(t,"comment",o))[r]}if(i instanceof RegExp&&(i=a[r]={pattern:i}),Array.isArray(i))for(var s=0,l=i.length;s|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:e.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),e.languages.js=e.languages.javascript}e.exports=t,t.displayName="javascript",t.aliases=["js"]},11223:function(e){"use strict";function t(e){e.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:|[\w$]+)\()/,function:/(?:|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}e.exports=t,t.displayName="javastacktrace",t.aliases=[]},57957:function(e){"use strict";function t(e){e.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}e.exports=t,t.displayName="jexl",t.aliases=[]},66604:function(e){"use strict";function t(e){e.languages.jolie=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),e.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}e.exports=t,t.displayName="jolie",t.aliases=[]},77935:function(e){"use strict";function t(e){var t,n,r,a;t=/\\\((?:[^()]|\([^()]*\))*\)/.source,n=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return t})),r={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+t),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},a=e.languages.jq={comment:/#.*/,property:{pattern:RegExp(n.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:r},string:{pattern:n,lookbehind:!0,greedy:!0,inside:r},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}},r.interpolation.inside.content.inside=a}e.exports=t,t.displayName="jq",t.aliases=[]},46155:function(e){"use strict";function t(e){!function(e){function t(e,t){return RegExp(e.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r=p.length)return;var o=n[i];if("string"==typeof o||"string"==typeof o.content){var l=p[c],d="string"==typeof o?o:o.content,f=d.indexOf(l);if(-1!==f){++c;var h=d.substring(0,f),m=function(t){var n={};n["interpolation-punctuation"]=a;var i=e.tokenize(t,n);if(3===i.length){var o=[1,1];o.push.apply(o,s(i[1],e.languages.javascript,"javascript")),i.splice.apply(i,o)}return new e.Token("interpolation",i,r.alias,t)}(u[l]),g=d.substring(f+l.length),b=[];if(h&&b.push(h),b.push(m),g){var y=[g];t(y),b.push.apply(b,y)}"string"==typeof o?(n.splice.apply(n,[i,1].concat(b)),i+=b.length-1):o.content=b}}else{var E=o.content;Array.isArray(E)?t(E):t([E])}}}(d),new e.Token(o,d,"language-"+o,t)}(p,m,h)}}else t(u)}}}(t.tokens)})}(e)}e.exports=t,t.displayName="jsTemplates",t.aliases=[]},25319:function(e,t,n){"use strict";var r=n(9858),a=n(4979);function i(e){var t,n,i;e.register(r),e.register(a),t=e.languages.javascript,i="(@(?:arg|argument|param|property)\\s+(?:"+(n=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source)+"\\s+)?)",e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(i+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(i+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:t,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,function(){return n})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{string:t.string,number:t.number,boolean:t.boolean,keyword:e.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}e.exports=i,i.displayName="jsdoc",i.aliases=[]},45950:function(e){"use strict";function t(e){e.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"}},e.languages.webmanifest=e.languages.json}e.exports=t,t.displayName="json",t.aliases=["webmanifest"]},50235:function(e,t,n){"use strict";var r=n(45950);function a(e){var t;e.register(r),t=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/,e.languages.json5=e.languages.extend("json",{property:[{pattern:RegExp(t.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:t,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}e.exports=a,a.displayName="json5",a.aliases=[]},80963:function(e,t,n){"use strict";var r=n(45950);function a(e){e.register(r),e.languages.jsonp=e.languages.extend("json",{punctuation:/[{}[\]();,.]/}),e.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}e.exports=a,a.displayName="jsonp",a.aliases=[]},79358:function(e){"use strict";function t(e){e.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js||.*(?:node_modules|\(\)|\(|$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}e.exports=t,t.displayName="jsstacktrace",t.aliases=[]},96412:function(e){"use strict";function t(e){!function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,a=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function i(e,t){return RegExp(e=e.replace(//g,function(){return n}).replace(//g,function(){return r}).replace(//g,function(){return a}),t)}a=i(a).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=i(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:i(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var o=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(o).join(""):""},s=function(t){for(var n=[],r=0;r0&&n[n.length-1].tagName===o(a.content[0].content[1])&&n.pop():"/>"===a.content[a.content.length-1].content||n.push({tagName:o(a.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===a.type&&"{"===a.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===a.type&&"}"===a.content?n[n.length-1].openedBraces--:i=!0),(i||"string"==typeof a)&&n.length>0&&0===n[n.length-1].openedBraces){var l=o(a);r0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(l=o(t[r-1])+l,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",l,null,l)}a.content&&"string"!=typeof a.content&&s(a.content)}};e.hooks.add("after-tokenize",function(e){("jsx"===e.language||"tsx"===e.language)&&s(e.tokens)})}(e)}e.exports=t,t.displayName="jsx",t.aliases=[]},39259:function(e){"use strict";function t(e){e.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}e.exports=t,t.displayName="julia",t.aliases=[]},51466:function(e){"use strict";function t(e){e.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}|(?:[\da-f]{1,4}:){0,5}:|::(?:[\da-f]{1,4}:){0,5}|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|(?:\/\d{1,2})?)\b/.source.replace(//g,function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source}),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}e.exports=t,t.displayName="keepalived",t.aliases=[]},35760:function(e){"use strict";function t(e){e.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|nomatch|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}e.exports=t,t.displayName="keyman",t.aliases=[]},19715:function(e){"use strict";function t(e){var t;e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"],t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}},e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}e.exports=t,t.displayName="kotlin",t.aliases=["kt","kts"]},27614:function(e){"use strict";function t(e){!function(e){var t=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function n(e,n){return RegExp(e.replace(//g,t),n)}e.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:n(/(^|[])(?:да|нет)(?=[]|$)/.source),lookbehind:!0},"operator-word":{pattern:n(/(^|[])(?:и|или|не)(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:n(/(^|[])знач(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:n(/(^|[])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:n(/(^|[])(?:компл|сканкод|файл|цвет)(?=[]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:n(/(^|[])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[]|$)/.source),lookbehind:!0},name:{pattern:n(/(^|[])[^\d][^]*(?:\x20+[^]+)*(?=[]|$)/.source),lookbehind:!0},number:{pattern:n(/(^|[])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},e.languages.kum=e.languages.kumir}(e)}e.exports=t,t.displayName="kumir",t.aliases=["kum"]},82819:function(e){"use strict";function t(e){e.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}e.exports=t,t.displayName="kusto",t.aliases=[]},42876:function(e){"use strict";function t(e){var t,n;n={"equation-command":{pattern:t=/\\(?:[^a-z()[\]]|[a-z*]+)/i,alias:"regex"}},e.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:n,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:n,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:t,alias:"selector"},punctuation:/[[\]{}&]/},e.languages.tex=e.languages.latex,e.languages.context=e.languages.latex}e.exports=t,t.displayName="latex",t.aliases=["tex","context"]},2980:function(e,t,n){"use strict";var r=n(93205),a=n(88262);function i(e){var t;e.register(r),e.register(a),e.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:e.languages.php}},t=e.languages.extend("markup",{}),e.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:e.languages.php}}}}}},t.tag),e.hooks.add("before-tokenize",function(n){"latte"===n.language&&(e.languages["markup-templating"].buildPlaceholders(n,"latte",/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g),n.grammar=t)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"latte")})}e.exports=i,i.displayName="latte",i.aliases=[]},41701:function(e){"use strict";function t(e){e.languages.less=e.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),e.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}e.exports=t,t.displayName="less",t.aliases=[]},42491:function(e,t,n){"use strict";var r=n(9997);function a(e){e.register(r),function(e){for(var t=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|)*\)/.source,n=0;n<5;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,/[^\s\S]/.source);var r=e.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|))/.source.replace(//g,function(){return t}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:e.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};r["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=r,e.languages.ly=r}(e)}e.exports=a,a.displayName="lilypond",a.aliases=[]},34927:function(e,t,n){"use strict";var r=n(93205);function a(e){e.register(r),e.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},e.hooks.add("before-tokenize",function(t){var n=!1;e.languages["markup-templating"].buildPlaceholders(t,"liquid",/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,function(e){var t=/^\{%-?\s*(\w+)/.exec(e);if(t){var r=t[1];if("raw"===r&&!n)return n=!0,!0;if("endraw"===r)return n=!1,!0}return!n})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"liquid")})}e.exports=a,a.displayName="liquid",a.aliases=[]},3848:function(e){"use strict";function t(e){!function(e){function t(e){return RegExp(/(\()/.source+"(?:"+e+")"+/(?=[\s\)])/.source)}function n(e){return RegExp(/([\s([])/.source+"(?:"+e+")"+/(?=[\s)])/.source)}var r=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,a="&"+r,i="(\\()",o="(?=\\s)",s=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,l={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+r+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+r),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+r),alias:"property"},splice:{pattern:RegExp(",@?"+r),alias:["symbol","variable"]},keyword:[{pattern:RegExp(i+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+o),lookbehind:!0},{pattern:RegExp(i+"(?:append|by|collect|concat|do|finally|for|in|return)"+o),lookbehind:!0}],declare:{pattern:t(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:t(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:n(/nil|t/.source),lookbehind:!0},number:{pattern:n(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(i+"def(?:const|custom|group|var)\\s+"+r),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(r)}},defun:{pattern:RegExp(i+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+r+/\s+\(/.source+s+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+r),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(i+"lambda\\s+\\(\\s*(?:&?"+r+"(?:\\s+&?"+r+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(i+r),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},c={"lisp-marker":RegExp(a),varform:{pattern:RegExp(/\(/.source+r+/\s+(?=\S)/.source+s+/\)/.source),inside:l},argument:{pattern:RegExp(/(^|[\s(])/.source+r),lookbehind:!0,alias:"variable"},rest:l},u="\\S+(?:\\s+\\S+)*",d={pattern:RegExp(i+s+"(?=\\))"),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+u),inside:c},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+u),inside:c},keys:{pattern:RegExp("&key\\s+"+u+"(?:\\s+&allow-other-keys)?"),inside:c},argument:{pattern:RegExp(r),alias:"variable"},punctuation:/[()]/}};l.lambda.inside.arguments=d,l.defun.inside.arguments=e.util.clone(d),l.defun.inside.arguments.inside.sublist=d,e.languages.lisp=l,e.languages.elisp=l,e.languages.emacs=l,e.languages["emacs-lisp"]=l}(e)}e.exports=t,t.displayName="lisp",t.aliases=[]},41469:function(e){"use strict";function t(e){e.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},e.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=e.languages.livescript}e.exports=t,t.displayName="livescript",t.aliases=[]},73070:function(e){"use strict";function t(e){e.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}}e.exports=t,t.displayName="llvm",t.aliases=[]},35049:function(e){"use strict";function t(e){e.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:e.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}e.exports=t,t.displayName="log",t.aliases=[]},8789:function(e){"use strict";function t(e){e.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}e.exports=t,t.displayName="lolcode",t.aliases=[]},59803:function(e){"use strict";function t(e){e.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}e.exports=t,t.displayName="lua",t.aliases=[]},86328:function(e){"use strict";function t(e){e.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}e.exports=t,t.displayName="magma",t.aliases=[]},33055:function(e){"use strict";function t(e){e.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}e.exports=t,t.displayName="makefile",t.aliases=[]},90542:function(e){"use strict";function t(e){!function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(//g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return r}),i=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+i+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+i+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+i+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~))+\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:n(/!?\[(?:(?!\]))+\](?:\([^\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(t){["url","bold","italic","strike","code-snippet"].forEach(function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])})}),e.hooks.add("after-tokenize",function(e){("markdown"===e.language||"md"===e.language)&&function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n",quot:'"'},l=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(e)}e.exports=t,t.displayName="markdown",t.aliases=["md"]},93205:function(e){"use strict";function t(e){!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,i){if(n.language===r){var o=n.tokenStack=[];n.code=n.code.replace(a,function(e){if("function"==typeof i&&!i(e))return e;for(var a,s=o.length;-1!==n.code.indexOf(a=t(r,s));)++s;return o[s]=e,a}),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,i=Object.keys(n.tokenStack);!function o(s){for(var l=0;l=i.length);l++){var c=s[l];if("string"==typeof c||c.content&&"string"==typeof c.content){var u=i[a],d=n.tokenStack[u],p="string"==typeof c?c:c.content,f=t(r,u),h=p.indexOf(f);if(h>-1){++a;var m=p.substring(0,h),g=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),b=p.substring(h+f.length),y=[];m&&y.push.apply(y,o([m])),y.push(g),b&&y.push.apply(y,o([b])),"string"==typeof c?s.splice.apply(s,[l,1].concat(y)):c.content=y}}else c.content&&o(c.content)}return s}(n.tokens)}}}})}(e)}e.exports=t,t.displayName="markupTemplating",t.aliases=[]},2717:function(e){"use strict";function t(e){e.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"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.value.replace(/&/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(t,n){var r={};r["language-"+n]={pattern:/(^$)/i,lookbehind:!0,inside:e.languages[n]},r.cdata=/^$/i;var a={"included-cdata":{pattern://i,inside:r}};a["language-"+n]={pattern:/[\s\S]+/,inside:e.languages[n]};var i={};i[t]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:a},e.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,n){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:e.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml}e.exports=t,t.displayName="markup",t.aliases=["html","mathml","svg","xml","ssml","atom","rss"]},27992:function(e){"use strict";function t(e){e.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}e.exports=t,t.displayName="matlab",t.aliases=[]},91115:function(e){"use strict";function t(e){var t;t=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i,e.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|")+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source+")[ ]*)(?!"+t.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+t.source+")"+/[a-z_]/.source+"|")+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:t,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}}e.exports=t,t.displayName="maxscript",t.aliases=[]},606:function(e){"use strict";function t(e){e.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\b\w+(?=\()|\b(?:CBG|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|Mayatomr|about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},e.languages.mel.code.inside.rest=e.languages.mel}e.exports=t,t.displayName="mel",t.aliases=[]},68582:function(e){"use strict";function t(e){e.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}e.exports=t,t.displayName="mermaid",t.aliases=[]},23388:function(e){"use strict";function t(e){e.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}e.exports=t,t.displayName="mizar",t.aliases=[]},90596:function(e){"use strict";function t(e){var t,n;n="(?:"+["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"].map(function(e){return e.replace("$","\\$")}).join("|")+")\\b",e.languages.mongodb=e.languages.extend("javascript",{}),e.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp("^(['\"])?"+n+"(?:\\1)?$")}}}),e.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},e.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:ObjectId|Code|BinData|DBRef|Timestamp|NumberLong|NumberDecimal|MaxKey|MinKey|RegExp|ISODate|UUID)\\b"),alias:"keyword"}})}e.exports=t,t.displayName="mongodb",t.aliases=[]},95721:function(e){"use strict";function t(e){e.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}e.exports=t,t.displayName="monkey",t.aliases=[]},64262:function(e){"use strict";function t(e){e.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},e.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=e.languages.moonscript,e.languages.moon=e.languages.moonscript}e.exports=t,t.displayName="moonscript",t.aliases=["moon"]},18190:function(e){"use strict";function t(e){e.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}e.exports=t,t.displayName="n1ql",t.aliases=[]},70896:function(e){"use strict";function t(e){e.languages.n4js=e.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),e.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),e.languages.n4jsd=e.languages.n4js}e.exports=t,t.displayName="n4js",t.aliases=["n4jsd"]},42242:function(e){"use strict";function t(e){e.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}e.exports=t,t.displayName="nand2tetrisHdl",t.aliases=[]},37943:function(e){"use strict";function t(e){var t,n;n={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:t=/\{[^\r\n\[\]{}]*\}/,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]},e.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:t,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:n}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:t,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:n},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},e.languages.nani=e.languages.naniscript,e.hooks.add("after-tokenize",function(e){e.tokens.forEach(function(e){if("string"!=typeof e&&"generic-text"===e.type){var t=function e(t){return"string"==typeof t?t:Array.isArray(t)?t.map(e).join(""):e(t.content)}(e);!function(e){for(var t=[],n=0;n=&|$!]/}}e.exports=t,t.displayName="nasm",t.aliases=[]},83873:function(e){"use strict";function t(e){e.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"atrule"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}e.exports=t,t.displayName="neon",t.aliases=[]},75932:function(e){"use strict";function t(e){e.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}e.exports=t,t.displayName="nevod",t.aliases=[]},60221:function(e){"use strict";function t(e){var t;t=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i,e.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:t}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:t}},punctuation:/[{};]/}}e.exports=t,t.displayName="nginx",t.aliases=[]},44188:function(e){"use strict";function t(e){e.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}e.exports=t,t.displayName="nim",t.aliases=[]},74426:function(e){"use strict";function t(e){e.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},e.languages.nix.string.inside.interpolation.inside=e.languages.nix}e.exports=t,t.displayName="nix",t.aliases=[]},88447:function(e){"use strict";function t(e){e.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}e.exports=t,t.displayName="nsis",t.aliases=[]},16032:function(e,t,n){"use strict";var r=n(65806);function a(e){e.register(r),e.languages.objectivec=e.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete e.languages.objectivec["class-name"],e.languages.objc=e.languages.objectivec}e.exports=a,a.displayName="objectivec",a.aliases=["objc"]},33607:function(e){"use strict";function t(e){e.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}e.exports=t,t.displayName="ocaml",t.aliases=[]},22001:function(e,t,n){"use strict";var r=n(65806);function a(e){var t;e.register(r),e.languages.opencl=e.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),e.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}}),t={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}},e.languages.insertBefore("c","keyword",t),e.languages.cpp&&(t["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},e.languages.insertBefore("cpp","keyword",t))}e.exports=a,a.displayName="opencl",a.aliases=[]},22950:function(e){"use strict";function t(e){e.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},e.languages.qasm=e.languages.openqasm}e.exports=t,t.displayName="openqasm",t.aliases=["qasm"]},23254:function(e){"use strict";function t(e){e.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}e.exports=t,t.displayName="oz",t.aliases=[]},92694:function(e){"use strict";function t(e){var t;e.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:RegExp("\\b(?:"+["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"].map(function(e){return e.split("").join(" *")}).join("|")+")\\b"),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}e.exports=t,t.displayName="parigp",t.aliases=[]},43273:function(e){"use strict";function t(e){var t;t=e.languages.parser=e.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/}),t=e.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:t.keyword,variable:t.variable,function:t.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:t.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:t.punctuation}}}),e.languages.insertBefore("inside","punctuation",{expression:t.expression,keyword:t.keyword,variable:t.variable,function:t.function,escape:t.escape,"parser-punctuation":{pattern:t.punctuation,alias:"punctuation"}},t.tag.inside["attr-value"])}e.exports=t,t.displayName="parser",t.aliases=[]},60718:function(e){"use strict";function t(e){e.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},e.languages.pascal.asm.inside=e.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),e.languages.objectpascal=e.languages.pascal}e.exports=t,t.displayName="pascal",t.aliases=["objectpascal"]},39303:function(e){"use strict";function t(e){var t,n,r,a;t=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,n=/(?:\b\w+(?:)?|)/.source.replace(//g,function(){return t}),r=e.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)/.source.replace(//g,function(){return n}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/(?=\s+is\b)/.source.replace(//g,function(){return n}),"i"),inside:null},{pattern:RegExp(/(:\s*)/.source.replace(//g,function(){return n})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},a=["comment","keyword","builtin","operator","punctuation"].reduce(function(e,t){return e[t]=r[t],e},{}),r["class-name"].forEach(function(e){e.inside=a})}e.exports=t,t.displayName="pascaligo",t.aliases=[]},77393:function(e){"use strict";function t(e){e.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},e.languages.px=e.languages.pcaxis}e.exports=t,t.displayName="pcaxis",t.aliases=["px"]},19023:function(e){"use strict";function t(e){e.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},e.languages.pcode=e.languages.peoplecode}e.exports=t,t.displayName="peoplecode",t.aliases=["pcode"]},74212:function(e){"use strict";function t(e){var t;t=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source,e.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,t].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,t].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,t+/\s*/.source+t].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}}e.exports=t,t.displayName="perl",t.aliases=[]},5137:function(e,t,n){"use strict";var r=n(88262);function a(e){e.register(r),e.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}e.exports=a,a.displayName="phpExtras",a.aliases=[]},88262:function(e,t,n){"use strict";var r=n(93205);function a(e){var t,n,a,i,o,s,l;e.register(r),t=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,n=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],a=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,i=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,o=/[{}\[\](),:;]/,e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:t,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:a,operator:i,punctuation:o},l=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:s={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php}}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:s}}],e.languages.insertBefore("php","variable",{string:l,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:t,string:l,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:a,operator:i,punctuation:o}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",function(t){/<\?/.test(t.code)&&e.languages["markup-templating"].buildPlaceholders(t,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"php")})}e.exports=a,a.displayName="php",a.aliases=[]},63632:function(e,t,n){"use strict";var r=n(88262),a=n(9858);function i(e){var t;e.register(r),e.register(a),t=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source,e.languages.phpdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+t+"\\s+)?)\\$\\w+"),lookbehind:!0}}),e.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+t),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),e.languages.javadoclike.addSupport("php",e.languages.phpdoc)}e.exports=i,i.displayName="phpdoc",i.aliases=[]},59149:function(e,t,n){"use strict";var r=n(11114);function a(e){e.register(r),e.languages.plsql=e.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),e.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}e.exports=a,a.displayName="plsql",a.aliases=[]},50256:function(e){"use strict";function t(e){e.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},e.languages.pq=e.languages.powerquery,e.languages.mscript=e.languages.powerquery}e.exports=t,t.displayName="powerquery",t.aliases=[]},61777:function(e){"use strict";function t(e){var t;(t=e.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/}).string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:t},boolean:t.boolean,variable:t.variable}}e.exports=t,t.displayName="powershell",t.aliases=[]},3623:function(e){"use strict";function t(e){e.languages.processing=e.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),e.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}e.exports=t,t.displayName="processing",t.aliases=[]},82707:function(e){"use strict";function t(e){e.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}e.exports=t,t.displayName="prolog",t.aliases=[]},59338:function(e){"use strict";function t(e){var t,n;n=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"].concat(t=["on","ignoring","group_right","group_left","by","without"],["offset"]),e.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:RegExp("((?:"+t.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:RegExp("\\b(?:"+n.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}}e.exports=t,t.displayName="promql",t.aliases=[]},56267:function(e){"use strict";function t(e){e.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}e.exports=t,t.displayName="properties",t.aliases=[]},98809:function(e){"use strict";function t(e){var t;t=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/,e.languages.protobuf=e.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),e.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:t}},builtin:t,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})}e.exports=t,t.displayName="protobuf",t.aliases=[]},37548:function(e){"use strict";function t(e){e.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}e.exports=t,t.displayName="psl",t.aliases=[]},82161:function(e){"use strict";function t(e){!function(e){e.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:e.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:e.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:e.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:e.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:e.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:e.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:e.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:e.languages.javascript}],punctuation:/[.\-!=|]+/};for(var t=/(^([\t ]*)):(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,n=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],r={},a=0,i=n.length;a",function(){return o.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[o.language,"language-"+o.language],inside:e.languages[o.language]}}})}e.languages.insertBefore("pug","filter",r)}(e)}e.exports=t,t.displayName="pug",t.aliases=[]},80625:function(e){"use strict";function t(e){var t;e.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/},t=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:e.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}],e.languages.puppet.heredoc[0].inside.interpolation=t,e.languages.puppet.string.inside["double-quoted"].inside.interpolation=t}e.exports=t,t.displayName="puppet",t.aliases=[]},88393:function(e){"use strict";function t(e){var t;e.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/},t=/%< *-\*- *\d* *-\*-[\s\S]+?%>/.source,["c",{lang:"c++",alias:"cpp"},"fortran"].forEach(function(n){var r=n;if("string"!=typeof n&&(r=n.alias,n=n.lang),e.languages[r]){var a={};a["inline-lang-"+r]={pattern:RegExp(t.replace("",n.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:e.util.clone(e.languages.pure["inline-lang"].inside)},a["inline-lang-"+r].inside.rest=e.util.clone(e.languages[r]),e.languages.insertBefore("pure","inline-lang",a)}}),e.languages.c&&(e.languages.pure["inline-lang"].inside.rest=e.util.clone(e.languages.c))}e.exports=t,t.displayName="pure",t.aliases=[]},78404:function(e){"use strict";function t(e){e.languages.purebasic=e.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+|-[>-]?|\+\+?|!=?|<>?=?|==?|&&?|\|?\||[~^%?*/@]/}),e.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete e.languages.purebasic["class-name"],delete e.languages.purebasic.boolean,e.languages.pbfasm=e.languages.purebasic}e.exports=t,t.displayName="purebasic",t.aliases=[]},92923:function(e,t,n){"use strict";var r=n(58090);function a(e){e.register(r),e.languages.purescript=e.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[e.languages.haskell.operator[0],e.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),e.languages.purs=e.languages.purescript}e.exports=a,a.displayName="purescript",a.aliases=["purs"]},52992:function(e){"use strict";function t(e){e.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},e.languages.python["string-interpolation"].inside.interpolation.inside.rest=e.languages.python,e.languages.py=e.languages.python}e.exports=t,t.displayName="python",t.aliases=["py"]},55762:function(e){"use strict";function t(e){e.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}e.exports=t,t.displayName="q",t.aliases=[]},4137:function(e){"use strict";function t(e){!function(e){for(var t=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,n=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,r=/(?:[^\\()[\]{}"'/]||\/(?![*/])||\(*\)|\[*\]|\{*\}|\\[\s\S])/.source.replace(//g,function(){return t}).replace(//g,function(){return n}),a=0;a<2;a++)r=r.replace(//g,function(){return r});r=r.replace(//g,"[^\\s\\S]"),e.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(*\)\s*\{*\}/.source.replace(//g,function(){return r}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:e.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}]))+/.source.replace(//g,function(){return r}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:e.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}}(e)}e.exports=t,t.displayName="qml",t.aliases=[]},28260:function(e){"use strict";function t(e){e.languages.qore=e.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}e.exports=t,t.displayName="qore",t.aliases=[]},71360:function(e){"use strict";function t(e){!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,function(e,n){return"(?:"+t[+n]+")"})}function n(e,n,r){return RegExp(t(e,n),r||"")}var r={type:"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",other:"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"},a=RegExp("\\b(?:"+(r.type+" "+r.other).trim().replace(/ /g,"|")+")\\b"),i=/\b[A-Za-z_]\w*\b/.source,o=t(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[i]),s={keyword:a,punctuation:/[<>()?,.:[\]]/},l=/"(?:\\.|[^\\"])*"/.source;e.languages.qsharp=e.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[l]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[o]),lookbehind:!0,inside:s},{pattern:n(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[o]),lookbehind:!0,inside:s}],keyword:a,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),e.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var c=function(e,t){for(var n=0;n<2;n++)e=e.replace(/<>/g,function(){return"(?:"+e+")"});return e.replace(/<>/g,"[^\\s\\S]")}(t(/\{(?:[^"{}]|<<0>>|<>)*\}/.source,[l]),0);e.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:n(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[c]),greedy:!0,inside:{interpolation:{pattern:n(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[c]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:e.languages.qsharp}}},string:/[\s\S]+/}}})}(e),e.languages.qs=e.languages.qsharp}e.exports=t,t.displayName="qsharp",t.aliases=["qs"]},29308:function(e){"use strict";function t(e){e.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}e.exports=t,t.displayName="r",t.aliases=[]},32168:function(e,t,n){"use strict";var r=n(9997);function a(e){e.register(r),e.languages.racket=e.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),e.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),e.languages.rkt=e.languages.racket}e.exports=a,a.displayName="racket",a.aliases=["rkt"]},5755:function(e){"use strict";function t(e){e.languages.reason=e.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),e.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete e.languages.reason.function}e.exports=t,t.displayName="reason",t.aliases=[]},54105:function(e){"use strict";function t(e){var t,n,r,a,i;t={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},a=RegExp((r="(?:[^\\\\-]|"+(n=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/).source+")")+"-"+r),i={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},e.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:a,inside:{escape:n,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":t,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:n}},"special-escape":t,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":i}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:n,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}e.exports=t,t.displayName="rego",t.aliases=[]},35108:function(e){"use strict";function t(e){e.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},e.languages.rpy=e.languages.renpy}e.exports=t,t.displayName="renpy",t.aliases=["rpy"]},46678:function(e){"use strict";function t(e){e.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}e.exports=t,t.displayName="rest",t.aliases=[]},47496:function(e){"use strict";function t(e){e.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}e.exports=t,t.displayName="rip",t.aliases=[]},30527:function(e){"use strict";function t(e){e.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}e.exports=t,t.displayName="roboconf",t.aliases=[]},5261:function(e){"use strict";function t(e){!function(e){var t={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},n={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function r(e,r){var a={};for(var i in a["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"},r)a[i]=r[i];return a.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},a.variable=n,a.comment=t,{pattern:RegExp(/^ ?\*{3}[ \t]*[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(//g,function(){return e}),"im"),alias:"section",inside:a}}var a={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},i={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:n}},o={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:n}};e.languages.robotframework={settings:r("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:r("Variables"),"test-cases":r("Test Cases",{"test-name":i,documentation:a,property:o}),keywords:r("Keywords",{"keyword-name":i,documentation:a,property:o}),tasks:r("Tasks",{"task-name":i,documentation:a,property:o}),comment:t},e.languages.robot=e.languages.robotframework}(e)}e.exports=t,t.displayName="robotframework",t.aliases=[]},56939:function(e){"use strict";function t(e){var t,n,r;e.languages.ruby=e.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),e.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),t={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}},delete e.languages.ruby.function,n="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",r=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source,e.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+n+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+r),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+r+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),e.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+n),greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+n),greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete e.languages.ruby.string,e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),e.languages.rb=e.languages.ruby}e.exports=t,t.displayName="ruby",t.aliases=["rb"]},83648:function(e){"use strict";function t(e){!function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,n=0;n<2;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(e)}e.exports=t,t.displayName="rust",t.aliases=[]},16009:function(e){"use strict";function t(e){var t,n,r,a,i,o,s,l,c,u,d,p,f,h,m,g,b,y;t=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,n=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,r={pattern:RegExp(t+"[bx]"),alias:"number"},i={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},o={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},s=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],d={function:u={pattern:/%?\b\w+(?=\()/,alias:"keyword"},"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":a={pattern:/&[a-z_]\w*/i},arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:n,"numeric-constant":r,punctuation:c=/[$%@.(){}\[\];,\\]/,string:l={pattern:RegExp(t),greedy:!0}},p={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},f={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},h={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},m={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},g=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,b={pattern:RegExp(/(^|\s)(?:action\s+)?(?:)\.[a-z]+\b[^;]+/.source.replace(//g,function(){return g}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:)\.[a-z]+\b/.source.replace(//g,function(){return g}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:s,function:u,"arg-value":d["arg-value"],operator:d.operator,argument:d.arg,number:n,"numeric-constant":r,punctuation:c,string:l}},y={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0},e.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:|[^;"'])+;/.source.replace(//g,function(){return t}),"im"),alias:"language-sql",inside:e.languages.sql},"global-statements":h,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:n,"numeric-constant":r,punctuation:c,string:l}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return t}),"im"),lookbehind:!0,alias:"language-groovy",inside:e.languages.groovy},keyword:y,"submit-statement":m,"global-statements":h,number:n,"numeric-constant":r,punctuation:c,string:l}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return t}),"im"),lookbehind:!0,alias:"language-lua",inside:e.languages.lua},keyword:y,"submit-statement":m,"global-statements":h,number:n,"numeric-constant":r,punctuation:c,string:l}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:d}},"cas-actions":b,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:d},step:o,keyword:y,function:u,format:p,altformat:f,"global-statements":h,number:n,"numeric-constant":r,punctuation:c,string:l}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|)+;/.source.replace(//g,function(){return t}),"im"),lookbehind:!0,inside:d},"macro-keyword":i,"macro-variable":a,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":i,"macro-variable":a,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:c}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:s,number:n,"numeric-constant":r}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:d},"cas-actions":b,comment:s,function:u,format:p,altformat:f,"numeric-constant":r,datetime:{pattern:RegExp(t+"(?:dt?|t)"),alias:"number"},string:l,step:o,keyword:y,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:n,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:c}}e.exports=t,t.displayName="sas",t.aliases=[]},41720:function(e){"use strict";function t(e){var t,n;e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule,t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}e.exports=t,t.displayName="sass",t.aliases=[]},6054:function(e,t,n){"use strict";var r=n(15909);function a(e){e.register(r),e.languages.scala=e.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),e.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.scala}}},string:/[\s\S]+/}}}),delete e.languages.scala["class-name"],delete e.languages.scala.function}e.exports=a,a.displayName="scala",a.aliases=[]},9997:function(e){"use strict";function t(e){e.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(function(e){for(var t in e)e[t]=e[t].replace(/<[\w\s]+>/g,function(t){return"(?:"+e[t].trim()+")"});return e[t]}({"":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?/.source,"":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/#[box](?:#[ei])?|(?:#[ei])?#[box]/.source,"":/(^|[()\[\]\s])(?:|)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/}}e.exports=t,t.displayName="scheme",t.aliases=[]},24296:function(e){"use strict";function t(e){e.languages.scss=e.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),e.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),e.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),e.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),e.languages.scss.atrule.inside.rest=e.languages.scss}e.exports=t,t.displayName="scss",t.aliases=[]},49246:function(e,t,n){"use strict";var r=n(6979);function a(e){var t;e.register(r),t=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|"),e.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,function(){return t}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:e.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},e.languages["sh-session"]=e.languages.shellsession=e.languages["shell-session"]}e.exports=a,a.displayName="shellSession",a.aliases=[]},18890:function(e){"use strict";function t(e){e.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}e.exports=t,t.displayName="smali",t.aliases=[]},11037:function(e){"use strict";function t(e){e.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}e.exports=t,t.displayName="smalltalk",t.aliases=[]},64020:function(e,t,n){"use strict";var r=n(93205);function a(e){var t,n;e.register(r),e.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:e.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},e.languages.smarty["embedded-php"].inside.smarty.inside=e.languages.smarty,e.languages.smarty.string[0].inside.interpolation.inside.expression.inside=e.languages.smarty,t=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,n=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']||\{(?:[^{}"']||\{(?:[^{}"']|)*\})*\})*\}/.source.replace(//g,function(){return t.source}),"g"),e.hooks.add("before-tokenize",function(t){var r=!1;e.languages["markup-templating"].buildPlaceholders(t,"smarty",n,function(e){return"{/literal}"===e&&(r=!1),!r&&("{literal}"===e&&(r=!0),!0)})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"smarty")})}e.exports=a,a.displayName="smarty",a.aliases=[]},49760:function(e){"use strict";function t(e){var t;t=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i,e.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)(?:\s*(?:(?:\*|->)\s*|,\s*(?:(?=)|(?!)\s+)))*/.source.replace(//g,function(){return/\s*(?:[*,]|->)/.source}).replace(//g,function(){return/(?:'[\w']*||\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+)*/.source}).replace(//g,function(){return/(?!)[a-z\d_][\w'.]*/.source}).replace(//g,function(){return t.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:t,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},e.languages.sml["class-name"][0].inside=e.languages.sml,e.languages.smlnj=e.languages.sml}e.exports=t,t.displayName="sml",t.aliases=["smlnj"]},33351:function(e){"use strict";function t(e){e.languages.solidity=e.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),e.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),e.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),e.languages.sol=e.languages.solidity}e.exports=t,t.displayName="solidity",t.aliases=["sol"]},13570:function(e){"use strict";function t(e){var t;t={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}},e.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:t}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:t}},guid:t,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},e.languages.sln=e.languages["solution-file"]}e.exports=t,t.displayName="solutionFile",t.aliases=[]},38181:function(e,t,n){"use strict";var r=n(93205);function a(e){var t,n;e.register(r),t=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,n=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/,e.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:t,greedy:!0},number:n,punctuation:/[\[\].?]/}},string:{pattern:t,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:n,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},e.hooks.add("before-tokenize",function(t){var n=!1;e.languages["markup-templating"].buildPlaceholders(t,"soy",/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,function(e){return"{/literal}"===e&&(n=!1),!n&&("{literal}"===e&&(n=!0),!0)})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"soy")})}e.exports=a,a.displayName="soy",a.aliases=[]},98774:function(e,t,n){"use strict";var r=n(24691);function a(e){e.register(r),e.languages.sparql=e.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),e.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),e.languages.rq=e.languages.sparql}e.exports=a,a.displayName="sparql",a.aliases=["rq"]},22855:function(e){"use strict";function t(e){e.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}e.exports=t,t.displayName="splunkSpl",t.aliases=[]},29611:function(e){"use strict";function t(e){e.languages.sqf=e.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),e.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:e.languages.sqf.comment}}}),delete e.languages.sqf["class-name"]}e.exports=t,t.displayName="sqf",t.aliases=[]},11114:function(e){"use strict";function t(e){e.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}e.exports=t,t.displayName="sql",t.aliases=[]},67386:function(e){"use strict";function t(e){e.languages.squirrel=e.languages.extend("clike",{comment:[e.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),e.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}e.exports=t,t.displayName="squirrel",t.aliases=[]},28067:function(e){"use strict";function t(e){var t;t=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/,e.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+t.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,t],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},e.languages.stan.constraint.inside.expression.inside=e.languages.stan}e.exports=t,t.displayName="stan",t.aliases=[]},49168:function(e){"use strict";function t(e){var t,n,r;(r={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},number:n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:n,punctuation:/[{}()\[\];:,]/}).interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:r}},r.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:r}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:r}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:r}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:r}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:r.interpolation}},rest:r}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:r.interpolation,comment:r.comment,punctuation:/[{},]/}},func:r.func,string:r.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:r.interpolation,punctuation:/[{}()\[\];:.]/}}e.exports=t,t.displayName="stylus",t.aliases=[]},23651:function(e){"use strict";function t(e){e.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},e.languages.swift["string-literal"].forEach(function(t){t.inside.interpolation.inside=e.languages.swift})}e.exports=t,t.displayName="swift",t.aliases=[]},21483:function(e){"use strict";function t(e){var t,n;t={pattern:/^[;#].*/m,greedy:!0},n=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source,e.languages.systemd={comment:t,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+n+'|(?=[^"\r\n]))(?:'+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|')+n+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:t,quoted:{pattern:RegExp(/(^|\s)/.source+n),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}}e.exports=t,t.displayName="systemd",t.aliases=[]},32268:function(e,t,n){"use strict";var r=n(2329),a=n(61958);function i(e){e.register(r),e.register(a),e.languages.t4=e.languages["t4-cs"]=e.languages["t4-templating"].createT4("csharp")}e.exports=i,i.displayName="t4Cs",i.aliases=[]},2329:function(e){"use strict";function t(e){!function(e){function t(e,t,n){return{pattern:RegExp("<#"+e+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+e+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:t,alias:n}}}}e.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:function(n){var r=e.languages[n],a="language-"+n;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:t("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:t("=",r,a),"class-feature":t("\\+",r,a),standard:t("",r,a)}}}}})}(e)}e.exports=t,t.displayName="t4Templating",t.aliases=[]},82996:function(e,t,n){"use strict";var r=n(2329),a=n(53813);function i(e){e.register(r),e.register(a),e.languages["t4-vb"]=e.languages["t4-templating"].createT4("vbnet")}e.exports=i,i.displayName="t4Vb",i.aliases=[]},17290:function(e,t,n){"use strict";var r=n(65039);function a(e){e.register(r),e.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:e.languages.yaml,alias:"language-yaml"}}}e.exports=a,a.displayName="tap",a.aliases=[]},67989:function(e){"use strict";function t(e){e.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}e.exports=t,t.displayName="tcl",t.aliases=[]},31065:function(e){"use strict";function t(e){!function(e){var t=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,n=/\)|\((?![^|()\n]+\))/.source;function r(e,r){return RegExp(e.replace(//g,function(){return"(?:"+t+")"}).replace(//g,function(){return"(?:"+n+")"}),r||"")}var a={css:{pattern:/\{[^{}]+\}/,inside:{rest:e.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},i=e.languages.textile=e.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:r(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:r(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:a},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:r(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:r(/(^[*#]+)+/.source),lookbehind:!0,inside:a},punctuation:/^[*#]+/}},table:{pattern:r(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:r(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:a},punctuation:/\||^\./}},inline:{pattern:r(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:r(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:r(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:r(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:r(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:r(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:r(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:r(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:r(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:a},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:r(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:r(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:r(/(^")+/.source),lookbehind:!0,inside:a},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:r(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:r(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:r(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:a},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),o=i.phrase.inside,s={inline:o.inline,link:o.link,image:o.image,footnote:o.footnote,acronym:o.acronym,mark:o.mark};i.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var l=o.inline.inside;l.bold.inside=s,l.italic.inside=s,l.inserted.inside=s,l.deleted.inside=s,l.span.inside=s;var c=o.table.inside;c.inline=s.inline,c.link=s.link,c.image=s.image,c.footnote=s.footnote,c.acronym=s.acronym,c.mark=s.mark}(e)}e.exports=t,t.displayName="textile",t.aliases=[]},85572:function(e){"use strict";function t(e){!function(e){var t=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function n(e){return e.replace(/__/g,function(){return t})}e.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(n(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(n(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}}(e)}e.exports=t,t.displayName="toml",t.aliases=[]},27536:function(e){"use strict";function t(e){var t;e.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/},t=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source,e.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+t+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+t+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(t),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.tremor}}},string:/[\s\S]+/}},e.languages.troy=e.languages.tremor,e.languages.trickle=e.languages.tremor}e.exports=t,t.displayName="tremor",t.aliases=[]},87041:function(e,t,n){"use strict";var r=n(96412),a=n(4979);function i(e){var t,n;e.register(r),e.register(a),t=e.util.clone(e.languages.typescript),e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"],(n=e.languages.tsx.tag).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}e.exports=i,i.displayName="tsx",i.aliases=[]},61028:function(e,t,n){"use strict";var r=n(93205);function a(e){e.register(r),e.languages.tt2=e.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),e.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),e.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),e.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete e.languages.tt2.string,e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"tt2",/\[%[\s\S]+?%\]/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"tt2")})}e.exports=a,a.displayName="tt2",a.aliases=[]},24691:function(e){"use strict";function t(e){e.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},e.languages.trig=e.languages.turtle}e.exports=t,t.displayName="turtle",t.aliases=[]},19892:function(e,t,n){"use strict";var r=n(93205);function a(e){e.register(r),e.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},e.hooks.add("before-tokenize",function(t){"twig"===t.language&&e.languages["markup-templating"].buildPlaceholders(t,"twig",/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"twig")})}e.exports=a,a.displayName="twig",a.aliases=[]},4979:function(e){"use strict";function t(e){var t;e.languages.typescript=e.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/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"],t=e.languages.extend("typescript",{}),delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}e.exports=t,t.displayName="typescript",t.aliases=["ts"]},23159:function(e){"use strict";function t(e){var t;t=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/,e.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern://,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:t}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:t,number:/^\d+$/,punctuation:/[,|:]/}},keyword:t,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},e.languages.tsconfig=e.languages.typoscript}e.exports=t,t.displayName="typoscript",t.aliases=["tsconfig"]},34966:function(e){"use strict";function t(e){e.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},e.languages.uc=e.languages.uscript=e.languages.unrealscript}e.exports=t,t.displayName="unrealscript",t.aliases=["uc","uscript"]},44623:function(e){"use strict";function t(e){e.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}e.exports=t,t.displayName="uorazor",t.aliases=[]},38521:function(e){"use strict";function t(e){e.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source)+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")"+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},e.languages.url=e.languages.uri}e.exports=t,t.displayName="uri",t.aliases=["url"]},7255:function(e){"use strict";function t(e){var t;t={pattern:/[\s\S]+/,inside:null},e.languages.v=e.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":t}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),t.inside=e.languages.v,e.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),e.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),e.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:e.languages.v.generic.inside}}}})}e.exports=t,t.displayName="v",t.aliases=[]},28173:function(e){"use strict";function t(e){e.languages.vala=e.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),e.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:e.languages.vala}},string:/[\s\S]+/}}}),e.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}e.exports=t,t.displayName="vala",t.aliases=[]},53813:function(e,t,n){"use strict";var r=n(46241);function a(e){e.register(r),e.languages.vbnet=e.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}e.exports=a,a.displayName="vbnet",a.aliases=[]},46891:function(e){"use strict";function t(e){var t;e.languages.velocity=e.languages.extend("markup",{}),(t={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/}).variable.inside={string:t.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:t.number,boolean:t.boolean,punctuation:t.punctuation},e.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:t}},variable:t.variable}),e.languages.velocity.tag.inside["attr-value"].inside.rest=e.languages.velocity}e.exports=t,t.displayName="velocity",t.aliases=[]},91824:function(e){"use strict";function t(e){e.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}e.exports=t,t.displayName="verilog",t.aliases=[]},9447:function(e){"use strict";function t(e){e.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="vhdl",t.aliases=[]},53062:function(e){"use strict";function t(e){e.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}e.exports=t,t.displayName="vim",t.aliases=[]},46215:function(e){"use strict";function t(e){e.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},e.languages.vb=e.languages["visual-basic"],e.languages.vba=e.languages["visual-basic"]}e.exports=t,t.displayName="visualBasic",t.aliases=[]},10784:function(e){"use strict";function t(e){e.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}e.exports=t,t.displayName="warpscript",t.aliases=[]},17684:function(e){"use strict";function t(e){e.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}e.exports=t,t.displayName="wasm",t.aliases=[]},64851:function(e){"use strict";function t(e){!function(e){var t=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,n="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+t+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,r={};for(var a in e.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+t),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:r},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+n),lookbehind:!0,inside:r},{pattern:RegExp("("+/\bcallback\s+/.source+t+/\s*=\s*/.source+")"+n),lookbehind:!0,inside:r},{pattern:RegExp(/(\btypedef\b\s*)/.source+n),lookbehind:!0,inside:r},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+t),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+t),lookbehind:!0},RegExp(t+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+t),lookbehind:!0},{pattern:RegExp(n+"(?="+/\s*(?:\.{3}\s*)?/.source+t+/\s*[(),;=]/.source+")"),inside:r}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/},e.languages["web-idl"])"class-name"!==a&&(r[a]=e.languages["web-idl"][a]);e.languages.webidl=e.languages["web-idl"]}(e)}e.exports=t,t.displayName="webIdl",t.aliases=[]},18191:function(e){"use strict";function t(e){e.languages.wiki=e.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:e.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),e.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:e.languages.markup.tag.inside}}}})}e.exports=t,t.displayName="wiki",t.aliases=[]},75242:function(e){"use strict";function t(e){e.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},e.languages.mathematica=e.languages.wolfram,e.languages.wl=e.languages.wolfram,e.languages.nb=e.languages.wolfram}e.exports=t,t.displayName="wolfram",t.aliases=["mathematica","wl","nb"]},93639:function(e){"use strict";function t(e){e.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},e.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:e.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}e.exports=t,t.displayName="wren",t.aliases=[]},97202:function(e){"use strict";function t(e){e.languages.xeora=e.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),e.languages.insertBefore("inside","punctuation",{variable:e.languages.xeora["function-inline"].inside.variable},e.languages.xeora["function-block"]),e.languages.xeoracube=e.languages.xeora}e.exports=t,t.displayName="xeora",t.aliases=["xeoracube"]},13808:function(e){"use strict";function t(e){!function(e){function t(t,n){e.languages[t]&&e.languages.insertBefore(t,"comment",{"doc-comment":n})}var n=e.languages.markup.tag,r={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:n}};t("csharp",r),t("fsharp",r),t("vbnet",{pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:n}})}(e)}e.exports=t,t.displayName="xmlDoc",t.aliases=[]},21301:function(e){"use strict";function t(e){e.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}e.exports=t,t.displayName="xojo",t.aliases=[]},20349:function(e){"use strict";function t(e){!function(e){e.languages.xquery=e.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),e.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,e.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,e.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,e.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:e.languages.xquery,alias:"language-xquery"};var t=function(e){return"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(t).join("")},n=function(r){for(var a=[],i=0;i0&&a[a.length-1].tagName===t(o.content[0].content[1])&&a.pop():"/>"===o.content[o.content.length-1].content||a.push({tagName:t(o.content[0].content[1]),openedBraces:0}):!(a.length>0)||"punctuation"!==o.type||"{"!==o.content||r[i+1]&&"punctuation"===r[i+1].type&&"{"===r[i+1].content||r[i-1]&&"plain-text"===r[i-1].type&&"{"===r[i-1].content?a.length>0&&a[a.length-1].openedBraces>0&&"punctuation"===o.type&&"}"===o.content?a[a.length-1].openedBraces--:"comment"!==o.type&&(s=!0):a[a.length-1].openedBraces++),(s||"string"==typeof o)&&a.length>0&&0===a[a.length-1].openedBraces){var l=t(o);i0&&("string"==typeof r[i-1]||"plain-text"===r[i-1].type)&&(l=t(r[i-1])+l,r.splice(i-1,1),i--),/^\s+$/.test(l)?r[i]=l:r[i]=new e.Token("plain-text",l,null,l)}o.content&&"string"!=typeof o.content&&n(o.content)}};e.hooks.add("after-tokenize",function(e){"xquery"===e.language&&n(e.tokens)})}(e)}e.exports=t,t.displayName="xquery",t.aliases=[]},65039:function(e){"use strict";function t(e){!function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+n.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),i=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function o(e,t){return t=(t||"").replace(/m/g,"")+"m",RegExp(/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return r}).replace(/<>/g,function(){return e}),t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return r})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return r}).replace(/<>/g,function(){return"(?:"+a+"|"+i+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:o(/\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:o(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:o(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:o(i),lookbehind:!0,greedy:!0},number:{pattern:o(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(e)}e.exports=t,t.displayName="yaml",t.aliases=["yml"]},96319:function(e){"use strict";function t(e){e.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}e.exports=t,t.displayName="yang",t.aliases=[]},31501:function(e){"use strict";function t(e){!function(e){function t(e){return function(){return e}}var n=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,r="\\b(?!"+n.source+")(?!\\d)\\w+\\b",a=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,i="(?!\\s)(?:!?\\s*(?:"+/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(//g,t(a))+"\\s*)*"+/(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace(//g,t(r))+")+";e.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)(?=\s*(?:\s*)?[=;,)])|(?=\s*(?:\s*)?\{)/.source.replace(//g,t(i)).replace(//g,t(a))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)(?=\s*(?:\s*)?;)/.source.replace(//g,t(i)).replace(//g,t(a))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:n,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},e.languages.zig["class-name"].forEach(function(t){null===t.inside&&(t.inside=e.languages.zig)})}(e)}e.exports=t,t.displayName="zig",t.aliases=[]},59216:function(e,t,n){/** + `}};var SX=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let SQ=(e="circle")=>SK[e]||SK.circle,SJ=(e,t)=>{if(!t)return;let{coordinate:n}=t,{liquidOptions:r,styleOptions:a}=e,{liquidShape:i,percent:o}=r,{background:s,outline:l={},wave:c={}}=a,u=SX(a,["background","outline","wave"]),{border:d=2,distance:p=0}=l,f=SX(l,["border","distance"]),{length:h=192,count:m=3}=c;return(e,r,a)=>{let{document:l}=t.canvas,{color:c,fillOpacity:g}=a,b=Object.assign(Object.assign({fill:c},a),u),y=l.createElement("g",{}),[E,v]=n.getCenter(),T=n.getSize(),S=Math.min(...T)/2,A=ox(i)?i:SQ(i),O=A(E,v,S,...T);if(Object.keys(s).length){let e=l.createElement("path",{style:Object.assign({d:O,fill:"#fff"},s)});y.appendChild(e)}if(o>0){let e=l.createElement("path",{style:{d:O}});y.appendChild(e),y.style.clipPath=e,function(e,t,n,r,a,i,o,s,l,c,u){let{fill:d,fillOpacity:p,opacity:f}=a;for(let a=0;a0;)c-=2*Math.PI;c=c/Math.PI/2*n;let u=i-e+c-2*e;l.push(["M",u,t]);let d=0;for(let e=0;et.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};let S1={axis:{x:!1,y:!1},legend:!1,tooltip:!1,encode:{x:"type",y:"percent"},scale:{y:{domain:[0,1]}},style:{shape:SJ},animate:{enter:{type:"fadeIn"}}},S2={type:"text",style:{x:"50%",y:"50%",textAlign:"center",textBaseline:"middle",fontSize:20,fontWeight:800,fill:"#888"},animate:{enter:{type:"fadeIn"}}},S3=e=>{let{data:t={},style:n={},animate:r}=e,a=S0(e,["data","style","animate"]),i=Math.max(0,oQ(t)?t:null==t?void 0:t.percent),o=[{percent:i,type:"liquid"}],s=Object.assign(Object.assign({},iN(n,"text")),iN(n,"content")),l=iN(n,"outline"),c=iN(n,"wave"),u=iN(n,"background");return[iT({},S1,Object.assign({type:"interval",data:o,style:{liquidOptions:{percent:i,liquidShape:null==n?void 0:n.shape},styleOptions:Object.assign(Object.assign({},n),{outline:l,wave:c,background:u})},animate:r},a)),iT({},S2,{style:Object.assign({text:`${i3(100*i)} %`},s),animate:r})]};S3.props={};var S5=n(69916);function S4(e,t){let n=function(e){let t=[];for(let n=0;nt[n].radius+1e-10)return!1;return!0}(t,e)}),a=0,i=0,o,s=[];if(r.length>1){let t=function(e){let t={x:0,y:0};for(let n=0;n-1){let a=e[t.parentIndex[r]],i=Math.atan2(t.x-a.x,t.y-a.y),o=Math.atan2(n.x-a.x,n.y-a.y),s=o-i;s<0&&(s+=2*Math.PI);let u=o-s/2,d=S9(l,{x:a.x+a.radius*Math.sin(u),y:a.y+a.radius*Math.cos(u)});d>2*a.radius&&(d=2*a.radius),(null===c||c.width>d)&&(c={circle:a,width:d,p1:t,p2:n})}null!==c&&(s.push(c),a+=S6(c.circle.radius,c.width),n=t)}}else{let t=e[0];for(o=1;oMath.abs(t.radius-e[o].radius)){n=!0;break}n?a=i=0:(a=t.radius*t.radius*Math.PI,s.push({circle:t,p1:{x:t.x,y:t.y+t.radius},p2:{x:t.x-1e-10,y:t.y+t.radius},width:2*t.radius}))}return i/=2,t&&(t.area=a+i,t.arcArea=a,t.polygonArea=i,t.arcs=s,t.innerPoints=r,t.intersectionPoints=n),a+i}function S6(e,t){return e*e*Math.acos(1-t/e)-(e-t)*Math.sqrt(t*(2*e-t))}function S9(e,t){return Math.sqrt((e.x-t.x)*(e.x-t.x)+(e.y-t.y)*(e.y-t.y))}function S8(e,t,n){if(n>=e+t)return 0;if(n<=Math.abs(e-t))return Math.PI*Math.min(e,t)*Math.min(e,t);let r=e-(n*n-t*t+e*e)/(2*n),a=t-(n*n-e*e+t*t)/(2*n);return S6(e,r)+S6(t,a)}function S7(e,t){let n=S9(e,t),r=e.radius,a=t.radius;if(n>=r+a||n<=Math.abs(r-a))return[];let i=(r*r-a*a+n*n)/(2*n),o=Math.sqrt(r*r-i*i),s=e.x+i*(t.x-e.x)/n,l=e.y+i*(t.y-e.y)/n,c=-(t.y-e.y)*(o/n),u=-(t.x-e.x)*(o/n);return[{x:s+c,y:l-u},{x:s-c,y:l+u}]}function Ae(e,t,n){return Math.min(e,t)*Math.min(e,t)*Math.PI<=n+1e-10?Math.abs(e-t):(0,S5.bisect)(function(r){return S8(e,t,r)-n},0,e+t)}function At(e,t){let n=function(e,t){let n;let r=t&&t.lossFunction?t.lossFunction:An,a={},i={};for(let t=0;t=Math.min(a[o].size,a[s].size)&&(r=0),i[o].push({set:s,size:n.size,weight:r}),i[s].push({set:o,size:n.size,weight:r})}let o=[];for(n in i)if(i.hasOwnProperty(n)){let e=0;for(let t=0;t=8){let a=function(e,t){let n,r,a;t=t||{};let i=t.restarts||10,o=[],s={};for(n=0;n=Math.min(t[i].size,t[o].size)?u=1:e.size<=1e-10&&(u=-1),a[i][o]=a[o][i]=u}),{distances:r,constraints:a}}(e,o,s),c=l.distances,u=l.constraints,d=(0,S5.norm2)(c.map(S5.norm2))/c.length;c=c.map(function(e){return e.map(function(e){return e/d})});let p=function(e,t){return function(e,t,n,r){let a=0,i;for(i=0;i0&&h<=d||p<0&&h>=d||(a+=2*m*m,t[2*i]+=4*m*(o-c),t[2*i+1]+=4*m*(s-u),t[2*l]+=4*m*(c-o),t[2*l+1]+=4*m*(u-s))}}return a}(e,t,c,u)};for(n=0;n{let{sets:t="sets",size:n="size",as:r=["key","path"],padding:a=0}=e,[i,o]=r;return e=>{let r;let s=e.map(e=>Object.assign(Object.assign({},e),{sets:e[t],size:e[n],[i]:e.sets.join("&")}));s.sort((e,t)=>e.sets.length-t.sets.length);let l=function(e,t){let n;(t=t||{}).maxIterations=t.maxIterations||500;let r=t.initialLayout||At,a=t.lossFunction||An;e=function(e){let t,n,r,a;e=e.slice();let i=[],o={};for(t=0;te>t?1:-1),t=0;t{let n=e[t];return Object.assign(Object.assign({},e),{[o]:({width:e,height:t})=>{r=r||function(e,t,n,r){let a=[],i=[];for(let t in e)e.hasOwnProperty(t)&&(i.push(t),a.push(e[t]));t-=2*r,n-=2*r;let o=function(e){let t=function(t){let n=Math.max.apply(null,e.map(function(e){return e[t]+e.radius})),r=Math.min.apply(null,e.map(function(e){return e[t]-e.radius}));return{max:n,min:r}};return{xRange:t("x"),yRange:t("y")}}(a),s=o.xRange,l=o.yRange;if(s.max==s.min||l.max==l.min)return console.log("not scaling solution: zero size detected"),e;let c=t/(s.max-s.min),u=n/(l.max-l.min),d=Math.min(u,c),p=(t-(s.max-s.min)*d)/2,f=(n-(l.max-l.min)*d)/2,h={};for(let e=0;er[e]),o=function(e){let t={};S4(e,t);let n=t.arcs;if(0===n.length)return"M 0 0";if(1==n.length){let e=n[0].circle;return function(e,t,n){let r=[],a=e-n;return r.push("M",a,t),r.push("A",n,n,0,1,0,a+2*n,t),r.push("A",n,n,0,1,0,a,t),r.join(" ")}(e.x,e.y,e.radius)}{let e=["\nM",n[0].p2.x,n[0].p2.y];for(let t=0;ta;e.push("\nA",a,a,0,i?1:0,1,r.p1.x,r.p1.y)}return e.join(" ")}}(i);return/[zZ]$/.test(o)||(o+=" Z"),o}})})}};Ar.props={};var Aa=function(){return(Aa=Object.assign||function(e){for(var t,n=1,r=arguments.length;n{this.forceFit()},300),this._renderer=r||new ip,this._plugins=a||[],this._container=function(e){if(void 0===e){let e=document.createElement("div");return e[d1]=!0,e}if("string"==typeof e){let t=document.getElementById(e);return t}return e}(t),this._emitter=new nR.Z,this._context={library:Object.assign(Object.assign({},i),r6),emitter:this._emitter,canvas:n,createCanvas:o},this._create()}render(){if(this._rendering)return this._addToTrailing();this._context.canvas||this._createCanvas(),this._bindAutoFit(),this._rendering=!0;let e=new Promise((e,t)=>(function(e,t={},n=()=>{},r=e=>{throw e}){var a;let{width:i=640,height:o=480,depth:s=0}=e,l=function e(t){let n=(function(...e){return t=>e.reduce((e,t)=>t(e),t)})(dY)(t);return n.children&&Array.isArray(n.children)&&(n.children=n.children.map(t=>e(t))),n}(e),c=function(e){let t=iT({},e),n=new Map([[t,null]]),r=new Map([[null,-1]]),a=[t];for(;a.length;){let e=a.shift();if(void 0===e.key){let t=n.get(e),a=r.get(e),i=null===t?"0":`${t.key}-${a}`;e.key=i}let{children:t=[]}=e;if(Array.isArray(t))for(let i=0;i(function e(t,n,r){var a;return dC(this,void 0,void 0,function*(){let{library:i}=r,[o]=uO("composition",i),[s]=uO("interaction",i),l=new Set(Object.keys(i).map(e=>{var t;return null===(t=/mark\.(.*)/.exec(e))||void 0===t?void 0:t[1]}).filter(iR)),c=new Set(Object.keys(i).map(e=>{var t;return null===(t=/component\.(.*)/.exec(e))||void 0===t?void 0:t[1]}).filter(iR)),u=e=>{let{type:t}=e;if("function"==typeof t){let{props:e={}}=t,{composite:n=!0}=e;if(n)return"mark"}return"string"!=typeof t?t:l.has(t)||c.has(t)?"mark":t},d=e=>"mark"===u(e),p=e=>"standardView"===u(e),f=e=>{let{type:t}=e;return"string"==typeof t&&!!c.has(t)},h=e=>{if(p(e))return[e];let t=u(e),n=o({type:t,static:f(e)});return n(e)},m=[],g=new Map,b=new Map,y=[t],E=[];for(;y.length;){let e=y.shift();if(p(e)){let t=b.get(e),[n,a]=t?dD(t,e,i):yield dR(e,r);g.set(n,e),m.push(n);let o=a.flatMap(h).map(e=>ux(e,i));if(y.push(...o),o.every(p)){let e=yield Promise.all(o.map(e=>dN(e,r)));!function(e){let t=e.flatMap(e=>Array.from(e.values())).flatMap(e=>e.channels.map(e=>e.scale));uF(t,"x"),uF(t,"y")}(e);for(let t=0;te.key).join(e=>e.append("g").attr("className",cG).attr("id",e=>e.key).call(dI).each(function(e,t,n){dP(e,iB(n),S,r),v.set(e,n)}),e=>e.call(dI).each(function(e,t,n){dP(e,iB(n),S,r),T.set(e,n)}),e=>e.each(function(e,t,n){let r=n.nameInteraction.values();for(let e of r)e.destroy()}).remove());let A=(t,n,a)=>Array.from(t.entries()).map(([i,o])=>{let s=a||new Map,l=g.get(i),c=function(t,n,r){let{library:a}=r,i=function(e){let[,t]=uO("interaction",e);return e=>{let[n,r]=e;try{return[n,t(n)]}catch(e){return[n,r.type]}}}(a),o=dG(n),s=o.map(i).filter(e=>e[1]&&e[1].props&&e[1].props.reapplyWhenUpdate).map(e=>e[0]);return(n,a,i)=>dC(this,void 0,void 0,function*(){let[o,l]=yield dR(n,r);for(let e of(dP(o,t,[],r),s.filter(e=>e!==a)))!function(e,t,n,r,a){var i;let{library:o}=a,[s]=uO("interaction",o),l=t.node(),c=l.nameInteraction,u=dG(n).find(([t])=>t===e),d=c.get(e);if(!d||(null===(i=d.destroy)||void 0===i||i.call(d),!u[1]))return;let p=dL(r,e,u[1],s),f={options:n,view:r,container:t.node(),update:e=>Promise.resolve(e)},h=p(f,[],a.emitter);c.set(e,{destroy:h})}(e,t,n,o,r);for(let n of l)e(n,t,r);return i(),{options:n,view:o}})}(iB(o),l,r);return{view:i,container:o,options:l,setState:(e,t=e=>e)=>s.set(e,t),update:(e,r)=>dC(this,void 0,void 0,function*(){let a=ix(Array.from(s.values())),i=a(l);return yield c(i,e,()=>{ib(r)&&n(t,r,s)})})}}),O=(e=T,t,n)=>{var a;let i=A(e,O,n);for(let e of i){let{options:n,container:o}=e,l=o.nameInteraction,c=dG(n);for(let n of(t&&(c=c.filter(e=>t.includes(e[0]))),c)){let[t,o]=n,c=l.get(t);if(c&&(null===(a=c.destroy)||void 0===a||a.call(c)),o){let n=dL(e.view,t,o,s),a=n(e,i,r.emitter);l.set(t,{destroy:a})}}}},_=A(v,O);for(let e of _){let{options:t}=e,n=new Map;for(let a of(e.container.nameInteraction=n,dG(t))){let[t,i]=a;if(i){let a=dL(e.view,t,i,s),o=a(e,_,r.emitter);n.set(t,{destroy:o})}}}O();let{width:k,height:x}=t,C=[];for(let t of E){let a=new Promise(a=>dC(this,void 0,void 0,function*(){for(let a of t){let t=Object.assign({width:k,height:x},a);yield e(t,n,r)}a()}));C.push(a)}r.views=m,null===(a=r.animations)||void 0===a||a.forEach(e=>null==e?void 0:e.cancel()),r.animations=S,r.emitter.emit(iU.AFTER_PAINT);let w=S.filter(iR).map(dj).map(e=>e.finished);return Promise.all([...w,...C])})})(Object.assign(Object.assign({},c),{width:i,height:o,depth:s}),m,t)).then(()=>{if(s){let[e,t]=u.document.documentElement.getPosition();u.document.documentElement.setPosition(e,t,-s/2)}u.requestAnimationFrame(()=>{u.requestAnimationFrame(()=>{d.emit(iU.AFTER_RENDER),null==n||n()})})}).catch(e=>{null==r||r(e)}),"string"==typeof(a=u.getConfig().container)?document.getElementById(a):a})(this._computedOptions(),this._context,this._createResolve(e),this._createReject(t))),[t,n,r]=function(){let e,t;let n=new Promise((n,r)=>{t=n,e=r});return[n,t,e]}();return e.then(n).catch(r).then(()=>this._renderTrailing()),t}options(e){if(0==arguments.length)return function(e){let t=function(e){if(null!==e.type)return e;let t=e.children[e.children.length-1];for(let n of d0)t.attr(n,e.attr(n));return t}(e),n=[t],r=new Map;for(r.set(t,d3(t));n.length;){let e=n.pop(),t=r.get(e),{children:a=[]}=e;for(let e of a)if(e.type===d2)t.children=e.value;else{let a=d3(e),{children:i=[]}=t;i.push(a),n.push(e),r.set(e,a),t.children=i}}return r.get(t)}(this);let{type:t}=e;return t&&(this._previousDefinedType=t),function(e,t,n,r,a){let i=function(e,t,n,r,a){let{type:i}=e,{type:o=n||i}=t;if("function"!=typeof o&&new Set(Object.keys(a)).has(o)){for(let n of d0)void 0!==e.attr(n)&&void 0===t[n]&&(t[n]=e.attr(n));return t}if("function"==typeof o||new Set(Object.keys(r)).has(o)){let e={type:"view"},n=Object.assign({},t);for(let t of d0)void 0!==n[t]&&(e[t]=n[t],delete n[t]);return Object.assign(Object.assign({},e),{children:[n]})}return t}(e,t,n,r,a),o=[[null,e,i]];for(;o.length;){let[e,t,n]=o.shift();if(t){if(n){!function(e,t){let{type:n,children:r}=t,a=dJ(t,["type","children"]);e.type===n||void 0===n?function e(t,n,r=5,a=0){if(!(a>=r)){for(let i of Object.keys(n)){let o=n[i];iv(o)&&iv(t[i])?e(t[i],o,r,a+1):t[i]=o}return t}}(e.value,a):"string"==typeof n&&(e.type=n,e.value=a)}(t,n);let{children:e}=n,{children:r}=t;if(Array.isArray(e)&&Array.isArray(r)){let n=Math.max(e.length,r.length);for(let a=0;a{this.emit(iU.AFTER_CHANGE_SIZE)}),n}changeSize(e,t){if(e===this._width&&t===this._height)return Promise.resolve(this);this.emit(iU.BEFORE_CHANGE_SIZE),this.attr("width",e),this.attr("height",t);let n=this.render();return n.then(()=>{this.emit(iU.AFTER_CHANGE_SIZE)}),n}_create(){let{library:e}=this._context,t=["mark.mark",...Object.keys(e).filter(e=>e.startsWith("mark.")||"component.axisX"===e||"component.axisY"===e||"component.legends"===e)];for(let e of(this._marks={},t)){let t=e.split(".").pop();class n extends pt{constructor(){super({},t)}}this._marks[t]=n,this[t]=function(e){let r=this.append(n);return"mark"===t&&(r.type=e),r}}let n=["composition.view",...Object.keys(e).filter(e=>e.startsWith("composition.")&&"composition.mark"!==e)];for(let e of(this._compositions=Object.fromEntries(n.map(e=>{let t=e.split(".").pop(),n=class extends pe{constructor(){super({},t)}};return n=pn([d4(d6(this._marks))],n),[t,n]})),Object.values(this._compositions)))d4(d6(this._compositions))(e);for(let e of n){let t=e.split(".").pop();this[t]=function(){let e=this._compositions[t];return this.type=null,this.append(e)}}}_reset(){let e=["theme","type","width","height","autoFit"];this.type="view",this.value=Object.fromEntries(Object.entries(this.value).filter(([t])=>t.startsWith("margin")||t.startsWith("padding")||t.startsWith("inset")||e.includes(t))),this.children=[]}_renderTrailing(){this._trailing&&(this._trailing=!1,this.render().then(()=>{let e=this._trailingResolve.bind(this);this._trailingResolve=null,e(this)}).catch(e=>{let t=this._trailingReject.bind(this);this._trailingReject=null,t(e)}))}_createResolve(e){return()=>{this._rendering=!1,e(this)}}_createReject(e){return t=>{this._rendering=!1,e(t)}}_computedOptions(){let e=this.options(),{key:t="G2_CHART_KEY"}=e,{width:n,height:r,depth:a}=d5(e,this._container);return this._width=n,this._height=r,this._key=t,Object.assign(Object.assign({key:this._key},e),{width:n,height:r,depth:a})}_createCanvas(){let{width:e,height:t}=d5(this.options(),this._container);this._plugins.push(new im),this._plugins.forEach(e=>this._renderer.registerPlugin(e)),this._context.canvas=new nN.Xz({container:this._container,width:e,height:t,renderer:this._renderer})}_addToTrailing(){var e;null===(e=this._trailingResolve)||void 0===e||e.call(this,this),this._trailing=!0;let t=new Promise((e,t)=>{this._trailingResolve=e,this._trailingReject=t});return t}_bindAutoFit(){let e=this.options(),{autoFit:t}=e;if(this._hasBindAutoFit){t||this._unbindAutoFit();return}t&&(this._hasBindAutoFit=!0,window.addEventListener("resize",this._onResize))}_unbindAutoFit(){this._hasBindAutoFit&&(this._hasBindAutoFit=!1,window.removeEventListener("resize",this._onResize))}},d=Aa(Aa({},Object.assign(Object.assign(Object.assign(Object.assign({},{"composition.geoView":TA,"composition.geoPath":T_}),{"data.arc":Sy,"data.cluster":TG,"mark.forceGraph":TF,"mark.tree":TV,"mark.pack":T1,"mark.sankey":Sp,"mark.chord":SO,"mark.treemap":SR}),{"data.venn":Ar,"mark.boxplot":SH,"mark.gauge":Sq,"mark.wordCloud":mZ,"mark.liquid":S3}),{"data.fetch":vS,"data.inline":vA,"data.sortBy":vO,"data.sort":v_,"data.filter":vx,"data.pick":vC,"data.rename":vw,"data.fold":vI,"data.slice":vR,"data.custom":vN,"data.map":vL,"data.join":vP,"data.kde":vB,"data.log":vj,"data.wordCloud":v2,"data.ema":v3,"transform.stackY":Ex,"transform.binX":EZ,"transform.bin":Ez,"transform.dodgeX":EV,"transform.jitter":Eq,"transform.jitterX":EK,"transform.jitterY":EX,"transform.symmetryY":EJ,"transform.diffY":E0,"transform.stackEnter":E1,"transform.normalizeY":E5,"transform.select":E7,"transform.selectX":vt,"transform.selectY":vr,"transform.groupX":vo,"transform.groupY":vs,"transform.groupColor":vl,"transform.group":vi,"transform.sortX":vp,"transform.sortY":vf,"transform.sortColor":vh,"transform.flexX":vm,"transform.pack":vg,"transform.sample":vy,"transform.filter":vE,"coordinate.cartesian":pI,"coordinate.polar":iJ,"coordinate.transpose":pR,"coordinate.theta":pL,"coordinate.parallel":pD,"coordinate.fisheye":pP,"coordinate.radial":i1,"coordinate.radar":pM,"coordinate.helix":pF,"encode.constant":pB,"encode.field":pj,"encode.transform":pU,"encode.column":pG,"mark.interval":fm,"mark.rect":fb,"mark.line":fj,"mark.point":hi,"mark.text":hm,"mark.cell":hy,"mark.area":hR,"mark.link":hz,"mark.image":hY,"mark.polygon":h0,"mark.box":h6,"mark.vector":h8,"mark.lineX":mr,"mark.lineY":mo,"mark.connector":md,"mark.range":mm,"mark.rangeX":my,"mark.rangeY":mT,"mark.path":mx,"mark.shape":mR,"mark.density":mP,"mark.heatmap":mH,"mark.wordCloud":mZ,"palette.category10":mW,"palette.category20":mV,"scale.linear":mY,"scale.ordinal":mK,"scale.band":mQ,"scale.identity":m0,"scale.point":m2,"scale.time":m5,"scale.log":m6,"scale.pow":m8,"scale.sqrt":ge,"scale.threshold":gt,"scale.quantile":gn,"scale.quantize":gr,"scale.sequential":gi,"scale.constant":go,"theme.classic":gu,"theme.classicDark":gf,"theme.academy":gm,"theme.light":gc,"theme.dark":gp,"component.axisX":gg,"component.axisY":gb,"component.legendCategory":gI,"component.legendContinuous":lz,"component.legends":gR,"component.title":gP,"component.sliderX":gQ,"component.sliderY":gJ,"component.scrollbarX":g3,"component.scrollbarY":g5,"animation.scaleInX":g4,"animation.scaleOutX":(e,t)=>{let{coordinate:n}=t;return(t,r,a)=>{let[i]=t,{transform:o="",fillOpacity:s=1,strokeOpacity:l=1,opacity:c=1}=i.style,[u,d]=i6(n)?["left bottom","scale(1, 0.0001)"]:["left top","scale(0.0001, 1)"],p=[{transform:`${o} scale(1, 1)`.trimStart(),transformOrigin:u},{transform:`${o} ${d}`.trimStart(),transformOrigin:u,fillOpacity:s,strokeOpacity:l,opacity:c,offset:.99},{transform:`${o} ${d}`.trimStart(),transformOrigin:u,fillOpacity:0,strokeOpacity:0,opacity:0}],f=i.animate(p,Object.assign(Object.assign({},a),e));return f}},"animation.scaleInY":g6,"animation.scaleOutY":(e,t)=>{let{coordinate:n}=t;return(t,r,a)=>{let[i]=t,{transform:o="",fillOpacity:s=1,strokeOpacity:l=1,opacity:c=1}=i.style,[u,d]=i6(n)?["left top","scale(0.0001, 1)"]:["left bottom","scale(1, 0.0001)"],p=[{transform:`${o} scale(1, 1)`.trimStart(),transformOrigin:u},{transform:`${o} ${d}`.trimStart(),transformOrigin:u,fillOpacity:s,strokeOpacity:l,opacity:c,offset:.99},{transform:`${o} ${d}`.trimStart(),transformOrigin:u,fillOpacity:0,strokeOpacity:0,opacity:0}],f=i.animate(p,Object.assign(Object.assign({},a),e));return f}},"animation.waveIn":g9,"animation.fadeIn":g8,"animation.fadeOut":g7,"animation.zoomIn":e=>(t,n,r)=>{let[a]=t,{transform:i="",fillOpacity:o=1,strokeOpacity:s=1,opacity:l=1}=a.style,c="center center",u=[{transform:`${i} scale(0.0001)`.trimStart(),transformOrigin:c,fillOpacity:0,strokeOpacity:0,opacity:0},{transform:`${i} scale(0.0001)`.trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:s,opacity:l,offset:.01},{transform:`${i} scale(1)`.trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:s,opacity:l}],d=a.animate(u,Object.assign(Object.assign({},r),e));return d},"animation.zoomOut":e=>(t,n,r)=>{let[a]=t,{transform:i="",fillOpacity:o=1,strokeOpacity:s=1,opacity:l=1}=a.style,c="center center",u=[{transform:`${i} scale(1)`.trimStart(),transformOrigin:c},{transform:`${i} scale(0.0001)`.trimStart(),transformOrigin:c,fillOpacity:o,strokeOpacity:s,opacity:l,offset:.99},{transform:`${i} scale(0.0001)`.trimStart(),transformOrigin:c,fillOpacity:0,strokeOpacity:0,opacity:0}],d=a.animate(u,Object.assign(Object.assign({},r),e));return d},"animation.pathIn":be,"animation.morphing":bp,"animation.growInX":bf,"animation.growInY":bh,"interaction.elementHighlight":bg,"interaction.elementHighlightByX":bb,"interaction.elementHighlightByColor":by,"interaction.elementSelect":bv,"interaction.elementSelectByX":bT,"interaction.elementSelectByColor":bS,"interaction.fisheye":function({wait:e=30,leading:t,trailing:n=!1}){return r=>{let{options:a,update:i,setState:o,container:s}=r,l=ue(s),c=bA(e=>{let t=un(l,e);if(!t){o("fisheye"),i();return}o("fisheye",e=>{let n=iT({},e,{interaction:{tooltip:{preserve:!0}}});for(let e of n.marks)e.animate=!1;let[r,a]=t,i=function(e){let{coordinate:t={}}=e,{transform:n=[]}=t,r=n.find(e=>"fisheye"===e.type);if(r)return r;let a={type:"fisheye"};return n.push(a),t.transform=n,e.coordinate=t,a}(n);return i.focusX=r,i.focusY=a,i.visual=!0,n}),i()},e,{leading:t,trailing:n});return l.addEventListener("pointerenter",c),l.addEventListener("pointermove",c),l.addEventListener("pointerleave",c),()=>{l.removeEventListener("pointerenter",c),l.removeEventListener("pointermove",c),l.removeEventListener("pointerleave",c)}}},"interaction.chartIndex":bk,"interaction.tooltip":bK,"interaction.legendFilter":function(){return(e,t,n)=>{let{container:r}=e,a=t.filter(t=>t!==e),i=a.length>0,o=e=>b5(e).scales.map(e=>e.name),s=[...b2(r),...b3(r)],l=s.flatMap(o),c=i?bA(b6,50,{trailing:!0}):bA(b4,50,{trailing:!0}),u=s.map(t=>{let{name:s,domain:u}=b5(t).scales[0],d=o(t),p={legend:t,channel:s,channels:d,allChannels:l};return t.className===bQ?function(e,{legends:t,marker:n,label:r,datum:a,filter:i,emitter:o,channel:s,state:l={}}){let c=new Map,u=new Map,d=new Map,{unselected:p={markerStroke:"#aaa",markerFill:"#aaa",labelFill:"#aaa"}}=l,f={unselected:iN(p,"marker")},h={unselected:iN(p,"label")},{setState:m,removeState:g}=us(f,void 0),{setState:b,removeState:y}=us(h,void 0),E=Array.from(t(e)),v=E.map(a),T=()=>{for(let e of E){let t=a(e),i=n(e),o=r(e);v.includes(t)?(g(i,"unselected"),y(o,"unselected")):(m(i,"unselected"),b(o,"unselected"))}};for(let t of E){let n=()=>{uh(e,"pointer")},r=()=>{uh(e,e.cursor)},l=e=>bX(this,void 0,void 0,function*(){let n=a(t),r=v.indexOf(n);-1===r?v.push(n):v.splice(r,1),yield i(v),T();let{nativeEvent:l=!0}=e;l&&(v.length===E.length?o.emit("legend:reset",{nativeEvent:l}):o.emit("legend:filter",Object.assign(Object.assign({},e),{nativeEvent:l,data:{channel:s,values:v}})))});t.addEventListener("click",l),t.addEventListener("pointerenter",n),t.addEventListener("pointerout",r),c.set(t,l),u.set(t,n),d.set(t,r)}let S=e=>bX(this,void 0,void 0,function*(){let{nativeEvent:t}=e;if(t)return;let{data:n}=e,{channel:r,values:a}=n;r===s&&(v=a,yield i(v),T())}),A=e=>bX(this,void 0,void 0,function*(){let{nativeEvent:t}=e;t||(v=E.map(a),yield i(v),T())});return o.on("legend:filter",S),o.on("legend:reset",A),()=>{for(let e of E)e.removeEventListener("click",c.get(e)),e.removeEventListener("pointerenter",u.get(e)),e.removeEventListener("pointerout",d.get(e)),o.off("legend:filter",S),o.off("legend:reset",A)}}(r,{legends:b1,marker:bJ,label:b0,datum:e=>{let{__data__:t}=e,{index:n}=t;return u[n]},filter:t=>{let n=Object.assign(Object.assign({},p),{value:t,ordinal:!0});i?c(a,n):c(e,n)},state:t.attributes.state,channel:s,emitter:n}):function(e,{legend:t,filter:n,emitter:r,channel:a}){let i=({detail:{value:e}})=>{n(e),r.emit({nativeEvent:!0,data:{channel:a,values:e}})};return t.addEventListener("valuechange",i),()=>{t.removeEventListener("valuechange",i)}}(0,{legend:t,filter:t=>{let n=Object.assign(Object.assign({},p),{value:t,ordinal:!1});i?c(a,n):c(e,n)},emitter:n,channel:s})});return()=>{u.forEach(e=>e())}}},"interaction.legendHighlight":function(){return(e,t,n)=>{let{container:r,view:a,options:i}=e,o=b2(r),s=c9(r),l=e=>b5(e).scales[0].name,c=e=>{let{scale:{[e]:t}}=a;return t},u=uc(i,["active","inactive"]),d=uu(s,uo(a)),p=[];for(let e of o){let t=t=>{let{data:n}=e.attributes,{__data__:r}=t,{index:a}=r;return n[a].label},r=l(e),a=b1(e),i=c(r),o=(0,iS.ZP)(s,e=>i.invert(e.__data__[r])),{state:f={}}=e.attributes,{inactive:h={}}=f,{setState:m,removeState:g}=us(u,d),b={inactive:iN(h,"marker")},y={inactive:iN(h,"label")},{setState:E,removeState:v}=us(b),{setState:T,removeState:S}=us(y),A=e=>{for(let t of a){let n=bJ(t),r=b0(t);t===e||null===e?(v(n,"inactive"),S(r,"inactive")):(E(n,"inactive"),T(r,"inactive"))}},O=(e,a)=>{let i=t(a),l=new Set(o.get(i));for(let e of s)l.has(e)?m(e,"active"):m(e,"inactive");A(a);let{nativeEvent:c=!0}=e;c&&n.emit("legend:highlight",Object.assign(Object.assign({},e),{nativeEvent:c,data:{channel:r,value:i}}))},_=new Map;for(let e of a){let t=t=>{O(t,e)};e.addEventListener("pointerover",t),_.set(e,t)}let k=e=>{for(let e of s)g(e,"inactive","active");A(null);let{nativeEvent:t=!0}=e;t&&n.emit("legend:unhighlight",{nativeEvent:t})},x=e=>{let{nativeEvent:n,data:i}=e;if(n)return;let{channel:o,value:s}=i;if(o!==r)return;let l=a.find(e=>t(e)===s);l&&O({nativeEvent:!1},l)},C=e=>{let{nativeEvent:t}=e;t||k({nativeEvent:!1})};e.addEventListener("pointerleave",k),n.on("legend:highlight",x),n.on("legend:unhighlight",C);let w=()=>{for(let[t,r]of(e.removeEventListener(k),n.off("legend:highlight",x),n.off("legend:unhighlight",C),_))t.removeEventListener(r)};p.push(w)}return()=>p.forEach(e=>e())}},"interaction.brushHighlight":yr,"interaction.brushXHighlight":function(e){return yr(Object.assign(Object.assign({},e),{brushRegion:ya,selectedHandles:["handle-e","handle-w"]}))},"interaction.brushYHighlight":function(e){return yr(Object.assign(Object.assign({},e),{brushRegion:yi,selectedHandles:["handle-n","handle-s"]}))},"interaction.brushAxisHighlight":function(e){return(t,n,r)=>{let{container:a,view:i,options:o}=t,s=ue(a),{x:l,y:c}=s.getBBox(),{coordinate:u}=i;return function(e,t){var{axes:n,elements:r,points:a,horizontal:i,datum:o,offsetY:s,offsetX:l,reverse:c=!1,state:u={},emitter:d,coordinate:p}=t,f=yo(t,["axes","elements","points","horizontal","datum","offsetY","offsetX","reverse","state","emitter","coordinate"]);let h=r(e),m=n(e),g=uu(h,o),{setState:b,removeState:y}=us(u,g),E=new Map,v=iN(f,"mask"),T=e=>Array.from(E.values()).every(([t,n,r,a])=>e.some(([e,i])=>e>=t&&e<=r&&i>=n&&i<=a)),S=m.map(e=>e.attributes.scale),A=e=>e.length>2?[e[0],e[e.length-1]]:e,O=new Map,_=()=>{O.clear();for(let e=0;e{let n=[];for(let e of h){let t=a(e);T(t)?(b(e,"active"),n.push(e)):b(e,"inactive")}O.set(e,C(n,e)),t&&d.emit("brushAxis:highlight",{nativeEvent:!0,data:{selection:(()=>{if(!w)return Array.from(O.values());let e=[];for(let[t,n]of O){let r=S[t],{name:a}=r.getOptions();"x"===a?e[0]=n:e[1]=n}return e})()}})},x=e=>{for(let e of h)y(e,"active","inactive");_(),e&&d.emit("brushAxis:remove",{nativeEvent:!0})},C=(e,t)=>{let n=S[t],{name:r}=n.getOptions(),a=e.map(e=>{let t=e.__data__;return n.invert(t[r])});return A(cq(n,a))},w=m.some(i)&&m.some(e=>!i(e)),I=[];for(let e=0;e{let{nativeEvent:t}=e;t||I.forEach(e=>e.remove(!1))},N=(e,t,n)=>{let[r,a]=e,o=L(r,t,n),s=L(a,t,n)+(t.getStep?t.getStep():0);return i(n)?[o,-1/0,s,1/0]:[-1/0,o,1/0,s]},L=(e,t,n)=>{let{height:r,width:a}=p.getOptions(),o=t.clone();return i(n)?o.update({range:[0,a]}):o.update({range:[r,0]}),o.map(e)},D=e=>{let{nativeEvent:t}=e;if(t)return;let{selection:n}=e.data;for(let e=0;e{I.forEach(e=>e.destroy()),d.off("brushAxis:remove",R),d.off("brushAxis:highlight",D)}}(a,Object.assign({elements:c9,axes:yl,offsetY:c,offsetX:l,points:e=>e.__data__.points,horizontal:e=>{let{startPos:[t,n],endPos:[r,a]}=e.attributes;return t!==r&&n===a},datum:uo(i),state:uc(o,["active",["inactive",{opacity:.5}]]),coordinate:u,emitter:r},e))}},"interaction.brushFilter":yh,"interaction.brushXFilter":function(e){return yh(Object.assign(Object.assign({hideX:!0},e),{brushRegion:ya}))},"interaction.brushYFilter":function(e){return yh(Object.assign(Object.assign({hideY:!0},e),{brushRegion:yi}))},"interaction.sliderFilter":yb,"interaction.scrollbarFilter":function(e={}){return(t,n,r)=>{let{view:a,container:i}=t,o=i.getElementsByClassName(yy);if(!o.length)return()=>{};let{scale:s}=a,{x:l,y:c}=s,u={x:[...l.getOptions().domain],y:[...c.getOptions().domain]};l.update({domain:l.getOptions().expectedDomain}),c.update({domain:c.getOptions().expectedDomain});let d=yb(Object.assign(Object.assign({},e),{initDomain:u,className:yy,prefix:"scrollbar",hasState:!0,setValue:(e,t)=>e.setValue(t[0]),getInitValues:e=>{let t=e.slider.attributes.values;if(0!==t[0])return t}}));return d(t,n,r)}},"interaction.poptip":yS,"interaction.treemapDrillDown":function(e={}){let{originData:t=[],layout:n}=e,r=yF(e,["originData","layout"]),a=iT({},yB,r),i=iN(a,"breadCrumb"),o=iN(a,"active");return e=>{let{update:r,setState:a,container:s,options:l}=e,c=iB(s).select(`.${cH}`).node(),u=l.marks[0],{state:d}=u,p=new nN.ZA;c.appendChild(p);let f=(e,l)=>{var u,d,h,m;return u=this,d=void 0,h=void 0,m=function*(){if(p.removeChildren(),l){let t="",n=i.y,r=0,a=[],s=c.getBBox().width,l=e.map((o,l)=>{t=`${t}${o}/`,a.push(o);let c=new nN.xv({name:t.replace(/\/$/,""),style:Object.assign(Object.assign({text:o,x:r,path:[...a],depth:l},i),{y:n})});p.appendChild(c),r+=c.getBBox().width;let u=new nN.xv({style:Object.assign(Object.assign({x:r,text:" / "},i),{y:n})});return p.appendChild(u),(r+=u.getBBox().width)>s&&(n=p.getBBox().height+i.y,r=0,c.attr({x:r,y:n}),r+=c.getBBox().width,u.attr({x:r,y:n}),r+=u.getBBox().width),l===yA(e)-1&&u.remove(),c});l.forEach((e,t)=>{if(t===yA(l)-1)return;let n=Object.assign({},e.attributes);e.attr("cursor","pointer"),e.addEventListener("mouseenter",()=>{e.attr(o)}),e.addEventListener("mouseleave",()=>{e.attr(n)}),e.addEventListener("click",()=>{f(oX(e,["style","path"]),oX(e,["style","depth"]))})})}(function(e,t){let n=[...b2(e),...b3(e)];n.forEach(e=>{t(e,e=>e)})})(s,a),a("treemapDrillDown",r=>{let{marks:a}=r,i=e.join("/"),o=a.map(e=>{if("rect"!==e.type)return e;let r=t;if(l){let e=t.filter(e=>{let t=oX(e,["id"]);return t&&(t.match(`${i}/`)||i.match(t))}).map(e=>({value:0===e.height?oX(e,["value"]):void 0,name:oX(e,["id"])})),{paddingLeft:a,paddingBottom:o,paddingRight:s}=n,c=Object.assign(Object.assign({},n),{paddingTop:(n.paddingTop||p.getBBox().height+10)/(l+1),paddingLeft:a/(l+1),paddingBottom:o/(l+1),paddingRight:s/(l+1),path:e=>e.name,layer:e=>e.depth===l+1});r=yM(e,c,{value:"value"})[0]}else r=t.filter(e=>1===e.depth);let a=[];return r.forEach(({path:e})=>{a.push(gC(e))}),iT({},e,{data:r,scale:{color:{domain:a}}})});return Object.assign(Object.assign({},r),{marks:o})}),yield r(void 0,["legendFilter"])},new(h||(h=Promise))(function(e,t){function n(e){try{a(m.next(e))}catch(e){t(e)}}function r(e){try{a(m.throw(e))}catch(e){t(e)}}function a(t){var a;t.done?e(t.value):((a=t.value)instanceof h?a:new h(function(e){e(a)})).then(n,r)}a((m=m.apply(u,d||[])).next())})},h=e=>{let n=e.target;if("rect"!==oX(n,["markType"]))return;let r=oX(n,["__data__","key"]),a=yk(t,e=>e.id===r);oX(a,"height")&&f(oX(a,"path"),oX(a,"depth"))};c.addEventListener("click",h);let m=yO(Object.assign(Object.assign({},d.active),d.inactive)),g=()=>{let e=uy(c);e.forEach(e=>{let n=oX(e,["style","cursor"]),r=yk(t,t=>t.id===oX(e,["__data__","key"]));if("pointer"!==n&&(null==r?void 0:r.height)){e.style.cursor="pointer";let t=yC(e.attributes,m);e.addEventListener("mouseenter",()=>{e.attr(d.active)}),e.addEventListener("mouseleave",()=>{e.attr(iT(t,d.inactive))})}})};return g(),c.addEventListener("mousemove",g),()=>{p.remove(),c.removeEventListener("click",h),c.removeEventListener("mousemove",g)}}},"interaction.elementPointMove":function(e={}){let{selection:t=[],precision:n=2}=e,r=yU(e,["selection","precision"]),a=Object.assign(Object.assign({},yG),r||{}),i=iN(a,"path"),o=iN(a,"label"),s=iN(a,"point");return(e,r,a)=>{let l;let{update:c,setState:u,container:d,view:p,options:{marks:f,coordinate:h}}=e,m=ue(d),g=uy(m),b=t,{transform:y=[],type:E}=h,v=!!yk(y,({type:e})=>"transpose"===e),T="polar"===E,S="theta"===E,A=!!yk(g,({markType:e})=>"area"===e);A&&(g=g.filter(({markType:e})=>"area"===e));let O=new nN.ZA({style:{zIndex:2}});m.appendChild(O);let _=()=>{a.emit("element-point:select",{nativeEvent:!0,data:{selection:b}})},k=(e,t)=>{a.emit("element-point:moved",{nativeEvent:!0,data:{changeData:e,data:t}})},x=e=>{let t=e.target;b=[t.parentNode.childNodes.indexOf(t)],_(),w(t)},C=e=>{let{data:{selection:t},nativeEvent:n}=e;if(n)return;b=t;let r=oX(g,[null==b?void 0:b[0]]);r&&w(r)},w=e=>{let t;let{attributes:r,markType:a,__data__:h}=e,{stroke:m}=r,{points:g,seriesTitle:y,color:E,title:x,seriesX:C,y1:I}=h;if(v&&"interval"!==a)return;let{scale:R,coordinate:N}=(null==l?void 0:l.view)||p,{color:L,y:D,x:P}=R,M=N.getCenter();O.removeChildren();let F=(e,t,n,r)=>yj(this,void 0,void 0,function*(){return u("elementPointMove",a=>{var i;let o=((null===(i=null==l?void 0:l.options)||void 0===i?void 0:i.marks)||f).map(a=>{if(!r.includes(a.type))return a;let{data:i,encode:o}=a,s=Object.keys(o),l=s.reduce((r,a)=>{let i=o[a];return"x"===a&&(r[i]=e),"y"===a&&(r[i]=t),"color"===a&&(r[i]=n),r},{}),c=yZ(l,i,o);return k(l,c),iT({},a,{data:c,animate:!1})});return Object.assign(Object.assign({},a),{marks:o})}),yield c("elementPointMove")});if(["line","area"].includes(a))g.forEach((r,a)=>{let c=P.invert(C[a]);if(!c)return;let u=new nN.Cd({name:yH,style:Object.assign({cx:r[0],cy:r[1],fill:m},s)}),p=yV(e,a);u.addEventListener("mousedown",f=>{let h=N.output([C[a],0]),m=null==y?void 0:y.length;d.attr("cursor","move"),b[1]!==a&&(b[1]=a,_()),yY(O.childNodes,b,s);let[v,S]=yq(O,u,i,o),k=e=>{let i=r[1]+e.clientY-t[1];if(A){if(T){let o=r[0]+e.clientX-t[0],[s,l]=yX(M,h,[o,i]),[,c]=N.output([1,D.output(0)]),[,d]=N.invert([s,c-(g[a+m][1]-l)]),f=(a+1)%m,b=(a-1+m)%m,E=ub([g[b],[s,l],y[f]&&g[f]]);S.attr("text",p(D.invert(d)).toFixed(n)),v.attr("d",E),u.attr("cx",s),u.attr("cy",l)}else{let[,e]=N.output([1,D.output(0)]),[,t]=N.invert([r[0],e-(g[a+m][1]-i)]),o=ub([g[a-1],[r[0],i],y[a+1]&&g[a+1]]);S.attr("text",p(D.invert(t)).toFixed(n)),v.attr("d",o),u.attr("cy",i)}}else{let[,e]=N.invert([r[0],i]),t=ub([g[a-1],[r[0],i],g[a+1]]);S.attr("text",D.invert(e).toFixed(n)),v.attr("d",t),u.attr("cy",i)}};t=[f.clientX,f.clientY],window.addEventListener("mousemove",k);let x=()=>yj(this,void 0,void 0,function*(){if(d.attr("cursor","default"),window.removeEventListener("mousemove",k),d.removeEventListener("mouseup",x),ls(S.attr("text")))return;let t=Number(S.attr("text")),n=yK(L,E);l=yield F(c,t,n,["line","area"]),S.remove(),v.remove(),w(e)});d.addEventListener("mouseup",x)}),O.appendChild(u)}),yY(O.childNodes,b,s);else if("interval"===a){let r=[(g[0][0]+g[1][0])/2,g[0][1]];v?r=[g[0][0],(g[0][1]+g[1][1])/2]:S&&(r=g[0]);let c=yW(e),u=new nN.Cd({name:yH,style:Object.assign(Object.assign({cx:r[0],cy:r[1],fill:m},s),{stroke:s.activeStroke})});u.addEventListener("mousedown",s=>{d.attr("cursor","move");let p=yK(L,E),[f,h]=yq(O,u,i,o),m=e=>{if(v){let a=r[0]+e.clientX-t[0],[i]=N.output([D.output(0),D.output(0)]),[,o]=N.invert([i+(a-g[2][0]),r[1]]),s=ub([[a,g[0][1]],[a,g[1][1]],g[2],g[3]],!0);h.attr("text",c(D.invert(o)).toFixed(n)),f.attr("d",s),u.attr("cx",a)}else if(S){let a=r[1]+e.clientY-t[1],i=r[0]+e.clientX-t[0],[o,s]=yX(M,[i,a],r),[l,d]=yX(M,[i,a],g[1]),p=N.invert([o,s])[1],m=I-p;if(m<0)return;let b=function(e,t,n=0){let r=[["M",...t[1]]],a=ug(e,t[1]),i=ug(e,t[0]);return 0===a?r.push(["L",...t[3]],["A",i,i,0,n,1,...t[0]],["Z"]):r.push(["A",a,a,0,n,0,...t[2]],["L",...t[3]],["A",i,i,0,n,1,...t[0]],["Z"]),r}(M,[[o,s],[l,d],g[2],g[3]],m>.5?1:0);h.attr("text",c(m,!0).toFixed(n)),f.attr("d",b),u.attr("cx",o),u.attr("cy",s)}else{let a=r[1]+e.clientY-t[1],[,i]=N.output([1,D.output(0)]),[,o]=N.invert([r[0],i-(g[2][1]-a)]),s=ub([[g[0][0],a],[g[1][0],a],g[2],g[3]],!0);h.attr("text",c(D.invert(o)).toFixed(n)),f.attr("d",s),u.attr("cy",a)}};t=[s.clientX,s.clientY],window.addEventListener("mousemove",m);let b=()=>yj(this,void 0,void 0,function*(){if(d.attr("cursor","default"),d.removeEventListener("mouseup",b),window.removeEventListener("mousemove",m),ls(h.attr("text")))return;let t=Number(h.attr("text"));l=yield F(x,t,p,[a]),h.remove(),f.remove(),w(e)});d.addEventListener("mouseup",b)}),O.appendChild(u)}};g.forEach((e,t)=>{b[0]===t&&w(e),e.addEventListener("click",x),e.addEventListener("mouseenter",y$),e.addEventListener("mouseleave",yz)});let I=e=>{let t=null==e?void 0:e.target;t&&(t.name===yH||g.includes(t))||(b=[],_(),O.removeChildren())};return a.on("element-point:select",C),a.on("element-point:unselect",I),d.addEventListener("mousedown",I),()=>{O.remove(),a.off("element-point:select",C),a.off("element-point:unselect",I),d.removeEventListener("mousedown",I),g.forEach(e=>{e.removeEventListener("click",x),e.removeEventListener("mouseenter",y$),e.removeEventListener("mouseleave",yz)})}}},"composition.spaceLayer":yJ,"composition.spaceFlex":y1,"composition.facetRect":Eo,"composition.repeatMatrix":()=>e=>{let t=y2.of(e).call(y8).call(y4).call(Ec).call(Eu).call(y6).call(y9).call(El).value();return[t]},"composition.facetCircle":()=>e=>{let t=y2.of(e).call(y8).call(Eh).call(y4).call(Ef).call(y7).call(Ee,Eg,Em,Em,{frame:!1}).call(y6).call(y9).call(Ep).value();return[t]},"composition.timingKeyframe":Eb,"labelTransform.overlapHide":e=>{let{priority:t}=e;return e=>{let n=[];return t&&e.sort(t),e.forEach(e=>{c4(e);let t=e.getLocalBounds(),r=n.some(e=>(function(e,t){let[n,r]=e,[a,i]=t;return n[0]a[0]&&n[1]a[1]})(v5(t),v5(e.getLocalBounds())));r?c5(e):n.push(e)}),e}},"labelTransform.overlapDodgeY":e=>{let{maxIterations:t=10,maxError:n=.1,padding:r=1}=e;return e=>{let a=e.length;if(a<=1)return e;let[i,o]=v6(),[s,l]=v6(),[c,u]=v6(),[d,p]=v6();for(let t of e){let{min:e,max:n}=function(e){let t=e.cloneNode(!0),n=t.getElementById("connector");n&&t.removeChild(n);let{min:r,max:a}=t.getRenderBounds();return t.destroy(),{min:r,max:a}}(t),[r,a]=e,[i,s]=n;o(t,a),l(t,a),u(t,s-a),p(t,[r,i])}for(let i=0;i(0,ds.Z)(s(e),s(t)));let t=0;for(let n=0;ne&&t>n}(d(i),d(a));)o+=1;if(a){let e=s(i),n=c(i),o=s(a),u=o-(e+n);if(ue=>(e.forEach(e=>{c4(e);let t=e.attr("bounds"),n=e.getLocalBounds(),r=function(e,t,n=.01){let[r,a]=e;return!(v4(r,t,n)&&v4(a,t,n))}(v5(n),t);r&&c5(e)}),e),"labelTransform.contrastReverse":e=>{let{threshold:t=4.5,palette:n=["#000","#fff"]}=e;return e=>(e.forEach(e=>{let r=e.attr("dependentElement").parsedStyle.fill,a=e.parsedStyle.fill,i=v7(a,r);iv7(e,"object"==typeof t?t:(0,nN.lu)(t)));return t[n]}(r,n))}),e)},"labelTransform.exceedAdjust":()=>(e,{canvas:t,layout:n})=>(e.forEach(e=>{c4(e);let{max:t,min:r}=e.getRenderBounds(),[a,i]=t,[o,s]=r,l=Te([[o,s],[a,i]],[[n.x,n.y],[n.x+n.width,n.y+n.height]]);e.style.connector&&e.style.connectorPoints&&(e.style.connectorPoints[0][0]-=l[0],e.style.connectorPoints[0][1]-=l[1]),e.style.x+=l[0],e.style.y+=l[1]}),e)})),{"interaction.drillDown":function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{breadCrumb:t={},isFixedColor:n=!1}=e,r=(0,po.Z)({},pw,t);return e=>{let{update:t,setState:a,container:i,view:o,options:s}=e,l=i.ownerDocument,c=(0,px.Ys)(i).select(".".concat(px.V$)).node(),u=s.marks.find(e=>{let{id:t}=e;return t===pv}),{state:d}=u,p=l.createElement("g");c.appendChild(p);let f=(e,i)=>{var s,u,d,h;return s=this,u=void 0,d=void 0,h=function*(){if(p.removeChildren(),e){let t=l.createElement("text",{style:Object.assign({x:0,text:r.rootText,depth:0},r.style)});p.appendChild(t);let n="",a=null==e?void 0:e.split(" / "),i=r.style.y,o=p.getBBox().width,s=c.getBBox().width,u=a.map((e,t)=>{let a=l.createElement("text",{style:Object.assign(Object.assign({x:o,text:" / "},r.style),{y:i})});p.appendChild(a),o+=a.getBBox().width,n="".concat(n).concat(e," / ");let c=l.createElement("text",{name:n.replace(/\s\/\s$/,""),style:Object.assign(Object.assign({text:e,x:o,depth:t+1},r.style),{y:i})});return p.appendChild(c),(o+=c.getBBox().width)>s&&(i=p.getBBox().height,o=0,a.attr({x:o,y:i}),o+=a.getBBox().width,c.attr({x:o,y:i}),o+=c.getBBox().width),c});[t,...u].forEach((e,t)=>{if(t===u.length)return;let n=Object.assign({},e.attributes);e.attr("cursor","pointer"),e.addEventListener("mouseenter",()=>{e.attr(r.active)}),e.addEventListener("mouseleave",()=>{e.attr(n)}),e.addEventListener("click",()=>{f(e.name,(0,pi.Z)(e,["style","depth"]))})})}a("drillDown",t=>{let{marks:r}=t,a=r.map(t=>{if(t.id!==pv&&"rect"!==t.type)return t;let{data:r}=t,a=Object.fromEntries(["color"].map(e=>[e,{domain:o.scale[e].getOptions().domain}])),s=r.filter(t=>{let r=t.path;if(n||(t[pA]=r.split(" / ")[i]),!e)return!0;let a=new RegExp("^".concat(e,".+"));return a.test(r)});return(0,po.Z)({},t,n?{data:s,scale:a}:{data:s})});return Object.assign(Object.assign({},t),{marks:a})}),yield t()},new(d||(d=Promise))(function(e,t){function n(e){try{a(h.next(e))}catch(e){t(e)}}function r(e){try{a(h.throw(e))}catch(e){t(e)}}function a(t){var a;t.done?e(t.value):((a=t.value)instanceof d?a:new d(function(e){e(a)})).then(n,r)}a((h=h.apply(s,u||[])).next())})},h=e=>{let t=e.target;if((0,pi.Z)(t,["style",pT])!==pv||"rect"!==(0,pi.Z)(t,["markType"])||!(0,pi.Z)(t,["style",pb]))return;let n=(0,pi.Z)(t,["__data__","key"]),r=(0,pi.Z)(t,["style","depth"]);t.style.cursor="pointer",f(n,r)};c.addEventListener("click",h);let m=(0,pk.Z)(Object.assign(Object.assign({},d.active),d.inactive)),g=()=>{let e=pC(c);e.forEach(e=>{let t=(0,pi.Z)(e,["style",pb]),n=(0,pi.Z)(e,["style","cursor"]);if("pointer"!==n&&t){e.style.cursor="pointer";let t=(0,pa.Z)(e.attributes,m);e.addEventListener("mouseenter",()=>{e.attr(d.active)}),e.addEventListener("mouseleave",()=>{e.attr((0,po.Z)(t,d.inactive))})}})};return c.addEventListener("mousemove",g),()=>{p.remove(),c.removeEventListener("click",h),c.removeEventListener("mousemove",g)}}},"mark.sunburst":p_}),class extends u{constructor(e){super(Object.assign(Object.assign({},e),{lib:d}))}}),Ao=function(){return(Ao=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},Al=["renderer"],Ac=["width","height","autoFit","theme","inset","insetLeft","insetRight","insetTop","insetBottom","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","margin","marginTop","marginRight","marginBottom","marginLeft","depth","title","clip","children","type","data","direction"],Au="__transform__",Ad=function(e,t){return(0,em.isBoolean)(t)?{type:e,available:t}:Ao({type:e},t)},Ap={xField:"encode.x",yField:"encode.y",colorField:"encode.color",angleField:"encode.y",keyField:"encode.key",sizeField:"encode.size",shapeField:"encode.shape",seriesField:"encode.series",positionField:"encode.position",textField:"encode.text",valueField:"encode.value",binField:"encode.x",srcField:"encode.src",linkColorField:"encode.linkColor",fontSizeField:"encode.fontSize",radius:"coordinate.outerRadius",innerRadius:"coordinate.innerRadius",startAngle:"coordinate.startAngle",endAngle:"coordinate.endAngle",focusX:"coordinate.focusX",focusY:"coordinate.focusY",distortionX:"coordinate.distortionX",distortionY:"coordinate.distortionY",visual:"coordinate.visual",stack:{target:"transform",value:function(e){return Ad("stackY",e)}},normalize:{target:"transform",value:function(e){return Ad("normalizeY",e)}},percent:{target:"transform",value:function(e){return Ad("normalizeY",e)}},group:{target:"transform",value:function(e){return Ad("dodgeX",e)}},sort:{target:"transform",value:function(e){return Ad("sortX",e)}},symmetry:{target:"transform",value:function(e){return Ad("symmetryY",e)}},diff:{target:"transform",value:function(e){return Ad("diffY",e)}},meta:{target:"scale",value:function(e){return e}},label:{target:"labels",value:function(e){return e}},shape:"style.shape",connectNulls:{target:"style",value:function(e){return(0,em.isBoolean)(e)?{connect:e}:e}}},Af=["xField","yField","seriesField","colorField","keyField","positionField","meta","tooltip","animate","stack","normalize","percent","group","sort","symmetry","diff"],Ah=[{key:"annotations",extend_keys:[]},{key:"line",type:"line",extend_keys:Af},{key:"point",type:"point",extend_keys:Af},{key:"area",type:"area",extend_keys:Af}],Am=[{key:"transform",callback:function(e,t,n){e[t]=e[t]||[];var r,a=n.available,i=As(n,["available"]);if(void 0===a||a)e[t].push(Ao(((r={})[Au]=!0,r),i));else{var o=e[t].indexOf(function(e){return e.type===n.type});-1!==o&&e[t].splice(o,1)}}},{key:"labels",callback:function(e,t,n){var r;if(!n||(0,em.isArray)(n)){e[t]=n||[];return}n.text||(n.text=e.yField),e[t]=e[t]||[],e[t].push(Ao(((r={})[Au]=!0,r),n))}}],Ag=[{key:"conversionTag",shape:"ConversionTag"},{key:"axisText",shape:"BidirectionalBarAxisText"}],Ab=(p=function(e,t){return(p=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}p(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Ay=function(){return(Ay=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},Av=function(e){function t(t){void 0===t&&(t={});var n=t.style,r=AE(t,["style"]);return e.call(this,Ay({style:Ay({fill:"#eee"},n)},r))||this}return Ab(t,e),t}(nN.mg),AT=(f=function(e,t){return(f=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}f(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),AS=function(){return(AS=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},AO=function(e){function t(t){void 0===t&&(t={});var n=t.style,r=AA(t,["style"]);return e.call(this,AS({style:AS({text:"",fontSize:12,textBaseline:"middle",textAlign:"center",fill:"#000",fontStyle:"normal",fontVariant:"normal",fontWeight:"normal",lineWidth:1},n)},r))||this}return AT(t,e),t}(nN.xv),A_=function(e,t,n){if(n||2==arguments.length)for(var r,a=0,i=t.length;a0){var r=t.x,a=t.y,i=t.height,o=t.width,s=t.data,p=t.key,f=(0,em.get)(s,l),m=h/2;if(e){var b=r+o/2,E=a;d.push({points:[[b+m,E-u+y],[b+m,E-g-y],[b,E-y],[b-m,E-g-y],[b-m,E-u+y]],center:[b,E-u/2-y],width:u,value:[c,f],key:p})}else{var b=r,E=a+i/2;d.push({points:[[r-u+y,E-m],[r-g-y,E-m],[b-y,E],[r-g-y,E+m],[r-u+y,E+m]],center:[b-u/2-y,E],width:u,value:[c,f],key:p})}c=f}}),d},t.prototype.render=function(){this.setDirection(),this.drawConversionTag()},t.prototype.setDirection=function(){var e=this.chart.getCoordinate(),t=(0,em.get)(e,"options.transformations"),n="horizontal";t.forEach(function(e){e.includes("transpose")&&(n="vertical")}),this.direction=n},t.prototype.drawConversionTag=function(){var e=this,t=this.getConversionTagLayout(),n=this.attributes,r=n.style,a=n.text,i=a.style,o=a.formatter;t.forEach(function(t){var n=t.points,a=t.center,s=t.value,l=t.key,c=s[0],u=s[1],d=a[0],p=a[1],f=new Av({style:AR({points:n,fill:"#eee"},r),id:"polygon-".concat(l)}),h=new AO({style:AR({x:d,y:p,text:(0,em.isFunction)(o)?o(c,u):(u/c*100).toFixed(2)+"%"},i),id:"text-".concat(l)});e.appendChild(f),e.appendChild(h)})},t.prototype.update=function(){var e=this;this.getConversionTagLayout().forEach(function(t){var n=t.points,r=t.center,a=t.key,i=r[0],o=r[1],s=e.getElementById("polygon-".concat(a)),l=e.getElementById("text-".concat(a));s.setAttribute("points",n),l.setAttribute("x",i),l.setAttribute("y",o)})},t.tag="ConversionTag",t}(Aw),AL=(g=function(e,t){return(g=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}g(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),AD=function(){return(AD=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},AM={ConversionTag:AN,BidirectionalBarAxisText:function(e){function t(n,r){return e.call(this,n,r,{type:t.tag})||this}return AL(t,e),t.prototype.render=function(){this.drawText()},t.prototype.getBidirectionalBarAxisTextLayout=function(){var e="vertical"===this.attributes.layout,t=this.getElementsLayout(),n=e?(0,em.uniqBy)(t,"x"):(0,em.uniqBy)(t,"y"),r=["title"],a=[],i=this.chart.getContext().views,o=(0,em.get)(i,[0,"layout"]),s=o.width,l=o.height;return n.forEach(function(t){var n=t.x,i=t.y,o=t.height,c=t.width,u=t.data,d=t.key,p=(0,em.get)(u,r);e?a.push({x:n+c/2,y:l,text:p,key:d}):a.push({x:s,y:i+o/2,text:p,key:d})}),(0,em.uniqBy)(a,"text").length!==a.length&&(a=Object.values((0,em.groupBy)(a,"text")).map(function(t){var n,r=t.reduce(function(t,n){return t+(e?n.x:n.y)},0);return AD(AD({},t[0]),((n={})[e?"x":"y"]=r/t.length,n))})),a},t.prototype.transformLabelStyle=function(e){var t={},n=/^label[A-Z]/;return Object.keys(e).forEach(function(r){n.test(r)&&(t[r.replace("label","").replace(/^[A-Z]/,function(e){return e.toLowerCase()})]=e[r])}),t},t.prototype.drawText=function(){var e=this,t=this.getBidirectionalBarAxisTextLayout(),n=this.attributes,r=n.layout,a=n.labelFormatter,i=AP(n,["layout","labelFormatter"]);t.forEach(function(t){var n=t.x,o=t.y,s=t.text,l=t.key,c=new AO({style:AD({x:n,y:o,text:(0,em.isFunction)(a)?a(s):s,wordWrap:!0,wordWrapWidth:"horizontal"===r?64:120,maxLines:2,textOverflow:"ellipsis"},e.transformLabelStyle(i)),id:"text-".concat(l)});e.appendChild(c)})},t.prototype.destroy=function(){this.clear()},t.prototype.update=function(){this.destroy(),this.drawText()},t.tag="BidirectionalBarAxisText",t}(Aw)},AF=function(){function e(e,t){this.container=new Map,this.chart=e,this.config=t,this.init()}return e.prototype.init=function(){var e=this;Ag.forEach(function(t){var n,r=t.key,a=t.shape,i=e.config[r];if(i){var o=new AM[a](e.chart,i);e.chart.getContext().canvas.appendChild(o),e.container.set(r,o)}else null===(n=e.container.get(r))||void 0===n||n.clear()})},e.prototype.update=function(){var e=this;this.container.size&&Ag.forEach(function(t){var n=t.key,r=e.container.get(n);null==r||r.update()})},e}(),AB=(b=function(e,t){return(b=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}b(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Aj=function(){return(Aj=Object.assign||function(e){for(var t,n=1,r=arguments.length;n1&&(0,em.set)(t,"children",[{type:"interval"}]);var n=t.scale,r=t.markBackground,a=t.data,i=t.children,o=t.yField,s=(0,em.get)(n,"y.domain",[]);if(r&&s.length&&(0,em.isArray)(a)){var l="domainMax",c=a.map(function(e){var t;return A0(A0({originData:A0({},e)},(0,em.omit)(e,o)),((t={})[l]=s[s.length-1],t))});i.unshift(A0({type:"interval",data:c,yField:l,tooltip:!1,style:{fill:"#eee"},label:!1},r))}return e},AK,AV)(e)}var A2=(v=function(e,t){return(v=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}v(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});r9("shape.interval.bar25D",function(e,t){return function(n){var r=e.fill,a=void 0===r?"#2888FF":r,i=e.stroke,o=e.fillOpacity,s=void 0===o?1:o,l=e.strokeOpacity,c=void 0===l?.2:l,u=e.pitch,d=void 0===u?8:u,p=n[0],f=n[1],h=n[2],m=n[3],g=(f[1]-p[1])/2,b=t.document,y=b.createElement("g",{}),E=b.createElement("polygon",{style:{points:[p,[p[0]-d,p[1]+g],[h[0]-d,p[1]+g],m],fill:a,fillOpacity:s,stroke:i,strokeOpacity:c,inset:30}}),v=b.createElement("polygon",{style:{points:[[p[0]-d,p[1]+g],f,h,[h[0]-d,p[1]+g]],fill:a,fillOpacity:s,stroke:i,strokeOpacity:c}}),T=b.createElement("polygon",{style:{points:[p,[p[0]-d,p[1]+g],f,[p[0]+d,p[1]+g]],fill:a,fillOpacity:s-.2}});return y.appendChild(E),y.appendChild(v),y.appendChild(T),y}});var A3=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="Bar",t}return A2(t,e),t.getDefaultOptions=function(){return{type:"view",coordinate:{transform:[{type:"transpose"}]},children:[{type:"interval"}],scale:{y:{nice:!0}},axis:{y:{title:!1},x:{title:!1}},interaction:{tooltip:{shared:!0},elementHighlight:{background:!0}}}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return A1},t}(AG),A5=(T=function(e,t){return(T=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}T(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});r9("shape.interval.column25D",function(e,t){return function(n){var r=e.fill,a=void 0===r?"#2888FF":r,i=e.stroke,o=e.fillOpacity,s=void 0===o?1:o,l=e.strokeOpacity,c=void 0===l?.2:l,u=e.pitch,d=void 0===u?8:u,p=(n[1][0]-n[0][0])/2+n[0][0],f=t.document,h=f.createElement("g",{}),m=f.createElement("polygon",{style:{points:[[n[0][0],n[0][1]],[p,n[1][1]+d],[p,n[3][1]+d],[n[3][0],n[3][1]]],fill:a,fillOpacity:s,stroke:i,strokeOpacity:c,inset:30}}),g=f.createElement("polygon",{style:{points:[[p,n[1][1]+d],[n[1][0],n[1][1]],[n[2][0],n[2][1]],[p,n[2][1]+d]],fill:a,fillOpacity:s,stroke:i,strokeOpacity:c}}),b=f.createElement("polygon",{style:{points:[[n[0][0],n[0][1]],[p,n[1][1]-d],[n[1][0],n[1][1]],[p,n[1][1]+d]],fill:a,fillOpacity:s-.2}});return h.appendChild(g),h.appendChild(m),h.appendChild(b),h}});var A4=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="column",t}return A5(t,e),t.getDefaultOptions=function(){return{type:"view",scale:{y:{nice:!0}},interaction:{tooltip:{shared:!0},elementHighlight:{background:!0}},axis:{y:{title:!1},x:{title:!1}},children:[{type:"interval"}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return A1},t}(AG);function A6(e){return(0,em.flow)(function(e){var t=e.options,n=t.children;return t.legend&&(void 0===n?[]:n).forEach(function(e){if(!(0,em.get)(e,"colorField")){var t=(0,em.get)(e,"yField");(0,em.set)(e,"colorField",function(){return t})}}),e},function(e){var t=e.options,n=t.annotations,r=void 0===n?[]:n,a=t.children,i=t.scale,o=!1;return(0,em.get)(i,"y.key")||(void 0===a?[]:a).forEach(function(e,t){if(!(0,em.get)(e,"scale.y.key")){var n="child".concat(t,"Scale");(0,em.set)(e,"scale.y.key",n);var a=e.annotations,i=void 0===a?[]:a;i.length>0&&((0,em.set)(e,"scale.y.independent",!1),i.forEach(function(e){(0,em.set)(e,"scale.y.key",n)})),!o&&r.length>0&&void 0===(0,em.get)(e,"scale.y.independent")&&(o=!0,(0,em.set)(e,"scale.y.independent",!1),r.forEach(function(e){(0,em.set)(e,"scale.y.key",n)}))}}),e},AK,AV)(e)}var A9=(S=function(e,t){return(S=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}S(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),A8=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="DualAxes",t}return A9(t,e),t.getDefaultOptions=function(){return{type:"view",axis:{y:{title:!1,tick:!1},x:{title:!1}},scale:{y:{independent:!0,nice:!0}}}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return A6},t}(AG);function A7(e){return(0,em.flow)(function(e){var t=e.options,n=t.xField;return t.colorField||(0,em.set)(t,"colorField",n),e},function(e){var t=e.options,n=t.compareField,r=t.transform,a=t.isTransposed,i=t.coordinate;return r||(n?(0,em.set)(t,"transform",[]):(0,em.set)(t,"transform",[{type:"symmetryY"}])),!i&&(void 0===a||a)&&(0,em.set)(t,"coordinate",{transform:[{type:"transpose"}]}),e},function(e){var t=e.options,n=t.compareField,r=t.seriesField,a=t.data,i=t.children,o=t.yField,s=t.isTransposed;if(n||r){var l=Object.values((0,em.groupBy)(a,function(e){return e[n||r]}));i[0].data=l[0],i.push({type:"interval",data:l[1],yField:function(e){return-e[o]}}),delete t.compareField,delete t.data}return r&&((0,em.set)(t,"type","spaceFlex"),(0,em.set)(t,"ratio",[1,1]),(0,em.set)(t,"direction",void 0===s||s?"row":"col"),delete t.seriesField),e},function(e){var t=e.options,n=t.tooltip,r=t.xField,a=t.yField;return n||(0,em.set)(t,"tooltip",{title:!1,items:[function(e){return{name:e[r],value:e[a]}}]}),e},AK,AV)(e)}var Oe=(A=function(e,t){return(A=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}A(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Ot=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="column",t}return Oe(t,e),t.getDefaultOptions=function(){return{type:"view",scale:{x:{padding:0}},animate:{enter:{type:"fadeIn"}},axis:!1,shapeField:"funnel",label:{position:"inside",transform:[{type:"contrastReverse"}]},children:[{type:"interval"}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return A7},t}(AG);function On(e){return(0,em.flow)(AK,AV)(e)}var Or=(O=function(e,t){return(O=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}O(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Oa=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="line",t}return Or(t,e),t.getDefaultOptions=function(){return{type:"view",scale:{y:{nice:!0}},interaction:{tooltip:{shared:!0}},axis:{y:{title:!1},x:{title:!1}},children:[{type:"line"}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return On},t}(AG);function Oi(e){switch(typeof e){case"function":return e;case"string":return function(t){return(0,em.get)(t,[e])};default:return function(){return e}}}var Oo=function(){return(Oo=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&0===r.reduce(function(e,t){return e+t[n]},0)){var s=r.map(function(e){var t;return Oo(Oo({},e),((t={})[n]=1,t))});(0,em.set)(t,"data",s),a&&(0,em.set)(t,"label",Oo(Oo({},a),{formatter:function(){return 0}})),!1!==i&&((0,em.isFunction)(i)?(0,em.set)(t,"tooltip",function(e,t,r){var a;return i(Oo(Oo({},e),((a={})[n]=0,a)),t,r.map(function(e){var t;return Oo(Oo({},e),((t={})[n]=0,t))}))}):(0,em.set)(t,"tooltip",Oo(Oo({},i),{items:[function(e,t,n){return{name:o(e,t,n),value:0}}]})))}return e},AV)(e)}var Ol=(_=function(e,t){return(_=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}_(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Oc=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="pie",t}return Ol(t,e),t.getDefaultOptions=function(){return{type:"view",children:[{type:"interval"}],coordinate:{type:"theta"},transform:[{type:"stackY",reverse:!0}],animate:{enter:{type:"waveIn"}}}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return Os},t}(AG);function Ou(e){return(0,em.flow)(AK,AV)(e)}var Od=(k=function(e,t){return(k=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}k(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Op=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="scatter",t}return Od(t,e),t.getDefaultOptions=function(){return{axis:{y:{title:!1},x:{title:!1}},legend:{size:!1},children:[{type:"point"}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return Ou},t}(AG);function Of(e){return(0,em.flow)(function(e){return(0,em.set)(e,"options.coordinate",{type:(0,em.get)(e,"options.coordinateType","polar")}),e},AV)(e)}var Oh=(x=function(e,t){return(x=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}x(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Om=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="radar",t}return Oh(t,e),t.getDefaultOptions=function(){return{axis:{x:{grid:!0,line:!0},y:{zIndex:1,title:!1,line:!0,nice:!0}},meta:{x:{padding:.5,align:0}},interaction:{tooltip:{style:{crosshairsLineDash:[4,4]}}},children:[{type:"line"}],coordinateType:"polar"}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return Of},t}(AG),Og=function(){return(Og=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&(t.x1=e[r],t.x2=t[r],t.y1=e[OH]),t},[]),o.shift(),a.push({type:"link",xField:["x1","x2"],yField:"y1",zIndex:-1,data:o,style:Oz({stroke:"#697474"},i),label:!1,tooltip:!1}),e},AK,AV)(e)}var OV=(P=function(e,t){return(P=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}P(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),OY=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="waterfall",t}return OV(t,e),t.getDefaultOptions=function(){return{type:"view",legend:null,tooltip:{field:O$,valueFormatter:"~s",name:"value"},axis:{y:{title:null,labelFormatter:"~s"},x:{title:null}},children:[{type:"interval",interaction:{elementHighlight:{background:!0}}}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return OW},t}(AG);function Oq(e){return(0,em.flow)(function(e){var t=e.options,n=t.data,r=t.binNumber,a=t.binWidth,i=t.children,o=t.channel,s=void 0===o?"count":o,l=(0,em.get)(i,"[0].transform[0]",{});return(0,em.isNumber)(a)?((0,em.assign)(l,{thresholds:(0,em.ceil)((0,em.divide)(n.length,a)),y:s}),e):((0,em.isNumber)(r)&&(0,em.assign)(l,{thresholds:r,y:s}),e)},AK,AV)(e)}var OK=(M=function(e,t){return(M=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}M(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),OX=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="Histogram",t}return OK(t,e),t.getDefaultOptions=function(){return{type:"view",autoFit:!0,axis:{y:{title:!1},x:{title:!1}},children:[{type:"rect",transform:[{type:"binX",y:"count"}],interaction:{elementHighlight:{background:!0}}}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return Oq},t}(AG);function OQ(e){return(0,em.flow)(function(e){var t=e.options,n=t.tooltip,r=void 0===n?{}:n,a=t.colorField,i=t.sizeField;return r&&!r.field&&(r.field=a||i),e},function(e){var t=e.options,n=t.mark,r=t.children;return n&&(r[0].type=n),e},AK,AV)(e)}var OJ=(F=function(e,t){return(F=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}F(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),O0=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="heatmap",t}return OJ(t,e),t.getDefaultOptions=function(){return{type:"view",legend:null,tooltip:{valueFormatter:"~s"},axis:{y:{title:null,grid:!0},x:{title:null,grid:!0}},children:[{type:"point",interaction:{elementHighlight:{background:!0}}}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return OQ},t}(AG);function O1(e){return(0,em.flow)(function(e){var t=e.options.boxType;return e.options.children[0].type=void 0===t?"box":t,e},AK,AV)(e)}var O2=(B=function(e,t){return(B=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}B(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),O3=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="box",t}return O2(t,e),t.getDefaultOptions=function(){return{type:"view",children:[{type:"box"}],axis:{y:{title:!1},x:{title:!1}},tooltip:{items:[{name:"min",channel:"y"},{name:"q1",channel:"y1"},{name:"q2",channel:"y2"},{name:"q3",channel:"y3"},{name:"max",channel:"y4"}]}}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return O1},t}(AG);function O5(e){return(0,em.flow)(function(e){var t=e.options,n=t.data,r=[{type:"custom",callback:function(e){return{links:e}}}];if((0,em.isArray)(n))n.length>0?(0,em.set)(t,"data",{value:n,transform:r}):delete t.children;else if("fetch"===(0,em.get)(n,"type")&&(0,em.get)(n,"value")){var a=(0,em.get)(n,"transform");(0,em.isArray)(a)?(0,em.set)(n,"transform",a.concat(r)):(0,em.set)(n,"transform",r)}return e},AK,AV)(e)}var O4=(j=function(e,t){return(j=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}j(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),O6=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type="sankey",t}return O4(t,e),t.getDefaultOptions=function(){return{type:"view",children:[{type:"sankey"}]}},t.prototype.getDefaultOptions=function(){return t.getDefaultOptions()},t.prototype.getSchemaAdaptor=function(){return O5},t}(AG);function O9(e){t=e.options.layout,e.options.coordinate.transform="horizontal"!==(void 0===t?"horizontal":t)?void 0:[{type:"transpose"}];var t,n=e.options.layout,r=void 0===n?"horizontal":n;return e.options.children.forEach(function(e){var t;(null===(t=null==e?void 0:e.coordinate)||void 0===t?void 0:t.transform)&&(e.coordinate.transform="horizontal"!==r?void 0:[{type:"transpose"}])}),e}var O8=function(){return(O8=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);at.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},_G=(0,eg.forwardRef)(function(e,t){var n,r,a,i,o,s,l,c,u,d=e.chartType,p=_U(e,["chartType"]),f=p.containerStyle,h=p.containerAttributes,m=void 0===h?{}:h,g=p.className,b=p.loading,y=p.loadingTemplate,E=p.errorTemplate,v=_U(p,["containerStyle","containerAttributes","className","loading","loadingTemplate","errorTemplate"]),T=(n=_B[void 0===d?"Base":d],r=(0,eg.useRef)(),a=(0,eg.useRef)(),i=(0,eg.useRef)(null),o=v.onReady,s=v.onEvent,l=function(e,t){void 0===e&&(e="image/png");var n,r=null===(n=i.current)||void 0===n?void 0:n.getElementsByTagName("canvas")[0];return null==r?void 0:r.toDataURL(e,t)},c=function(e,t,n){void 0===e&&(e="download"),void 0===t&&(t="image/png");var r=e;-1===e.indexOf(".")&&(r="".concat(e,".").concat(t.split("/")[1]));var a=l(t,n),i=document.createElement("a");return i.href=a,i.download=r,document.body.appendChild(i),i.click(),document.body.removeChild(i),i=null,r},u=function(e,t){void 0===t&&(t=!1);var n=Object.keys(e),r=t;n.forEach(function(n){var a,i=e[n];("tooltip"===n&&(r=!0),(0,em.isFunction)(i)&&(a="".concat(i),/react|\.jsx|children:\[\(|return\s+[A-Za-z0-9].createElement\((?!['"][g|circle|ellipse|image|rect|line|polyline|polygon|text|path|html|mesh]['"])([^\)])*,/i.test(a)))?e[n]=function(){for(var e=[],t=0;t1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return(function(e){if(0===e.length||1===e.length)return e;var t,n=e.join(".");return p[n]||(p[n]=0===(t=e.length)||1===t?e:2===t?[e[0],e[1],"".concat(e[0],".").concat(e[1]),"".concat(e[1],".").concat(e[0])]:3===t?[e[0],e[1],e[2],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0])]:t>=4?[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]:void 0),p[n]})(e.filter(function(e){return"token"!==e})).reduce(function(e,t){return d(d({},e),n[t])},t)}(s.className,Object.assign({},s.style,void 0===a?{}:a),r)})}else g=d(d({},s),{},{className:s.className.join(" ")});var T=b(n.children);return l.createElement(f,(0,c.Z)({key:o},g),T)}}({node:e,stylesheet:n,useInlineStyles:r,key:"code-segement".concat(t)})})}function S(e){return e&&void 0!==e.highlightAuto}var A=n(98695),O=(r=n.n(A)(),a={'code[class*="language-"]':{color:"black",background:"none",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"black",background:"#f5f2f0",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},':not(pre) > code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},function(e){var t=e.language,n=e.children,s=e.style,c=void 0===s?a:s,u=e.customStyle,d=void 0===u?{}:u,p=e.codeTagProps,h=void 0===p?{className:t?"language-".concat(t):void 0,style:m(m({},c['code[class*="language-"]']),c['code[class*="language-'.concat(t,'"]')])}:p,A=e.useInlineStyles,O=void 0===A||A,_=e.showLineNumbers,k=void 0!==_&&_,x=e.showInlineLineNumbers,C=void 0===x||x,w=e.startingLineNumber,I=void 0===w?1:w,R=e.lineNumberContainerStyle,N=e.lineNumberStyle,L=void 0===N?{}:N,D=e.wrapLines,P=e.wrapLongLines,M=void 0!==P&&P,F=e.lineProps,B=void 0===F?{}:F,j=e.renderer,U=e.PreTag,G=void 0===U?"pre":U,H=e.CodeTag,$=void 0===H?"code":H,z=e.code,Z=void 0===z?(Array.isArray(n)?n[0]:n)||"":z,W=e.astGenerator,V=(0,i.Z)(e,f);W=W||r;var Y=k?l.createElement(b,{containerStyle:R,codeStyle:h.style||{},numberStyle:L,startingLineNumber:I,codeString:Z}):null,q=c.hljs||c['pre[class*="language-"]']||{backgroundColor:"#fff"},K=S(W)?"hljs":"prismjs",X=O?Object.assign({},V,{style:Object.assign({},q,d)}):Object.assign({},V,{className:V.className?"".concat(K," ").concat(V.className):K,style:Object.assign({},d)});if(M?h.style=m(m({},h.style),{},{whiteSpace:"pre-wrap"}):h.style=m(m({},h.style),{},{whiteSpace:"pre"}),!W)return l.createElement(G,X,Y,l.createElement($,h,Z));(void 0===D&&j||M)&&(D=!0),j=j||T;var Q=[{type:"text",value:Z}],J=function(e){var t=e.astGenerator,n=e.language,r=e.code,a=e.defaultCodeValue;if(S(t)){var i=-1!==t.listLanguages().indexOf(n);return"text"===n?{value:a,language:"text"}:i?t.highlight(n,r):t.highlightAuto(r)}try{return n&&"text"!==n?{value:t.highlight(r,n)}:{value:a}}catch(e){return{value:a}}}({astGenerator:W,language:t,code:Z,defaultCodeValue:Q});null===J.language&&(J.value=Q);var ee=J.value.length+I,et=function(e,t,n,r,a,i,s,l,c){var u,d=function e(t){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=0;a2&&void 0!==arguments[2]?arguments[2]:[];return t||o.length>0?function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return v({children:e,lineNumber:t,lineNumberStyle:l,largestLineNumber:s,showInlineLineNumbers:a,lineProps:n,className:i,showLineNumbers:r,wrapLongLines:c})}(e,i,o):function(e,t){if(r&&t&&a){var n=E(l,t,s);e.unshift(y(t,n))}return e}(e,i)}for(;h code[class*="language-"]':{background:"#111b27",padding:"0.1em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"#8da1b9"},prolog:{color:"#8da1b9"},doctype:{color:"#8da1b9"},cdata:{color:"#8da1b9"},punctuation:{color:"#e3eaf2"},"delimiter.important":{color:"#66cccc",fontWeight:"inherit"},"selector.parent":{color:"#66cccc"},tag:{color:"#66cccc"},"tag.punctuation":{color:"#66cccc"},"attr-name":{color:"#e6d37a"},boolean:{color:"#e6d37a"},"boolean.important":{color:"#e6d37a"},number:{color:"#e6d37a"},constant:{color:"#e6d37a"},"selector.attribute":{color:"#e6d37a"},"class-name":{color:"#6cb8e6"},key:{color:"#6cb8e6"},parameter:{color:"#6cb8e6"},property:{color:"#6cb8e6"},"property-access":{color:"#6cb8e6"},variable:{color:"#6cb8e6"},"attr-value":{color:"#91d076"},inserted:{color:"#91d076"},color:{color:"#91d076"},"selector.value":{color:"#91d076"},string:{color:"#91d076"},"string.url-link":{color:"#91d076"},builtin:{color:"#f4adf4"},"keyword-array":{color:"#f4adf4"},package:{color:"#f4adf4"},regex:{color:"#f4adf4"},function:{color:"#c699e3"},"selector.class":{color:"#c699e3"},"selector.id":{color:"#c699e3"},"atrule.rule":{color:"#e9ae7e"},combinator:{color:"#e9ae7e"},keyword:{color:"#e9ae7e"},operator:{color:"#e9ae7e"},"pseudo-class":{color:"#e9ae7e"},"pseudo-element":{color:"#e9ae7e"},selector:{color:"#e9ae7e"},unit:{color:"#e9ae7e"},deleted:{color:"#cd6660"},important:{color:"#cd6660",fontWeight:"bold"},"keyword-this":{color:"#6cb8e6",fontWeight:"bold"},this:{color:"#6cb8e6",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},entity:{cursor:"help"},".language-markdown .token.title":{color:"#6cb8e6",fontWeight:"bold"},".language-markdown .token.title .token.punctuation":{color:"#6cb8e6",fontWeight:"bold"},".language-markdown .token.blockquote.punctuation":{color:"#f4adf4"},".language-markdown .token.code":{color:"#66cccc"},".language-markdown .token.hr.punctuation":{color:"#6cb8e6"},".language-markdown .token.url .token.content":{color:"#91d076"},".language-markdown .token.url-link":{color:"#e6d37a"},".language-markdown .token.list.punctuation":{color:"#f4adf4"},".language-markdown .token.table-header":{color:"#e3eaf2"},".language-json .token.operator":{color:"#e3eaf2"},".language-scss .token.variable":{color:"#66cccc"},"token.tab:not(:empty):before":{color:"#8da1b9"},"token.cr:before":{color:"#8da1b9"},"token.lf:before":{color:"#8da1b9"},"token.space:before":{color:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{color:"#111b27",background:"#6cb8e6"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{color:"#111b27",background:"#6cb8e6"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{color:"#111b27",background:"#6cb8e6da",textDecoration:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{color:"#111b27",background:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{color:"#111b27",background:"#8da1b9"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{color:"#111b27",background:"#8da1b9"},".line-highlight.line-highlight":{background:"linear-gradient(to right, #3c526d5f 70%, #3c526d55)"},".line-highlight.line-highlight:before":{backgroundColor:"#8da1b9",color:"#111b27",boxShadow:"0 1px #3c526d"},".line-highlight.line-highlight[data-end]:after":{backgroundColor:"#8da1b9",color:"#111b27",boxShadow:"0 1px #3c526d"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"#8da1b918"},".line-numbers.line-numbers .line-numbers-rows":{borderRight:"1px solid #0b121b",background:"#0b121b7a"},".line-numbers .line-numbers-rows > span:before":{color:"#8da1b9da"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"#e6d37a"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"#f4adf4"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"#6cb8e6"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"#c699e3"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"#c699e3"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"#c699e3"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"#cd66601f"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"#cd66601f"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"#91d0761f"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"#91d0761f"},".command-line .command-line-prompt":{borderRight:"1px solid #0b121b"},".command-line .command-line-prompt > span:before":{color:"#8da1b9da"}}},12187:function(e,t){"use strict";t.Z={'code[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"]::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'code[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},'pre[class*="language-"] *::selection':{background:"hsl(220, 13%, 28%)",color:"inherit",textShadow:"none"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},prolog:{color:"hsl(220, 10%, 40%)"},cdata:{color:"hsl(220, 10%, 40%)"},doctype:{color:"hsl(220, 14%, 71%)"},punctuation:{color:"hsl(220, 14%, 71%)"},entity:{color:"hsl(220, 14%, 71%)",cursor:"help"},"attr-name":{color:"hsl(29, 54%, 61%)"},"class-name":{color:"hsl(29, 54%, 61%)"},boolean:{color:"hsl(29, 54%, 61%)"},constant:{color:"hsl(29, 54%, 61%)"},number:{color:"hsl(29, 54%, 61%)"},atrule:{color:"hsl(29, 54%, 61%)"},keyword:{color:"hsl(286, 60%, 67%)"},property:{color:"hsl(355, 65%, 65%)"},tag:{color:"hsl(355, 65%, 65%)"},symbol:{color:"hsl(355, 65%, 65%)"},deleted:{color:"hsl(355, 65%, 65%)"},important:{color:"hsl(355, 65%, 65%)"},selector:{color:"hsl(95, 38%, 62%)"},string:{color:"hsl(95, 38%, 62%)"},char:{color:"hsl(95, 38%, 62%)"},builtin:{color:"hsl(95, 38%, 62%)"},inserted:{color:"hsl(95, 38%, 62%)"},regex:{color:"hsl(95, 38%, 62%)"},"attr-value":{color:"hsl(95, 38%, 62%)"},"attr-value > .token.punctuation":{color:"hsl(95, 38%, 62%)"},variable:{color:"hsl(207, 82%, 66%)"},operator:{color:"hsl(207, 82%, 66%)"},function:{color:"hsl(207, 82%, 66%)"},url:{color:"hsl(187, 47%, 55%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(220, 14%, 71%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(220, 14%, 71%)"},".language-css .token.selector":{color:"hsl(355, 65%, 65%)"},".language-css .token.property":{color:"hsl(220, 14%, 71%)"},".language-css .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.function":{color:"hsl(187, 47%, 55%)"},".language-css .token.url > .token.string.url":{color:"hsl(95, 38%, 62%)"},".language-css .token.important":{color:"hsl(286, 60%, 67%)"},".language-css .token.atrule .token.rule":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.operator":{color:"hsl(286, 60%, 67%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(5, 48%, 51%)"},".language-json .token.operator":{color:"hsl(220, 14%, 71%)"},".language-json .token.null.keyword":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.url":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.operator":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(220, 14%, 71%)"},".language-markdown .token.url > .token.content":{color:"hsl(207, 82%, 66%)"},".language-markdown .token.url > .token.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.url-reference.url":{color:"hsl(187, 47%, 55%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(220, 10%, 40%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(95, 38%, 62%)"},".language-markdown .token.bold .token.content":{color:"hsl(29, 54%, 61%)"},".language-markdown .token.italic .token.content":{color:"hsl(286, 60%, 67%)"},".language-markdown .token.strike .token.content":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.list.punctuation":{color:"hsl(355, 65%, 65%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(355, 65%, 65%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.cr:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.lf:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"token.space:before":{color:"hsla(220, 14%, 71%, 0.15)",textShadow:"none"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 9%, 55%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(220, 13%, 28%)",color:"hsl(220, 14%, 71%)"},".line-highlight.line-highlight":{background:"hsla(220, 100%, 80%, 0.04)"},".line-highlight.line-highlight:before":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(220, 13%, 26%)",color:"hsl(220, 14%, 71%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(220, 100%, 80%, 0.04)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".command-line .command-line-prompt":{borderRightColor:"hsla(220, 14%, 71%, 0.15)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(220, 14%, 45%)"},".command-line .command-line-prompt > span:before":{color:"hsl(220, 14%, 45%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(355, 65%, 65%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(95, 38%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(207, 82%, 66%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(286, 60%, 67%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(286, 60%, 67%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(224, 13%, 17%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(224, 13%, 17%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(224, 13%, 17%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(224, 13%, 17%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(219, 13%, 22%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(219, 13%, 22%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(220, 14%, 71%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(220, 14%, 71%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(220, 14%, 71%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(220, 14%, 71%)"}}},89144:function(e,t){"use strict";t.Z={'code[class*="language-"]':{background:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{background:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)",fontFamily:'"Fira Code", "Fira Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"2",OTabSize:"2",tabSize:"2",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:"0.5em 0",overflow:"auto",borderRadius:"0.3em"},'code[class*="language-"]::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"] *::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'pre[class*="language-"] *::-moz-selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"]::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'code[class*="language-"] *::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},'pre[class*="language-"] *::selection':{background:"hsl(230, 1%, 90%)",color:"inherit"},':not(pre) > code[class*="language-"]':{padding:"0.2em 0.3em",borderRadius:"0.3em",whiteSpace:"normal"},comment:{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},prolog:{color:"hsl(230, 4%, 64%)"},cdata:{color:"hsl(230, 4%, 64%)"},doctype:{color:"hsl(230, 8%, 24%)"},punctuation:{color:"hsl(230, 8%, 24%)"},entity:{color:"hsl(230, 8%, 24%)",cursor:"help"},"attr-name":{color:"hsl(35, 99%, 36%)"},"class-name":{color:"hsl(35, 99%, 36%)"},boolean:{color:"hsl(35, 99%, 36%)"},constant:{color:"hsl(35, 99%, 36%)"},number:{color:"hsl(35, 99%, 36%)"},atrule:{color:"hsl(35, 99%, 36%)"},keyword:{color:"hsl(301, 63%, 40%)"},property:{color:"hsl(5, 74%, 59%)"},tag:{color:"hsl(5, 74%, 59%)"},symbol:{color:"hsl(5, 74%, 59%)"},deleted:{color:"hsl(5, 74%, 59%)"},important:{color:"hsl(5, 74%, 59%)"},selector:{color:"hsl(119, 34%, 47%)"},string:{color:"hsl(119, 34%, 47%)"},char:{color:"hsl(119, 34%, 47%)"},builtin:{color:"hsl(119, 34%, 47%)"},inserted:{color:"hsl(119, 34%, 47%)"},regex:{color:"hsl(119, 34%, 47%)"},"attr-value":{color:"hsl(119, 34%, 47%)"},"attr-value > .token.punctuation":{color:"hsl(119, 34%, 47%)"},variable:{color:"hsl(221, 87%, 60%)"},operator:{color:"hsl(221, 87%, 60%)"},function:{color:"hsl(221, 87%, 60%)"},url:{color:"hsl(198, 99%, 37%)"},"attr-value > .token.punctuation.attr-equals":{color:"hsl(230, 8%, 24%)"},"special-attr > .token.attr-value > .token.value.css":{color:"hsl(230, 8%, 24%)"},".language-css .token.selector":{color:"hsl(5, 74%, 59%)"},".language-css .token.property":{color:"hsl(230, 8%, 24%)"},".language-css .token.function":{color:"hsl(198, 99%, 37%)"},".language-css .token.url > .token.function":{color:"hsl(198, 99%, 37%)"},".language-css .token.url > .token.string.url":{color:"hsl(119, 34%, 47%)"},".language-css .token.important":{color:"hsl(301, 63%, 40%)"},".language-css .token.atrule .token.rule":{color:"hsl(301, 63%, 40%)"},".language-javascript .token.operator":{color:"hsl(301, 63%, 40%)"},".language-javascript .token.template-string > .token.interpolation > .token.interpolation-punctuation.punctuation":{color:"hsl(344, 84%, 43%)"},".language-json .token.operator":{color:"hsl(230, 8%, 24%)"},".language-json .token.null.keyword":{color:"hsl(35, 99%, 36%)"},".language-markdown .token.url":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url > .token.operator":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url-reference.url > .token.string":{color:"hsl(230, 8%, 24%)"},".language-markdown .token.url > .token.content":{color:"hsl(221, 87%, 60%)"},".language-markdown .token.url > .token.url":{color:"hsl(198, 99%, 37%)"},".language-markdown .token.url-reference.url":{color:"hsl(198, 99%, 37%)"},".language-markdown .token.blockquote.punctuation":{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},".language-markdown .token.hr.punctuation":{color:"hsl(230, 4%, 64%)",fontStyle:"italic"},".language-markdown .token.code-snippet":{color:"hsl(119, 34%, 47%)"},".language-markdown .token.bold .token.content":{color:"hsl(35, 99%, 36%)"},".language-markdown .token.italic .token.content":{color:"hsl(301, 63%, 40%)"},".language-markdown .token.strike .token.content":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.strike .token.punctuation":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.list.punctuation":{color:"hsl(5, 74%, 59%)"},".language-markdown .token.title.important > .token.punctuation":{color:"hsl(5, 74%, 59%)"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},namespace:{Opacity:"0.8"},"token.tab:not(:empty):before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.cr:before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.lf:before":{color:"hsla(230, 8%, 24%, 0.2)"},"token.space:before":{color:"hsla(230, 8%, 24%, 0.2)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item":{marginRight:"0.4em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 6%, 44%)",padding:"0.1em 0.4em",borderRadius:"0.3em"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > button:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > a:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:hover":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},"div.code-toolbar > .toolbar.toolbar > .toolbar-item > span:focus":{background:"hsl(230, 1%, 78%)",color:"hsl(230, 8%, 24%)"},".line-highlight.line-highlight":{background:"hsla(230, 8%, 24%, 0.05)"},".line-highlight.line-highlight:before":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 8%, 24%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},".line-highlight.line-highlight[data-end]:after":{background:"hsl(230, 1%, 90%)",color:"hsl(230, 8%, 24%)",padding:"0.1em 0.6em",borderRadius:"0.3em",boxShadow:"0 2px 0 0 rgba(0, 0, 0, 0.2)"},"pre[id].linkable-line-numbers.linkable-line-numbers span.line-numbers-rows > span:hover:before":{backgroundColor:"hsla(230, 8%, 24%, 0.05)"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"hsla(230, 8%, 24%, 0.2)"},".command-line .command-line-prompt":{borderRightColor:"hsla(230, 8%, 24%, 0.2)"},".line-numbers .line-numbers-rows > span:before":{color:"hsl(230, 1%, 62%)"},".command-line .command-line-prompt > span:before":{color:"hsl(230, 1%, 62%)"},".rainbow-braces .token.token.punctuation.brace-level-1":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-5":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-9":{color:"hsl(5, 74%, 59%)"},".rainbow-braces .token.token.punctuation.brace-level-2":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-6":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-10":{color:"hsl(119, 34%, 47%)"},".rainbow-braces .token.token.punctuation.brace-level-3":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-7":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-11":{color:"hsl(221, 87%, 60%)"},".rainbow-braces .token.token.punctuation.brace-level-4":{color:"hsl(301, 63%, 40%)"},".rainbow-braces .token.token.punctuation.brace-level-8":{color:"hsl(301, 63%, 40%)"},".rainbow-braces .token.token.punctuation.brace-level-12":{color:"hsl(301, 63%, 40%)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)":{backgroundColor:"hsla(353, 100%, 66%, 0.15)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix)::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre > code.diff-highlight .token.token.deleted:not(.prefix) *::selection":{backgroundColor:"hsla(353, 95%, 66%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)":{backgroundColor:"hsla(137, 100%, 55%, 0.15)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::-moz-selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre.diff-highlight > code .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix)::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},"pre > code.diff-highlight .token.token.inserted:not(.prefix) *::selection":{backgroundColor:"hsla(135, 73%, 55%, 0.25)"},".prism-previewer.prism-previewer:before":{borderColor:"hsl(0, 0, 95%)"},".prism-previewer-gradient.prism-previewer-gradient div":{borderColor:"hsl(0, 0, 95%)",borderRadius:"0.3em"},".prism-previewer-color.prism-previewer-color:before":{borderRadius:"0.3em"},".prism-previewer-easing.prism-previewer-easing:before":{borderRadius:"0.3em"},".prism-previewer.prism-previewer:after":{borderTopColor:"hsl(0, 0, 95%)"},".prism-previewer-flipped.prism-previewer-flipped.after":{borderBottomColor:"hsl(0, 0, 95%)"},".prism-previewer-angle.prism-previewer-angle:before":{background:"hsl(0, 0%, 100%)"},".prism-previewer-time.prism-previewer-time:before":{background:"hsl(0, 0%, 100%)"},".prism-previewer-easing.prism-previewer-easing":{background:"hsl(0, 0%, 100%)"},".prism-previewer-angle.prism-previewer-angle circle":{stroke:"hsl(230, 8%, 24%)",strokeOpacity:"1"},".prism-previewer-time.prism-previewer-time circle":{stroke:"hsl(230, 8%, 24%)",strokeOpacity:"1"},".prism-previewer-easing.prism-previewer-easing circle":{stroke:"hsl(230, 8%, 24%)",fill:"transparent"},".prism-previewer-easing.prism-previewer-easing path":{stroke:"hsl(230, 8%, 24%)"},".prism-previewer-easing.prism-previewer-easing line":{stroke:"hsl(230, 8%, 24%)"}}},2440:function(e,t,n){"use strict";var r=n(25519);t.Z=()=>{var e;return JSON.parse(null!==(e=localStorage.getItem(r.C9))&&void 0!==e?e:"")}},39718:function(e,t,n){"use strict";var r=n(85893),a=n(19284),i=n(25675),o=n.n(i),s=n(67294);t.Z=(0,s.memo)(e=>{let{width:t,height:n,model:i}=e,l=(0,s.useMemo)(()=>(0,a.ab)(i||"huggingface"),[i]);return i?(0,r.jsx)(o(),{className:"rounded-full border border-gray-200 object-contain bg-white inline-block",width:t||24,height:n||24,src:l,alt:"llm",priority:!0}):null})},50948:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{noSSR:function(){return o},default:function(){return s}});let r=n(38754),a=(n(67294),r._(n(23900)));function i(e){return{default:(null==e?void 0:e.default)||e}}function o(e,t){return delete t.webpack,delete t.modules,e(t)}function s(e,t){let n=a.default,r={loading:e=>{let{error:t,isLoading:n,pastDelay:r}=e;return null}};e instanceof Promise?r.loader=()=>e:"function"==typeof e?r.loader=e:"object"==typeof e&&(r={...r,...e}),r={...r,...t};let s=r.loader;return(r.loadableGenerated&&(r={...r,...r.loadableGenerated},delete r.loadableGenerated),"boolean"!=typeof r.ssr||r.ssr)?n({...r,loader:()=>null!=s?s().then(i):Promise.resolve(i(()=>null))}):(delete r.webpack,delete r.modules,o(n,r))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2804:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return i}});let r=n(38754),a=r._(n(67294)),i=a.default.createContext(null)},23900:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});let r=n(38754),a=r._(n(67294)),i=n(2804),o=[],s=[],l=!1;function c(e){let t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then(e=>(n.loading=!1,n.loaded=e,e)).catch(e=>{throw n.loading=!1,n.error=e,e}),n}class u{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function d(e){return function(e,t){let n=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),r=null;function o(){if(!r){let t=new u(e,n);r={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return r.promise()}if(!l){let e=n.webpack?n.webpack():n.modules;e&&s.push(t=>{for(let n of e)if(t.includes(n))return o()})}function c(e,t){!function(){o();let e=a.default.useContext(i.LoadableContext);e&&Array.isArray(n.modules)&&n.modules.forEach(t=>{e(t)})}();let s=a.default.useSyncExternalStore(r.subscribe,r.getCurrentValue,r.getCurrentValue);return a.default.useImperativeHandle(t,()=>({retry:r.retry}),[]),a.default.useMemo(()=>{var t;return s.loading||s.error?a.default.createElement(n.loading,{isLoading:s.loading,pastDelay:s.pastDelay,timedOut:s.timedOut,error:s.error,retry:r.retry}):s.loaded?a.default.createElement((t=s.loaded)&&t.default?t.default:t,e):null},[e,s])}return c.preload=()=>o(),c.displayName="LoadableComponent",a.default.forwardRef(c)}(c,e)}function p(e,t){let n=[];for(;e.length;){let r=e.pop();n.push(r(t))}return Promise.all(n).then(()=>{if(e.length)return p(e,t)})}d.preloadAll=()=>new Promise((e,t)=>{p(o).then(e,t)}),d.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let n=()=>(l=!0,t());p(s,e).then(n,n)})),window.__NEXT_PRELOADREADY=d.preloadReady;let f=d},7332:function(e,t,n){"use strict";n.r(t);var r=n(85893),a=n(39718),i=n(18102),o=n(96074),s=n(93967),l=n.n(s),c=n(67294),u=n(73913),d=n(32966);t.default=(0,c.memo)(e=>{let{message:t,index:n}=e,{scene:s}=(0,c.useContext)(u.MobileChatContext),{context:p,model_name:f,role:h,thinking:m}=t,g=(0,c.useMemo)(()=>"view"===h,[h]),b=(0,c.useRef)(null),{value:y}=(0,c.useMemo)(()=>{if("string"!=typeof p)return{relations:[],value:"",cachePluginContext:[]};let[e,t]=p.split(" relations:"),n=t?t.split(","):[],r=[],a=0,i=e.replace(/]*>[^<]*<\/dbgpt-view>/gi,e=>{try{var t;let n=e.replaceAll("\n","\\n").replace(/<[^>]*>|<\/[^>]*>/gm,""),i=JSON.parse(n),o="".concat(a,"");return r.push({...i,result:E(null!==(t=i.result)&&void 0!==t?t:"")}),a++,o}catch(t){return console.log(t.message,t),e}});return{relations:n,cachePluginContext:r,value:i}},[p]),E=e=>e.replace(/]+)>/gi,"
").replace(/]+)>/gi,"");return(0,r.jsxs)("div",{className:l()("flex w-full",{"justify-end":!g}),ref:b,children:[!g&&(0,r.jsx)("div",{className:"flex bg-[#0C75FC] text-white p-3 rounded-xl rounded-br-none",children:p}),g&&(0,r.jsxs)("div",{className:"flex max-w-full flex-col flex-wrap bg-white dark:bg-[rgba(255,255,255,0.16)] p-3 rounded-xl rounded-bl-none",children:["string"==typeof p&&"chat_agent"===s&&(0,r.jsx)(i.default,{children:null==y?void 0:y.replace(/]+)>/gi,"
").replace(/]+)>/gi,"")}),"string"==typeof p&&"chat_agent"!==s&&(0,r.jsx)(i.default,{children:E(y)}),m&&!p&&(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("span",{className:"flex text-sm text-[#1c2533] dark:text-white",children:"思考中"}),(0,r.jsxs)("div",{className:"flex",children:[(0,r.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse1"}),(0,r.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse2"}),(0,r.jsx)("div",{className:"w-1 h-1 rounded-full mx-1 animate-pulse3"})]})]}),!m&&(0,r.jsx)(o.Z,{className:"my-2"}),(0,r.jsxs)("div",{className:l()("opacity-0 h-0 w-0",{"opacity-100 flex items-center justify-between gap-6 w-auto h-auto":!m}),children:[(0,r.jsx)(d.default,{content:t,index:n,chatDialogRef:b}),"chat_agent"!==s&&(0,r.jsxs)("div",{className:"flex gap-1 items-center",children:[(0,r.jsx)(a.Z,{width:14,height:14,model:f}),(0,r.jsx)("span",{className:"text-xs text-gray-500",children:f})]})]})]})]})})},36818:function(e,t,n){"use strict";n.r(t);var r=n(85893),a=n(67294),i=n(73913),o=n(7332);t.default=(0,a.memo)(()=>{let{history:e}=(0,a.useContext)(i.MobileChatContext),t=(0,a.useMemo)(()=>e.filter(e=>["view","human"].includes(e.role)),[e]);return(0,r.jsx)("div",{className:"flex flex-col gap-4",children:!!t.length&&t.map((e,t)=>(0,r.jsx)(o.default,{message:e,index:t},e.context+t))})})},5583:function(e,t,n){"use strict";n.r(t);var r=n(85893),a=n(85265),i=n(66309),o=n(25278),s=n(14726),l=n(67294);t.default=e=>{let{open:t,setFeedbackOpen:n,list:c,feedback:u,loading:d}=e,[p,f]=(0,l.useState)([]),[h,m]=(0,l.useState)("");return(0,r.jsx)(a.Z,{title:"你的反馈助我进步",placement:"bottom",open:t,onClose:()=>n(!1),destroyOnClose:!0,height:"auto",children:(0,r.jsxs)("div",{className:"flex flex-col w-full gap-4",children:[(0,r.jsx)("div",{className:"flex w-full flex-wrap gap-2",children:null==c?void 0:c.map(e=>{let t=p.findIndex(t=>t.reason_type===e.reason_type)>-1;return(0,r.jsx)(i.Z,{className:"text-sm text-[#525964] p-1 px-2 rounded-md cursor-pointer ".concat(t?"border-[#0c75fc] text-[#0c75fc]":""),onClick:()=>{f(t=>{let n=t.findIndex(t=>t.reason_type===e.reason_type);return n>-1?[...t.slice(0,n),...t.slice(n+1)]:[...t,e]})},children:e.reason},e.reason_type)})}),(0,r.jsx)(o.default.TextArea,{placeholder:"描述一下具体问题或更优的答案",className:"h-24 resize-none mb-2",value:h,onChange:e=>m(e.target.value.trim())}),(0,r.jsxs)("div",{className:"flex gap-2 justify-end",children:[(0,r.jsx)(s.ZP,{className:"w-16 h-8",onClick:()=>{n(!1)},children:"取消"}),(0,r.jsx)(s.ZP,{type:"primary",className:"min-w-16 h-8",onClick:async()=>{let e=p.map(e=>e.reason_type);await (null==u?void 0:u({feedback_type:"unlike",reason_types:e,remark:h}))},loading:d,children:"确认"})]})]})})}},32966:function(e,t,n){"use strict";n.r(t);var r=n(85893),a=n(76212),i=n(65429),o=n(15381),s=n(57132),l=n(65654),c=n(31418),u=n(96074),d=n(14726),p=n(93967),f=n.n(p),h=n(20640),m=n.n(h),g=n(67294),b=n(73913),y=n(5583);t.default=e=>{var t;let{content:n,index:p,chatDialogRef:h}=e,{conv_uid:E,history:v,scene:T}=(0,g.useContext)(b.MobileChatContext),{message:S}=c.Z.useApp(),[A,O]=(0,g.useState)(!1),[_,k]=(0,g.useState)(null==n?void 0:null===(t=n.feedback)||void 0===t?void 0:t.feedback_type),[x,C]=(0,g.useState)([]),w=async e=>{var t;let n=null==e?void 0:e.replace(/\trelations:.*/g,""),r=m()((null===(t=h.current)||void 0===t?void 0:t.textContent)||n);r?n?S.success("复制成功"):S.warning("内容复制为空"):S.error("复制失败")},{run:I,loading:R}=(0,l.Z)(async e=>await (0,a.Vx)((0,a.zx)({conv_uid:E,message_id:n.order+"",feedback_type:e.feedback_type,reason_types:e.reason_types,remark:e.remark})),{manual:!0,onSuccess:e=>{let[,t]=e;k(null==t?void 0:t.feedback_type),S.success("反馈成功"),O(!1)}}),{run:N}=(0,l.Z)(async()=>await (0,a.Vx)((0,a.Ir)({conv_uid:E,message_id:(null==n?void 0:n.order)+""})),{manual:!0,onSuccess:e=>{let[,t]=e;t&&(k("none"),S.success("操作成功"))}}),{run:L}=(0,l.Z)(async()=>await (0,a.Vx)((0,a.Jr)()),{manual:!0,onSuccess:e=>{let[,t]=e;C(t||[]),t&&O(!0)}}),{run:D,loading:P}=(0,l.Z)(async()=>await (0,a.Vx)((0,a.Ty)({conv_id:E,round_index:0})),{manual:!0,onSuccess:()=>{S.success("操作成功")}});return(0,r.jsxs)("div",{className:"flex items-center text-sm",children:[(0,r.jsxs)("div",{className:"flex gap-3",children:[(0,r.jsx)(i.Z,{className:f()("cursor-pointer",{"text-[#0C75FC]":"like"===_}),onClick:async()=>{if("like"===_){await N();return}await I({feedback_type:"like"})}}),(0,r.jsx)(o.Z,{className:f()("cursor-pointer",{"text-[#0C75FC]":"unlike"===_}),onClick:async()=>{if("unlike"===_){await N();return}await L()}}),(0,r.jsx)(y.default,{open:A,setFeedbackOpen:O,list:x,feedback:I,loading:R})]}),(0,r.jsx)(u.Z,{type:"vertical"}),(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)(s.Z,{className:"cursor-pointer",onClick:()=>w(n.context)}),v.length-1===p&&"chat_agent"===T&&(0,r.jsx)(d.ZP,{loading:P,size:"small",onClick:async()=>{await D()},className:"text-xs",children:"终止话题"})]})]})}},56397:function(e,t,n){"use strict";n.r(t);var r=n(85893),a=n(48218),i=n(58638),o=n(31418),s=n(45030),l=n(20640),c=n.n(l),u=n(67294),d=n(73913);t.default=(0,u.memo)(()=>{var e;let{appInfo:t}=(0,u.useContext)(d.MobileChatContext),{message:n}=o.Z.useApp(),[l,p]=(0,u.useState)(0);if(!(null==t?void 0:t.app_code))return null;let f=async()=>{let e=c()("dingtalk://dingtalkclient/page/link?url=".concat(encodeURIComponent(location.href),"&pc_slide=true"));n[e?"success":"error"](e?"复制成功":"复制失败")};return l>6&&n.info(JSON.stringify(window.navigator.userAgent),2,()=>{p(0)}),(0,r.jsxs)("header",{className:"flex w-full items-center justify-between bg-[rgba(255,255,255,0.9)] border dark:bg-black dark:border-[rgba(255,255,255,0.6)] rounded-xl mx-auto px-4 py-2 mb-4 sticky top-4 z-50 mt-4 shadow-md",children:[(0,r.jsxs)("div",{className:"flex gap-2 items-center",onClick:()=>p(l+1),children:[(0,r.jsx)(a.Z,{scene:(null==t?void 0:null===(e=t.team_context)||void 0===e?void 0:e.chat_scene)||"chat_agent",width:8,height:8}),(0,r.jsxs)("div",{className:"flex flex-col ml-2",children:[(0,r.jsx)(s.Z.Text,{className:"text-md font-bold line-clamp-2",children:null==t?void 0:t.app_name}),(0,r.jsx)(s.Z.Text,{className:"text-sm line-clamp-2",children:null==t?void 0:t.app_describe})]})]}),(0,r.jsx)("div",{onClick:f,className:"flex items-center justify-center w-10 h-10 bg-[#ffffff99] dark:bg-[rgba(255,255,255,0.2)] border border-white dark:border-[rgba(255,255,255,0.2)] rounded-[50%] cursor-pointer",children:(0,r.jsx)(i.Z,{className:"text-lg"})})]})})},74638:function(e,t,n){"use strict";n.r(t);var r=n(85893),a=n(76212),i=n(62418),o=n(25519),s=n(30159),l=n(87740),c=n(50888),u=n(52645),d=n(27496),p=n(1375),f=n(65654),h=n(66309),m=n(55241),g=n(74330),b=n(25278),y=n(14726),E=n(93967),v=n.n(E),T=n(39332),S=n(67294),A=n(73913),O=n(7001),_=n(73749),k=n(97109),x=n(83454);let C=["magenta","orange","geekblue","purple","cyan","green"];t.default=()=>{var e,t;let n=(0,T.useSearchParams)(),E=null!==(t=null==n?void 0:n.get("ques"))&&void 0!==t?t:"",{history:w,model:I,scene:R,temperature:N,resource:L,conv_uid:D,appInfo:P,scrollViewRef:M,order:F,userInput:B,ctrl:j,canAbort:U,canNewChat:G,setHistory:H,setCanNewChat:$,setCarAbort:z,setUserInput:Z}=(0,S.useContext)(A.MobileChatContext),[W,V]=(0,S.useState)(!1),[Y,q]=(0,S.useState)(!1),K=async e=>{var t,n,r;Z(""),j.current=new AbortController;let a={chat_mode:R,model_name:I,user_input:e||B,conv_uid:D,temperature:N,app_code:null==P?void 0:P.app_code,...L&&{select_param:JSON.stringify(L)}};if(w&&w.length>0){let e=null==w?void 0:w.filter(e=>"view"===e.role);F.current=e[e.length-1].order+1}let s=[{role:"human",context:e||B,model_name:I,order:F.current,time_stamp:0},{role:"view",context:"",model_name:I,order:F.current,time_stamp:0,thinking:!0}],l=s.length-1;H([...w,...s]),$(!1);try{await (0,p.L)("".concat(null!==(t=x.env.API_BASE_URL)&&void 0!==t?t:"","/api/v1/chat/completions"),{method:"POST",headers:{"Content-Type":"application/json",[o.gp]:null!==(n=(0,i.n5)())&&void 0!==n?n:""},signal:j.current.signal,body:JSON.stringify(a),openWhenHidden:!0,async onopen(e){if(e.ok&&e.headers.get("content-type")===p.a)return},onclose(){var e;null===(e=j.current)||void 0===e||e.abort(),$(!0),z(!1)},onerror(e){throw Error(e)},onmessage:e=>{let t=e.data;try{t=JSON.parse(t).vis}catch(e){t.replaceAll("\\n","\n")}"[DONE]"===t?($(!0),z(!1)):(null==t?void 0:t.startsWith("[ERROR]"))?(s[l].context=null==t?void 0:t.replace("[ERROR]",""),s[l].thinking=!1,H([...w,...s]),$(!0),z(!1)):(z(!0),s[l].context=t,s[l].thinking=!1,H([...w,...s]))}})}catch(e){null===(r=j.current)||void 0===r||r.abort(),s[l].context="Sorry, we meet some error, please try again later.",s[l].thinking=!1,H([...s]),$(!0),z(!1)}},X=async()=>{B.trim()&&G&&await K()};(0,S.useEffect)(()=>{var e,t;null===(e=M.current)||void 0===e||e.scrollTo({top:null===(t=M.current)||void 0===t?void 0:t.scrollHeight,behavior:"auto"})},[w,M]);let Q=(0,S.useMemo)(()=>{if(!P)return[];let{param_need:e=[]}=P;return null==e?void 0:e.map(e=>e.type)},[P]),J=(0,S.useMemo)(()=>{var e;return 0===w.length&&P&&!!(null==P?void 0:null===(e=P.recommend_questions)||void 0===e?void 0:e.length)},[w,P]),{run:ee,loading:et}=(0,f.Z)(async()=>await (0,a.Vx)((0,a.zR)(D)),{manual:!0,onSuccess:()=>{H([])}});return(0,S.useEffect)(()=>{E&&I&&D&&P&&K(E)},[P,D,I,E]),(0,r.jsxs)("div",{className:"flex flex-col",children:[J&&(0,r.jsx)("ul",{children:null==P?void 0:null===(e=P.recommend_questions)||void 0===e?void 0:e.map((e,t)=>(0,r.jsx)("li",{className:"mb-3",children:(0,r.jsx)(h.Z,{color:C[t],className:"p-2 rounded-xl",onClick:async()=>{K(e.question)},children:e.question})},e.id))}),(0,r.jsxs)("div",{className:"flex items-center justify-between gap-1",children:[(0,r.jsxs)("div",{className:"flex gap-2 mb-1 w-full overflow-x-auto",children:[(null==Q?void 0:Q.includes("model"))&&(0,r.jsx)(O.default,{}),(null==Q?void 0:Q.includes("resource"))&&(0,r.jsx)(_.default,{}),(null==Q?void 0:Q.includes("temperature"))&&(0,r.jsx)(k.default,{})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between text-lg font-bold",children:[(0,r.jsx)(m.Z,{content:"暂停回复",trigger:["hover"],children:(0,r.jsx)(s.Z,{className:v()("p-2 cursor-pointer",{"text-[#0c75fc]":U,"text-gray-400":!U}),onClick:()=>{var e;U&&(null===(e=j.current)||void 0===e||e.abort(),setTimeout(()=>{z(!1),$(!0)},100))}})}),(0,r.jsx)(m.Z,{content:"再来一次",trigger:["hover"],children:(0,r.jsx)(l.Z,{className:v()("p-2 cursor-pointer",{"text-gray-400":!w.length||!G}),onClick:()=>{var e,t;if(!G||0===w.length)return;let n=null===(e=null===(t=w.filter(e=>"human"===e.role))||void 0===t?void 0:t.slice(-1))||void 0===e?void 0:e[0];K((null==n?void 0:n.context)||"")}})}),et?(0,r.jsx)(g.Z,{spinning:et,indicator:(0,r.jsx)(c.Z,{style:{fontSize:18},spin:!0}),className:"p-2"}):(0,r.jsx)(m.Z,{content:"清除历史",trigger:["hover"],children:(0,r.jsx)(u.Z,{className:v()("p-2 cursor-pointer",{"text-gray-400":!w.length||!G}),onClick:()=>{G&&ee()}})})]})]}),(0,r.jsxs)("div",{className:v()("flex py-2 px-3 items-center justify-between bg-white dark:bg-[#242733] dark:border-[#6f7f95] rounded-xl border",{"border-[#0c75fc] dark:border-[rgba(12,117,252,0.8)]":W}),children:[(0,r.jsx)(b.default.TextArea,{placeholder:"可以问我任何问题",className:"w-full resize-none border-0 p-0 focus:shadow-none",value:B,autoSize:{minRows:1},onKeyDown:e=>{if("Enter"===e.key&&!e.shiftKey){if(Y){e.preventDefault();return}B.trim()&&(e.preventDefault(),X())}},onChange:e=>{Z(e.target.value)},onFocus:()=>{V(!0)},onBlur:()=>V(!1),onCompositionStartCapture:()=>{q(!0)},onCompositionEndCapture:()=>{setTimeout(()=>{q(!1)},0)}}),(0,r.jsx)(y.ZP,{type:"primary",className:v()("flex items-center justify-center rounded-lg bg-button-gradient border-0 ml-2",{"opacity-40 cursor-not-allowed":!B.trim()||!G}),onClick:X,children:G?(0,r.jsx)(d.Z,{}):(0,r.jsx)(g.Z,{indicator:(0,r.jsx)(c.Z,{className:"text-white"})})})]})]})}},7001:function(e,t,n){"use strict";n.r(t);var r=n(85893),a=n(41468),i=n(39718),o=n(94668),s=n(85418),l=n(55241),c=n(67294),u=n(73913);t.default=()=>{let{modelList:e}=(0,c.useContext)(a.p),{model:t,setModel:n}=(0,c.useContext)(u.MobileChatContext),d=(0,c.useMemo)(()=>e.length>0?e.map(e=>({label:(0,r.jsxs)("div",{className:"flex items-center gap-2",onClick:()=>{n(e)},children:[(0,r.jsx)(i.Z,{width:14,height:14,model:e}),(0,r.jsx)("span",{className:"text-xs",children:e})]}),key:e})):[],[e,n]);return(0,r.jsx)(s.Z,{menu:{items:d},placement:"top",trigger:["click"],children:(0,r.jsx)(l.Z,{content:t,children:(0,r.jsxs)("div",{className:"flex items-center gap-1 border rounded-xl bg-white dark:bg-black p-2 flex-shrink-0",children:[(0,r.jsx)(i.Z,{width:16,height:16,model:t}),(0,r.jsx)("span",{className:"text-xs font-medium line-clamp-1",style:{maxWidth:96},children:t}),(0,r.jsx)(o.Z,{rotate:90})]})})})}},46568:function(e,t,n){"use strict";n.r(t);var r=n(85893),a=n(25675),i=n.n(a),o=n(67294);t.default=(0,o.memo)(e=>{let{width:t,height:n,src:a,label:o}=e;return(0,r.jsx)(i(),{width:t||14,height:n||14,src:a,alt:o||"db-icon",priority:!0})})},73749:function(e,t,n){"use strict";n.r(t);var r=n(85893),a=n(76212),i=n(57249),o=n(62418),s=n(50888),l=n(94668),c=n(83266),u=n(65654),d=n(74330),p=n(23799),f=n(85418),h=n(67294),m=n(73913),g=n(46568);t.default=()=>{let{appInfo:e,resourceList:t,scene:n,model:b,conv_uid:y,getChatHistoryRun:E,setResource:v,resource:T}=(0,h.useContext)(m.MobileChatContext),{temperatureValue:S,maxNewTokensValue:A}=(0,h.useContext)(i.ChatContentContext),[O,_]=(0,h.useState)(null),k=(0,h.useMemo)(()=>{var t,n,r;return null===(t=null==e?void 0:null===(n=e.param_need)||void 0===n?void 0:n.filter(e=>"resource"===e.type))||void 0===t?void 0:null===(r=t[0])||void 0===r?void 0:r.value},[e]),x=(0,h.useMemo)(()=>t&&t.length>0?t.map(e=>({label:(0,r.jsxs)("div",{className:"flex items-center gap-2",onClick:()=>{_(e),v(e.space_id||e.param)},children:[(0,r.jsx)(g.default,{width:14,height:14,src:o.S$[e.type].icon,label:o.S$[e.type].label}),(0,r.jsx)("span",{className:"text-xs",children:e.param})]}),key:e.space_id||e.param})):[],[t,v]),{run:C,loading:w}=(0,u.Z)(async e=>{let[,t]=await (0,a.Vx)((0,a.qn)({convUid:y,chatMode:n,data:e,model:b,temperatureValue:S,maxNewTokensValue:A,config:{timeout:36e5}}));return v(t),t},{manual:!0,onSuccess:async()=>{await E()}}),I=async e=>{let t=new FormData;t.append("doc_file",null==e?void 0:e.file),await C(t)},R=(0,h.useMemo)(()=>w?(0,r.jsxs)("div",{className:"flex items-center gap-1",children:[(0,r.jsx)(d.Z,{size:"small",indicator:(0,r.jsx)(s.Z,{spin:!0})}),(0,r.jsx)("span",{className:"text-xs",children:"上传中"})]}):T?(0,r.jsxs)("div",{className:"flex gap-1",children:[(0,r.jsx)("span",{className:"text-xs",children:T.file_name}),(0,r.jsx)(l.Z,{rotate:90})]}):(0,r.jsxs)("div",{className:"flex items-center gap-1",children:[(0,r.jsx)(c.Z,{className:"text-base"}),(0,r.jsx)("span",{className:"text-xs",children:"上传文件"})]}),[w,T]);return(0,r.jsx)(r.Fragment,{children:(()=>{switch(k){case"excel_file":case"text_file":case"image_file":return(0,r.jsx)("div",{className:"flex items-center justify-center gap-1 border rounded-xl bg-white dark:bg-black px-2 flex-shrink-0",children:(0,r.jsx)(p.default,{name:"file",accept:".xlsx,.xls",maxCount:1,showUploadList:!1,beforeUpload:()=>!1,onChange:I,className:"flex h-full w-full items-center justify-center",children:R})});case"database":case"knowledge":case"plugin":case"awel_flow":var e,n,a,i,s;if(!(null==t?void 0:t.length))return null;return(0,r.jsx)(f.Z,{menu:{items:x},placement:"top",trigger:["click"],children:(0,r.jsxs)("div",{className:"flex items-center gap-1 border rounded-xl bg-white dark:bg-black p-2 flex-shrink-0",children:[(0,r.jsx)(g.default,{width:14,height:14,src:null===(e=o.S$[(null==O?void 0:O.type)||(null==t?void 0:null===(n=t[0])||void 0===n?void 0:n.type)])||void 0===e?void 0:e.icon,label:null===(a=o.S$[(null==O?void 0:O.type)||(null==t?void 0:null===(i=t[0])||void 0===i?void 0:i.type)])||void 0===a?void 0:a.label}),(0,r.jsx)("span",{className:"text-xs font-medium",children:(null==O?void 0:O.param)||(null==t?void 0:null===(s=t[0])||void 0===s?void 0:s.param)}),(0,r.jsx)(l.Z,{rotate:90})]})})}})()})}},97109:function(e,t,n){"use strict";n.r(t);var r=n(85893),a=n(70065),i=n(85418),o=n(30568),s=n(67294),l=n(73913);t.default=()=>{let{temperature:e,setTemperature:t}=(0,s.useContext)(l.MobileChatContext),n=e=>{isNaN(e)||t(e)};return(0,r.jsx)(i.Z,{trigger:["click"],dropdownRender:()=>(0,r.jsx)("div",{className:"flex h-28 bg-white dark:bg-[rgba(255,255,255,0.5)] items-center justify-center rounded-xl py-3",children:(0,r.jsx)(o.Z,{defaultValue:.5,max:1,min:0,step:.1,vertical:!0,onChange:n,value:e})}),placement:"top",children:(0,r.jsxs)("div",{className:"flex items-center justify-between border rounded-xl bg-white dark:bg-black w-14 p-2 flex-shrink-0",children:[(0,r.jsx)(a.Z,{type:"icon-icons-temperature",className:"text-sm"}),(0,r.jsx)("span",{className:"text-xs font-medium",children:e})]})})}},73913:function(e,t,n){"use strict";n.r(t),n.d(t,{MobileChatContext:function(){return v}});var r=n(85893),a=n(41468),i=n(76212),o=n(2440),s=n(62418),l=n(25519),c=n(1375),u=n(65654),d=n(74330),p=n(5152),f=n.n(p),h=n(39332),m=n(67294),g=n(56397),b=n(74638),y=n(83454);let E=f()(()=>Promise.all([n.e(7034),n.e(6106),n.e(8674),n.e(3166),n.e(2837),n.e(2168),n.e(8163),n.e(1265),n.e(7728),n.e(4567),n.e(2398),n.e(9773),n.e(4035),n.e(1154),n.e(2510),n.e(3345),n.e(9202),n.e(5265),n.e(2640),n.e(3768),n.e(5789),n.e(6818)]).then(n.bind(n,36818)),{loadableGenerated:{webpack:()=>[36818]},ssr:!1}),v=(0,m.createContext)({model:"",temperature:.5,resource:null,setModel:()=>{},setTemperature:()=>{},setResource:()=>{},scene:"",history:[],setHistory:()=>{},scrollViewRef:{current:null},appInfo:{},conv_uid:"",resourceList:[],order:{current:1},handleChat:()=>Promise.resolve(),canAbort:!1,setCarAbort:()=>{},canNewChat:!1,setCanNewChat:()=>{},ctrl:{current:void 0},userInput:"",setUserInput:()=>{},getChatHistoryRun:()=>{}});t.default=()=>{var e,t;let n=(0,h.useSearchParams)(),p=null!==(e=null==n?void 0:n.get("chat_scene"))&&void 0!==e?e:"",f=null!==(t=null==n?void 0:n.get("app_code"))&&void 0!==t?t:"",{modelList:T}=(0,m.useContext)(a.p),[S,A]=(0,m.useState)([]),[O,_]=(0,m.useState)(""),[k,x]=(0,m.useState)(.5),[C,w]=(0,m.useState)(null),I=(0,m.useRef)(null),[R,N]=(0,m.useState)(""),[L,D]=(0,m.useState)(!1),[P,M]=(0,m.useState)(!0),F=(0,m.useRef)(),B=(0,m.useRef)(1),j=(0,o.Z)(),U=(0,m.useMemo)(()=>"".concat(null==j?void 0:j.user_no,"_").concat(f),[f,j]),{run:G,loading:H}=(0,u.Z)(async()=>await (0,i.Vx)((0,i.$i)("".concat(null==j?void 0:j.user_no,"_").concat(f))),{manual:!0,onSuccess:e=>{let[,t]=e,n=null==t?void 0:t.filter(e=>"view"===e.role);n&&n.length>0&&(B.current=n[n.length-1].order+1),A(t||[])}}),{data:$,run:z,loading:Z}=(0,u.Z)(async e=>{let[,t]=await (0,i.Vx)((0,i.BN)(e));return null!=t?t:{}},{manual:!0}),{run:W,data:V,loading:Y}=(0,u.Z)(async()=>{var e,t;let[,n]=await (0,i.Vx)((0,i.vD)(p));return w((null==n?void 0:null===(e=n[0])||void 0===e?void 0:e.space_id)||(null==n?void 0:null===(t=n[0])||void 0===t?void 0:t.param)),null!=n?n:[]},{manual:!0}),{run:q,loading:K}=(0,u.Z)(async()=>{let[,e]=await (0,i.Vx)((0,i.iP)());return null!=e?e:[]},{manual:!0,onSuccess:e=>{var t;let n=null===(t=null==e?void 0:e.filter(e=>e.conv_uid===U))||void 0===t?void 0:t[0];(null==n?void 0:n.select_param)&&w(JSON.parse(null==n?void 0:n.select_param))}});(0,m.useEffect)(()=>{p&&f&&T.length&&z({chat_scene:p,app_code:f})},[f,p,z,T]),(0,m.useEffect)(()=>{f&&G()},[f]),(0,m.useEffect)(()=>{if(T.length>0){var e,t,n;let r=null===(e=null==$?void 0:null===(t=$.param_need)||void 0===t?void 0:t.filter(e=>"model"===e.type))||void 0===e?void 0:null===(n=e[0])||void 0===n?void 0:n.value;_(r||T[0])}},[T,$]),(0,m.useEffect)(()=>{var e,t,n;let r=null===(e=null==$?void 0:null===(t=$.param_need)||void 0===t?void 0:t.filter(e=>"temperature"===e.type))||void 0===e?void 0:null===(n=e[0])||void 0===n?void 0:n.value;x(r||.5)},[$]),(0,m.useEffect)(()=>{if(p&&(null==$?void 0:$.app_code)){var e,t,n,r,a,i;let o=null===(e=null==$?void 0:null===(t=$.param_need)||void 0===t?void 0:t.filter(e=>"resource"===e.type))||void 0===e?void 0:null===(n=e[0])||void 0===n?void 0:n.value,s=null===(r=null==$?void 0:null===(a=$.param_need)||void 0===a?void 0:a.filter(e=>"resource"===e.type))||void 0===r?void 0:null===(i=r[0])||void 0===i?void 0:i.bind_value;s&&w(s),["database","knowledge","plugin","awel_flow"].includes(o)&&!s&&W()}},[$,p,W]);let X=async e=>{var t,n,r;N(""),F.current=new AbortController;let a={chat_mode:p,model_name:O,user_input:e||R,conv_uid:U,temperature:k,app_code:null==$?void 0:$.app_code,...C&&{select_param:C}};if(S&&S.length>0){let e=null==S?void 0:S.filter(e=>"view"===e.role);B.current=e[e.length-1].order+1}let i=[{role:"human",context:e||R,model_name:O,order:B.current,time_stamp:0},{role:"view",context:"",model_name:O,order:B.current,time_stamp:0,thinking:!0}],o=i.length-1;A([...S,...i]),M(!1);try{await (0,c.L)("".concat(null!==(t=y.env.API_BASE_URL)&&void 0!==t?t:"","/api/v1/chat/completions"),{method:"POST",headers:{"Content-Type":"application/json",[l.gp]:null!==(n=(0,s.n5)())&&void 0!==n?n:""},signal:F.current.signal,body:JSON.stringify(a),openWhenHidden:!0,async onopen(e){if(e.ok&&e.headers.get("content-type")===c.a)return},onclose(){var e;null===(e=F.current)||void 0===e||e.abort(),M(!0),D(!1)},onerror(e){throw Error(e)},onmessage:e=>{let t=e.data;try{t=JSON.parse(t).vis}catch(e){t.replaceAll("\\n","\n")}"[DONE]"===t?(M(!0),D(!1)):(null==t?void 0:t.startsWith("[ERROR]"))?(i[o].context=null==t?void 0:t.replace("[ERROR]",""),i[o].thinking=!1,A([...S,...i]),M(!0),D(!1)):(D(!0),i[o].context=t,i[o].thinking=!1,A([...S,...i]))}})}catch(e){null===(r=F.current)||void 0===r||r.abort(),i[o].context="Sorry, we meet some error, please try again later.",i[o].thinking=!1,A([...i]),M(!0),D(!1)}};return(0,m.useEffect)(()=>{p&&"chat_agent"!==p&&q()},[p,q]),(0,r.jsx)(v.Provider,{value:{model:O,resource:C,setModel:_,setTemperature:x,setResource:w,temperature:k,appInfo:$,conv_uid:U,scene:p,history:S,scrollViewRef:I,setHistory:A,resourceList:V,order:B,handleChat:X,setCanNewChat:M,ctrl:F,canAbort:L,setCarAbort:D,canNewChat:P,userInput:R,setUserInput:N,getChatHistoryRun:G},children:(0,r.jsx)(d.Z,{size:"large",className:"flex h-screen w-screen justify-center items-center max-h-screen",spinning:H||Z||Y||K,children:(0,r.jsxs)("div",{className:"flex flex-col h-screen bg-gradient-light dark:bg-gradient-dark p-4 pt-0",children:[(0,r.jsxs)("div",{ref:I,className:"flex flex-col flex-1 overflow-y-auto mb-3",children:[(0,r.jsx)(g.default,{}),(0,r.jsx)(E,{})]}),(null==$?void 0:$.app_code)&&(0,r.jsx)(b.default,{})]})})})}},59178:function(){},5152:function(e,t,n){e.exports=n(50948)},89435:function(e){"use strict";var t;e.exports=function(e){var n,r="&"+e+";";return(t=t||document.createElement("i")).innerHTML=r,(59!==(n=t.textContent).charCodeAt(n.length-1)||"semi"===e)&&n!==r&&n}},57574:function(e,t,n){"use strict";var r=n(21922),a=n(93580),i=n(46195),o=n(79480),s=n(7961),l=n(89435);e.exports=function(e,t){var n,i,o={};for(i in t||(t={}),p)n=t[i],o[i]=null==n?p[i]:n;return(o.position.indent||o.position.start)&&(o.indent=o.position.indent||[],o.position=o.position.start),function(e,t){var n,i,o,p,E,v,T,S,A,O,_,k,x,C,w,I,R,N,L,D,P,M=t.additional,F=t.nonTerminated,B=t.text,j=t.reference,U=t.warning,G=t.textContext,H=t.referenceContext,$=t.warningContext,z=t.position,Z=t.indent||[],W=e.length,V=0,Y=-1,q=z.column||1,K=z.line||1,X="",Q=[];for("string"==typeof M&&(M=M.charCodeAt(0)),N=J(),O=U?function(e,t){var n=J();n.column+=t,n.offset+=t,U.call($,y[e],n,e)}:d,V--,W++;++V=55296&&n<=57343||n>1114111?(O(7,D),S=u(65533)):S in a?(O(6,D),S=a[S]):(k="",((i=S)>=1&&i<=8||11===i||i>=13&&i<=31||i>=127&&i<=159||i>=64976&&i<=65007||(65535&i)==65535||(65535&i)==65534)&&O(6,D),S>65535&&(S-=65536,k+=u(S>>>10|55296),S=56320|1023&S),S=k+u(S))):I!==f&&O(4,D)),S?(ee(),N=J(),V=P-1,q+=P-w+1,Q.push(S),L=J(),L.offset++,j&&j.call(H,S,{start:N,end:L},e.slice(w-1,P)),N=L):(X+=v=e.slice(w-1,P),q+=v.length,V=P-1)}else 10===T&&(K++,Y++,q=0),T==T?(X+=u(T),q++):ee();return Q.join("");function J(){return{line:K,column:q,offset:V+(z.offset||0)}}function ee(){X&&(Q.push(X),B&&B.call(G,X,{start:N,end:J()}),X="")}}(e,o)};var c={}.hasOwnProperty,u=String.fromCharCode,d=Function.prototype,p={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},f="named",h="hexadecimal",m="decimal",g={};g[h]=16,g[m]=10;var b={};b[f]=s,b[m]=i,b[h]=o;var y={};y[1]="Named character references must be terminated by a semicolon",y[2]="Numeric character references must be terminated by a semicolon",y[3]="Named character references cannot be empty",y[4]="Numeric character references cannot be empty",y[5]="Named character references must be known",y[6]="Numeric character references cannot be disallowed",y[7]="Numeric character references cannot be outside the permissible Unicode range"},11215:function(e,t,n){"use strict";var r,a,i="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof n.g?n.g:{},o=(a=(r="Prism"in i)?i.Prism:void 0,function(){r?i.Prism=a:delete i.Prism,r=void 0,a=void 0});i.Prism={manual:!0,disableWorkerMessageHandler:!0};var s=n(31742),l=n(57574),c=n(59216),u=n(2717),d=n(12049),p=n(29726),f=n(36155);o();var h={}.hasOwnProperty;function m(){}m.prototype=c;var g=new m;function b(e){if("function"!=typeof e||!e.displayName)throw Error("Expected `function` for `grammar`, got `"+e+"`");void 0===g.languages[e.displayName]&&e(g)}e.exports=g,g.highlight=function(e,t){var n,r=c.highlight;if("string"!=typeof e)throw Error("Expected `string` for `value`, got `"+e+"`");if("Object"===g.util.type(t))n=t,t=null;else{if("string"!=typeof t)throw Error("Expected `string` for `name`, got `"+t+"`");if(h.call(g.languages,t))n=g.languages[t];else throw Error("Unknown language: `"+t+"` is not registered")}return r.call(this,e,n,t)},g.register=b,g.alias=function(e,t){var n,r,a,i,o=g.languages,s=e;for(n in t&&((s={})[e]=t),s)for(a=(r="string"==typeof(r=s[n])?[r]:r).length,i=-1;++i]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}e.exports=t,t.displayName="abap",t.aliases=[]},68313:function(e){"use strict";function t(e){var t;t="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)",e.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+t+"|<"+t+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}}e.exports=t,t.displayName="abnf",t.aliases=[]},21207:function(e){"use strict";function t(e){e.languages.actionscript=e.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),e.languages.actionscript["class-name"].alias="function",delete e.languages.actionscript.parameter,delete e.languages.actionscript["literal-property"],e.languages.markup&&e.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:e.languages.markup}})}e.exports=t,t.displayName="actionscript",t.aliases=[]},89693:function(e){"use strict";function t(e){e.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}e.exports=t,t.displayName="ada",t.aliases=[]},24001:function(e){"use strict";function t(e){e.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}⦃⦄.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:∀→λ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}}e.exports=t,t.displayName="agda",t.aliases=[]},18018:function(e){"use strict";function t(e){e.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}e.exports=t,t.displayName="al",t.aliases=[]},36363:function(e){"use strict";function t(e){e.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]},{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},e.languages.g4=e.languages.antlr4}e.exports=t,t.displayName="antlr4",t.aliases=["g4"]},35281:function(e){"use strict";function t(e){e.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}e.exports=t,t.displayName="apacheconf",t.aliases=[]},10433:function(e,t,n){"use strict";var r=n(11114);function a(e){e.register(r),function(e){var t=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,n=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(//g,function(){return t.source});function r(e){return RegExp(e.replace(//g,function(){return n}),"i")}var a={keyword:t,punctuation:/[()\[\]{};,:.<>]/};e.languages.apex={comment:e.languages.clike.comment,string:e.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:e.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:r(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)/.source),lookbehind:!0,inside:a},{pattern:r(/(\(\s*)(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:a},{pattern:r(/(?=\s*\w+\s*[;=,(){:])/.source),inside:a}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:t,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(e)}e.exports=a,a.displayName="apex",a.aliases=[]},84039:function(e){"use strict";function t(e){e.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/⎕[A-Z]+/i,alias:"function"},constant:/[⍬⌾#⎕⍞]/,function:/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,"monadic-operator":{pattern:/[\\\/⌿⍀¨⍨⌶&∥]/,alias:"operator"},"dyadic-operator":{pattern:/[.⍣⍠⍤∘⌸@⌺⍥]/,alias:"operator"},assignment:{pattern:/←/,alias:"keyword"},punctuation:/[\[;\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:"builtin"}}}e.exports=t,t.displayName="apl",t.aliases=[]},71336:function(e){"use strict";function t(e){e.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=≠≤≥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»《》]/}}e.exports=t,t.displayName="applescript",t.aliases=[]},4481:function(e){"use strict";function t(e){e.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}e.exports=t,t.displayName="aql",t.aliases=[]},2159:function(e,t,n){"use strict";var r=n(80096);function a(e){e.register(r),e.languages.arduino=e.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),e.languages.ino=e.languages.arduino}e.exports=a,a.displayName="arduino",a.aliases=["ino"]},60274:function(e){"use strict";function t(e){e.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}e.exports=t,t.displayName="arff",t.aliases=[]},18738:function(e){"use strict";function t(e){!function(e){var t={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},n=e.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:t,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:t.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:t,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function r(e){e=e.split(" ");for(var t={},r=0,a=e.length;r>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}e.exports=t,t.displayName="asmatmel",t.aliases=[]},78734:function(e,t,n){"use strict";var r=n(61958);function a(e){e.register(r),e.languages.aspnet=e.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:e.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:e.languages.csharp}}}),e.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,e.languages.insertBefore("inside","punctuation",{directive:e.languages.aspnet.directive},e.languages.aspnet.tag.inside["attr-value"]),e.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),e.languages.insertBefore("aspnet",e.languages.javascript?"script":"tag",{"asp-script":{pattern:/(]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:e.languages.csharp||{}}})}e.exports=a,a.displayName="aspnet",a.aliases=[]},6681:function(e){"use strict";function t(e){e.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegView|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}e.exports=t,t.displayName="autohotkey",t.aliases=[]},53358:function(e){"use strict";function t(e){e.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}e.exports=t,t.displayName="autoit",t.aliases=[]},81700:function(e){"use strict";function t(e){!function(e){function t(e,t,n){return RegExp(e.replace(/<<(\d+)>>/g,function(e,n){return t[+n]}),n||"")}var n=/bool|clip|float|int|string|val/.source,r=[[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|")].join("|");e.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:t(/\b(?:<<0>>)\s+("?)\w+\1/.source,[n],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:t(/\b(?:<<0>>)\b/.source,[r],"i"),alias:"function"},"type-cast":{pattern:t(/\b(?:<<0>>)(?=\s*\()/.source,[n],"i"),alias:"keyword"},function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},e.languages.avs=e.languages.avisynth}(e)}e.exports=t,t.displayName="avisynth",t.aliases=["avs"]},37219:function(e){"use strict";function t(e){e.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},e.languages.avdl=e.languages["avro-idl"]}e.exports=t,t.displayName="avroIdl",t.aliases=[]},6979:function(e){"use strict";function t(e){!function(e){var t="\\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",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),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("(\\{)"+t),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})/};e.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;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.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}},n.inside=e.languages.bash;for(var a=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],i=r.variable[1].inside,o=0;o?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}e.exports=t,t.displayName="basic",t.aliases=[]},94781:function(e){"use strict";function t(e){var t,n,r,a;t=/%%?[~:\w]+%?|!\S+!/,n={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},r=/"(?:[\\"]"|[^"])*"(?!")/,a=/(?:\b|-)\d+\b/,e.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:r,parameter:n,variable:t,number:a,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:r,parameter:n,variable:t,number:a,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:r,parameter:n,variable:[t,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:a,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:r,parameter:n,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:t,number:a,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}}e.exports=t,t.displayName="batch",t.aliases=[]},62260:function(e){"use strict";function t(e){e.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},e.languages.shortcode=e.languages.bbcode}e.exports=t,t.displayName="bbcode",t.aliases=["shortcode"]},36153:function(e){"use strict";function t(e){e.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},e.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=e.languages.bicep}e.exports=t,t.displayName="bicep",t.aliases=[]},59258:function(e){"use strict";function t(e){e.languages.birb=e.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),e.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}e.exports=t,t.displayName="birb",t.aliases=[]},62890:function(e,t,n){"use strict";var r=n(65806);function a(e){e.register(r),e.languages.bison=e.languages.extend("c",{}),e.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:e.languages.c}},comment:e.languages.c.comment,string:e.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}e.exports=a,a.displayName="bison",a.aliases=[]},15958:function(e){"use strict";function t(e){e.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},e.languages.rbnf=e.languages.bnf}e.exports=t,t.displayName="bnf",t.aliases=["rbnf"]},61321:function(e){"use strict";function t(e){e.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}e.exports=t,t.displayName="brainfuck",t.aliases=[]},77856:function(e){"use strict";function t(e){e.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},e.languages.brightscript["directive-statement"].inside.expression.inside=e.languages.brightscript}e.exports=t,t.displayName="brightscript",t.aliases=[]},90741:function(e){"use strict";function t(e){e.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="bro",t.aliases=[]},83410:function(e){"use strict";function t(e){e.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|для|новый|прервать|попытка|исключение|вызватьисключение|иначе|конецпопытки|неопределено|функция|перем|возврат|конецфункции|если|иначеесли|процедура|конецпроцедуры|тогда|знач|экспорт|конецесли|из|каждого|истина|ложь|по|цикл|конеццикла|выполнить)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},e.languages.oscript=e.languages.bsl}e.exports=t,t.displayName="bsl",t.aliases=[]},65806:function(e){"use strict";function t(e){e.languages.c=e.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),e.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),e.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},e.languages.c.string],char:e.languages.c.char,comment:e.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:e.languages.c}}}}),e.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete e.languages.c.boolean}e.exports=t,t.displayName="c",t.aliases=[]},33039:function(e){"use strict";function t(e){e.languages.cfscript=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),e.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete e.languages.cfscript["class-name"],e.languages.cfc=e.languages.cfscript}e.exports=t,t.displayName="cfscript",t.aliases=[]},85082:function(e,t,n){"use strict";var r=n(80096);function a(e){e.register(r),e.languages.chaiscript=e.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[e.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),e.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),e.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}e.exports=a,a.displayName="chaiscript",a.aliases=[]},79415:function(e){"use strict";function t(e){e.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}e.exports=t,t.displayName="cil",t.aliases=[]},29726:function(e){"use strict";function t(e){e.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="clike",t.aliases=[]},62849:function(e){"use strict";function t(e){e.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}e.exports=t,t.displayName="clojure",t.aliases=[]},55773:function(e){"use strict";function t(e){e.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_GENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}e.exports=t,t.displayName="cmake",t.aliases=[]},32762:function(e){"use strict";function t(e){e.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAGE|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}e.exports=t,t.displayName="cobol",t.aliases=[]},43576:function(e){"use strict";function t(e){var t,n;t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"},e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}e.exports=t,t.displayName="coffeescript",t.aliases=["coffee"]},71794:function(e){"use strict";function t(e){e.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},e.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:e.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:e.languages.concurnas},string:/[\s\S]+/}}}),e.languages.conc=e.languages.concurnas}e.exports=t,t.displayName="concurnas",t.aliases=["conc"]},1315:function(e){"use strict";function t(e){!function(e){for(var t=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|)*\*\)/.source,n=0;n<2;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,"[]"),e.languages.coq={comment:RegExp(t),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|)*\]/.source.replace(//g,function(){return t})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(t),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}}(e)}e.exports=t,t.displayName="coq",t.aliases=[]},80096:function(e,t,n){"use strict";var r=n(65806);function a(e){var t,n;e.register(r),t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return t.source}),e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return t.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return n})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}e.exports=a,a.displayName="cpp",a.aliases=[]},99176:function(e,t,n){"use strict";var r=n(56939);function a(e){e.register(r),e.languages.crystal=e.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,e.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),e.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:e.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:e.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\})))'/,greedy:!0}})}e.exports=a,a.displayName="crystal",a.aliases=[]},61958:function(e){"use strict";function t(e){!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,function(e,n){return"(?:"+t[+n]+")"})}function n(e,n,r){return RegExp(t(e,n),r||"")}function r(e,t){for(var n=0;n>/g,function(){return"(?:"+e+")"});return e.replace(/<>/g,"[^\\s\\S]")}var a={type:"bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",typeDeclaration:"class enum interface record struct",contextual:"add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",other:"abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield"};function i(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var o=i(a.typeDeclaration),s=RegExp(i(a.type+" "+a.typeDeclaration+" "+a.contextual+" "+a.other)),l=i(a.typeDeclaration+" "+a.contextual+" "+a.other),c=i(a.type+" "+a.typeDeclaration+" "+a.other),u=r(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),d=r(/\((?:[^()]|<>)*\)/.source,2),p=/@?\b[A-Za-z_]\w*\b/.source,f=t(/<<0>>(?:\s*<<1>>)?/.source,[p,u]),h=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[l,f]),m=/\[\s*(?:,\s*)*\]/.source,g=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[h,m]),b=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[u,d,m]),y=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[b]),E=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[y,h,m]),v={keyword:s,punctuation:/[<>()?,.:[\]]/},T=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,S=/"(?:\\.|[^\\"\r\n])*"/.source,A=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[A]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[S]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[h]),lookbehind:!0,inside:v},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[p,E]),lookbehind:!0,inside:v},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[p]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[o,f]),lookbehind:!0,inside:v},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[h]),lookbehind:!0,inside:v},{pattern:n(/(\bwhere\s+)<<0>>/.source,[p]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[g]),lookbehind:!0,inside:v},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[E,c,p]),inside:v}],keyword:s,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[p]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[p]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[d]),lookbehind:!0,alias:"class-name",inside:v},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[E,h]),inside:v,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[E]),lookbehind:!0,inside:v,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[p,u]),inside:{function:n(/^<<0>>/.source,[p]),generic:{pattern:RegExp(u),alias:"class-name",inside:v}}},"type-list":{pattern:n(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[o,f,p,E,s.source,d,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[f,d]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:s,"class-name":{pattern:RegExp(E),greedy:!0,inside:v},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var O=S+"|"+T,_=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[O]),k=r(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[_]),2),x=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,C=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[h,k]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[x,C]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[x]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[k]),inside:e.languages.csharp},"class-name":{pattern:RegExp(h),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var w=/:[^}\r\n]+/.source,I=r(t(/[^"'/()]|<<0>>|\(<>*\)/.source,[_]),2),R=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[I,w]),N=r(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[O]),2),L=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[N,w]);function D(t,r){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[r,w]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[R]),lookbehind:!0,greedy:!0,inside:D(R,I)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[L]),lookbehind:!0,greedy:!0,inside:D(L,N)}],char:{pattern:RegExp(T),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.languages.csharp}(e)}e.exports=t,t.displayName="csharp",t.aliases=["dotnet","cs"]},90312:function(e,t,n){"use strict";var r=n(61958);function a(e){e.register(r),function(e){var t=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,n=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function r(e,r){for(var a=0;a/g,function(){return"(?:"+e+")"});return e.replace(//g,"[^\\s\\S]").replace(//g,"(?:"+n+")").replace(//g,"(?:"+t+")")}var a=r(/\((?:[^()'"@/]|||)*\)/.source,2),i=r(/\[(?:[^\[\]'"@/]|||)*\]/.source,2),o=r(/\{(?:[^{}'"@/]|||)*\}/.source,2),s=r(/<(?:[^<>'"@/]|||)*>/.source,2),l=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,c=/(?!\d)[^\s>\/=$<%]+/.source+l+/\s*\/?>/.source,u=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+l+/\s*>/.source+"(?:"+(/[^<]/.source+"|"+/<\/?(?!\1\b)/.source)+c+"|"+r(/<\1/.source+l+/\s*>/.source+"(?:"+(/[^<]/.source+"|")+/<\/?(?!\1\b)/.source+c+"|)*"+/<\/\1\s*>/.source,2)+")*"+/<\/\1\s*>/.source+"|"+/|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var r={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},a={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:a,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,number:a})}(e)}e.exports=t,t.displayName="cssExtras",t.aliases=[]},12049:function(e){"use strict";function t(e){var t,n;t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,e.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\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,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:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css,(n=e.languages.markup)&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}e.exports=t,t.displayName="css",t.aliases=[]},78090:function(e){"use strict";function t(e){e.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}e.exports=t,t.displayName="csv",t.aliases=[]},40315:function(e){"use strict";function t(e){e.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}e.exports=t,t.displayName="cypher",t.aliases=[]},7902:function(e){"use strict";function t(e){e.languages.d=e.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),e.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),e.languages.insertBefore("d","keyword",{property:/\B@\w*/}),e.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}e.exports=t,t.displayName="d",t.aliases=[]},28651:function(e){"use strict";function t(e){var t,n,r;t=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],r={pattern:RegExp((n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source)+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}},e.languages.dart=e.languages.extend("clike",{"class-name":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.inside}],keyword:t,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),e.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.dart}}},string:/[\s\S]+/}},string:void 0}),e.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),e.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})}e.exports=t,t.displayName="dart",t.aliases=[]},55579:function(e){"use strict";function t(e){e.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}}e.exports=t,t.displayName="dataweave",t.aliases=[]},93685:function(e){"use strict";function t(e){e.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}e.exports=t,t.displayName="dax",t.aliases=[]},13934:function(e){"use strict";function t(e){e.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},e.languages.dhall.string.inside.interpolation.inside.expression.inside=e.languages.dhall}e.exports=t,t.displayName="dhall",t.aliases=[]},93336:function(e){"use strict";function t(e){var t;e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]},Object.keys(t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"}).forEach(function(n){var r=t[n],a=[];/^\w+$/.test(n)||a.push(/\w+/.exec(n)[0]),"diff"===n&&a.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:a,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}}),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}e.exports=t,t.displayName="diff",t.aliases=[]},13294:function(e,t,n){"use strict";var r=n(93205);function a(e){var t,n;e.register(r),e.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/},t=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,n=e.languages["markup-templating"],e.hooks.add("before-tokenize",function(e){n.buildPlaceholders(e,"django",t)}),e.hooks.add("after-tokenize",function(e){n.tokenizePlaceholders(e,"django")}),e.languages.jinja2=e.languages.django,e.hooks.add("before-tokenize",function(e){n.buildPlaceholders(e,"jinja2",t)}),e.hooks.add("after-tokenize",function(e){n.tokenizePlaceholders(e,"jinja2")})}e.exports=a,a.displayName="django",a.aliases=["jinja2"]},38223:function(e){"use strict";function t(e){e.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},e.languages["dns-zone"]=e.languages["dns-zone-file"]}e.exports=t,t.displayName="dnsZoneFile",t.aliases=[]},97266:function(e){"use strict";function t(e){!function(e){var t=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,n=/(?:[ \t]+(?![ \t])(?:)?|)/.source.replace(//g,function(){return t}),r=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,a=/--[\w-]+=(?:|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(//g,function(){return r}),i={pattern:RegExp(r),greedy:!0},o={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function s(e,t){return RegExp(e=e.replace(//g,function(){return a}).replace(//g,function(){return n}),t)}e.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:s(/(^(?:ONBUILD)?\w+)(?:)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[i,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:s(/(^(?:ONBUILD)?HEALTHCHECK(?:)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^(?:ONBUILD)?FROM(?:)*(?!--)[^ \t\\]+)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^ONBUILD)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:o,string:i,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:o},e.languages.dockerfile=e.languages.docker}(e)}e.exports=t,t.displayName="docker",t.aliases=["dockerfile"]},77125:function(e){"use strict";function t(e){!function(e){var t="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!)*>/.source].join("|")+")",n={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:e.languages.markup}};function r(e,n){return RegExp(e.replace(//g,function(){return t}),n)}e.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:r(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:n},"attr-value":{pattern:r(/(=[ \t\r\n]*)/.source),lookbehind:!0,greedy:!0,inside:n},"attr-name":{pattern:r(/([\[;, \t\r\n])(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:n},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:r(/(^|[^-.\w\x80-\uFFFF\\])/.source),lookbehind:!0,greedy:!0,inside:n},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},e.languages.gv=e.languages.dot}(e)}e.exports=t,t.displayName="dot",t.aliases=["gv"]},36500:function(e){"use strict";function t(e){e.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}e.exports=t,t.displayName="ebnf",t.aliases=[]},30296:function(e){"use strict";function t(e){e.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}e.exports=t,t.displayName="editorconfig",t.aliases=[]},50115:function(e){"use strict";function t(e){e.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}e.exports=t,t.displayName="eiffel",t.aliases=[]},20791:function(e,t,n){"use strict";var r=n(93205);function a(e){e.register(r),e.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:e.languages.javascript}},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"ejs",/<%(?!%)[\s\S]+?%>/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"ejs")}),e.languages.eta=e.languages.ejs}e.exports=a,a.displayName="ejs",a.aliases=["eta"]},11974:function(e){"use strict";function t(e){e.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0},regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},e.languages.elixir.string.forEach(function(t){t.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:e.languages.elixir}}}})}e.exports=t,t.displayName="elixir",t.aliases=[]},8645:function(e){"use strict";function t(e){e.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}e.exports=t,t.displayName="elm",t.aliases=[]},84790:function(e,t,n){"use strict";var r=n(56939),a=n(93205);function i(e){e.register(r),e.register(a),e.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:e.languages.ruby}},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"erb",/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"erb")})}e.exports=i,i.displayName="erb",i.aliases=[]},4502:function(e){"use strict";function t(e){e.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}e.exports=t,t.displayName="erlang",t.aliases=[]},66055:function(e,t,n){"use strict";var r=n(59803),a=n(93205);function i(e){e.register(r),e.register(a),e.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:e.languages.lua}},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"etlua",/<%[\s\S]+?%>/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"etlua")})}e.exports=i,i.displayName="etlua",i.aliases=[]},34668:function(e){"use strict";function t(e){e.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}},"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"keyword"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"property",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"property"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},e.languages.xlsx=e.languages.xls=e.languages["excel-formula"]}e.exports=t,t.displayName="excelFormula",t.aliases=[]},95126:function(e){"use strict";function t(e){var t,n,r,a,i,o;r={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:t={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/}},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:t},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:t}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:(n={number:/\\[^\s']|%\w/}).number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:n},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:n}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:n}},a=function(e){return(e+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},i=function(e){return RegExp("(^|\\s)(?:"+e.map(a).join("|")+")(?=\\s|$)")},Object.keys(o={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated",">>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]}).forEach(function(e){r[e].pattern=i(o[e])}),r.combinators.pattern=i(["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","inputsequence"]),e.languages.factor=r}e.exports=t,t.displayName="factor",t.aliases=[]},90618:function(e){"use strict";function t(e){e.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~ßø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete e.languages["firestore-security-rules"]["class-name"],e.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}e.exports=t,t.displayName="firestoreSecurityRules",t.aliases=[]},37225:function(e){"use strict";function t(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),e.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}e.exports=t,t.displayName="flow",t.aliases=[]},16725:function(e){"use strict";function t(e){e.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}e.exports=t,t.displayName="fortran",t.aliases=[]},95559:function(e){"use strict";function t(e){e.languages.fsharp=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),e.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),e.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),e.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:e.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}e.exports=t,t.displayName="fsharp",t.aliases=[]},82114:function(e,t,n){"use strict";var r=n(93205);function a(e){e.register(r),function(e){for(var t=/[^<()"']|\((?:)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,n=0;n<2;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,/[^\s\S]/.source);var r={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:))*\})*\1/.source.replace(//g,function(){return t})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:))*\}/.source.replace(//g,function(){return t})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};r.string[1].inside.interpolation.inside.rest=r,e.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:r}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:r}}}},e.hooks.add("before-tokenize",function(n){var r=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:)*?>|\$\{(?:)*?\}/.source.replace(//g,function(){return t}),"gi");e.languages["markup-templating"].buildPlaceholders(n,"ftl",r)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"ftl")})}(e)}e.exports=a,a.displayName="ftl",a.aliases=[]},6806:function(e){"use strict";function t(e){e.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},e.languages.gap.shell.inside.gap.inside=e.languages.gap}e.exports=t,t.displayName="gap",t.aliases=[]},12208:function(e){"use strict";function t(e){e.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}e.exports=t,t.displayName="gcode",t.aliases=[]},62728:function(e){"use strict";function t(e){e.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}e.exports=t,t.displayName="gdscript",t.aliases=[]},81549:function(e){"use strict";function t(e){e.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}e.exports=t,t.displayName="gedcom",t.aliases=[]},6024:function(e){"use strict";function t(e){var t;t=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source,e.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|Lastnost|Mak|Mogucnost|laH|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+t+")(?:"+t+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(t),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|E|En|Entonces|Epi|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}}e.exports=t,t.displayName="gherkin",t.aliases=[]},13600:function(e){"use strict";function t(e){e.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}e.exports=t,t.displayName="git",t.aliases=[]},3322:function(e,t,n){"use strict";var r=n(65806);function a(e){e.register(r),e.languages.glsl=e.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}e.exports=a,a.displayName="glsl",a.aliases=[]},53877:function(e){"use strict";function t(e){e.languages.gamemakerlanguage=e.languages.gml=e.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}e.exports=t,t.displayName="gml",t.aliases=[]},60794:function(e){"use strict";function t(e){e.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},e.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=e.languages.gn,e.languages.gni=e.languages.gn}e.exports=t,t.displayName="gn",t.aliases=["gni"]},20222:function(e){"use strict";function t(e){e.languages["go-mod"]=e.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}e.exports=t,t.displayName="goModule",t.aliases=[]},51519:function(e){"use strict";function t(e){e.languages.go=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),e.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete e.languages.go["class-name"]}e.exports=t,t.displayName="go",t.aliases=[]},94055:function(e){"use strict";function t(e){e.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:e.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+/},e.hooks.add("after-tokenize",function(e){if("graphql"===e.language)for(var t=e.tokens.filter(function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type}),n=0;n0)){var s=d(/^\{$/,/^\}$/);if(-1===s)continue;for(var l=n;l=0&&p(c,"variable-input")}}}}function u(e,r){r=r||0;for(var a=0;a]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),e.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),e.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),e.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),e.hooks.add("wrap",function(t){if("groovy"===t.language&&"string"===t.type){var n=t.content.value[0];if("'"!=n){var r=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;"$"===n&&(r=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),t.content.value=t.content.value.replace(/</g,"<").replace(/&/g,"&"),t.content=e.highlight(t.content.value,{expression:{pattern:r,lookbehind:!0,inside:e.languages.groovy}}),t.classes.push("/"===n?"regex":"gstring")}}})}e.exports=t,t.displayName="groovy",t.aliases=[]},29536:function(e,t,n){"use strict";var r=n(56939);function a(e){e.register(r),function(e){e.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:e.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:e.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:e.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:e.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:e.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:e.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:e.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var t=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],n={},r=0,a=t.length;r@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"handlebars",/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")}),e.languages.hbs=e.languages.handlebars}e.exports=a,a.displayName="handlebars",a.aliases=["hbs"]},58090:function(e){"use strict";function t(e){e.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},e.languages.hs=e.languages.haskell}e.exports=t,t.displayName="haskell",t.aliases=["hs"]},95121:function(e){"use strict";function t(e){e.languages.haxe=e.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<{1,3}|[-+*/%!=&|^])=?|[?:~]/}),e.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.haxe}}},string:/[\s\S]+/}}}),e.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),e.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}e.exports=t,t.displayName="haxe",t.aliases=[]},59904:function(e){"use strict";function t(e){e.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],string:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}e.exports=t,t.displayName="hcl",t.aliases=[]},9436:function(e,t,n){"use strict";var r=n(65806);function a(e){e.register(r),e.languages.hlsl=e.languages.extend("c",{"class-name":[e.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}e.exports=a,a.displayName="hlsl",a.aliases=[]},60591:function(e){"use strict";function t(e){e.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}e.exports=t,t.displayName="hoon",t.aliases=[]},76942:function(e){"use strict";function t(e){e.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}e.exports=t,t.displayName="hpkp",t.aliases=[]},60561:function(e){"use strict";function t(e){e.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}e.exports=t,t.displayName="hsts",t.aliases=[]},49660:function(e){"use strict";function t(e){!function(e){function t(e){return RegExp("(^(?:"+e+"):[ ]*(?![ ]))[^]+","i")}e.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:e.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}},header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:t(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:e.languages.csp},{pattern:t(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:e.languages.hpkp},{pattern:t(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:e.languages.hsts},{pattern:t(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var n,r=e.languages,a={"application/javascript":r.javascript,"application/json":r.json||r.javascript,"application/xml":r.xml,"text/xml":r.xml,"text/html":r.html,"text/css":r.css,"text/plain":r.plain},i={"application/json":!0,"application/xml":!0};for(var o in a)if(a[o]){n=n||{};var s=i[o]?function(e){var t=e.replace(/^[a-z]+\//,"");return"(?:"+e+"|\\w+/(?:[\\w.-]+\\+)+"+t+"(?![+\\w.-]))"}(o):o;n[o.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+s+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:a[o]}}n&&e.languages.insertBefore("http","header",n)}(e)}e.exports=t,t.displayName="http",t.aliases=[]},30615:function(e){"use strict";function t(e){e.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}e.exports=t,t.displayName="ichigojam",t.aliases=[]},93865:function(e){"use strict";function t(e){e.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}e.exports=t,t.displayName="icon",t.aliases=[]},51078:function(e){"use strict";function t(e){!function(e){function t(e,n){return n<=0?/[]/.source:e.replace(//g,function(){return t(e,n-1)})}var n=/'[{}:=,](?:[^']|'')*'(?!')/,r={pattern:/''/,greedy:!0,alias:"operator"},a=t(/\{(?:[^{}']|'(?![{},'])|''||)*\}/.source.replace(//g,function(){return n.source}),8),i={pattern:RegExp(a),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};e.languages["icu-message-format"]={argument:{pattern:RegExp(a),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":i,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":i,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0},"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+t(/(?:[^{}']|'[^']*'|\{(?:)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:r,string:{pattern:n,greedy:!0,inside:{escape:r}}},i.inside.message.inside=e.languages["icu-message-format"],e.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=e.languages["icu-message-format"]}(e)}e.exports=t,t.displayName="icuMessageFormat",t.aliases=[]},91178:function(e,t,n){"use strict";var r=n(58090);function a(e){e.register(r),e.languages.idris=e.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),e.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.idr=e.languages.idris}e.exports=a,a.displayName="idris",a.aliases=["idr"]},40011:function(e){"use strict";function t(e){e.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}e.exports=t,t.displayName="iecst",t.aliases=[]},12017:function(e){"use strict";function t(e){e.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},e.languages.gitignore=e.languages.ignore,e.languages.hgignore=e.languages.ignore,e.languages.npmignore=e.languages.ignore}e.exports=t,t.displayName="ignore",t.aliases=["gitignore","hgignore","npmignore"]},65175:function(e){"use strict";function t(e){e.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},e.languages.inform7.string.inside.substitution.inside.rest=e.languages.inform7,e.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}e.exports=t,t.displayName="inform7",t.aliases=[]},14970:function(e){"use strict";function t(e){e.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}e.exports=t,t.displayName="ini",t.aliases=[]},13068:function(e){"use strict";function t(e){e.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}e.exports=t,t.displayName="j",t.aliases=[]},15909:function(e){"use strict";function t(e){var t,n,r;t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,r={pattern:RegExp((n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source)+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}},e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,function(){return t.source})),lookbehind:!0,inside:{punctuation:/\./}}})}e.exports=t,t.displayName="java",t.aliases=[]},36553:function(e,t,n){"use strict";var r=n(15909),a=n(9858);function i(e){var t,n,i;e.register(r),e.register(a),t=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,n=/#\s*\w+(?:\s*\([^()]*\))?/.source,i=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*)?|/.source.replace(//g,function(){return n}),e.languages.javadoc=e.languages.extend("javadoclike",{}),e.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+i+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:e.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:t,lookbehind:!0,inside:e.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:t,lookbehind:!0,inside:{tag:e.languages.markup.tag,entity:e.languages.markup.entity,code:{pattern:/.+/,inside:e.languages.java,alias:"language-java"}}}}}],tag:e.languages.markup.tag,entity:e.languages.markup.entity}),e.languages.javadoclike.addSupport("java",e.languages.javadoc)}e.exports=i,i.displayName="javadoc",i.aliases=[]},9858:function(e){"use strict";function t(e){var t;Object.defineProperty(t=e.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/},"addSupport",{value:function(t,n){"string"==typeof t&&(t=[t]),t.forEach(function(t){!function(t,n){var r="doc-comment",a=e.languages[t];if(a){var i=a[r];if(!i){var o={};o[r]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},i=(a=e.languages.insertBefore(t,"comment",o))[r]}if(i instanceof RegExp&&(i=a[r]={pattern:i}),Array.isArray(i))for(var s=0,l=i.length;s|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:e.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),e.languages.js=e.languages.javascript}e.exports=t,t.displayName="javascript",t.aliases=["js"]},11223:function(e){"use strict";function t(e){e.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:|[\w$]+)\()/,function:/(?:|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}e.exports=t,t.displayName="javastacktrace",t.aliases=[]},57957:function(e){"use strict";function t(e){e.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-яА-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-яА-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}e.exports=t,t.displayName="jexl",t.aliases=[]},66604:function(e){"use strict";function t(e){e.languages.jolie=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|string|undefined|void)\b/}),e.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}e.exports=t,t.displayName="jolie",t.aliases=[]},77935:function(e){"use strict";function t(e){var t,n,r,a;t=/\\\((?:[^()]|\([^()]*\))*\)/.source,n=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return t})),r={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+t),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},a=e.languages.jq={comment:/#.*/,property:{pattern:RegExp(n.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:r},string:{pattern:n,lookbehind:!0,greedy:!0,inside:r},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}},r.interpolation.inside.content.inside=a}e.exports=t,t.displayName="jq",t.aliases=[]},46155:function(e){"use strict";function t(e){!function(e){function t(e,t){return RegExp(e.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r=p.length)return;var o=n[i];if("string"==typeof o||"string"==typeof o.content){var l=p[c],d="string"==typeof o?o:o.content,f=d.indexOf(l);if(-1!==f){++c;var h=d.substring(0,f),m=function(t){var n={};n["interpolation-punctuation"]=a;var i=e.tokenize(t,n);if(3===i.length){var o=[1,1];o.push.apply(o,s(i[1],e.languages.javascript,"javascript")),i.splice.apply(i,o)}return new e.Token("interpolation",i,r.alias,t)}(u[l]),g=d.substring(f+l.length),b=[];if(h&&b.push(h),b.push(m),g){var y=[g];t(y),b.push.apply(b,y)}"string"==typeof o?(n.splice.apply(n,[i,1].concat(b)),i+=b.length-1):o.content=b}}else{var E=o.content;Array.isArray(E)?t(E):t([E])}}}(d),new e.Token(o,d,"language-"+o,t)}(p,m,h)}}else t(u)}}}(t.tokens)})}(e)}e.exports=t,t.displayName="jsTemplates",t.aliases=[]},25319:function(e,t,n){"use strict";var r=n(9858),a=n(4979);function i(e){var t,n,i;e.register(r),e.register(a),t=e.languages.javascript,i="(@(?:arg|argument|param|property)\\s+(?:"+(n=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source)+"\\s+)?)",e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(i+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(i+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:t,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,function(){return n})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{string:t.string,number:t.number,boolean:t.boolean,keyword:e.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}e.exports=i,i.displayName="jsdoc",i.aliases=[]},45950:function(e){"use strict";function t(e){e.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"}},e.languages.webmanifest=e.languages.json}e.exports=t,t.displayName="json",t.aliases=["webmanifest"]},50235:function(e,t,n){"use strict";var r=n(45950);function a(e){var t;e.register(r),t=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/,e.languages.json5=e.languages.extend("json",{property:[{pattern:RegExp(t.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:t,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}e.exports=a,a.displayName="json5",a.aliases=[]},80963:function(e,t,n){"use strict";var r=n(45950);function a(e){e.register(r),e.languages.jsonp=e.languages.extend("json",{punctuation:/[{}[\]();,.]/}),e.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}e.exports=a,a.displayName="jsonp",a.aliases=[]},79358:function(e){"use strict";function t(e){e.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js||.*(?:node_modules|\(\)|\(|$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}e.exports=t,t.displayName="jsstacktrace",t.aliases=[]},96412:function(e){"use strict";function t(e){!function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,a=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function i(e,t){return RegExp(e=e.replace(//g,function(){return n}).replace(//g,function(){return r}).replace(//g,function(){return a}),t)}a=i(a).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=i(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:i(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var o=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(o).join(""):""},s=function(t){for(var n=[],r=0;r0&&n[n.length-1].tagName===o(a.content[0].content[1])&&n.pop():"/>"===a.content[a.content.length-1].content||n.push({tagName:o(a.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===a.type&&"{"===a.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===a.type&&"}"===a.content?n[n.length-1].openedBraces--:i=!0),(i||"string"==typeof a)&&n.length>0&&0===n[n.length-1].openedBraces){var l=o(a);r0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(l=o(t[r-1])+l,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",l,null,l)}a.content&&"string"!=typeof a.content&&s(a.content)}};e.hooks.add("after-tokenize",function(e){("jsx"===e.language||"tsx"===e.language)&&s(e.tokens)})}(e)}e.exports=t,t.displayName="jsx",t.aliases=[]},39259:function(e){"use strict";function t(e){e.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷⊻&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥'√∛]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[πℯ]/}}e.exports=t,t.displayName="julia",t.aliases=[]},51466:function(e){"use strict";function t(e){e.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0},ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}|(?:[\da-f]{1,4}:){0,5}:|::(?:[\da-f]{1,4}:){0,5}|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|(?:\/\d{1,2})?)\b/.source.replace(//g,function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source}),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}e.exports=t,t.displayName="keepalived",t.aliases=[]},35760:function(e){"use strict";function t(e){e.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|nomatch|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}e.exports=t,t.displayName="keyman",t.aliases=[]},19715:function(e){"use strict";function t(e){var t;e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"],t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}},e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}e.exports=t,t.displayName="kotlin",t.aliases=["kt","kts"]},27614:function(e){"use strict";function t(e){!function(e){var t=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function n(e,n){return RegExp(e.replace(//g,t),n)}e.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:n(/(^|[])(?:да|нет)(?=[]|$)/.source),lookbehind:!0},"operator-word":{pattern:n(/(^|[])(?:и|или|не)(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:n(/(^|[])знач(?=[]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:n(/(^|[])(?:вещ|лит|лог|сим|цел)(?:\x20*таб)?(?=[]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:n(/(^|[])(?:компл|сканкод|файл|цвет)(?=[]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:n(/(^|[])(?:алг|арг(?:\x20*рез)?|ввод|ВКЛЮЧИТЬ|вс[её]|выбор|вывод|выход|дано|для|до|дс|если|иначе|исп|использовать|кон(?:(?:\x20+|_)исп)?|кц(?:(?:\x20+|_)при)?|надо|нач|нс|нц|от|пауза|пока|при|раза?|рез|стоп|таб|то|утв|шаг)(?=[]|$)/.source),lookbehind:!0},name:{pattern:n(/(^|[])[^\d][^]*(?:\x20+[^]+)*(?=[]|$)/.source),lookbehind:!0},number:{pattern:n(/(^|[])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},e.languages.kum=e.languages.kumir}(e)}e.exports=t,t.displayName="kumir",t.aliases=["kum"]},82819:function(e){"use strict";function t(e){e.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}e.exports=t,t.displayName="kusto",t.aliases=[]},42876:function(e){"use strict";function t(e){var t,n;n={"equation-command":{pattern:t=/\\(?:[^a-z()[\]]|[a-z*]+)/i,alias:"regex"}},e.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:n,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:n,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:t,alias:"selector"},punctuation:/[[\]{}&]/},e.languages.tex=e.languages.latex,e.languages.context=e.languages.latex}e.exports=t,t.displayName="latex",t.aliases=["tex","context"]},2980:function(e,t,n){"use strict";var r=n(93205),a=n(88262);function i(e){var t;e.register(r),e.register(a),e.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:e.languages.php}},t=e.languages.extend("markup",{}),e.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:e.languages.php}}}}}},t.tag),e.hooks.add("before-tokenize",function(n){"latte"===n.language&&(e.languages["markup-templating"].buildPlaceholders(n,"latte",/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g),n.grammar=t)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"latte")})}e.exports=i,i.displayName="latte",i.aliases=[]},41701:function(e){"use strict";function t(e){e.languages.less=e.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),e.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}e.exports=t,t.displayName="less",t.aliases=[]},42491:function(e,t,n){"use strict";var r=n(9997);function a(e){e.register(r),function(e){for(var t=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|)*\)/.source,n=0;n<5;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,/[^\s\S]/.source);var r=e.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|))/.source.replace(//g,function(){return t}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:e.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};r["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=r,e.languages.ly=r}(e)}e.exports=a,a.displayName="lilypond",a.aliases=[]},34927:function(e,t,n){"use strict";var r=n(93205);function a(e){e.register(r),e.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},e.hooks.add("before-tokenize",function(t){var n=!1;e.languages["markup-templating"].buildPlaceholders(t,"liquid",/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,function(e){var t=/^\{%-?\s*(\w+)/.exec(e);if(t){var r=t[1];if("raw"===r&&!n)return n=!0,!0;if("endraw"===r)return n=!1,!0}return!n})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"liquid")})}e.exports=a,a.displayName="liquid",a.aliases=[]},3848:function(e){"use strict";function t(e){!function(e){function t(e){return RegExp(/(\()/.source+"(?:"+e+")"+/(?=[\s\)])/.source)}function n(e){return RegExp(/([\s([])/.source+"(?:"+e+")"+/(?=[\s)])/.source)}var r=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,a="&"+r,i="(\\()",o="(?=\\s)",s=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,l={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+r+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+r),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+r),alias:"property"},splice:{pattern:RegExp(",@?"+r),alias:["symbol","variable"]},keyword:[{pattern:RegExp(i+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+o),lookbehind:!0},{pattern:RegExp(i+"(?:append|by|collect|concat|do|finally|for|in|return)"+o),lookbehind:!0}],declare:{pattern:t(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:t(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:n(/nil|t/.source),lookbehind:!0},number:{pattern:n(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(i+"def(?:const|custom|group|var)\\s+"+r),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(r)}},defun:{pattern:RegExp(i+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+r+/\s+\(/.source+s+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+r),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(i+"lambda\\s+\\(\\s*(?:&?"+r+"(?:\\s+&?"+r+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(i+r),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},c={"lisp-marker":RegExp(a),varform:{pattern:RegExp(/\(/.source+r+/\s+(?=\S)/.source+s+/\)/.source),inside:l},argument:{pattern:RegExp(/(^|[\s(])/.source+r),lookbehind:!0,alias:"variable"},rest:l},u="\\S+(?:\\s+\\S+)*",d={pattern:RegExp(i+s+"(?=\\))"),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+u),inside:c},"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+u),inside:c},keys:{pattern:RegExp("&key\\s+"+u+"(?:\\s+&allow-other-keys)?"),inside:c},argument:{pattern:RegExp(r),alias:"variable"},punctuation:/[()]/}};l.lambda.inside.arguments=d,l.defun.inside.arguments=e.util.clone(d),l.defun.inside.arguments.inside.sublist=d,e.languages.lisp=l,e.languages.elisp=l,e.languages.emacs=l,e.languages["emacs-lisp"]=l}(e)}e.exports=t,t.displayName="lisp",t.aliases=[]},41469:function(e){"use strict";function t(e){e.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},e.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=e.languages.livescript}e.exports=t,t.displayName="livescript",t.aliases=[]},73070:function(e){"use strict";function t(e){e.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}}e.exports=t,t.displayName="llvm",t.aliases=[]},35049:function(e){"use strict";function t(e){e.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:e.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}e.exports=t,t.displayName="log",t.aliases=[]},8789:function(e){"use strict";function t(e){e.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|…|,|!/}}e.exports=t,t.displayName="lolcode",t.aliases=[]},59803:function(e){"use strict";function t(e){e.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}e.exports=t,t.displayName="lua",t.aliases=[]},86328:function(e){"use strict";function t(e){e.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}e.exports=t,t.displayName="magma",t.aliases=[]},33055:function(e){"use strict";function t(e){e.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}e.exports=t,t.displayName="makefile",t.aliases=[]},90542:function(e){"use strict";function t(e){!function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(//g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return r}),i=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+i+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+i+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+i+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~))+\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:n(/!?\[(?:(?!\]))+\](?:\([^\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(t){["url","bold","italic","strike","code-snippet"].forEach(function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])})}),e.hooks.add("after-tokenize",function(e){("markdown"===e.language||"md"===e.language)&&function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n",quot:'"'},l=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(e)}e.exports=t,t.displayName="markdown",t.aliases=["md"]},93205:function(e){"use strict";function t(e){!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,i){if(n.language===r){var o=n.tokenStack=[];n.code=n.code.replace(a,function(e){if("function"==typeof i&&!i(e))return e;for(var a,s=o.length;-1!==n.code.indexOf(a=t(r,s));)++s;return o[s]=e,a}),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,i=Object.keys(n.tokenStack);!function o(s){for(var l=0;l=i.length);l++){var c=s[l];if("string"==typeof c||c.content&&"string"==typeof c.content){var u=i[a],d=n.tokenStack[u],p="string"==typeof c?c:c.content,f=t(r,u),h=p.indexOf(f);if(h>-1){++a;var m=p.substring(0,h),g=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),b=p.substring(h+f.length),y=[];m&&y.push.apply(y,o([m])),y.push(g),b&&y.push.apply(y,o([b])),"string"==typeof c?s.splice.apply(s,[l,1].concat(y)):c.content=y}}else c.content&&o(c.content)}return s}(n.tokens)}}}})}(e)}e.exports=t,t.displayName="markupTemplating",t.aliases=[]},2717:function(e){"use strict";function t(e){e.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"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.value.replace(/&/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(t,n){var r={};r["language-"+n]={pattern:/(^$)/i,lookbehind:!0,inside:e.languages[n]},r.cdata=/^$/i;var a={"included-cdata":{pattern://i,inside:r}};a["language-"+n]={pattern:/[\s\S]+/,inside:e.languages[n]};var i={};i[t]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:a},e.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,n){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:e.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml}e.exports=t,t.displayName="markup",t.aliases=["html","mathml","svg","xml","ssml","atom","rss"]},27992:function(e){"use strict";function t(e){e.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}e.exports=t,t.displayName="matlab",t.aliases=[]},91115:function(e){"use strict";function t(e){var t;t=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i,e.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+(/^/.source+"|")+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source+")[ ]*)(?!"+t.source+")"+/[a-z_]\w*\b/.source+"(?=[ ]*(?:"+("(?!"+t.source+")"+/[a-z_]/.source+"|")+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:t,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}}e.exports=t,t.displayName="maxscript",t.aliases=[]},606:function(e){"use strict";function t(e){e.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\b\w+(?=\()|\b(?:CBG|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|Mayatomr|about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},e.languages.mel.code.inside.rest=e.languages.mel}e.exports=t,t.displayName="mel",t.aliases=[]},68582:function(e){"use strict";function t(e){e.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}},"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}e.exports=t,t.displayName="mermaid",t.aliases=[]},23388:function(e){"use strict";function t(e){e.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}e.exports=t,t.displayName="mizar",t.aliases=[]},90596:function(e){"use strict";function t(e){var t,n;n="(?:"+["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"].map(function(e){return e.replace("$","\\$")}).join("|")+")\\b",e.languages.mongodb=e.languages.extend("javascript",{}),e.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp("^(['\"])?"+n+"(?:\\1)?$")}}}),e.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},e.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:ObjectId|Code|BinData|DBRef|Timestamp|NumberLong|NumberDecimal|MaxKey|MinKey|RegExp|ISODate|UUID)\\b"),alias:"keyword"}})}e.exports=t,t.displayName="mongodb",t.aliases=[]},95721:function(e){"use strict";function t(e){e.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}e.exports=t,t.displayName="monkey",t.aliases=[]},64262:function(e){"use strict";function t(e){e.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},e.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=e.languages.moonscript,e.languages.moon=e.languages.moonscript}e.exports=t,t.displayName="moonscript",t.aliases=["moon"]},18190:function(e){"use strict";function t(e){e.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}e.exports=t,t.displayName="n1ql",t.aliases=[]},70896:function(e){"use strict";function t(e){e.languages.n4js=e.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),e.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),e.languages.n4jsd=e.languages.n4js}e.exports=t,t.displayName="n4js",t.aliases=["n4jsd"]},42242:function(e){"use strict";function t(e){e.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}e.exports=t,t.displayName="nand2tetrisHdl",t.aliases=[]},37943:function(e){"use strict";function t(e){var t,n;n={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:t=/\{[^\r\n\[\]{}]*\}/,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]},e.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:t,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:n}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:t,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:n},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},e.languages.nani=e.languages.naniscript,e.hooks.add("after-tokenize",function(e){e.tokens.forEach(function(e){if("string"!=typeof e&&"generic-text"===e.type){var t=function e(t){return"string"==typeof t?t:Array.isArray(t)?t.map(e).join(""):e(t.content)}(e);!function(e){for(var t=[],n=0;n=&|$!]/}}e.exports=t,t.displayName="nasm",t.aliases=[]},83873:function(e){"use strict";function t(e){e.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"atrule"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}e.exports=t,t.displayName="neon",t.aliases=[]},75932:function(e){"use strict";function t(e){e.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}e.exports=t,t.displayName="nevod",t.aliases=[]},60221:function(e){"use strict";function t(e){var t;t=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i,e.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:t}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:t}},punctuation:/[{};]/}}e.exports=t,t.displayName="nginx",t.aliases=[]},44188:function(e){"use strict";function t(e){e.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}e.exports=t,t.displayName="nim",t.aliases=[]},74426:function(e){"use strict";function t(e){e.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},e.languages.nix.string.inside.interpolation.inside=e.languages.nix}e.exports=t,t.displayName="nix",t.aliases=[]},88447:function(e){"use strict";function t(e){e.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}e.exports=t,t.displayName="nsis",t.aliases=[]},16032:function(e,t,n){"use strict";var r=n(65806);function a(e){e.register(r),e.languages.objectivec=e.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete e.languages.objectivec["class-name"],e.languages.objc=e.languages.objectivec}e.exports=a,a.displayName="objectivec",a.aliases=["objc"]},33607:function(e){"use strict";function t(e){e.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,alias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}e.exports=t,t.displayName="ocaml",t.aliases=[]},22001:function(e,t,n){"use strict";var r=n(65806);function a(e){var t;e.register(r),e.languages.opencl=e.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),e.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}}),t={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}},e.languages.insertBefore("c","keyword",t),e.languages.cpp&&(t["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},e.languages.insertBefore("cpp","keyword",t))}e.exports=a,a.displayName="opencl",a.aliases=[]},22950:function(e){"use strict";function t(e){e.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|π|𝜏|ℇ/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},e.languages.qasm=e.languages.openqasm}e.exports=t,t.displayName="openqasm",t.aliases=["qasm"]},23254:function(e){"use strict";function t(e){e.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}e.exports=t,t.displayName="oz",t.aliases=[]},92694:function(e){"use strict";function t(e){var t;e.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:RegExp("\\b(?:"+["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"].map(function(e){return e.split("").join(" *")}).join("|")+")\\b"),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}e.exports=t,t.displayName="parigp",t.aliases=[]},43273:function(e){"use strict";function t(e){var t;t=e.languages.parser=e.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/}),t=e.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:t.keyword,variable:t.variable,function:t.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:t.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:t.punctuation}}}),e.languages.insertBefore("inside","punctuation",{expression:t.expression,keyword:t.keyword,variable:t.variable,function:t.function,escape:t.escape,"parser-punctuation":{pattern:t.punctuation,alias:"punctuation"}},t.tag.inside["attr-value"])}e.exports=t,t.displayName="parser",t.aliases=[]},60718:function(e){"use strict";function t(e){e.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},e.languages.pascal.asm.inside=e.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),e.languages.objectpascal=e.languages.pascal}e.exports=t,t.displayName="pascal",t.aliases=["objectpascal"]},39303:function(e){"use strict";function t(e){var t,n,r,a;t=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,n=/(?:\b\w+(?:)?|)/.source.replace(//g,function(){return t}),r=e.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)/.source.replace(//g,function(){return n}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/(?=\s+is\b)/.source.replace(//g,function(){return n}),"i"),inside:null},{pattern:RegExp(/(:\s*)/.source.replace(//g,function(){return n})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|skip|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},a=["comment","keyword","builtin","operator","punctuation"].reduce(function(e,t){return e[t]=r[t],e},{}),r["class-name"].forEach(function(e){e.inside=a})}e.exports=t,t.displayName="pascaligo",t.aliases=[]},77393:function(e){"use strict";function t(e){e.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},e.languages.px=e.languages.pcaxis}e.exports=t,t.displayName="pcaxis",t.aliases=["px"]},19023:function(e){"use strict";function t(e){e.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},e.languages.pcode=e.languages.peoplecode}e.exports=t,t.displayName="peoplecode",t.aliases=["pcode"]},74212:function(e){"use strict";function t(e){var t;t=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source,e.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,t].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,t].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,t+/\s*/.source+t].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0},{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}}e.exports=t,t.displayName="perl",t.aliases=[]},5137:function(e,t,n){"use strict";var r=n(88262);function a(e){e.register(r),e.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}e.exports=a,a.displayName="phpExtras",a.aliases=[]},88262:function(e,t,n){"use strict";var r=n(93205);function a(e){var t,n,a,i,o,s,l;e.register(r),t=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,n=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],a=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,i=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,o=/[{}\[\](),:;]/,e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:t,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:a,operator:i,punctuation:o},l=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:s={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php}}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:s}}],e.languages.insertBefore("php","variable",{string:l,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:t,string:l,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:a,operator:i,punctuation:o}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",function(t){/<\?/.test(t.code)&&e.languages["markup-templating"].buildPlaceholders(t,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"php")})}e.exports=a,a.displayName="php",a.aliases=[]},63632:function(e,t,n){"use strict";var r=n(88262),a=n(9858);function i(e){var t;e.register(r),e.register(a),t=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source,e.languages.phpdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+t+"\\s+)?)\\$\\w+"),lookbehind:!0}}),e.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+t),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),e.languages.javadoclike.addSupport("php",e.languages.phpdoc)}e.exports=i,i.displayName="phpdoc",i.aliases=[]},59149:function(e,t,n){"use strict";var r=n(11114);function a(e){e.register(r),e.languages.plsql=e.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|OUT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),e.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}e.exports=a,a.displayName="plsql",a.aliases=[]},50256:function(e){"use strict";function t(e){e.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},e.languages.pq=e.languages.powerquery,e.languages.mscript=e.languages.powerquery}e.exports=t,t.displayName="powerquery",t.aliases=[]},61777:function(e){"use strict";function t(e){var t;(t=e.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/}).string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:t},boolean:t.boolean,variable:t.variable}}e.exports=t,t.displayName="powershell",t.aliases=[]},3623:function(e){"use strict";function t(e){e.languages.processing=e.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),e.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}e.exports=t,t.displayName="processing",t.aliases=[]},82707:function(e){"use strict";function t(e){e.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}e.exports=t,t.displayName="prolog",t.aliases=[]},59338:function(e){"use strict";function t(e){var t,n;n=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"].concat(t=["on","ignoring","group_right","group_left","by","without"],["offset"]),e.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:RegExp("((?:"+t.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:RegExp("\\b(?:"+n.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}}e.exports=t,t.displayName="promql",t.aliases=[]},56267:function(e){"use strict";function t(e){e.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}e.exports=t,t.displayName="properties",t.aliases=[]},98809:function(e){"use strict";function t(e){var t;t=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/,e.languages.protobuf=e.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),e.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:t}},builtin:t,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})}e.exports=t,t.displayName="protobuf",t.aliases=[]},37548:function(e){"use strict";function t(e){e.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}e.exports=t,t.displayName="psl",t.aliases=[]},82161:function(e){"use strict";function t(e){!function(e){e.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:e.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:e.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:e.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:e.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:e.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:e.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:e.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:e.languages.javascript}],punctuation:/[.\-!=|]+/};for(var t=/(^([\t ]*)):(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,n=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],r={},a=0,i=n.length;a",function(){return o.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[o.language,"language-"+o.language],inside:e.languages[o.language]}}})}e.languages.insertBefore("pug","filter",r)}(e)}e.exports=t,t.displayName="pug",t.aliases=[]},80625:function(e){"use strict";function t(e){var t;e.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/},t=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:e.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}],e.languages.puppet.heredoc[0].inside.interpolation=t,e.languages.puppet.string.inside["double-quoted"].inside.interpolation=t}e.exports=t,t.displayName="puppet",t.aliases=[]},88393:function(e){"use strict";function t(e){var t;e.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/},t=/%< *-\*- *\d* *-\*-[\s\S]+?%>/.source,["c",{lang:"c++",alias:"cpp"},"fortran"].forEach(function(n){var r=n;if("string"!=typeof n&&(r=n.alias,n=n.lang),e.languages[r]){var a={};a["inline-lang-"+r]={pattern:RegExp(t.replace("",n.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:e.util.clone(e.languages.pure["inline-lang"].inside)},a["inline-lang-"+r].inside.rest=e.util.clone(e.languages[r]),e.languages.insertBefore("pure","inline-lang",a)}}),e.languages.c&&(e.languages.pure["inline-lang"].inside.rest=e.util.clone(e.languages.c))}e.exports=t,t.displayName="pure",t.aliases=[]},78404:function(e){"use strict";function t(e){e.languages.purebasic=e.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+|-[>-]?|\+\+?|!=?|<>?=?|==?|&&?|\|?\||[~^%?*/@]/}),e.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete e.languages.purebasic["class-name"],delete e.languages.purebasic.boolean,e.languages.pbfasm=e.languages.purebasic}e.exports=t,t.displayName="purebasic",t.aliases=[]},92923:function(e,t,n){"use strict";var r=n(58090);function a(e){e.register(r),e.languages.purescript=e.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|∀/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[e.languages.haskell.operator[0],e.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),e.languages.purs=e.languages.purescript}e.exports=a,a.displayName="purescript",a.aliases=["purs"]},52992:function(e){"use strict";function t(e){e.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},e.languages.python["string-interpolation"].inside.interpolation.inside.rest=e.languages.python,e.languages.py=e.languages.python}e.exports=t,t.displayName="python",t.aliases=["py"]},55762:function(e){"use strict";function t(e){e.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}e.exports=t,t.displayName="q",t.aliases=[]},4137:function(e){"use strict";function t(e){!function(e){for(var t=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,n=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,r=/(?:[^\\()[\]{}"'/]||\/(?![*/])||\(*\)|\[*\]|\{*\}|\\[\s\S])/.source.replace(//g,function(){return t}).replace(//g,function(){return n}),a=0;a<2;a++)r=r.replace(//g,function(){return r});r=r.replace(//g,"[^\\s\\S]"),e.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(*\)\s*\{*\}/.source.replace(//g,function(){return r}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:e.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}]))+/.source.replace(//g,function(){return r}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:e.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}}(e)}e.exports=t,t.displayName="qml",t.aliases=[]},28260:function(e){"use strict";function t(e){e.languages.qore=e.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}e.exports=t,t.displayName="qore",t.aliases=[]},71360:function(e){"use strict";function t(e){!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,function(e,n){return"(?:"+t[+n]+")"})}function n(e,n,r){return RegExp(t(e,n),r||"")}var r={type:"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero",other:"Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within"},a=RegExp("\\b(?:"+(r.type+" "+r.other).trim().replace(/ /g,"|")+")\\b"),i=/\b[A-Za-z_]\w*\b/.source,o=t(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[i]),s={keyword:a,punctuation:/[<>()?,.:[\]]/},l=/"(?:\\.|[^\\"])*"/.source;e.languages.qsharp=e.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[l]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[o]),lookbehind:!0,inside:s},{pattern:n(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[o]),lookbehind:!0,inside:s}],keyword:a,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),e.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var c=function(e,t){for(var n=0;n<2;n++)e=e.replace(/<>/g,function(){return"(?:"+e+")"});return e.replace(/<>/g,"[^\\s\\S]")}(t(/\{(?:[^"{}]|<<0>>|<>)*\}/.source,[l]),0);e.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:n(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[c]),greedy:!0,inside:{interpolation:{pattern:n(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[c]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:e.languages.qsharp}}},string:/[\s\S]+/}}})}(e),e.languages.qs=e.languages.qsharp}e.exports=t,t.displayName="qsharp",t.aliases=["qs"]},29308:function(e){"use strict";function t(e){e.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}e.exports=t,t.displayName="r",t.aliases=[]},32168:function(e,t,n){"use strict";var r=n(9997);function a(e){e.register(r),e.languages.racket=e.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),e.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),e.languages.rkt=e.languages.racket}e.exports=a,a.displayName="racket",a.aliases=["rkt"]},5755:function(e){"use strict";function t(e){e.languages.reason=e.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),e.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete e.languages.reason.function}e.exports=t,t.displayName="reason",t.aliases=[]},54105:function(e){"use strict";function t(e){var t,n,r,a,i;t={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},a=RegExp((r="(?:[^\\\\-]|"+(n=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/).source+")")+"-"+r),i={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"},e.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:a,inside:{escape:n,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":t,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:n}},"special-escape":t,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":i}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:n,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}e.exports=t,t.displayName="rego",t.aliases=[]},35108:function(e){"use strict";function t(e){e.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},e.languages.rpy=e.languages.renpy}e.exports=t,t.displayName="renpy",t.aliases=["rpy"]},46678:function(e){"use strict";function t(e){e.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-•‣⁃]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|—|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}e.exports=t,t.displayName="rest",t.aliases=[]},47496:function(e){"use strict";function t(e){e.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}e.exports=t,t.displayName="rip",t.aliases=[]},30527:function(e){"use strict";function t(e){e.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}e.exports=t,t.displayName="roboconf",t.aliases=[]},5261:function(e){"use strict";function t(e){!function(e){var t={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},n={pattern:/((?:^|[^\\])(?:\\{2})*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function r(e,r){var a={};for(var i in a["section-header"]={pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"},r)a[i]=r[i];return a.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},a.variable=n,a.comment=t,{pattern:RegExp(/^ ?\*{3}[ \t]*[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(//g,function(){return e}),"im"),alias:"section",inside:a}}var a={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},i={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:n}},o={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:n}};e.languages.robotframework={settings:r("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:r("Variables"),"test-cases":r("Test Cases",{"test-name":i,documentation:a,property:o}),keywords:r("Keywords",{"keyword-name":i,documentation:a,property:o}),tasks:r("Tasks",{"task-name":i,documentation:a,property:o}),comment:t},e.languages.robot=e.languages.robotframework}(e)}e.exports=t,t.displayName="robotframework",t.aliases=[]},56939:function(e){"use strict";function t(e){var t,n,r;e.languages.ruby=e.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===||[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),e.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),t={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}},delete e.languages.ruby.function,n="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",r=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source,e.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+n+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+r),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+r+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),e.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+n),greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+n),greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete e.languages.ruby.string,e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),e.languages.rb=e.languages.ruby}e.exports=t,t.displayName="ruby",t.aliases=["rb"]},83648:function(e){"use strict";function t(e){!function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,n=0;n<2;n++)t=t.replace(//g,function(){return t});t=t.replace(//g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(e)}e.exports=t,t.displayName="rust",t.aliases=[]},16009:function(e){"use strict";function t(e){var t,n,r,a,i,o,s,l,c,u,d,p,f,h,m,g,b,y;t=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,n=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,r={pattern:RegExp(t+"[bx]"),alias:"number"},i={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},o={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},s=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],d={function:u={pattern:/%?\b\w+(?=\()/,alias:"keyword"},"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":a={pattern:/&[a-z_]\w*/i},arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:n,"numeric-constant":r,punctuation:c=/[$%@.(){}\[\];,\\]/,string:l={pattern:RegExp(t),greedy:!0}},p={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},f={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},h={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},m={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},g=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,b={pattern:RegExp(/(^|\s)(?:action\s+)?(?:)\.[a-z]+\b[^;]+/.source.replace(//g,function(){return g}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:)\.[a-z]+\b/.source.replace(//g,function(){return g}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:s,function:u,"arg-value":d["arg-value"],operator:d.operator,argument:d.arg,number:n,"numeric-constant":r,punctuation:c,string:l}},y={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0},e.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:|[^;"'])+;/.source.replace(//g,function(){return t}),"im"),alias:"language-sql",inside:e.languages.sql},"global-statements":h,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:n,"numeric-constant":r,punctuation:c,string:l}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return t}),"im"),lookbehind:!0,alias:"language-groovy",inside:e.languages.groovy},keyword:y,"submit-statement":m,"global-statements":h,number:n,"numeric-constant":r,punctuation:c,string:l}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:|[^"'])+?(?=endsubmit;)/.source.replace(//g,function(){return t}),"im"),lookbehind:!0,alias:"language-lua",inside:e.languages.lua},keyword:y,"submit-statement":m,"global-statements":h,number:n,"numeric-constant":r,punctuation:c,string:l}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:d}},"cas-actions":b,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:d},step:o,keyword:y,function:u,format:p,altformat:f,"global-statements":h,number:n,"numeric-constant":r,punctuation:c,string:l}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|)+;/.source.replace(//g,function(){return t}),"im"),lookbehind:!0,inside:d},"macro-keyword":i,"macro-variable":a,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":i,"macro-variable":a,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:c}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:s,number:n,"numeric-constant":r}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:d},"cas-actions":b,comment:s,function:u,format:p,altformat:f,"numeric-constant":r,datetime:{pattern:RegExp(t+"(?:dt?|t)"),alias:"number"},string:l,step:o,keyword:y,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:n,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:c}}e.exports=t,t.displayName="sas",t.aliases=[]},41720:function(e){"use strict";function t(e){var t,n;e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule,t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}e.exports=t,t.displayName="sass",t.aliases=[]},6054:function(e,t,n){"use strict";var r=n(15909);function a(e){e.register(r),e.languages.scala=e.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),e.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.scala}}},string:/[\s\S]+/}}}),delete e.languages.scala["class-name"],delete e.languages.scala.function}e.exports=a,a.displayName="scala",a.aliases=[]},9997:function(e){"use strict";function t(e){e.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(function(e){for(var t in e)e[t]=e[t].replace(/<[\w\s]+>/g,function(t){return"(?:"+e[t].trim()+")"});return e[t]}({"":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?/.source,"":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"":/[+-]?|[+-](?:inf|nan)\.0/.source,"":/[+-](?:|(?:inf|nan)\.0)?i/.source,"":/(?:@|)?|/.source,"":/#[box](?:#[ei])?|(?:#[ei])?#[box]/.source,"":/(^|[()\[\]\s])(?:|)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/}}e.exports=t,t.displayName="scheme",t.aliases=[]},24296:function(e){"use strict";function t(e){e.languages.scss=e.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),e.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),e.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),e.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),e.languages.scss.atrule.inside.rest=e.languages.scss}e.exports=t,t.displayName="scss",t.aliases=[]},49246:function(e,t,n){"use strict";var r=n(6979);function a(e){var t;e.register(r),t=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|"),e.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<>)+/.source.replace(/<>/g,function(){return t}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:e.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},e.languages["sh-session"]=e.languages.shellsession=e.languages["shell-session"]}e.exports=a,a.displayName="shellSession",a.aliases=[]},18890:function(e){"use strict";function t(e){e.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}e.exports=t,t.displayName="smali",t.aliases=[]},11037:function(e){"use strict";function t(e){e.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}e.exports=t,t.displayName="smalltalk",t.aliases=[]},64020:function(e,t,n){"use strict";var r=n(93205);function a(e){var t,n;e.register(r),e.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:e.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},e.languages.smarty["embedded-php"].inside.smarty.inside=e.languages.smarty,e.languages.smarty.string[0].inside.interpolation.inside.expression.inside=e.languages.smarty,t=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,n=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']||\{(?:[^{}"']||\{(?:[^{}"']|)*\})*\})*\}/.source.replace(//g,function(){return t.source}),"g"),e.hooks.add("before-tokenize",function(t){var r=!1;e.languages["markup-templating"].buildPlaceholders(t,"smarty",n,function(e){return"{/literal}"===e&&(r=!1),!r&&("{literal}"===e&&(r=!0),!0)})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"smarty")})}e.exports=a,a.displayName="smarty",a.aliases=[]},49760:function(e){"use strict";function t(e){var t;t=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i,e.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)(?:\s*(?:(?:\*|->)\s*|,\s*(?:(?=)|(?!)\s+)))*/.source.replace(//g,function(){return/\s*(?:[*,]|->)/.source}).replace(//g,function(){return/(?:'[\w']*||\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+)*/.source}).replace(//g,function(){return/(?!)[a-z\d_][\w'.]*/.source}).replace(//g,function(){return t.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:t,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},e.languages.sml["class-name"][0].inside=e.languages.sml,e.languages.smlnj=e.languages.sml}e.exports=t,t.displayName="sml",t.aliases=["smlnj"]},33351:function(e){"use strict";function t(e){e.languages.solidity=e.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),e.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),e.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),e.languages.sol=e.languages.solidity}e.exports=t,t.displayName="solidity",t.aliases=["sol"]},13570:function(e){"use strict";function t(e){var t;t={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}},e.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:t}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:t}},guid:t,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},e.languages.sln=e.languages["solution-file"]}e.exports=t,t.displayName="solutionFile",t.aliases=[]},38181:function(e,t,n){"use strict";var r=n(93205);function a(e){var t,n;e.register(r),t=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,n=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/,e.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:t,greedy:!0},number:n,punctuation:/[\[\].?]/}},string:{pattern:t,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:n,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},e.hooks.add("before-tokenize",function(t){var n=!1;e.languages["markup-templating"].buildPlaceholders(t,"soy",/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,function(e){return"{/literal}"===e&&(n=!1),!n&&("{literal}"===e&&(n=!0),!0)})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"soy")})}e.exports=a,a.displayName="soy",a.aliases=[]},98774:function(e,t,n){"use strict";var r=n(24691);function a(e){e.register(r),e.languages.sparql=e.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),e.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),e.languages.rq=e.languages.sparql}e.exports=a,a.displayName="sparql",a.aliases=["rq"]},22855:function(e){"use strict";function t(e){e.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}e.exports=t,t.displayName="splunkSpl",t.aliases=[]},29611:function(e){"use strict";function t(e){e.languages.sqf=e.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),e.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:e.languages.sqf.comment}}}),delete e.languages.sqf["class-name"]}e.exports=t,t.displayName="sqf",t.aliases=[]},11114:function(e){"use strict";function t(e){e.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}e.exports=t,t.displayName="sql",t.aliases=[]},67386:function(e){"use strict";function t(e){e.languages.squirrel=e.languages.extend("clike",{comment:[e.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),e.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}e.exports=t,t.displayName="squirrel",t.aliases=[]},28067:function(e){"use strict";function t(e){var t;t=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/,e.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+t.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,t],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},e.languages.stan.constraint.inside.expression.inside=e.languages.stan}e.exports=t,t.displayName="stan",t.aliases=[]},49168:function(e){"use strict";function t(e){var t,n,r;(r={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},number:n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:n,punctuation:/[{}()\[\];:,]/}).interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:r}},r.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:r}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:r}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:r}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:r}},"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:r.interpolation}},rest:r}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:r.interpolation,comment:r.comment,punctuation:/[{},]/}},func:r.func,string:r.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:r.interpolation,punctuation:/[{}()\[\];:.]/}}e.exports=t,t.displayName="stylus",t.aliases=[]},23651:function(e){"use strict";function t(e){e.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},e.languages.swift["string-literal"].forEach(function(t){t.inside.interpolation.inside=e.languages.swift})}e.exports=t,t.displayName="swift",t.aliases=[]},21483:function(e){"use strict";function t(e){var t,n;t={pattern:/^[;#].*/m,greedy:!0},n=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source,e.languages.systemd={comment:t,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"},value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+n+'|(?=[^"\r\n]))(?:'+(/[^\s\\]/.source+'|[ ]+(?:(?![ "])|')+n+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:t,quoted:{pattern:RegExp(/(^|\s)/.source+n),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}}e.exports=t,t.displayName="systemd",t.aliases=[]},32268:function(e,t,n){"use strict";var r=n(2329),a=n(61958);function i(e){e.register(r),e.register(a),e.languages.t4=e.languages["t4-cs"]=e.languages["t4-templating"].createT4("csharp")}e.exports=i,i.displayName="t4Cs",i.aliases=[]},2329:function(e){"use strict";function t(e){!function(e){function t(e,t,n){return{pattern:RegExp("<#"+e+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+e+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:t,alias:n}}}}e.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:function(n){var r=e.languages[n],a="language-"+n;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:t("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:t("=",r,a),"class-feature":t("\\+",r,a),standard:t("",r,a)}}}}})}(e)}e.exports=t,t.displayName="t4Templating",t.aliases=[]},82996:function(e,t,n){"use strict";var r=n(2329),a=n(53813);function i(e){e.register(r),e.register(a),e.languages["t4-vb"]=e.languages["t4-templating"].createT4("vbnet")}e.exports=i,i.displayName="t4Vb",i.aliases=[]},17290:function(e,t,n){"use strict";var r=n(65039);function a(e){e.register(r),e.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:e.languages.yaml,alias:"language-yaml"}}}e.exports=a,a.displayName="tap",a.aliases=[]},67989:function(e){"use strict";function t(e){e.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}e.exports=t,t.displayName="tcl",t.aliases=[]},31065:function(e){"use strict";function t(e){!function(e){var t=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,n=/\)|\((?![^|()\n]+\))/.source;function r(e,r){return RegExp(e.replace(//g,function(){return"(?:"+t+")"}).replace(//g,function(){return"(?:"+n+")"}),r||"")}var a={css:{pattern:/\{[^{}]+\}/,inside:{rest:e.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},i=e.languages.textile=e.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:r(/^[a-z]\w*(?:||[<>=])*\./.source),inside:{modifier:{pattern:r(/(^[a-z]\w*)(?:||[<>=])+(?=\.)/.source),lookbehind:!0,inside:a},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:r(/^[*#]+*\s+\S.*/.source,"m"),inside:{modifier:{pattern:r(/(^[*#]+)+/.source),lookbehind:!0,inside:a},punctuation:/^[*#]+/}},table:{pattern:r(/^(?:(?:||[<>=^~])+\.\s*)?(?:\|(?:(?:||[<>=^~_]|[\\/]\d+)+\.|(?!(?:||[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:r(/(^|\|(?:\r?\n|\r)?)(?:||[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:a},punctuation:/\||^\./}},inline:{pattern:r(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:r(/(^(\*\*?)*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:r(/(^(__?)*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:r(/(^\?\?*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:r(/(^@*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:r(/(^\+*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:r(/(^-*).+?(?=-)/.source),lookbehind:!0},span:{pattern:r(/(^%*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:r(/(^\*\*|__|\?\?|[*_%@+\-^~])+/.source),lookbehind:!0,inside:a},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:r(/"*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:r(/(^"*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:r(/(^")+/.source),lookbehind:!0,inside:a},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:r(/!(?:||[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:r(/(^!(?:||[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:r(/(^!)(?:||[<>=])+/.source),lookbehind:!0,inside:a},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),o=i.phrase.inside,s={inline:o.inline,link:o.link,image:o.image,footnote:o.footnote,acronym:o.acronym,mark:o.mark};i.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var l=o.inline.inside;l.bold.inside=s,l.italic.inside=s,l.inserted.inside=s,l.deleted.inside=s,l.span.inside=s;var c=o.table.inside;c.inline=s.inline,c.link=s.link,c.image=s.image,c.footnote=s.footnote,c.acronym=s.acronym,c.mark=s.mark}(e)}e.exports=t,t.displayName="textile",t.aliases=[]},85572:function(e){"use strict";function t(e){!function(e){var t=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function n(e){return e.replace(/__/g,function(){return t})}e.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(n(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(n(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}}(e)}e.exports=t,t.displayName="toml",t.aliases=[]},27536:function(e){"use strict";function t(e){var t;e.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/},t=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source,e.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+t+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+t+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(t),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.tremor}}},string:/[\s\S]+/}},e.languages.troy=e.languages.tremor,e.languages.trickle=e.languages.tremor}e.exports=t,t.displayName="tremor",t.aliases=[]},87041:function(e,t,n){"use strict";var r=n(96412),a=n(4979);function i(e){var t,n;e.register(r),e.register(a),t=e.util.clone(e.languages.typescript),e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"],(n=e.languages.tsx.tag).pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}e.exports=i,i.displayName="tsx",i.aliases=[]},61028:function(e,t,n){"use strict";var r=n(93205);function a(e){e.register(r),e.languages.tt2=e.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),e.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),e.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),e.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete e.languages.tt2.string,e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"tt2",/\[%[\s\S]+?%\]/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"tt2")})}e.exports=a,a.displayName="tt2",a.aliases=[]},24691:function(e){"use strict";function t(e){e.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},e.languages.trig=e.languages.turtle}e.exports=t,t.displayName="turtle",t.aliases=[]},19892:function(e,t,n){"use strict";var r=n(93205);function a(e){e.register(r),e.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},e.hooks.add("before-tokenize",function(t){"twig"===t.language&&e.languages["markup-templating"].buildPlaceholders(t,"twig",/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"twig")})}e.exports=a,a.displayName="twig",a.aliases=[]},4979:function(e){"use strict";function t(e){var t;e.languages.typescript=e.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/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"],t=e.languages.extend("typescript",{}),delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}e.exports=t,t.displayName="typescript",t.aliases=["ts"]},23159:function(e){"use strict";function t(e){var t;t=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGISTER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/,e.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern://,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:t}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:t,number:/^\d+$/,punctuation:/[,|:]/}},keyword:t,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},e.languages.tsconfig=e.languages.typoscript}e.exports=t,t.displayName="typoscript",t.aliases=["tsconfig"]},34966:function(e){"use strict";function t(e){e.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},e.languages.uc=e.languages.uscript=e.languages.unrealscript}e.exports=t,t.displayName="unrealscript",t.aliases=["uc","uscript"]},44623:function(e){"use strict";function t(e){e.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}e.exports=t,t.displayName="uorazor",t.aliases=[]},38521:function(e){"use strict";function t(e){e.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+("(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source)+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")"+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},e.languages.url=e.languages.uri}e.exports=t,t.displayName="uri",t.aliases=["url"]},7255:function(e){"use strict";function t(e){var t;t={pattern:/[\s\S]+/,inside:null},e.languages.v=e.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":t}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),t.inside=e.languages.v,e.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),e.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),e.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:e.languages.v.generic.inside}}}})}e.exports=t,t.displayName="v",t.aliases=[]},28173:function(e){"use strict";function t(e){e.languages.vala=e.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),e.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:e.languages.vala}},string:/[\s\S]+/}}}),e.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}e.exports=t,t.displayName="vala",t.aliases=[]},53813:function(e,t,n){"use strict";var r=n(46241);function a(e){e.register(r),e.languages.vbnet=e.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}e.exports=a,a.displayName="vbnet",a.aliases=[]},46891:function(e){"use strict";function t(e){var t;e.languages.velocity=e.languages.extend("markup",{}),(t={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/}).variable.inside={string:t.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:t.number,boolean:t.boolean,punctuation:t.punctuation},e.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:t}},variable:t.variable}),e.languages.velocity.tag.inside["attr-value"].inside.rest=e.languages.velocity}e.exports=t,t.displayName="velocity",t.aliases=[]},91824:function(e){"use strict";function t(e){e.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}e.exports=t,t.displayName="verilog",t.aliases=[]},9447:function(e){"use strict";function t(e){e.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}e.exports=t,t.displayName="vhdl",t.aliases=[]},53062:function(e){"use strict";function t(e){e.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}e.exports=t,t.displayName="vim",t.aliases=[]},46215:function(e){"use strict";function t(e){e.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},e.languages.vb=e.languages["visual-basic"],e.languages.vba=e.languages["visual-basic"]}e.exports=t,t.displayName="visualBasic",t.aliases=[]},10784:function(e){"use strict";function t(e){e.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}e.exports=t,t.displayName="warpscript",t.aliases=[]},17684:function(e){"use strict";function t(e){e.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}e.exports=t,t.displayName="wasm",t.aliases=[]},64851:function(e){"use strict";function t(e){!function(e){var t=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])/.source,n="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+t+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,r={};for(var a in e.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+t),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:r},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+n),lookbehind:!0,inside:r},{pattern:RegExp("("+/\bcallback\s+/.source+t+/\s*=\s*/.source+")"+n),lookbehind:!0,inside:r},{pattern:RegExp(/(\btypedef\b\s*)/.source+n),lookbehind:!0,inside:r},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+t),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+t),lookbehind:!0},RegExp(t+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+t),lookbehind:!0},{pattern:RegExp(n+"(?="+/\s*(?:\.{3}\s*)?/.source+t+/\s*[(),;=]/.source+")"),inside:r}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/},e.languages["web-idl"])"class-name"!==a&&(r[a]=e.languages["web-idl"][a]);e.languages.webidl=e.languages["web-idl"]}(e)}e.exports=t,t.displayName="webIdl",t.aliases=[]},18191:function(e){"use strict";function t(e){e.languages.wiki=e.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:e.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),e.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:e.languages.markup.tag.inside}}}})}e.exports=t,t.displayName="wiki",t.aliases=[]},75242:function(e){"use strict";function t(e){e.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},e.languages.mathematica=e.languages.wolfram,e.languages.wl=e.languages.wolfram,e.languages.nb=e.languages.wolfram}e.exports=t,t.displayName="wolfram",t.aliases=["mathematica","wl","nb"]},93639:function(e){"use strict";function t(e){e.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},e.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:e.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}e.exports=t,t.displayName="wren",t.aliases=[]},97202:function(e){"use strict";function t(e){e.languages.xeora=e.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),e.languages.insertBefore("inside","punctuation",{variable:e.languages.xeora["function-inline"].inside.variable},e.languages.xeora["function-block"]),e.languages.xeoracube=e.languages.xeora}e.exports=t,t.displayName="xeora",t.aliases=["xeoracube"]},13808:function(e){"use strict";function t(e){!function(e){function t(t,n){e.languages[t]&&e.languages.insertBefore(t,"comment",{"doc-comment":n})}var n=e.languages.markup.tag,r={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:n}};t("csharp",r),t("fsharp",r),t("vbnet",{pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:n}})}(e)}e.exports=t,t.displayName="xmlDoc",t.aliases=[]},21301:function(e){"use strict";function t(e){e.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}e.exports=t,t.displayName="xojo",t.aliases=[]},20349:function(e){"use strict";function t(e){!function(e){e.languages.xquery=e.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0},extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),e.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,e.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,e.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,e.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:e.languages.xquery,alias:"language-xquery"};var t=function(e){return"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(t).join("")},n=function(r){for(var a=[],i=0;i0&&a[a.length-1].tagName===t(o.content[0].content[1])&&a.pop():"/>"===o.content[o.content.length-1].content||a.push({tagName:t(o.content[0].content[1]),openedBraces:0}):!(a.length>0)||"punctuation"!==o.type||"{"!==o.content||r[i+1]&&"punctuation"===r[i+1].type&&"{"===r[i+1].content||r[i-1]&&"plain-text"===r[i-1].type&&"{"===r[i-1].content?a.length>0&&a[a.length-1].openedBraces>0&&"punctuation"===o.type&&"}"===o.content?a[a.length-1].openedBraces--:"comment"!==o.type&&(s=!0):a[a.length-1].openedBraces++),(s||"string"==typeof o)&&a.length>0&&0===a[a.length-1].openedBraces){var l=t(o);i0&&("string"==typeof r[i-1]||"plain-text"===r[i-1].type)&&(l=t(r[i-1])+l,r.splice(i-1,1),i--),/^\s+$/.test(l)?r[i]=l:r[i]=new e.Token("plain-text",l,null,l)}o.content&&"string"!=typeof o.content&&n(o.content)}};e.hooks.add("after-tokenize",function(e){"xquery"===e.language&&n(e.tokens)})}(e)}e.exports=t,t.displayName="xquery",t.aliases=[]},65039:function(e){"use strict";function t(e){!function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+n.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),i=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function o(e,t){return t=(t||"").replace(/m/g,"")+"m",RegExp(/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return r}).replace(/<>/g,function(){return e}),t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return r})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return r}).replace(/<>/g,function(){return"(?:"+a+"|"+i+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:o(/\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:o(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:o(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:o(i),lookbehind:!0,greedy:!0},number:{pattern:o(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(e)}e.exports=t,t.displayName="yaml",t.aliases=["yml"]},96319:function(e){"use strict";function t(e){e.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}e.exports=t,t.displayName="yang",t.aliases=[]},31501:function(e){"use strict";function t(e){!function(e){function t(e){return function(){return e}}var n=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,r="\\b(?!"+n.source+")(?!\\d)\\w+\\b",a=/align\s*\((?:[^()]|\([^()]*\))*\)/.source,i="(?!\\s)(?:!?\\s*(?:"+/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(//g,t(a))+"\\s*)*"+/(?:\bpromise\b|(?:\berror\.)?(?:\.)*(?!\s+))/.source.replace(//g,t(r))+")+";e.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)(?=\s*(?:\s*)?[=;,)])|(?=\s*(?:\s*)?\{)/.source.replace(//g,t(i)).replace(//g,t(a))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)(?=\s*(?:\s*)?;)/.source.replace(//g,t(i)).replace(//g,t(a))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:n,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},e.languages.zig["class-name"].forEach(function(t){null===t.inside&&(t.inside=e.languages.zig)})}(e)}e.exports=t,t.displayName="zig",t.aliases=[]},59216:function(e,t,n){/** * Prism: Lightweight, robust, elegant syntax highlighting * * @license MIT * @author Lea Verou * @namespace * @public - */var r=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},a={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=u.reach));S+=T.value.length,T=T.next){var A,O=T.value;if(n.length>t.length)return;if(!(O instanceof i)){var _=1;if(b){if(!(A=o(v,S,t,g))||A.index>=t.length)break;var k=A.index,x=A.index+A[0].length,C=S;for(C+=T.value.length;k>=C;)C+=(T=T.next).value.length;if(C-=T.value.length,S=C,T.value instanceof i)continue;for(var w=T;w!==n.tail&&(Cu.reach&&(u.reach=L);var D=T.prev;R&&(D=l(n,D,R),S+=R.length),function(e,t,n){for(var r=t.next,a=0;a1){var M={cause:d+","+f,reach:L};e(t,n,r,T.prev,S,M),u&&M.reach>u.reach&&(u.reach=M.reach)}}}}}}(e,c,t,c.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(c)},hooks:{all:{},add:function(e,t){var n=a.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=a.hooks.all[e];if(n&&n.length)for(var r,i=0;r=n[i++];)r(t)}},Token:i};function i(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var i=a[1].length;a.index+=i,a[0]=a[0].slice(i)}return a}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}if(e.Prism=a,i.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach(function(t){r+=e(t,n)}),r}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},o=t.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(i.classes,o):i.classes.push(o)),a.hooks.run("wrap",i);var s="";for(var l in i.attributes)s+=" "+l+'="'+(i.attributes[l]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+s+">"+i.content+""},!e.document)return e.addEventListener&&(a.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),r=n.language,i=n.code,o=n.immediateClose;e.postMessage(a.highlight(i,a.languages[r],r)),o&&e.close()},!1)),a;var c=a.util.currentScript();function u(){a.manual||a.highlightAll()}if(c&&(a.filename=c.src,c.hasAttribute("data-manual")&&(a.manual=!0)),!a.manual){var d=document.readyState;"loading"===d||"interactive"===d&&c&&c.defer?document.addEventListener("DOMContentLoaded",u):window.requestAnimationFrame?window.requestAnimationFrame(u):window.setTimeout(u,16)}return a}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=r),void 0!==n.g&&(n.g.Prism=r)},96774:function(e){e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),o=Object.keys(t);if(i.length!==o.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;le.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}},88998:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(95778);function a(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},13643:function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,{Z:function(){return r}})},98568:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)}n.d(t,{Z:function(){return a}})},99660:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(88998);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var l=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(l&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;C(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:I(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),b}},t}},16200:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59312);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw a}}return s}}(e,t)||(0,r.Z)(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},27567:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(13643);function a(){return(a="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var a=function(e,t){for(;!({}).hasOwnProperty.call(e,t)&&null!==(e=(0,r.Z)(e)););return e}(e,t);if(a){var i=Object.getOwnPropertyDescriptor(a,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}}).apply(null,arguments)}function i(e,t,n,i){var o=a((0,r.Z)(1&i?e.prototype:e),t,n);return 2&i&&"function"==typeof o?function(e){return o.apply(n,e)}:o}},25585:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(59630),a=n(59312);function i(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,a.Z)(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},95778:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(2846);function a(e){var t=function(e,t){if("object"!=(0,r.Z)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=(0,r.Z)(a))return a;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.Z)(t)?t:t+""}},2846:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{Z:function(){return r}})},59312:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59630);function a(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},21129:function(e,t,n){"use strict";var r=n(4503);t.Z=r},86676:function(e,t,n){"use strict";n.d(t,{r:function(){return a}});let r=/[#.]/g;function a(e,t){let n,a;let i=e||"",o={},s=0;for(;so&&(o=i):i=1,a=r+t.length,r=n.indexOf(t,a);return o}n.d(t,{J:function(){return r}})},24557:function(e,t,n){"use strict";n.d(t,{Z:function(){return ed}});var r={};n.r(r),n.d(r,{boolean:function(){return c},booleanish:function(){return u},commaOrSpaceSeparated:function(){return m},commaSeparated:function(){return h},number:function(){return p},overloadedBoolean:function(){return d},spaceSeparated:function(){return f}});class a{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function i(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new a(n,r,t)}function o(e){return e.toLowerCase()}a.prototype.normal={},a.prototype.property={},a.prototype.space=void 0;class s{constructor(e,t){this.attribute=t,this.property=e}}s.prototype.attribute="",s.prototype.booleanish=!1,s.prototype.boolean=!1,s.prototype.commaOrSpaceSeparated=!1,s.prototype.commaSeparated=!1,s.prototype.defined=!1,s.prototype.mustUseProperty=!1,s.prototype.number=!1,s.prototype.overloadedBoolean=!1,s.prototype.property="",s.prototype.spaceSeparated=!1,s.prototype.space=void 0;let l=0,c=g(),u=g(),d=g(),p=g(),f=g(),h=g(),m=g();function g(){return 2**++l}let b=Object.keys(r);class y extends s{constructor(e,t,n,a){var i,o;let s=-1;if(super(e,t),a&&(this.space=a),"number"==typeof n)for(;++s"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function T(e,t){return t in e?e[t]:t}function S(e,t){return T(e,t.toLowerCase())}let A=E({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:h,acceptCharset:f,accessKey:f,action:null,allow:null,allowFullScreen:c,allowPaymentRequest:c,allowUserMedia:c,alt:null,as:null,async:c,autoCapitalize:null,autoComplete:f,autoFocus:c,autoPlay:c,blocking:f,capture:null,charSet:null,checked:c,cite:null,className:f,cols:p,colSpan:null,content:null,contentEditable:u,controls:c,controlsList:f,coords:p|h,crossOrigin:null,data:null,dateTime:null,decoding:null,default:c,defer:c,dir:null,dirName:null,disabled:c,download:d,draggable:u,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:c,formTarget:null,headers:f,height:p,hidden:c,high:p,href:null,hrefLang:null,htmlFor:f,httpEquiv:f,id:null,imageSizes:null,imageSrcSet:null,inert:c,inputMode:null,integrity:null,is:null,isMap:c,itemId:null,itemProp:f,itemRef:f,itemScope:c,itemType:f,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:c,low:p,manifest:null,max:null,maxLength:p,media:null,method:null,min:null,minLength:p,multiple:c,muted:c,name:null,nonce:null,noModule:c,noValidate:c,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored: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,onScrollEnd: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:c,optimum:p,pattern:null,ping:f,placeholder:null,playsInline:c,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:c,referrerPolicy:null,rel:f,required:c,reversed:c,rows:p,rowSpan:p,sandbox:f,scope:null,scoped:c,seamless:c,selected:c,shadowRootClonable:c,shadowRootDelegatesFocus:c,shadowRootMode:null,shape:null,size:p,sizes:null,slot:null,span:p,spellCheck:u,src:null,srcDoc:null,srcLang:null,srcSet:null,start:p,step:null,style:null,tabIndex:p,target:null,title:null,translate:null,type:null,typeMustMatch:c,useMap:null,value:u,width:p,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:f,axis:null,background:null,bgColor:null,border:p,borderColor:null,bottomMargin:p,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:c,declare:c,event:null,face:null,frame:null,frameBorder:null,hSpace:p,leftMargin:p,link:null,longDesc:null,lowSrc:null,marginHeight:p,marginWidth:p,noResize:c,noHref:c,noShade:c,noWrap:c,object:null,profile:null,prompt:null,rev:null,rightMargin:p,rules:null,scheme:null,scrolling:u,standby:null,summary:null,text:null,topMargin:p,valueType:null,version:null,vAlign:null,vLink:null,vSpace:p,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:c,disableRemotePlayback:c,prefix:null,property:null,results:p,security:null,unselectable:null},space:"html",transform:S}),O=E({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:m,accentHeight:p,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:p,amplitude:p,arabicForm:null,ascent:p,attributeName:null,attributeType:null,azimuth:p,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:p,by:null,calcMode:null,capHeight:p,className:f,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:p,diffuseConstant:p,direction:null,display:null,dur:null,divisor:p,dominantBaseline:null,download:c,dx:null,dy:null,edgeMode:null,editable:null,elevation:p,enableBackground:null,end:null,event:null,exponent:p,externalResourcesRequired:null,fill:null,fillOpacity:p,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:h,g2:h,glyphName:h,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:p,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:p,horizOriginX:p,horizOriginY:p,id:null,ideographic:p,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:p,k:p,k1:p,k2:p,k3:p,k4:p,kernelMatrix:m,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:p,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:p,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose: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,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:p,overlineThickness:p,paintOrder:null,panose1:null,path:null,pathLength:p,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:f,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:p,pointsAtY:p,pointsAtZ:p,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:m,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:m,rev:m,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:m,requiredFeatures:m,requiredFonts:m,requiredFormats:m,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:p,specularExponent:p,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:p,strikethroughThickness:p,string:null,stroke:null,strokeDashArray:m,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:p,strokeOpacity:p,strokeWidth:null,style:null,surfaceScale:p,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:m,tabIndex:p,tableValues:null,target:null,targetX:p,targetY:p,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:m,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:p,underlineThickness:p,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:p,values:null,vAlphabetic:p,vMathematical:p,vectorEffect:null,vHanging:p,vIdeographic:p,version:null,vertAdvY:p,vertOriginX:p,vertOriginY:p,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:p,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:T}),_=E({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),k=E({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:S}),x=E({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),C=i([v,A,_,k,x],"html"),w=i([v,O,_,k,x],"svg");var I=n(25668),R=n(86676);let N=/[A-Z]/g,L=/-[a-z]/g,D=/^data[-\w.:]+$/i;function P(e){return"-"+e.toLowerCase()}function M(e){return e.charAt(1).toUpperCase()}var F=n(50342);function B(e,t,n){let r=n?function(e){let t=new Map;for(let n of e)t.set(n.toLowerCase(),n);return t}(n):void 0;return function(n,a,...i){let l;if(null==n)l={type:"root",children:[]},i.unshift(a);else{l=(0,R.r)(n,t);let c=l.tagName.toLowerCase(),u=r?r.get(c):void 0;if(l.tagName=u||c,function(e){if(null===e||"object"!=typeof e||Array.isArray(e))return!0;if("string"!=typeof e.type)return!1;let t=Object.keys(e);for(let n of t){let t=e[n];if(t&&"object"==typeof t){if(!Array.isArray(t))return!0;for(let e of t)if("number"!=typeof e&&"string"!=typeof e)return!0}}return!!("children"in e&&Array.isArray(e.children))}(a))i.unshift(a);else for(let[t,n]of Object.entries(a))!function(e,t,n,r){let a;let i=function(e,t){let n=o(t),r=t,a=s;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&D.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(L,M);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!L.test(e)){let n=e.replace(N,P);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}a=y}return new a(r,t)}(e,n);if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;a=r}else a="boolean"==typeof r?r:"string"==typeof r?i.spaceSeparated?(0,F.Q)(r):i.commaSeparated?(0,I.Q)(r):i.commaOrSpaceSeparated?(0,F.Q)((0,I.Q)(r).join(" ")):j(i,i.property,r):Array.isArray(r)?[...r]:"style"===i.property?function(e){let t=[];for(let[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}(r):String(r);if(Array.isArray(a)){let e=[];for(let t of a)e.push(j(i,i.property,t));a=e}"className"===i.property&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}(e,l.properties,t,n)}for(let e of i)!function e(t,n){if(null==n);else if("number"==typeof n||"string"==typeof n)t.push({type:"text",value:String(n)});else if(Array.isArray(n))for(let r of n)e(t,r);else if("object"==typeof n&&"type"in n)"root"===n.type?e(t,n.children):t.push(n);else throw Error("Expected node, nodes, or string, got `"+n+"`")}(l.children,e);return"element"===l.type&&"template"===l.tagName&&(l.content={type:"root",children:l.children},l.children=[]),l}}function j(e,t,n){if("string"==typeof n){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(""===n||o(n)===o(t)))return!0}return n}let U=B(C,"div"),G=B(w,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]);var H=n(49911);function $(e,t){let n=function(e,t){switch(e.nodeType){case 1:return function(e,t){let n=e.namespaceURI,r=n===H.t.svg?G:U,a=n===H.t.html?e.tagName.toLowerCase():e.tagName,i=n===H.t.html&&"template"===a?e.content:e,o=e.getAttributeNames(),s={},l=-1;for(;++ln&&(n=e):e&&(void 0!==n&&n>-1&&l.push("\n".repeat(n)||" "),n=-1,l.push(e))}return l.join("")}(d,{whitespace:"pre"});try{a=es.ZP.renderToString(p,{...t,displayMode:c,throwOnError:!0})}catch(o){let i=o.name.toLowerCase();n.message("Could not render math with KaTeX",{ancestors:[...r,e],cause:o,place:e.position,ruleId:i,source:"rehype-katex"});try{a=es.ZP.renderToString(p,{...t,displayMode:c,strict:"ignore",throwOnError:!1})}catch{a=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(o)},children:[{type:"text",value:p}]}]}}if("string"==typeof a){let e=function(e,t){let n=t?.fragment?function(e){let t=document.createElement("template");return t.innerHTML=e,t.content}(e):Z.parseFromString(e,"text/html");return $(n,{})||{type:"root",children:[]}}(a,{fragment:!0});a=e.children}let f=u.children.indexOf(d);return u.children.splice(f,1,...a),el.AM})}}},12384:function(e,t,n){"use strict";n.d(t,{Z:function(){return tJ}});var r,a,i,o,s,l,c,u,d,p,f,h,m,g,b,y,E,v,T,S,A,O,_=n(52835),k=n(24345),x=n(91634),C=n(25668),w=n(86676),I=n(26103),R=n(28051),N=n(50342);let L=new Set(["button","menu","reset","submit"]),D={}.hasOwnProperty;function P(e,t,n){let r=n&&function(e){let t={},n=-1;for(;++n1?n[e.line-2]:0)+e.column-1;if(r-1&&e<=t.length){let r=0;for(;;){let a=n[r];if(void 0===a){let e=j(t,n[r-1]);a=-1===e?t.length+1:e+1,n[r]=a}if(a>e)return{line:r+1,column:e-(r>0?n[r-1]:0)+1,offset:e};r++}}}}}(t),a=r.toPoint(0),i=r.toPoint(t.length);(0,k.ok)(a,"expected `start`"),(0,k.ok)(i,"expected `end`"),n.position={start:a,end:i}}return n}case"#documentType":return Z(e,t,n={type:"doctype"}),n;case"#text":return n={type:"text",value:t.value},Z(e,t,n),n;default:return function(e,t){let n=e.schema;e.schema=t.namespaceURI===U.t.svg?x.YP:x.dy;let r=-1,a={};for(;++r=55296&&e<=57343}function ei(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function eo(e){return e>=64976&&e<=65007||en.has(e)}(a=m=m||(m={})).controlCharacterInInputStream="control-character-in-input-stream",a.noncharacterInInputStream="noncharacter-in-input-stream",a.surrogateInInputStream="surrogate-in-input-stream",a.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",a.endTagWithAttributes="end-tag-with-attributes",a.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",a.unexpectedSolidusInTag="unexpected-solidus-in-tag",a.unexpectedNullCharacter="unexpected-null-character",a.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",a.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",a.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",a.missingEndTagName="missing-end-tag-name",a.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",a.unknownNamedCharacterReference="unknown-named-character-reference",a.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",a.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",a.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",a.eofBeforeTagName="eof-before-tag-name",a.eofInTag="eof-in-tag",a.missingAttributeValue="missing-attribute-value",a.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",a.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",a.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",a.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",a.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",a.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",a.missingDoctypePublicIdentifier="missing-doctype-public-identifier",a.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",a.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",a.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",a.cdataInHtmlContent="cdata-in-html-content",a.incorrectlyOpenedComment="incorrectly-opened-comment",a.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",a.eofInDoctype="eof-in-doctype",a.nestedComment="nested-comment",a.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",a.eofInComment="eof-in-comment",a.incorrectlyClosedComment="incorrectly-closed-comment",a.eofInCdata="eof-in-cdata",a.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",a.nullCharacterReference="null-character-reference",a.surrogateCharacterReference="surrogate-character-reference",a.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",a.controlCharacterReference="control-character-reference",a.noncharacterCharacterReference="noncharacter-character-reference",a.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",a.missingDoctypeName="missing-doctype-name",a.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",a.duplicateAttribute="duplicate-attribute",a.nonConformingDoctype="non-conforming-doctype",a.missingDoctype="missing-doctype",a.misplacedDoctype="misplaced-doctype",a.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",a.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",a.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",a.openElementsLeftAfterEof="open-elements-left-after-eof",a.abandonedHeadElementChild="abandoned-head-element-child",a.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",a.nestedNoscriptInHead="nested-noscript-in-head",a.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text";class es{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e){let{line:t,col:n,offset:r}=this;return{code:e,startLine:t,endLine:t,startCol:n,endCol:n,startOffset:r,endOffset:r}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let t=this.html.charCodeAt(this.pos+1);if(t>=56320&&t<=57343)return this.pos++,this._addGap(),(e-55296)*1024+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,h.EOF;return this._err(m.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,h.EOF;let n=this.html.charCodeAt(t);return n===h.CARRIAGE_RETURN?h.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,h.EOF;let e=this.html.charCodeAt(this.pos);if(e===h.CARRIAGE_RETURN)return this.isEol=!0,this.skipNextNewLine=!0,h.LINE_FEED;if(e===h.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine))return this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance();this.skipNextNewLine=!1,ea(e)&&(e=this._processSurrogate(e));let t=null===this.handler.onParseError||e>31&&e<127||e===h.LINE_FEED||e===h.CARRIAGE_RETURN||e>159&&e<64976;return t||this._checkForProblematicCharacters(e),e}_checkForProblematicCharacters(e){ei(e)?this._err(m.controlCharacterInInputStream):eo(e)&&this._err(m.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}(i=g=g||(g={}))[i.CHARACTER=0]="CHARACTER",i[i.NULL_CHARACTER=1]="NULL_CHARACTER",i[i.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",i[i.START_TAG=3]="START_TAG",i[i.END_TAG=4]="END_TAG",i[i.COMMENT=5]="COMMENT",i[i.DOCTYPE=6]="DOCTYPE",i[i.EOF=7]="EOF",i[i.HIBERNATION=8]="HIBERNATION";var ec=n(60411);(o=b=b||(b={})).HTML="http://www.w3.org/1999/xhtml",o.MATHML="http://www.w3.org/1998/Math/MathML",o.SVG="http://www.w3.org/2000/svg",o.XLINK="http://www.w3.org/1999/xlink",o.XML="http://www.w3.org/XML/1998/namespace",o.XMLNS="http://www.w3.org/2000/xmlns/",(s=y=y||(y={})).TYPE="type",s.ACTION="action",s.ENCODING="encoding",s.PROMPT="prompt",s.NAME="name",s.COLOR="color",s.FACE="face",s.SIZE="size",(l=E=E||(E={})).NO_QUIRKS="no-quirks",l.QUIRKS="quirks",l.LIMITED_QUIRKS="limited-quirks",(c=v=v||(v={})).A="a",c.ADDRESS="address",c.ANNOTATION_XML="annotation-xml",c.APPLET="applet",c.AREA="area",c.ARTICLE="article",c.ASIDE="aside",c.B="b",c.BASE="base",c.BASEFONT="basefont",c.BGSOUND="bgsound",c.BIG="big",c.BLOCKQUOTE="blockquote",c.BODY="body",c.BR="br",c.BUTTON="button",c.CAPTION="caption",c.CENTER="center",c.CODE="code",c.COL="col",c.COLGROUP="colgroup",c.DD="dd",c.DESC="desc",c.DETAILS="details",c.DIALOG="dialog",c.DIR="dir",c.DIV="div",c.DL="dl",c.DT="dt",c.EM="em",c.EMBED="embed",c.FIELDSET="fieldset",c.FIGCAPTION="figcaption",c.FIGURE="figure",c.FONT="font",c.FOOTER="footer",c.FOREIGN_OBJECT="foreignObject",c.FORM="form",c.FRAME="frame",c.FRAMESET="frameset",c.H1="h1",c.H2="h2",c.H3="h3",c.H4="h4",c.H5="h5",c.H6="h6",c.HEAD="head",c.HEADER="header",c.HGROUP="hgroup",c.HR="hr",c.HTML="html",c.I="i",c.IMG="img",c.IMAGE="image",c.INPUT="input",c.IFRAME="iframe",c.KEYGEN="keygen",c.LABEL="label",c.LI="li",c.LINK="link",c.LISTING="listing",c.MAIN="main",c.MALIGNMARK="malignmark",c.MARQUEE="marquee",c.MATH="math",c.MENU="menu",c.META="meta",c.MGLYPH="mglyph",c.MI="mi",c.MO="mo",c.MN="mn",c.MS="ms",c.MTEXT="mtext",c.NAV="nav",c.NOBR="nobr",c.NOFRAMES="noframes",c.NOEMBED="noembed",c.NOSCRIPT="noscript",c.OBJECT="object",c.OL="ol",c.OPTGROUP="optgroup",c.OPTION="option",c.P="p",c.PARAM="param",c.PLAINTEXT="plaintext",c.PRE="pre",c.RB="rb",c.RP="rp",c.RT="rt",c.RTC="rtc",c.RUBY="ruby",c.S="s",c.SCRIPT="script",c.SECTION="section",c.SELECT="select",c.SOURCE="source",c.SMALL="small",c.SPAN="span",c.STRIKE="strike",c.STRONG="strong",c.STYLE="style",c.SUB="sub",c.SUMMARY="summary",c.SUP="sup",c.TABLE="table",c.TBODY="tbody",c.TEMPLATE="template",c.TEXTAREA="textarea",c.TFOOT="tfoot",c.TD="td",c.TH="th",c.THEAD="thead",c.TITLE="title",c.TR="tr",c.TRACK="track",c.TT="tt",c.U="u",c.UL="ul",c.SVG="svg",c.VAR="var",c.WBR="wbr",c.XMP="xmp",(u=T=T||(T={}))[u.UNKNOWN=0]="UNKNOWN",u[u.A=1]="A",u[u.ADDRESS=2]="ADDRESS",u[u.ANNOTATION_XML=3]="ANNOTATION_XML",u[u.APPLET=4]="APPLET",u[u.AREA=5]="AREA",u[u.ARTICLE=6]="ARTICLE",u[u.ASIDE=7]="ASIDE",u[u.B=8]="B",u[u.BASE=9]="BASE",u[u.BASEFONT=10]="BASEFONT",u[u.BGSOUND=11]="BGSOUND",u[u.BIG=12]="BIG",u[u.BLOCKQUOTE=13]="BLOCKQUOTE",u[u.BODY=14]="BODY",u[u.BR=15]="BR",u[u.BUTTON=16]="BUTTON",u[u.CAPTION=17]="CAPTION",u[u.CENTER=18]="CENTER",u[u.CODE=19]="CODE",u[u.COL=20]="COL",u[u.COLGROUP=21]="COLGROUP",u[u.DD=22]="DD",u[u.DESC=23]="DESC",u[u.DETAILS=24]="DETAILS",u[u.DIALOG=25]="DIALOG",u[u.DIR=26]="DIR",u[u.DIV=27]="DIV",u[u.DL=28]="DL",u[u.DT=29]="DT",u[u.EM=30]="EM",u[u.EMBED=31]="EMBED",u[u.FIELDSET=32]="FIELDSET",u[u.FIGCAPTION=33]="FIGCAPTION",u[u.FIGURE=34]="FIGURE",u[u.FONT=35]="FONT",u[u.FOOTER=36]="FOOTER",u[u.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",u[u.FORM=38]="FORM",u[u.FRAME=39]="FRAME",u[u.FRAMESET=40]="FRAMESET",u[u.H1=41]="H1",u[u.H2=42]="H2",u[u.H3=43]="H3",u[u.H4=44]="H4",u[u.H5=45]="H5",u[u.H6=46]="H6",u[u.HEAD=47]="HEAD",u[u.HEADER=48]="HEADER",u[u.HGROUP=49]="HGROUP",u[u.HR=50]="HR",u[u.HTML=51]="HTML",u[u.I=52]="I",u[u.IMG=53]="IMG",u[u.IMAGE=54]="IMAGE",u[u.INPUT=55]="INPUT",u[u.IFRAME=56]="IFRAME",u[u.KEYGEN=57]="KEYGEN",u[u.LABEL=58]="LABEL",u[u.LI=59]="LI",u[u.LINK=60]="LINK",u[u.LISTING=61]="LISTING",u[u.MAIN=62]="MAIN",u[u.MALIGNMARK=63]="MALIGNMARK",u[u.MARQUEE=64]="MARQUEE",u[u.MATH=65]="MATH",u[u.MENU=66]="MENU",u[u.META=67]="META",u[u.MGLYPH=68]="MGLYPH",u[u.MI=69]="MI",u[u.MO=70]="MO",u[u.MN=71]="MN",u[u.MS=72]="MS",u[u.MTEXT=73]="MTEXT",u[u.NAV=74]="NAV",u[u.NOBR=75]="NOBR",u[u.NOFRAMES=76]="NOFRAMES",u[u.NOEMBED=77]="NOEMBED",u[u.NOSCRIPT=78]="NOSCRIPT",u[u.OBJECT=79]="OBJECT",u[u.OL=80]="OL",u[u.OPTGROUP=81]="OPTGROUP",u[u.OPTION=82]="OPTION",u[u.P=83]="P",u[u.PARAM=84]="PARAM",u[u.PLAINTEXT=85]="PLAINTEXT",u[u.PRE=86]="PRE",u[u.RB=87]="RB",u[u.RP=88]="RP",u[u.RT=89]="RT",u[u.RTC=90]="RTC",u[u.RUBY=91]="RUBY",u[u.S=92]="S",u[u.SCRIPT=93]="SCRIPT",u[u.SECTION=94]="SECTION",u[u.SELECT=95]="SELECT",u[u.SOURCE=96]="SOURCE",u[u.SMALL=97]="SMALL",u[u.SPAN=98]="SPAN",u[u.STRIKE=99]="STRIKE",u[u.STRONG=100]="STRONG",u[u.STYLE=101]="STYLE",u[u.SUB=102]="SUB",u[u.SUMMARY=103]="SUMMARY",u[u.SUP=104]="SUP",u[u.TABLE=105]="TABLE",u[u.TBODY=106]="TBODY",u[u.TEMPLATE=107]="TEMPLATE",u[u.TEXTAREA=108]="TEXTAREA",u[u.TFOOT=109]="TFOOT",u[u.TD=110]="TD",u[u.TH=111]="TH",u[u.THEAD=112]="THEAD",u[u.TITLE=113]="TITLE",u[u.TR=114]="TR",u[u.TRACK=115]="TRACK",u[u.TT=116]="TT",u[u.U=117]="U",u[u.UL=118]="UL",u[u.SVG=119]="SVG",u[u.VAR=120]="VAR",u[u.WBR=121]="WBR",u[u.XMP=122]="XMP";let eu=new Map([[v.A,T.A],[v.ADDRESS,T.ADDRESS],[v.ANNOTATION_XML,T.ANNOTATION_XML],[v.APPLET,T.APPLET],[v.AREA,T.AREA],[v.ARTICLE,T.ARTICLE],[v.ASIDE,T.ASIDE],[v.B,T.B],[v.BASE,T.BASE],[v.BASEFONT,T.BASEFONT],[v.BGSOUND,T.BGSOUND],[v.BIG,T.BIG],[v.BLOCKQUOTE,T.BLOCKQUOTE],[v.BODY,T.BODY],[v.BR,T.BR],[v.BUTTON,T.BUTTON],[v.CAPTION,T.CAPTION],[v.CENTER,T.CENTER],[v.CODE,T.CODE],[v.COL,T.COL],[v.COLGROUP,T.COLGROUP],[v.DD,T.DD],[v.DESC,T.DESC],[v.DETAILS,T.DETAILS],[v.DIALOG,T.DIALOG],[v.DIR,T.DIR],[v.DIV,T.DIV],[v.DL,T.DL],[v.DT,T.DT],[v.EM,T.EM],[v.EMBED,T.EMBED],[v.FIELDSET,T.FIELDSET],[v.FIGCAPTION,T.FIGCAPTION],[v.FIGURE,T.FIGURE],[v.FONT,T.FONT],[v.FOOTER,T.FOOTER],[v.FOREIGN_OBJECT,T.FOREIGN_OBJECT],[v.FORM,T.FORM],[v.FRAME,T.FRAME],[v.FRAMESET,T.FRAMESET],[v.H1,T.H1],[v.H2,T.H2],[v.H3,T.H3],[v.H4,T.H4],[v.H5,T.H5],[v.H6,T.H6],[v.HEAD,T.HEAD],[v.HEADER,T.HEADER],[v.HGROUP,T.HGROUP],[v.HR,T.HR],[v.HTML,T.HTML],[v.I,T.I],[v.IMG,T.IMG],[v.IMAGE,T.IMAGE],[v.INPUT,T.INPUT],[v.IFRAME,T.IFRAME],[v.KEYGEN,T.KEYGEN],[v.LABEL,T.LABEL],[v.LI,T.LI],[v.LINK,T.LINK],[v.LISTING,T.LISTING],[v.MAIN,T.MAIN],[v.MALIGNMARK,T.MALIGNMARK],[v.MARQUEE,T.MARQUEE],[v.MATH,T.MATH],[v.MENU,T.MENU],[v.META,T.META],[v.MGLYPH,T.MGLYPH],[v.MI,T.MI],[v.MO,T.MO],[v.MN,T.MN],[v.MS,T.MS],[v.MTEXT,T.MTEXT],[v.NAV,T.NAV],[v.NOBR,T.NOBR],[v.NOFRAMES,T.NOFRAMES],[v.NOEMBED,T.NOEMBED],[v.NOSCRIPT,T.NOSCRIPT],[v.OBJECT,T.OBJECT],[v.OL,T.OL],[v.OPTGROUP,T.OPTGROUP],[v.OPTION,T.OPTION],[v.P,T.P],[v.PARAM,T.PARAM],[v.PLAINTEXT,T.PLAINTEXT],[v.PRE,T.PRE],[v.RB,T.RB],[v.RP,T.RP],[v.RT,T.RT],[v.RTC,T.RTC],[v.RUBY,T.RUBY],[v.S,T.S],[v.SCRIPT,T.SCRIPT],[v.SECTION,T.SECTION],[v.SELECT,T.SELECT],[v.SOURCE,T.SOURCE],[v.SMALL,T.SMALL],[v.SPAN,T.SPAN],[v.STRIKE,T.STRIKE],[v.STRONG,T.STRONG],[v.STYLE,T.STYLE],[v.SUB,T.SUB],[v.SUMMARY,T.SUMMARY],[v.SUP,T.SUP],[v.TABLE,T.TABLE],[v.TBODY,T.TBODY],[v.TEMPLATE,T.TEMPLATE],[v.TEXTAREA,T.TEXTAREA],[v.TFOOT,T.TFOOT],[v.TD,T.TD],[v.TH,T.TH],[v.THEAD,T.THEAD],[v.TITLE,T.TITLE],[v.TR,T.TR],[v.TRACK,T.TRACK],[v.TT,T.TT],[v.U,T.U],[v.UL,T.UL],[v.SVG,T.SVG],[v.VAR,T.VAR],[v.WBR,T.WBR],[v.XMP,T.XMP]]);function ed(e){var t;return null!==(t=eu.get(e))&&void 0!==t?t:T.UNKNOWN}let ep=T,ef={[b.HTML]:new Set([ep.ADDRESS,ep.APPLET,ep.AREA,ep.ARTICLE,ep.ASIDE,ep.BASE,ep.BASEFONT,ep.BGSOUND,ep.BLOCKQUOTE,ep.BODY,ep.BR,ep.BUTTON,ep.CAPTION,ep.CENTER,ep.COL,ep.COLGROUP,ep.DD,ep.DETAILS,ep.DIR,ep.DIV,ep.DL,ep.DT,ep.EMBED,ep.FIELDSET,ep.FIGCAPTION,ep.FIGURE,ep.FOOTER,ep.FORM,ep.FRAME,ep.FRAMESET,ep.H1,ep.H2,ep.H3,ep.H4,ep.H5,ep.H6,ep.HEAD,ep.HEADER,ep.HGROUP,ep.HR,ep.HTML,ep.IFRAME,ep.IMG,ep.INPUT,ep.LI,ep.LINK,ep.LISTING,ep.MAIN,ep.MARQUEE,ep.MENU,ep.META,ep.NAV,ep.NOEMBED,ep.NOFRAMES,ep.NOSCRIPT,ep.OBJECT,ep.OL,ep.P,ep.PARAM,ep.PLAINTEXT,ep.PRE,ep.SCRIPT,ep.SECTION,ep.SELECT,ep.SOURCE,ep.STYLE,ep.SUMMARY,ep.TABLE,ep.TBODY,ep.TD,ep.TEMPLATE,ep.TEXTAREA,ep.TFOOT,ep.TH,ep.THEAD,ep.TITLE,ep.TR,ep.TRACK,ep.UL,ep.WBR,ep.XMP]),[b.MATHML]:new Set([ep.MI,ep.MO,ep.MN,ep.MS,ep.MTEXT,ep.ANNOTATION_XML]),[b.SVG]:new Set([ep.TITLE,ep.FOREIGN_OBJECT,ep.DESC]),[b.XLINK]:new Set,[b.XML]:new Set,[b.XMLNS]:new Set};function eh(e){return e===ep.H1||e===ep.H2||e===ep.H3||e===ep.H4||e===ep.H5||e===ep.H6}v.STYLE,v.SCRIPT,v.XMP,v.IFRAME,v.NOEMBED,v.NOFRAMES,v.PLAINTEXT;let em=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);(d=S||(S={}))[d.DATA=0]="DATA",d[d.RCDATA=1]="RCDATA",d[d.RAWTEXT=2]="RAWTEXT",d[d.SCRIPT_DATA=3]="SCRIPT_DATA",d[d.PLAINTEXT=4]="PLAINTEXT",d[d.TAG_OPEN=5]="TAG_OPEN",d[d.END_TAG_OPEN=6]="END_TAG_OPEN",d[d.TAG_NAME=7]="TAG_NAME",d[d.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",d[d.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",d[d.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",d[d.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",d[d.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",d[d.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",d[d.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",d[d.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",d[d.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",d[d.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",d[d.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",d[d.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",d[d.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",d[d.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",d[d.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",d[d.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",d[d.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",d[d.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",d[d.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",d[d.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",d[d.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",d[d.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",d[d.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",d[d.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",d[d.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",d[d.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",d[d.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",d[d.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",d[d.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",d[d.BOGUS_COMMENT=40]="BOGUS_COMMENT",d[d.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",d[d.COMMENT_START=42]="COMMENT_START",d[d.COMMENT_START_DASH=43]="COMMENT_START_DASH",d[d.COMMENT=44]="COMMENT",d[d.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",d[d.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",d[d.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",d[d.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",d[d.COMMENT_END_DASH=49]="COMMENT_END_DASH",d[d.COMMENT_END=50]="COMMENT_END",d[d.COMMENT_END_BANG=51]="COMMENT_END_BANG",d[d.DOCTYPE=52]="DOCTYPE",d[d.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",d[d.DOCTYPE_NAME=54]="DOCTYPE_NAME",d[d.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",d[d.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",d[d.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",d[d.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",d[d.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",d[d.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",d[d.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",d[d.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",d[d.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",d[d.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",d[d.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",d[d.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",d[d.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",d[d.CDATA_SECTION=68]="CDATA_SECTION",d[d.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",d[d.CDATA_SECTION_END=70]="CDATA_SECTION_END",d[d.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",d[d.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",d[d.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",d[d.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",d[d.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",d[d.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",d[d.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",d[d.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END";let eg={DATA:S.DATA,RCDATA:S.RCDATA,RAWTEXT:S.RAWTEXT,SCRIPT_DATA:S.SCRIPT_DATA,PLAINTEXT:S.PLAINTEXT,CDATA_SECTION:S.CDATA_SECTION};function eb(e){return e>=h.DIGIT_0&&e<=h.DIGIT_9}function ey(e){return e>=h.LATIN_CAPITAL_A&&e<=h.LATIN_CAPITAL_Z}function eE(e){return e>=h.LATIN_SMALL_A&&e<=h.LATIN_SMALL_Z||ey(e)}function ev(e){return eE(e)||eb(e)}function eT(e){return e>=h.LATIN_CAPITAL_A&&e<=h.LATIN_CAPITAL_F}function eS(e){return e>=h.LATIN_SMALL_A&&e<=h.LATIN_SMALL_F}function eA(e){return e===h.SPACE||e===h.LINE_FEED||e===h.TABULATION||e===h.FORM_FEED}function eO(e){return eA(e)||e===h.SOLIDUS||e===h.GREATER_THAN_SIGN}class e_{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=S.DATA,this.returnState=S.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new es(t),this.currentLocation=this.getCurrentLocation(-1)}_err(e){var t,n;null===(n=(t=this.handler).onParseError)||void 0===n||n.call(t,this.preprocessor.getError(e))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw Error("Parser was already resumed");this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(e){this.consumedAfterSnapshot-=e,this.preprocessor.retreat(e)}_reconsumeInState(e,t){this.state=e,this._callState(t)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t0&&this._err(m.endTagWithAttributes),e.selfClosing&&this._err(m.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case g.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case g.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case g.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:g.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type!==e)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=t;return}}this._createCharacterToken(e,t)}_emitCodePoint(e){let t=eA(e)?g.WHITESPACE_CHARACTER:e===h.NULL?g.NULL_CHARACTER:g.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(g.CHARACTER,e)}_matchNamedCharacterReference(e){let t=null,n=0,r=!1;for(let i=0,o=ec.HP[0];i>=0&&!((i=(0,ec.Go)(ec.HP,o,i+1,e))<0);e=this._consume()){n+=1,o=ec.HP[i];let s=o&ec.ge.VALUE_LENGTH;if(s){var a;let o=(s>>14)-1;if(e!==h.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((a=this.preprocessor.peek(1))===h.EQUALS_SIGN||ev(a))?(t=[h.AMPERSAND],i+=o):(t=0===o?[ec.HP[i]&~ec.ge.VALUE_LENGTH]:1===o?[ec.HP[++i]]:[ec.HP[++i],ec.HP[++i]],n=0,r=e!==h.SEMICOLON),0===o){this._consume();break}}}return this._unconsume(n),r&&!this.preprocessor.endOfChunkHit&&this._err(m.missingSemicolonAfterCharacterReference),this._unconsume(1),t}_isCharacterReferenceInAttribute(){return this.returnState===S.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case S.DATA:this._stateData(e);break;case S.RCDATA:this._stateRcdata(e);break;case S.RAWTEXT:this._stateRawtext(e);break;case S.SCRIPT_DATA:this._stateScriptData(e);break;case S.PLAINTEXT:this._statePlaintext(e);break;case S.TAG_OPEN:this._stateTagOpen(e);break;case S.END_TAG_OPEN:this._stateEndTagOpen(e);break;case S.TAG_NAME:this._stateTagName(e);break;case S.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case S.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case S.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case S.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case S.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case S.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case S.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case S.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case S.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case S.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case S.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case S.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case S.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case S.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case S.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case S.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case S.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case S.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case S.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case S.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case S.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case S.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case S.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case S.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case S.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case S.BOGUS_COMMENT:this._stateBogusComment(e);break;case S.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case S.COMMENT_START:this._stateCommentStart(e);break;case S.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case S.COMMENT:this._stateComment(e);break;case S.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case S.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case S.COMMENT_END:this._stateCommentEnd(e);break;case S.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case S.DOCTYPE:this._stateDoctype(e);break;case S.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case S.DOCTYPE_NAME:this._stateDoctypeName(e);break;case S.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case S.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case S.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case S.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case S.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case S.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case S.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case S.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case S.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case S.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case S.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case S.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case S.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case S.CDATA_SECTION:this._stateCdataSection(e);break;case S.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case S.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case S.CHARACTER_REFERENCE:this._stateCharacterReference(e);break;case S.NAMED_CHARACTER_REFERENCE:this._stateNamedCharacterReference(e);break;case S.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;case S.NUMERIC_CHARACTER_REFERENCE:this._stateNumericCharacterReference(e);break;case S.HEXADEMICAL_CHARACTER_REFERENCE_START:this._stateHexademicalCharacterReferenceStart(e);break;case S.HEXADEMICAL_CHARACTER_REFERENCE:this._stateHexademicalCharacterReference(e);break;case S.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(e);break;case S.NUMERIC_CHARACTER_REFERENCE_END:this._stateNumericCharacterReferenceEnd(e);break;default:throw Error("Unknown state")}}_stateData(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.TAG_OPEN;break;case h.AMPERSAND:this.returnState=S.DATA,this.state=S.CHARACTER_REFERENCE;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitCodePoint(e);break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case h.AMPERSAND:this.returnState=S.RCDATA,this.state=S.CHARACTER_REFERENCE;break;case h.LESS_THAN_SIGN:this.state=S.RCDATA_LESS_THAN_SIGN;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.RAWTEXT_LESS_THAN_SIGN;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.SCRIPT_DATA_LESS_THAN_SIGN;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(eE(e))this._createStartTagToken(),this.state=S.TAG_NAME,this._stateTagName(e);else switch(e){case h.EXCLAMATION_MARK:this.state=S.MARKUP_DECLARATION_OPEN;break;case h.SOLIDUS:this.state=S.END_TAG_OPEN;break;case h.QUESTION_MARK:this._err(m.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=S.BOGUS_COMMENT,this._stateBogusComment(e);break;case h.EOF:this._err(m.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(m.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=S.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(eE(e))this._createEndTagToken(),this.state=S.TAG_NAME,this._stateTagName(e);else switch(e){case h.GREATER_THAN_SIGN:this._err(m.missingEndTagName),this.state=S.DATA;break;case h.EOF:this._err(m.eofBeforeTagName),this._emitChars("");break;case h.NULL:this._err(m.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case h.EOF:this._err(m.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===h.SOLIDUS?this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:eE(e)?(this._emitChars("<"),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=S.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){eE(e)?(this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("");break;case h.NULL:this._err(m.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case h.EOF:this._err(m.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===h.SOLIDUS?(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(er.SCRIPT,!1)&&eO(this.preprocessor.peek(er.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e1114111)this._err(m.characterReferenceOutsideUnicodeRange),this.charRefCode=h.REPLACEMENT_CHARACTER;else if(ea(this.charRefCode))this._err(m.surrogateCharacterReference),this.charRefCode=h.REPLACEMENT_CHARACTER;else if(eo(this.charRefCode))this._err(m.noncharacterCharacterReference);else if(ei(this.charRefCode)||this.charRefCode===h.CARRIAGE_RETURN){this._err(m.controlCharacterReference);let e=em.get(this.charRefCode);void 0!==e&&(this.charRefCode=e)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}}let ek=new Set([T.DD,T.DT,T.LI,T.OPTGROUP,T.OPTION,T.P,T.RB,T.RP,T.RT,T.RTC]),ex=new Set([...ek,T.CAPTION,T.COLGROUP,T.TBODY,T.TD,T.TFOOT,T.TH,T.THEAD,T.TR]),eC=new Map([[T.APPLET,b.HTML],[T.CAPTION,b.HTML],[T.HTML,b.HTML],[T.MARQUEE,b.HTML],[T.OBJECT,b.HTML],[T.TABLE,b.HTML],[T.TD,b.HTML],[T.TEMPLATE,b.HTML],[T.TH,b.HTML],[T.ANNOTATION_XML,b.MATHML],[T.MI,b.MATHML],[T.MN,b.MATHML],[T.MO,b.MATHML],[T.MS,b.MATHML],[T.MTEXT,b.MATHML],[T.DESC,b.SVG],[T.FOREIGN_OBJECT,b.SVG],[T.TITLE,b.SVG]]),ew=[T.H1,T.H2,T.H3,T.H4,T.H5,T.H6],eI=[T.TR,T.TEMPLATE,T.HTML],eR=[T.TBODY,T.TFOOT,T.THEAD,T.TEMPLATE,T.HTML],eN=[T.TABLE,T.TEMPLATE,T.HTML],eL=[T.TD,T.TH];class eD{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=T.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===T.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===b.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){let r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==b.HTML);this.shortenToLength(t<0?0:t)}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop=0;n--)if(e.includes(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return -1}clearBackTo(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(eN,b.HTML)}clearBackToTableBodyContext(){this.clearBackTo(eR,b.HTML)}clearBackToTableRowContext(){this.clearBackTo(eI,b.HTML)}remove(e){let t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===T.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===T.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(eC.get(n)===r)return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(eh(t)&&n===b.HTML)break;if(eC.get(t)===n)return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if((n===T.UL||n===T.OL)&&r===b.HTML||eC.get(n)===r)return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(n===T.BUTTON&&r===b.HTML||eC.get(n)===r)return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n===T.TABLE||n===T.TEMPLATE||n===T.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(n===b.HTML){if(t===T.TBODY||t===T.THEAD||t===T.TFOOT)break;if(t===T.TABLE||t===T.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n!==T.OPTION&&n!==T.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;ek.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;ex.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&ex.has(this.currentTagId);)this.pop()}}(p=A=A||(A={}))[p.Marker=0]="Marker",p[p.Element=1]="Element";let eP={type:A.Marker};class eM{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let n=[],r=t.length,a=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let e=0;e[e.name,e.value])),a=0;for(let e=0;er.get(e.name)===e.value)&&(a+=1)>=3&&this.entries.splice(t.idx,1)}}insertMarker(){this.entries.unshift(eP)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:A.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:A.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);t>=0&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(eP);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===A.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===A.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===A.Element&&t.element===e)}}function eF(e){return{nodeName:"#text",value:e,parentNode:null}}let eB={createDocument:()=>({nodeName:"#document",mode:E.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){let r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,n,r){let a=e.childNodes.find(e=>"#documentType"===e.nodeName);a?(a.name=t,a.publicId=n,a.systemId=r):eB.appendChild(e,{nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null})},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let n=e.childNodes[e.childNodes.length-1];if(eB.isTextNode(n)){n.value+=t;return}}eB.appendChild(e,eF(t))},insertTextBefore(e,t,n){let r=e.childNodes[e.childNodes.indexOf(n)-1];r&&eB.isTextNode(r)?r.value+=t:eB.insertBefore(e,eF(t),n)},adoptAttributes(e,t){let n=new Set(e.attrs.map(e=>e.name));for(let r=0;re.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},ej="html",eU=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],eG=[...eU,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],eH=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),e$=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],ez=[...e$,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function eZ(e,t){return t.some(t=>e.startsWith(t))}let eW={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},eV=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),eY=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:b.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:b.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:b.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:b.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:b.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:b.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:b.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:b.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:b.XML}],["xml:space",{prefix:"xml",name:"space",namespace:b.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:b.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:b.XMLNS}]]),eq=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),eK=new Set([T.B,T.BIG,T.BLOCKQUOTE,T.BODY,T.BR,T.CENTER,T.CODE,T.DD,T.DIV,T.DL,T.DT,T.EM,T.EMBED,T.H1,T.H2,T.H3,T.H4,T.H5,T.H6,T.HEAD,T.HR,T.I,T.IMG,T.LI,T.LISTING,T.MENU,T.META,T.NOBR,T.OL,T.P,T.PRE,T.RUBY,T.S,T.SMALL,T.SPAN,T.STRONG,T.STRIKE,T.SUB,T.SUP,T.TABLE,T.TT,T.U,T.UL,T.VAR]);function eX(e){for(let t=0;t0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null===(r=(n=this.treeAdapter).onItemPop)||void 0===r||r.call(n,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let n=e===this.document||this.treeAdapter.getNamespaceURI(e)===b.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,b.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=O.TEXT}switchToPlaintextParsing(){this.insertionMode=O.TEXT,this.originalInsertionMode=O.IN_BODY,this.tokenizer.state=eg.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===v.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===b.HTML)switch(this.fragmentContextID){case T.TITLE:case T.TEXTAREA:this.tokenizer.state=eg.RCDATA;break;case T.STYLE:case T.XMP:case T.IFRAME:case T.NOEMBED:case T.NOFRAMES:case T.NOSCRIPT:this.tokenizer.state=eg.RAWTEXT;break;case T.SCRIPT:this.tokenizer.state=eg.SCRIPT_DATA;break;case T.PLAINTEXT:this.tokenizer.state=eg.PLAINTEXT}}_setDocumentType(e){let t=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){let t=this.treeAdapter.getChildNodes(this.document),n=t.find(e=>this.treeAdapter.isDocumentTypeNode(e));n&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){let n=this.treeAdapter.createElement(e,b.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,b.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(v.HTML,b.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,T.HTML)}_appendCommentNode(e,t){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let r=this.treeAdapter.getChildNodes(t),a=n?r.lastIndexOf(n):r.length,i=r[a-1],o=this.treeAdapter.getNodeSourceCodeLocation(i);if(o){let{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let n=t.location,r=this.treeAdapter.getTagName(e),a=t.type===g.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,a)}}shouldProcessStartTagTokenInForeignContent(e){let t,n;return!!this.currentNotInHTML&&(0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):{current:t,currentTagId:n}=this.openElements,(e.tagID!==T.SVG||this.treeAdapter.getTagName(t)!==v.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==b.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===T.MGLYPH||e.tagID===T.MALIGNMARK)&&!this._isIntegrationPoint(n,t,b.HTML)))}_processToken(e){switch(e.type){case g.CHARACTER:this.onCharacter(e);break;case g.NULL_CHARACTER:this.onNullCharacter(e);break;case g.COMMENT:this.onComment(e);break;case g.DOCTYPE:this.onDoctype(e);break;case g.START_TAG:this._processStartTag(e);break;case g.END_TAG:this.onEndTag(e);break;case g.EOF:this.onEof(e);break;case g.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){let r=this.treeAdapter.getNamespaceURI(t),a=this.treeAdapter.getAttrList(t);return(!n||n===b.HTML)&&function(e,t,n){if(t===b.MATHML&&e===T.ANNOTATION_XML){for(let e=0;ee.type===A.Marker||this.openElements.contains(e.element)),n=t<0?e-1:t-1;for(let e=n;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=O.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(T.P),this.openElements.popUntilTagNamePopped(T.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case T.TR:this.insertionMode=O.IN_ROW;return;case T.TBODY:case T.THEAD:case T.TFOOT:this.insertionMode=O.IN_TABLE_BODY;return;case T.CAPTION:this.insertionMode=O.IN_CAPTION;return;case T.COLGROUP:this.insertionMode=O.IN_COLUMN_GROUP;return;case T.TABLE:this.insertionMode=O.IN_TABLE;return;case T.BODY:this.insertionMode=O.IN_BODY;return;case T.FRAMESET:this.insertionMode=O.IN_FRAMESET;return;case T.SELECT:this._resetInsertionModeForSelect(e);return;case T.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case T.HTML:this.insertionMode=this.headElement?O.AFTER_HEAD:O.BEFORE_HEAD;return;case T.TD:case T.TH:if(e>0){this.insertionMode=O.IN_CELL;return}break;case T.HEAD:if(e>0){this.insertionMode=O.IN_HEAD;return}}this.insertionMode=O.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===T.TEMPLATE)break;if(e===T.TABLE){this.insertionMode=O.IN_SELECT_IN_TABLE;return}}this.insertionMode=O.IN_SELECT}_isElementCausesFosterParenting(e){return e1.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case T.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===b.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case T.TABLE:{let n=this.treeAdapter.getParentNode(t);if(n)return{parent:n,beforeElement:t};return{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){let n=this.treeAdapter.getNamespaceURI(e);return ef[n].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){this._insertCharacters(e),this.framesetOk=!1;return}switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.IN_BODY:case O.IN_CAPTION:case O.IN_CELL:case O.IN_TEMPLATE:ts(this,e);break;case O.TEXT:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tg(this,e);break;case O.IN_TABLE_TEXT:tT(this,e);break;case O.IN_COLUMN_GROUP:t_(this,e);break;case O.AFTER_BODY:tD(this,e);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){e.chars="�",this._insertCharacters(e);return}switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.TEXT:this._insertCharacters(e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tg(this,e);break;case O.IN_COLUMN_GROUP:t_(this,e);break;case O.AFTER_BODY:tD(this,e);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){e4(this,e);return}switch(this.insertionMode){case O.INITIAL:case O.BEFORE_HTML:case O.BEFORE_HEAD:case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:case O.IN_BODY:case O.IN_TABLE:case O.IN_CAPTION:case O.IN_COLUMN_GROUP:case O.IN_TABLE_BODY:case O.IN_ROW:case O.IN_CELL:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:case O.IN_TEMPLATE:case O.IN_FRAMESET:case O.AFTER_FRAMESET:e4(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case O.INITIAL:!function(e,t){e._setDocumentType(t);let n=t.forceQuirks?E.QUIRKS:function(e){if(e.name!==ej)return E.QUIRKS;let{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return E.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),eH.has(n))return E.QUIRKS;let e=null===t?eG:eU;if(eZ(n,e))return E.QUIRKS;if(eZ(n,e=null===t?e$:ez))return E.LIMITED_QUIRKS}return E.NO_QUIRKS}(t);t.name===ej&&null===t.publicId&&(null===t.systemId||"about:legacy-compat"===t.systemId)||e._err(t,m.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=O.BEFORE_HTML}(this,e);break;case O.BEFORE_HEAD:case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:this._err(e,m.misplacedDoctype);break;case O.IN_TABLE_TEXT:tS(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,m.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){let t=e.tagID,n=t===T.FONT&&e.attrs.some(({name:e})=>e===y.COLOR||e===y.SIZE||e===y.FACE);return n||eK.has(t)}(t))tM(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===b.MATHML?eX(t):r===b.SVG&&(function(e){let t=eq.get(e.tagName);null!=t&&(e.tagName=t,e.tagID=ed(e.tagName))}(t),eQ(t)),eJ(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e.tagID===T.HTML?(this._insertElement(e,b.HTML),this.insertionMode=O.BEFORE_HEAD):e8(this,e);break;case O.BEFORE_HEAD:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.HEAD:e._insertElement(t,b.HTML),e.headElement=e.openElements.current,e.insertionMode=O.IN_HEAD;break;default:e7(e,t)}}(this,e);break;case O.IN_HEAD:te(this,e);break;case O.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BASEFONT:case T.BGSOUND:case T.HEAD:case T.LINK:case T.META:case T.NOFRAMES:case T.STYLE:te(e,t);break;case T.NOSCRIPT:e._err(t,m.nestedNoscriptInHead);break;default:tr(e,t)}}(this,e);break;case O.AFTER_HEAD:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BODY:e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=O.IN_BODY;break;case T.FRAMESET:e._insertElement(t,b.HTML),e.insertionMode=O.IN_FRAMESET;break;case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:e._err(t,m.abandonedHeadElementChild),e.openElements.push(e.headElement,T.HEAD),te(e,t),e.openElements.remove(e.headElement);break;case T.HEAD:e._err(t,m.misplacedStartTagForHeadElement);break;default:ta(e,t)}}(this,e);break;case O.IN_BODY:tp(this,e);break;case O.IN_TABLE:tb(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_CAPTION:!function(e,t){let n=t.tagID;tA.has(n)?e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_TABLE,tb(e,t)):tp(e,t)}(this,e);break;case O.IN_COLUMN_GROUP:tO(this,e);break;case O.IN_TABLE_BODY:tk(this,e);break;case O.IN_ROW:tC(this,e);break;case O.IN_CELL:!function(e,t){let n=t.tagID;tA.has(n)?(e.openElements.hasInTableScope(T.TD)||e.openElements.hasInTableScope(T.TH))&&(e._closeTableCell(),tC(e,t)):tp(e,t)}(this,e);break;case O.IN_SELECT:tI(this,e);break;case O.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e._processStartTag(t)):tI(e,t)}(this,e);break;case O.IN_TEMPLATE:!function(e,t){switch(t.tagID){case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:te(e,t);break;case T.CAPTION:case T.COLGROUP:case T.TBODY:case T.TFOOT:case T.THEAD:e.tmplInsertionModeStack[0]=O.IN_TABLE,e.insertionMode=O.IN_TABLE,tb(e,t);break;case T.COL:e.tmplInsertionModeStack[0]=O.IN_COLUMN_GROUP,e.insertionMode=O.IN_COLUMN_GROUP,tO(e,t);break;case T.TR:e.tmplInsertionModeStack[0]=O.IN_TABLE_BODY,e.insertionMode=O.IN_TABLE_BODY,tk(e,t);break;case T.TD:case T.TH:e.tmplInsertionModeStack[0]=O.IN_ROW,e.insertionMode=O.IN_ROW,tC(e,t);break;default:e.tmplInsertionModeStack[0]=O.IN_BODY,e.insertionMode=O.IN_BODY,tp(e,t)}}(this,e);break;case O.AFTER_BODY:e.tagID===T.HTML?tp(this,e):tD(this,e);break;case O.IN_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.FRAMESET:e._insertElement(t,b.HTML);break;case T.FRAME:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.NOFRAMES:te(e,t)}}(this,e);break;case O.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.NOFRAMES:te(e,t)}}(this,e);break;case O.AFTER_AFTER_BODY:e.tagID===T.HTML?tp(this,e):tP(this,e);break;case O.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.NOFRAMES:te(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===T.P||t.tagID===T.BR){tM(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){let r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===b.HTML){e._endTagOutsideForeignContent(t);break}let a=e.treeAdapter.getTagName(r);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){var t;switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:!function(e,t){let n=t.tagID;(n===T.HTML||n===T.HEAD||n===T.BODY||n===T.BR)&&e8(e,t)}(this,e);break;case O.BEFORE_HEAD:!function(e,t){let n=t.tagID;n===T.HEAD||n===T.BODY||n===T.HTML||n===T.BR?e7(e,t):e._err(t,m.endTagWithoutMatchingOpenElement)}(this,e);break;case O.IN_HEAD:!function(e,t){switch(t.tagID){case T.HEAD:e.openElements.pop(),e.insertionMode=O.AFTER_HEAD;break;case T.BODY:case T.BR:case T.HTML:tn(e,t);break;case T.TEMPLATE:tt(e,t);break;default:e._err(t,m.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case T.NOSCRIPT:e.openElements.pop(),e.insertionMode=O.IN_HEAD;break;case T.BR:tr(e,t);break;default:e._err(t,m.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.AFTER_HEAD:!function(e,t){switch(t.tagID){case T.BODY:case T.HTML:case T.BR:ta(e,t);break;case T.TEMPLATE:tt(e,t);break;default:e._err(t,m.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.IN_BODY:th(this,e);break;case O.TEXT:e.tagID===T.SCRIPT&&(null===(t=this.scriptHandler)||void 0===t||t.call(this,this.openElements.current)),this.openElements.pop(),this.insertionMode=this.originalInsertionMode;break;case O.IN_TABLE:ty(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_CAPTION:!function(e,t){let n=t.tagID;switch(n){case T.CAPTION:case T.TABLE:e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_TABLE,n===T.TABLE&&ty(e,t));break;case T.BODY:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:th(e,t)}}(this,e);break;case O.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case T.COLGROUP:e.openElements.currentTagId===T.COLGROUP&&(e.openElements.pop(),e.insertionMode=O.IN_TABLE);break;case T.TEMPLATE:tt(e,t);break;case T.COL:break;default:t_(e,t)}}(this,e);break;case O.IN_TABLE_BODY:tx(this,e);break;case O.IN_ROW:tw(this,e);break;case O.IN_CELL:!function(e,t){let n=t.tagID;switch(n){case T.TD:case T.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_ROW);break;case T.TABLE:case T.TBODY:case T.TFOOT:case T.THEAD:case T.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),tw(e,t));break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:break;default:th(e,t)}}(this,e);break;case O.IN_SELECT:tR(this,e);break;case O.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e.onEndTag(t)):tR(e,t)}(this,e);break;case O.IN_TEMPLATE:e.tagID===T.TEMPLATE&&tt(this,e);break;case O.AFTER_BODY:tL(this,e);break;case O.IN_FRAMESET:e.tagID!==T.FRAMESET||this.openElements.isRootHtmlElementCurrent()||(this.openElements.pop(),this.fragmentContext||this.openElements.currentTagId===T.FRAMESET||(this.insertionMode=O.AFTER_FRAMESET));break;case O.AFTER_FRAMESET:e.tagID===T.HTML&&(this.insertionMode=O.AFTER_AFTER_FRAMESET);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onEof(e){switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.IN_BODY:case O.IN_TABLE:case O.IN_CAPTION:case O.IN_COLUMN_GROUP:case O.IN_TABLE_BODY:case O.IN_ROW:case O.IN_CELL:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:tm(this,e);break;case O.TEXT:this._err(e,m.eofInElementThatCanContainOnlyText),this.openElements.pop(),this.insertionMode=this.originalInsertionMode,this.onEof(e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_TEMPLATE:tN(this,e);break;case O.AFTER_BODY:case O.IN_FRAMESET:case O.AFTER_FRAMESET:case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:e6(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===h.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:case O.TEXT:case O.IN_COLUMN_GROUP:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:case O.IN_FRAMESET:case O.AFTER_FRAMESET:this._insertCharacters(e);break;case O.IN_BODY:case O.IN_CAPTION:case O.IN_CELL:case O.IN_TEMPLATE:case O.AFTER_BODY:case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:to(this,e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tg(this,e);break;case O.IN_TABLE_TEXT:tv(this,e)}}}function e5(e,t){for(let n=0;n<8;n++){let n=function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):tf(e,t),n}(e,t);if(!n)break;let r=function(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){let a=e.openElements.items[r];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[r])&&(n=a)}return n||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;let a=function(e,t,n){let r=t,a=e.openElements.getCommonAncestor(t);for(let i=0,o=a;o!==n;i++,o=a){a=e.openElements.getCommonAncestor(o);let n=e.activeFormattingElements.getElementEntry(o),s=n&&i>=3,l=!n||s;l?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(o)):(o=function(e,t){let n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}(e,r,n.element),i=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(a),i&&function(e,t,n){let r=e.treeAdapter.getTagName(t),a=ed(r);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(n);else{let r=e.treeAdapter.getNamespaceURI(t);a===T.TEMPLATE&&r===b.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}(e,i,a),function(e,t,n){let r=e.treeAdapter.getNamespaceURI(n.element),{token:a}=n,i=e.treeAdapter.createElement(a.tagName,r,a.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,a),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,a.tagID)}(e,r,n)}}function e4(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function e6(e,t){if(e.stopped=!0,t.location){let n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){let n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function e9(e,t){e._err(t,m.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,E.QUIRKS),e.insertionMode=O.BEFORE_HTML,e._processToken(t)}function e8(e,t){e._insertFakeRootElement(),e.insertionMode=O.BEFORE_HEAD,e._processToken(t)}function e7(e,t){e._insertFakeElement(v.HEAD,T.HEAD),e.headElement=e.openElements.current,e.insertionMode=O.IN_HEAD,e._processToken(t)}function te(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.TITLE:e._switchToTextParsing(t,eg.RCDATA);break;case T.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,eg.RAWTEXT):(e._insertElement(t,b.HTML),e.insertionMode=O.IN_HEAD_NO_SCRIPT);break;case T.NOFRAMES:case T.STYLE:e._switchToTextParsing(t,eg.RAWTEXT);break;case T.SCRIPT:e._switchToTextParsing(t,eg.SCRIPT_DATA);break;case T.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=O.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(O.IN_TEMPLATE);break;case T.HEAD:e._err(t,m.misplacedStartTagForHeadElement);break;default:tn(e,t)}}function tt(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==T.TEMPLATE&&e._err(t,m.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,m.endTagWithoutMatchingOpenElement)}function tn(e,t){e.openElements.pop(),e.insertionMode=O.AFTER_HEAD,e._processToken(t)}function tr(e,t){let n=t.type===g.EOF?m.openElementsLeftAfterEof:m.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=O.IN_HEAD,e._processToken(t)}function ta(e,t){e._insertFakeElement(v.BODY,T.BODY),e.insertionMode=O.IN_BODY,ti(e,t)}function ti(e,t){switch(t.type){case g.CHARACTER:ts(e,t);break;case g.WHITESPACE_CHARACTER:to(e,t);break;case g.COMMENT:e4(e,t);break;case g.START_TAG:tp(e,t);break;case g.END_TAG:th(e,t);break;case g.EOF:tm(e,t)}}function to(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function ts(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function tl(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function tc(e){let t=el(e,y.TYPE);return null!=t&&"hidden"===t.toLowerCase()}function tu(e,t){e._switchToTextParsing(t,eg.RAWTEXT)}function td(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML)}function tp(e,t){switch(t.tagID){case T.I:case T.S:case T.B:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.SMALL:case T.STRIKE:case T.STRONG:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case T.A:!function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(v.A);n&&(e5(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),eh(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,b.HTML);break;case T.P:case T.DL:case T.OL:case T.UL:case T.DIV:case T.DIR:case T.NAV:case T.MAIN:case T.MENU:case T.ASIDE:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.DETAILS:case T.ADDRESS:case T.ARTICLE:case T.SECTION:case T.SUMMARY:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML);break;case T.LI:case T.DD:case T.DT:!function(e,t){e.framesetOk=!1;let n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let r=e.openElements.tagIDs[t];if(n===T.LI&&r===T.LI||(n===T.DD||n===T.DT)&&(r===T.DD||r===T.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==T.ADDRESS&&r!==T.DIV&&r!==T.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML)}(e,t);break;case T.BR:case T.IMG:case T.WBR:case T.AREA:case T.EMBED:case T.KEYGEN:tl(e,t);break;case T.HR:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0;break;case T.RB:case T.RTC:e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,b.HTML);break;case T.RT:case T.RP:e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(T.RTC),e._insertElement(t,b.HTML);break;case T.PRE:case T.LISTING:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.framesetOk=!1;break;case T.XMP:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,eg.RAWTEXT);break;case T.SVG:e._reconstructActiveFormattingElements(),eQ(t),eJ(t),t.selfClosing?e._appendElement(t,b.SVG):e._insertElement(t,b.SVG),t.ackSelfClosing=!0;break;case T.HTML:0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs);break;case T.BASE:case T.LINK:case T.META:case T.STYLE:case T.TITLE:case T.SCRIPT:case T.BGSOUND:case T.BASEFONT:case T.TEMPLATE:te(e,t);break;case T.BODY:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t);break;case T.FORM:!function(e,t){let n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),n||(e.formElement=e.openElements.current))}(e,t);break;case T.NOBR:e._reconstructActiveFormattingElements(),e.openElements.hasInScope(T.NOBR)&&(e5(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case T.MATH:e._reconstructActiveFormattingElements(),eX(t),eJ(t),t.selfClosing?e._appendElement(t,b.MATHML):e._insertElement(t,b.MATHML),t.ackSelfClosing=!0;break;case T.TABLE:e.treeAdapter.getDocumentMode(e.document)!==E.QUIRKS&&e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=O.IN_TABLE;break;case T.INPUT:e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),tc(t)||(e.framesetOk=!1),t.ackSelfClosing=!0;break;case T.PARAM:case T.TRACK:case T.SOURCE:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.IMAGE:t.tagName=v.IMG,t.tagID=T.IMG,tl(e,t);break;case T.BUTTON:e.openElements.hasInScope(T.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1;break;case T.APPLET:case T.OBJECT:case T.MARQUEE:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1;break;case T.IFRAME:e.framesetOk=!1,e._switchToTextParsing(t,eg.RAWTEXT);break;case T.SELECT:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===O.IN_TABLE||e.insertionMode===O.IN_CAPTION||e.insertionMode===O.IN_TABLE_BODY||e.insertionMode===O.IN_ROW||e.insertionMode===O.IN_CELL?O.IN_SELECT_IN_TABLE:O.IN_SELECT;break;case T.OPTION:case T.OPTGROUP:e.openElements.currentTagId===T.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML);break;case T.NOEMBED:tu(e,t);break;case T.FRAMESET:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_FRAMESET)}(e,t);break;case T.TEXTAREA:e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.tokenizer.state=eg.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=O.TEXT;break;case T.NOSCRIPT:e.options.scriptingEnabled?tu(e,t):td(e,t);break;case T.PLAINTEXT:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.tokenizer.state=eg.PLAINTEXT;break;case T.COL:case T.TH:case T.TD:case T.TR:case T.HEAD:case T.FRAME:case T.TBODY:case T.TFOOT:case T.THEAD:case T.CAPTION:case T.COLGROUP:break;default:td(e,t)}}function tf(e,t){let n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let a=e.openElements.items[t],i=e.openElements.tagIDs[t];if(r===i&&(r!==T.UNKNOWN||e.treeAdapter.getTagName(a)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(a,i))break}}function th(e,t){switch(t.tagID){case T.A:case T.B:case T.I:case T.S:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.NOBR:case T.SMALL:case T.STRIKE:case T.STRONG:e5(e,t);break;case T.P:e.openElements.hasInButtonScope(T.P)||e._insertFakeElement(v.P,T.P),e._closePElement();break;case T.DL:case T.UL:case T.OL:case T.DIR:case T.DIV:case T.NAV:case T.PRE:case T.MAIN:case T.MENU:case T.ASIDE:case T.BUTTON:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.ADDRESS:case T.ARTICLE:case T.DETAILS:case T.SECTION:case T.SUMMARY:case T.LISTING:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case T.LI:e.openElements.hasInListItemScope(T.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(T.LI),e.openElements.popUntilTagNamePopped(T.LI));break;case T.DD:case T.DT:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped());break;case T.BR:e._reconstructActiveFormattingElements(),e._insertFakeElement(v.BR,T.BR),e.openElements.pop(),e.framesetOk=!1;break;case T.BODY:!function(e,t){if(e.openElements.hasInScope(T.BODY)&&(e.insertionMode=O.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}(e,t);break;case T.HTML:e.openElements.hasInScope(T.BODY)&&(e.insertionMode=O.AFTER_BODY,tL(e,t));break;case T.FORM:!function(e){let t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(T.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(T.FORM):n&&e.openElements.remove(n))}(e);break;case T.APPLET:case T.OBJECT:case T.MARQUEE:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}(e,t);break;case T.TEMPLATE:tt(e,t);break;default:tf(e,t)}}function tm(e,t){e.tmplInsertionModeStack.length>0?tN(e,t):e6(e,t)}function tg(e,t){if(e1.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=O.IN_TABLE_TEXT,t.type){case g.CHARACTER:tT(e,t);break;case g.WHITESPACE_CHARACTER:tv(e,t)}else tE(e,t)}function tb(e,t){switch(t.tagID){case T.TD:case T.TH:case T.TR:e.openElements.clearBackToTableContext(),e._insertFakeElement(v.TBODY,T.TBODY),e.insertionMode=O.IN_TABLE_BODY,tk(e,t);break;case T.STYLE:case T.SCRIPT:case T.TEMPLATE:te(e,t);break;case T.COL:e.openElements.clearBackToTableContext(),e._insertFakeElement(v.COLGROUP,T.COLGROUP),e.insertionMode=O.IN_COLUMN_GROUP,tO(e,t);break;case T.FORM:e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,b.HTML),e.formElement=e.openElements.current,e.openElements.pop());break;case T.TABLE:e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode(),e._processStartTag(t));break;case T.TBODY:case T.TFOOT:case T.THEAD:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_TABLE_BODY;break;case T.INPUT:tc(t)?e._appendElement(t,b.HTML):tE(e,t),t.ackSelfClosing=!0;break;case T.CAPTION:e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_CAPTION;break;case T.COLGROUP:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_COLUMN_GROUP;break;default:tE(e,t)}}function ty(e,t){switch(t.tagID){case T.TABLE:e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode());break;case T.TEMPLATE:tt(e,t);break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:tE(e,t)}}function tE(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,ti(e,t),e.fosterParentingEnabled=n}function tv(e,t){e.pendingCharacterTokens.push(t)}function tT(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function tS(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0&&e.openElements.currentTagId===T.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===T.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===T.OPTGROUP&&e.openElements.pop();break;case T.OPTION:e.openElements.currentTagId===T.OPTION&&e.openElements.pop();break;case T.SELECT:e.openElements.hasInSelectScope(T.SELECT)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode());break;case T.TEMPLATE:tt(e,t)}}function tN(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):e6(e,t)}function tL(e,t){var n;if(t.tagID===T.HTML){if(e.fragmentContext||(e.insertionMode=O.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===T.HTML){e._setEndLocation(e.openElements.items[0],t);let r=e.openElements.items[1];!r||(null===(n=e.treeAdapter.getNodeSourceCodeLocation(r))||void 0===n?void 0:n.endTag)||e._setEndLocation(r,t)}}else tD(e,t)}function tD(e,t){e.insertionMode=O.IN_BODY,ti(e,t)}function tP(e,t){e.insertionMode=O.IN_BODY,ti(e,t)}function tM(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==b.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}n(43470),v.AREA,v.BASE,v.BASEFONT,v.BGSOUND,v.BR,v.COL,v.EMBED,v.FRAME,v.HR,v.IMG,v.INPUT,v.KEYGEN,v.LINK,v.META,v.PARAM,v.SOURCE,v.TRACK,v.WBR;var tF=n(3980),tB=n(21623);let tj=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),tU={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function tG(e,t){let n=function(e){let t="root"===e.type?e.children[0]:e;return!!(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName.toLowerCase()))}(e),r=q("type",{handlers:{root:t$,element:tz,text:tZ,comment:tV,doctype:tW,raw:tY},unknown:tq}),a={parser:n?new e3(tU):e3.getFragmentParser(void 0,tU),handle(e){r(e,a)},stitches:!1,options:t||{}};r(e,a),tK(a,(0,tF.Pk)());let i=n?a.parser.document:a.parser.getFragment(),o=function(e,t){let n=t||{};return $({file:n.file||void 0,location:!1,schema:"svg"===n.space?x.YP:x.dy,verbose:n.verbose||!1},e)}(i,{file:a.options.file});return(a.stitches&&(0,tB.Vn)(o,"comment",function(e,t,n){if(e.value.stitch&&n&&void 0!==t){let r=n.children;return r[t]=e.value.stitch,t}}),"root"===o.type&&1===o.children.length&&o.children[0].type===e.type)?o.children[0]:o}function tH(e,t){let n=-1;if(e)for(;++n4&&(t.parser.tokenizer.state=0);let n={type:g.CHARACTER,chars:e.value,location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tW(e,t){let n={type:g.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tV(e,t){let n=e.value,r={type:g.COMMENT,data:n,location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function tY(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,tX(t,(0,tF.Pk)(e)),t.parser.tokenizer.write(e.value,!1),t.parser.tokenizer._runParsingLoop(),72===t.parser.tokenizer.state||78===t.parser.tokenizer.state){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;let e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function tq(e,t){if(t.options.passThrough&&t.options.passThrough.includes(e.type))!function(e,t){t.stitches=!0;let n="children"in e?(0,_.ZP)({...e,children:[]}):(0,_.ZP)(e);if("children"in e&&"children"in n){let r=tG({type:"root",children:e.children},t.options);n.children=r.children}tV({type:"comment",value:{stitch:n}},t)}(e,t);else{let t="";throw tj.has(e.type)&&(t=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),Error("Cannot compile `"+e.type+"` node"+t)}}function tK(e,t){tX(e,t);let n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=eg.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function tX(e,t){if(t&&void 0!==t.offset){let n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function tQ(e){let t=(0,tF.Pk)(e)||{line:void 0,column:void 0,offset:void 0},n=(0,tF.rb)(e)||{line:void 0,column:void 0,offset:void 0},r={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset};return r}function tJ(e){return function(t,n){let r=tG(t,{...e,file:n});return r}}},78600:function(e,t,n){"use strict";function r(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,a=n.indexOf(t);for(;-1!==a;)r++,a=n.indexOf(t,a+t.length);return r}n.d(t,{Z:function(){return eQ}});var a=n(24345),i=n(15459),o=n(88718),s=n(96093);let l="phrasing",c=["autolink","link","image","label"];function u(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function d(e){this.config.enter.autolinkProtocol.call(this,e)}function p(e){this.config.exit.autolinkProtocol.call(this,e)}function f(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];(0,a.ok)("link"===t.type),t.url="http://"+this.sliceSerialize(e)}function h(e){this.config.exit.autolinkEmail.call(this,e)}function m(e){this.exit(e)}function g(e){!function(e,t,n){let r=(0,s.O)((n||{}).ignore||[]),a=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r0?{type:"text",value:i}:void 0),!1===i?r.lastIndex=n+1:(s!==n&&d.push({type:"text",value:e.value.slice(s,n)}),Array.isArray(i)?d.push(...i):i&&d.push(i),s=n+p[0].length,u=!0),!r.global)break;p=r.exec(e.value)}return u?(s?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],a=n.indexOf(")"),i=r(e,"("),o=r(e,")");for(;-1!==a&&i>o;)e+=n.slice(0,a+1),a=(n=n.slice(a+1)).indexOf(")"),o++;return[e,n]}(n+a);if(!s[0])return!1;let l={type:"link",title:null,url:o+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[l,{type:"text",value:s[1]}]:l}function y(e,t,n,r){return!(!E(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function E(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||(0,i.B8)(n)||(0,i.Xh)(n))&&(!t||47!==n)}var v=n(11098);function T(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function S(){this.buffer()}function A(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteDefinition"===n.type),n.label=t,n.identifier=(0,v.d)(this.sliceSerialize(e)).toLowerCase()}function O(e){this.exit(e)}function _(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function k(){this.buffer()}function x(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteReference"===n.type),n.label=t,n.identifier=(0,v.d)(this.sliceSerialize(e)).toLowerCase()}function C(e){this.exit(e)}function w(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteReference"),s=n.enter("reference");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),o(),i+=a.move("]")}function I(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteDefinition"),s=n.enter("label");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),i+=a.move("]:"+(e.children&&e.children.length>0?" ":"")),a.shift(4),i+=a.move(n.indentLines(n.containerFlow(e,a.current()),R)),o(),i}function R(e,t,n){return 0===t?e:(n?"":" ")+e}w.peek=function(){return"["};let N=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function L(e){this.enter({type:"delete",children:[]},e)}function D(e){this.exit(e)}function P(e,t,n,r){let a=n.createTracker(r),i=n.enter("strikethrough"),o=a.move("~~");return o+=n.containerPhrasing(e,{...a.current(),before:o,after:"~"})+a.move("~~"),i(),o}function M(e){return e.length}function F(e){let t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function B(e,t,n){return">"+(n?"":" ")+e}function j(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),c+=l.move(")"),o(),c}function q(e,t,n,r){let a=e.referenceType,i=n.enter("imageReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("!["),c=n.safe(e.alt,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function K(e,t,n){let r=e.value||"",a="`",i=-1;for(;RegExp("(^|[^`])"+a+"([^`]|$)").test(r);)a+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i\u007F]/.test(e.url))}function Q(e,t,n,r){let a,i;let o=$(n),s='"'===o?"Quote":"Apostrophe",l=n.createTracker(r);if(X(e,n)){let t=n.stack;n.stack=[],a=n.enter("autolink");let r=l.move("<");return r+=l.move(n.containerPhrasing(e,{before:r,after:">",...l.current()}))+l.move(">"),a(),n.stack=t,r}a=n.enter("link"),i=n.enter("label");let c=l.move("[");return c+=l.move(n.containerPhrasing(e,{before:c,after:"](",...l.current()}))+l.move("]("),i(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(i=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(i=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),i(),e.title&&(i=n.enter(`title${s}`),c+=l.move(" "+o),c+=l.move(n.safe(e.title,{before:c,after:o,...l.current()}))+l.move(o),i()),c+=l.move(")"),a(),c}function J(e,t,n,r){let a=e.referenceType,i=n.enter("linkReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("["),c=n.containerPhrasing(e,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function ee(e){let t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function et(e){let t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}V.peek=function(){return"<"},Y.peek=function(){return"!"},q.peek=function(){return"!"},K.peek=function(){return"`"},Q.peek=function(e,t,n){return X(e,n)?"<":"["},J.peek=function(){return"["};let en=(0,s.O)(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function er(e,t,n,r){let a=function(e){let t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(n),i=n.enter("strong"),o=n.createTracker(r),s=o.move(a+a);return s+=o.move(n.containerPhrasing(e,{before:s,after:a,...o.current()}))+o.move(a+a),i(),s}er.peek=function(e,t,n){return n.options.strong||"*"};let ea={blockquote:function(e,t,n,r){let a=n.enter("blockquote"),i=n.createTracker(r);i.move("> "),i.shift(2);let o=n.indentLines(n.containerFlow(e,i.current()),B);return a(),o},break:U,code:function(e,t,n,r){let a=function(e){let t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),i=e.value||"",o="`"===a?"GraveAccent":"Tilde";if(!1===n.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value)){let e=n.enter("codeIndented"),t=n.indentLines(i,H);return e(),t}let s=n.createTracker(r),l=a.repeat(Math.max((0,G.J)(i,a)+1,3)),c=n.enter("codeFenced"),u=s.move(l);if(e.lang){let t=n.enter(`codeFencedLang${o}`);u+=s.move(n.safe(e.lang,{before:u,after:" ",encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${o}`);u+=s.move(" "),u+=s.move(n.safe(e.meta,{before:u,after:"\n",encode:["`"],...s.current()})),t()}return u+=s.move("\n"),i&&(u+=s.move(i+"\n")),u+=s.move(l),c(),u},definition:function(e,t,n,r){let a=$(n),i='"'===a?"Quote":"Apostrophe",o=n.enter("definition"),s=n.enter("label"),l=n.createTracker(r),c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()}))+l.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":"\n",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),o(),c},emphasis:z,hardBreak:U,heading:function(e,t,n,r){let a;let i=Math.max(Math.min(6,e.depth||1),1),s=n.createTracker(r);if(a=!1,(0,Z.Vn)(e,function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return a=!0,o.BK}),(!e.depth||e.depth<3)&&(0,W.B)(e)&&(n.options.setext||a)){let t=n.enter("headingSetext"),r=n.enter("phrasing"),a=n.containerPhrasing(e,{...s.current(),before:"\n",after:"\n"});return r(),t(),a+"\n"+(1===i?"=":"-").repeat(a.length-(Math.max(a.lastIndexOf("\r"),a.lastIndexOf("\n"))+1))}let l="#".repeat(i),c=n.enter("headingAtx"),u=n.enter("phrasing");s.move(l+" ");let d=n.containerPhrasing(e,{before:"# ",after:"\n",...s.current()});return/^[\t ]/.test(d)&&(d="&#x"+d.charCodeAt(0).toString(16).toUpperCase()+";"+d.slice(1)),d=d?l+" "+d:l,n.options.closeAtx&&(d+=" "+l),u(),c(),d},html:V,image:Y,imageReference:q,inlineCode:K,link:Q,linkReference:J,list:function(e,t,n,r){let a=n.enter("list"),i=n.bulletCurrent,o=e.ordered?function(e){let t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):ee(n),s=e.ordered?"."===o?")":".":function(e){let t=ee(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n),l=!!t&&!!n.bulletLastUsed&&o===n.bulletLastUsed;if(!e.ordered){let t=e.children?e.children[0]:void 0;if("*"!==o&&"-"!==o||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(l=!0),et(n)===o&&t){let t=-1;for(;++t-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+i);let o=i.length+1;("tab"===a||"mixed"===a&&(t&&"list"===t.type&&t.spread||e.spread))&&(o=4*Math.ceil(o/4));let s=n.createTracker(r);s.move(i+" ".repeat(o-i.length)),s.shift(o);let l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),function(e,t,n){return t?(n?"":" ".repeat(o))+e:(n?i:i+" ".repeat(o-i.length))+e});return l(),c},paragraph:function(e,t,n,r){let a=n.enter("paragraph"),i=n.enter("phrasing"),o=n.containerPhrasing(e,r);return i(),a(),o},root:function(e,t,n,r){let a=e.children.some(function(e){return en(e)}),i=a?n.containerPhrasing:n.containerFlow;return i.call(n,e,r)},strong:er,text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){let r=(et(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}};function ei(e){let t=e._align;(0,a.ok)(t,"expected `_align` on table"),this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function eo(e){this.exit(e),this.data.inTable=void 0}function es(e){this.enter({type:"tableRow",children:[]},e)}function el(e){this.exit(e)}function ec(e){this.enter({type:"tableCell",children:[]},e)}function eu(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,ed));let n=this.stack[this.stack.length-1];(0,a.ok)("inlineCode"===n.type),n.value=t,this.exit(e)}function ed(e,t){return"|"===t?t:e}function ep(e){let t=this.stack[this.stack.length-2];(0,a.ok)("listItem"===t.type),t.checked="taskListCheckValueChecked"===e.type}function ef(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1];(0,a.ok)("paragraph"===e.type);let n=e.children[0];if(n&&"text"===n.type){let r;let a=t.children,i=-1;for(;++i0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}eO[43]=eA,eO[45]=eA,eO[46]=eA,eO[95]=eA,eO[72]=[eA,eS],eO[104]=[eA,eS],eO[87]=[eA,eT],eO[119]=[eA,eT];var eR=n(23402),eN=n(42761);let eL={tokenize:function(e,t,n){let r=this;return(0,eN.f)(e,function(e){let a=r.events[r.events.length-1];return a&&"gfmFootnoteDefinitionIndent"===a[1].type&&4===a[2].sliceSerialize(a[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function eD(e,t,n){let r;let a=this,i=a.events.length,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);for(;i--;){let e=a.events[i][1];if("labelImage"===e.type){r=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(i){if(!r||!r._balanced)return n(i);let s=(0,v.d)(a.sliceSerialize({start:r.end,end:a.now()}));return 94===s.codePointAt(0)&&o.includes(s.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(i),e.exit("gfmFootnoteCallLabelMarker"),t(i)):n(i)}}function eP(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;let i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",a,t],["exit",a,t],["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function eM(e,t,n){let r;let a=this,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),s=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),l};function l(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(l){if(s>999||93===l&&!r||null===l||91===l||(0,i.z3)(l))return n(l);if(93===l){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return o.includes((0,v.d)(a.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(l)}return(0,i.z3)(l)||(r=!0),s++,e.consume(l),92===l?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function eF(e,t,n){let r,a;let o=this,s=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]),l=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(t)}function u(t){if(l>999||93===t&&!a||null===t||91===t||(0,i.z3)(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return r=(0,v.d)(o.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return(0,i.z3)(t)||(a=!0),l++,e.consume(t),92===t?d:u}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}function p(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s.includes(r)||s.push(r),(0,eN.f)(e,f,"gfmFootnoteDefinitionWhitespace")):n(t)}function f(e){return t(e)}}function eB(e,t,n){return e.check(eR.w,t,e.attempt(eL,t,n))}function ej(e){e.exit("gfmFootnoteDefinition")}var eU=n(21905),eG=n(62987),eH=n(63233);class e${constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let a=0;if(0!==n||0!==r.length){for(;a0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function ez(e,t,n){let r;let a=this,o=0,s=0;return function(e){let t=a.events.length-1;for(;t>-1;){let e=a.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let r=t>-1?a.events[t][1].type:null,i="tableHead"===r||"tableRow"===r?E:l;return i===E&&a.parser.lazy[a.now().line]?n(e):i(e)};function l(t){return e.enter("tableHead"),e.enter("tableRow"),124===t||(r=!0,s+=1),c(t)}function c(t){return null===t?n(t):(0,i.Ch)(t)?s>1?(s=0,a.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p):n(t):(0,i.xz)(t)?(0,eN.f)(e,c,"whitespace")(t):(s+=1,r&&(r=!1,o+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,c):(e.enter("data"),u(t))}function u(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),c(t)):(e.consume(t),92===t?d:u)}function d(t){return 92===t||124===t?(e.consume(t),u):u(t)}function p(t){return(a.interrupt=!1,a.parser.lazy[a.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,(0,i.xz)(t))?(0,eN.f)(e,f,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):f(t)}function f(t){return 45===t||58===t?m(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),h):n(t)}function h(t){return(0,i.xz)(t)?(0,eN.f)(e,m,"whitespace")(t):m(t)}function m(t){return 58===t?(s+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),g):45===t?(s+=1,g(t)):null===t||(0,i.Ch)(t)?y(t):n(t)}function g(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),b):(e.exit("tableDelimiterFiller"),b(n))}(t)):n(t)}function b(t){return(0,i.xz)(t)?(0,eN.f)(e,y,"whitespace")(t):y(t)}function y(a){return 124===a?f(a):null===a||(0,i.Ch)(a)?r&&o===s?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(a)):n(a):n(a)}function E(t){return e.enter("tableRow"),v(t)}function v(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),v):null===n||(0,i.Ch)(n)?(e.exit("tableRow"),t(n)):(0,i.xz)(n)?(0,eN.f)(e,v,"whitespace")(n):(e.enter("data"),T(n))}function T(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),v(t)):(e.consume(t),92===t?S:T)}function S(t){return 92===t||124===t?(e.consume(t),T):T(t)}}function eZ(e,t){let n,r,a,i=-1,o=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,d=0,p=new e$;for(;++in[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",o,t]])}return void 0!==a&&(i.end=Object.assign({},eY(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function eV(e,t,n,r,a){let i=[],o=eY(t.events,n);a&&(a.end=Object.assign({},o),i.push(["exit",a,t])),r.end=Object.assign({},o),i.push(["exit",r,t]),e.add(n+1,0,i)}function eY(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}let eq={name:"tasklistCheck",tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),a):n(t)};function a(t){return(0,i.z3)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(t)}function s(r){return(0,i.Ch)(r)?t(r):(0,i.xz)(r)?e.check({tokenize:eK},t,n)(r):n(r)}}};function eK(e,t,n){return(0,eN.f)(e,function(e){return null===e?n(e):t(e)},"whitespace")}let eX={};function eQ(e){let t=e||eX,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),i=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push((0,em.W)([{text:eO},{document:{91:{name:"gfmFootnoteDefinition",tokenize:eF,continuation:{tokenize:eB},exit:ej}},text:{91:{name:"gfmFootnoteCall",tokenize:eM},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:eD,resolveTo:eP}}},function(e){let t=(e||{}).singleTilde,n={name:"strikethrough",tokenize:function(e,n,r){let a=this.previous,i=this.events,o=0;return function(s){return 126===a&&"characterEscape"!==i[i.length-1][1].type?r(s):(e.enter("strikethroughSequenceTemporary"),function i(s){let l=(0,eG.r)(a);if(126===s)return o>1?r(s):(e.consume(s),o++,i);if(o<2&&!t)return r(s);let c=e.exit("strikethroughSequenceTemporary"),u=(0,eG.r)(s);return c._open=!u||2===u&&!!l,c._close=!l||2===l&&!!u,n(s)}(s))}},resolveAll:function(e,t){let n=-1;for(;++nl&&(l=e[c].length);++ds[d])&&(s[d]=e)}n.push(i)}i[c]=n,o[c]=a}let d=-1;if("object"==typeof n&&"length"in n)for(;++ds[d]&&(s[d]=i),f[d]=i),p[d]=o}i.splice(1,0,p),o.splice(1,0,f),c=-1;let h=[];for(;++c","Iacute":"\xcd","Icirc":"\xce","Igrave":"\xcc","Iuml":"\xcf","LT":"<","Ntilde":"\xd1","Oacute":"\xd3","Ocirc":"\xd4","Ograve":"\xd2","Oslash":"\xd8","Otilde":"\xd5","Ouml":"\xd6","QUOT":"\\"","REG":"\xae","THORN":"\xde","Uacute":"\xda","Ucirc":"\xdb","Ugrave":"\xd9","Uuml":"\xdc","Yacute":"\xdd","aacute":"\xe1","acirc":"\xe2","acute":"\xb4","aelig":"\xe6","agrave":"\xe0","amp":"&","aring":"\xe5","atilde":"\xe3","auml":"\xe4","brvbar":"\xa6","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","eacute":"\xe9","ecirc":"\xea","egrave":"\xe8","eth":"\xf0","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","iacute":"\xed","icirc":"\xee","iexcl":"\xa1","igrave":"\xec","iquest":"\xbf","iuml":"\xef","laquo":"\xab","lt":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","ntilde":"\xf1","oacute":"\xf3","ocirc":"\xf4","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","oslash":"\xf8","otilde":"\xf5","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","raquo":"\xbb","reg":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","thorn":"\xfe","times":"\xd7","uacute":"\xfa","ucirc":"\xfb","ugrave":"\xf9","uml":"\xa8","uuml":"\xfc","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')}},function(e){e.O(0,[3662,7034,6106,8674,3166,2837,2168,8163,1265,7728,2913,3791,5278,9859,4330,4041,8791,5030,5418,2783,3457,1300,4567,2398,2480,7410,7124,9773,4035,1154,2510,3345,9202,7249,3768,5789,9774,2888,179],function(){return e(e.s=79373)}),_N_E=e.O()}]); \ No newline at end of file + */var r=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},a={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/=u.reach));S+=T.value.length,T=T.next){var A,O=T.value;if(n.length>t.length)return;if(!(O instanceof i)){var _=1;if(b){if(!(A=o(v,S,t,g))||A.index>=t.length)break;var k=A.index,x=A.index+A[0].length,C=S;for(C+=T.value.length;k>=C;)C+=(T=T.next).value.length;if(C-=T.value.length,S=C,T.value instanceof i)continue;for(var w=T;w!==n.tail&&(Cu.reach&&(u.reach=L);var D=T.prev;R&&(D=l(n,D,R),S+=R.length),function(e,t,n){for(var r=t.next,a=0;a1){var M={cause:d+","+f,reach:L};e(t,n,r,T.prev,S,M),u&&M.reach>u.reach&&(u.reach=M.reach)}}}}}}(e,c,t,c.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(c)},hooks:{all:{},add:function(e,t){var n=a.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=a.hooks.all[e];if(n&&n.length)for(var r,i=0;r=n[i++];)r(t)}},Token:i};function i(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function o(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var i=a[1].length;a.index+=i,a[0]=a[0].slice(i)}return a}function s(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function l(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}if(e.Prism=a,i.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach(function(t){r+=e(t,n)}),r}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},o=t.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(i.classes,o):i.classes.push(o)),a.hooks.run("wrap",i);var s="";for(var l in i.attributes)s+=" "+l+'="'+(i.attributes[l]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+s+">"+i.content+""},!e.document)return e.addEventListener&&(a.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),r=n.language,i=n.code,o=n.immediateClose;e.postMessage(a.highlight(i,a.languages[r],r)),o&&e.close()},!1)),a;var c=a.util.currentScript();function u(){a.manual||a.highlightAll()}if(c&&(a.filename=c.src,c.hasAttribute("data-manual")&&(a.manual=!0)),!a.manual){var d=document.readyState;"loading"===d||"interactive"===d&&c&&c.defer?document.addEventListener("DOMContentLoaded",u):window.requestAnimationFrame?window.requestAnimationFrame(u):window.setTimeout(u,16)}return a}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});e.exports&&(e.exports=r),void 0!==n.g&&(n.g.Prism=r)},96774:function(e){e.exports=function(e,t,n,r){var a=n?n.call(r,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),o=Object.keys(t);if(i.length!==o.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;le.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}},88998:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(95778);function a(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},13643:function(e,t,n){"use strict";function r(e){return(r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,{Z:function(){return r}})},98568:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function a(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)}n.d(t,{Z:function(){return a}})},99660:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(88998);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var l=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(l&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;C(n)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:I(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),b}},t}},55054:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59312);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i,o,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw a}}return s}}(e,t)||(0,r.Z)(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},27567:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(13643);function a(){return(a="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var a=function(e,t){for(;!({}).hasOwnProperty.call(e,t)&&null!==(e=(0,r.Z)(e)););return e}(e,t);if(a){var i=Object.getOwnPropertyDescriptor(a,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}}).apply(null,arguments)}function i(e,t,n,i){var o=a((0,r.Z)(1&i?e.prototype:e),t,n);return 2&i&&"function"==typeof o?function(e){return o.apply(n,e)}:o}},25585:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(59630),a=n(59312);function i(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,a.Z)(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},95778:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(2846);function a(e){var t=function(e,t){if("object"!=(0,r.Z)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!=(0,r.Z)(a))return a;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.Z)(t)?t:t+""}},2846:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{Z:function(){return r}})},59312:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(59630);function a(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},21129:function(e,t,n){"use strict";var r=n(4503);t.Z=r},86676:function(e,t,n){"use strict";n.d(t,{r:function(){return a}});let r=/[#.]/g;function a(e,t){let n,a;let i=e||"",o={},s=0;for(;so&&(o=i):i=1,a=r+t.length,r=n.indexOf(t,a);return o}n.d(t,{J:function(){return r}})},24557:function(e,t,n){"use strict";n.d(t,{Z:function(){return ed}});var r={};n.r(r),n.d(r,{boolean:function(){return c},booleanish:function(){return u},commaOrSpaceSeparated:function(){return m},commaSeparated:function(){return h},number:function(){return p},overloadedBoolean:function(){return d},spaceSeparated:function(){return f}});class a{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function i(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new a(n,r,t)}function o(e){return e.toLowerCase()}a.prototype.normal={},a.prototype.property={},a.prototype.space=void 0;class s{constructor(e,t){this.attribute=t,this.property=e}}s.prototype.attribute="",s.prototype.booleanish=!1,s.prototype.boolean=!1,s.prototype.commaOrSpaceSeparated=!1,s.prototype.commaSeparated=!1,s.prototype.defined=!1,s.prototype.mustUseProperty=!1,s.prototype.number=!1,s.prototype.overloadedBoolean=!1,s.prototype.property="",s.prototype.spaceSeparated=!1,s.prototype.space=void 0;let l=0,c=g(),u=g(),d=g(),p=g(),f=g(),h=g(),m=g();function g(){return 2**++l}let b=Object.keys(r);class y extends s{constructor(e,t,n,a){var i,o;let s=-1;if(super(e,t),a&&(this.space=a),"number"==typeof n)for(;++s"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function T(e,t){return t in e?e[t]:t}function S(e,t){return T(e,t.toLowerCase())}let A=E({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:h,acceptCharset:f,accessKey:f,action:null,allow:null,allowFullScreen:c,allowPaymentRequest:c,allowUserMedia:c,alt:null,as:null,async:c,autoCapitalize:null,autoComplete:f,autoFocus:c,autoPlay:c,blocking:f,capture:null,charSet:null,checked:c,cite:null,className:f,cols:p,colSpan:null,content:null,contentEditable:u,controls:c,controlsList:f,coords:p|h,crossOrigin:null,data:null,dateTime:null,decoding:null,default:c,defer:c,dir:null,dirName:null,disabled:c,download:d,draggable:u,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:c,formTarget:null,headers:f,height:p,hidden:c,high:p,href:null,hrefLang:null,htmlFor:f,httpEquiv:f,id:null,imageSizes:null,imageSrcSet:null,inert:c,inputMode:null,integrity:null,is:null,isMap:c,itemId:null,itemProp:f,itemRef:f,itemScope:c,itemType:f,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:c,low:p,manifest:null,max:null,maxLength:p,media:null,method:null,min:null,minLength:p,multiple:c,muted:c,name:null,nonce:null,noModule:c,noValidate:c,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored: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,onScrollEnd: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:c,optimum:p,pattern:null,ping:f,placeholder:null,playsInline:c,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:c,referrerPolicy:null,rel:f,required:c,reversed:c,rows:p,rowSpan:p,sandbox:f,scope:null,scoped:c,seamless:c,selected:c,shadowRootClonable:c,shadowRootDelegatesFocus:c,shadowRootMode:null,shape:null,size:p,sizes:null,slot:null,span:p,spellCheck:u,src:null,srcDoc:null,srcLang:null,srcSet:null,start:p,step:null,style:null,tabIndex:p,target:null,title:null,translate:null,type:null,typeMustMatch:c,useMap:null,value:u,width:p,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:f,axis:null,background:null,bgColor:null,border:p,borderColor:null,bottomMargin:p,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:c,declare:c,event:null,face:null,frame:null,frameBorder:null,hSpace:p,leftMargin:p,link:null,longDesc:null,lowSrc:null,marginHeight:p,marginWidth:p,noResize:c,noHref:c,noShade:c,noWrap:c,object:null,profile:null,prompt:null,rev:null,rightMargin:p,rules:null,scheme:null,scrolling:u,standby:null,summary:null,text:null,topMargin:p,valueType:null,version:null,vAlign:null,vLink:null,vSpace:p,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:c,disableRemotePlayback:c,prefix:null,property:null,results:p,security:null,unselectable:null},space:"html",transform:S}),O=E({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:m,accentHeight:p,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:p,amplitude:p,arabicForm:null,ascent:p,attributeName:null,attributeType:null,azimuth:p,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:p,by:null,calcMode:null,capHeight:p,className:f,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:p,diffuseConstant:p,direction:null,display:null,dur:null,divisor:p,dominantBaseline:null,download:c,dx:null,dy:null,edgeMode:null,editable:null,elevation:p,enableBackground:null,end:null,event:null,exponent:p,externalResourcesRequired:null,fill:null,fillOpacity:p,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:h,g2:h,glyphName:h,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:p,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:p,horizOriginX:p,horizOriginY:p,id:null,ideographic:p,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:p,k:p,k1:p,k2:p,k3:p,k4:p,kernelMatrix:m,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:p,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:p,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose: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,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:p,overlineThickness:p,paintOrder:null,panose1:null,path:null,pathLength:p,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:f,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:p,pointsAtY:p,pointsAtZ:p,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:m,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:m,rev:m,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:m,requiredFeatures:m,requiredFonts:m,requiredFormats:m,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:p,specularExponent:p,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:p,strikethroughThickness:p,string:null,stroke:null,strokeDashArray:m,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:p,strokeOpacity:p,strokeWidth:null,style:null,surfaceScale:p,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:m,tabIndex:p,tableValues:null,target:null,targetX:p,targetY:p,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:m,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:p,underlineThickness:p,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:p,values:null,vAlphabetic:p,vMathematical:p,vectorEffect:null,vHanging:p,vIdeographic:p,version:null,vertAdvY:p,vertOriginX:p,vertOriginY:p,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:p,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:T}),_=E({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),k=E({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:S}),x=E({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),C=i([v,A,_,k,x],"html"),w=i([v,O,_,k,x],"svg");var I=n(25668),R=n(86676);let N=/[A-Z]/g,L=/-[a-z]/g,D=/^data[-\w.:]+$/i;function P(e){return"-"+e.toLowerCase()}function M(e){return e.charAt(1).toUpperCase()}var F=n(50342);function B(e,t,n){let r=n?function(e){let t=new Map;for(let n of e)t.set(n.toLowerCase(),n);return t}(n):void 0;return function(n,a,...i){let l;if(null==n)l={type:"root",children:[]},i.unshift(a);else{l=(0,R.r)(n,t);let c=l.tagName.toLowerCase(),u=r?r.get(c):void 0;if(l.tagName=u||c,function(e){if(null===e||"object"!=typeof e||Array.isArray(e))return!0;if("string"!=typeof e.type)return!1;let t=Object.keys(e);for(let n of t){let t=e[n];if(t&&"object"==typeof t){if(!Array.isArray(t))return!0;for(let e of t)if("number"!=typeof e&&"string"!=typeof e)return!0}}return!!("children"in e&&Array.isArray(e.children))}(a))i.unshift(a);else for(let[t,n]of Object.entries(a))!function(e,t,n,r){let a;let i=function(e,t){let n=o(t),r=t,a=s;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&D.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(L,M);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!L.test(e)){let n=e.replace(N,P);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}a=y}return new a(r,t)}(e,n);if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;a=r}else a="boolean"==typeof r?r:"string"==typeof r?i.spaceSeparated?(0,F.Q)(r):i.commaSeparated?(0,I.Q)(r):i.commaOrSpaceSeparated?(0,F.Q)((0,I.Q)(r).join(" ")):j(i,i.property,r):Array.isArray(r)?[...r]:"style"===i.property?function(e){let t=[];for(let[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}(r):String(r);if(Array.isArray(a)){let e=[];for(let t of a)e.push(j(i,i.property,t));a=e}"className"===i.property&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[i.property]=a}}(e,l.properties,t,n)}for(let e of i)!function e(t,n){if(null==n);else if("number"==typeof n||"string"==typeof n)t.push({type:"text",value:String(n)});else if(Array.isArray(n))for(let r of n)e(t,r);else if("object"==typeof n&&"type"in n)"root"===n.type?e(t,n.children):t.push(n);else throw Error("Expected node, nodes, or string, got `"+n+"`")}(l.children,e);return"element"===l.type&&"template"===l.tagName&&(l.content={type:"root",children:l.children},l.children=[]),l}}function j(e,t,n){if("string"==typeof n){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(""===n||o(n)===o(t)))return!0}return n}let U=B(C,"div"),G=B(w,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]);var H=n(49911);function $(e,t){let n=function(e,t){switch(e.nodeType){case 1:return function(e,t){let n=e.namespaceURI,r=n===H.t.svg?G:U,a=n===H.t.html?e.tagName.toLowerCase():e.tagName,i=n===H.t.html&&"template"===a?e.content:e,o=e.getAttributeNames(),s={},l=-1;for(;++ln&&(n=e):e&&(void 0!==n&&n>-1&&l.push("\n".repeat(n)||" "),n=-1,l.push(e))}return l.join("")}(d,{whitespace:"pre"});try{a=es.ZP.renderToString(p,{...t,displayMode:c,throwOnError:!0})}catch(o){let i=o.name.toLowerCase();n.message("Could not render math with KaTeX",{ancestors:[...r,e],cause:o,place:e.position,ruleId:i,source:"rehype-katex"});try{a=es.ZP.renderToString(p,{...t,displayMode:c,strict:"ignore",throwOnError:!1})}catch{a=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(o)},children:[{type:"text",value:p}]}]}}if("string"==typeof a){let e=function(e,t){let n=t?.fragment?function(e){let t=document.createElement("template");return t.innerHTML=e,t.content}(e):Z.parseFromString(e,"text/html");return $(n,{})||{type:"root",children:[]}}(a,{fragment:!0});a=e.children}let f=u.children.indexOf(d);return u.children.splice(f,1,...a),el.AM})}}},12384:function(e,t,n){"use strict";n.d(t,{Z:function(){return tJ}});var r,a,i,o,s,l,c,u,d,p,f,h,m,g,b,y,E,v,T,S,A,O,_=n(52835),k=n(24345),x=n(91634),C=n(25668),w=n(86676),I=n(26103),R=n(28051),N=n(50342);let L=new Set(["button","menu","reset","submit"]),D={}.hasOwnProperty;function P(e,t,n){let r=n&&function(e){let t={},n=-1;for(;++n1?n[e.line-2]:0)+e.column-1;if(r-1&&e<=t.length){let r=0;for(;;){let a=n[r];if(void 0===a){let e=j(t,n[r-1]);a=-1===e?t.length+1:e+1,n[r]=a}if(a>e)return{line:r+1,column:e-(r>0?n[r-1]:0)+1,offset:e};r++}}}}}(t),a=r.toPoint(0),i=r.toPoint(t.length);(0,k.ok)(a,"expected `start`"),(0,k.ok)(i,"expected `end`"),n.position={start:a,end:i}}return n}case"#documentType":return Z(e,t,n={type:"doctype"}),n;case"#text":return n={type:"text",value:t.value},Z(e,t,n),n;default:return function(e,t){let n=e.schema;e.schema=t.namespaceURI===U.t.svg?x.YP:x.dy;let r=-1,a={};for(;++r=55296&&e<=57343}function ei(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function eo(e){return e>=64976&&e<=65007||en.has(e)}(a=m=m||(m={})).controlCharacterInInputStream="control-character-in-input-stream",a.noncharacterInInputStream="noncharacter-in-input-stream",a.surrogateInInputStream="surrogate-in-input-stream",a.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",a.endTagWithAttributes="end-tag-with-attributes",a.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",a.unexpectedSolidusInTag="unexpected-solidus-in-tag",a.unexpectedNullCharacter="unexpected-null-character",a.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",a.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",a.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",a.missingEndTagName="missing-end-tag-name",a.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",a.unknownNamedCharacterReference="unknown-named-character-reference",a.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",a.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",a.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",a.eofBeforeTagName="eof-before-tag-name",a.eofInTag="eof-in-tag",a.missingAttributeValue="missing-attribute-value",a.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",a.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",a.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",a.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",a.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",a.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",a.missingDoctypePublicIdentifier="missing-doctype-public-identifier",a.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",a.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",a.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",a.cdataInHtmlContent="cdata-in-html-content",a.incorrectlyOpenedComment="incorrectly-opened-comment",a.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",a.eofInDoctype="eof-in-doctype",a.nestedComment="nested-comment",a.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",a.eofInComment="eof-in-comment",a.incorrectlyClosedComment="incorrectly-closed-comment",a.eofInCdata="eof-in-cdata",a.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",a.nullCharacterReference="null-character-reference",a.surrogateCharacterReference="surrogate-character-reference",a.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",a.controlCharacterReference="control-character-reference",a.noncharacterCharacterReference="noncharacter-character-reference",a.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",a.missingDoctypeName="missing-doctype-name",a.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",a.duplicateAttribute="duplicate-attribute",a.nonConformingDoctype="non-conforming-doctype",a.missingDoctype="missing-doctype",a.misplacedDoctype="misplaced-doctype",a.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",a.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",a.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",a.openElementsLeftAfterEof="open-elements-left-after-eof",a.abandonedHeadElementChild="abandoned-head-element-child",a.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",a.nestedNoscriptInHead="nested-noscript-in-head",a.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text";class es{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e){let{line:t,col:n,offset:r}=this;return{code:e,startLine:t,endLine:t,startCol:n,endCol:n,startOffset:r,endOffset:r}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let t=this.html.charCodeAt(this.pos+1);if(t>=56320&&t<=57343)return this.pos++,this._addGap(),(e-55296)*1024+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,h.EOF;return this._err(m.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,h.EOF;let n=this.html.charCodeAt(t);return n===h.CARRIAGE_RETURN?h.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,h.EOF;let e=this.html.charCodeAt(this.pos);if(e===h.CARRIAGE_RETURN)return this.isEol=!0,this.skipNextNewLine=!0,h.LINE_FEED;if(e===h.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine))return this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance();this.skipNextNewLine=!1,ea(e)&&(e=this._processSurrogate(e));let t=null===this.handler.onParseError||e>31&&e<127||e===h.LINE_FEED||e===h.CARRIAGE_RETURN||e>159&&e<64976;return t||this._checkForProblematicCharacters(e),e}_checkForProblematicCharacters(e){ei(e)?this._err(m.controlCharacterInInputStream):eo(e)&&this._err(m.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}(i=g=g||(g={}))[i.CHARACTER=0]="CHARACTER",i[i.NULL_CHARACTER=1]="NULL_CHARACTER",i[i.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",i[i.START_TAG=3]="START_TAG",i[i.END_TAG=4]="END_TAG",i[i.COMMENT=5]="COMMENT",i[i.DOCTYPE=6]="DOCTYPE",i[i.EOF=7]="EOF",i[i.HIBERNATION=8]="HIBERNATION";var ec=n(60411);(o=b=b||(b={})).HTML="http://www.w3.org/1999/xhtml",o.MATHML="http://www.w3.org/1998/Math/MathML",o.SVG="http://www.w3.org/2000/svg",o.XLINK="http://www.w3.org/1999/xlink",o.XML="http://www.w3.org/XML/1998/namespace",o.XMLNS="http://www.w3.org/2000/xmlns/",(s=y=y||(y={})).TYPE="type",s.ACTION="action",s.ENCODING="encoding",s.PROMPT="prompt",s.NAME="name",s.COLOR="color",s.FACE="face",s.SIZE="size",(l=E=E||(E={})).NO_QUIRKS="no-quirks",l.QUIRKS="quirks",l.LIMITED_QUIRKS="limited-quirks",(c=v=v||(v={})).A="a",c.ADDRESS="address",c.ANNOTATION_XML="annotation-xml",c.APPLET="applet",c.AREA="area",c.ARTICLE="article",c.ASIDE="aside",c.B="b",c.BASE="base",c.BASEFONT="basefont",c.BGSOUND="bgsound",c.BIG="big",c.BLOCKQUOTE="blockquote",c.BODY="body",c.BR="br",c.BUTTON="button",c.CAPTION="caption",c.CENTER="center",c.CODE="code",c.COL="col",c.COLGROUP="colgroup",c.DD="dd",c.DESC="desc",c.DETAILS="details",c.DIALOG="dialog",c.DIR="dir",c.DIV="div",c.DL="dl",c.DT="dt",c.EM="em",c.EMBED="embed",c.FIELDSET="fieldset",c.FIGCAPTION="figcaption",c.FIGURE="figure",c.FONT="font",c.FOOTER="footer",c.FOREIGN_OBJECT="foreignObject",c.FORM="form",c.FRAME="frame",c.FRAMESET="frameset",c.H1="h1",c.H2="h2",c.H3="h3",c.H4="h4",c.H5="h5",c.H6="h6",c.HEAD="head",c.HEADER="header",c.HGROUP="hgroup",c.HR="hr",c.HTML="html",c.I="i",c.IMG="img",c.IMAGE="image",c.INPUT="input",c.IFRAME="iframe",c.KEYGEN="keygen",c.LABEL="label",c.LI="li",c.LINK="link",c.LISTING="listing",c.MAIN="main",c.MALIGNMARK="malignmark",c.MARQUEE="marquee",c.MATH="math",c.MENU="menu",c.META="meta",c.MGLYPH="mglyph",c.MI="mi",c.MO="mo",c.MN="mn",c.MS="ms",c.MTEXT="mtext",c.NAV="nav",c.NOBR="nobr",c.NOFRAMES="noframes",c.NOEMBED="noembed",c.NOSCRIPT="noscript",c.OBJECT="object",c.OL="ol",c.OPTGROUP="optgroup",c.OPTION="option",c.P="p",c.PARAM="param",c.PLAINTEXT="plaintext",c.PRE="pre",c.RB="rb",c.RP="rp",c.RT="rt",c.RTC="rtc",c.RUBY="ruby",c.S="s",c.SCRIPT="script",c.SECTION="section",c.SELECT="select",c.SOURCE="source",c.SMALL="small",c.SPAN="span",c.STRIKE="strike",c.STRONG="strong",c.STYLE="style",c.SUB="sub",c.SUMMARY="summary",c.SUP="sup",c.TABLE="table",c.TBODY="tbody",c.TEMPLATE="template",c.TEXTAREA="textarea",c.TFOOT="tfoot",c.TD="td",c.TH="th",c.THEAD="thead",c.TITLE="title",c.TR="tr",c.TRACK="track",c.TT="tt",c.U="u",c.UL="ul",c.SVG="svg",c.VAR="var",c.WBR="wbr",c.XMP="xmp",(u=T=T||(T={}))[u.UNKNOWN=0]="UNKNOWN",u[u.A=1]="A",u[u.ADDRESS=2]="ADDRESS",u[u.ANNOTATION_XML=3]="ANNOTATION_XML",u[u.APPLET=4]="APPLET",u[u.AREA=5]="AREA",u[u.ARTICLE=6]="ARTICLE",u[u.ASIDE=7]="ASIDE",u[u.B=8]="B",u[u.BASE=9]="BASE",u[u.BASEFONT=10]="BASEFONT",u[u.BGSOUND=11]="BGSOUND",u[u.BIG=12]="BIG",u[u.BLOCKQUOTE=13]="BLOCKQUOTE",u[u.BODY=14]="BODY",u[u.BR=15]="BR",u[u.BUTTON=16]="BUTTON",u[u.CAPTION=17]="CAPTION",u[u.CENTER=18]="CENTER",u[u.CODE=19]="CODE",u[u.COL=20]="COL",u[u.COLGROUP=21]="COLGROUP",u[u.DD=22]="DD",u[u.DESC=23]="DESC",u[u.DETAILS=24]="DETAILS",u[u.DIALOG=25]="DIALOG",u[u.DIR=26]="DIR",u[u.DIV=27]="DIV",u[u.DL=28]="DL",u[u.DT=29]="DT",u[u.EM=30]="EM",u[u.EMBED=31]="EMBED",u[u.FIELDSET=32]="FIELDSET",u[u.FIGCAPTION=33]="FIGCAPTION",u[u.FIGURE=34]="FIGURE",u[u.FONT=35]="FONT",u[u.FOOTER=36]="FOOTER",u[u.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",u[u.FORM=38]="FORM",u[u.FRAME=39]="FRAME",u[u.FRAMESET=40]="FRAMESET",u[u.H1=41]="H1",u[u.H2=42]="H2",u[u.H3=43]="H3",u[u.H4=44]="H4",u[u.H5=45]="H5",u[u.H6=46]="H6",u[u.HEAD=47]="HEAD",u[u.HEADER=48]="HEADER",u[u.HGROUP=49]="HGROUP",u[u.HR=50]="HR",u[u.HTML=51]="HTML",u[u.I=52]="I",u[u.IMG=53]="IMG",u[u.IMAGE=54]="IMAGE",u[u.INPUT=55]="INPUT",u[u.IFRAME=56]="IFRAME",u[u.KEYGEN=57]="KEYGEN",u[u.LABEL=58]="LABEL",u[u.LI=59]="LI",u[u.LINK=60]="LINK",u[u.LISTING=61]="LISTING",u[u.MAIN=62]="MAIN",u[u.MALIGNMARK=63]="MALIGNMARK",u[u.MARQUEE=64]="MARQUEE",u[u.MATH=65]="MATH",u[u.MENU=66]="MENU",u[u.META=67]="META",u[u.MGLYPH=68]="MGLYPH",u[u.MI=69]="MI",u[u.MO=70]="MO",u[u.MN=71]="MN",u[u.MS=72]="MS",u[u.MTEXT=73]="MTEXT",u[u.NAV=74]="NAV",u[u.NOBR=75]="NOBR",u[u.NOFRAMES=76]="NOFRAMES",u[u.NOEMBED=77]="NOEMBED",u[u.NOSCRIPT=78]="NOSCRIPT",u[u.OBJECT=79]="OBJECT",u[u.OL=80]="OL",u[u.OPTGROUP=81]="OPTGROUP",u[u.OPTION=82]="OPTION",u[u.P=83]="P",u[u.PARAM=84]="PARAM",u[u.PLAINTEXT=85]="PLAINTEXT",u[u.PRE=86]="PRE",u[u.RB=87]="RB",u[u.RP=88]="RP",u[u.RT=89]="RT",u[u.RTC=90]="RTC",u[u.RUBY=91]="RUBY",u[u.S=92]="S",u[u.SCRIPT=93]="SCRIPT",u[u.SECTION=94]="SECTION",u[u.SELECT=95]="SELECT",u[u.SOURCE=96]="SOURCE",u[u.SMALL=97]="SMALL",u[u.SPAN=98]="SPAN",u[u.STRIKE=99]="STRIKE",u[u.STRONG=100]="STRONG",u[u.STYLE=101]="STYLE",u[u.SUB=102]="SUB",u[u.SUMMARY=103]="SUMMARY",u[u.SUP=104]="SUP",u[u.TABLE=105]="TABLE",u[u.TBODY=106]="TBODY",u[u.TEMPLATE=107]="TEMPLATE",u[u.TEXTAREA=108]="TEXTAREA",u[u.TFOOT=109]="TFOOT",u[u.TD=110]="TD",u[u.TH=111]="TH",u[u.THEAD=112]="THEAD",u[u.TITLE=113]="TITLE",u[u.TR=114]="TR",u[u.TRACK=115]="TRACK",u[u.TT=116]="TT",u[u.U=117]="U",u[u.UL=118]="UL",u[u.SVG=119]="SVG",u[u.VAR=120]="VAR",u[u.WBR=121]="WBR",u[u.XMP=122]="XMP";let eu=new Map([[v.A,T.A],[v.ADDRESS,T.ADDRESS],[v.ANNOTATION_XML,T.ANNOTATION_XML],[v.APPLET,T.APPLET],[v.AREA,T.AREA],[v.ARTICLE,T.ARTICLE],[v.ASIDE,T.ASIDE],[v.B,T.B],[v.BASE,T.BASE],[v.BASEFONT,T.BASEFONT],[v.BGSOUND,T.BGSOUND],[v.BIG,T.BIG],[v.BLOCKQUOTE,T.BLOCKQUOTE],[v.BODY,T.BODY],[v.BR,T.BR],[v.BUTTON,T.BUTTON],[v.CAPTION,T.CAPTION],[v.CENTER,T.CENTER],[v.CODE,T.CODE],[v.COL,T.COL],[v.COLGROUP,T.COLGROUP],[v.DD,T.DD],[v.DESC,T.DESC],[v.DETAILS,T.DETAILS],[v.DIALOG,T.DIALOG],[v.DIR,T.DIR],[v.DIV,T.DIV],[v.DL,T.DL],[v.DT,T.DT],[v.EM,T.EM],[v.EMBED,T.EMBED],[v.FIELDSET,T.FIELDSET],[v.FIGCAPTION,T.FIGCAPTION],[v.FIGURE,T.FIGURE],[v.FONT,T.FONT],[v.FOOTER,T.FOOTER],[v.FOREIGN_OBJECT,T.FOREIGN_OBJECT],[v.FORM,T.FORM],[v.FRAME,T.FRAME],[v.FRAMESET,T.FRAMESET],[v.H1,T.H1],[v.H2,T.H2],[v.H3,T.H3],[v.H4,T.H4],[v.H5,T.H5],[v.H6,T.H6],[v.HEAD,T.HEAD],[v.HEADER,T.HEADER],[v.HGROUP,T.HGROUP],[v.HR,T.HR],[v.HTML,T.HTML],[v.I,T.I],[v.IMG,T.IMG],[v.IMAGE,T.IMAGE],[v.INPUT,T.INPUT],[v.IFRAME,T.IFRAME],[v.KEYGEN,T.KEYGEN],[v.LABEL,T.LABEL],[v.LI,T.LI],[v.LINK,T.LINK],[v.LISTING,T.LISTING],[v.MAIN,T.MAIN],[v.MALIGNMARK,T.MALIGNMARK],[v.MARQUEE,T.MARQUEE],[v.MATH,T.MATH],[v.MENU,T.MENU],[v.META,T.META],[v.MGLYPH,T.MGLYPH],[v.MI,T.MI],[v.MO,T.MO],[v.MN,T.MN],[v.MS,T.MS],[v.MTEXT,T.MTEXT],[v.NAV,T.NAV],[v.NOBR,T.NOBR],[v.NOFRAMES,T.NOFRAMES],[v.NOEMBED,T.NOEMBED],[v.NOSCRIPT,T.NOSCRIPT],[v.OBJECT,T.OBJECT],[v.OL,T.OL],[v.OPTGROUP,T.OPTGROUP],[v.OPTION,T.OPTION],[v.P,T.P],[v.PARAM,T.PARAM],[v.PLAINTEXT,T.PLAINTEXT],[v.PRE,T.PRE],[v.RB,T.RB],[v.RP,T.RP],[v.RT,T.RT],[v.RTC,T.RTC],[v.RUBY,T.RUBY],[v.S,T.S],[v.SCRIPT,T.SCRIPT],[v.SECTION,T.SECTION],[v.SELECT,T.SELECT],[v.SOURCE,T.SOURCE],[v.SMALL,T.SMALL],[v.SPAN,T.SPAN],[v.STRIKE,T.STRIKE],[v.STRONG,T.STRONG],[v.STYLE,T.STYLE],[v.SUB,T.SUB],[v.SUMMARY,T.SUMMARY],[v.SUP,T.SUP],[v.TABLE,T.TABLE],[v.TBODY,T.TBODY],[v.TEMPLATE,T.TEMPLATE],[v.TEXTAREA,T.TEXTAREA],[v.TFOOT,T.TFOOT],[v.TD,T.TD],[v.TH,T.TH],[v.THEAD,T.THEAD],[v.TITLE,T.TITLE],[v.TR,T.TR],[v.TRACK,T.TRACK],[v.TT,T.TT],[v.U,T.U],[v.UL,T.UL],[v.SVG,T.SVG],[v.VAR,T.VAR],[v.WBR,T.WBR],[v.XMP,T.XMP]]);function ed(e){var t;return null!==(t=eu.get(e))&&void 0!==t?t:T.UNKNOWN}let ep=T,ef={[b.HTML]:new Set([ep.ADDRESS,ep.APPLET,ep.AREA,ep.ARTICLE,ep.ASIDE,ep.BASE,ep.BASEFONT,ep.BGSOUND,ep.BLOCKQUOTE,ep.BODY,ep.BR,ep.BUTTON,ep.CAPTION,ep.CENTER,ep.COL,ep.COLGROUP,ep.DD,ep.DETAILS,ep.DIR,ep.DIV,ep.DL,ep.DT,ep.EMBED,ep.FIELDSET,ep.FIGCAPTION,ep.FIGURE,ep.FOOTER,ep.FORM,ep.FRAME,ep.FRAMESET,ep.H1,ep.H2,ep.H3,ep.H4,ep.H5,ep.H6,ep.HEAD,ep.HEADER,ep.HGROUP,ep.HR,ep.HTML,ep.IFRAME,ep.IMG,ep.INPUT,ep.LI,ep.LINK,ep.LISTING,ep.MAIN,ep.MARQUEE,ep.MENU,ep.META,ep.NAV,ep.NOEMBED,ep.NOFRAMES,ep.NOSCRIPT,ep.OBJECT,ep.OL,ep.P,ep.PARAM,ep.PLAINTEXT,ep.PRE,ep.SCRIPT,ep.SECTION,ep.SELECT,ep.SOURCE,ep.STYLE,ep.SUMMARY,ep.TABLE,ep.TBODY,ep.TD,ep.TEMPLATE,ep.TEXTAREA,ep.TFOOT,ep.TH,ep.THEAD,ep.TITLE,ep.TR,ep.TRACK,ep.UL,ep.WBR,ep.XMP]),[b.MATHML]:new Set([ep.MI,ep.MO,ep.MN,ep.MS,ep.MTEXT,ep.ANNOTATION_XML]),[b.SVG]:new Set([ep.TITLE,ep.FOREIGN_OBJECT,ep.DESC]),[b.XLINK]:new Set,[b.XML]:new Set,[b.XMLNS]:new Set};function eh(e){return e===ep.H1||e===ep.H2||e===ep.H3||e===ep.H4||e===ep.H5||e===ep.H6}v.STYLE,v.SCRIPT,v.XMP,v.IFRAME,v.NOEMBED,v.NOFRAMES,v.PLAINTEXT;let em=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);(d=S||(S={}))[d.DATA=0]="DATA",d[d.RCDATA=1]="RCDATA",d[d.RAWTEXT=2]="RAWTEXT",d[d.SCRIPT_DATA=3]="SCRIPT_DATA",d[d.PLAINTEXT=4]="PLAINTEXT",d[d.TAG_OPEN=5]="TAG_OPEN",d[d.END_TAG_OPEN=6]="END_TAG_OPEN",d[d.TAG_NAME=7]="TAG_NAME",d[d.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",d[d.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",d[d.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",d[d.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",d[d.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",d[d.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",d[d.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",d[d.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",d[d.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",d[d.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",d[d.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",d[d.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",d[d.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",d[d.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",d[d.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",d[d.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",d[d.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",d[d.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",d[d.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",d[d.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",d[d.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",d[d.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",d[d.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",d[d.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",d[d.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",d[d.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",d[d.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",d[d.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",d[d.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",d[d.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",d[d.BOGUS_COMMENT=40]="BOGUS_COMMENT",d[d.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",d[d.COMMENT_START=42]="COMMENT_START",d[d.COMMENT_START_DASH=43]="COMMENT_START_DASH",d[d.COMMENT=44]="COMMENT",d[d.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",d[d.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",d[d.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",d[d.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",d[d.COMMENT_END_DASH=49]="COMMENT_END_DASH",d[d.COMMENT_END=50]="COMMENT_END",d[d.COMMENT_END_BANG=51]="COMMENT_END_BANG",d[d.DOCTYPE=52]="DOCTYPE",d[d.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",d[d.DOCTYPE_NAME=54]="DOCTYPE_NAME",d[d.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",d[d.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",d[d.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",d[d.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",d[d.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",d[d.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",d[d.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",d[d.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",d[d.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",d[d.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",d[d.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",d[d.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",d[d.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",d[d.CDATA_SECTION=68]="CDATA_SECTION",d[d.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",d[d.CDATA_SECTION_END=70]="CDATA_SECTION_END",d[d.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",d[d.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",d[d.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",d[d.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",d[d.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",d[d.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",d[d.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",d[d.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END";let eg={DATA:S.DATA,RCDATA:S.RCDATA,RAWTEXT:S.RAWTEXT,SCRIPT_DATA:S.SCRIPT_DATA,PLAINTEXT:S.PLAINTEXT,CDATA_SECTION:S.CDATA_SECTION};function eb(e){return e>=h.DIGIT_0&&e<=h.DIGIT_9}function ey(e){return e>=h.LATIN_CAPITAL_A&&e<=h.LATIN_CAPITAL_Z}function eE(e){return e>=h.LATIN_SMALL_A&&e<=h.LATIN_SMALL_Z||ey(e)}function ev(e){return eE(e)||eb(e)}function eT(e){return e>=h.LATIN_CAPITAL_A&&e<=h.LATIN_CAPITAL_F}function eS(e){return e>=h.LATIN_SMALL_A&&e<=h.LATIN_SMALL_F}function eA(e){return e===h.SPACE||e===h.LINE_FEED||e===h.TABULATION||e===h.FORM_FEED}function eO(e){return eA(e)||e===h.SOLIDUS||e===h.GREATER_THAN_SIGN}class e_{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=S.DATA,this.returnState=S.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new es(t),this.currentLocation=this.getCurrentLocation(-1)}_err(e){var t,n;null===(n=(t=this.handler).onParseError)||void 0===n||n.call(t,this.preprocessor.getError(e))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw Error("Parser was already resumed");this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(e){this.consumedAfterSnapshot-=e,this.preprocessor.retreat(e)}_reconsumeInState(e,t){this.state=e,this._callState(t)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t0&&this._err(m.endTagWithAttributes),e.selfClosing&&this._err(m.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case g.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case g.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case g.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:g.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type!==e)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=t;return}}this._createCharacterToken(e,t)}_emitCodePoint(e){let t=eA(e)?g.WHITESPACE_CHARACTER:e===h.NULL?g.NULL_CHARACTER:g.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(g.CHARACTER,e)}_matchNamedCharacterReference(e){let t=null,n=0,r=!1;for(let i=0,o=ec.HP[0];i>=0&&!((i=(0,ec.Go)(ec.HP,o,i+1,e))<0);e=this._consume()){n+=1,o=ec.HP[i];let s=o&ec.ge.VALUE_LENGTH;if(s){var a;let o=(s>>14)-1;if(e!==h.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((a=this.preprocessor.peek(1))===h.EQUALS_SIGN||ev(a))?(t=[h.AMPERSAND],i+=o):(t=0===o?[ec.HP[i]&~ec.ge.VALUE_LENGTH]:1===o?[ec.HP[++i]]:[ec.HP[++i],ec.HP[++i]],n=0,r=e!==h.SEMICOLON),0===o){this._consume();break}}}return this._unconsume(n),r&&!this.preprocessor.endOfChunkHit&&this._err(m.missingSemicolonAfterCharacterReference),this._unconsume(1),t}_isCharacterReferenceInAttribute(){return this.returnState===S.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===S.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case S.DATA:this._stateData(e);break;case S.RCDATA:this._stateRcdata(e);break;case S.RAWTEXT:this._stateRawtext(e);break;case S.SCRIPT_DATA:this._stateScriptData(e);break;case S.PLAINTEXT:this._statePlaintext(e);break;case S.TAG_OPEN:this._stateTagOpen(e);break;case S.END_TAG_OPEN:this._stateEndTagOpen(e);break;case S.TAG_NAME:this._stateTagName(e);break;case S.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case S.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case S.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case S.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case S.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case S.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case S.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case S.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case S.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case S.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case S.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case S.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case S.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case S.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case S.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case S.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case S.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case S.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case S.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case S.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case S.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case S.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case S.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case S.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case S.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case S.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case S.BOGUS_COMMENT:this._stateBogusComment(e);break;case S.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case S.COMMENT_START:this._stateCommentStart(e);break;case S.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case S.COMMENT:this._stateComment(e);break;case S.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case S.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case S.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case S.COMMENT_END:this._stateCommentEnd(e);break;case S.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case S.DOCTYPE:this._stateDoctype(e);break;case S.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case S.DOCTYPE_NAME:this._stateDoctypeName(e);break;case S.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case S.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case S.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case S.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case S.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case S.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case S.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case S.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case S.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case S.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case S.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case S.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case S.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case S.CDATA_SECTION:this._stateCdataSection(e);break;case S.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case S.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case S.CHARACTER_REFERENCE:this._stateCharacterReference(e);break;case S.NAMED_CHARACTER_REFERENCE:this._stateNamedCharacterReference(e);break;case S.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;case S.NUMERIC_CHARACTER_REFERENCE:this._stateNumericCharacterReference(e);break;case S.HEXADEMICAL_CHARACTER_REFERENCE_START:this._stateHexademicalCharacterReferenceStart(e);break;case S.HEXADEMICAL_CHARACTER_REFERENCE:this._stateHexademicalCharacterReference(e);break;case S.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(e);break;case S.NUMERIC_CHARACTER_REFERENCE_END:this._stateNumericCharacterReferenceEnd(e);break;default:throw Error("Unknown state")}}_stateData(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.TAG_OPEN;break;case h.AMPERSAND:this.returnState=S.DATA,this.state=S.CHARACTER_REFERENCE;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitCodePoint(e);break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case h.AMPERSAND:this.returnState=S.RCDATA,this.state=S.CHARACTER_REFERENCE;break;case h.LESS_THAN_SIGN:this.state=S.RCDATA_LESS_THAN_SIGN;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.RAWTEXT_LESS_THAN_SIGN;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case h.LESS_THAN_SIGN:this.state=S.SCRIPT_DATA_LESS_THAN_SIGN;break;case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case h.NULL:this._err(m.unexpectedNullCharacter),this._emitChars("�");break;case h.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(eE(e))this._createStartTagToken(),this.state=S.TAG_NAME,this._stateTagName(e);else switch(e){case h.EXCLAMATION_MARK:this.state=S.MARKUP_DECLARATION_OPEN;break;case h.SOLIDUS:this.state=S.END_TAG_OPEN;break;case h.QUESTION_MARK:this._err(m.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=S.BOGUS_COMMENT,this._stateBogusComment(e);break;case h.EOF:this._err(m.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(m.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=S.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(eE(e))this._createEndTagToken(),this.state=S.TAG_NAME,this._stateTagName(e);else switch(e){case h.GREATER_THAN_SIGN:this._err(m.missingEndTagName),this.state=S.DATA;break;case h.EOF:this._err(m.eofBeforeTagName),this._emitChars("");break;case h.NULL:this._err(m.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case h.EOF:this._err(m.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===h.SOLIDUS?this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:eE(e)?(this._emitChars("<"),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=S.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){eE(e)?(this.state=S.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("");break;case h.NULL:this._err(m.unexpectedNullCharacter),this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case h.EOF:this._err(m.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===h.SOLIDUS?(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=S.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(er.SCRIPT,!1)&&eO(this.preprocessor.peek(er.SCRIPT.length))){this._emitCodePoint(e);for(let e=0;e1114111)this._err(m.characterReferenceOutsideUnicodeRange),this.charRefCode=h.REPLACEMENT_CHARACTER;else if(ea(this.charRefCode))this._err(m.surrogateCharacterReference),this.charRefCode=h.REPLACEMENT_CHARACTER;else if(eo(this.charRefCode))this._err(m.noncharacterCharacterReference);else if(ei(this.charRefCode)||this.charRefCode===h.CARRIAGE_RETURN){this._err(m.controlCharacterReference);let e=em.get(this.charRefCode);void 0!==e&&(this.charRefCode=e)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}}let ek=new Set([T.DD,T.DT,T.LI,T.OPTGROUP,T.OPTION,T.P,T.RB,T.RP,T.RT,T.RTC]),ex=new Set([...ek,T.CAPTION,T.COLGROUP,T.TBODY,T.TD,T.TFOOT,T.TH,T.THEAD,T.TR]),eC=new Map([[T.APPLET,b.HTML],[T.CAPTION,b.HTML],[T.HTML,b.HTML],[T.MARQUEE,b.HTML],[T.OBJECT,b.HTML],[T.TABLE,b.HTML],[T.TD,b.HTML],[T.TEMPLATE,b.HTML],[T.TH,b.HTML],[T.ANNOTATION_XML,b.MATHML],[T.MI,b.MATHML],[T.MN,b.MATHML],[T.MO,b.MATHML],[T.MS,b.MATHML],[T.MTEXT,b.MATHML],[T.DESC,b.SVG],[T.FOREIGN_OBJECT,b.SVG],[T.TITLE,b.SVG]]),ew=[T.H1,T.H2,T.H3,T.H4,T.H5,T.H6],eI=[T.TR,T.TEMPLATE,T.HTML],eR=[T.TBODY,T.TFOOT,T.THEAD,T.TEMPLATE,T.HTML],eN=[T.TABLE,T.TEMPLATE,T.HTML],eL=[T.TD,T.TH];class eD{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=T.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===T.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===b.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){let r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==b.HTML);this.shortenToLength(t<0?0:t)}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop=0;n--)if(e.includes(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return -1}clearBackTo(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(eN,b.HTML)}clearBackToTableBodyContext(){this.clearBackTo(eR,b.HTML)}clearBackToTableRowContext(){this.clearBackTo(eI,b.HTML)}remove(e){let t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===T.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===T.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(eC.get(n)===r)return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(eh(t)&&n===b.HTML)break;if(eC.get(t)===n)return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if((n===T.UL||n===T.OL)&&r===b.HTML||eC.get(n)===r)return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===b.HTML)break;if(n===T.BUTTON&&r===b.HTML||eC.get(n)===r)return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n===T.TABLE||n===T.TEMPLATE||n===T.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(n===b.HTML){if(t===T.TBODY||t===T.THEAD||t===T.TFOOT)break;if(t===T.TABLE||t===T.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){let n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(r===b.HTML){if(n===e)break;if(n!==T.OPTION&&n!==T.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;ek.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;ex.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&ex.has(this.currentTagId);)this.pop()}}(p=A=A||(A={}))[p.Marker=0]="Marker",p[p.Element=1]="Element";let eP={type:A.Marker};class eM{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let n=[],r=t.length,a=this.treeAdapter.getTagName(e),i=this.treeAdapter.getNamespaceURI(e);for(let e=0;e[e.name,e.value])),a=0;for(let e=0;er.get(e.name)===e.value)&&(a+=1)>=3&&this.entries.splice(t.idx,1)}}insertMarker(){this.entries.unshift(eP)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:A.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:A.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);t>=0&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(eP);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===A.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===A.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===A.Element&&t.element===e)}}function eF(e){return{nodeName:"#text",value:e,parentNode:null}}let eB={createDocument:()=>({nodeName:"#document",mode:E.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){let r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,n,r){let a=e.childNodes.find(e=>"#documentType"===e.nodeName);a?(a.name=t,a.publicId=n,a.systemId=r):eB.appendChild(e,{nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null})},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let n=e.childNodes[e.childNodes.length-1];if(eB.isTextNode(n)){n.value+=t;return}}eB.appendChild(e,eF(t))},insertTextBefore(e,t,n){let r=e.childNodes[e.childNodes.indexOf(n)-1];r&&eB.isTextNode(r)?r.value+=t:eB.insertBefore(e,eF(t),n)},adoptAttributes(e,t){let n=new Set(e.attrs.map(e=>e.name));for(let r=0;re.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},ej="html",eU=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],eG=[...eU,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],eH=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),e$=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],ez=[...e$,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function eZ(e,t){return t.some(t=>e.startsWith(t))}let eW={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},eV=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),eY=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:b.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:b.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:b.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:b.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:b.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:b.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:b.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:b.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:b.XML}],["xml:space",{prefix:"xml",name:"space",namespace:b.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:b.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:b.XMLNS}]]),eq=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),eK=new Set([T.B,T.BIG,T.BLOCKQUOTE,T.BODY,T.BR,T.CENTER,T.CODE,T.DD,T.DIV,T.DL,T.DT,T.EM,T.EMBED,T.H1,T.H2,T.H3,T.H4,T.H5,T.H6,T.HEAD,T.HR,T.I,T.IMG,T.LI,T.LISTING,T.MENU,T.META,T.NOBR,T.OL,T.P,T.PRE,T.RUBY,T.S,T.SMALL,T.SPAN,T.STRONG,T.STRIKE,T.SUB,T.SUP,T.TABLE,T.TT,T.U,T.UL,T.VAR]);function eX(e){for(let t=0;t0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null===(r=(n=this.treeAdapter).onItemPop)||void 0===r||r.call(n,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let n=e===this.document||this.treeAdapter.getNamespaceURI(e)===b.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,b.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=O.TEXT}switchToPlaintextParsing(){this.insertionMode=O.TEXT,this.originalInsertionMode=O.IN_BODY,this.tokenizer.state=eg.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===v.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===b.HTML)switch(this.fragmentContextID){case T.TITLE:case T.TEXTAREA:this.tokenizer.state=eg.RCDATA;break;case T.STYLE:case T.XMP:case T.IFRAME:case T.NOEMBED:case T.NOFRAMES:case T.NOSCRIPT:this.tokenizer.state=eg.RAWTEXT;break;case T.SCRIPT:this.tokenizer.state=eg.SCRIPT_DATA;break;case T.PLAINTEXT:this.tokenizer.state=eg.PLAINTEXT}}_setDocumentType(e){let t=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){let t=this.treeAdapter.getChildNodes(this.document),n=t.find(e=>this.treeAdapter.isDocumentTypeNode(e));n&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){let n=this.treeAdapter.createElement(e,b.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,b.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(v.HTML,b.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,T.HTML)}_appendCommentNode(e,t){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let r=this.treeAdapter.getChildNodes(t),a=n?r.lastIndexOf(n):r.length,i=r[a-1],o=this.treeAdapter.getNodeSourceCodeLocation(i);if(o){let{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(i,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(i,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let n=t.location,r=this.treeAdapter.getTagName(e),a=t.type===g.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,a)}}shouldProcessStartTagTokenInForeignContent(e){let t,n;return!!this.currentNotInHTML&&(0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):{current:t,currentTagId:n}=this.openElements,(e.tagID!==T.SVG||this.treeAdapter.getTagName(t)!==v.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==b.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===T.MGLYPH||e.tagID===T.MALIGNMARK)&&!this._isIntegrationPoint(n,t,b.HTML)))}_processToken(e){switch(e.type){case g.CHARACTER:this.onCharacter(e);break;case g.NULL_CHARACTER:this.onNullCharacter(e);break;case g.COMMENT:this.onComment(e);break;case g.DOCTYPE:this.onDoctype(e);break;case g.START_TAG:this._processStartTag(e);break;case g.END_TAG:this.onEndTag(e);break;case g.EOF:this.onEof(e);break;case g.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){let r=this.treeAdapter.getNamespaceURI(t),a=this.treeAdapter.getAttrList(t);return(!n||n===b.HTML)&&function(e,t,n){if(t===b.MATHML&&e===T.ANNOTATION_XML){for(let e=0;ee.type===A.Marker||this.openElements.contains(e.element)),n=t<0?e-1:t-1;for(let e=n;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=O.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(T.P),this.openElements.popUntilTagNamePopped(T.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case T.TR:this.insertionMode=O.IN_ROW;return;case T.TBODY:case T.THEAD:case T.TFOOT:this.insertionMode=O.IN_TABLE_BODY;return;case T.CAPTION:this.insertionMode=O.IN_CAPTION;return;case T.COLGROUP:this.insertionMode=O.IN_COLUMN_GROUP;return;case T.TABLE:this.insertionMode=O.IN_TABLE;return;case T.BODY:this.insertionMode=O.IN_BODY;return;case T.FRAMESET:this.insertionMode=O.IN_FRAMESET;return;case T.SELECT:this._resetInsertionModeForSelect(e);return;case T.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case T.HTML:this.insertionMode=this.headElement?O.AFTER_HEAD:O.BEFORE_HEAD;return;case T.TD:case T.TH:if(e>0){this.insertionMode=O.IN_CELL;return}break;case T.HEAD:if(e>0){this.insertionMode=O.IN_HEAD;return}}this.insertionMode=O.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===T.TEMPLATE)break;if(e===T.TABLE){this.insertionMode=O.IN_SELECT_IN_TABLE;return}}this.insertionMode=O.IN_SELECT}_isElementCausesFosterParenting(e){return e1.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case T.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===b.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case T.TABLE:{let n=this.treeAdapter.getParentNode(t);if(n)return{parent:n,beforeElement:t};return{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){let n=this.treeAdapter.getNamespaceURI(e);return ef[n].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){this._insertCharacters(e),this.framesetOk=!1;return}switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.IN_BODY:case O.IN_CAPTION:case O.IN_CELL:case O.IN_TEMPLATE:ts(this,e);break;case O.TEXT:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tg(this,e);break;case O.IN_TABLE_TEXT:tT(this,e);break;case O.IN_COLUMN_GROUP:t_(this,e);break;case O.AFTER_BODY:tD(this,e);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){e.chars="�",this._insertCharacters(e);return}switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.TEXT:this._insertCharacters(e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tg(this,e);break;case O.IN_COLUMN_GROUP:t_(this,e);break;case O.AFTER_BODY:tD(this,e);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){e4(this,e);return}switch(this.insertionMode){case O.INITIAL:case O.BEFORE_HTML:case O.BEFORE_HEAD:case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:case O.IN_BODY:case O.IN_TABLE:case O.IN_CAPTION:case O.IN_COLUMN_GROUP:case O.IN_TABLE_BODY:case O.IN_ROW:case O.IN_CELL:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:case O.IN_TEMPLATE:case O.IN_FRAMESET:case O.AFTER_FRAMESET:e4(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case O.INITIAL:!function(e,t){e._setDocumentType(t);let n=t.forceQuirks?E.QUIRKS:function(e){if(e.name!==ej)return E.QUIRKS;let{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return E.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),eH.has(n))return E.QUIRKS;let e=null===t?eG:eU;if(eZ(n,e))return E.QUIRKS;if(eZ(n,e=null===t?e$:ez))return E.LIMITED_QUIRKS}return E.NO_QUIRKS}(t);t.name===ej&&null===t.publicId&&(null===t.systemId||"about:legacy-compat"===t.systemId)||e._err(t,m.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=O.BEFORE_HTML}(this,e);break;case O.BEFORE_HEAD:case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:this._err(e,m.misplacedDoctype);break;case O.IN_TABLE_TEXT:tS(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,m.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){let t=e.tagID,n=t===T.FONT&&e.attrs.some(({name:e})=>e===y.COLOR||e===y.SIZE||e===y.FACE);return n||eK.has(t)}(t))tM(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===b.MATHML?eX(t):r===b.SVG&&(function(e){let t=eq.get(e.tagName);null!=t&&(e.tagName=t,e.tagID=ed(e.tagName))}(t),eQ(t)),eJ(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e.tagID===T.HTML?(this._insertElement(e,b.HTML),this.insertionMode=O.BEFORE_HEAD):e8(this,e);break;case O.BEFORE_HEAD:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.HEAD:e._insertElement(t,b.HTML),e.headElement=e.openElements.current,e.insertionMode=O.IN_HEAD;break;default:e7(e,t)}}(this,e);break;case O.IN_HEAD:te(this,e);break;case O.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BASEFONT:case T.BGSOUND:case T.HEAD:case T.LINK:case T.META:case T.NOFRAMES:case T.STYLE:te(e,t);break;case T.NOSCRIPT:e._err(t,m.nestedNoscriptInHead);break;default:tr(e,t)}}(this,e);break;case O.AFTER_HEAD:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BODY:e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=O.IN_BODY;break;case T.FRAMESET:e._insertElement(t,b.HTML),e.insertionMode=O.IN_FRAMESET;break;case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:e._err(t,m.abandonedHeadElementChild),e.openElements.push(e.headElement,T.HEAD),te(e,t),e.openElements.remove(e.headElement);break;case T.HEAD:e._err(t,m.misplacedStartTagForHeadElement);break;default:ta(e,t)}}(this,e);break;case O.IN_BODY:tp(this,e);break;case O.IN_TABLE:tb(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_CAPTION:!function(e,t){let n=t.tagID;tA.has(n)?e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_TABLE,tb(e,t)):tp(e,t)}(this,e);break;case O.IN_COLUMN_GROUP:tO(this,e);break;case O.IN_TABLE_BODY:tk(this,e);break;case O.IN_ROW:tC(this,e);break;case O.IN_CELL:!function(e,t){let n=t.tagID;tA.has(n)?(e.openElements.hasInTableScope(T.TD)||e.openElements.hasInTableScope(T.TH))&&(e._closeTableCell(),tC(e,t)):tp(e,t)}(this,e);break;case O.IN_SELECT:tI(this,e);break;case O.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e._processStartTag(t)):tI(e,t)}(this,e);break;case O.IN_TEMPLATE:!function(e,t){switch(t.tagID){case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:te(e,t);break;case T.CAPTION:case T.COLGROUP:case T.TBODY:case T.TFOOT:case T.THEAD:e.tmplInsertionModeStack[0]=O.IN_TABLE,e.insertionMode=O.IN_TABLE,tb(e,t);break;case T.COL:e.tmplInsertionModeStack[0]=O.IN_COLUMN_GROUP,e.insertionMode=O.IN_COLUMN_GROUP,tO(e,t);break;case T.TR:e.tmplInsertionModeStack[0]=O.IN_TABLE_BODY,e.insertionMode=O.IN_TABLE_BODY,tk(e,t);break;case T.TD:case T.TH:e.tmplInsertionModeStack[0]=O.IN_ROW,e.insertionMode=O.IN_ROW,tC(e,t);break;default:e.tmplInsertionModeStack[0]=O.IN_BODY,e.insertionMode=O.IN_BODY,tp(e,t)}}(this,e);break;case O.AFTER_BODY:e.tagID===T.HTML?tp(this,e):tD(this,e);break;case O.IN_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.FRAMESET:e._insertElement(t,b.HTML);break;case T.FRAME:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.NOFRAMES:te(e,t)}}(this,e);break;case O.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.NOFRAMES:te(e,t)}}(this,e);break;case O.AFTER_AFTER_BODY:e.tagID===T.HTML?tp(this,e):tP(this,e);break;case O.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.NOFRAMES:te(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===T.P||t.tagID===T.BR){tM(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){let r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===b.HTML){e._endTagOutsideForeignContent(t);break}let a=e.treeAdapter.getTagName(r);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){var t;switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:!function(e,t){let n=t.tagID;(n===T.HTML||n===T.HEAD||n===T.BODY||n===T.BR)&&e8(e,t)}(this,e);break;case O.BEFORE_HEAD:!function(e,t){let n=t.tagID;n===T.HEAD||n===T.BODY||n===T.HTML||n===T.BR?e7(e,t):e._err(t,m.endTagWithoutMatchingOpenElement)}(this,e);break;case O.IN_HEAD:!function(e,t){switch(t.tagID){case T.HEAD:e.openElements.pop(),e.insertionMode=O.AFTER_HEAD;break;case T.BODY:case T.BR:case T.HTML:tn(e,t);break;case T.TEMPLATE:tt(e,t);break;default:e._err(t,m.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case T.NOSCRIPT:e.openElements.pop(),e.insertionMode=O.IN_HEAD;break;case T.BR:tr(e,t);break;default:e._err(t,m.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.AFTER_HEAD:!function(e,t){switch(t.tagID){case T.BODY:case T.HTML:case T.BR:ta(e,t);break;case T.TEMPLATE:tt(e,t);break;default:e._err(t,m.endTagWithoutMatchingOpenElement)}}(this,e);break;case O.IN_BODY:th(this,e);break;case O.TEXT:e.tagID===T.SCRIPT&&(null===(t=this.scriptHandler)||void 0===t||t.call(this,this.openElements.current)),this.openElements.pop(),this.insertionMode=this.originalInsertionMode;break;case O.IN_TABLE:ty(this,e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_CAPTION:!function(e,t){let n=t.tagID;switch(n){case T.CAPTION:case T.TABLE:e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_TABLE,n===T.TABLE&&ty(e,t));break;case T.BODY:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:th(e,t)}}(this,e);break;case O.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case T.COLGROUP:e.openElements.currentTagId===T.COLGROUP&&(e.openElements.pop(),e.insertionMode=O.IN_TABLE);break;case T.TEMPLATE:tt(e,t);break;case T.COL:break;default:t_(e,t)}}(this,e);break;case O.IN_TABLE_BODY:tx(this,e);break;case O.IN_ROW:tw(this,e);break;case O.IN_CELL:!function(e,t){let n=t.tagID;switch(n){case T.TD:case T.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=O.IN_ROW);break;case T.TABLE:case T.TBODY:case T.TFOOT:case T.THEAD:case T.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),tw(e,t));break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:break;default:th(e,t)}}(this,e);break;case O.IN_SELECT:tR(this,e);break;case O.IN_SELECT_IN_TABLE:!function(e,t){let n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e.onEndTag(t)):tR(e,t)}(this,e);break;case O.IN_TEMPLATE:e.tagID===T.TEMPLATE&&tt(this,e);break;case O.AFTER_BODY:tL(this,e);break;case O.IN_FRAMESET:e.tagID!==T.FRAMESET||this.openElements.isRootHtmlElementCurrent()||(this.openElements.pop(),this.fragmentContext||this.openElements.currentTagId===T.FRAMESET||(this.insertionMode=O.AFTER_FRAMESET));break;case O.AFTER_FRAMESET:e.tagID===T.HTML&&(this.insertionMode=O.AFTER_AFTER_FRAMESET);break;case O.AFTER_AFTER_BODY:tP(this,e)}}onEof(e){switch(this.insertionMode){case O.INITIAL:e9(this,e);break;case O.BEFORE_HTML:e8(this,e);break;case O.BEFORE_HEAD:e7(this,e);break;case O.IN_HEAD:tn(this,e);break;case O.IN_HEAD_NO_SCRIPT:tr(this,e);break;case O.AFTER_HEAD:ta(this,e);break;case O.IN_BODY:case O.IN_TABLE:case O.IN_CAPTION:case O.IN_COLUMN_GROUP:case O.IN_TABLE_BODY:case O.IN_ROW:case O.IN_CELL:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:tm(this,e);break;case O.TEXT:this._err(e,m.eofInElementThatCanContainOnlyText),this.openElements.pop(),this.insertionMode=this.originalInsertionMode,this.onEof(e);break;case O.IN_TABLE_TEXT:tS(this,e);break;case O.IN_TEMPLATE:tN(this,e);break;case O.AFTER_BODY:case O.IN_FRAMESET:case O.AFTER_FRAMESET:case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:e6(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===h.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case O.IN_HEAD:case O.IN_HEAD_NO_SCRIPT:case O.AFTER_HEAD:case O.TEXT:case O.IN_COLUMN_GROUP:case O.IN_SELECT:case O.IN_SELECT_IN_TABLE:case O.IN_FRAMESET:case O.AFTER_FRAMESET:this._insertCharacters(e);break;case O.IN_BODY:case O.IN_CAPTION:case O.IN_CELL:case O.IN_TEMPLATE:case O.AFTER_BODY:case O.AFTER_AFTER_BODY:case O.AFTER_AFTER_FRAMESET:to(this,e);break;case O.IN_TABLE:case O.IN_TABLE_BODY:case O.IN_ROW:tg(this,e);break;case O.IN_TABLE_TEXT:tv(this,e)}}}function e5(e,t){for(let n=0;n<8;n++){let n=function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):tf(e,t),n}(e,t);if(!n)break;let r=function(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){let a=e.openElements.items[r];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[r])&&(n=a)}return n||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;let a=function(e,t,n){let r=t,a=e.openElements.getCommonAncestor(t);for(let i=0,o=a;o!==n;i++,o=a){a=e.openElements.getCommonAncestor(o);let n=e.activeFormattingElements.getElementEntry(o),s=n&&i>=3,l=!n||s;l?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(o)):(o=function(e,t){let n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}(e,r,n.element),i=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(a),i&&function(e,t,n){let r=e.treeAdapter.getTagName(t),a=ed(r);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(n);else{let r=e.treeAdapter.getNamespaceURI(t);a===T.TEMPLATE&&r===b.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}(e,i,a),function(e,t,n){let r=e.treeAdapter.getNamespaceURI(n.element),{token:a}=n,i=e.treeAdapter.createElement(a.tagName,r,a.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,a),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,a.tagID)}(e,r,n)}}function e4(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function e6(e,t){if(e.stopped=!0,t.location){let n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){let n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function e9(e,t){e._err(t,m.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,E.QUIRKS),e.insertionMode=O.BEFORE_HTML,e._processToken(t)}function e8(e,t){e._insertFakeRootElement(),e.insertionMode=O.BEFORE_HEAD,e._processToken(t)}function e7(e,t){e._insertFakeElement(v.HEAD,T.HEAD),e.headElement=e.openElements.current,e.insertionMode=O.IN_HEAD,e._processToken(t)}function te(e,t){switch(t.tagID){case T.HTML:tp(e,t);break;case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.TITLE:e._switchToTextParsing(t,eg.RCDATA);break;case T.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,eg.RAWTEXT):(e._insertElement(t,b.HTML),e.insertionMode=O.IN_HEAD_NO_SCRIPT);break;case T.NOFRAMES:case T.STYLE:e._switchToTextParsing(t,eg.RAWTEXT);break;case T.SCRIPT:e._switchToTextParsing(t,eg.SCRIPT_DATA);break;case T.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=O.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(O.IN_TEMPLATE);break;case T.HEAD:e._err(t,m.misplacedStartTagForHeadElement);break;default:tn(e,t)}}function tt(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==T.TEMPLATE&&e._err(t,m.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,m.endTagWithoutMatchingOpenElement)}function tn(e,t){e.openElements.pop(),e.insertionMode=O.AFTER_HEAD,e._processToken(t)}function tr(e,t){let n=t.type===g.EOF?m.openElementsLeftAfterEof:m.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=O.IN_HEAD,e._processToken(t)}function ta(e,t){e._insertFakeElement(v.BODY,T.BODY),e.insertionMode=O.IN_BODY,ti(e,t)}function ti(e,t){switch(t.type){case g.CHARACTER:ts(e,t);break;case g.WHITESPACE_CHARACTER:to(e,t);break;case g.COMMENT:e4(e,t);break;case g.START_TAG:tp(e,t);break;case g.END_TAG:th(e,t);break;case g.EOF:tm(e,t)}}function to(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function ts(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function tl(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function tc(e){let t=el(e,y.TYPE);return null!=t&&"hidden"===t.toLowerCase()}function tu(e,t){e._switchToTextParsing(t,eg.RAWTEXT)}function td(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML)}function tp(e,t){switch(t.tagID){case T.I:case T.S:case T.B:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.SMALL:case T.STRIKE:case T.STRONG:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case T.A:!function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(v.A);n&&(e5(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),eh(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,b.HTML);break;case T.P:case T.DL:case T.OL:case T.UL:case T.DIV:case T.DIR:case T.NAV:case T.MAIN:case T.MENU:case T.ASIDE:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.DETAILS:case T.ADDRESS:case T.ARTICLE:case T.SECTION:case T.SUMMARY:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML);break;case T.LI:case T.DD:case T.DT:!function(e,t){e.framesetOk=!1;let n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let r=e.openElements.tagIDs[t];if(n===T.LI&&r===T.LI||(n===T.DD||n===T.DT)&&(r===T.DD||r===T.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==T.ADDRESS&&r!==T.DIV&&r!==T.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML)}(e,t);break;case T.BR:case T.IMG:case T.WBR:case T.AREA:case T.EMBED:case T.KEYGEN:tl(e,t);break;case T.HR:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._appendElement(t,b.HTML),e.framesetOk=!1,t.ackSelfClosing=!0;break;case T.RB:case T.RTC:e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,b.HTML);break;case T.RT:case T.RP:e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(T.RTC),e._insertElement(t,b.HTML);break;case T.PRE:case T.LISTING:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.framesetOk=!1;break;case T.XMP:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,eg.RAWTEXT);break;case T.SVG:e._reconstructActiveFormattingElements(),eQ(t),eJ(t),t.selfClosing?e._appendElement(t,b.SVG):e._insertElement(t,b.SVG),t.ackSelfClosing=!0;break;case T.HTML:0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs);break;case T.BASE:case T.LINK:case T.META:case T.STYLE:case T.TITLE:case T.SCRIPT:case T.BGSOUND:case T.BASEFONT:case T.TEMPLATE:te(e,t);break;case T.BODY:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t);break;case T.FORM:!function(e,t){let n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),n||(e.formElement=e.openElements.current))}(e,t);break;case T.NOBR:e._reconstructActiveFormattingElements(),e.openElements.hasInScope(T.NOBR)&&(e5(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,b.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case T.MATH:e._reconstructActiveFormattingElements(),eX(t),eJ(t),t.selfClosing?e._appendElement(t,b.MATHML):e._insertElement(t,b.MATHML),t.ackSelfClosing=!0;break;case T.TABLE:e.treeAdapter.getDocumentMode(e.document)!==E.QUIRKS&&e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=O.IN_TABLE;break;case T.INPUT:e._reconstructActiveFormattingElements(),e._appendElement(t,b.HTML),tc(t)||(e.framesetOk=!1),t.ackSelfClosing=!0;break;case T.PARAM:case T.TRACK:case T.SOURCE:e._appendElement(t,b.HTML),t.ackSelfClosing=!0;break;case T.IMAGE:t.tagName=v.IMG,t.tagID=T.IMG,tl(e,t);break;case T.BUTTON:e.openElements.hasInScope(T.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1;break;case T.APPLET:case T.OBJECT:case T.MARQUEE:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1;break;case T.IFRAME:e.framesetOk=!1,e._switchToTextParsing(t,eg.RAWTEXT);break;case T.SELECT:e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===O.IN_TABLE||e.insertionMode===O.IN_CAPTION||e.insertionMode===O.IN_TABLE_BODY||e.insertionMode===O.IN_ROW||e.insertionMode===O.IN_CELL?O.IN_SELECT_IN_TABLE:O.IN_SELECT;break;case T.OPTION:case T.OPTGROUP:e.openElements.currentTagId===T.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,b.HTML);break;case T.NOEMBED:tu(e,t);break;case T.FRAMESET:!function(e,t){let n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_FRAMESET)}(e,t);break;case T.TEXTAREA:e._insertElement(t,b.HTML),e.skipNextNewLine=!0,e.tokenizer.state=eg.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=O.TEXT;break;case T.NOSCRIPT:e.options.scriptingEnabled?tu(e,t):td(e,t);break;case T.PLAINTEXT:e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,b.HTML),e.tokenizer.state=eg.PLAINTEXT;break;case T.COL:case T.TH:case T.TD:case T.TR:case T.HEAD:case T.FRAME:case T.TBODY:case T.TFOOT:case T.THEAD:case T.CAPTION:case T.COLGROUP:break;default:td(e,t)}}function tf(e,t){let n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let a=e.openElements.items[t],i=e.openElements.tagIDs[t];if(r===i&&(r!==T.UNKNOWN||e.treeAdapter.getTagName(a)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(a,i))break}}function th(e,t){switch(t.tagID){case T.A:case T.B:case T.I:case T.S:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.NOBR:case T.SMALL:case T.STRIKE:case T.STRONG:e5(e,t);break;case T.P:e.openElements.hasInButtonScope(T.P)||e._insertFakeElement(v.P,T.P),e._closePElement();break;case T.DL:case T.UL:case T.OL:case T.DIR:case T.DIV:case T.NAV:case T.PRE:case T.MAIN:case T.MENU:case T.ASIDE:case T.BUTTON:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.ADDRESS:case T.ARTICLE:case T.DETAILS:case T.SECTION:case T.SUMMARY:case T.LISTING:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case T.LI:e.openElements.hasInListItemScope(T.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(T.LI),e.openElements.popUntilTagNamePopped(T.LI));break;case T.DD:case T.DT:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped());break;case T.BR:e._reconstructActiveFormattingElements(),e._insertFakeElement(v.BR,T.BR),e.openElements.pop(),e.framesetOk=!1;break;case T.BODY:!function(e,t){if(e.openElements.hasInScope(T.BODY)&&(e.insertionMode=O.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}(e,t);break;case T.HTML:e.openElements.hasInScope(T.BODY)&&(e.insertionMode=O.AFTER_BODY,tL(e,t));break;case T.FORM:!function(e){let t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(T.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(T.FORM):n&&e.openElements.remove(n))}(e);break;case T.APPLET:case T.OBJECT:case T.MARQUEE:!function(e,t){let n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}(e,t);break;case T.TEMPLATE:tt(e,t);break;default:tf(e,t)}}function tm(e,t){e.tmplInsertionModeStack.length>0?tN(e,t):e6(e,t)}function tg(e,t){if(e1.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=O.IN_TABLE_TEXT,t.type){case g.CHARACTER:tT(e,t);break;case g.WHITESPACE_CHARACTER:tv(e,t)}else tE(e,t)}function tb(e,t){switch(t.tagID){case T.TD:case T.TH:case T.TR:e.openElements.clearBackToTableContext(),e._insertFakeElement(v.TBODY,T.TBODY),e.insertionMode=O.IN_TABLE_BODY,tk(e,t);break;case T.STYLE:case T.SCRIPT:case T.TEMPLATE:te(e,t);break;case T.COL:e.openElements.clearBackToTableContext(),e._insertFakeElement(v.COLGROUP,T.COLGROUP),e.insertionMode=O.IN_COLUMN_GROUP,tO(e,t);break;case T.FORM:e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,b.HTML),e.formElement=e.openElements.current,e.openElements.pop());break;case T.TABLE:e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode(),e._processStartTag(t));break;case T.TBODY:case T.TFOOT:case T.THEAD:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_TABLE_BODY;break;case T.INPUT:tc(t)?e._appendElement(t,b.HTML):tE(e,t),t.ackSelfClosing=!0;break;case T.CAPTION:e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_CAPTION;break;case T.COLGROUP:e.openElements.clearBackToTableContext(),e._insertElement(t,b.HTML),e.insertionMode=O.IN_COLUMN_GROUP;break;default:tE(e,t)}}function ty(e,t){switch(t.tagID){case T.TABLE:e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode());break;case T.TEMPLATE:tt(e,t);break;case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:tE(e,t)}}function tE(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,ti(e,t),e.fosterParentingEnabled=n}function tv(e,t){e.pendingCharacterTokens.push(t)}function tT(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function tS(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0&&e.openElements.currentTagId===T.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===T.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===T.OPTGROUP&&e.openElements.pop();break;case T.OPTION:e.openElements.currentTagId===T.OPTION&&e.openElements.pop();break;case T.SELECT:e.openElements.hasInSelectScope(T.SELECT)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode());break;case T.TEMPLATE:tt(e,t)}}function tN(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):e6(e,t)}function tL(e,t){var n;if(t.tagID===T.HTML){if(e.fragmentContext||(e.insertionMode=O.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===T.HTML){e._setEndLocation(e.openElements.items[0],t);let r=e.openElements.items[1];!r||(null===(n=e.treeAdapter.getNodeSourceCodeLocation(r))||void 0===n?void 0:n.endTag)||e._setEndLocation(r,t)}}else tD(e,t)}function tD(e,t){e.insertionMode=O.IN_BODY,ti(e,t)}function tP(e,t){e.insertionMode=O.IN_BODY,ti(e,t)}function tM(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==b.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}n(43470),v.AREA,v.BASE,v.BASEFONT,v.BGSOUND,v.BR,v.COL,v.EMBED,v.FRAME,v.HR,v.IMG,v.INPUT,v.KEYGEN,v.LINK,v.META,v.PARAM,v.SOURCE,v.TRACK,v.WBR;var tF=n(3980),tB=n(21623);let tj=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),tU={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function tG(e,t){let n=function(e){let t="root"===e.type?e.children[0]:e;return!!(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName.toLowerCase()))}(e),r=q("type",{handlers:{root:t$,element:tz,text:tZ,comment:tV,doctype:tW,raw:tY},unknown:tq}),a={parser:n?new e3(tU):e3.getFragmentParser(void 0,tU),handle(e){r(e,a)},stitches:!1,options:t||{}};r(e,a),tK(a,(0,tF.Pk)());let i=n?a.parser.document:a.parser.getFragment(),o=function(e,t){let n=t||{};return $({file:n.file||void 0,location:!1,schema:"svg"===n.space?x.YP:x.dy,verbose:n.verbose||!1},e)}(i,{file:a.options.file});return(a.stitches&&(0,tB.Vn)(o,"comment",function(e,t,n){if(e.value.stitch&&n&&void 0!==t){let r=n.children;return r[t]=e.value.stitch,t}}),"root"===o.type&&1===o.children.length&&o.children[0].type===e.type)?o.children[0]:o}function tH(e,t){let n=-1;if(e)for(;++n4&&(t.parser.tokenizer.state=0);let n={type:g.CHARACTER,chars:e.value,location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tW(e,t){let n={type:g.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tV(e,t){let n=e.value,r={type:g.COMMENT,data:n,location:tQ(e)};tK(t,(0,tF.Pk)(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function tY(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,tX(t,(0,tF.Pk)(e)),t.parser.tokenizer.write(e.value,!1),t.parser.tokenizer._runParsingLoop(),72===t.parser.tokenizer.state||78===t.parser.tokenizer.state){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;let e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function tq(e,t){if(t.options.passThrough&&t.options.passThrough.includes(e.type))!function(e,t){t.stitches=!0;let n="children"in e?(0,_.ZP)({...e,children:[]}):(0,_.ZP)(e);if("children"in e&&"children"in n){let r=tG({type:"root",children:e.children},t.options);n.children=r.children}tV({type:"comment",value:{stitch:n}},t)}(e,t);else{let t="";throw tj.has(e.type)&&(t=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),Error("Cannot compile `"+e.type+"` node"+t)}}function tK(e,t){tX(e,t);let n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=eg.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function tX(e,t){if(t&&void 0!==t.offset){let n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function tQ(e){let t=(0,tF.Pk)(e)||{line:void 0,column:void 0,offset:void 0},n=(0,tF.rb)(e)||{line:void 0,column:void 0,offset:void 0},r={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset};return r}function tJ(e){return function(t,n){let r=tG(t,{...e,file:n});return r}}},78600:function(e,t,n){"use strict";function r(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,a=n.indexOf(t);for(;-1!==a;)r++,a=n.indexOf(t,a+t.length);return r}n.d(t,{Z:function(){return eQ}});var a=n(24345),i=n(15459),o=n(88718),s=n(96093);let l="phrasing",c=["autolink","link","image","label"];function u(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function d(e){this.config.enter.autolinkProtocol.call(this,e)}function p(e){this.config.exit.autolinkProtocol.call(this,e)}function f(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];(0,a.ok)("link"===t.type),t.url="http://"+this.sliceSerialize(e)}function h(e){this.config.exit.autolinkEmail.call(this,e)}function m(e){this.exit(e)}function g(e){!function(e,t,n){let r=(0,s.O)((n||{}).ignore||[]),a=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r0?{type:"text",value:i}:void 0),!1===i?r.lastIndex=n+1:(s!==n&&d.push({type:"text",value:e.value.slice(s,n)}),Array.isArray(i)?d.push(...i):i&&d.push(i),s=n+p[0].length,u=!0),!r.global)break;p=r.exec(e.value)}return u?(s?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],a=n.indexOf(")"),i=r(e,"("),o=r(e,")");for(;-1!==a&&i>o;)e+=n.slice(0,a+1),a=(n=n.slice(a+1)).indexOf(")"),o++;return[e,n]}(n+a);if(!s[0])return!1;let l={type:"link",title:null,url:o+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[l,{type:"text",value:s[1]}]:l}function y(e,t,n,r){return!(!E(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function E(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||(0,i.B8)(n)||(0,i.Xh)(n))&&(!t||47!==n)}var v=n(11098);function T(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function S(){this.buffer()}function A(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteDefinition"===n.type),n.label=t,n.identifier=(0,v.d)(this.sliceSerialize(e)).toLowerCase()}function O(e){this.exit(e)}function _(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function k(){this.buffer()}function x(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,a.ok)("footnoteReference"===n.type),n.label=t,n.identifier=(0,v.d)(this.sliceSerialize(e)).toLowerCase()}function C(e){this.exit(e)}function w(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteReference"),s=n.enter("reference");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),o(),i+=a.move("]")}function I(e,t,n,r){let a=n.createTracker(r),i=a.move("[^"),o=n.enter("footnoteDefinition"),s=n.enter("label");return i+=a.move(n.safe(n.associationId(e),{...a.current(),before:i,after:"]"})),s(),i+=a.move("]:"+(e.children&&e.children.length>0?" ":"")),a.shift(4),i+=a.move(n.indentLines(n.containerFlow(e,a.current()),R)),o(),i}function R(e,t,n){return 0===t?e:(n?"":" ")+e}w.peek=function(){return"["};let N=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function L(e){this.enter({type:"delete",children:[]},e)}function D(e){this.exit(e)}function P(e,t,n,r){let a=n.createTracker(r),i=n.enter("strikethrough"),o=a.move("~~");return o+=n.containerPhrasing(e,{...a.current(),before:o,after:"~"})+a.move("~~"),i(),o}function M(e){return e.length}function F(e){let t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}function B(e,t,n){return">"+(n?"":" ")+e}function j(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),c+=l.move(")"),o(),c}function q(e,t,n,r){let a=e.referenceType,i=n.enter("imageReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("!["),c=n.safe(e.alt,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function K(e,t,n){let r=e.value||"",a="`",i=-1;for(;RegExp("(^|[^`])"+a+"([^`]|$)").test(r);)a+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++i\u007F]/.test(e.url))}function Q(e,t,n,r){let a,i;let o=$(n),s='"'===o?"Quote":"Apostrophe",l=n.createTracker(r);if(X(e,n)){let t=n.stack;n.stack=[],a=n.enter("autolink");let r=l.move("<");return r+=l.move(n.containerPhrasing(e,{before:r,after:">",...l.current()}))+l.move(">"),a(),n.stack=t,r}a=n.enter("link"),i=n.enter("label");let c=l.move("[");return c+=l.move(n.containerPhrasing(e,{before:c,after:"](",...l.current()}))+l.move("]("),i(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(i=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(i=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),i(),e.title&&(i=n.enter(`title${s}`),c+=l.move(" "+o),c+=l.move(n.safe(e.title,{before:c,after:o,...l.current()}))+l.move(o),i()),c+=l.move(")"),a(),c}function J(e,t,n,r){let a=e.referenceType,i=n.enter("linkReference"),o=n.enter("label"),s=n.createTracker(r),l=s.move("["),c=n.containerPhrasing(e,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),o();let u=n.stack;n.stack=[],o=n.enter("reference");let d=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return o(),n.stack=u,i(),"full"!==a&&c&&c===d?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),l}function ee(e){let t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function et(e){let t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}V.peek=function(){return"<"},Y.peek=function(){return"!"},q.peek=function(){return"!"},K.peek=function(){return"`"},Q.peek=function(e,t,n){return X(e,n)?"<":"["},J.peek=function(){return"["};let en=(0,s.O)(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function er(e,t,n,r){let a=function(e){let t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(n),i=n.enter("strong"),o=n.createTracker(r),s=o.move(a+a);return s+=o.move(n.containerPhrasing(e,{before:s,after:a,...o.current()}))+o.move(a+a),i(),s}er.peek=function(e,t,n){return n.options.strong||"*"};let ea={blockquote:function(e,t,n,r){let a=n.enter("blockquote"),i=n.createTracker(r);i.move("> "),i.shift(2);let o=n.indentLines(n.containerFlow(e,i.current()),B);return a(),o},break:U,code:function(e,t,n,r){let a=function(e){let t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),i=e.value||"",o="`"===a?"GraveAccent":"Tilde";if(!1===n.options.fences&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value)){let e=n.enter("codeIndented"),t=n.indentLines(i,H);return e(),t}let s=n.createTracker(r),l=a.repeat(Math.max((0,G.J)(i,a)+1,3)),c=n.enter("codeFenced"),u=s.move(l);if(e.lang){let t=n.enter(`codeFencedLang${o}`);u+=s.move(n.safe(e.lang,{before:u,after:" ",encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){let t=n.enter(`codeFencedMeta${o}`);u+=s.move(" "),u+=s.move(n.safe(e.meta,{before:u,after:"\n",encode:["`"],...s.current()})),t()}return u+=s.move("\n"),i&&(u+=s.move(i+"\n")),u+=s.move(l),c(),u},definition:function(e,t,n,r){let a=$(n),i='"'===a?"Quote":"Apostrophe",o=n.enter("definition"),s=n.enter("label"),l=n.createTracker(r),c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()}))+l.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()}))+l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":"\n",...l.current()}))),s(),e.title&&(s=n.enter(`title${i}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()}))+l.move(a),s()),o(),c},emphasis:z,hardBreak:U,heading:function(e,t,n,r){let a;let i=Math.max(Math.min(6,e.depth||1),1),s=n.createTracker(r);if(a=!1,(0,Z.Vn)(e,function(e){if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return a=!0,o.BK}),(!e.depth||e.depth<3)&&(0,W.B)(e)&&(n.options.setext||a)){let t=n.enter("headingSetext"),r=n.enter("phrasing"),a=n.containerPhrasing(e,{...s.current(),before:"\n",after:"\n"});return r(),t(),a+"\n"+(1===i?"=":"-").repeat(a.length-(Math.max(a.lastIndexOf("\r"),a.lastIndexOf("\n"))+1))}let l="#".repeat(i),c=n.enter("headingAtx"),u=n.enter("phrasing");s.move(l+" ");let d=n.containerPhrasing(e,{before:"# ",after:"\n",...s.current()});return/^[\t ]/.test(d)&&(d="&#x"+d.charCodeAt(0).toString(16).toUpperCase()+";"+d.slice(1)),d=d?l+" "+d:l,n.options.closeAtx&&(d+=" "+l),u(),c(),d},html:V,image:Y,imageReference:q,inlineCode:K,link:Q,linkReference:J,list:function(e,t,n,r){let a=n.enter("list"),i=n.bulletCurrent,o=e.ordered?function(e){let t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):ee(n),s=e.ordered?"."===o?")":".":function(e){let t=ee(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n),l=!!t&&!!n.bulletLastUsed&&o===n.bulletLastUsed;if(!e.ordered){let t=e.children?e.children[0]:void 0;if("*"!==o&&"-"!==o||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(l=!0),et(n)===o&&t){let t=-1;for(;++t-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+i);let o=i.length+1;("tab"===a||"mixed"===a&&(t&&"list"===t.type&&t.spread||e.spread))&&(o=4*Math.ceil(o/4));let s=n.createTracker(r);s.move(i+" ".repeat(o-i.length)),s.shift(o);let l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),function(e,t,n){return t?(n?"":" ".repeat(o))+e:(n?i:i+" ".repeat(o-i.length))+e});return l(),c},paragraph:function(e,t,n,r){let a=n.enter("paragraph"),i=n.enter("phrasing"),o=n.containerPhrasing(e,r);return i(),a(),o},root:function(e,t,n,r){let a=e.children.some(function(e){return en(e)}),i=a?n.containerPhrasing:n.containerFlow;return i.call(n,e,r)},strong:er,text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){let r=(et(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){let t=e.options.ruleRepetition||3;if(t<3)throw Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}};function ei(e){let t=e._align;(0,a.ok)(t,"expected `_align` on table"),this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function eo(e){this.exit(e),this.data.inTable=void 0}function es(e){this.enter({type:"tableRow",children:[]},e)}function el(e){this.exit(e)}function ec(e){this.enter({type:"tableCell",children:[]},e)}function eu(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,ed));let n=this.stack[this.stack.length-1];(0,a.ok)("inlineCode"===n.type),n.value=t,this.exit(e)}function ed(e,t){return"|"===t?t:e}function ep(e){let t=this.stack[this.stack.length-2];(0,a.ok)("listItem"===t.type),t.checked="taskListCheckValueChecked"===e.type}function ef(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1];(0,a.ok)("paragraph"===e.type);let n=e.children[0];if(n&&"text"===n.type){let r;let a=t.children,i=-1;for(;++i0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}eO[43]=eA,eO[45]=eA,eO[46]=eA,eO[95]=eA,eO[72]=[eA,eS],eO[104]=[eA,eS],eO[87]=[eA,eT],eO[119]=[eA,eT];var eR=n(23402),eN=n(42761);let eL={tokenize:function(e,t,n){let r=this;return(0,eN.f)(e,function(e){let a=r.events[r.events.length-1];return a&&"gfmFootnoteDefinitionIndent"===a[1].type&&4===a[2].sliceSerialize(a[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function eD(e,t,n){let r;let a=this,i=a.events.length,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);for(;i--;){let e=a.events[i][1];if("labelImage"===e.type){r=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(i){if(!r||!r._balanced)return n(i);let s=(0,v.d)(a.sliceSerialize({start:r.end,end:a.now()}));return 94===s.codePointAt(0)&&o.includes(s.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(i),e.exit("gfmFootnoteCallLabelMarker"),t(i)):n(i)}}function eP(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;let i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",a,t],["exit",a,t],["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function eM(e,t,n){let r;let a=this,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),s=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),l};function l(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(l){if(s>999||93===l&&!r||null===l||91===l||(0,i.z3)(l))return n(l);if(93===l){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return o.includes((0,v.d)(a.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(l)}return(0,i.z3)(l)||(r=!0),s++,e.consume(l),92===l?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function eF(e,t,n){let r,a;let o=this,s=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]),l=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(t)}function u(t){if(l>999||93===t&&!a||null===t||91===t||(0,i.z3)(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return r=(0,v.d)(o.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return(0,i.z3)(t)||(a=!0),l++,e.consume(t),92===t?d:u}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}function p(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s.includes(r)||s.push(r),(0,eN.f)(e,f,"gfmFootnoteDefinitionWhitespace")):n(t)}function f(e){return t(e)}}function eB(e,t,n){return e.check(eR.w,t,e.attempt(eL,t,n))}function ej(e){e.exit("gfmFootnoteDefinition")}var eU=n(21905),eG=n(62987),eH=n(63233);class e${constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let a=0;if(0!==n||0!==r.length){for(;a0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function ez(e,t,n){let r;let a=this,o=0,s=0;return function(e){let t=a.events.length-1;for(;t>-1;){let e=a.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let r=t>-1?a.events[t][1].type:null,i="tableHead"===r||"tableRow"===r?E:l;return i===E&&a.parser.lazy[a.now().line]?n(e):i(e)};function l(t){return e.enter("tableHead"),e.enter("tableRow"),124===t||(r=!0,s+=1),c(t)}function c(t){return null===t?n(t):(0,i.Ch)(t)?s>1?(s=0,a.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p):n(t):(0,i.xz)(t)?(0,eN.f)(e,c,"whitespace")(t):(s+=1,r&&(r=!1,o+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,c):(e.enter("data"),u(t))}function u(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),c(t)):(e.consume(t),92===t?d:u)}function d(t){return 92===t||124===t?(e.consume(t),u):u(t)}function p(t){return(a.interrupt=!1,a.parser.lazy[a.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,(0,i.xz)(t))?(0,eN.f)(e,f,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):f(t)}function f(t){return 45===t||58===t?m(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),h):n(t)}function h(t){return(0,i.xz)(t)?(0,eN.f)(e,m,"whitespace")(t):m(t)}function m(t){return 58===t?(s+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),g):45===t?(s+=1,g(t)):null===t||(0,i.Ch)(t)?y(t):n(t)}function g(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),b):(e.exit("tableDelimiterFiller"),b(n))}(t)):n(t)}function b(t){return(0,i.xz)(t)?(0,eN.f)(e,y,"whitespace")(t):y(t)}function y(a){return 124===a?f(a):null===a||(0,i.Ch)(a)?r&&o===s?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(a)):n(a):n(a)}function E(t){return e.enter("tableRow"),v(t)}function v(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),v):null===n||(0,i.Ch)(n)?(e.exit("tableRow"),t(n)):(0,i.xz)(n)?(0,eN.f)(e,v,"whitespace")(n):(e.enter("data"),T(n))}function T(t){return null===t||124===t||(0,i.z3)(t)?(e.exit("data"),v(t)):(e.consume(t),92===t?S:T)}function S(t){return 92===t||124===t?(e.consume(t),T):T(t)}}function eZ(e,t){let n,r,a,i=-1,o=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,d=0,p=new e$;for(;++in[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",o,t]])}return void 0!==a&&(i.end=Object.assign({},eY(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function eV(e,t,n,r,a){let i=[],o=eY(t.events,n);a&&(a.end=Object.assign({},o),i.push(["exit",a,t])),r.end=Object.assign({},o),i.push(["exit",r,t]),e.add(n+1,0,i)}function eY(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}let eq={name:"tasklistCheck",tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),a):n(t)};function a(t){return(0,i.z3)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(t)}function s(r){return(0,i.Ch)(r)?t(r):(0,i.xz)(r)?e.check({tokenize:eK},t,n)(r):n(r)}}};function eK(e,t,n){return(0,eN.f)(e,function(e){return null===e?n(e):t(e)},"whitespace")}let eX={};function eQ(e){let t=e||eX,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),i=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push((0,em.W)([{text:eO},{document:{91:{name:"gfmFootnoteDefinition",tokenize:eF,continuation:{tokenize:eB},exit:ej}},text:{91:{name:"gfmFootnoteCall",tokenize:eM},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:eD,resolveTo:eP}}},function(e){let t=(e||{}).singleTilde,n={name:"strikethrough",tokenize:function(e,n,r){let a=this.previous,i=this.events,o=0;return function(s){return 126===a&&"characterEscape"!==i[i.length-1][1].type?r(s):(e.enter("strikethroughSequenceTemporary"),function i(s){let l=(0,eG.r)(a);if(126===s)return o>1?r(s):(e.consume(s),o++,i);if(o<2&&!t)return r(s);let c=e.exit("strikethroughSequenceTemporary"),u=(0,eG.r)(s);return c._open=!u||2===u&&!!l,c._close=!l||2===l&&!!u,n(s)}(s))}},resolveAll:function(e,t){let n=-1;for(;++nl&&(l=e[c].length);++ds[d])&&(s[d]=e)}n.push(i)}i[c]=n,o[c]=a}let d=-1;if("object"==typeof n&&"length"in n)for(;++ds[d]&&(s[d]=i),f[d]=i),p[d]=o}i.splice(1,0,p),o.splice(1,0,f),c=-1;let h=[];for(;++c","Iacute":"\xcd","Icirc":"\xce","Igrave":"\xcc","Iuml":"\xcf","LT":"<","Ntilde":"\xd1","Oacute":"\xd3","Ocirc":"\xd4","Ograve":"\xd2","Oslash":"\xd8","Otilde":"\xd5","Ouml":"\xd6","QUOT":"\\"","REG":"\xae","THORN":"\xde","Uacute":"\xda","Ucirc":"\xdb","Ugrave":"\xd9","Uuml":"\xdc","Yacute":"\xdd","aacute":"\xe1","acirc":"\xe2","acute":"\xb4","aelig":"\xe6","agrave":"\xe0","amp":"&","aring":"\xe5","atilde":"\xe3","auml":"\xe4","brvbar":"\xa6","ccedil":"\xe7","cedil":"\xb8","cent":"\xa2","copy":"\xa9","curren":"\xa4","deg":"\xb0","divide":"\xf7","eacute":"\xe9","ecirc":"\xea","egrave":"\xe8","eth":"\xf0","euml":"\xeb","frac12":"\xbd","frac14":"\xbc","frac34":"\xbe","gt":">","iacute":"\xed","icirc":"\xee","iexcl":"\xa1","igrave":"\xec","iquest":"\xbf","iuml":"\xef","laquo":"\xab","lt":"<","macr":"\xaf","micro":"\xb5","middot":"\xb7","nbsp":"\xa0","not":"\xac","ntilde":"\xf1","oacute":"\xf3","ocirc":"\xf4","ograve":"\xf2","ordf":"\xaa","ordm":"\xba","oslash":"\xf8","otilde":"\xf5","ouml":"\xf6","para":"\xb6","plusmn":"\xb1","pound":"\xa3","quot":"\\"","raquo":"\xbb","reg":"\xae","sect":"\xa7","shy":"\xad","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","szlig":"\xdf","thorn":"\xfe","times":"\xd7","uacute":"\xfa","ucirc":"\xfb","ugrave":"\xf9","uml":"\xa8","uuml":"\xfc","yacute":"\xfd","yen":"\xa5","yuml":"\xff"}')}},function(e){e.O(0,[3662,7034,6106,8674,3166,2837,2168,8163,1265,7728,2913,3791,5278,9859,4330,4041,8791,5030,5418,2783,3457,1300,4567,2398,2480,7410,7124,9773,4035,1154,2510,3345,9202,7249,3768,5789,9774,2888,179],function(){return e(e.s=79373)}),_N_E=e.O()}]); \ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/webpack-1ecaa69ebaff403b.js b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/webpack-0026ba7f9cd5bba9.js similarity index 69% rename from packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/webpack-1ecaa69ebaff403b.js rename to packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/webpack-0026ba7f9cd5bba9.js index 9be921d37..d079e8dd8 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/webpack-1ecaa69ebaff403b.js +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/_next/static/chunks/webpack-0026ba7f9cd5bba9.js @@ -1 +1 @@ -!function(){"use strict";var e,c,t,a,f,d,n,b,r,s,u,i,o={},l={};function h(e){var c=l[e];if(void 0!==c)return c.exports;var t=l[e]={id:e,loaded:!1,exports:{}},a=!0;try{o[e].call(t.exports,t,t.exports,h),a=!1}finally{a&&delete l[e]}return t.loaded=!0,t.exports}h.m=o,h.amdO={},e=[],h.O=function(c,t,a,f){if(t){f=f||0;for(var d=e.length;d>0&&e[d-1][2]>f;d--)e[d]=e[d-1];e[d]=[t,a,f];return}for(var n=1/0,d=0;d=f&&Object.keys(h.O).every(function(e){return h.O[e](t[r])})?t.splice(r--,1):(b=!1,f0&&e[d-1][2]>f;d--)e[d]=e[d-1];e[d]=[t,a,f];return}for(var b=1/0,d=0;d=f&&Object.keys(h.O).every(function(e){return h.O[e](t[r])})?t.splice(r--,1):(n=!1,f
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/agent/index.html b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/agent/index.html index 1f1043e24..19cd66d11 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/agent/index.html +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/agent/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/components/create-app-modal/index.html b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/components/create-app-modal/index.html index b0689ab58..74d848087 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/components/create-app-modal/index.html +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/components/create-app-modal/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/components/AwelLayout/index.html b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/components/AwelLayout/index.html index cde022dd0..30ade78a8 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/components/AwelLayout/index.html +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/components/AwelLayout/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/components/NativeApp/index.html b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/components/NativeApp/index.html index 735f5a840..da1d683ff 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/components/NativeApp/index.html +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/components/NativeApp/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/components/RecommendQuestions/index.html b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/components/RecommendQuestions/index.html index 7641d36a9..9ebfb8012 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/components/RecommendQuestions/index.html +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/components/RecommendQuestions/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/components/auto-plan/DetailsCard/index.html b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/components/auto-plan/DetailsCard/index.html index 4530259cb..44793f372 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/components/auto-plan/DetailsCard/index.html +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/components/auto-plan/DetailsCard/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/components/auto-plan/PromptSelect/index.html b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/components/auto-plan/PromptSelect/index.html index f052c04b6..74bcf3e57 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/components/auto-plan/PromptSelect/index.html +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/components/auto-plan/PromptSelect/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/components/auto-plan/ResourceContent/index.html b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/components/auto-plan/ResourceContent/index.html index e53e10944..576afaa1a 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/components/auto-plan/ResourceContent/index.html +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/components/auto-plan/ResourceContent/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/components/auto-plan/ResourceContentV2/index.html b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/components/auto-plan/ResourceContentV2/index.html index b01844968..e9c8a7da0 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/components/auto-plan/ResourceContentV2/index.html +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/components/auto-plan/ResourceContentV2/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/components/auto-plan/ResourcesCard/index.html b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/components/auto-plan/ResourcesCard/index.html index 292318884..3d4eebd4e 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/components/auto-plan/ResourcesCard/index.html +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/components/auto-plan/ResourcesCard/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/components/auto-plan/ResourcesCardV2/index.html b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/components/auto-plan/ResourcesCardV2/index.html index 18ff2a75a..10b94e2e5 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/components/auto-plan/ResourcesCardV2/index.html +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/components/auto-plan/ResourcesCardV2/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/components/auto-plan/index.html b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/components/auto-plan/index.html index 938ab7a32..d516b252f 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/components/auto-plan/index.html +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/components/auto-plan/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/config/index.html b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/config/index.html index 4b46497b7..f0a033fad 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/config/index.html +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/config/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/index.html b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/index.html index a3b527fd3..bc53df5ad 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/index.html +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/extra/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/index.html b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/index.html index a8d7652a1..7745c309a 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/index.html +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/app/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/database/index.html b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/database/index.html index 7635e3746..9ff822e96 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/database/index.html +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/database/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/dbgpts/index.html b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/dbgpts/index.html index 65f388146..c61363d6b 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/dbgpts/index.html +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/dbgpts/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/flow/canvas/index.html b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/flow/canvas/index.html index a1cc124b0..c60fe315a 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/flow/canvas/index.html +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/flow/canvas/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/flow/index.html b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/flow/index.html index 9cf6491d8..5cf009782 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/flow/index.html +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/flow/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/flow/libro/index.html b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/flow/libro/index.html index e4875ae56..968d96a28 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/flow/libro/index.html +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/flow/libro/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/index.html b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/index.html index 2783df270..6c228f723 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/index.html +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/knowledge/chunk/index.html b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/knowledge/chunk/index.html index 0489fb219..8976ab26b 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/knowledge/chunk/index.html +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/knowledge/chunk/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/knowledge/index.html b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/knowledge/index.html index edffa3a46..84c15aa1c 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/knowledge/index.html +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/knowledge/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/models/index.html b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/models/index.html index 664ebdbb1..1dfdda1b7 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/models/index.html +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/models/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/prompt/add/index.html b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/prompt/add/index.html index 6bbe972b1..cfc9b6847 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/prompt/add/index.html +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/prompt/add/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/prompt/edit/index.html b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/prompt/edit/index.html index 8b448c131..e0d4c2f66 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/prompt/edit/index.html +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/prompt/edit/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/prompt/index.html b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/prompt/index.html index 93e2eb134..5db79bee5 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/construct/prompt/index.html +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/construct/prompt/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/evaluation/index.html b/packages/dbgpt-app/src/dbgpt_app/static/web/evaluation/index.html index a8f234af4..611e8cf8c 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/evaluation/index.html +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/evaluation/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/index.html b/packages/dbgpt-app/src/dbgpt_app/static/web/index.html index 8be28cff8..098ed1d6e 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/index.html +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/knowledge/graph/index.html b/packages/dbgpt-app/src/dbgpt_app/static/web/knowledge/graph/index.html index 36e21c5b1..8b4eaaef7 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/knowledge/graph/index.html +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/knowledge/graph/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/mobile/chat/components/ChatDialog/index.html b/packages/dbgpt-app/src/dbgpt_app/static/web/mobile/chat/components/ChatDialog/index.html index 759df698b..b70c4555d 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/mobile/chat/components/ChatDialog/index.html +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/mobile/chat/components/ChatDialog/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/mobile/chat/components/Content/index.html b/packages/dbgpt-app/src/dbgpt_app/static/web/mobile/chat/components/Content/index.html index af453a54e..5d8582e7a 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/mobile/chat/components/Content/index.html +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/mobile/chat/components/Content/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/mobile/chat/components/DislikeDrawer/index.html b/packages/dbgpt-app/src/dbgpt_app/static/web/mobile/chat/components/DislikeDrawer/index.html index 5fc563fa5..fe34aaad7 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/mobile/chat/components/DislikeDrawer/index.html +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/mobile/chat/components/DislikeDrawer/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/mobile/chat/components/Feedback/index.html b/packages/dbgpt-app/src/dbgpt_app/static/web/mobile/chat/components/Feedback/index.html index 43e9b8189..e7dd83007 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/mobile/chat/components/Feedback/index.html +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/mobile/chat/components/Feedback/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/mobile/chat/components/Header/index.html b/packages/dbgpt-app/src/dbgpt_app/static/web/mobile/chat/components/Header/index.html index 90014c909..5b9c1db2b 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/mobile/chat/components/Header/index.html +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/mobile/chat/components/Header/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/mobile/chat/components/InputContainer/index.html b/packages/dbgpt-app/src/dbgpt_app/static/web/mobile/chat/components/InputContainer/index.html index b0c103747..ae67433ff 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/mobile/chat/components/InputContainer/index.html +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/mobile/chat/components/InputContainer/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/mobile/chat/components/ModelSelector/index.html b/packages/dbgpt-app/src/dbgpt_app/static/web/mobile/chat/components/ModelSelector/index.html index e048b6d63..f80122fff 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/mobile/chat/components/ModelSelector/index.html +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/mobile/chat/components/ModelSelector/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/mobile/chat/components/OptionIcon/index.html b/packages/dbgpt-app/src/dbgpt_app/static/web/mobile/chat/components/OptionIcon/index.html index 6933e64bf..efc846e8a 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/mobile/chat/components/OptionIcon/index.html +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/mobile/chat/components/OptionIcon/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/mobile/chat/components/Resource/index.html b/packages/dbgpt-app/src/dbgpt_app/static/web/mobile/chat/components/Resource/index.html index 45e52bf88..5b1a7ddcb 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/mobile/chat/components/Resource/index.html +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/mobile/chat/components/Resource/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/mobile/chat/components/Thermometer/index.html b/packages/dbgpt-app/src/dbgpt_app/static/web/mobile/chat/components/Thermometer/index.html index 33466fa9f..525dcf392 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/mobile/chat/components/Thermometer/index.html +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/mobile/chat/components/Thermometer/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/dbgpt-app/src/dbgpt_app/static/web/mobile/chat/index.html b/packages/dbgpt-app/src/dbgpt_app/static/web/mobile/chat/index.html index e07338182..3c35811cd 100644 --- a/packages/dbgpt-app/src/dbgpt_app/static/web/mobile/chat/index.html +++ b/packages/dbgpt-app/src/dbgpt_app/static/web/mobile/chat/index.html @@ -1 +1 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/packages/dbgpt-core/src/dbgpt/agent/util/llm/llm_client.py b/packages/dbgpt-core/src/dbgpt/agent/util/llm/llm_client.py index 73f70214d..0d4e0061e 100644 --- a/packages/dbgpt-core/src/dbgpt/agent/util/llm/llm_client.py +++ b/packages/dbgpt-core/src/dbgpt/agent/util/llm/llm_client.py @@ -217,7 +217,6 @@ class AIWrapper: if not model_output: raise ValueError("LLM generate stream is null!") parsed_output = model_output.gen_text_with_thinking() - parsed_output = parsed_output.strip().replace("\\n", "\n") if verbose: print("\n", "-" * 80, flush=True, sep="") diff --git a/packages/dbgpt-core/src/dbgpt/core/awel/util/chat_util.py b/packages/dbgpt-core/src/dbgpt/core/awel/util/chat_util.py index 9302a6df0..f02ea98c1 100644 --- a/packages/dbgpt-core/src/dbgpt/core/awel/util/chat_util.py +++ b/packages/dbgpt-core/src/dbgpt/core/awel/util/chat_util.py @@ -5,7 +5,13 @@ import traceback from typing import Any, AsyncIterator, Dict, Optional from ...interface.llm import ModelInferenceMetrics, ModelOutput -from ...schema.api import ChatCompletionResponseStreamChoice +from ...schema.api import ( + ChatCompletionResponse, + ChatCompletionResponseChoice, + ChatCompletionResponseStreamChoice, + ChatMessage, + UsageInfo, +) from ..operators.base import BaseOperator from ..trigger.http_trigger import CommonLLMHttpResponseBody @@ -379,3 +385,28 @@ def parse_sse_data(output: str) -> Optional[str]: return output else: return None + + +def _v1_create_completion_response( + text: str, + think_text: Optional[str], + model_name: str, + stream_id: str, + usage: Optional[UsageInfo] = None, +): + choice_data = ChatCompletionResponseChoice( + index=0, + message=ChatMessage( + role="assistant", + content=text or "", + reasoning_content=think_text, + ), + ) + _content = ChatCompletionResponse( + id=stream_id, + choices=[choice_data], + model=model_name, + usage=usage or UsageInfo(), + ) + _content = json.dumps(_content.model_dump(exclude_unset=True), ensure_ascii=False) + return f"data: {_content}\n\n" diff --git a/packages/dbgpt-serve/src/dbgpt_serve/flow/service/service.py b/packages/dbgpt-serve/src/dbgpt_serve/flow/service/service.py index 3e595ed3a..5217d32c8 100644 --- a/packages/dbgpt-serve/src/dbgpt_serve/flow/service/service.py +++ b/packages/dbgpt-serve/src/dbgpt_serve/flow/service/service.py @@ -19,6 +19,7 @@ from dbgpt.core.awel.flow.flow_factory import ( ) from dbgpt.core.awel.trigger.http_trigger import CommonLLMHttpTrigger from dbgpt.core.awel.util.chat_util import ( + _v1_create_completion_response, is_chat_flow_type, safe_chat_stream_with_dag_task, safe_chat_with_dag_task, @@ -448,10 +449,17 @@ class Service(BaseService[ServeEntity, ServeRequest, ServerResponse]): if text: text = text.replace("\n", "\\n") if output.error_code != 0: - yield f"data:[SERVER_ERROR]{text}\n\n" + yield _v1_create_completion_response( + f"[SERVER_ERROR]{text}", + None, + model_name=request.model, + stream_id=request.conv_uid, + ) break else: - yield f"data:{text}\n\n" + yield _v1_create_completion_response( + text, None, model_name=request.model, stream_id=request.conv_uid + ) async def chat_stream_openai( self, flow_uid: str, request: CommonLLMHttpRequestBody diff --git a/web/components/chat/chat-content/index.tsx b/web/components/chat/chat-content/index.tsx index 045880f49..ea354b6b3 100644 --- a/web/components/chat/chat-content/index.tsx +++ b/web/components/chat/chat-content/index.tsx @@ -58,10 +58,7 @@ const pluginViewStatusMapper: Record]+)>/gi, '
') - .replace(/]+)>/gi, ''); + return val.replace(/]+)>/gi, '
').replace(/]+)>/gi, ''); } function ChatContent({ children, content, isChartChat, onLinkClick }: PropsWithChildren) { diff --git a/web/hooks/use-chat.ts b/web/hooks/use-chat.ts index 3dd094bcc..09464209c 100644 --- a/web/hooks/use-chat.ts +++ b/web/hooks/use-chat.ts @@ -90,7 +90,8 @@ const useChat = ({ queryAgentURL = '/api/v1/chat/completions', app_code }: Props if (scene === 'chat_agent') { message = JSON.parse(message).vis; } else { - message = JSON.parse(message); + data = JSON.parse(event.data); + message = data.choices?.[0]?.message?.content; } } catch { message.replaceAll('\\n', '\n'); diff --git a/web/new-components/chat/ChatContentContainer.tsx b/web/new-components/chat/ChatContentContainer.tsx index 22e4e3e11..0654f77c2 100644 --- a/web/new-components/chat/ChatContentContainer.tsx +++ b/web/new-components/chat/ChatContentContainer.tsx @@ -79,7 +79,8 @@ const ChatContentContainer = ({ className }: { className?: string }, ref: React. currentScrollRef.removeEventListener('scroll', handleScroll); } }; - }, [handleScroll]); const scrollToBottomSmooth = useCallback((forceScroll = false) => { + }, [handleScroll]); + const scrollToBottomSmooth = useCallback((forceScroll = false) => { if (!scrollRef.current) return; // For force scroll (new messages), bypass allowAutoScroll check @@ -117,7 +118,7 @@ const ChatContentContainer = ({ className }: { className?: string }, ref: React. const lastMessage = useMemo(() => { const last = history[history.length - 1]; return last ? { context: last.context, thinking: last.thinking } : null; - }, [history]); // Track previous history length to detect new messages + }, [history]); // Track previous history length to detect new messages const prevHistoryLengthRef = useRef(history.length); useEffect(() => { @@ -149,7 +150,8 @@ const ChatContentContainer = ({ className }: { className?: string }, ref: React. cancelAnimationFrame(animationFrameRef.current); } }; - }, []); const scrollToTop = useCallback(() => { + }, []); + const scrollToTop = useCallback(() => { if (scrollRef.current) { scrollRef.current.scrollTo({ top: 0, @@ -200,4 +202,4 @@ const ChatContentContainer = ({ className }: { className?: string }, ref: React. ); }; -export default forwardRef(ChatContentContainer); \ No newline at end of file +export default forwardRef(ChatContentContainer); diff --git a/web/new-components/chat/content/ChatContent.tsx b/web/new-components/chat/content/ChatContent.tsx index 414a8f0b5..14971c79b 100644 --- a/web/new-components/chat/content/ChatContent.tsx +++ b/web/new-components/chat/content/ChatContent.tsx @@ -69,10 +69,7 @@ const pluginViewStatusMapper: Record { - return val - .replaceAll('\\n', '\n') - .replace(/]+)>/gi, '
') - .replace(/]+)>/gi, ''); + return val.replace(/]+)>/gi, '
').replace(/]+)>/gi, ''); }; const formatMarkdownValForAgent = (val: string) => { diff --git a/web/pages/mobile/chat/components/ChatDialog.tsx b/web/pages/mobile/chat/components/ChatDialog.tsx index fd2bded64..664ac2707 100644 --- a/web/pages/mobile/chat/components/ChatDialog.tsx +++ b/web/pages/mobile/chat/components/ChatDialog.tsx @@ -69,10 +69,7 @@ const ChatDialog: React.FC<{ }, [context]); const formatMarkdownVal = (val: string) => { - return val - .replaceAll('\\n', '\n') - .replace(/]+)>/gi, '
') - .replace(/]+)>/gi, ''); + return val.replace(/]+)>/gi, '
').replace(/]+)>/gi, ''); }; const formatMarkdownValForAgent = (val: string) => { diff --git a/web/utils/constants.ts b/web/utils/constants.ts index 419b5d0a6..975a3c920 100644 --- a/web/utils/constants.ts +++ b/web/utils/constants.ts @@ -298,7 +298,7 @@ export const dbMapper: Record